/* ==========================================================================
   Base Theme Variables & Resets
   ========================================================================== */
:root {ً
    --primary-gold: #C89845; 
    --primary-gold-hover: #B38538;
    --primary-blue: #2563EB; 
    --primary-blue-hover: #1D4ED8;
    --bg-main: #F8FAFC; 
    --bg-white: #FFFFFF; 
    --bg-dark-section: #0B1121; 
    --bg-card-dark: #1E293B; 
    --text-dark: #0F172A; 
    --text-gray: #64748B; 
    --text-light-gray: #94A3B8;
    --text-white: #FFFFFF;
    --transition-speed: 0.3s;
    --border-light: #E2E8F0; 
    --border-dark: rgba(255, 255, 255, 0.05);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06); 
    --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12); 
    --icon-bg-light: rgba(200, 152, 69, 0.1); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html[dir="ltr"] { direction: ltr; }

html[dir="rtl"] * {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* مستثنی کردن فونت لاله‌زار از فونت گلوبال */
html[dir="rtl"] .sub-title-export, 
.sub-title-export {
    font-family: 'Lalezar', system-ui, sans-serif !important;
}

html[dir="rtl"] body { direction: rtl; }

.mobile-only-quote { display: none !important; }
.desktop-only-quote { display: flex; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.main-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 6%; background: var(--bg-dark-section);
    border-bottom: 1px solid var(--border-dark);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: padding var(--transition-speed), box-shadow var(--transition-speed);
    direction: ltr !important; 
}
.main-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); padding: 16px 6%; }

.logo-wrapper { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    position: relative;
}
.main-logo-img { 
    height: 50px; 
    object-fit: contain; 
    transition: transform var(--transition-speed); 
}
.logo-wrapper:hover .main-logo-img { 
    transform: scale(1.02); 
}
.logo-glow-line {
    width: 110%; 
    height: 1px; 
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 1) 50%, transparent 100%);
    box-shadow: 0 2px 10px 1px rgba(56, 189, 248, 0.8);
    margin-top: 4px;
    border-radius: 50%;
}

.nav-links { display: flex; gap: 32px; align-items: center; transition: all 0.3s ease; }
html[dir="rtl"] .nav-links { direction: rtl; }

.nav-links a {
    text-decoration: none; color: var(--text-light-gray); font-size: 14px; font-weight: 600;
    transition: color var(--transition-speed); position: relative; padding-bottom: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-gold); }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    width: 0; height: 3px; background-color: var(--primary-gold);
    border-radius: 3px 3px 0 0; transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; left: 0; }

.header-actions { display: flex; align-items: center; gap: 20px; }
html[dir="rtl"] .header-actions { direction: rtl; }

.btn-exit {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}
.btn-exit:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.lang-selector-container { position: relative; }
.lang-selector {
    display: flex; align-items: center; gap: 6px; color: var(--text-white);
    cursor: pointer; font-size: 14px; font-weight: 600; padding: 6px 10px;
    border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.2); transition: all var(--transition-speed);
}
.lang-selector:hover { color: var(--primary-gold); border-color: var(--primary-gold); }

.lang-dropdown {
    position: absolute; top: 100%; right: 0; background: var(--bg-dark-section);
    border: 1px solid var(--border-dark); border-radius: 8px; list-style: none;
    padding: 6px 0; margin-top: 8px; width: 120px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none; z-index: 1010;
}
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; text-align: right; }
.lang-dropdown.show { display: block; }
.lang-dropdown li {
    padding: 8px 16px; font-size: 13px; cursor: pointer; color: var(--text-white); font-weight: 500;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}
.lang-dropdown li:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--primary-gold); }

.btn-quote {
    background-color: transparent; color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px; font-size: 14px; font-weight: 700; border-radius: 8px;
    cursor: pointer; align-items: center; gap: 8px;
    transition: all var(--transition-speed);
}
.btn-quote:hover { border-color: var(--primary-gold); color: var(--primary-gold); transform: translateY(-1px); }
html[dir="rtl"] .btn-quote svg { transform: scaleX(-1); }

.nav-links a.btn-quote { color: var(--text-white); }

.mobile-menu-toggle {
    display: none; background: none; border: none; cursor: pointer; color: var(--text-white); padding: 4px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative; min-height: 100vh; padding-top: 100px; display: flex;
    align-items: center; padding-left: 8%; padding-right: 8%; overflow: hidden; background-color: var(--bg-dark-section);
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784526436/%D8%A7%D9%86%DA%AF%D9%84%DB%8C%D8%B3%DB%8C_otzfhf.png');
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
html[dir="rtl"] .hero-bg {
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784526432/%D9%81%D8%A7%D8%B1%D8%B3%DB%8C_zng8iz.png');
}

.hero-overlay-gradient {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(11, 17, 33, 0.8) 0%, rgba(11, 17, 33, 0.4) 50%, rgba(11, 17, 33, 0.9) 100%);
}

.hero-container {
    position: relative; z-index: 10; display: flex; align-items: center; width: 100%; justify-content: flex-start;
}
html[dir="rtl"] .hero-container { justify-content: flex-start; }

.hero-text-block { max-width: 900px; text-align: left; margin: 0; }
html[dir="rtl"] .hero-text-block { text-align: right; }

.main-title-new {
    font-size: clamp(32px, 5vw, 64px); 
    font-weight: 900; 
    color: var(--text-white); 
    margin-bottom: 16px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    white-space: nowrap;
    flex-wrap: wrap;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
html[dir="rtl"] .main-title-new {
    font-size: clamp(30px, 4.5vw, 58px);
}
.main-title-new .gold-text { 
    color: var(--primary-gold); 
    font-size: inherit; 
}

/* استایل مخصوص متن صادرات با فونت لاله زار */
.sub-title-export {
    font-size: clamp(24px, 3.5vw, 42px);
    color: var(--primary-gold);
    margin-bottom: 24px;
    font-weight: 400; /* لاله زار ذاتا بولد است */
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}
html[dir="rtl"] .sub-title-export {
    font-size: clamp(22px, 3vw, 38px);
    text-align: right;
}

.desc-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.desc-line {
    height: 1px;
    background-color: var(--primary-gold);
    flex-grow: 1;
    max-width: 120px;
    opacity: 0.6;
}

.description-new {
    font-size: clamp(16px, 1.8vw, 20px); 
    line-height: 1.8; 
    color: var(--text-white); 
    font-weight: 500; 
    margin-bottom: 0;
    text-align: left;
}
html[dir="rtl"] .description-new {
    text-align: right;
}

.hero-buttons-new { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }

.btn-explore-new {
    background-color: var(--primary-gold); color: var(--bg-dark-section); border: none;
    padding: 14px 32px; font-size: 15px; font-weight: 800; border-radius: 8px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: all var(--transition-speed);
}
.btn-explore-new:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(200, 152, 69, 0.3); }
html[dir="rtl"] .btn-explore-new svg { transform: scaleX(-1); }

.btn-catalog-outline {
    background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: var(--text-white);
    padding: 14px 32px; font-size: 15px; font-weight: 700; border-radius: 8px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: all var(--transition-speed);
}
.btn-catalog-outline:hover { border-color: var(--primary-gold); color: var(--primary-gold); background: rgba(255, 255, 255, 0.05); }

.vertical-slider-dots {
    position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 24px; z-index: 10;
}
html[dir="rtl"] .vertical-slider-dots { right: auto; left: 4%; }
.v-dot {
    color: rgba(255, 255, 255, 0.3); font-size: 14px; font-weight: 700; cursor: pointer;
    position: relative; padding-top: 12px; transition: 0.3s; text-align: center;
}
.v-dot::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px; background: rgba(255, 255, 255, 0.2); transition: 0.3s;
}
.v-dot.active { color: var(--primary-gold); }
.v-dot.active::before { background: var(--primary-gold); }

.hero-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(2px);
    z-index: 5;
}
.hero-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}
.hero-wave-divider .shape-fill {
    fill: var(--bg-main);
}

/* ==========================================================================
   Value Propositions
   ========================================================================== */
.footer-features { 
    position: relative; background: transparent; padding: 60px 6% 80px; z-index: 20; 
}
.features-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; 
}

