        :root { --promo-height: 48px; }
        /* Custom Toast Styles */
        .Toastify__toast {
            font-family: 'Vazirmatn', 'IRANSans', Tahoma, Arial, sans-serif !important;
            direction: rtl !important;
            text-align: right !important;
        }
        
        .Toastify__toast-body {
            padding: 8px 12px !important;
        }
        
        .Toastify__close-button {
            margin-left: 8px !important;
            margin-right: 0 !important;
        }
        
        /* RTL Support */
        .Toastify__toast-container {
            direction: rtl !important;
        }

        /* Modern Cart Dropdown Styles */
        .modern-cart-dropdown {
            position: relative;
        }

        .modern-cart-toggle {
            position: relative;
            transition: all 0.3s ease;
        }

        .modern-cart-toggle:hover {
            transform: scale(1.05);
        }

        .modern-cart-dot {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 12px;
            height: 12px;
            background: #ff4757;
            border-radius: 50%;
            box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
            animation: pulse 2s infinite;
            z-index: 10;
        }


        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .modern-cart-dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            width: 380px;
            max-width: 90vw;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(0, 0, 0, 0.08);
            overflow: hidden;
            z-index: 1000;
            margin-top: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Ensure cart dropdown stays within viewport */
        @media (max-width: 1200px) {
            .modern-cart-dropdown-menu {
                right: -50px;
            }
        }

        @media (max-width: 992px) {
            .modern-cart-dropdown-menu {
                right: -100px;
            }
        }

        /* Smart positioning to keep cart within viewport */
        .modern-cart-dropdown-menu {
            transform-origin: top right;
        }

        /* For very small screens, center the cart */
        @media (max-width: 480px) {
            .modern-cart-dropdown-menu {
                position: fixed;
                top: 50%;
                left: 50%;
                right: auto;
                transform: translate(-50%, -50%);
                width: 90vw;
                max-width: 350px;
                margin-top: 0;
            }
        }

        .modern-cart-dropdown.show .modern-cart-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .modern-cart-header {
            background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
            padding: 20px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modern-cart-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 18px;
            font-weight: 600;
        }

        .modern-cart-header-actions {
            display: flex;
            align-items: center;
        }

        .modern-cart-quick-view-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 8px 12px;
            gap: 6px;
            font-size: 12px;
            font-weight: 500;
        }

        .modern-cart-quick-view-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
            color: white;
            text-decoration: none;
        }

        .modern-cart-quick-view-btn i {
            font-size: 12px;
        }

        .modern-cart-quick-view-btn span {
            font-size: 12px;
            font-weight: 500;
        }

        .modern-cart-title i {
            font-size: 20px;
        }

        .modern-cart-count {
            background: rgba(255, 255, 255, 0.2);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            backdrop-filter: blur(10px);
        }

        .modern-cart-content {
            max-height: 400px;
            overflow-y: auto;
            position: relative;
        }

        /* Scroll indicator */
        .modern-cart-content::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 20px;
            background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modern-cart-content.scrollable::after {
            opacity: 1;
        }

        .modern-cart-items {
            padding: 0;
        }

        .modern-cart-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.2s ease;
            gap: 12px;
        }

        .modern-cart-item:hover {
            background: #f8f9fa;
        }

        .modern-cart-item-image {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .modern-cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modern-cart-item-details {
            flex: 1;
            min-width: 0;
        }

        .modern-cart-item-title {
            font-size: 14px;
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 4px;
            line-height: 1.4;
        }

        .modern-cart-item-title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .modern-cart-item-title a:hover {
            color: #38a169;
        }

        .modern-cart-item-props {
            font-size: 12px;
            color: #718096;
            margin-bottom: 6px;
        }

        .modern-cart-item-price {
            font-size: 14px;
            font-weight: 700;
            color: #38a169;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .modern-cart-price-discounted {
            color: #38a169;
            font-weight: 700;
        }

        .modern-cart-price-original {
            color: #718096;
            text-decoration: line-through;
            font-size: 12px;
            font-weight: 500;
        }

        .modern-cart-discount-badge {
            background: #ff4757;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 8px;
            font-weight: 600;
            align-self: flex-start;
        }

        .modern-cart-item-actions {
            flex-shrink: 0;
        }

        .modern-cart-remove-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: #fed7d7;
            color: #e53e3e;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.2s ease;
            border: none;
        }

        .modern-cart-remove-btn:hover {
            background: #e53e3e;
            color: white;
            transform: scale(1.1);
        }

        .modern-cart-summary {
            padding: 16px 20px;
            background: #f7fafc;
            border-top: 1px solid #e2e8f0;
        }

        .modern-cart-discount-info {
            padding: 12px 20px;
            background: linear-gradient(135deg, #fef2f2, #fef7f7);
            border-top: 1px solid #fecaca;
            border-bottom: 1px solid #fecaca;
            margin: 0;
        }

        .modern-cart-original-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .modern-cart-original-label {
            font-size: 14px;
            color: #6b7280;
            font-weight: 500;
        }

        .modern-cart-original-price {
            font-size: 15px;
            color: #9ca3af;
            text-decoration: line-through;
            font-weight: 600;
        }

        .modern-cart-savings-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background: linear-gradient(135deg, #ff4757, #ff3742);
            border-radius: 8px;
            color: white;
        }

        .modern-cart-savings-label {
            font-size: 13px;
            font-weight: 500;
        }

        .modern-cart-savings-amount {
            font-size: 14px;
            font-weight: 700;
        }

        .modern-cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modern-cart-total-label {
            font-size: 16px;
            font-weight: 600;
            color: #1a202c;
        }

        .modern-cart-total-price {
            font-size: 18px;
            font-weight: 700;
            color: #38a169;
        }

        .modern-cart-footer {
            padding: 20px;
            background: white;
        }

        .modern-cart-view-btn {
            width: 100%;
            background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
            color: white;
            padding: 14px 20px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
        }

        .modern-cart-view-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(56, 161, 105, 0.4);
            color: white;
            text-decoration: none;
        }

        .modern-cart-empty {
            padding: 40px 20px;
            text-align: center;
        }

        .modern-cart-empty-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a0aec0;
            font-size: 32px;
        }

        .modern-cart-empty-text {
            font-size: 16px;
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 8px;
        }

        .modern-cart-empty-subtext {
            font-size: 14px;
            color: #718096;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .modern-cart-dropdown-menu {
                width: 320px;
                right: -150px;
            }
            
            .modern-cart-item {
                padding: 12px 16px;
            }
            
            .modern-cart-item-image {
                width: 50px;
                height: 50px;
            }
        }

        @media (max-width: 576px) {
            .modern-cart-dropdown-menu {
                width: 300px;
                right: -200px;
            }
        }


        :root { --promo-height: 48px; --header-height: 56px; }
        /* prevent horizontal scroll */
        html, body { overflow-x: hidden; }
        /* prevent header overlap with content handled via wrapper margin; no global padding */
        body { padding-top: 0; }
        body.scrolled { padding-top: 0; }
        /* Top promo bar */
        #promo-offers-bar { 
            position: absolute; 
            top: 0;
            left: 0;
            right: 0;
            z-index: 1040; 
            background: linear-gradient(90deg, #dc3545, #b71c1c);
            color: #fff; 
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            width: 100%;
            overflow: hidden;
        }
        /* faint discount icons pattern */
        #promo-offers-bar::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'><g fill='none' stroke='white' stroke-opacity='0.12' stroke-width='2'><path d='M20 10 l10 10 l-10 10 l-10 -10 z'/><circle cx='55' cy='12' r='4' fill='white' fill-opacity='0.12'/><circle cx='65' cy='28' r='4' fill='white' fill-opacity='0.12'/><text x='8' y='14' font-family='Arial' font-size='12' fill='white' fill-opacity='0.12'>%</text><text x='38' y='30' font-family='Arial' font-size='12' fill='white' fill-opacity='0.12'>%</text></g></svg>");
            background-repeat: repeat;
            background-size: 80px 40px;
            opacity: 1;
            pointer-events: none;
        }
        #promo-offers-bar .promo-container { 
            max-width: 1320px; 
            margin: 0 auto; 
            padding: 8px 16px; 
            width: 100%;
            overflow: hidden;
        }
        #promo-offers-bar .promo-link { 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            gap: 12px; 
            color: #fff; 
            text-decoration: none; 
            font-weight: 600; 
            letter-spacing: .2px;
            width: 100%;
            overflow: hidden;
        }
        #promo-offers-bar .promo-text { 
            display: inline-flex; 
            align-items: center; 
            gap: 12px; 
            font-size: 1.05rem; 
            white-space: nowrap; 
        }
        #promo-offers-bar .promo-sub {
            font-weight: 500;
            font-size: 0.85rem;
            opacity: 0.9;
        }
        /* blinking headline */
        .promo-blink strong { animation: promo-blink 1.5s ease-in-out infinite; }
        @keyframes promo-blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.25; }
        }
        #promo-offers-bar .promo-sep { opacity: .8; }
        #promo-offers-bar .promo-cta { 
            background: rgba(255,255,255,0.15); 
            padding: 4px 10px; 
            border-radius: 999px; 
            font-size: 0.85rem; 
            display: inline-flex; 
            align-items: center; 
            gap: 6px; 
            transition: background .2s ease, transform .2s ease; 
        }
        #promo-offers-bar .promo-link:hover .promo-cta { 
            background: rgba(255,255,255,0.22); 
            transform: translateX(-2px);
        }
        #promo-offers-bar .promo-icon-left, 
        #promo-offers-bar .promo-icon-right { 
            display: inline-flex; 
            align-items: center; 
            justify-content: center; 
            width: 28px; 
            height: 28px; 
            border-radius: 50%; 
            background: rgba(255,255,255,0.15); 
            box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
        }
        #promo-offers-bar .promo-icon-left i { 
            animation: promo-pulse 1.2s infinite; 
        }
        #promo-offers-bar .promo-icon-right i { 
            animation: promo-bounce 1.6s infinite; 
        }
        @keyframes promo-pulse { 
            0%,100% { transform: scale(1); opacity: 1; } 
            50% { transform: scale(1.15); opacity: .85; }
        }
        @keyframes promo-bounce { 
            0%,100% { transform: translateY(0); } 
            50% { transform: translateY(-2px); }
        }
        @keyframes promo-fade { 
            0%,100% { opacity: 1; } 
            50% { opacity: .9; }
        }
        /* Push fixed header down so it does not overlap promo bar */
        .header-responsive { top: var(--promo-height); transition: top .2s ease; }
        body.scrolled .header-responsive { top: 0; }
        /* Desktop: push whole content below promo bar */
        .wrapper.default { margin-top: var(--promo-height); }
        @media (max-width: 767.98px) { 
            #promo-offers-bar .promo-text { font-size: .95rem; gap: 8px; white-space: normal; text-align: center; }
            #promo-offers-bar .promo-sub { display: none; }
            #promo-offers-bar .promo-container { padding: 6px 10px; }
            .header-responsive { top: var(--promo-height); }
            #promo-offers-bar .promo-icon-left, 
            #promo-offers-bar .promo-icon-right { width: 24px; height: 24px; }
            #promo-offers-bar .promo-link { gap: 8px; }
            /* push wrapper content below fixed mobile header + promo (half of total) */
            .wrapper.default { margin-top: calc((var(--header-height) + var(--promo-height)) / 2); }
            body.scrolled .wrapper.default { margin-top: var(--header-height); }
        }

        /* ——— Modern site navigation (desktop + mobile) ——— */
        .nav_header {
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
            border-bottom: 1px solid rgba(148, 163, 184, .22) !important;
            padding: 10px 14px 12px !important;
            box-shadow: 0 10px 28px -22px rgba(15, 23, 42, .35);
        }

        .nav_header .nav__ullist {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 4px 2px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .nav_header .list_style {
            display: inline-flex;
            align-items: center;
            margin: 0 !important;
            float: none !important;
        }

        .nav_header .list_style .list__link {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 13px;
            border-radius: 999px;
            color: #1e293b !important;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none !important;
            transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
            margin: 0 !important;
            white-space: nowrap;
        }

        .nav_header .list_style .list__link:hover {
            background: rgba(141, 198, 63, .14);
            color: #4a7d10 !important;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px -12px rgba(107, 168, 34, .55);
        }

        .nav_header .nav__ullist .list_style .list__link::after {
            display: none !important;
        }

        .nav_header .icon-icon {
            width: 28px;
            height: 28px;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            border-radius: 9px;
            background: rgba(141, 198, 63, .14);
            color: #6ba822 !important;
            font-size: 12px !important;
            margin-left: 0 !important;
            flex-shrink: 0;
        }

        .nav_header .list_style img[alt="تخفیف"] {
            width: 18px !important;
            height: 18px !important;
            margin-left: 0 !important;
            border-radius: 4px;
        }

        /* دسته‌بندی کالاها — منوی آبشاری ساده */
        .nav_header .list_style:has(.submeno) {
            position: relative;
        }

        .nav_header .list_style:has(.submeno)::after {
            content: "";
            position: absolute;
            right: 0;
            left: 0;
            top: 100%;
            height: 14px;
        }

        .nav_header .list_style:hover .submeno {
            display: block !important;
            position: absolute;
            top: calc(100% + 12px) !important;
            right: 0 !important;
            left: auto !important;
            width: auto !important;
            min-width: 260px !important;
            margin-top: 0 !important;
            padding: 0 !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            overflow: visible !important;
            z-index: 1200;
            animation: navDropIn .22s ease;
        }

        @keyframes navDropIn {
            from { opacity: 0; transform: translateY(-6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .nav_header .submeno .cascade-menu {
            list-style: none;
            margin: 0;
            padding: 6px;
            background: #fff;
            border: 1px solid rgba(148, 163, 184, .22);
            border-radius: 16px;
            box-shadow: 0 20px 48px -16px rgba(15, 23, 42, .28);
            min-width: 260px;
        }

        .nav_header .submeno .cascade-menu__item {
            position: relative;
            margin: 0;
        }

        .nav_header .submeno .cascade-menu__item--has-children::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: -18px;
            width: 22px;
            z-index: 1205;
        }

        .nav_header .submeno .cascade-menu__link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 11px 12px;
            border-radius: 10px;
            color: #1e293b !important;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none !important;
            transition: background .2s ease, color .2s ease;
            white-space: nowrap;
        }

        .nav_header .submeno .cascade-menu__item:hover > .cascade-menu__link {
            background: rgba(141, 198, 63, .12);
            color: #4a7d10 !important;
        }

        .nav_header .submeno .cascade-menu__item--has-children > .cascade-menu__link::after {
            content: "\f053";
            font-family: "Font Awesome 6 Free", "FontAwesome";
            font-weight: 900;
            font-size: 10px;
            opacity: .5;
            margin-right: auto;
            margin-left: 8px;
        }

        .nav_header .submeno .cascade-menu__submenu {
            display: none;
            position: absolute;
            top: 0;
            right: calc(100% - 10px);
            z-index: 1210;
            list-style: none;
            margin: 0;
            padding: 6px;
            background: #fff;
            border: 1px solid rgba(148, 163, 184, .2);
            border-radius: 14px;
            box-shadow: 0 16px 40px -14px rgba(15, 23, 42, .28);
            min-width: 240px;
        }

        .nav_header .submeno .cascade-menu__submenu .cascade-menu__submenu {
            z-index: 1220;
        }

        .nav_header .submeno .cascade-menu__submenu .cascade-menu__submenu .cascade-menu__submenu {
            z-index: 1230;
        }

        /* پل نامرئی بین منوی والد و زیرمنو — جلوگیری از بسته شدن سریع */
        .nav_header .submeno .cascade-menu__submenu::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            right: -16px;
            width: 22px;
        }

        .nav_header .submeno .cascade-menu__item:hover > .cascade-menu__submenu,
        .nav_header .submeno .cascade-menu__submenu:hover {
            display: block;
            animation: cascadeFlyIn .2s ease;
        }

        @keyframes cascadeFlyIn {
            from { opacity: 0; transform: translateX(6px); }
            to { opacity: 1; transform: translateX(0); }
        }

        /* پیشنهادات ویژه — آیکون هماهنگ + کمی چشم‌گیرتر */
        .nav_header .list_style--offers .icon-icon--offers {
            background: linear-gradient(135deg, rgba(239, 68, 68, .18), rgba(245, 158, 11, .2)) !important;
            color: #dc2626 !important;
            box-shadow: 0 0 0 2px rgba(239, 68, 68, .15);
            animation: offersIconPulse 2.2s ease-in-out infinite;
        }

        .nav_header .list_style--offers > .list__link {
            color: #b91c1c !important;
        }

        .nav_header .list_style--offers:hover > .list__link {
            background: rgba(239, 68, 68, .1) !important;
            color: #dc2626 !important;
            box-shadow: 0 6px 16px -12px rgba(239, 68, 68, .45);
        }

        @keyframes offersIconPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.06); }
        }

        @media (max-width: 991.98px) {
            :root {
                --mobile-nav-width: min(88vw, 360px);
            }

            html.nav-open {
                overflow: hidden;
            }

            nav.header-responsive {
                background: #fff !important;
                box-shadow: 0 4px 20px -8px rgba(15, 23, 42, .18);
            }

            .sidebar-collapse .navbar-collapse {
                width: var(--mobile-nav-width) !important;
                background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%) !important;
                box-shadow: -14px 0 40px rgba(15, 23, 42, .22) !important;
                padding: 0 0 24px !important;
                border-left: 1px solid rgba(148, 163, 184, .16);
                visibility: hidden;
                pointer-events: none;
                transform: translate3d(100%, 0, 0) !important;
            }

            html.nav-open .sidebar-collapse .navbar-collapse {
                position: fixed !important;
                top: 0 !important;
                right: 0 !important;
                left: auto !important;
                bottom: 0 !important;
                height: 100vh !important;
                height: 100dvh !important;
                max-height: none !important;
                margin: 0 !important;
                transform: translate3d(0, 0, 0) !important;
                visibility: visible;
                pointer-events: auto;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            html.nav-open nav.header-responsive > .container > .d-flex {
                visibility: hidden;
                pointer-events: none;
            }

            .modern-mobile-nav-head {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 14px 16px;
                border-bottom: 1px solid rgba(148, 163, 184, .18);
                background: #fff;
                position: sticky;
                top: 0;
                z-index: 20;
            }

            .modern-mobile-nav-logo {
                display: inline-flex;
                align-items: center;
                text-decoration: none;
            }

            .modern-mobile-nav-logo img {
                height: 44px;
                width: auto;
                display: block;
            }

            .modern-mobile-nav-close {
                width: 42px;
                height: 42px;
                border: none;
                border-radius: 12px;
                background: rgba(239, 68, 68, .1);
                color: #ef4444;
                font-size: 18px;
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                transition: background .2s ease, transform .2s ease;
                position: relative;
                z-index: 30;
                flex-shrink: 0;
                touch-action: manipulation;
                -webkit-tap-highlight-color: transparent;
            }

            .modern-mobile-nav-close:hover {
                background: #ef4444;
                color: #fff;
                transform: rotate(90deg);
            }

            nav.header-responsive #navigation .logo-nav-res {
                display: none !important;
            }

            nav.header-responsive #navigation .navbar-nav {
                padding: 8px 10px 0;
                width: 100%;
            }

            nav.header-responsive #navigation .navbar-nav > li,
            nav.header-responsive #navigation .navbar-nav .list_style {
                width: 100%;
                float: none !important;
            }

            html.nav-open nav.header-responsive #navigation .navbar-nav > li > a,
            html.nav-open nav.header-responsive #navigation .list__link {
                display: flex !important;
                align-items: center;
                gap: 10px;
                width: calc(100% - 20px);
                margin: 5px 10px !important;
                padding: 12px 14px !important;
                border-radius: 14px !important;
                background: #fff !important;
                color: #1e293b !important;
                font-size: 14px !important;
                font-weight: 700 !important;
                border: 1px solid rgba(148, 163, 184, .2);
                box-shadow: 0 6px 18px -14px rgba(15, 23, 42, .35);
                text-decoration: none !important;
            }

            html.nav-open nav.header-responsive #navigation .navbar-nav > li > a:hover,
            html.nav-open nav.header-responsive #navigation .list__link:hover {
                background: rgba(141, 198, 63, .1) !important;
                color: #4a7d10 !important;
            }

            nav.header-responsive #navigation .list__link .fa,
            nav.header-responsive #navigation .list__link .fas,
            nav.header-responsive #navigation .navbar-nav > li > a .fa,
            nav.header-responsive #navigation .navbar-nav > li > a .fas {
                width: 34px;
                height: 34px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
                background: rgba(141, 198, 63, .14);
                color: #6ba822 !important;
                font-size: 14px !important;
                flex-shrink: 0;
            }

            nav.header-responsive ul ul {
                display: none;
                background: #f1f5f9 !important;
                border-radius: 12px !important;
                margin: 0 14px 8px !important;
                padding: 6px !important;
                border: 1px solid rgba(148, 163, 184, .16);
            }

            nav.header-responsive ul ul li a {
                display: block;
                padding: 10px 12px !important;
                margin: 2px 0 !important;
                border-radius: 8px;
                color: #334155 !important;
                font-size: 13px !important;
                font-weight: 600;
                line-height: 1.5 !important;
                background: transparent !important;
            }

            nav.header-responsive ul ul li a:hover {
                background: #fff !important;
                color: #4a7d10 !important;
            }

            nav.header-responsive ul > li.sub-menu > a {
                position: relative;
                padding-left: 36px !important;
            }

            nav.header-responsive ul > li.sub-menu > a::after {
                content: "\f067";
                font-family: "Font Awesome 6 Free", "FontAwesome";
                font-weight: 900;
                position: absolute;
                left: 14px;
                top: 50%;
                transform: translateY(-50%);
                width: 24px;
                height: 24px;
                border-radius: 8px;
                background: rgba(141, 198, 63, .14);
                color: #6ba822;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 11px;
            }

            nav.header-responsive ul > li.sub-menu.open > a::after {
                content: "\f068";
            }

            nav.header-responsive ul > li.sub-menu::before,
            nav.header-responsive ul > li.sub-menu > a::before {
                display: none !important;
            }

            html.nav-open nav.header-responsive #navigation li.list_style {
                display: flex;
                align-items: center;
                gap: 10px;
                width: calc(100% - 20px);
                margin: 5px 10px;
                padding: 12px 14px;
                border-radius: 14px;
                background: #fff;
                border: 1px solid rgba(148, 163, 184, .2);
                box-shadow: 0 6px 18px -14px rgba(15, 23, 42, .35);
            }

            html.nav-open nav.header-responsive #navigation li.list_style > .icon-icon,
            html.nav-open nav.header-responsive #navigation li.list_style > img {
                width: 34px;
                height: 34px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
                background: rgba(141, 198, 63, .14);
                color: #6ba822 !important;
                font-size: 14px !important;
                margin: 0 !important;
                padding: 0;
                flex-shrink: 0;
                object-fit: contain;
            }

            html.nav-open nav.header-responsive #navigation li.list_style > .list__link {
                flex: 1;
                width: auto !important;
                margin: 0 !important;
                padding: 0 !important;
                border: none !important;
                box-shadow: none !important;
                background: transparent !important;
            }

            html.nav-open nav.header-responsive #navigation li.list_style--offers > .icon-icon--offers {
                background: linear-gradient(135deg, rgba(239, 68, 68, .18), rgba(245, 158, 11, .2)) !important;
                color: #dc2626 !important;
            }

            html.nav-open nav.header-responsive #navigation li.list_style--offers > .list__link {
                color: #b91c1c !important;
                font-weight: 800 !important;
            }

            html.nav-open nav.header-responsive {
                z-index: 10500 !important;
            }

            html.nav-open .sidebar-collapse .navbar-collapse {
                z-index: 10510 !important;
            }

            html.nav-open .sidebar-collapse #bodyClick {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: var(--mobile-nav-width) !important;
                width: auto !important;
                height: 100% !important;
                z-index: 10505 !important;
            }

            html.nav-open .floating-contact,
            html.nav-open .mobile-bottom-nav,
            html.nav-open #floating-back-to-top {
                display: none !important;
                pointer-events: none !important;
            }
        }

        /* Mobile Bottom Navigation */
        .mobile-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #ffffff;
            border-top: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 8px 0;
            z-index: 10200;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            /* iOS Safari safe area - مثل دیجی‌کالا */
            padding-bottom: calc(env(safe-area-inset-bottom) / 2);
        }

        .mobile-nav-item {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .mobile-nav-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #6b7280;
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 12px;
            min-width: 60px;
            position: relative;
        }

        .mobile-nav-link i {
            font-size: 20px;
            margin-bottom: 4px;
            transition: all 0.3s ease;
        }

        .mobile-nav-link span {
            font-size: 11px;
            font-weight: 500;
            text-align: center;
            line-height: 1.2;
        }

        .mobile-nav-link.active {
            color: #8DC63F;
            background: rgba(141, 198, 63, 0.1);
        }

        .mobile-nav-link.active i {
            color: #8DC63F;
            transform: scale(1.1);
        }

        .mobile-nav-link:hover {
            color: #8DC63F;
            background: rgba(141, 198, 63, 0.05);
        }

        .mobile-nav-link:hover i {
            transform: scale(1.05);
        }

        .mobile-nav-link.loading {
            pointer-events: none;
            opacity: 0.7;
            position: relative;
        }

        .mobile-nav-link.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            border: 2px solid #8DC63F;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: mobile-nav-spin 1s linear infinite;
        }

        @keyframes mobile-nav-spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .mobile-nav-badge {
            position: absolute;
            top: 4px;
            right: 8px;
            background: #ef4444;
            color: white;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 10px;
            min-width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Hide on desktop */
        @media (min-width: 768px) {
            .mobile-bottom-nav {
                display: none !important;
            }
        }

        /* Adjust body padding for mobile */
        @media (max-width: 767px) {
            body {
                padding-bottom: env(safe-area-inset-bottom);
            }
        }

        /* iOS Safari specific adjustments */
        @supports (-webkit-touch-callout: none) {
            .mobile-bottom-nav {
                padding-bottom: calc(env(safe-area-inset-bottom) / 2);
            }
            
            @media (max-width: 767px) {
                body {
                    padding-bottom: max(env(safe-area-inset-bottom), 20px);
                }
            }
        }

        /* Contact Badge Styles */
        .floating-contact-option {
            position: relative;
        }

        .contact-badge {
            position: absolute;
            right: 55px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
            opacity: 1;
            visibility: visible;
            transition: all 0.3s ease;
            z-index: 1000;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .floating-contact-option:hover .contact-badge {
            transform: translateY(-50%) translateX(-8px);
            background: rgba(0, 0, 0, 0.95);
        }

        /* Phone for Consumables */
        .floating-contact-option.phone-consumables {
            background: linear-gradient(135deg, #28a745, #20c997);
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }

        .floating-contact-option.phone-consumables:hover {
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        /* Phone for Equipment */
        .floating-contact-option.phone-equipment {
            background: linear-gradient(135deg, #007bff, #0056b3);
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        }

        .floating-contact-option.phone-equipment:hover {
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }

        /* Adjust floating elements for mobile */
        @media (max-width: 767px) {
            #floating-back-to-top {
                bottom: 100px !important;
            }
            
            .floating-contact {
                bottom: 100px !important;
            }
            
            .floating-contact-options {
                bottom: 70px !important;
            }

            .contact-badge {
                font-size: 10px;
                padding: 4px 8px;
                right: 50px;
            }
        }
