    :root {
        --s-primary: #474989;
        --s-secondary: #48487f;
        --s-hf-bg: #081621;
        --s-b-bg: #f2f4f8;
        --s-m-bg: #6e2594;
        --s-s-bg: rgba(55, 73, 187, 0.05);
        --s-f-c1: #666;
        --s-f-c2: #fff;
    }

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: clip;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            overflow-x: clip;
        }

        /* Container / Boxed Layout */
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        main.container {
            padding-top: 24px;
            padding-bottom: 24px;
        }

        main.container > section {
            margin-bottom: 24px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        main.container > section:last-child {
            margin-bottom: 0;
        }

        @media (max-width: 1024px) {
            .container {
                padding: 0 20px;
            }
            main.container {
                padding-top: 20px;
                padding-bottom: 20px;
            }
            main.container > section {
                margin-bottom: 20px;
                border-radius: 14px;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 6px;
            }
            main.container {
                padding-top: 16px;
                padding-bottom: 16px;
            }
            main.container > section {
                margin-bottom: 16px;
                border-radius: 12px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 6px;
            }
            main.container {
                padding-top: 12px;
                padding-bottom: 12px;
            }
            main.container > section {
                margin-bottom: 12px;
                border-radius: 10px;
            }
        }
        /* Main header */
        .main-header {
            background: #ffffff;
            border-bottom: 1px solid #eee;
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 12px;
            padding-bottom: 12px;
        }

        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 150px;
            height: 50px;
            position: relative;
            flex-shrink: 0;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .logo-icon svg {
            width: 100%;
            height: 100%;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }

        .logo-text .khaati {
            font-size: 18px;
            font-weight: 800;
            color: var(--s-primary);
            letter-spacing: 1px;
        }

        .logo-text .cart {
            font-size: 18px;
            font-weight: 800;
            color: var(--s-primary);
            letter-spacing: 1px;
        }

        .logo-reg {
            font-size: 8px;
            color: var(--s-primary);
            vertical-align: super;
            margin-left: 2px;
        }

        /* Search bar */
        .search-container {
            flex: 1;
            max-width: 360px;
            margin: 0 24px;
            position: relative;
        }

        .search-bar {
            width: 100%;
            padding: 10px 38px 10px 16px;
            border: none;
            border-radius: 8px;
            background: #f5f5f5;
            font-size: 14px;
            color: #333;
            outline: none;
        }

        .search-bar::placeholder {
            color: #666;
        }

        .search-btn {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            font-size: 16px;
        }

        /* Header icons */
        .header-icons {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-shrink: 0;
        }

        .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            text-decoration: none;
            color: #333;
            font-size: 12px;
            position: relative;
            transition: color 0.2s;
        }

        .icon-item:hover {
            color: var(--s-primary);
        }

        .icon-item i {
            font-size: 20px;
        }

        .icon-item .cart-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--s-primary);
            color: white;
            font-size: 10px;
            font-weight: bold;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Navigation */
        .main-nav {
            background: var(--s-hf-bg);
            position: -webkit-sticky;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-inner {
            display: flex;
            align-items: center;
            overflow: visible;
        }

        .nav-list {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            list-style: none;
            gap: 0;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 4px;
            color: #ffffff;
            text-decoration: none;
            padding: 14px 18px;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.2s;
            white-space: nowrap;
        }

        .nav-link:hover {
            background: rgba(255,255,255,0.1);
        }

        .flash-sale-nav-link {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            margin-left: auto;
            padding: 6px 12px;
            border-radius: 4px;
            background: #fff;
            color: #155a86;
            font-size: 15px;
            font-weight: 500;
            line-height: 1.2;
            text-decoration: none;
            white-space: nowrap;
            transition: background 0.2s, color 0.2s, transform 0.2s;
        }

        .flash-sale-icon {
            width: 24px;
            height: 24px;
            flex: 0 0 24px;
            fill: none;
            stroke: currentColor;
            stroke-linejoin: round;
            stroke-linecap: round;
            stroke-width: 1.8;
        }

        .flash-sale-icon path:nth-child(2),
        .flash-sale-icon path:nth-child(3) {
            fill: currentColor;
            stroke: none;
        }

        .flash-sale-nav-link:hover,
        .flash-sale-nav-link:focus-visible {
            background: #f0f7fb;
            color: #0f4568;
            transform: translateY(-1px);
        }

        .nav-link i {
            font-size: 10px;
            margin-top: 2px;
            transition: transform 0.2s;
        }

        .nav-item:hover > .nav-link i {
            transform: rotate(180deg);
        }

        .nav-item:hover > .nav-link {
            background: rgba(255, 255, 255, 0.1);
        }

        .has-dropdown {
            position: relative;
        }

        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: #ffffff;
            min-width: 220px;
            list-style: none;
            padding: 0;
            margin: 0;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            z-index: 1001;
            display: none;
        }

        .nav-item:hover .dropdown {
            display: block;
        }

        .dropdown a {
            display: block;
            padding: 10px 16px;
            color: #555;
            text-decoration: none;
            font-size: 14px;
            transition: background 0.2s, color 0.2s;
        }

        .dropdown a:hover {
            background: var(--s-primary);
            color: #fff;
        }

        /* Mobile/Tablet Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #333;
            font-size: 22px;
            cursor: pointer;
            padding: 8px;
            margin-right: 12px;
        }

        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 9998;
        }

        .nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-header,
        .sidebar-quick-links {
            display: none;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .menu-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .search-container {
                margin: 0 16px;
            }

            .header-icons {
                gap: 14px;
            }

            .main-nav {
                position: fixed;
                top: 0;
                left: 0;
                width: 320px;
                max-width: 85%;
                height: 100%;
                background: #f5f5f5;
                z-index: 9999;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                overflow-y: auto;
            }

            .main-nav.open {
                transform: translateX(0);
            }

            .nav-inner {
                display: block;
                padding: 0;
            }

            .sidebar-header,
            .sidebar-quick-links {
                display: block;
            }

            .sidebar-header {
                display: flex;
                align-items: center;
                gap: 12px;
                margin: 16px;
                padding: 16px;
                background: var(--s-primary);
                border-radius: 14px;
                color: #fff;
            }

            .user-avatar {
                width: 44px;
                height: 44px;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.2);
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 26px;
            }

            .user-text p {
                margin: 0;
                font-size: 15px;
                font-weight: 700;
            }

            .user-text a {
                color: #fff;
                font-size: 13px;
                text-decoration: none;
                opacity: 0.9;
            }

            .nav-overlay .close-icon {
                position: absolute;
                top: 20px;
                right: 20px;
                color: #fff;
                font-size: 24px;
                cursor: pointer;
            }

            .nav-list {
                flex-direction: column;
                flex-wrap: nowrap;
                width: auto;
                background: #fff;
                border-radius: 14px;
                margin: 0 16px 16px;
                padding: 0;
            }

            .nav-item {
                width: 100%;
                border-bottom: 1px solid #eee;
            }

            .nav-item:last-child {
                border-bottom: none;
            }

            .nav-link {
                color: #333;
                padding: 14px 18px;
                font-size: 14px;
                font-weight: 500;
                justify-content: space-between;
            }

            .nav-link:hover {
                background: #fff5eb;
                color: var(--s-primary);
            }

            .flash-sale-nav-link {
                display: flex;
                margin: 0 16px 16px;
                justify-content: center;
                padding: 8px 12px;
            }

            .flash-sale-nav-link:hover,
            .flash-sale-nav-link:focus-visible {
                transform: none;
            }

            .nav-link i {
                color: #999;
                font-size: 12px;
                transform: rotate(-90deg);
                transition: transform 0.2s ease;
            }

            .nav-item:hover > .nav-link i {
                transform: rotate(-90deg);
            }

            .nav-item.active > .nav-link i {
                transform: rotate(0deg);
                color: var(--s-primary);
            }

            .dropdown {
                position: static;
                display: none;
                background: #fafafa;
                box-shadow: none;
                border-radius: 0;
                min-width: auto;
            }

            .nav-item:hover .dropdown {
                display: none;
            }

            .nav-item.active .dropdown {
                display: block;
            }

            .dropdown a {
                color: #555;
                padding: 12px 18px 12px 32px;
                border-bottom: 1px solid #f0f0f0;
            }

            .dropdown a:hover {
                background: #fff5eb;
                color: var(--s-primary);
            }

            .sidebar-quick-links {
                margin: 0 16px 20px;
            }

            .sidebar-quick-links h4 {
                font-size: 16px;
                font-weight: 700;
                color: #555;
                margin-bottom: 14px;
                padding-bottom: 8px;
                position: relative;
            }

            .sidebar-quick-links h4::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 40px;
                height: 2px;
                background: var(--s-primary);
            }

            .sidebar-quick-links a {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 10px 0;
                color: #555;
                text-decoration: none;
                font-size: 14px;
            }

            .sidebar-quick-links a:hover {
                color: var(--s-primary);
            }

            .sidebar-quick-links a i {
                width: 24px;
                text-align: center;
                color: var(--s-primary);
            }
        }

        .mobile-footer-nav {
            display: none;
        }

        @media (max-width: 768px) {
            .search-container {
                display: none;
            }
            .header-icons .icon-item:not(.cart-toggle) {
                display: none;
            }
            .header-icons .cart-toggle span:not(.cart-badge) {
                display: none;
            }
            .header-icons {
                gap: 0;
            }
            .header-inner {
                padding-top: 10px;
                padding-bottom: 10px;
            }
            .logo-icon {
                width: 140px;
                height: 50px;
            }
            .logo-icon img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                display: block;
            }

            .mobile-footer-nav {
                display: flex;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: var(--s-primary);
                z-index: 9990;
                padding: 8px 0 6px;
                justify-content: space-around;
                align-items: center;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            }

            .mobile-footer-nav a {
                display: flex;
                flex-direction: column;
                align-items: center;
                color: #fff;
                text-decoration: none;
                font-size: 10px;
                font-weight: 600;
                gap: 4px;
                position: relative;
            }

            .mobile-footer-nav a svg {
                width: 22px;
                height: 22px;
            }

            .mobile-footer-nav .cart-badge {
                position: absolute;
                top: -4px;
                right: -4px;
                background: var(--s-hf-bg);
                color: #fff;
                font-size: 10px;
                font-weight: 700;
                width: 18px;
                height: 18px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .category-track {
                gap: 10px !important;
                flex-wrap: nowrap !important;
            }
            .category-card {
                background: transparent;
                border-radius: 0;
                overflow: visible;
            }
            .category-controls {
                display: flex !important;
            }
            .category-slider {
                overflow: hidden !important;
            }

            .category-card img {
                aspect-ratio: 1 / 1;
                object-fit: contain;
                background: #fff;
                border-radius: 12px;
                padding: 8px;
            }

            .category-name {
                background: transparent;
                padding: 10px 0;
                font-size: 14px;
            }

            .featured-categories {
                background: #fbf8f4;
            }

            main.container {
                padding-top: 0;
                padding-bottom: 0;
            }

            main.container > section {
                margin-bottom: 0;
                border-radius: 0;
                box-shadow: none;
            }

            .main-footer {
                padding-bottom: 70px;
            }
        }

        @media (max-width: 480px) {
            .category-track {
                gap: 0 !important;
            }
            .category-card {
                flex: 0 0 calc(100% / 3) !important;
            }
            .category-card img {
                padding: 0;
            }
            .category-name {
                font-size: 12px;
            }
            .category-arrow {
                display: none !important;
            }
        }

        /* Hero Slider Section */
        .hero-section {
            padding: 24px;
            background: #ffffff;
        }

        .slider-wrapper {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            height: 400px;
        }

        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .slide {
            min-width: 100%;
            height: 100%;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .slide-link {
            color: inherit;
            text-decoration: none;
        }

        .slider-dots {
            position: absolute;
            bottom: 20px;
            left: 20px;
            display: none;
            gap: 8px;
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: background 0.3s;
        }

        .dot.active {
            background: var(--s-primary);
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: var(--s-primary);
            color: var(--s-f-c2);
            border: none;
            border-radius: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s, background 0.2s;
            z-index: 10;
        }

        .slider-arrow:hover {
            background: var(--s-secondary);
        }

        .slider-prev {
            left: 0;
        }

        .slider-next {
            right: 0;
        }

        .slider-wrapper:hover .slider-arrow {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 1024px) {
            .hero-section {
                padding: 20px;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 0px;
            }
            .slider-wrapper {
                height: 160px;
            }
            .slide img {
                height: 100%;
                object-fit: cover;
            }
        }

        /* Shop by Brand */
        .shop-by-brand {
            margin: 40px 0;
        }
        .shop-by-brand .brand-tabs-slider {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
        }
        .shop-by-brand .brand-tabs {
            flex: 1 1 auto;
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 10px 0;
        }
        .shop-by-brand .brand-tabs::-webkit-scrollbar {
            display: none;
        }
        .shop-by-brand .brand-tab-arrow {
            flex: 0 0 auto;
            width: 36px;
            height: 36px;
            border: 1px solid #ddd;
            border-radius: 50%;
            background: var(--s-f-c2);
            color: var(--s-f-c1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }
        .shop-by-brand .brand-tab-arrow:hover {
            background: var(--s-primary);
            color: var(--s-f-c2);
            border-color: var(--s-primary);
        }
        .shop-by-brand .brand-tab {
            flex: 0 0 auto;
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: 10px 20px;
            background: var(--s-f-c2);
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            color: var(--s-f-c1);
            white-space: nowrap;
            text-decoration: none;
            transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
        }
        .shop-by-brand .brand-tab:hover {
            transform: translateY(-2px);
        }
        .shop-by-brand .brand-tab img {
            height: 24px;
            width: auto;
            object-fit: contain;
        }
        .shop-by-brand .brand-tab.active {
            border-color: var(--s-primary);
            color: var(--s-primary);
            background: var(--s-s-bg);
        }
        .shop-by-brand .brand-track {
            display: none;
            overflow: hidden;
        }
        .shop-by-brand .brand-track.active {
            display: block;
            overflow: hidden;
        }
        .shop-by-brand .brand-empty {
            padding: 60px 20px;
            text-align: center;
            color: #999;
            font-size: 16px;
            width: 100%;
        }
        .shop-by-brand .brand-product-area {
            min-height: 180px;
            transition: opacity .25s ease, transform .25s ease;
        }
        .shop-by-brand .brand-product-area.is-loading {
            opacity: .45;
            transform: translateY(8px);
            pointer-events: none;
        }
        .shop-by-brand .brand-product-area.is-loaded {
            animation: brandProductsIn .35s ease both;
        }
        @keyframes brandProductsIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 575px) {
            .shop-by-brand { margin: 28px 0; }
            .shop-by-brand .brand-tabs-slider { gap: 6px; margin-bottom: 16px; }
            .shop-by-brand .brand-tabs { gap: 8px; padding: 6px 0; }
            .shop-by-brand .brand-tab-arrow { width: 30px; height: 30px; font-size: 12px; }
            .shop-by-brand .brand-tab { gap: 6px; padding: 7px 11px; border-radius: 9px; font-size: 12px; }
            .shop-by-brand .brand-tab img { height: 20px; max-width: 34px; }
        }

        /* Featured Categories */
        .featured-categories {
            padding: 30px 0px;
            background: #ffffff;
        }

        .featured-categories .section-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }

        .category-row {
            display: flex;
            align-items: center;
            gap: 0px;
        }

        .category-slider {
            flex: 1;
            position: relative;
            overflow: hidden;
        }

        .category-track {
            display: flex;
            gap: 20px;
            transition: transform 0.5s ease-in-out;
        }

        .category-card {
            flex: 0 0 auto;
            width: 160px;
            border-radius: 12px;
            overflow: hidden;
            background: #f9f9f9;
            transition: transform 0.3s;
        }

        .category-card:hover {
            transform: translateY(-5px);
        }

        .category-card img {
            width: 69%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .category-name {
            text-align: center;
            padding: 8px 10px;
            font-size: 13px;
            font-weight: 600;
            color: #333;
            background: #f9f9f9;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .category-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .category-arrow {
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--s-f-c2);
            color: var(--s-f-c1);
            border: 1px solid #ddd;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: background 0.2s, color 0.2s;
        }

        .category-arrow:hover {
            background: var(--s-primary);
            color: var(--s-f-c2);
            border-color: var(--s-primary);
        }

        /* Top Selling Products */
        .top-selling-products {
            padding: 30px 24px;
            background: #fbf8f4;
        }

        .top-selling-products .section-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            margin-bottom: 30px;
            text-align: center;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: none;
            margin: 0;
        }

        .product-card {
            display: flex;
            align-items: center;
            gap: 20px;
            background: #ffffff;
            border-radius: 16px;
            border: 1px solid #ddd;
            /* padding: 20px; */
            position: relative;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .best-selling-badge {
            position: absolute;
            top: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: #ff4444;
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
            z-index: 2;
        }

        .product-image {
            flex: 0 0 240px;
            height: 240px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .product-details {
            flex: 1;
        }

        .product-name {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .product-price {
            font-size: 18px;
            font-weight: 700;
            color: var(--s-primary);
            margin-bottom: 6px;
        }

        .old-price {
            font-size: 14px;
            font-weight: 400;
            color: #999;
            text-decoration: line-through;
            margin-left: 6px;
        }

        .save-tag {
            display: inline-block;
            background: #b8e06b;
            color: #333;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 12px;
            margin-bottom: 12px;
        }

        .product-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn-add-cart,
        .btn-buy-now {
            padding: 8px 14px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid var(--s-primary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: background 0.2s, color 0.2s;
        }

        .btn-add-cart {
            background: #fff;
            color: var(--s-primary);
        }

        .btn-add-cart:hover {
            background: var(--s-primary);
            color: #fff;
        }

        .btn-buy-now {
            background: var(--s-primary);
            color: #fff;
        }

        .btn-buy-now:hover {
            background: var(--s-secondary);
        }

        @media (max-width: 768px) {
            .product-grid {
                grid-template-columns: 1fr;
            }
            .product-card {
                flex-direction: column;
                text-align: center;
            }
            .product-image {
                flex: 0 0 auto;
                height: 180px;
            }
            .product-actions {
                justify-content: center;
            }
            .best-selling-badge {
                top: 10px;
                left: 50%;
                transform: translateX(-50%);
            }
        }

        /* Mobile Product Slider */
        .mobile-section {
            padding: 30px 16px;
            background: var(--s-s-bg);
        }

        .mobile-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: none;
            margin: 0 0 24px;
            padding: 0;
        }

        .mobile-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            position: relative;
        }

        .mobile-line {
            display: block;
            width: 50px;
            height: 3px;
            background: var(--s-primary);
            margin-top: 6px;
            border-radius: 2px;
        }

        .view-all {
            color: var(--s-primary);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .view-all:hover {
            text-decoration: underline;
        }

        .mobile-slider-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: none;
            margin: 0;
            padding: 0;
        }

        .mobile-slider {
            flex: 1;
            overflow: hidden;
        }

        .mobile-track {
            display: flex;
            gap: 9px;
            transition: transform 0.5s ease-in-out;
            user-select: none;
            -webkit-user-select: none;
        }

        @media (max-width: 768px) {
            .mobile-track {
                cursor: grab;
                touch-action: pan-y;
            }
            .mobile-track.dragging {
                cursor: grabbing;
            }
        }

        .mobile-card {
            flex: 0 0 calc(20% - 16px);
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #ddd;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            position: relative;
            display: flex;
            flex-direction: column;
            padding-bottom: 16px;
        }

        .mobile-card.product-card {
            padding: 0;
        }

        .mobile-card.product-card .mobile-img {
            padding: 12px;
        }

        .mobile-card.product-card .mobile-info {
            padding: 0 12px 12px;
        }

        .mobile-card.product-card .mobile-price {
            font-size: 14px;
            margin-bottom: 6px;
        }

        .mobile-card.product-card .mobile-name {
            font-size: 13px;
            min-height: auto;
        }

        .mobile-img {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .mobile-img img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .mobile-info {
            padding: 0 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .mobile-name {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
            line-height: 1.4;
            min-height: 40px;
        }

        .mobile-price {
            font-size: 16px;
            font-weight: 700;
            color: var(--s-primary);
            margin-bottom: 12px;
        }

        .mobile-old {
            font-size: 13px;
            font-weight: 400;
            color: #999;
            text-decoration: line-through;
            margin-left: 6px;
        }

        .mobile-cart {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--s-primary);
            border-radius: 6px;
            background: #fff;
            color: var(--s-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: background 0.2s, color 0.2s;
            margin-top: auto;
        }

        .mobile-cart:hover {
            background: var(--s-primary);
            color: #fff;
        }

        .mobile-rating {
            display: flex;
            gap: 2px;
            margin-bottom: 10px;
            font-size: 11px;
            color: #d3d3d3;
        }

        .mobile-actions {
            display: flex;
            gap: 8px;
            margin-top: auto;
        }

        .mobile-actions .mobile-cart,
        .mobile-actions .mobile-wishlist {
            flex: 1;
            padding: 8px 0;
            border: 1px solid #ddd;
            border-radius: 6px;
            background: #fff;
            color: #333;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: background 0.2s, color 0.2s, border-color 0.2s;
            margin-top: 0;
        }

        .mobile-actions .mobile-cart:hover,
        .mobile-actions .mobile-wishlist:hover {
            background: var(--s-primary);
            color: #fff;
            border-color: var(--s-primary);
        }

        .desktop-actions {
            display: none;
            flex-direction: column;
            gap: 8px;
            margin-top: auto;
        }

        .desktop-cart,
        .desktop-wishlist {
            width: 100%;
            padding: 8px 0;
            border: 1px solid var(--s-primary);
            border-radius: 6px;
            background: #fff;
            color: var(--s-primary);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
            transition: background 0.2s, color 0.2s;
        }

        .desktop-cart:hover,
        .desktop-wishlist:hover {
            background: var(--s-primary);
            color: #fff;
        }

        @media (min-width: 769px) {
            .mobile-actions { display: none; }
            .desktop-actions { display: flex; }
        }

        .mobile-tag {
            position: absolute;
            top: 12px;
            font-size: 10px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 4px;
            z-index: 2;
            line-height: 1;
        }

        .tag-best {
            left: 12px;
            background: var(--s-primary);
            color: #fff;
        }

        .tag-save,
        .tag-new {
            right: 12px;
            background: #a4d65e;
            color: #333;
        }

        .mobile-arrow {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--s-f-c2);
            border: 1px solid #ddd;
            color: var(--s-f-c1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: background 0.2s, color 0.2s;
            flex-shrink: 0;
        }

        .mobile-arrow:hover {
            background: var(--s-primary);
            color: var(--s-f-c2);
            border-color: var(--s-primary);
        }

        @media (max-width: 1200px) {
            .mobile-card {
                flex: 0 0 calc(25% - 15px);
            }
        }

        @media (max-width: 992px) {
            .mobile-card {
                flex: 0 0 calc(33.333% - 13.333px);
            }
        }

        @media (max-width: 768px) {
            .mobile-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            .mobile-card {
                flex: 0 0 calc(33.333% - 13.333px);
            }
            .mobile-arrow {
                width: 32px;
                height: 32px;
            }
            .mobile-img {
                height: 160px;
            }
        }

        @media (max-width: 480px) {
            .mobile-card {
                flex: 0 0 calc(50% - 10px);
            }
            .mobile-arrow {
                display: none;
            }
            .mobile-img {
                padding: 0;
                height: 160px;
            }
            .mobile-img img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
            .mobile-info {
                padding: 0;
            }
        }

        .banner-grid {
            padding: 0;
            overflow: hidden;
        }

        .banner-grid .single-banner img {
            width: 100%;
            border-radius: 0;
            display: block;
        }

        /* Customer Reviews */
        .customer-reviews {
            padding: 3px 0px;
            background: #fbf8f4;
        }

        .customer-reviews .section-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            text-align: center;
            margin-bottom: 30px;
        }

        .review-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: none;
            margin: 0;
            padding: 0;
        }

        .review-card {
            background: #ffffff;
            border: 1px solid #ddd;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .review-stars {
            color: var(--s-primary);
            margin-bottom: 16px;
            font-size: 14px;
        }

        .review-text {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .review-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .review-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--s-primary);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
        }

        .review-name {
            font-size: 14px;
            font-weight: 700;
            color: #333;
        }

        .review-role {
            font-size: 12px;
            color: #777;
        }

        .review-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 24px;
        }

        .review-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--s-s-bg);
        }

        .review-dot.active {
            background: var(--s-primary);
        }

        .review-slider-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: none;
            margin: 0;
            padding: 0;
        }

        .review-slider {
            flex: 1;
            overflow: hidden;
        }

        .review-track {
            display: flex;
            gap: 20px;
            transition: transform 0.5s ease-in-out;
        }

        .review-track .review-card {
            flex: 0 0 calc(33.333% - 13.333px);
        }

        @media (max-width: 992px) {
            .review-track {
                gap: 0;
            }
            .review-track .review-card {
                flex: 0 0 100%;
            }
        }

        /* Footer */
        .main-footer {
            background: #f9f9f9;
            padding: 34px 10px 14px;
        }

        .footer-top {
            display: flex;
            gap: 60px;
            max-width: 1400px;
            margin: 0 auto 40px;
        }

        .footer-brand {
            flex: 1;
            min-width: 280px;
        }

        .footer-logo img {
            width: 150px;
            height: auto;
            display: block;
            margin-bottom: 20px;
        }

        .footer-tagline {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .footer-contact {
            list-style: none;
            margin-bottom: 20px;
        }

        .footer-contact li {
            font-size: 14px;
            color: #555;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-contact i {
            color: var(--s-primary);
            width: 16px;
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }

        .footer-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--s-primary);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: background 0.2s;
        }

        .footer-social a:hover {
            background: var(--s-secondary);
        }

        .footer-apps p {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }

        .app-badges {
            display: flex;
            gap: 10px;
        }

        .app-badge {
            padding: 8px 14px;
            border-radius: 6px;
            background: #333;
            color: #ffffff;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .footer-links {
            flex: 3;
            display: flex;
            justify-content: space-between;
            gap: 30px;
        }

        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col li {
            margin-bottom: 10px;
        }

        .footer-col a {
            font-size: 14px;
            color: #555;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col a:hover {
            color: var(--s-primary);
        }

        .footer-bottom {
            border-top: 1px solid #ddd;
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .copyright {
            font-size: 14px;
            color: #555;
        }

        .footer-payment {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .footer-payment span,
        .footer-verified span {
            font-size: 13px;
            color: #555;
        }

        .payment-icons {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .pay-icon,
        .verified-badge {
            padding: 4px 8px;
            border-radius: 4px;
            background: #ffffff;
            border: 1px solid #ddd;
            font-size: 11px;
            font-weight: 600;
            color: #333;
        }

        .footer-verified {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        @media (max-width: 992px) {
            .footer-top {
                flex-direction: column;
            }
            .footer-links {
                flex-wrap: wrap;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* Cart Sidebar */
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 9998;
        }

        .cart-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 360px;
            max-width: 90%;
            height: 100%;
            background: #fff;
            box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 9999;
            display: flex;
            flex-direction: column;
        }

        .cart-sidebar.open {
            transform: translateX(0);
        }

        .cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            border-bottom: 1px solid #eee;
        }

        .cart-header h3 {
            font-size: 18px;
            color: #333;
        }

        .cart-close {
            background: none;
            border: none;
            font-size: 26px;
            color: #333;
            cursor: pointer;
            line-height: 1;
        }

        .cart-close:hover {
            color: var(--s-primary);
        }

        .cart-body {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .cart-empty {
            color: #777;
            text-align: center;
            padding: 40px 0;
        }

        .cart-footer {
            padding: 20px;
            border-top: 1px solid #eee;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
        }

        .cart-checkout {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 8px;
            background: var(--s-primary);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
        }

        .cart-checkout:hover {
            background: var(--s-secondary);
        }

        /* Floating Cart Button */
        .lightweight-page .floating-cart,
        .lightweight-page .support-widget {
            display: none;
        }

        .floating-cart {
            position: fixed;
            top: 35%;
            right: max(20px, env(safe-area-inset-right));
            transform: translateY(-50%);
            background: var(--s-primary);
            color: #fff;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            z-index: 999;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 64px;
            max-width: 120px;
            transition: transform 0.2s;
        }

        .floating-cart:hover {
            transform: translateY(-50%) scale(1.05);
            cursor: pointer;
        }

        .floating-cart-icon {
            padding: 8px 10px 1px;
            font-size: 16px;
        }

        .floating-cart-icon svg {
            width: 20px;
            height: 20px;
        }

        .floating-cart-count {
            padding: 0 10px;
            font-size: 9px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .floating-cart-price {
            background: #fff;
            color: var(--s-primary);
            width: 100%;
            text-align: center;
            padding: 4px 8px;
            font-size: 11px;
            font-weight: 700;
            overflow-wrap: anywhere;
        }

        .support-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 12px;
            z-index: 999;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        .support-widget-left {
            right: auto;
            left: 20px;
            flex-direction: row !important;
        }

        .support-widget-left .support-avatar {
            order: -1;
        }

        .support-widget-left .support-bubble {
            order: 1;
        }

        .support-bubble {
            background: #fff;
            color: #333;
            padding: 10px 14px;
            border-radius: 16px;
            border-bottom-right-radius: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            font-size: 14px;
            font-weight: 500;
            white-space: nowrap;
            max-width: min(420px, calc(100vw - 92px));
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 0 1 auto;
            animation: supportFadeIn 0.4s ease;
        }

        .support-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
            border: 3px solid #fff;
            cursor: pointer;
            position: relative;
        }

        .support-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .support-avatar img.active {
            opacity: 1;
        }

        .support-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 14px;
            height: 14px;
            background: #27ae60;
            border-radius: 50%;
            border: 2px solid #fff;
        }

        @keyframes supportFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .support-widget {
                bottom: 80px;
                right: 16px;
            }
            .support-widget.support-widget-left {
                right: auto;
                left: 16px;
                flex-direction: row !important;
            }
            .support-widget.support-widget-left .support-avatar {
                order: -1 !important;
            }
            .support-widget.support-widget-left .support-bubble {
                order: 1 !important;
                min-width: 0;
                width: auto;
                max-width: calc(100vw - 80px);
                box-sizing: border-box;
            }
            .support-avatar {
                width: 50px;
                height: 50px;
            }
            .support-bubble {
                font-size: 13px;
                padding: 8px 12px;
            }
        }

        /* Locale switcher (language / currency) */
        .locale-switcher {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-left: 24px;
            flex-shrink: 0;
        }

        .locale-dropdown {
            position: relative;
        }

        .locale-toggle {
            display: flex;
            align-items: center;
            gap: 6px;
            background: #f5f5f5;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 6px 10px;
            font-size: 13px;
            color: #333;
            cursor: pointer;
            white-space: nowrap;
        }

        .locale-toggle i {
            font-size: 14px;
            color: var(--s-primary);
        }

        .locale-menu {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 8px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            min-width: 150px;
            z-index: 1002;
            overflow: hidden;
        }

        .locale-dropdown:hover .locale-menu,
        .locale-dropdown.open .locale-menu {
            display: block;
        }

        .locale-menu a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            font-size: 13px;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #f5f5f5;
            white-space: nowrap;
        }

        .locale-menu a:last-child {
            border-bottom: none;
        }

        .locale-menu a:hover {
            background: #f5f5ff;
            color: var(--s-primary);
        }

        .locale-menu a.active {
            font-weight: 600;
            color: var(--s-primary);
        }

        .locale-menu a i {
            font-size: 10px;
        }

        @media (max-width: 768px) {
            .locale-switcher {
                display: none;
            }
        }

    /* Page Loader */
    .page-loader {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        z-index: 99999;
        transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    .page-loader.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .loader-wrap {
        position: relative;
        width: 150px;
        height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .loader-ring {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 6px solid rgba(10, 46, 46, 0.1);
        border-top-color: var(--s-primary);
        border-right-color: var(--s-s-bg);
        animation: spin 1.1s linear infinite;
    }

    .loader-logo {
        width: 78px;
        height: 78px;
        object-fit: contain;
        animation: pulse 1.5s ease-in-out infinite;
    }

    .loader-title {
        margin-top: 26px;
        font-size: 24px;
        font-weight: 800;
        color: #0a2e2e;
        letter-spacing: 1px;
    }

    .loader-sub {
        margin-top: 6px;
        font-size: 13px;
        font-weight: 600;
        color: var(--s-primary);
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.08); }
    }

    /* Full-Page Search Modal */
    .search-modal {
        position: fixed;
        inset: 0;
        background: #ffffff;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 90px 24px 24px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .search-modal.active {
        opacity: 1;
        visibility: visible;
    }

    .search-modal-close {
        position: absolute;
        top: 20px;
        right: 24px;
        background: none;
        border: none;
        font-size: 32px;
        line-height: 1;
        color: #333;
        cursor: pointer;
    }

    .search-modal-close:hover {
        color: var(--s-primary);
    }

    .search-modal-form {
        width: 100%;
        max-width: 700px;
        position: relative;
    }

    .search-modal-input {
        width: 100%;
        padding: 18px 60px 18px 24px;
        border: 2px solid var(--s-primary);
        border-radius: 12px;
        font-size: 18px;
        color: #333;
        outline: none;
    }

    .search-modal-input::placeholder {
        color: #888;
    }

    .search-modal-btn {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--s-primary);
        border: none;
        color: #fff;
        width: 46px;
        height: 46px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-modal-btn:hover {
        background: var(--s-secondary);
    }

    .search-modal-results {
        width: 100%;
        max-width: 700px;
        max-height: calc(100vh - 220px);
        overflow-y: auto;
        margin-top: 20px;
    }

    .search-no-results {
        text-align: center;
        padding: 24px;
        color: #666;
        font-size: 15px;
    }

    .search-result-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        color: inherit;
        transition: background 0.15s;
    }

    .search-result-item:hover {
        background: #f7f7f7;
    }

    .search-result-img {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-result-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .search-result-info {
        flex: 1;
        min-width: 0;
    }

    .search-result-name {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .search-result-price {
        font-size: 15px;
        font-weight: 700;
        color: var(--s-primary);
    }

    .search-result-old {
        font-size: 13px;
        color: #999;
        text-decoration: line-through;
        font-weight: 400;
        margin-left: 6px;
    }

    /* Product descriptions rendered from CKEditor */
    .product-description {
        color: #555;
        font-size: 16px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .product-description > :first-child {
        margin-top: 0;
    }

    .product-description > :last-child {
        margin-bottom: 0;
    }

    .product-description h1,
    .product-description h2,
    .product-description h3,
    .product-description h4,
    .product-description h5,
    .product-description h6 {
        color: #222;
        line-height: 1.3;
        margin: 1.5em 0 0.6em;
    }

    .product-description p {
        margin: 0 0 1em;
    }

    .product-description ul,
    .product-description ol {
        margin: 0 0 1em;
        padding-left: 2em;
    }

    .product-description li + li {
        margin-top: 0.35em;
    }

    .product-description a {
        color: var(--s-primary);
        text-decoration: underline;
    }

    .product-description blockquote {
        margin: 1.25em 0;
        padding: 0.75em 1em;
        border-left: 4px solid var(--s-primary);
        background: #f7f7fb;
        color: #555;
    }

    .product-description hr {
        margin: 1.5em 0;
        border: 0;
        border-top: 1px solid #ddd;
    }

    .product-description figure {
        margin: 1.25em 0;
    }

    .product-description img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    .product-description figure.image-style-side {
        float: right;
        max-width: 50%;
        margin: 0 0 1em 1.5em;
    }

    .product-description figure.table {
        max-width: 100%;
        overflow-x: auto;
        margin: 1.25em 0;
    }

    .product-description table {
        width: 100%;
        min-width: 420px;
        border-collapse: collapse;
        margin: 0;
    }

    .product-description th,
    .product-description td {
        padding: 0.65em 0.8em;
        border: 1px solid #dfe1e5;
        text-align: left;
        vertical-align: top;
    }

    .product-description th {
        background: #f5f6f8;
        color: #222;
        font-weight: 700;
    }

    @media (max-width: 575.98px) {
        .product-description {
            font-size: 15px;
        }

        .product-description figure.image-style-side {
            float: none;
            max-width: 100%;
            margin: 1.25em 0;
        }
    }

    /* Product Card Redesign */
    .product-card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        border: 1px solid #eee;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        height: 100%;
        min-height: 500px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .pc-badges {
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 6px;
        z-index: 3;
        pointer-events: none;
    }

    .pc-badges > div {
        display: flex;
        flex: 0 0 auto;
        min-width: 0;
        flex-direction: column;
        gap: 4px;
    }

    .pc-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 20px;
        box-sizing: border-box;
        white-space: nowrap;
        font-size: 10px;
        font-weight: 800;
        padding: 4px 8px;
        border-radius: 20px;
        text-transform: uppercase;
        line-height: 1;
        letter-spacing: 0.3px;
        pointer-events: auto;
    }

    .pc-badge-new { background: #17a2b8; color: #fff; }
    .pc-badge-sale { background: #dc3545; color: #fff; }
    .pc-badge-featured { background: #6f42c1; color: #fff; }
    .pc-badge-oos {
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: max-content;
        min-width: max-content;
        flex-shrink: 0;
        font-size: 8px;
        line-height: 1;
        padding: 5px 8px;
        border-radius: 999px;
        background: #68717b;
        color: #fff;
    }
    .pc-badge-right {
        flex-shrink: 0;
        width: auto;
        align-items: flex-end;
    }

    .pc-img {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 220px;
        padding: 20px;
        overflow: hidden;
        background: #fff;
        flex-shrink: 0;
    }

    .pc-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.4s ease;
        display: block;
    }

    .product-card:hover .pc-img img {
        transform: scale(1.08);
    }

    .pc-options {
        min-height: 28px;
        padding: 8px 16px 0;
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
    }

    .pc-color {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 1px solid #ddd;
        display: inline-block;
    }

    .pc-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 6px;
    }

    .pc-title {
        font-size: 15px;
        font-weight: 700;
        color: #222;
        line-height: 1.4;
        text-decoration: none !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.8em;
        max-height: 2.8em;
        transition: color 0.2s;
    }

    .pc-title:hover {
        color: var(--s-primary);
    }

    .pc-brand-cat {
        font-size: 12px;
        color: #777;
        min-height: 18px;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pc-sep { color: #bbb; margin: 0 4px; }

    .pc-desc {
        font-size: 13px;
        color: #666;
        line-height: 1.45;
        min-height: 2.6em;
        max-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }

    .pc-price {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 24px;
        flex-wrap: wrap;
    }

    .pc-current {
        font-size: 18px;
        font-weight: 800;
        color: var(--s-primary);
    }

    .pc-old {
        font-size: 13px;
        color: #999;
        text-decoration: line-through;
    }

    .pc-save {
        font-size: 11px;
        font-weight: 700;
        color: #fff;
        background: #dc3545;
        padding: 2px 6px;
        border-radius: 10px;
    }

    .pc-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        min-height: 18px;
        font-size: 12px;
        color: #666;
    }

    .pc-stars {
        color: #FFC107;
        font-size: 12px;
        letter-spacing: -1px;
    }

    .pc-rating-text {
        color: #888;
    }

    .pc-stock {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #555;
        min-height: 18px;
    }

    .pc-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
    }

    .pc-in .pc-dot { background: #28a745; }
    .pc-low .pc-dot { background: #fd7e14; }
    .pc-out .pc-dot { background: #dc3545; }
    .pc-out { color: #dc3545; }

    .pc-actions {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-top: 10px;
    }

    .pc-add,
    .pc-wishlist,
    .pc-compare,
    .pc-quick {
        border-radius: 8px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        transform: none;
    }

    .pc-add {
        width: 100%;
        padding: 11px 12px;
        border: 1px solid var(--s-primary);
        background: var(--s-primary);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    .pc-add:hover:not(:disabled) {
        background: #fff;
        color: var(--s-primary);
    }

    .pc-wishlist:hover,
    .pc-compare:hover,
    .pc-quick:hover {
        border-color: var(--s-primary);
        background: var(--s-primary);
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
        transform: none;
    }

    .pc-add:disabled {
        background: #e9ecef;
        color: #999;
        border-color: #e9ecef;
        cursor: not-allowed;
    }

    .pc-secondary {
        display: flex;
        gap: 8px;
        align-items: stretch;
    }

    .pc-wishlist,
    .pc-compare,
    .pc-quick {
        flex: 1;
        padding: 8px 4px;
        border: 1px solid #eee;
        background: #fff;
        color: #555;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .pc-btn-label {
        display: inline;
    }

    .mobile-track .product-card {
        flex: 0 0 calc(25% - 7px);
    }

    @media (max-width: 1200px) {
        .mobile-track .product-card {
            flex: 0 0 calc(25% - 7px);
        }
    }

    @media (max-width: 992px) {
        .mobile-track .product-card {
            flex: 0 0 calc(33.333% - 6px);
        }
    }

    @media (max-width: 768px) {
        .mobile-track .product-card {
            flex: 0 0 calc(50% - 5px);
        }
    }

    @media (max-width: 480px) {
        .mobile-track .product-card {
            flex: 0 0 100%;
        }
    }

    @media (max-width: 380px) {
        .pc-btn-label {
            display: none;
        }
    }

    /* Product Card Responsive Refinements */
    .product-card,
    .product-card * {
        box-sizing: border-box;
    }

    .pc-add {
        min-height: 44px;
    }

    .pc-wishlist,
    .pc-compare,
    .pc-quick {
        min-height: 40px;
    }

    .pc-secondary {
        flex-wrap: wrap;
    }

    .pc-wishlist,
    .pc-compare,
    .pc-quick {
        flex: 1 1 60px;
    }

    @media (max-width: 1400px) {
        .product-card { min-height: 480px; }
        .pc-img { height: 210px; }
    }

    @media (max-width: 1199px) {
        .product-card { min-height: 460px; }
        .pc-img { height: 190px; }
        .pc-body { padding: 14px; }
        .pc-title { font-size: 14px; min-height: 2.8em; }
        .pc-current { font-size: 17px; }
    }

    @media (max-width: 991px) {
        .product-card { min-height: 440px; }
        .pc-img { height: 170px; padding: 16px; }
        .pc-title { font-size: 14px; }
        .pc-desc { font-size: 12px; }
        .pc-body { padding: 12px; gap: 5px; }
    }

    @media (max-width: 767px) {
        .product-card { min-height: 420px; }
        .pc-img { height: 160px; padding: 14px; }
        .pc-title { font-size: 13px; min-height: 2.8em; }
        .pc-current { font-size: 15px; }
        .pc-add { font-size: 12px; padding: 10px; }
        .pc-wishlist,
        .pc-compare,
        .pc-quick { font-size: 10px; padding: 7px 3px; }
        .pc-body { padding: 12px; }
    }

    @media (max-width: 575px) {
        .product-card {
            min-height: 0;
            border-radius: 14px;
            box-shadow: 0 2px 10px rgba(15, 23, 42, .07);
        }
        .pc-badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
        .pc-badge { flex: 0 0 auto; min-height: 20px; padding: 5px 7px; font-size: 8px; font-weight: 700; letter-spacing: 0; line-height: 1; white-space: nowrap; }
        .pc-img { height: 154px; padding: 30px 10px 10px; background: #fbfcfe; }
        .pc-img img { max-width: 92%; max-height: 100%; }
        .pc-options,
        .pc-brand-cat,
        .pc-desc { display: none; }
        .pc-body { padding: 10px; gap: 4px; }
        .pc-title { min-height: 2.8em; font-size: 13px; line-height: 1.4; }
        .pc-price { gap: 4px; min-height: 21px; }
        .pc-current { font-size: 15px; }
        .pc-old { font-size: 10px; }
        .pc-save { font-size: 9px; padding: 2px 4px; }
        .pc-rating { min-height: 16px; gap: 4px; font-size: 11px; }
        .pc-stars { font-size: 11px; }
        .pc-rating-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
        .pc-review-count { display: none; }
        .pc-stock { min-height: 16px; gap: 5px; margin-bottom: 1px; font-size: 11px; }
        .pc-dot { width: 7px; height: 7px; }
        .pc-actions { gap: 5px; padding-top: 4px; }
        .pc-add,
        .pc-add:disabled { width: 100%; height: 40px; min-height: 40px; padding: 0 10px; border: 1px solid #e2e5e8; border-radius: 10px; background: #f1f3f5; color: #8a8f98; box-shadow: none; font-size: 11px; font-weight: 600; gap: 6px; }
        .pc-add:disabled { cursor: not-allowed; }
        .pc-add i { font-size: 14px; color: #8a8f98; }
        .pc-secondary { gap: 5px; flex-wrap: nowrap; }
        .pc-wishlist,
        .pc-compare,
        .pc-quick { flex: 1 1 0; min-height: 38px; padding: 6px 2px; border-radius: 9px; font-size: 0; }
        .pc-wishlist i,
        .pc-compare i,
        .pc-quick i { font-size: 13px; }
        .pc-btn-label { display: none; }
    }

    @media (max-width: 480px) {
        .pc-img { height: 160px; }
        .pc-body { padding: 12px; gap: 5px; }
        .pc-title { font-size: 13px; }
        .pc-desc { font-size: 12px; min-height: 2.6em; max-height: 2.6em; }
        .pc-current { font-size: 15px; }
        .pc-add { font-size: 11px; height: 40px; min-height: 40px; padding: 0 10px; }
        .pc-secondary { gap: 6px; }
        .pc-wishlist,
        .pc-compare,
        .pc-quick { font-size: 0; min-height: 40px; }
    }

    @media (max-width: 400px) {
        .product-card { min-height: auto; }
        .pc-img { height: 150px; padding: 12px; }
        .pc-body { padding: 10px; gap: 4px; }
        .pc-title { font-size: 12px; min-height: 2.8em; }
        .pc-desc { font-size: 11px; }
        .pc-current { font-size: 14px; }
        .pc-rating { font-size: 11px; }
        .pc-stock { font-size: 11px; }
        .pc-add { font-size: 11px; height: 40px; min-height: 40px; padding: 0 8px; }
        .pc-wishlist,
        .pc-compare,
        .pc-quick { min-height: 42px; font-size: 10px; }
        .pc-btn-label { display: none; }
    }

    @media (max-width: 320px) {
        .pc-img { height: 140px; }
        .pc-body { padding: 10px; }
        .pc-title { font-size: 12px; }
        .pc-current { font-size: 13px; }
        .pc-add { font-size: 11px; }
        .pc-wishlist,
        .pc-compare,
        .pc-quick { font-size: 10px; }
    }

    @media (max-width: 768px) {
        .mobile-footer-nav {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            min-height: 66px;
            padding: 6px max(4px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));
            gap: 0;
        }
        .mobile-footer-nav a {
            min-width: 0;
            min-height: 48px;
            justify-content: center;
            gap: 3px;
            white-space: nowrap;
            overflow: visible;
            font-size: 10px;
            text-align: center;
            text-overflow: ellipsis;
        }
        .mobile-footer-nav a svg,
        .mobile-footer-nav a > i { width: 21px; height: 21px; font-size: 19px; line-height: 21px; flex: 0 0 21px; }
        .mobile-footer-nav .cart-badge { top: 0; right: max(0px, calc(50% - 23px)); width: 16px; height: 16px; font-size: 9px; }
        .main-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
        .floating-cart {
            top: 35%;
            bottom: auto;
            left: auto;
            right: max(8px, env(safe-area-inset-right));
            transform: translateY(-50%);
            min-width: 0;
            width: 62px;
            max-width: 26vw;
            border-radius: 12px;
            z-index: 998;
        }
        .floating-cart:hover { transform: translateY(-50%) scale(1.04); }
        .floating-cart-icon { padding: 7px 8px 0; font-size: 16px; }
        .floating-cart-count { padding: 0 4px; margin-bottom: 3px; }
        .floating-cart-price { padding: 4px 2px; font-size: 10px; overflow-wrap: anywhere; }
        .support-widget {
            bottom: calc(78px + env(safe-area-inset-bottom));
            right: max(10px, env(safe-area-inset-right));
            gap: 0;
            z-index: 998;
        }
        .support-widget.support-widget-left {
            right: auto;
            left: max(10px, env(safe-area-inset-left));
        }
        .support-avatar { width: 48px; height: 48px; flex: 0 0 48px; }
        .support-bubble {
            position: relative;
            right: auto;
            bottom: auto;
            width: auto;
            max-width: min(210px, calc(100vw - 80px));
            min-width: 0;
            white-space: nowrap;
            line-height: 1.3;
            text-align: left;
            font-size: 12px;
            padding: 7px 10px;
        }
        .product-card { min-width: 0; min-height: 0; height: 100%; border-radius: 14px; border-color: #e8eaf0; box-shadow: 0 2px 10px rgba(15, 23, 42, .06); }
        .pc-img { width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 26px 10px 10px; background: #fbfcfe; }
        .pc-img img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
        .pc-body { min-width: 0; padding: 10px; gap: 5px; }
        .pc-title { display: block; min-height: 2.8em; max-height: none; overflow: visible; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
        .pc-price { min-width: 0; gap: 3px 6px; align-items: baseline; }
        .pc-current { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
        .pc-old { font-size: 11px; }
        .pc-stock { line-height: 1.35; }
        .pc-dot { flex: 0 0 7px; }
        .pc-actions { gap: 6px; padding-top: 5px; }
        .pc-add,
        .pc-add:disabled { min-height: 44px; height: auto; padding: 6px 4px; font-size: 11px; line-height: 1.25; white-space: normal; }
        .pc-add:not(:disabled) { background: var(--s-primary); border-color: var(--s-primary); color: #fff; }
        .pc-add:not(:disabled) i { color: inherit; }
        .pc-add:disabled { background: #f3f4f7; color: #636b78; border-color: #e0e4eb; }
        .pc-add:disabled i { color: inherit; }
        .pc-secondary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
        .pc-wishlist,
        .pc-compare,
        .pc-quick { min-width: 0; min-height: 44px; padding: 7px 2px; font-size: 0; }
        .pc-wishlist i,
        .pc-compare i,
        .pc-quick i { font-size: 15px; }
        .pc-badges { top: 7px; left: 7px; right: 7px; gap: 3px; }
        .pc-badge { min-height: 18px; padding: 4px 6px; font-size: 9px; }
    }
    @media (max-width: 360px) {
        .pc-body { padding: 8px; }
        .pc-current { font-size: 13px; }
        .pc-badge { font-size: 8px; padding: 4px 5px; }
        .mobile-footer-nav a { font-size: 9px; }
    }