.feature-card.dark-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: 16px;
    padding: 40px 24px; text-align: center; position: relative; overflow: hidden;
    color: var(--text-white); display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); transition: transform var(--transition-speed);
}
.feature-card.dark-card:hover { transform: translateY(-8px); }

.feature-icon.gold-icon { 
    width: 76px; height: 76px; border-radius: 50%; 
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border: 2px solid var(--primary-gold); 
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5), 0 4px 15px rgba(200, 152, 69, 0.15);
    color: var(--primary-gold); margin-bottom: 24px; display: flex; align-items: center; justify-content: center; 
}
.feature-icon.gold-icon svg { width: 32px; height: 32px; }

.feature-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--text-white); }
.feature-info p { font-size: 13px; color: var(--text-light-gray); line-height: 1.6; margin-bottom: 20px; }

.card-number { display: none !important; }

/* ==========================================================================
   Catalog Section
   ========================================================================== */
.catalog-section { padding: 0 6% 80px 6%; position: relative; z-index: 1; }

.catalog-banner {
    position: relative; border-radius: 16px; overflow: hidden; padding: 32px 6%; margin-bottom: 40px; background-color: var(--bg-dark-section); min-height: 200px; display: flex; align-items: center; box-shadow: var(--shadow-card);
    justify-content: flex-start;
}
.catalog-banner-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-size: cover; background-repeat: no-repeat;
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/f_auto,q_auto:good/v1782896768/%D8%A7%D9%86%DA%AF%D9%84%DB%8C%D8%B3%DB%8C_kspmcz.webp'); background-position: center right; opacity: 0.5;
}
html[dir="rtl"] .catalog-banner-bg {
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/f_auto,q_auto:good/v1782896770/%D9%81%D8%A7%D8%B1%D8%B3%DB%8C_zgzl34.webp'); background-position: center left;
}
.catalog-banner-text { position: relative; z-index: 1; max-width: 45%; text-align: left; }
html[dir="rtl"] .catalog-banner-text { text-align: right; margin-left: auto; margin-right: 0; } 

.section-main-title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--text-white); margin-bottom: 12px; }
.section-desc { color: var(--text-light-gray); font-size: 15px; line-height: 1.6; }

.catalog-layout { display: block; margin-bottom: 48px; }
.catalog-grid-wrapper { display: flex; flex-direction: column; gap: 24px; }

.catalog-toolbar-new { display: flex; justify-content: flex-end; margin-bottom: 16px; }
html[dir="rtl"] .catalog-toolbar-new { justify-content: flex-start; }
.toolbar-right { display: flex; gap: 16px; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.catalog-card.new-style {
    background-color: var(--bg-white); border-radius: 16px; display: flex; flex-direction: column; 
    box-shadow: var(--shadow-card); transition: transform var(--transition-speed), box-shadow var(--transition-speed); 
    cursor: pointer; overflow: hidden; border: 1px solid var(--border-light);
}
.catalog-card.new-style:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary-gold); }

.card-content-wrapper { display: flex; flex-direction: column; height: 100%; }
.card-image-wrapper { width: 100%; height: 180px; overflow: hidden; background-color: #E2E8F0; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.catalog-card.new-style:hover .card-image-wrapper img { transform: scale(1.05); }

.card-body-new { display: flex; flex-direction: column; padding: 24px 20px 16px; flex-grow: 1; }

.card-text-box { text-align: left; width: 100%; }
html[dir="rtl"] .card-text-box { text-align: right; }
.card-text-box h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--text-dark); }
.card-text-box p { font-size: 12px; color: var(--text-gray); line-height: 1.5; }

.card-footer-new { padding: 0 20px 20px; display: flex; justify-content: flex-end; }
html[dir="rtl"] .card-footer-new { justify-content: flex-start; }
.view-link { font-size: 13px; font-weight: 700; color: var(--primary-gold) !important; display: flex; align-items: center; gap: 6px; }
.catalog-card.new-style:hover .card-arrow { transform: translateX(4px); }
html[dir="rtl"] .catalog-card.new-style:hover .card-arrow { transform: scaleX(-1) translateX(4px); }

.catalog-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.btn-page, .btn-page-prev, .btn-page-next {
    background-color: var(--bg-white); border: 1px solid var(--border-light); color: var(--text-dark); width: 40px; height: 40px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; transition: all var(--transition-speed);
}
.btn-page:hover, .btn-page-prev:hover, .btn-page-next:hover { background-color: var(--bg-main); }
.btn-page.active { background-color: var(--primary-gold); border-color: var(--primary-gold); color: var(--bg-white); box-shadow: 0 4px 12px rgba(200, 152, 69, 0.3); }

/* Dark CTA Banner */
.custom-quote-cta.dark-cta {
    background-color: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: 16px; 
    padding: 40px 48px; margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; box-shadow: var(--shadow-card);
}
.cta-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
html[dir="rtl"] .cta-left { flex-direction: row-reverse; } 
.cta-icon-outline { 
    width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--primary-gold); 
    display: flex; align-items: center; justify-content: center; color: var(--primary-gold); flex-shrink: 0; 
}
.cta-icon-outline svg { width: 32px; height: 32px; }
.dark-cta .cta-text h3 { font-size: 22px; font-weight: 800; color: var(--text-white); margin-bottom: 8px; }
html[dir="rtl"] .dark-cta .cta-text { text-align: right; }
.dark-cta .cta-text p { font-size: 14px; color: var(--text-light-gray); font-weight: 500; }

.btn-request-quote.gold-btn {
    background-color: var(--primary-gold); color: var(--bg-dark-section); border: none; 
    padding: 14px 28px; font-size: 15px; font-weight: 800; border-radius: 8px; cursor: pointer; 
    display: flex; align-items: center; gap: 8px; box-shadow: 0 6px 15px rgba(200, 152, 69, 0.2); transition: all var(--transition-speed);
}
.btn-request-quote.gold-btn:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 152, 69, 0.3); }
html[dir="rtl"] .btn-request-quote.gold-btn svg { transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   HERO STRUCTURE FOR INTERNAL PAGES
   ========================================================================== */
.about-hero-section, .dept-hero-section, .contact-hero-section {
    position: relative; min-height: 50vh; padding-top: 100px; padding-bottom: 40px;
    display: flex; align-items: center; 
    padding-left: 4%; padding-right: 4%; 
    overflow: hidden; background-color: var(--bg-dark-section);
}

.about-hero-bg, .dept-hero-bg, .contact-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
    background-size: cover; background-repeat: no-repeat;
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/f_auto,q_auto/v1782896761/%D8%AF%D9%BE%D8%A7%D8%B1%D8%AA%D9%85%D8%A7%D9%86_%D9%81%D8%A7%D8%B1%D8%B3%DB%8C_chgkfe.webp');
    background-position: center right; opacity: 0.4;
}
html[dir="rtl"] .about-hero-bg, html[dir="rtl"] .dept-hero-bg, html[dir="rtl"] .contact-hero-bg {
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/f_auto,q_auto/v1782896761/%D8%A7%D9%86%DA%AF%D9%84%DB%8C%D8%B3%DB%8C_%D8%AF%D9%BE%D8%A7%D8%B1%D8%AA%D9%85%D8%A7%D9%86_lu60ni.webp');
    background-position: center left;
}

.about-hero-container, .dept-hero-container, .contact-hero-container { 
    position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: center; 
}

.about-breadcrumbs, .dept-breadcrumbs, .contact-breadcrumbs { 
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 24px; font-weight: 500; flex-wrap: wrap; 
}

.about-crumb-link, .dept-crumb-link, .contact-crumb-link { 
    cursor: pointer; transition: color var(--transition-speed); color: rgba(255, 255, 255, 0.6);
}
.about-crumb-link:hover, .dept-crumb-link:hover, .contact-crumb-link:hover { color: var(--text-white); }

.about-crumb-separator, .dept-crumb-separator, .contact-crumb-separator, .crumb-separator { 
    color: rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center;
}
html[dir="rtl"] .about-crumb-separator svg, 
html[dir="rtl"] .dept-crumb-separator svg, 
html[dir="rtl"] .contact-crumb-separator svg,
html[dir="crumb-separator"] svg { 
    transform: scaleX(-1); 
}

.about-crumb-active, .dept-crumb-active, .contact-crumb-active { color: var(--primary-gold); font-weight: 700; }

