/* ===================================================
   MEDANOVA MEDICAL EQUIPMENT TRADING - UNIFIED PREMIUM CSS
   =================================================== */

:root {
    --bg-green: #2B4F43;
    --gold: #F7D4AA;
    --red: #e31837; /* رنگ قرمز جدید افزوده شده */
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --nav-height: 100px;
}

/* --- Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    direction: ltr;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- NAVIGATION BAR --- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background-color: rgba(255, 255, 255, 0); 
    border-bottom: none;
}

.nav.scrolled, .nav:hover {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    width: 100%; max-width: 1400px; margin: 0 auto;
    padding: 0 3rem; display: flex; align-items: center; justify-content: flex-start; gap: 4rem;
}

.nav-logo {
    height: 60px; width: auto; transition: var(--transition);
    filter: grayscale(100%); opacity: 0.7;
}

.nav.scrolled .nav-logo, .nav:hover .nav-logo {
    filter: grayscale(0%); opacity: 1;
}

/* Menu Toggle Button (Mobile) */
.burger-btn {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; z-index: 2000; margin-left: auto;
}
.burger-btn span {
    display: block; width: 28px; height: 3px; background-color: var(--bg-green);
    transition: 0.3s; border-radius: 2px;
}

/* Nav Menu Wrapper */
.nav-links { display: flex; list-style: none; gap: 3rem; }
.nav-links li { position: relative; }
.nav-links a {
    text-decoration: none; color: var(--bg-green);
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; transition: var(--transition); padding: 10px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); } /* تغییر افکت هاور منو به قرمز */

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #ffffff;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    margin-top: 8px;
}

.dropdown:hover .submenu {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-brand-label {
    display: block;
    padding: 12px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1a5f3f;
    background: linear-gradient(to right, #f0f7f4, #ffffff);
    border-left: 3px solid #c8a962;
    margin: 8px 0 4px;
    cursor: default;
    user-select: none;
}

.menu-brand-label:first-child {
    margin-top: 0;
}

.menu-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 8px 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    padding-left: 32px;
    color: #2d2d2d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.25s ease;
    position: relative;
}

.submenu a::before {
    content: '→';
    position: absolute;
    left: 16px;
    opacity: 0;
    transition: all 0.25s ease;
    color: #c8a962;
    font-weight: bold;
}

.submenu a:hover,
.submenu a.active {
    background: linear-gradient(to right, #f0f7f4, #ffffff);
    color: #1a5f3f;
    padding-left: 36px;
    border-left: 3px solid #c8a962;
}

.submenu a:hover::before,
.submenu a.active::before {
    opacity: 1;
    left: 18px;
}

/* --- HERO SLIDER --- */
.hero { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #000; }
.hero-track { display: flex; height: 100%; transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1); }
.hero-slide {
    min-width: 100%; height: 100%; position: relative; display: flex;
    align-items: center; justify-content: center; background-size: cover; background-position: center;
}
.hero-slide::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35); z-index: 1;
}
.hero-content { position: relative; z-index: 10; text-align: center; width: 100%; max-width: 1100px; padding: 0 2rem; }
.badge { background: rgba(247, 212, 170, 0.2); color: var(--gold); padding: 6px 15px; border-radius: 50px; font-size: 12px; font-weight: 700; text-transform: uppercase; border: 1px solid var(--gold); }
.hero-text-area h1 { font-size: 4rem; color: var(--white); margin: 1.5rem 0; }

.btn-gold {
    display: inline-block; background-color: rgba(255, 255, 255, 0); 
    color: var(--gold); border: 2px solid var(--gold); padding: 18px 50px;
    text-decoration: none; border-radius: 4px; font-weight: 700; font-size: 15px;
    text-transform: uppercase; transition: var(--transition);
}
.btn-gold:hover { background-color: var(--gold); color: var(--bg-green); transform: translateY(-5px); }

.arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); width: 60px; height: 60px; border-radius: 50%; cursor: pointer;
    z-index: 20; display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.arrow:hover { background: var(--white); color: var(--bg-green); }
.arrow-prev { left: 30px; } .arrow-next { right: 30px; }

.dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 20; }
.dot { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--gold); width: 35px; border-radius: 10px; }