.about-hero-text, .dept-hero-text, .contact-hero-text { 
    max-width: 35%; text-align: left; 
}
html[dir="rtl"] .about-hero-text, html[dir="rtl"] .dept-hero-text, html[dir="rtl"] .contact-hero-text { text-align: right; }

.about-main-title, .dept-main-title, .contact-main-title { 
    font-size: clamp(20px, 3vw, 28px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; 
}

.about-light-text, .dept-light-text, .contact-light-text { color: var(--text-white); }
.about-red-text, .dept-red-text, .contact-red-text { color: var(--primary-gold); }

.about-description, .dept-description, .contact-description { 
    font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); font-weight: 500; 
}

/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */
.contact-section { position: relative; padding: 80px 6%; z-index: 1; }
.contact-container { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
html[dir="rtl"] .contact-container { direction: rtl; }
.contact-left-side { width: 100%; }
html[dir="rtl"] .contact-left-side { text-align: right; }
.contact-lead-desc { font-size: 15px; line-height: 1.6; color: var(--text-gray); margin-bottom: 40px; }

.contact-map-container { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); height: 200px; background: var(--bg-white); padding: 8px; }
.contact-map-container iframe { width: 100%; height: 100%; border-radius: 8px; border: none; display: block; }

.form-container-card { position: relative; z-index: 15; background-color: var(--bg-white); border: 1px solid var(--border-light); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-card); }
.form-container-card h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 800; color: var(--text-dark); margin-bottom: 8px; text-align: center; }
.form-instructions-desc { font-size: 14px; color: var(--text-gray); margin-bottom: 32px; text-align: center; }
.contact-message-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-group input, .contact-form-group textarea { width: 100%; background-color: var(--bg-white); border: 1px solid var(--border-light); border-radius: 8px; padding: 14px 18px; color: var(--text-dark); font-size: 14px; font-family: inherit; transition: all var(--transition-speed); }
.contact-form-group textarea { resize: none; height: 120px; }
.contact-form-group input:focus, .contact-form-group textarea:focus { outline: none; border-color: var(--primary-gold); box-shadow: 0 0 0 3px rgba(200, 152, 69, 0.1); }
.btn-submit-message { background-color: var(--primary-gold); color: var(--bg-dark-section); border: none; padding: 16px; font-size: 15px; font-weight: 800; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 12px rgba(200, 152, 69, 0.2); margin-top: 8px; }
.btn-submit-message:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); }
html[dir="rtl"] .submit-arrow-icon { transform: scaleX(-1); }

.contact-trust-banner-container { width: 100%; margin-top: 60px; position: relative; z-index: 10; }
.contact-trust-banner { background-color: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: 16px; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; box-shadow: var(--shadow-card); }
.trust-banner-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-shield-icon { width: 56px; height: 56px; background-color: var(--icon-bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-gold); flex-shrink: 0; }
.trust-banner-text h4 { font-size: 16px; font-weight: 800; color: var(--text-white); margin-bottom: 6px; }
html[dir="rtl"] .trust-banner-text { text-align: right; }
.trust-banner-text p { font-size: 13px; color: var(--text-light-gray); line-height: 1.5; font-weight: 500; margin: 0; }
.trust-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; z-index: 15; }
.btn-request-callback, .btn-direct-message { padding: 10px 20px; font-size: 13px; font-weight: 700; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all var(--transition-speed); }
.btn-request-callback { background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--text-white); }
.btn-request-callback:hover { border-color: var(--primary-gold); color: var(--primary-gold); }
.btn-direct-message { background-color: var(--primary-gold); border: none; color: var(--bg-dark-section); box-shadow: 0 4px 15px rgba(200, 152, 69, 0.2); }
.btn-direct-message:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); }
html[dir="rtl"] .callback-arrow-icon, html[dir="rtl"] .msg-arrow-icon { transform: scaleX(-1); }

/* ==========================================================================
   ABOUT US / COMPANY HISTORY
   ========================================================================== */