/* --- ABOUT SECTION --- */
.about-minimal { padding: 120px 0; background-color: var(--white); position: relative; }
.container-wide { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
.about-wrapper { display: grid; grid-template-columns: 40% 60%; gap: 100px; align-items: flex-start; }
.logo-frame { width: 100%; aspect-ratio: 1/1; border: 1px solid rgba(43, 79, 67, 0.1); display: flex; align-items: center; justify-content: center; padding: 60px; background-color: #fafafa; position: relative; }
.logo-frame::after { content: ''; position: absolute; bottom: -15px; right: -15px; width: 60px; height: 60px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.about-logo-main { max-width: 100%; height: auto; mix-blend-mode: multiply; }
.main-title { font-size: 3.5rem; color: var(--bg-green); margin-top: 10px; }
.gold-line { width: 80px; height: 3px; background-color: var(--gold); margin: 20px 0 0 0; }
.highlight-text { font-size: 1.4rem !important; color: var(--bg-green); font-weight: 500; margin-bottom: 2rem; }
.about-description p { line-height: 1.9; color: #444; margin-bottom: 20px; }

/* Core Values with Icons */
.core-values { display: flex; gap: 50px; margin-top: 50px; }
.value-item { display: flex; align-items: center; gap: 15px; }
.v-icon-box {
    width: 50px; height: 50px; background: rgba(43, 79, 67, 0.05);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--gold); border: 1px solid rgba(247, 212, 170, 0.2); transition: 0.3s;
}
.value-item:hover .v-icon-box { background: var(--gold); color: var(--bg-green); transform: scale(1.1); }
.v-text { display: flex; flex-direction: column; }
.v-num { font-size: 0.8rem; font-weight: 700; color: var(--gold); }
.value-item h5 { color: var(--bg-green); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

/* Commitment Bar */
.commitment-bar { padding: 60px 0; background-color: #f4f5f4; border-top: 1px solid #eee; }
.commitment-flex { display: flex; justify-content: space-between; align-items: center; }
.c-box { flex: 1; padding: 0 40px; }
.c-box h4 { color: var(--gold); text-transform: uppercase; font-size: 0.85rem; margin-bottom: 15px; letter-spacing: 2px; }
.c-box p { color: var(--bg-green); font-size: 1.1rem; line-height: 1.6; font-weight: 500; }
.c-divider { width: 1px; height: 80px; background-color: rgba(43, 79, 67, 0.1); }

/* --- REPRESENTATIVE SECTION --- */
.rep-section { padding: 120px 0; background-color: #ffffff; }
.rep-header { margin-bottom: 80px; text-align: left; }
.rep-main-title { font-size: 3rem; color: var(--bg-green); margin-top: 10px; display: inline-block; }
.rep-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #eee; }
.rep-block { padding: 80px 60px; display: flex; flex-direction: column; align-items: flex-start; transition: var(--transition); background-color: #fff; }
.rep-block:first-child { border-right: 1px solid #eee; }
.rep-block:hover { background-color: #fcfcfc; }
.rep-logo-area { height: 70px; width: 100%; margin-bottom: 35px; display: flex; align-items: center; justify-content: flex-start; }
.rep-brand-logo { max-height: 100%; width: auto; max-width: 250px; object-fit: contain; mix-blend-mode: multiply; }
.rep-info h3 { font-size: 1.6rem; color: var(--bg-green); margin-bottom: 20px; font-weight: 700; }
.rep-info p { font-size: 1.05rem; color: #666; line-height: 1.8; margin-bottom: 35px; max-width: 500px; }
.rep-link { text-decoration: none; color: var(--bg-green); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; transition: var(--transition); border-bottom: 2px solid var(--gold); padding-bottom: 5px; }
.rep-link:hover { color: var(--red); border-bottom-color: var(--red); } /* تغییر افکت هاور لینک‌های برند به قرمز */

/* Partners Strip */
.partners { padding: 4rem 0; text-align: center; }
.partner-logos img { height: 50px; margin: 0 2rem; opacity: 0.6; filter: grayscale(100%); transition: 0.3s; }
.partner-logos img:hover { opacity: 1; filter: grayscale(0%); }

/* --- PREMIUM FOOTER --- */
.site-footer { background-color: var(--bg-green); color: var(--white); padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 80px; margin-bottom: 80px; }
.footer-logo { height: 50px; margin-bottom: 25px; filter: brightness(0) invert(1); }
.footer-brand-info p { color: rgba(255, 255, 255, 0.7); line-height: 1.8; font-size: 0.95rem; margin-bottom: 25px; max-width: 300px; }

/* اصلاح بخش شبکه‌های اجتماعی در فوتر */
.footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 25px;
}

.linkedin-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.linkedin-btn svg {
    display: block;
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.linkedin-btn:hover {
    color: var(--white) !important;
}

.linkedin-btn:hover svg {
    transform: translateY(-3px) scale(1.1);
}

#contact a {
    color: inherit;
    text-decoration: none;
}

.footer-head { color: var(--gold); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 30px; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: var(--red); padding-left: 5px; } /* تغییر افکت هاور لینک‌های فوتر به قرمز */

/* Footer Contact with Icons */
.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.footer-icon { color: var(--gold); flex-shrink: 0; margin-top: 5px; }
.f-contact-text { display: flex; flex-direction: column; }
.f-label { display: block; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; font-weight: 700; }
.footer-contact-item p, .footer-contact-item a { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; line-height: 1.6; text-decoration: none; }
.footer-contact-item a:hover { color: var(--red); } /* تغییر افکت هاور اطلاعات تماس فوتر به قرمز */
.footer-bottom { padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ===================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   =================================================== */

@media (max-width: 992px) {
    .nav { background-color: var(--white) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .nav-logo { height: 45px; filter: grayscale(0%); opacity: 1; }
    .burger-btn { display: flex; }
    
    .nav-menu-wrapper {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background-color: var(--white); transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 100px 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 1500;
    }
    .nav-menu-wrapper.active { right: 0; }
    .nav-links { flex-direction: column; gap: 25px; }
    .nav-links a { font-size: 16px; color: var(--bg-green); }
    
.submenu {
    position: static;
    display: block;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 10px;
    background: #f9f9f9;
    border: none;
    border-left: 2px solid #c8a962;
    border-radius: 0;
}

.menu-brand-label {
    background: linear-gradient(to right, #e8f2ed, #f9f9f9);
    border-left: 3px solid #c8a962;
    font-size: 10px;
    padding: 10px 15px 6px;
}

.submenu a {
    padding: 8px 15px;
    padding-left: 24px;
}

.submenu a:hover,
.submenu a.active {
    padding-left: 28px;
    border-left: none;
}

    .hero-text-area h1 { font-size: 2.2rem; }
    .about-wrapper { grid-template-columns: 1fr; text-align: center; }
    .about-brand-box { position: static; max-width: 300px; margin: 0 auto; }
    .gold-line { margin: 15px auto; }
    .core-values { flex-direction: column; align-items: center; }
    
    .commitment-flex { flex-direction: column; text-align: center; gap: 30px; }
    .c-divider { display: none; }
    
    .rep-grid { grid-template-columns: 1fr; }
    .rep-block:first-child { border-right: none; border-bottom: 1px solid #eee; }
    .rep-block { padding: 40px 20px; text-align: center; align-items: center; }
    .rep-header { text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .footer-contact-item { justify-content: center; text-align: left; }
    .footer-brand-info p { margin: 0 auto 20px; }
}

/* ===================================================
   PRODUCT DETAIL PAGE - UNIFIED & CLEAN STYLES
   =================================================== */

/* --- 1. Navigation & Global Fixes for Product Pages --- */
.pd-page { background-color: #fff; }

.nav.scrolled .nav-links a { color: var(--bg-green) !important; }
.nav.scrolled .nav-links a:hover { color: var(--red) !important; } /* تغییر افکت هاور منوی بالای صفحات محصول به قرمز */

.pd-main-content { padding: 150px 0 80px; }

/* Breadcrumb / Address Map */
.pd-breadcrumb {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pd-breadcrumb a { color: #888; transition: 0.3s; }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb .current { color: var(--bg-green); font-weight: 700; }

/* --- 2. Product Header & Hero Image --- */
.pd-product-header { margin-bottom: 50px; border-left: 6px solid var(--gold); padding-left: 30px; }
.pd-brand-tag { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.pd-brand-mini { height: 30px; mix-blend-mode: multiply; }
.pd-main-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--bg-green); font-weight: 800; line-height: 1.1; }
.pd-subtitle { font-size: 16px; color: #777; font-weight: 700; margin-top: 10px; letter-spacing: 1px; }

.pd-hero-visual { width: 100%; margin-bottom: 60px; }
.pd-image-container { 
    background: #fdfdfd; 
    padding: 60px; 
    border: 1px solid #f0f0f0; 
    border-radius: 12px; 
    display: flex; 
    justify-content: center; 
}
.pd-image-container img { max-width: 900px; width: 100%; height: auto; object-fit: contain; }

/* --- 3. Features List (Left Aligned & Vertical) --- */
.pd-features-left-align { margin: 40px 0 60px; text-align: left; }
.pd-clean-list-left { list-style: none; padding: 0; display: inline-block; }
.pd-clean-list-left li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}
.pd-clean-list-left li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* --- 4. Technical Schematic (No Cover) --- */
.pd-schematic-clean { margin-bottom: 80px; padding-top: 20px; }
.pd-schematic-img-only { text-align: center; padding: 20px 0; background: transparent; }
.pd-schematic-img-only img { max-width: 100%; height: auto; mix-blend-mode: multiply; }

/* --- 5. Section Titles & Specs Grid --- */
.pd-section-title {
    font-size: 1.4rem;
    color: var(--bg-green);
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    text-align: left;
}

.pd-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.pd-spec-col h4 { font-size: 13px; color: var(--gold); margin-bottom: 20px; letter-spacing: 1px; font-weight: 800; text-transform: uppercase; }
.pd-mini-table { width: 100%; border-collapse: collapse; }
.pd-mini-table td { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 14px; color: #666; }
.pd-mini-table td:last-child { text-align: right; font-weight: 700; color: var(--bg-green); }

/* --- 6. Data Tables & Matrices (Scrollable) --- */
.pd-table-wrapper { margin-bottom: 60px; }
.pd-scroll-table {
    border-radius: 8px;
    border: 1px solid #eee;
    overflow-x: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
/* Scrollbar Style */
.pd-scroll-table::-webkit-scrollbar { height: 8px; }
.pd-scroll-table::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

.pd-data-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.pd-data-table th { background-color: var(--bg-green) !important; color: var(--gold) !important; padding: 15px; font-size: 13px; text-align: left; white-space: nowrap; }
.pd-data-table td { padding: 12px 15px; border: 1px solid #eee; font-size: 13px; color: #444; }

.pd-nominal td { background-color: rgba(247, 212, 170, 0.15); font-weight: 700; }
.pd-rbp td { color: #e31e24 !important; font-weight: 700; }

/* --- 7. Download Button at bottom --- */
.pd-download-area { text-align: center; margin-top: 80px; padding-top: 50px; border-top: 1px solid #eee; }
.pd-btn-download {
    display: inline-block;
    border: 2px solid var(--gold) !important;
    color: var(--bg-green) !important;
    padding: 18px 60px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 15px;
}
.pd-btn-download:hover { background-color: var(--gold) !important; transform: translateY(-5px); }

/* --- Footer Fixes --- */
.site-footer a { color: rgba(255,255,255,0.7) !important; transition: 0.3s; }
.site-footer a:hover { color: var(--red) !important; } /* تغییر افکت هاور لینک‌های فوتر در صفحات محصول به قرمز */
.footer-contact-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }

/* --- 8. Responsive adjustments --- */
@media (max-width: 992px) {
    .pd-specs-grid { grid-template-columns: 1fr; gap: 40px; }
    .pd-image-container { padding: 30px; }
    .pd-main-content { padding-top: 120px; }
}




/* --- اصلاح نهایی دکمه دانلود کاتالوگ --- */
.pd-download-area {
    text-align: center;
    margin: 80px 0 30px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.pd-btn-download {
    display: inline-block;
    padding: 18px 50px;
    background-color: transparent;
    color: var(--bg-green) !important;
    border: 2px solid var(--gold) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.pd-btn-download:hover {
    background-color: var(--gold) !important;
    color: var(--bg-green) !important;
    box-shadow: 0 10px 20px rgba(247, 212, 170, 0.3);
    transform: translateY(-5px);
}











/* ===================================================
   ALVISION CATALOG - UNIFIED & OPTIMIZED STYLES
   =================================================== */

.alv-catalog-section {
    background: #FFFFFF;
    padding: clamp(40px, 6vw, 80px) 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: #FF6B00;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* ===== GRID LAYOUT ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* ===== CATALOG CARD ===== */
.catalog-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ===== TITLE BAR ===== */
.card-title-bar {
    background: #333333;
    color: #FFFFFF;
    text-align: center;
    padding: 12px 20px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TABLE CONTAINER ===== */
.table-container-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== PRODUCT TABLE ===== */
.product-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 13px;
}

.product-table th,
.product-table td {
    border: 1px solid #D0D0D0;
    padding: 10px 8px;
    text-align: center;
}

/* ===== HEADERS ===== */
.orange-header th {
    background: #FF6B00;
    color: #FFFFFF;
    font-size: 11px;
    text-transform: uppercase;
    padding: 12px 5px;
}

.gray-header th {
    background: #808080;
    color: #FFFFFF;
    font-weight: 600;
}

.blank-cell {
    background: transparent;
    border: none;
}

/* ===== DIAGONAL CELL ===== */
.diagonal-cell {
    position: relative;
    width: 90px;
    height: 60px;
    background: #808080;
    padding: 0 !important;
}

.diagonal-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top right,
        transparent 49.5%,
        #FFFFFF 49.5%,
        #FFFFFF 50.5%,
        transparent 50.5%
    );
}

.diagonal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.diag-top {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    color: #FFF;
    z-index: 2;
}

.diag-bottom {
    position: absolute;
    bottom: 8px;
    left: 10px;
    font-size: 14px;
    color: #FFF;
    z-index: 2;
    font-weight: 800;
}

/* ===== PACK BAR (VERTICAL) ===== */
.pack-bar {
    background: #FF6B00;
    color: #FFFFFF;
    width: 40px;
    position: relative;
    padding: 0 !important;
}

.pack-text {
    display: block;
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ===== FRENCH SIZE COLUMN ===== */
.french-size {
    background: #EAEAEA;
    color: #333;
    font-weight: 700;
    width: 45px;
}

/* ===== CURVE ROW ===== */
.curve-row td {
    background: #FFE5D4;
    border: none;
    padding: 15px 0;
}

.curve-cell {
    text-align: center;
}

.curve-cell img {
    max-width: 65px;
    height: auto;
    mix-blend-mode: multiply;
}

/* ===== FOOTER NOTES ===== */
.catalog-footer-notes {
    margin-top: 30px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    padding: 0 10px;
}

.catalog-footer-notes p {
    margin: 12px 0;
}

.catalog-footer-notes strong {
    color: #FF6B00;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1150px) {
    .catalog-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .alv-catalog-section {
        padding: 40px 10px;
    }
    
    .product-table {
        font-size: 11px;
    }
    
    .diagonal-cell {
        width: 70px;
    }
    
    .pack-bar {
        width: 30px;
    }
    
    .pack-text {
        font-size: 9px;
    }
    
    .curve-cell img {
        max-width: 50px;
    }
}







/* ============================================ */
/* TECHNICAL DATA TABLE                         */
/* ============================================ */

.alv-catalog-section {
    margin-bottom: 40px;
    overflow-x: auto;
}

.alv-catalog-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.technical-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px; /* Prevents extreme squishing on mobile */
}

.technical-data-table tr {
    border-bottom: 1px solid #d1d5db;
}

.technical-data-table tr:last-child {
    border-bottom: none;
}

.technical-data-table td {
    padding: 12px 16px;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.6;
}

.technical-data-table td:first-child {
    font-weight: 700;
    color: #1e293b;
    width: 35%;
    min-width: 140px;
}

.technical-data-table td:last-child {
    color: #475569;
    width: 65%;
}

/* ============================================ */
/* FLOW RATE TABLE                              */
/* ============================================ */

.flow-rate-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.flow-rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px; /* Ensures table doesn't collapse too much */
}

/* Sub-header row (CATHETER / PRESSURE) */
.flow-rate-table .sub-header-row th {
    background-color: #FF6B00;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 8px;
    border: 1px solid #FF6B00;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Main header row (SIZE, CURVE, etc.) */
.flow-rate-table .main-header-row th {
    background-color: #FF6B00;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 10px 8px;
    border: 1px solid #FF6B00;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

/* Body cells */
.flow-rate-table td {
    border: 1px solid #d1d5db;
    padding: 10px 8px;
    text-align: center;
    color: #374151;
    font-size: 13px;
    vertical-align: middle;
}

/* Alternating rows - white/gray */
.flow-rate-table tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

.flow-rate-table tbody tr:nth-child(even) td {
    background-color: #e5e7eb;
}

/* SIZE column - light gray with rowspan */
.flow-rate-table .size-cell {
    background-color: #d1d5db !important;
    color: #1e293b;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}

/* CURVE column - left aligned */
.flow-rate-table .curve-cell {
    color: #4b5563;
    font-weight: 400;
    text-align: left;
    padding-left: 16px;
}

/* ============================================ */
/* RESPONSIVE DESIGN                            */
/* ============================================ */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .alv-catalog-section h3 {
        font-size: 18px;
    }
    
    .technical-data-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .flow-rate-table {
        font-size: 12px;
        min-width: 700px;
    }
    
    .flow-rate-table .sub-header-row th,
    .flow-rate-table .main-header-row th {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .flow-rate-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
}

/* Mobile (up to 767px) */
@media screen and (max-width: 767px) {
    .alv-catalog-section {
        margin-bottom: 30px;
    }
    
    .alv-catalog-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .technical-data-table {
        min-width: 400px;
    }
    
    .technical-data-table td {
        padding: 10px;
        font-size: 12px;
    }
    
    .technical-data-table td:first-child {
        min-width: 120px;
        width: 40%;
    }
    
    .flow-rate-table {
        font-size: 11px;
        min-width: 650px;
    }
    
    .flow-rate-table .sub-header-row th {
        padding: 8px 5px;
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    .flow-rate-table .main-header-row th {
        padding: 8px 5px;
        font-size: 10px;
    }
    
    .flow-rate-table td {
        padding: 8px 5px;
        font-size: 11px;
    }
    
    .flow-rate-table .size-cell {
        font-size: 12px;
    }
    
    .flow-rate-table .curve-cell {
        padding-left: 10px;
    }
    
    /* Show scroll hint on mobile */
    .flow-rate-table-wrapper::after {
        content: '← Scroll horizontally →';
        display: block;
        text-align: center;
        color: #9ca3af;
        font-size: 11px;
        margin-top: 8px;
        font-style: italic;
    }
}

/* Small mobile (up to 480px) */
@media screen and (max-width: 480px) {
    .technical-data-table td {
        padding: 8px;
        font-size: 11px;
    }
    
    .flow-rate-table {
        min-width: 600px;
    }
    
    .flow-rate-table .sub-header-row th,
    .flow-rate-table .main-header-row th,
    .flow-rate-table td {
        padding: 6px 4px;
    }
}

/* Border separator between SIZE groups */
.flow-rate-table .size-cell {
    background-color: #d1d5db !important;
    color: #1e293b;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #9ca3af !important;
}

/* Last row of each group also gets bottom border */
.flow-rate-table .group-last-row td {
    border-bottom: 2px solid #9ca3af !important;
}





.flow-rate-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.alv-orange-head th {
    background: #f37021;
    color: #fff;
    padding: 8px 6px;
    border: 1px solid #fff !important;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
}

/* First row headers (CATHETER / PRESSURE) */
.alv-orange-head th[colspan] {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
















/* ===================================================
   MINDRAY CATALOG SPECIFIC STYLES (Add to end of style.css)
   =================================================== */

/* بخش فهرست - Content Section */
.mr-content-container {
    display: flex;
    background: #fcfcfc;
    margin: 40px 0 80px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mr-content-sidebar {
    background: #e6e7e8;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.mr-content-sidebar h3 {
    transform: rotate(-90deg);
    color: #a61a2e;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.mr-content-list {
    flex: 1;
    padding: 30px 50px;
}

.mr-content-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #333;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
}

.mr-content-row:hover {
    color: #a61a2e;
    padding-left: 10px;
}

/* تیترهای سکشن - Section Headers */
.mr-section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #a61a2e;
    padding-bottom: 5px;
    margin: 60px 0 20px;
}

.mr-section-title-bar h2 {
    color: #2b4f43;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
}

.mr-page-num {
    font-weight: 700;
    color: #666;
    font-size: 1.1rem;
}

.mr-universal-label {
    text-align: right;
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* توضیحات روی جداول - Table Descriptions */
.mr-table-info {
    margin-bottom: 10px;
    font-size: 13px;
    color: #6d6e71;
    line-height: 1.2;
}

.mr-table-info span {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #808285;
    margin-bottom: 2px;
}

.mr-product-img-box {
    margin: 20px 0;
    text-align: left;
}

.mr-product-img-box img {
    max-height: 80px;
    width: auto;
    mix-blend-mode: multiply;
}

/* اصلاح رنگ هدر جداول برای Mindray */
.pd-data-table.mr-table th {
    background-color: #2b4f43 !important;
    color: #fff !important;
}



/* استایل برای نمایش چند تصویر در کنار هم */
.mr-flex-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}

.mr-flex-images img {
    max-height: 120px;
    width: auto;
    mix-blend-mode: multiply;
}

/* جداکننده ظریف برای زیرمجموعه‌های یک بخش */
.mr-subsection-divider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f4f4;
    padding: 8px 15px;
    margin: 40px 0 20px;
    border-right: 5px solid #a61a2e;
    font-weight: 800;
    color: #333;
    font-size: 0.95rem;
}


/* استایل برای عکس‌های بزرگ پایین جداول (مثل جعبه ابزارها) */
.mr-bottom-visual {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.mr-bottom-visual img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    mix-blend-mode: multiply;
}

/* ===================================================
   1. MOBILE OVERFLOW FIXES (MINDRAY CATALOG & IMAGES)
   =================================================== */
@media (max-width: 768px) {
    .container-wide { padding: 0 15px !important; }
    .pd-image-container { padding: 15px !important; }

    .mr-product-img-box img,
    .mr-bottom-visual img,
    .pd-image-container img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .mr-flex-images {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .mr-flex-images > div {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .mr-flex-images > div img {
        max-width: 100% !important;
        height: auto !important;
    }

    .mr-content-container { flex-direction: column; }
    .mr-content-sidebar { width: 100%; height: auto; padding: 15px 0; }
    .mr-content-sidebar h3 { transform: none; font-size: 1.6rem; }
    .mr-content-list { padding: 20px 15px; }
}

/* ===================================================
   2. MOBILE HEADER & ACCORDION MENU (ULTIMATE PREMIUM UI)
   =================================================== */

.close-menu-btn { display: none; }
.desktop-only { display: block; }

@media (min-width: 993px) {
    .brand-toggle .caret { display: none; }
    .brand-items { display: block !important; max-height: none !important; }
}

@media (max-width: 992px) {
    /* جابجایی جایگاه لوگو و دکمه همبرگری به صورت استاندارد چپ‌چین */
    .nav-container { justify-content: space-between !important; gap: 0 !important; padding: 0 15px !important; }
    .burger-btn { order: -1 !important; margin-left: 0 !important; }
    .logo-wrapper { order: 2 !important; margin-left: auto !important; }

    /* لایه تاریک و محو پشت منو */
    body.menu-open::after {
        content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px);
        z-index: 900; 
    }

    /* === استایل باکس اصلی منو === */
    .nav-menu-wrapper {
        position: fixed; top: 0; bottom: 0;
        width: 320px !important; 
        background-color: #ffffff !important; 
        right: auto !important; left: -340px !important; 
        padding: 80px 30px 40px !important;
        overflow-y: auto;
        transition: left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        z-index: 1000;
        box-shadow: 15px 0 40px rgba(0,0,0,0.08);
        border-radius: 0 28px 28px 0;
    }
    .nav-menu-wrapper.active { left: 0 !important; }

    /* دکمه ضربدر مینیمال */
    .close-menu-btn {
        display: flex; justify-content: center; align-items: center;
        position: absolute; top: 25px; right: 25px;
        width: 40px; height: 40px; background: #f4f7f6; border-radius: 50%;
        border: none; font-size: 24px; line-height: 1; padding-bottom: 2px;
        color: var(--bg-green); cursor: pointer; z-index: 1001;
        transition: transform 0.4s ease, background 0.3s ease;
    }
    .close-menu-btn:hover { background: #ffeaea; color: #e31e24; transform: rotate(90deg); }

    .nav-menu-wrapper ul, .nav-menu-wrapper li { list-style: none !important; margin: 0; padding: 0; }

    /* === لینک‌های اصلی (Home, About, Contact) === */
    .nav-links { display: flex; flex-direction: column; gap: 8px; }
    
    .nav-links > li > a {
        display: block; padding: 12px 15px; font-size: 16px; font-weight: 700;
        text-transform: capitalize; letter-spacing: 0.5px;
        color: var(--bg-green) !important; background: transparent;
        border-radius: 10px; border: none !important;
        transition: all 0.3s ease;
    }
    /* افکت هاور روی لینک‌های اصلی */
    .nav-links > li > a:hover, .nav-links > li > a.active {
        background: #f4f7f6; color: var(--red) !important; padding-left: 20px; /* تغییر افکت هاور منوی موبایل به قرمز */
    }

    /* === تبدیل لینک Product به یک لیبل دسته‌بندی شیک === */
    .dropdown > a {
        padding: 25px 15px 10px !important;
        font-size: 11px !important; font-weight: 800 !important;
        text-transform: uppercase !important; letter-spacing: 2px !important;
        color: #9ca3af !important;
        pointer-events: none !important;
        background: transparent !important;
    }

    .submenu { position: static !important; display: block !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: none !important; }

    /* === استایل آکاردئون برندها (Mindray, Alvimedica) === */
    .brand-group { margin-bottom: 8px; border: none !important; }
    
    .brand-toggle {
        display: flex !important; justify-content: space-between; align-items: center;
        padding: 16px 20px !important; font-size: 15px !important;
        background: #ffffff !important; border-radius: 12px;
        border: 1px solid #f0f0f0 !important;
        cursor: pointer; color: var(--bg-green) !important; font-weight: 700;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.01);
    }
    
    /* حالت باز شده (Active) - تغییر رنگ به سبز تیره برند شما */
    .brand-toggle.active {
        background: var(--bg-green) !important;
        color: #ffffff !important;
        border-color: var(--bg-green) !important;
        box-shadow: 0 8px 20px rgba(43, 79, 67, 0.15);
    }
    .caret { font-size: 12px; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); color: #9ca3af; }
    .brand-toggle.active .caret { transform: rotate(180deg); color: var(--gold) !important; }

    /* === باکس کشویی لیست محصولات === */
    .brand-items {
        max-height: 0; overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); 
        background: #ffffff;
    }
    
    /* لینک محصولات داخل کشو (بدون کادر اضافی) */
    .brand-items li a {
        display: block; position: relative;
        padding: 12px 15px 12px 30px !important; 
        font-size: 13.5px !important; color: #6b7280 !important;
        border-bottom: none !important; font-weight: 500;
        transition: all 0.3s ease;
    }
    
    /* خط مینیمال کنار اسم محصولات */
    .brand-items li a::before { 
        content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
        width: 8px; height: 1.5px; border-radius: 2px;
        background-color: #d1d5db;
        transition: all 0.3s ease;
    }
    
    /* افکت جذاب هنگام تاچ کردن اسم محصولات */
    .brand-items li a:hover, .brand-items li a.active {
        color: var(--bg-green) !important; font-weight: 700;
    }
    .brand-items li a:hover::before, .brand-items li a.active::before {
        width: 14px; background-color: var(--gold);
    }
}























/* ===================================================
   MINDRAY SPINE CATALOG SPECIFIC CUSTOM STYLES
   =================================================== */

/* 1. TOC (Content) Section Styling */
.spine-catalog-contentpage {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 40px;
    margin: 40px 0 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.spine-catalog-main-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--bg-green);
    margin-bottom: 30px;
    border-bottom: 2px solid #333333;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spine-catalog-toc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

.spine-catalog-toc-group {
    display: flex;
    flex-direction: column;
}

.spine-catalog-toc-heading {
    font-size: 16px;
    font-weight: 800;
    color: var(--bg-green);
    margin-bottom: 15px;
    border-bottom: 1px solid #333333;
    padding-bottom: 6px;
    text-transform: uppercase;
}

.spine-catalog-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spine-catalog-toc-list li {
    margin-bottom: 10px;
}

.spine-catalog-toc-link {
    display: flex;
    align-items: flex-end;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.spine-catalog-toc-item {
    font-size: 14px;
    font-weight: 600;
    color: #555555;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.spine-catalog-toc-dots {
    flex-grow: 1;
    border-bottom: 1.5px dotted #999999;
    margin: 0 10px 4px;
}

.spine-catalog-toc-page {
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-green);
    flex-shrink: 0;
}

/* Hover Effect on TOC Links */
.spine-catalog-toc-link:hover {
    transform: translateX(5px);
}

.spine-catalog-toc-link:hover .spine-catalog-toc-item {
    color: var(--gold);
}

.spine-catalog-toc-link:hover .spine-catalog-toc-page {
    color: var(--gold);
}

/* 2. Page Header (Page 01-02 Top Line) */
.spine-catalog-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--bg-green);
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    margin-bottom: 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333333;
    letter-spacing: 0.5px;
}

.spine-catalog-page-num {
    font-size: 15px;
    font-weight: 800;
    color: var(--bg-green);
    margin: 0 5px;
}

.spine-catalog-header-sep {
    color: #ccc;
    margin: 0 8px;
}

/* 3. Layout Grid for Plates & Screws Spread */
.spine-catalog-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* 4. Product Block Layout */
.spine-catalog-product-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spine-catalog-product-block:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.spine-catalog-product-img {
    flex: 0 0 110px;
    text-align: center;
}

.spine-catalog-product-img img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Reverse Row Flex direction for Screws column (Right Column) to match Image 2 */
.spine-catalog-col--right .spine-catalog-product-block {
    flex-direction: row-reverse;
}

.spine-catalog-product-img--right {
    flex: 0 0 90px;
    text-align: center;
}

.spine-catalog-product-img--right img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.spine-catalog-product-table-wrap {
    flex: 1;
}

.spine-catalog-product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-green);
    margin: 0 0 6px 0;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 6px;
    text-transform: capitalize;
}

/* 5. Spine Tables Styling */
.spine-catalog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 8px;
}

.spine-catalog-table th {
    border-bottom: 2px solid #333333;
    padding: 5px 8px;
    text-align: left;
    font-weight: 700;
    color: var(--bg-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spine-catalog-table td {
    border-bottom: 1px solid #f0f0f0;
    padding: 5px 8px;
    color: #555555;
}

.spine-catalog-table tr:hover td {
    background: #fbfbfc;
    color: #000000;
}

/* Placeholders for inactive categories */
.spine-catalog-section-placeholder {
    height: 0;
    visibility: hidden;
}

/* 6. Responsive adjustments (Media Queries) */
@media (max-width: 1100px) {
    .spine-catalog-toc {
        gap: 30px 40px;
    }
    .spine-catalog-two-col {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .spine-catalog-toc {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .spine-catalog-two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .spine-catalog-page-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        align-items: center;
    }
    .spine-catalog-header-left, 
    .spine-catalog-header-right {
        width: 100%;
        text-align: center;
    }
    /* Keep screw block image on left for smaller screens for design layout flow consistency */
    .spine-catalog-col--right .spine-catalog-product-block {
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .spine-catalog-product-block {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .spine-catalog-product-img, 
    .spine-catalog-product-img--right {
        flex: 0 0 auto;
        max-width: 110px;
        margin-bottom: 15px;
    }
    .spine-catalog-table th, 
    .spine-catalog-table td {
        text-align: center;
    }
}




/* --- اصلاح چیدمان ابزارها در حالت موبایل و تبلت --- */
@media (max-width: 992px) {
    /* تغییر جهت چیدمان بلاک ابزار به حالت ستونی معکوس جهت انتقال عکس‌ها به بالا */
    .spine-catalog-instrument-block {
        flex-direction: column-reverse !important;
        align-items: center;
        gap: 25px;
    }

    /* اصلاح پدینگ و فاصله باکس تصاویر پس از انتقال به بالا */
    .spine-catalog-instrument-imgs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
    }

    .spine-catalog-instrument-imgs img {
        max-width: 45% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 576px) {
    .spine-catalog-instrument-imgs img {
        max-width: 90% !important;
    }
}




/* ===================================================
   MINDRAY SPINE RESPONSIVE & MOBILE OVERFLOW FIXES
   =================================================== */

/* ۱. جلوگیری از هرگونه لرزش و بیرون‌زدگی افقی در کل بدنه صفحه */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ۲. اصلاح ساختار ستون‌های اصلی کاتالوگ */
.spine-catalog-col {
    min-width: 0 !important;
}

.spine-catalog-product-table-wrap {
    min-width: 0 !important;
    width: 100% !important;
}

/* ۳. فعال‌سازی اسکرول افقی روی تمام جدول‌ها (حتی جدول‌های ۲ ستونه بدون رپِر) در موبایل */
@media (max-width: 768px) {
    .spine-catalog-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important; /* جلوگیری کامل از هرگونه اسکرول عمودی ناخواسته */
        -webkit-overflow-scrolling: touch;
    }
    
    .spine-catalog-table td, 
    .spine-catalog-table th {
        white-space: nowrap !important; /* مرتب نگه‌داشتن متن‌ها در یک خط جهت اسکرول تمیز */
    }
}

/* ۴. تضمین عدم وجود اسکرول عمودی و روان بودن اسکرول افقی در کانتینرهای جدول */
.spine-catalog-table-container,
.spine-catalog-scroll-table-wrapper,
.spine-catalog-optional-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important; /* حذف کامل اسکرول عمودی */
    -webkit-overflow-scrolling: touch;
}

/* ۵. طراحی بسیار ظریف، مینیمال و شیک برای نوار اسکرول افقی (رنگ طلایی برند شما) */
.spine-catalog-table::-webkit-scrollbar,
.spine-catalog-table-container::-webkit-scrollbar,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar,
.spine-catalog-optional-wrap::-webkit-scrollbar {
    height: 5px; /* بسیار باریک و مدرن */
}

.spine-catalog-table::-webkit-scrollbar-track,
.spine-catalog-table-container::-webkit-scrollbar-track,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar-track,
.spine-catalog-optional-wrap::-webkit-scrollbar-track {
    background: #f4f5f4;
    border-radius: 10px;
}

.spine-catalog-table::-webkit-scrollbar-thumb,
.spine-catalog-table-container::-webkit-scrollbar-thumb,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar-thumb,
.spine-catalog-optional-wrap::-webkit-scrollbar-thumb {
    background: #c8a962; /* رنگ طلایی کاتالوگ */
    border-radius: 10px;
}

.spine-catalog-table::-webkit-scrollbar-thumb:hover,
.spine-catalog-table-container::-webkit-scrollbar-thumb:hover,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar-thumb:hover,
.spine-catalog-optional-wrap::-webkit-scrollbar-thumb:hover {
    background: #1a5f3f; /* رنگ سبز تیره برند در حالت هاور */
}

/* ۶. اصلاح نمایش تصاویر ابزارآلات در موبایل (رفع مشکل چیدمان تصاویر که در کدهای قبلی به علت نداشتن حالت فلکس به‌هم می‌ریختند) */
@media (max-width: 992px) {
    .spine-catalog-instrument-imgs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
    }
    
    .spine-catalog-instrument-imgs img {
        max-width: 45% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}




/* ===================================================
   UNIVERSAL ELEGANT DESKTOP & MOBILE SCROLLBARS
   =================================================== */

/* پشتیبانی اختصاصی از فایرفاکس دسکتاپ */
.table-container-scroll,
.pd-scroll-table,
.flow-rate-table-wrapper,
.spine-catalog-table,
.spine-catalog-table-container,
.spine-catalog-scroll-table-wrapper,
.spine-catalog-optional-wrap {
    scrollbar-width: thin !important;
    scrollbar-color: #c8a962 #f4f5f4 !important;
}

/* شخصی‌سازی نوار اسکرول برای کروم، سافاری، اِج و اپرا */
.table-container-scroll::-webkit-scrollbar,
.pd-scroll-table::-webkit-scrollbar,
.flow-rate-table-wrapper::-webkit-scrollbar,
.spine-catalog-table::-webkit-scrollbar,
.spine-catalog-table-container::-webkit-scrollbar,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar,
.spine-catalog-optional-wrap::-webkit-scrollbar {
    height: 6px; /* ارتفاع کاملاً بهینه و ظریف برای دسکتاپ و موبایل */
}

/* استایل مسیر حرکت اسکرول (Track) */
.table-container-scroll::-webkit-scrollbar-track,
.pd-scroll-table::-webkit-scrollbar-track,
.flow-rate-table-wrapper::-webkit-scrollbar-track,
.spine-catalog-table::-webkit-scrollbar-track,
.spine-catalog-table-container::-webkit-scrollbar-track,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar-track,
.spine-catalog-optional-wrap::-webkit-scrollbar-track {
    background: #f4f5f4;
    border-radius: 10px;
}

/* استایل دستگیره اسکرول (Thumb) با رنگ طلایی برند شما */
.table-container-scroll::-webkit-scrollbar-thumb,
.pd-scroll-table::-webkit-scrollbar-thumb,
.flow-rate-table-wrapper::-webkit-scrollbar-thumb,
.spine-catalog-table::-webkit-scrollbar-thumb,
.spine-catalog-table-container::-webkit-scrollbar-thumb,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar-thumb,
.spine-catalog-optional-wrap::-webkit-scrollbar-thumb {
    background-color: #c8a962; /* رنگ طلایی */
    border-radius: 10px;
    border: 1px solid #f4f5f4; /* ایجاد افکت شناور و شیک */
    transition: background-color 0.3s ease;
}

/* تغییر رنگ دستگیره اسکرول هنگام هاور موس به رنگ سبز تیره مدانوا */
.table-container-scroll::-webkit-scrollbar-thumb:hover,
.pd-scroll-table::-webkit-scrollbar-thumb:hover,
.flow-rate-table-wrapper::-webkit-scrollbar-thumb:hover,
.spine-catalog-table::-webkit-scrollbar-thumb:hover,
.spine-catalog-table-container::-webkit-scrollbar-thumb:hover,
.spine-catalog-scroll-table-wrapper::-webkit-scrollbar-thumb:hover,
.spine-catalog-optional-wrap::-webkit-scrollbar-thumb:hover {
    background-color: #1a5f3f; /* سبز تیره برند */
}