.history-founders-section { padding: 80px 6% 40px 6%; }
.history-founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.founder-card-item { display: flex; gap: 24px; background-color: var(--bg-white); border: 1px solid var(--border-light); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-card); transition: transform var(--transition-speed); }
html[dir="rtl"] .founder-card-item { text-align: right; }
.founder-card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary-gold); }
.founder-img-frame { width: 180px; height: 240px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background-color: #E2E8F0; }
.founder-img { width: 100%; height: 100%; object-fit: cover; }
.founder-card-details { display: flex; flex-direction: column; justify-content: center; }
.highlight-year { color: var(--primary-gold); font-size: 110%; font-weight: 800; padding: 0 4px; }
.founder-card-role { font-size: 12px; font-weight: 800; color: var(--text-gray); text-transform: uppercase; margin-bottom: 12px; }
.founder-card-name { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.founder-card-bio { font-size: 14px; line-height: 1.6; color: var(--text-gray); font-weight: 500; }

.history-timeline-section { padding: 60px 6% 80px 6%; }
.timeline-section-header { text-align: center; margin-bottom: 56px; }
.timeline-sub-title { font-size: 12px; font-weight: 800; color: var(--primary-gold); letter-spacing: 1.5px; display: block; margin-bottom: 12px; }
.timeline-section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.timeline-title-line { width: 60px; height: 4px; background-color: var(--primary-gold); border-radius: 2px; margin: 0 auto; }

.timeline-container { position: relative; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.timeline-line { position: absolute; top: 0; bottom: 0; left: 24px; width: 2px; background-color: var(--border-light); z-index: 1; }
html[dir="rtl"] .timeline-line { left: auto; right: 24px; }
.timeline-node-item { position: relative; display: flex; gap: 24px; align-items: flex-start; z-index: 2; }
.timeline-marker { display: none; }
.timeline-icon-wrapper { width: 48px; height: 48px; background-color: var(--icon-bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-gold); flex-shrink: 0; z-index: 2; transition: all var(--transition-speed); }
.timeline-node-item:hover .timeline-icon-wrapper { background-color: var(--primary-gold); color: var(--bg-white); transform: scale(1.05); }
.timeline-content-card { flex-grow: 1; background-color: var(--bg-white); border: 1px solid var(--border-light); border-radius: 12px; padding: 24px; text-align: left; box-shadow: var(--shadow-card); }
html[dir="rtl"] .timeline-content-card { text-align: right; }
.timeline-node-year { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 900; color: var(--primary-gold); margin-bottom: 6px; display: block; }
html[dir="rtl"] .timeline-node-year { font-family: 'Vazirmatn', sans-serif !important; }
.timeline-node-heading { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.timeline-node-desc { font-size: 14px; line-height: 1.6; color: var(--text-gray); font-weight: 500; }

/* ==========================================================================
   NEW EXPORT DESTINATIONS SECTION (DARK THEME WITH SLIDER)
   ========================================================================== */
.new-dark-export {
    background-color: #050B14; 
    padding: 80px 6%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.export-bg-map {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784176415/%D8%A7%D9%86%DA%AF%D9%84%DB%8C%D8%B3_duqngd.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.export-header-dark {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.export-global-reach {
    color: var(--primary-gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: 700;
}

.export-global-reach::before, .export-global-reach::after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--primary-gold);
    opacity: 0.5;
}

.export-title-dark {
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin-bottom: 16px;
    font-weight: 900;
}

.export-desc-dark {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
}

.export-slider-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden; 
    padding-bottom: 20px;
    margin-bottom: 40px;
    cursor: grab;
    transition: all 0.5s ease;
}

.export-slider-wrapper:active {
    cursor: grabbing;
}

/* اسکرول افقی هنگام نمایش تمام کشورها */
.export-slider-wrapper.expanded {
    overflow-x: auto;
}
.export-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}
.export-slider-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.export-slider-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

.export-cards-track {
    display: flex;
    gap: 20px;
    width: max-content;
    margin: 0 auto;
    transition: transform 0.1s ease-out; 
}

/* بعد از کلیک نمایش ردیفی از چپ شروع میشود و مارجین حذف میشود تا اسکرول به درستی عمل کند */
.export-slider-wrapper.expanded .export-cards-track {
    margin: 0; 
}

.export-country-card {
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    user-select: none; 
}

.export-country-card:hover {
    transform: translateY(-10px);
    border-color: rgba(200, 152, 69, 0.5);
    box-shadow: 0 15px 40px rgba(200, 152, 69, 0.15);
}

.flag-wrapper {
    width: 100px;
    height: 65px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none; 
}

.flag-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.export-country-card h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    pointer-events: none;
}

.card-line {
    width: 24px;
    height: 2px;
    background-color: var(--primary-gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.export-country-card:hover .card-line {
    width: 40px;
}

.extra-country {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.export-slider-wrapper.expanded .extra-country {
    display: flex;
    opacity: 1;
}

.export-btn-container {
    position: relative;
    z-index: 1;
}

.btn-view-all-dest {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-view-all-dest:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(200, 152, 69, 0.4);
}
html[dir="rtl"] .btn-view-all-dest svg { transform: scaleX(-1); }

/* ==========================================================================
   DEPARTMENTS SECTION
   ========================================================================== */
.departments-cards-section { padding: 80px 6% 80px 6%; }
.departments-section-header { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.departments-section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.departments-title-line { width: 60px; height: 4px; background-color: var(--primary-gold); border-radius: 2px; }

.departments-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
html[dir="rtl"] .departments-cards-grid { direction: rtl; }

.department-card-item { background-color: var(--bg-white); border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform var(--transition-speed); }
.department-card-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-gold); }
.dept-card-image-wrapper { position: relative; width: 100%; height: 220px; overflow: hidden; background-color: #E2E8F0; }
.dept-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.department-card-item:hover .dept-card-img { transform: scale(1.05); }
.dept-card-body { padding: 32px 24px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
html[dir="rtl"] .dept-card-body { text-align: right; }
.dept-card-title { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.dept-card-desc { font-size: 14px; color: var(--text-gray); line-height: 1.6; margin-bottom: 24px; flex-grow: 1; font-weight: 500; }
.dept-card-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; border-top: 1px solid var(--border-light); padding-top: 20px; }
.dept-card-bullets li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dark); font-weight: 600; }
.dept-card-bullets svg { width: 16px; height: 16px; color: var(--primary-gold); flex-shrink: 0; }
.dept-card-footer { display: flex; justify-content: flex-end; margin-top: auto; }
html[dir="rtl"] .dept-card-footer { justify-content: flex-start; }

.btn-dept-learn-more { background-color: var(--primary-gold); border: none; color: var(--bg-dark-section); padding: 12px 24px; font-size: 13px; font-weight: 800; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all var(--transition-speed); }
.btn-dept-learn-more:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--primary-gold); }
html[dir="rtl"] .btn-dept-learn-more svg { transform: scaleX(-1); }

/* ==========================================================================
   PRODUCT ANALYSIS DETAIL VIEW
   ========================================================================== */
.detail-page-section { padding: 120px 6% 80px 6%; position: relative; z-index: 1; }
.breadcrumbs-container { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-gray); margin-bottom: 32px; font-weight: 500; }
.crumb-link { cursor: pointer; transition: color var(--transition-speed); }
.crumb-link:hover { color: var(--primary-gold); }
.crumb-separator { color: var(--border-light); }
html[dir="rtl"] .crumb-separator { transform: scaleX(-1); }
.crumb-active { color: var(--primary-gold); font-weight: 700; }

.detail-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
html[dir="rtl"] .detail-layout { direction: rtl; }
.detail-left-column { display: flex; flex-direction: column; gap: 20px; }

.gallery-main-frame { position: relative; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; background-color: var(--bg-white); box-shadow: var(--shadow-card); aspect-ratio: 16 / 10; }
.gallery-img-container { width: 100%; height: 100%; background-color: #E2E8F0; }
.gallery-img-container img { width: 100%; height: 100%; object-fit: cover; }

.product-nav-pill { display: flex; align-items: center; justify-content: space-between; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 50px; padding: 8px 24px; box-shadow: var(--shadow-card); }
.nav-pill-btn { display: flex; align-items: center; gap: 8px; background: none; border: none; color: var(--text-dark); font-size: 14px; font-weight: 700; cursor: pointer; }
.nav-pill-btn:hover { color: var(--primary-gold); }
html[dir="rtl"] .nav-pill-btn svg { transform: scaleX(-1); }

.nav-pill-grid { 
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--icon-bg-light); 
    color: var(--primary-gold); border-radius: 50%; border: none; cursor: pointer; transition: transform var(--transition-speed), background var(--transition-speed); 
}
.nav-pill-grid:hover { transform: scale(1.1); background: var(--primary-gold); color: var(--bg-white); }

.detail-table-container { grid-column: 1 / -1; width: 100%; background-color: var(--bg-white); border: none; border-radius: 16px; padding: 32px; margin-top: 16px; box-shadow: var(--shadow-card); }
.detail-table-title { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 24px; }
html[dir="rtl"] .detail-table-title { text-align: right; }
.table-scroll-wrapper { overflow-x: auto; }
.analysis-table { width: 100%; border-collapse: hidden; border-spacing: 0; font-size: 13px; color: var(--text-dark); text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); }
.analysis-table th { background-color: var(--bg-card-dark); color: var(--text-white); font-weight: 800; padding: 16px; border-bottom: none; }
.analysis-table td { padding: 16px; border-bottom: 1px solid var(--border-light); font-weight: 500; background-color: var(--bg-white); }
.analysis-table tbody tr:last-child td { border-bottom: none; }
.analysis-table tbody tr:nth-child(even) td { background-color: #F8FAFC; }

.detail-right-column { display: flex; flex-direction: column; }
html[dir="rtl"] .detail-right-column { text-align: right; }
.detail-main-name { font-size: clamp(32px, 4vw, 42px); font-weight: 800; color: var(--text-dark); margin-bottom: 20px; }
.detail-main-desc { font-size: 15px; line-height: 1.7; color: var(--text-gray); margin-bottom: 32px; font-weight: 500; }

.detail-mini-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 36px; }
.mini-feature-card { display: flex; gap: 16px; align-items: center; }
.mini-feat-icon { width: 44px; height: 44px; border-radius: 10px; background-color: var(--icon-bg-light); color: var(--primary-gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-feat-text h5 { font-size: 14px; font-weight: 800; color: var(--text-dark); margin-bottom: 2px; }
.mini-feat-text p { font-size: 12px; color: var(--text-gray); font-weight: 500; }

.detail-action-btns { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-quote-fill { background-color: var(--primary-gold); color: var(--bg-dark-section); border: none; padding: 14px 28px; font-size: 15px; font-weight: 800; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; justify-content: center; }
.btn-quote-fill:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(200, 152, 69, 0.3); }
html[dir="rtl"] .btn-quote-fill svg { transform: scaleX(-1); }

.btn-datasheet-outline { background-color: var(--bg-white); color: var(--text-dark); border: 1px solid var(--border-light); padding: 14px 28px; font-size: 15px; font-weight: 700; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-datasheet-outline:hover { background-color: var(--bg-main); border-color: var(--primary-gold); color: var(--primary-gold); }

.detail-quick-specs { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 12px; padding: 28px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-card); }
.spec-detail-row { display: flex; justify-content: space-between; font-size: 14px; border-bottom: 1px solid var(--border-light); padding-bottom: 14px; font-weight: 600; }
.spec-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-detail-row .label { color: var(--text-gray); }
.spec-detail-row .value { color: var(--text-dark); font-weight: 800; }

/* ==========================================================================
   Video Modal
   ========================================================================== */
.video-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(11, 17, 33, 0.85); backdrop-filter: blur(8px); justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.video-modal.show { display: flex; opacity: 1; }
.video-modal-content { position: relative; width: 90%; max-width: 960px; background-color: var(--bg-white); border-radius: 16px; overflow: hidden; animation: modalZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes modalZoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.video-modal-close { position: absolute; top: 15px; right: 20px; color: var(--text-white); background: rgba(0, 0, 0, 0.5); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; cursor: pointer; z-index: 2010; }
.video-iframe-container { position: relative; width: 100%; padding-top: 56.25%; }
.video-iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ==========================================================================
   NEW FOOTER SECTION (LIGHT THEME)
   ========================================================================== */
.new-white-footer {
    padding: 40px 6% 60px;
    background-color: var(--bg-main); 
    position: relative;
    z-index: 1;
}

.footer-container-new {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.footer-content-flex-new {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

html[dir="rtl"] .footer-content-flex-new {
    flex-direction: row-reverse;
}

.footer-contact-grid-new {
    display: flex;
    gap: 40px;
}

html[dir="rtl"] .footer-contact-grid-new {
    direction: rtl;
}

.footer-info-col {
    display: flex;
    align-items: center;
    gap: 16px;
}

.f-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1E293B; 
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.f-icon-box svg {
    width: 20px;
    height: 20px;
}

.f-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.f-text-box p {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

.footer-social-block-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-title-new {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.footer-social-icons-new {
    display: flex;
    gap: 12px;
}

.f-social-icon-new {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.f-social-icon-new:hover {
    background: #1E293B; 
    color: var(--primary-gold);
    border-color: #1E293B; 
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.f-social-icon-new svg {
    width: 18px;
    height: 18px;
}

.footer-copyright-new {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: var(--bg-main);
    padding: 16px 24px;
    border-radius: 12px;
}

.copyright-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-light);
}

.copyright-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
}

html[dir="rtl"] .copyright-content {
    flex-direction: row-reverse;
}

.copyright-icon-new {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
}

.copyright-icon-new svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Media Queries & MOBILE FIX (Premium Responsive)
   ========================================================================== */
@media (max-width: 1200px) {
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
    .departments-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .detail-table-container { grid-column: 1; }
    .history-founders-grid { grid-template-columns: 1fr; }
    
    .vertical-slider-dots { display: none; } 
    
    .new-dark-export { 
        display: flex !important; 
        padding: 60px 16px !important; 
    }

    .footer-content-flex-new {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    html[dir="rtl"] .footer-content-flex-new {
        flex-direction: column;
    }
    .footer-contact-grid-new {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    .footer-info-col {
        flex-direction: column;
        justify-content: center;
    }
    .footer-social-block-new {
        align-items: center;
    }
}

@media (max-width: 768px) {
    /* Header & Menu */
    .mobile-menu-toggle { display: block; }
    .main-header { padding: 12px 16px !important; }
    .main-header.scrolled { padding: 10px 16px !important; }
    .main-logo-img { height: 40px; }
    .logo-glow-line { display: none; } 

    .header-actions { gap: 8px !important; }
    html[dir="rtl"] .header-actions { direction: ltr; }
    html[dir="rtl"] .lang-selector-container { direction: rtl; }

    .btn-exit { width: 32px !important; height: 32px !important; padding: 0 !important; }
    .btn-exit svg { width: 16px !important; height: 16px !important; }
    
    .lang-selector-container { position: relative !important; }
    .lang-selector { padding: 6px 8px !important; font-size: 12px !important; }
    .lang-dropdown { position: absolute !important; top: 100% !important; left: 50% !important; transform: translateX(-50%) !important; right: auto !important; width: 80px !important; z-index: 99999 !important; }
    
    .desktop-only-quote { display: none !important; }
    .mobile-only-quote { display: flex !important; width: 100%; justify-content: center; margin-top: 12px; background: var(--primary-gold); color: var(--bg-dark-section); border: none; }
    
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-dark-section); flex-direction: column; padding: 0 6%; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.4s ease, visibility 0.3s; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); gap: 12px; border-top: 1px solid var(--border-dark); z-index: 999; display: flex !important; }
    .nav-links.active { max-height: 500px; opacity: 1; visibility: visible; padding: 20px 6%; }
    html[dir="rtl"] .nav-links { right: 0; left: auto; }
    .nav-links a { font-size: 14px !important; font-weight: 700 !important; padding: 10px 0 !important; width: 100%; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-white); }

    section { padding: 30px 16px !important; } 

    /* Hero Section Mobile */
    /* مخفی کردن موج سفید برای موبایل */
    .hero-wave-divider { display: none !important; }
    
    .hero-section { 
        min-height: 85vh !important; /* ارتفاع برای تناسب کامل با تصویر پس‌زمینه کاهش یافت */
        padding-top: 80px !important; 
        padding-bottom: 90px !important; /* بهینه‌سازی فاصله‌دهی پایین */
        align-items: flex-end !important; /* تراز محتوا در پایین جهت جلوگیری از همپوشانی با لوله‌ها */
    }
    
    /* عکس پس زمینه موبایل */
    .hero-bg {
        background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784546430/FFF_f4qrlf.jpg') !important;
        background-position: center bottom !important; /* فوکوس دقیق روی وسط و پایین تصویر */
        background-size: cover !important;
    }
    html[dir="rtl"] .hero-bg {
        background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784546383/FFF%DB%8C_kcjbyj.jpg') !important;
    }
    
    .hero-overlay-gradient {
        background: linear-gradient(to bottom, rgba(11, 17, 33, 0.1) 0%, rgba(11, 17, 33, 0.4) 40%, rgba(11, 17, 33, 0.95) 100%) !important;
    }

    .hero-container {
        margin-bottom: 15px !important;
    }

    /* سایزهای متون بخش اصلی (بسیار کوچک‌تر و ظریف‌تر جهت عدم تداخل) */
    .main-title-new { font-size: 16px !important; margin-bottom: 4px !important; }
    html[dir="rtl"] .main-title-new { font-size: 16px !important; }
    
    .sub-title-export { font-size: 11px !important; text-align: left; line-height: 1.4 !important; white-space: normal !important; margin-bottom: 8px !important; }
    html[dir="rtl"] .sub-title-export { font-size: 11px !important; text-align: right; }
    
    .desc-wrapper { flex-direction: row !important; gap: 8px !important; margin-bottom: 15px !important; justify-content: flex-start !important; }
    .desc-line-left, .desc-line-right { display: none !important; } /* حذف کامل خطوط طلایی در موبایل برای ظاهر خلوت و ظریف */
    
    .description-new { font-size: 10px !important; text-align: left !important; margin: 0 !important; max-width: 100% !important; }
    html[dir="rtl"] .description-new { text-align: right !important; }
    
    .hero-text-block { text-align: left !important; margin: 0; width: 100%; }
    html[dir="rtl"] .hero-text-block { text-align: right !important; }
    
    /* دکمه‌ها در موبایل - جمع‌وجور و با فاصله‌دهی مناسب از متون */
    .hero-buttons-new { flex-direction: row !important; width: 100%; gap: 8px !important; align-items: center; justify-content: flex-start !important; margin-top: 15px !important; }
    html[dir="rtl"] .hero-buttons-new { justify-content: flex-start !important; }
    .btn-explore-new, .btn-catalog-outline { width: auto !important; flex: 1; justify-content: center !important; padding: 8px 10px !important; font-size: 10px !important; border-radius: 6px !important; }
    .btn-explore-new svg, .btn-catalog-outline svg { width: 12px !important; height: 12px !important; }
    
    .hero-wave-divider svg { height: 40px; } 

    /* تنظیم ۴ ویژگی پایین صفحه برای همپوشانی روان و عدم تداخل با بخش محصولات */
    .footer-features { 
        padding: 0 10px 15px !important; 
        margin-top: -65px !important; /* تنظیم دقیق همپوشانی برای جلوگیری از جلو زدن بخش محصولات */
        position: relative; 
        z-index: 20; 
        background: transparent !important;
        margin-bottom: 10px !important;
    }
    .features-grid { 
        display: flex !important; 
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
        gap: 0 !important; 
        width: 100% !important;
    }
    .feature-card.dark-card { 
        background: transparent !important; 
        border: none !important; 
        box-shadow: none !important; 
        padding: 0 4px !important; 
        flex: 1; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    /* خطوط عمودی جداکننده */
    .feature-card.dark-card:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background-color: rgba(255, 255, 255, 0.25);
    }
    html[dir="rtl"] .feature-card.dark-card:not(:last-child)::after {
        right: auto;
        left: 0;
    }
    .feature-icon.gold-icon { 
        width: 20px !important; 
        height: 20px !important; 
        background: transparent !important; 
        border: none !important; 
        box-shadow: none !important; 
        margin-bottom: 4px !important; 
    }
    .feature-icon.gold-icon svg { width: 16px !important; height: 16px !important; stroke-width: 1.5 !important; }
    .feature-info h3 { font-size: 8px !important; font-weight: 500 !important; margin-bottom: 0 !important; white-space: nowrap; color: #fff !important; }
    .feature-info p { display: none !important; } /* مخفی کردن توضیحات در موبایل */

    /* اعمال بنرهای جدید فقط در کدهای موبایل */
    .about-hero-bg, .dept-hero-bg, .contact-hero-bg, .catalog-banner-bg {
        background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784539128/file_0000000060308243be6dacdf31b6eecb_x83s3k.png') !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    html[dir="rtl"] .about-hero-bg, html[dir="rtl"] .dept-hero-bg, html[dir="rtl"] .contact-hero-bg, html[dir="rtl"] .catalog-banner-bg {
        background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784539240/%DB%8C%DB%8C%D8%B7%D8%B7_vxdljm.png') !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    /* جلوگیری از برخورد با صفحه محصولات و پدینگ مناسب برای شروع روان محصولات */
    .catalog-section {
        padding-top: 35px !important;
    }

    /* Catalog Banner */
    .catalog-banner { min-height: 120px !important; padding: 20px 16px !important; align-items: center !important; justify-content: center !important; text-align: center !important; margin-bottom: 24px !important; }
    .catalog-banner-text { max-width: 100% !important; text-align: center !important; margin: 0 auto !important; }
    html[dir="rtl"] .catalog-banner-text { text-align: center !important; }
    .catalog-banner .section-main-title { text-align: center !important; justify-content: center !important; font-size: 16px !important; margin-bottom: 6px !important; }
    .catalog-banner .section-desc { text-align: center !important; font-size: 11px !important; line-height: 1.5 !important; }

    .catalog-toolbar-new { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px !important; }
    html[dir="rtl"] .catalog-toolbar-new { align-items: center; }
    .toolbar-right { width: 100%; justify-content: center; }
    
    /* Products - 2 Columns on Mobile */
    .catalog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .catalog-card.new-style { border-radius: 12px !important; }
    .card-image-wrapper { height: 100px !important; }
    .card-body-new { padding: 10px 8px 6px !important; gap: 4px !important; align-items: flex-start !important; flex-direction: column !important; text-align: left !important; }
    html[dir="rtl"] .card-body-new { align-items: flex-start !important; text-align: right !important; }
    .card-text-box { text-align: left !important; }
    html[dir="rtl"] .card-text-box { text-align: right !important; }
    .card-text-box h4 { font-size: 11px !important; margin-bottom: 2px !important; }
    .card-text-box p { font-size: 9px !important; line-height: 1.3 !important; }
    .card-footer-new { padding: 0 8px 10px !important; justify-content: center !important; }
    html[dir="rtl"] .card-footer-new { justify-content: center !important; }
    .view-link { font-size: 10px !important; }
    .view-link svg { width: 10px !important; height: 10px !important; }
    
    /* CTA Banner */
    .custom-quote-cta.dark-cta { padding: 20px 12px !important; flex-direction: column !important; text-align: center !important; gap: 16px !important; }
    .cta-left { flex-direction: column !important; gap: 16px !important; justify-content: center !important; }
    html[dir="rtl"] .cta-left { flex-direction: column !important; }
    .cta-icon-outline { width: 48px !important; height: 48px !important; margin: 0 auto !important; }
    .dark-cta .cta-text h3 { font-size: 15px !important; text-align: center !important; }
    html[dir="rtl"] .dark-cta .cta-text { text-align: center !important; }
    .dark-cta .cta-text p { font-size: 11px !important; }
    .btn-request-quote.gold-btn { width: 100% !important; justify-content: center !important; padding: 10px !important; font-size: 12px !important; }

    /* Export Slider Mobile */
    .export-title-dark { font-size: 18px !important; }
    .export-desc-dark { font-size: 11px !important; }
    .export-slider-wrapper { padding-bottom: 10px !important; }
    .export-country-card { width: 110px !important; padding: 10px !important; }
    .flag-wrapper { width: 60px !important; height: 40px !important; margin-bottom: 8px !important; }
    .export-country-card h3 { font-size: 11px !important; margin-bottom: 6px !important; }
    .btn-view-all-dest { width: 100% !important; justify-content: center !important; font-size: 11px !important; padding: 10px 20px !important; }

    /* Internal Pages Heros (About, Dept, Contact) - Optimized text and alignment */
    .about-hero-section, .dept-hero-section, .contact-hero-section {
        min-height: auto !important; padding: 80px 16px 30px !important;
    }

    .about-breadcrumbs, .dept-breadcrumbs, .contact-breadcrumbs { 
        display: none !important; /* حذف هدرهای ناوبری تکراری در بالای صفحات موبایل */
    }
    .about-hero-text, .dept-hero-text, .contact-hero-text {
        max-width: 100% !important; text-align: center !important; margin: 0 auto !important;
    }
    html[dir="rtl"] .about-hero-text, html[dir="rtl"] .dept-hero-text, html[dir="rtl"] .contact-hero-text {
        text-align: center !important;
    }
    .about-main-title, .dept-main-title, .contact-main-title {
        font-size: 18px !important; line-height: 1.3 !important; text-align: center !important; justify-content: center !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 6px !important;
    }
    .about-description, .dept-description, .contact-description {
        text-align: center !important; font-size: 11px !important; line-height: 1.6 !important; margin-top: 8px !important; max-width: 100% !important;
    }

    /* About History - Founders and bio optimization */
    .history-founders-section { padding: 30px 16px !important; }
    .history-founders-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .founder-card-item { flex-direction: column !important; padding: 16px 12px !important; align-items: center !important; text-align: center !important; border-radius: 16px !important; gap: 16px !important; }
    html[dir="rtl"] .founder-card-item { text-align: center !important; }
    .founder-img-frame { width: 120px !important; height: 160px !important; margin: 0 auto 12px !important; border-radius: 12px !important; }
    .founder-card-details { align-items: center !important; text-align: center !important; }
    .founder-card-name { font-size: 15px !important; margin-bottom: 4px !important; }
    .founder-card-role { font-size: 10px !important; margin-bottom: 8px !important; }
    .founder-card-bio { font-size: 11px !important; line-height: 1.6 !important; text-align: center !important; }

    /* About History - Timeline optimization */
    .history-timeline-section { padding: 30px 16px !important; }
    .timeline-section-header { margin-bottom: 32px !important; }
    .timeline-section-title { font-size: 18px !important; }
    .timeline-container { padding-left: 20px !important; }
    html[dir="rtl"] .timeline-container { padding-left: 0 !important; padding-right: 20px !important; }
    .timeline-line { left: 20px !important; }
    html[dir="rtl"] .timeline-line { left: auto !important; right: 20px !important; }
    .timeline-node-item { flex-direction: row !important; align-items: flex-start !important; gap: 16px !important; margin-bottom: 16px !important; }
    html[dir="rtl"] .timeline-node-item { flex-direction: row !important; align-items: flex-start !important; }
    .timeline-icon-wrapper { width: 30px !important; height: 30px !important; }
    .timeline-icon-wrapper svg { width: 14px !important; height: 14px !important; }
    .timeline-content-card { width: 100% !important; padding: 12px !important; text-align: left !important; }
    html[dir="rtl"] .timeline-content-card { text-align: right !important; }
    .timeline-node-year { font-size: 14px !important; }
    .timeline-node-heading { font-size: 13px !important; margin-bottom: 4px !important; }
    .timeline-node-desc { font-size: 10px !important; line-height: 1.5 !important; }
    
    /* Departments cards - responsive layout */
    .departments-cards-section { padding: 30px 16px !important; }
    .departments-cards-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .department-card-item { border-radius: 12px !important; }
    .dept-card-image-wrapper { height: 120px !important; }
    .dept-card-body { padding: 16px 12px !important; }
    .dept-card-title { font-size: 15px !important; margin-bottom: 6px !important; }
    .dept-card-desc { font-size: 11px !important; line-height: 1.5 !important; margin-bottom: 12px !important; }
    .dept-card-bullets { margin-bottom: 20px !important; padding-top: 12px !important; gap: 10px !important; }
    .dept-card-bullets li { font-size: 10px !important; }
    .dept-card-bullets svg { width: 14px !important; height: 14px !important; }
    .btn-dept-learn-more { width: 100% !important; justify-content: center !important; padding: 8px !important; font-size: 11px !important; }
    
    /* Contact section - structured for mobile viewports */
    .contact-section { padding: 30px 16px !important; }
    .contact-container { display: flex !important; flex-direction: column !important; gap: 24px !important; }
    .contact-left-side, .contact-right-side { width: 100% !important; }
    .contact-lead-desc { font-size: 12px !important; margin-bottom: 24px !important; text-align: center !important; }
    html[dir="rtl"] .contact-lead-desc { text-align: center !important; }
    .contact-map-container { height: 150px !important; margin-top: 16px !important; }
    .form-container-card { padding: 16px 12px !important; border-radius: 16px !important; }
    .form-container-card h3 { font-size: 16px !important; margin-bottom: 6px !important; }
    .form-instructions-desc { font-size: 11px !important; margin-bottom: 20px !important; }
    .contact-form-group input, .contact-form-group textarea { padding: 8px 12px !important; font-size: 11px !important; }
    .contact-form-group textarea { height: 100px !important; }
    .btn-submit-message { width: 100% !important; justify-content: center !important; padding: 10px !important; font-size: 12px !important; }
    .contact-trust-banner { padding: 16px 12px !important; }
    .trust-shield-icon { width: 40px !important; height: 40px !important; }
    .trust-banner-text h4 { text-align: center !important; font-size: 14px !important; }
    html[dir="rtl"] .trust-banner-text { text-align: center !important; }
    .trust-banner-text p { font-size: 11px !important; }
    .trust-banner-actions { width: 100% !important; flex-direction: column !important; gap: 12px !important; }
    .btn-request-callback, .btn-direct-message { width: 100% !important; justify-content: center !important; font-size: 11px !important; padding: 8px 16px !important; }
    
    /* Product Detail View - fixed alignment and scale */
    .detail-page-section { padding: 90px 16px 40px !important; }
    .detail-header-top { margin-bottom: 20px !important; }
    .breadcrumbs-container { display: none !important; /* حذف کادرهای اضافه در بالای صفحه جزئیات موبایل */ }
    .detail-layout { display: flex !important; flex-direction: column !important; gap: 24px !important; }
    .gallery-main-frame { aspect-ratio: 16 / 10 !important; border-radius: 12px !important; }
    .product-nav-pill { padding: 6px 16px !important; border-radius: 30px !important; }
    .nav-pill-btn { font-size: 12px !important; }
    .detail-main-name { font-size: 22px !important; text-align: center !important; margin-bottom: 12px !important; }
    html[dir="rtl"] .detail-main-name { text-align: center !important; }
    .detail-main-desc { font-size: 13px !important; text-align: center !important; margin-bottom: 20px !important; line-height: 1.6 !important; }
    html[dir="rtl"] .detail-main-desc { text-align: center !important; }
    
    /* تنظیم چیدمان افقی بخش مشخصات محصول در موبایل مطابق عکس */
    .detail-mini-features {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }
    .mini-feature-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
        flex: 1 !important;
    }
    .mini-feat-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
        background-color: var(--icon-bg-light) !important;
        color: var(--primary-gold) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .mini-feat-text h5 {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: var(--text-dark) !important;
        margin-bottom: 2px !important;
    }
    .mini-feat-text p {
        font-size: 11px !important;
        color: var(--text-gray) !important;
    }
    
    .detail-action-btns { flex-direction: column !important; gap: 10px !important; margin-bottom: 24px !important; width: 100% !important; }
    .btn-quote-fill, .btn-datasheet-outline { width: 100% !important; justify-content: center !important; padding: 12px !important; font-size: 14px !important; }
    .detail-quick-specs { padding: 16px !important; gap: 10px !important; margin-bottom: 20px !important; border-radius: 12px !important; }
    .spec-detail-row { font-size: 12px !important; padding-bottom: 8px !important; }
    .detail-table-container { padding: 20px 16px !important; border-radius: 12px !important; margin-top: 8px !important; }
    .detail-table-title { font-size: 15px !important; margin-bottom: 16px !important; text-align: center !important; }
    html[dir="rtl"] .detail-table-title { text-align: center !important; }
    .table-scroll-wrapper { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; border-radius: 8px !important; border: 1px solid var(--border-light) !important; }
    .analysis-table { border: none !important; border-radius: 0 !important; }
    .analysis-table th, .analysis-table td { padding: 10px 8px !important; font-size: 11px !important; white-space: nowrap !important; }

    /* Footer adjustments */
    .footer-container-new { padding: 20px 12px !important; }
    .footer-contact-grid-new { flex-direction: column !important; gap: 24px !important; }
    .f-icon-box { width: 36px !important; height: 36px !important; }
    .f-icon-box svg { width: 16px !important; height: 16px !important; }
    .f-text-box p { font-size: 10px !important; }
    .social-title-new { font-size: 12px !important; }
    .f-social-icon-new { width: 32px !important; height: 32px !important; }
    .copyright-content { flex-direction: column !important; text-align: center !important; gap: 8px !important; font-size: 10px !important; }
}

@media (max-width: 480px) {
    .main-title-new { font-size: 16px !important; }
    html[dir="rtl"] .main-title-new { font-size: 16px !important; }
    .export-country-card { width: 120px !important; padding: 10px !important; }
    .flag-wrapper { width: 60px !important; height: 40px !important; }
}
/* /* ==========================================================================
   SPECIAL SALE SECTION (REDESIGN MATCHING IMAGE)
   ========================================================================== */

/* استایل دکمه فروش ویژه در منو (بدون تغییر) */
.special-offer-nav {
    display: flex !important; align-items: center; gap: 6px; color: var(--primary-gold) !important; font-weight: 800 !important;
}
.special-offer-nav::after { display: none !important; }
.special-offer-nav .fire-icon { color: #f97316; fill: #f97316; animation: flicker 1.5s infinite alternate; }
.special-offer-nav .hot-badge { background-color: #ef4444; color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: bold; letter-spacing: 0.5px; animation: pulse 2s infinite; font-family: 'Inter', sans-serif; }
@keyframes flicker { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0.8; transform: scale(1.1); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); box-shadow: 0 0 8px rgba(239, 68, 68, 0.6); } 100% { transform: scale(1); } }

/* --- استایل های اصلی صفحه جدید --- */
.ss-new-view {
    padding: 120px 4% 80px;
    background-color: #f4f7f9; /* رنگ پس زمینه ملایم */
    min-height: 100vh;
    position: relative;
    direction: rtl;
    font-family: 'Vazirmatn', sans-serif;
}

/* پترن پس زمینه */
.ss-new-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 0;
}

.ss-new-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* --- بخش بالایی (بنر و کارت) --- */
.ss-top-section {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

/* سمت راست: متون */
.ss-text-side {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ss-mini-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.ss-mini-header span {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; color: #64748b; letter-spacing: 1px;
}
.ss-line { height: 1px; background: #cbd5e1; flex-grow: 1; max-width: 100px; }

.ss-main-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 900; color: #0f172a; margin-bottom: 8px;
}
.ss-main-title span { color: #1e3a8a; } /* رنگ آبی تیره برای کلمه فولاد */

.ss-sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800; color: #2563eb; margin-bottom: 16px;
}

.ss-desc {
    font-size: 14px; color: #475569; margin-bottom: 40px; font-weight: 500;
}

/* ویژگی ها (Features) */
.ss-features-row {
    display: flex;
    gap: 24px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}
.ss-feature-box {
    display: flex; align-items: center; gap: 12px;
    flex: 1;
    border-right: 1px solid #e2e8f0;
    padding-right: 20px;
}
.ss-feature-box:first-child { border-right: none; padding-right: 0; }

.ss-feat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: #eff6ff; color: #2563eb;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ss-feat-text { display: flex; flex-direction: column; }
.ss-feat-text strong { font-size: 13px; color: #0f172a; margin-bottom: 4px; }
.ss-feat-text span { font-size: 11px; color: #64748b; }

/* سمت چپ: کارت محصول */
.ss-product-card {
    flex: 1;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-image: url('https://res.cloudinary.com/dqhbyqftq/image/upload/v1784520479/%D8%B4%D9%85%D8%B4_ccazwm.png');
    background-size: cover;
    background-position: center right;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
    display: flex;
}
/* گرادیانت آبی تیره روی عکس */
.ss-card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to left, rgba(10, 37, 80, 0.1) 0%, rgba(10, 37, 80, 0.95) 60%, rgba(10, 37, 80, 1) 100%);
    z-index: 1;
}

.ss-card-content {
    position: relative; z-index: 2;
    padding: 40px;
    width: 70%;
    display: flex; flex-direction: column; justify-content: center;
}

.ss-card-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.ss-cat {
    font-family: 'Inter', sans-serif; font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 1px;
}
.ss-badge {
    background: #2563eb; color: white; padding: 4px 10px; border-radius: 20px;
    font-size: 11px; font-weight: bold; display: flex; align-items: center; gap: 4px;
}

.ss-prod-name { font-size: 28px; font-weight: 900; color: white; margin-bottom: 8px; }
.ss-prod-specs { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 30px; direction: ltr; text-align: right; }

.ss-price-section { margin-bottom: 30px; }
.ss-old-price { display: block; text-decoration: line-through; color: rgba(255,255,255,0.5); font-size: 16px; font-family: 'Inter', sans-serif; margin-bottom: 4px; }
.ss-new-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ss-new-price { font-size: 40px; font-weight: 900; color: white; font-family: 'Inter', sans-serif; }
.ss-discount {
    background: rgba(16, 185, 129, 0.2); border: 1px solid #10b981; color: #10b981;
    padding: 4px 8px; border-radius: 20px; font-size: 12px; font-weight: bold; display: flex; align-items: center; gap: 4px;
}
.ss-currency { font-size: 13px; color: rgba(255,255,255,0.6); }

.ss-btn-order {
    background: #2563eb; color: white; padding: 14px 24px; border-radius: 10px;
    font-size: 15px; font-weight: bold; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: fit-content; transition: all 0.3s;
}
.ss-btn-order:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37,99,235,0.3); }

.ss-watermark {
    position: absolute; bottom: 30px; left: 30px; z-index: 2;
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 900; color: rgba(255,255,255,0.2);
    text-align: left; line-height: 1.2; direction: ltr;
}
.ss-watermark span { font-size: 9px; font-weight: 400; opacity: 0.7; }

/* --- نوار ابزار میانی --- */
.ss-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; padding: 0 8px;
}
.ss-toolbar-right, .ss-toolbar-left { display: flex; align-items: center; gap: 16px; }

.ss-tool-item { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 13px; font-weight: 600; }
.ss-tool-item svg { color: #94a3b8; }
.ss-tool-divider { width: 1px; height: 16px; background: #cbd5e1; }

.ss-btn-outline, .ss-btn-fill {
    display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.3s;
}
.ss-btn-outline { background: white; border: 1px solid #e2e8f0; color: #475569; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.ss-btn-outline:hover { border-color: #cbd5e1; background: #f8fafc; }
.ss-btn-fill { background: #2563eb; border: none; color: white; box-shadow: 0 4px 10px rgba(37,99,235,0.2); }
.ss-btn-fill:hover { background: #1d4ed8; transform: translateY(-1px); }

/* --- جدول قیمت ها --- */
.ss-table-container {
    background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden; border: 1px solid #f1f5f9;
}
.ss-table-responsive { overflow-x: auto; }

.ss-new-table { width: 100%; border-collapse: collapse; text-align: center; }
.ss-new-table th {
    background: #f8fafc; color: #64748b; font-size: 13px; font-weight: 600;
    padding: 16px 20px; border-bottom: 1px solid #e2e8f0;
}
.ss-new-table td {
    padding: 20px; border-bottom: 1px solid #f1f5f9; vertical-align: middle;
    font-size: 14px; font-weight: 600; color: #334155; transition: background 0.2s;
}
.ss-new-table tr:hover td { background: #fbfdff; }
.ss-new-table tr:last-child td { border-bottom: none; }

.text-right { text-align: right !important; }

/* استایل های داخلی سلول ها */
.ss-td-product { display: flex; flex-direction: column; gap: 4px; }
.ss-td-product strong { font-size: 14px; color: #0f172a; }
.ss-td-product span { font-size: 11px; color: #94a3b8; }

.ss-td-loc { display: flex; align-items: center; justify-content: center; gap: 6px; color: #475569; }
.ss-td-loc svg { color: #94a3b8; }

.ss-price-bold { font-size: 16px; font-weight: 800 !important; color: #0f172a !important; font-family: 'Inter', sans-serif; }
.ss-text-blue { color: #2563eb !important; }
.ss-text-gray { color: #94a3b8 !important; font-weight: 500 !important; }

.ss-td-change { display: flex; flex-direction: column; align-items: center; gap: 2px; direction: ltr; font-family: 'Inter', sans-serif; }
.ss-td-change.up span { color: #10b981; font-weight: 700; display: flex; align-items: center; gap: 2px; }
.ss-td-change.up small { color: #10b981; font-size: 11px; opacity: 0.8; }

/* دکمه های جدول */
.ss-action-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.3s;
}
.ss-action-btn.blue { background: #2563eb; color: white; border: none; box-shadow: 0 4px 10px rgba(37,99,235,0.2); }
.ss-action-btn.blue:hover { background: #1d4ed8; }
.ss-action-btn.outline { background: white; color: #475569; border: 1px solid #e2e8f0; }
.ss-action-btn.outline:hover { border-color: #cbd5e1; background: #f8fafc; }

/* فوتر جدول */
.ss-table-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0;
}
.ss-btn-view-all {
    display: flex; align-items: center; gap: 8px; background: transparent; border: none;
    color: #2563eb; font-size: 13px; font-weight: 700; cursor: pointer;
}
.ss-btn-view-all:hover { color: #1d4ed8; }
.ss-footer-info {
    display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b;
}

/* ==========================================================================
   Responsive Adjustments for Special Sale
   ========================================================================== */
@media (max-width: 1100px) {
    .ss-top-section { flex-direction: column; }
    .ss-card-content { width: 100%; }
    .ss-watermark { display: none; }
}

@media (max-width: 768px) {
    .ss-new-view { padding: 90px 4% 40px; }
    
    .ss-features-row { flex-direction: column; gap: 16px; border-top: none; padding-top: 16px; }
    .ss-feature-box { border-right: none; padding-right: 0; border-bottom: 1px solid #f1f5f9; padding-bottom: 16px; }
    .ss-feature-box:last-child { border-bottom: none; padding-bottom: 0; }
    
    .ss-toolbar { flex-direction: column; gap: 16px; align-items: flex-start; }
    .ss-toolbar-right, .ss-toolbar-left { width: 100%; justify-content: space-between; }
    .ss-tool-divider { display: none; }
    
    .ss-table-footer { flex-direction: column-reverse; gap: 16px; align-items: flex-start; }
    .ss-footer-info { line-height: 1.5; }
}
/* ==========================================
   Notification Modal Styles
   ========================================== */
.notify-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 17, 33, 0.85); backdrop-filter: blur(5px);
    z-index: 3000; display: flex; align-items: center; justify-content: center;
    direction: rtl; font-family: 'Vazirmatn', sans-serif;
}
.notify-modal-box {
    background: var(--bg-white, #fff); border-radius: 16px; padding: 30px;
    width: 90%; max-width: 400px; position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.notify-close {
    position: absolute; top: 15px; left: 20px; font-size: 24px;
    cursor: pointer; color: var(--text-gray); transition: 0.3s;
}
.notify-close:hover { color: #ef4444; }
.notify-modal-box h3 {
    font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; text-align: center;
}
.notify-modal-box p {
    font-size: 13px; color: var(--text-gray); margin-bottom: 20px; text-align: center;
}
.notify-form-group { margin-bottom: 15px; }
.notify-form-group input {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-light);
    border-radius: 8px; font-family: inherit; font-size: 14px;
}
.notify-form-group input:focus {
    outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.notify-msg-success { color: #10b981; }
.notify-msg-error { color: #ef4444; }

/* Price notification permission feedback */
.ss-btn-outline.notification-enabled {
    color: #047857;
    border-color: #10b981;
    background: #ecfdf5;
}

/* Crawlable product URLs overlay the existing interactive cards without changing their appearance. */
.catalog-card.new-style { position: relative; }
.catalog-product-url { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
