        :root {
            --primary-red: #E31E24;
            --primary-dark: #B91419;
            --black: #000000;
            --white: #FFFFFF;
            --light-grey: #F5F5F5;
            --medium-grey: #E0E0E0;
            --dark-grey: #666666;
            --text-dark: #333333;
            --card-bg: #FFFFFF;
            --body-bg: #F5F5F5;
            --shadow-color: rgba(0,0,0,0.08);
            --border-color: #E0E0E0;
        }

        /* Dark Mode Theme */
        [data-theme="dark"] {
            --white: #1a1a1a;
            --light-grey: #121212;
            --medium-grey: #2d2d2d;
            --dark-grey: #999999;
            --text-dark: #f0f0f0;
            --text-muted: #b0b0b0;
            --card-bg: #1e1e1e;
            --body-bg: #121212;
            --shadow-color: rgba(0,0,0,0.3);
            --border-color: #3a3a3a;
        }

        [data-theme="dark"] .shop-header {
            background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
        }

        [data-theme="dark"] .brand-logo-img {
            background-color: #FFFFFF !important;
        }

        [data-theme="dark"] .brand-name {
            color: #FFFFFF;
        }

        [data-theme="dark"] .contact-link {
            color: rgba(255,255,255,0.9);
        }

        [data-theme="dark"] .theme-toggle {
            background: rgba(255,255,255,0.2);
            color: #FFFFFF;
        }

        [data-theme="dark"] .theme-toggle:hover {
            background: rgba(255,255,255,0.3);
        }

        [data-theme="dark"] .orders-btn {
            background: transparent;
            border-color: rgba(255,255,255,0.5);
            color: #FFFFFF;
        }

        [data-theme="dark"] .orders-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: #FFFFFF;
            color: #FFFFFF;
        }

        [data-theme="dark"] .cart-btn {
            background: rgba(255,255,255,0.2);
            color: #FFFFFF;
        }

        [data-theme="dark"] .cart-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        [data-theme="dark"] .cart-badge {
            background: #FFFFFF;
            color: var(--primary-red);
        }

        [data-theme="dark"] .product-card {
            background: var(--card-bg);
            box-shadow: 0 2px 10px var(--shadow-color);
        }

        [data-theme="dark"] .product-name {
            color: #FFFFFF;
        }

        [data-theme="dark"] .product-price {
            color: var(--primary-red);
        }

        [data-theme="dark"] .product-wholesale-price {
            color: #4CAF50;
        }

        [data-theme="dark"] .product-time-ago,
        [data-theme="dark"] .product-likes-count {
            color: var(--text-muted);
        }

        [data-theme="dark"] .products-count {
            color: var(--text-muted);
        }

        [data-theme="dark"] .search-input {
            background: var(--card-bg);
            color: #FFFFFF;
            border: 1px solid var(--border-color);
        }

        [data-theme="dark"] .search-input::placeholder {
            color: #888888;
        }

        [data-theme="dark"] .sort-select {
            background: var(--card-bg);
            color: #FFFFFF;
            border-color: var(--border-color);
        }

        [data-theme="dark"] .category-pill {
            background: rgba(255,255,255,0.15);
            color: #FFFFFF;
        }

        [data-theme="dark"] .category-pill:hover,
        [data-theme="dark"] .category-pill.active {
            background: var(--primary-red);
            color: #FFFFFF;
        }

        [data-theme="dark"] .cart-sidebar {
            background: var(--card-bg);
            color: #FFFFFF;
        }

        [data-theme="dark"] .cart-header h2 {
            color: #FFFFFF;
        }

        [data-theme="dark"] .cart-item {
            background: var(--medium-grey);
        }

        [data-theme="dark"] .cart-item-name {
            color: #FFFFFF;
        }

        [data-theme="dark"] .cart-item-price {
            color: var(--primary-red);
        }

        [data-theme="dark"] .cart-total-label {
            color: var(--text-muted);
        }

        [data-theme="dark"] .cart-total-amount {
            color: #FFFFFF;
        }

        [data-theme="dark"] .product-modal-content,
        [data-theme="dark"] .checkout-modal-content,
        [data-theme="dark"] .orders-modal-content {
            background: #1a1a1a;
            color: #FFFFFF;
        }

        [data-theme="dark"] .modal-title {
            color: #FFFFFF;
            font-weight: 700;
        }

        [data-theme="dark"] .modal-description {
            color: #c0c0c0;
        }

        [data-theme="dark"] .modal-category {
            background: #333333;
            color: #FFFFFF;
        }

        [data-theme="dark"] .modal-gallery {
            background: #252525;
        }

        [data-theme="dark"] .gallery-thumbnail {
            border-color: #444444;
        }

        [data-theme="dark"] .gallery-thumbnail.active {
            border-color: var(--primary-red);
        }

        [data-theme="dark"] .portfolio-section {
            background: #252525;
        }

        [data-theme="dark"] .portfolio-section h4 {
            color: #FFFFFF;
        }

        [data-theme="dark"] .portfolio-item p {
            color: #c0c0c0;
        }

        [data-theme="dark"] .price-option {
            background: #252525;
            border: 2px solid #444444;
            color: #FFFFFF;
        }

        [data-theme="dark"] .price-option-label {
            color: #c0c0c0;
        }

        [data-theme="dark"] .price-option-value {
            color: #FFFFFF;
            font-weight: 600;
        }

        [data-theme="dark"] .price-option.selected {
            border-color: var(--primary-red);
            background: rgba(227, 30, 36, 0.15);
        }

        [data-theme="dark"] .price-option.selected .price-option-value {
            color: var(--primary-red);
        }

        [data-theme="dark"] .modal-details label,
        [data-theme="dark"] .quantity-label {
            color: #c0c0c0;
            font-weight: 500;
        }

        [data-theme="dark"] .quantity-control {
            background: #252525;
            border: 1px solid #444444;
        }

        [data-theme="dark"] .quantity-btn {
            color: #FFFFFF;
            background: #333333;
        }

        [data-theme="dark"] .quantity-btn:hover {
            background: #444444;
        }

        [data-theme="dark"] .quantity-input {
            color: #FFFFFF;
            background: transparent;
        }

        [data-theme="dark"] .modal-actions .btn {
            font-weight: 600;
        }

        [data-theme="dark"] .form-control {
            background: var(--medium-grey);
            border-color: var(--border-color);
            color: #FFFFFF;
        }

        [data-theme="dark"] .form-control::placeholder {
            color: #888888;
        }

        [data-theme="dark"] label {
            color: var(--text-muted);
        }

        [data-theme="dark"] .empty-state {
            color: var(--text-muted);
        }

        [data-theme="dark"] .empty-state h3 {
            color: #FFFFFF;
        }

        [data-theme="dark"] .product-meta {
            border-top-color: var(--border-color);
        }

        [data-theme="dark"] .product-stock.in-stock {
            color: #4CAF50;
        }

        [data-theme="dark"] .product-stock.out-of-stock {
            color: #f44336;
        }

        [data-theme="dark"] .gallery-main-wrapper {
            background: var(--medium-grey);
        }

        [data-theme="dark"] .footer {
            background: #1a1a1a;
            border-top: 1px solid #333;
        }

        [data-theme="dark"] .footer h4,
        [data-theme="dark"] .footer-title,
        [data-theme="dark"] .footer-section h4 {
            color: var(--primary-red);
            font-weight: 600;
        }

        [data-theme="dark"] .footer-section p {
            color: #d0d0d0;
        }

        [data-theme="dark"] .footer-section a {
            color: #c0c0c0;
        }

        [data-theme="dark"] .footer-section a:hover {
            color: var(--primary-red);
        }

        [data-theme="dark"] .footer-section i {
            color: var(--primary-red);
        }

        [data-theme="dark"] .footer-bottom {
            background: #121212;
            color: #888888;
            border-top: 1px solid #333;
        }

        [data-theme="dark"] .footer-logo {
            background: #FFFFFF;
            padding: 8px;
            border-radius: 8px;
        }

        [data-theme="dark"] .skeleton {
            background: linear-gradient(90deg,
                var(--medium-grey) 25%,
                #3a3a3a 37%,
                var(--medium-grey) 63%
            );
            background-size: 200% 100%;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--body-bg);
            color: var(--text-dark);
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-tap-highlight-color: transparent;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
            max-width: 100vw;
        }

        *, *::before, *::after {
            box-sizing: border-box;
        }

        .container {
            max-width: 100%;
            overflow-x: hidden;
        }

        /* Header */
        .shop-header {
            background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
            color: var(--white);
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
        }

        .header-top {
            padding: 6px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            width: 100%;
        }

        .header-top .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .brand-logo {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--white);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .brand-logo:hover {
            color: var(--white);
        }

        .brand-logo-img {
            height: 40px;
            width: auto;
            background-color: #FFFFFF;
            padding: 4px 10px;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        @media (max-width: 576px) {
            .brand-logo-img {
                height: 32px;
                padding: 3px 6px;
            }
        }

        .header-center {
            flex: 1;
            text-align: center;
            padding: 0 20px;
        }

        .brand-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--white);
            margin: 0;
            line-height: 1.2;
            letter-spacing: 0.5px;
        }

        .brand-contacts {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 3px;
        }

        .contact-link {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: color 0.3s;
        }

        .contact-link:hover {
            color: var(--white);
        }

        .contact-link i {
            font-size: 0.75rem;
        }

        .contact-separator {
            color: rgba(255,255,255,0.5);
            font-size: 0.8rem;
        }

        @media (max-width: 992px) {
            .brand-name {
                font-size: 1.3rem;
            }

            .contact-link {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 768px) {
            .header-center {
                padding: 0 10px;
            }

            .brand-name {
                font-size: 1.1rem;
            }

            .brand-contacts {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .header-center {
                display: none;
            }
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Language Toggle Button */
        .lang-toggle {
            background: rgba(255,255,255,0.2);
            border: none;
            color: var(--white);
            min-width: 36px;
            height: 36px;
            padding: 0 10px;
            border-radius: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .lang-toggle:hover {
            background: rgba(255,255,255,0.3);
        }

        .lang-code {
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        [data-theme="dark"] .lang-toggle {
            background: rgba(255,255,255,0.2);
            color: #FFFFFF;
        }

        [data-theme="dark"] .lang-toggle:hover {
            background: rgba(255,255,255,0.3);
        }

        /* Theme Toggle Button */
        .theme-toggle {
            background: rgba(255,255,255,0.2);
            border: none;
            color: var(--white);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 1rem;
        }

        .theme-toggle:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(15deg);
        }

        .theme-toggle .fa-sun {
            display: none;
        }

        .theme-toggle .fa-moon {
            display: inline-block;
        }

        [data-theme="dark"] .theme-toggle .fa-sun {
            display: inline-block;
        }

        [data-theme="dark"] .theme-toggle .fa-moon {
            display: none;
        }

        .cart-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: var(--white);
            padding: 6px 12px;
            border-radius: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
            font-weight: 500;
            font-size: 0.85rem;
        }

        .cart-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        .cart-badge {
            background: var(--black);
            color: var(--white);
            padding: 1px 6px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .orders-btn {
            background: transparent;
            border: 2px solid rgba(255,255,255,0.5);
            color: var(--white);
            padding: 5px 12px;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 500;
            font-size: 0.85rem;
            transition: all 0.3s;
            text-decoration: none;
        }

        .orders-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: var(--white);
            color: var(--white);
        }

        /* Search Bar */
        .search-section {
            padding: 10px 0;
            width: 100%;
        }

        .search-section .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .search-container {
            position: relative;
            max-width: 500px;
            margin: 0 auto;
        }

        .search-input {
            width: 100%;
            padding: 10px 40px 10px 16px;
            border: none;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .search-btn {
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-red);
            border: none;
            color: var(--white);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
            font-size: 0.85rem;
        }

        .search-btn:hover {
            background: var(--primary-dark);
        }

        /* Category Pills */
        .category-section {
            padding: 8px 0 10px;
            white-space: normal;
            width: 100%;
            max-width: 100vw;
        }

        .category-section .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 0 5px;
        }

        .category-pill {
            background: rgba(255,255,255,0.2);
            color: var(--white);
            padding: 5px 14px;
            border-radius: 15px;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .category-pill:hover, .category-pill.active {
            background: var(--white);
            color: var(--primary-red);
        }

        /* Category bar with expand/collapse toggle */
        .category-bar {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .category-toggle {
            flex-shrink: 0;
            background: rgba(255,255,255,0.25);
            color: var(--white);
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.25s, background 0.2s;
            z-index: 3;
        }

        .category-toggle:hover {
            background: var(--white);
            color: var(--primary-red);
        }

        /* Expanded: show every category by wrapping onto multiple rows */
        .category-section.expanded {
            overflow-x: visible;
            white-space: normal;
        }

        .category-section.expanded .category-pills {
            flex-wrap: wrap;
            white-space: normal;
        }

        .category-section.expanded::after {
            display: none;
        }

        .category-section.expanded .category-toggle i {
            transform: rotate(180deg);
        }

        /* Main Content */
        .main-content {
            padding: 10px 0 100px;
            max-width: 100vw;
            overflow-x: hidden;
        }

        .main-content .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            flex-wrap: wrap;
            gap: 8px;
        }

        .products-count {
            font-size: 0.9rem;
            color: var(--dark-grey);
        }

        .sort-select {
            padding: 6px 12px;
            border: 1px solid var(--medium-grey);
            border-radius: 20px;
            font-size: 0.85rem;
            outline: none;
            cursor: pointer;
            background: var(--white);
        }

        /* Product Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
        }

        /* Product Card */
        .product-card {
            background: var(--card-bg);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 2px 10px var(--shadow-color);
            transition: all 0.3s, background-color 0.3s;
            cursor: pointer;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .product-image-container {
            position: relative;
            padding-top: 100%;
            background: var(--light-grey);
            overflow: hidden;
        }

        /* Skeleton Loading Animation */
        @keyframes skeleton-shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }

        .skeleton {
            background: linear-gradient(90deg,
                var(--light-grey) 25%,
                #e8e8e8 37%,
                var(--light-grey) 63%
            );
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s ease-in-out infinite;
        }

        .skeleton-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .skeleton-image.loaded {
            display: none;
        }

        .product-carousel-slide img,
        .product-image {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .product-carousel-slide img.loaded,
        .product-image.loaded {
            opacity: 1;
        }

        /* Skeleton for product cards while loading */
        .product-card-skeleton {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }

        .product-card-skeleton .skeleton-img {
            padding-top: 100%;
            background: linear-gradient(90deg,
                var(--light-grey) 25%,
                #e8e8e8 37%,
                var(--light-grey) 63%
            );
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s ease-in-out infinite;
        }

        .product-card-skeleton .skeleton-content {
            padding: 12px;
        }

        .product-card-skeleton .skeleton-title {
            height: 16px;
            width: 80%;
            border-radius: 4px;
            margin-bottom: 8px;
        }

        .product-card-skeleton .skeleton-price {
            height: 20px;
            width: 50%;
            border-radius: 4px;
            margin-bottom: 6px;
        }

        .product-card-skeleton .skeleton-meta {
            height: 12px;
            width: 60%;
            border-radius: 4px;
        }

        /* Image Carousel */
        .product-carousel {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            transition: transform 0.3s ease;
        }

        .product-carousel-slide {
            min-width: 100%;
            height: 100%;
        }

        .product-carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 28px;
            height: 28px;
            background: rgba(255,255,255,0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--text-dark);
            z-index: 10;
            opacity: 0;
            transition: opacity 0.3s, background 0.3s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        }

        .product-image-container:hover .carousel-nav {
            opacity: 1;
        }

        .carousel-nav:hover {
            background: var(--white);
        }

        .carousel-nav.prev {
            left: 8px;
        }

        .carousel-nav.next {
            right: 8px;
        }

        .carousel-dots {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 5px;
            z-index: 10;
        }

        .carousel-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            border: none;
            cursor: pointer;
            padding: 0;
            transition: all 0.3s;
        }

        .carousel-dot.active {
            background: var(--white);
            width: 18px;
            border-radius: 3px;
        }

        .image-count-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0,0,0,0.6);
            color: var(--white);
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .image-count-badge i {
            font-size: 0.65rem;
        }

        .product-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .product-card:hover .product-image {
            transform: scale(1.05);
        }

        .product-category-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--primary-red);
            color: var(--white);
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .product-like-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--white);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            transition: all 0.3s;
        }

        .product-like-btn:hover {
            transform: scale(1.1);
        }

        .product-like-btn i {
            font-size: 1rem;
            color: var(--dark-grey);
            transition: color 0.3s;
        }

        .product-like-btn.liked i {
            color: var(--primary-red);
        }

        .product-info {
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .product-name {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-description {
            display: none; /* Hidden for compact layout */
            font-size: 0.85rem;
            color: var(--dark-grey);
            margin-bottom: 10px;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-footer {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
        }

        .product-pricing {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-width: 0;
        }

        .product-price {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary-red);
            line-height: 1.2;
        }

        .product-wholesale-price {
            font-size: 0.75rem;
            color: #28a745;
            font-weight: 500;
            margin-top: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-wholesale-price i {
            font-size: 0.65rem;
            margin-right: 2px;
        }

        .add-to-cart-btn {
            background: var(--primary-red);
            color: var(--white);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 0.8rem;
        }

        .add-to-cart-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.1);
        }

        .product-whatsapp-btn {
            background: #25D366;
            color: var(--white);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 0.8rem;
        }

        .product-whatsapp-btn:hover {
            background: #128C7E;
            transform: scale(1.1);
        }

        .product-share-btn {
            background: var(--dark-grey);
            color: var(--white);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 0.8rem;
        }

        .product-share-btn:hover {
            background: var(--text-dark);
            transform: scale(1.1);
        }

        .product-actions {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }

        .product-likes-count {
            font-size: 0.7rem;
            color: var(--dark-grey);
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .product-likes-count i {
            color: var(--primary-red);
            font-size: 0.65rem;
        }

        .product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.7rem;
            color: #888;
            padding-top: 6px;
            border-top: 1px solid #f0f0f0;
        }

        .product-time-ago {
            display: flex;
            align-items: center;
            gap: 3px;
            color: #999;
            font-size: 0.7rem;
        }

        .product-time-ago i {
            font-size: 0.6rem;
        }

        /* Stock Indicator */
        .product-stock {
            display: flex;
            align-items: center;
            gap: 3px;
            font-size: 0.7rem;
            font-weight: 500;
        }

        .product-stock.in-stock {
            color: #28a745;
        }

        .product-stock.out-of-stock {
            color: #dc3545;
        }

        .product-stock i {
            font-size: 0.65rem;
        }

        .add-to-cart-btn.disabled,
        .add-to-cart-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }

        /* Loading Spinner */
        .loading-spinner {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 50px;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--light-grey);
            border-top: 4px solid var(--primary-red);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--dark-grey);
        }

        .empty-state i {
            font-size: 4rem;
            margin-bottom: 20px;
            color: var(--medium-grey);
        }

        .empty-state h3 {
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        /* Cart Sidebar */
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .cart-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            max-width: 400px;
            height: 100%;
            background: var(--white);
            z-index: 2001;
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        }

        .cart-sidebar.show {
            transform: translateX(0);
        }

        .cart-header {
            padding: 20px;
            background: var(--primary-red);
            color: var(--white);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-header h2 {
            font-size: 1.3rem;
            font-weight: 600;
        }

        .cart-close-btn {
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
        }

        .cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
        }

        .cart-item {
            display: flex;
            gap: 12px;
            padding: 15px;
            border-bottom: 1px solid var(--light-grey);
        }

        .cart-item-image {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            object-fit: cover;
        }

        .cart-item-info {
            flex: 1;
        }

        .cart-item-name {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 3px;
        }

        .cart-item-price {
            color: var(--primary-red);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 8px;
        }

        .qty-btn {
            width: 28px;
            height: 28px;
            border: 1px solid var(--medium-grey);
            background: var(--white);
            border-radius: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .qty-btn:hover {
            background: var(--light-grey);
        }

        .cart-item-remove {
            color: var(--primary-red);
            cursor: pointer;
            padding: 5px;
        }

        .price-type-toggle {
            display: flex;
            gap: 5px;
            margin-top: 5px;
        }

        .price-type-btn {
            padding: 3px 10px;
            font-size: 0.75rem;
            border: 1px solid var(--medium-grey);
            background: var(--white);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .price-type-btn.active {
            background: var(--primary-red);
            color: var(--white);
            border-color: var(--primary-red);
        }

        .cart-footer {
            padding: 20px;
            border-top: 1px solid var(--medium-grey);
            background: var(--light-grey);
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .cart-total-label {
            font-weight: 500;
        }

        .cart-total-value {
            font-weight: 700;
            color: var(--primary-red);
        }

        .checkout-btn {
            width: 100%;
            padding: 15px;
            background: var(--primary-red);
            color: var(--white);
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .checkout-btn:hover {
            background: var(--primary-dark);
        }

        .checkout-btn:disabled {
            background: var(--medium-grey);
            cursor: not-allowed;
        }

        .clear-cart-btn {
            width: 100%;
            padding: 10px;
            background: transparent;
            color: var(--dark-grey);
            border: 1px solid var(--medium-grey);
            border-radius: 30px;
            font-size: 0.9rem;
            cursor: pointer;
            margin-top: 10px;
            transition: all 0.3s;
        }

        .clear-cart-btn:hover {
            border-color: var(--primary-red);
            color: var(--primary-red);
        }

        .cart-empty {
            text-align: center;
            padding: 50px 20px;
            color: var(--dark-grey);
        }

        .cart-empty i {
            font-size: 4rem;
            color: var(--medium-grey);
            margin-bottom: 15px;
        }

        /* Product Modal */
        .product-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 3000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            padding: 20px;
        }

        .product-modal.show {
            opacity: 1;
            visibility: visible;
        }

        .product-modal-content {
            background: var(--white);
            border-radius: 20px;
            max-width: 900px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.3s;
        }

        .product-modal.show .product-modal-content {
            transform: scale(1);
        }

        .modal-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0,0,0,0.5);
            color: var(--white);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 10;
            transition: background 0.3s;
        }

        .modal-close-btn:hover {
            background: rgba(0,0,0,0.7);
        }

        .modal-body {
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        @media (min-width: 768px) {
            .modal-body {
                flex-direction: row;
            }
        }

        .modal-gallery {
            flex: 1;
            background: var(--light-grey);
            min-height: 300px;
        }

        .gallery-main-wrapper {
            position: relative;
            width: 100%;
            min-height: 300px;
            background: var(--light-grey);
        }

        .gallery-skeleton {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .gallery-main-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            position: relative;
            z-index: 2;
        }

        @media (min-width: 768px) {
            .gallery-main-wrapper {
                min-height: 400px;
            }
            .gallery-main-image {
                height: 400px;
            }
        }

        .gallery-thumbnails {
            display: flex;
            gap: 8px;
            padding: 10px;
            overflow-x: auto;
        }

        .gallery-thumbnail {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.3s;
        }

        .gallery-thumbnail:hover, .gallery-thumbnail.active {
            border-color: var(--primary-red);
        }

        .modal-details {
            flex: 1;
            padding: 25px;
            display: flex;
            flex-direction: column;
        }

        .modal-category {
            display: inline-block;
            background: var(--light-grey);
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.85rem;
            color: var(--dark-grey);
            margin-bottom: 10px;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .modal-description {
            color: var(--dark-grey);
            line-height: 1.6;
            margin-bottom: 20px;
            flex: 1;
        }

        .modal-pricing {
            margin-bottom: 20px;
        }

        .price-option {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border: 2px solid var(--medium-grey);
            border-radius: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .price-option:hover, .price-option.selected {
            border-color: var(--primary-red);
            background: rgba(227, 30, 36, 0.05);
        }

        .price-option input {
            margin-right: 12px;
            accent-color: var(--primary-red);
        }

        .price-option-label {
            flex: 1;
            font-weight: 500;
        }

        .price-option-value {
            font-weight: 700;
            color: var(--primary-red);
            font-size: 1.1rem;
        }

        .modal-quantity {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .modal-quantity label {
            font-weight: 500;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--light-grey);
            border-radius: 25px;
            padding: 5px;
        }

        .quantity-btn {
            width: 35px;
            height: 35px;
            border: none;
            background: var(--white);
            border-radius: 50%;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.2s;
        }

        .quantity-btn:hover {
            background: var(--primary-red);
            color: var(--white);
        }

        .quantity-value {
            font-weight: 600;
            min-width: 30px;
            text-align: center;
        }

        .modal-add-btn {
            width: 100%;
            padding: 15px;
            background: var(--primary-red);
            color: var(--white);
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: background 0.3s;
        }

        .modal-add-btn:hover {
            background: var(--primary-dark);
        }

        .whatsapp-btn {
            width: 100%;
            padding: 12px;
            background: #25D366;
            color: var(--white);
            border: none;
            border-radius: 30px;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
            transition: background 0.3s;
        }

        .whatsapp-btn:hover {
            background: #128C7E;
            color: var(--white);
        }

        /* Checkout Modal */
        .checkout-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 4000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            padding: 20px;
        }

        .checkout-modal.show {
            opacity: 1;
            visibility: visible;
        }

        .checkout-modal-content {
            background: var(--white);
            border-radius: 20px;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            transform: scale(0.9);
            transition: transform 0.3s;
        }

        .checkout-modal.show .checkout-modal-content {
            transform: scale(1);
        }

        .checkout-header {
            padding: 20px;
            background: var(--primary-red);
            color: var(--white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }

        .checkout-header h2 {
            font-size: 1.3rem;
            font-weight: 600;
        }

        .checkout-body {
            padding: 25px;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            color: var(--text-dark);
        }

        .form-group label span {
            color: var(--primary-red);
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--medium-grey);
            border-radius: 10px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-control:focus {
            border-color: var(--primary-red);
        }

        .form-control::placeholder {
            color: #999;
        }

        textarea.form-control {
            resize: vertical;
            min-height: 80px;
        }

        .order-summary {
            background: var(--light-grey);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .order-summary h4 {
            margin-bottom: 12px;
            font-size: 1rem;
        }

        .order-summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .order-summary-total {
            display: flex;
            justify-content: space-between;
            padding-top: 10px;
            border-top: 1px solid var(--medium-grey);
            font-weight: 600;
            font-size: 1.05rem;
        }

        .place-order-btn {
            width: 100%;
            padding: 15px;
            background: var(--primary-red);
            color: var(--white);
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .place-order-btn:hover {
            background: var(--primary-dark);
        }

        .place-order-btn:disabled {
            background: var(--medium-grey);
            cursor: not-allowed;
        }

        /* Order Success Modal */
        .success-modal-content {
            text-align: center;
            padding: 40px;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: #4CAF50;
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 20px;
        }

        .success-modal-content h2 {
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .success-modal-content p {
            color: var(--dark-grey);
            margin-bottom: 20px;
        }

        .order-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-red);
            background: var(--light-grey);
            padding: 15px 25px;
            border-radius: 10px;
            display: inline-block;
            margin-bottom: 20px;
        }

        .success-btn {
            padding: 12px 30px;
            background: var(--primary-red);
            color: var(--white);
            border: none;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            margin: 5px;
            transition: background 0.3s;
        }

        .success-btn:hover {
            background: var(--primary-dark);
        }

        .success-btn.secondary {
            background: var(--light-grey);
            color: var(--text-dark);
        }

        .success-btn.secondary:hover {
            background: var(--medium-grey);
        }

        /* Orders Modal */
        .orders-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 3500;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            padding: 20px;
        }

        .orders-modal.show {
            opacity: 1;
            visibility: visible;
        }

        .orders-modal-content {
            background: var(--white);
            border-radius: 20px;
            max-width: 600px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: scale(0.9);
            transition: transform 0.3s;
        }

        .orders-modal.show .orders-modal-content {
            transform: scale(1);
        }

        .orders-header {
            padding: 20px;
            background: var(--primary-red);
            color: var(--white);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .orders-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .phone-lookup {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .phone-lookup input {
            flex: 1;
        }

        .lookup-btn {
            padding: 12px 20px;
            background: var(--primary-red);
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s;
        }

        .lookup-btn:hover {
            background: var(--primary-dark);
        }

        .order-card {
            border: 1px solid var(--medium-grey);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
        }

        .order-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .order-card-number {
            font-weight: 700;
            color: var(--primary-red);
        }

        .order-status {
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .order-status.pending {
            background: #FFF3CD;
            color: #856404;
        }

        .order-status.confirmed {
            background: #D4EDDA;
            color: #155724;
        }

        .order-status.processing {
            background: #CCE5FF;
            color: #004085;
        }

        .order-status.ready {
            background: #D1ECF1;
            color: #0C5460;
        }

        .order-status.delivered {
            background: #D4EDDA;
            color: #155724;
        }

        .order-status.cancelled {
            background: #F8D7DA;
            color: #721C24;
        }

        .order-card-date {
            font-size: 0.85rem;
            color: var(--dark-grey);
            margin-bottom: 10px;
        }

        .order-card-items {
            font-size: 0.9rem;
            color: var(--text-dark);
        }

        .order-card-total {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid var(--light-grey);
            font-weight: 600;
        }

        /* Footer */
        .shop-footer {
            background: var(--black);
            color: var(--white);
            padding: 30px 0;
            margin-top: auto;
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
        }

        .shop-footer .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
        }

        .footer-section h4 {
            margin-bottom: 15px;
            font-weight: 600;
        }

        .footer-section p, .footer-section a {
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
            margin-bottom: 8px;
            display: block;
            text-decoration: none;
        }

        .footer-section a:hover {
            color: var(--white);
        }

        .footer-logo {
            height: 80px;
            width: auto;
            background: var(--white);
            padding: 8px 12px;
            border-radius: 10px;
            margin-bottom: 15px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        .social-links a:hover {
            background: var(--primary-red);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.5);
            font-size: 0.85rem;
        }

        /* Toast Notification */
        .toast-container {
            position: fixed;
            bottom: 100px;
            right: 20px;
            z-index: 5000;
        }

        .toast {
            background: var(--text-dark);
            color: var(--white);
            padding: 12px 20px;
            border-radius: 10px;
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            animation: slideIn 0.3s ease;
        }

        .toast.success {
            background: #4CAF50;
        }

        .toast.error {
            background: var(--primary-red);
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Load More Button */
        .load-more-container {
            text-align: center;
            padding: 30px;
        }

        .load-more-btn {
            padding: 12px 40px;
            background: var(--white);
            color: var(--primary-red);
            border: 2px solid var(--primary-red);
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .load-more-btn:hover {
            background: var(--primary-red);
            color: var(--white);
        }

        /* Floating WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background: #25D366;
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            z-index: 999;
            text-decoration: none;
            transition: all 0.3s ease;
            animation: whatsappPulse 2s infinite;
        }

        .whatsapp-float:hover {
            background: #128C7E;
            color: var(--white);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        }

        .whatsapp-float i {
            margin: 0;
        }

        .whatsapp-float-tooltip {
            position: absolute;
            right: 70px;
            background: var(--white);
            color: var(--text-dark);
            padding: 8px 15px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            white-space: nowrap;
            box-shadow: 0 2px 10px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .whatsapp-float:hover .whatsapp-float-tooltip {
            opacity: 1;
            visibility: visible;
        }

        .whatsapp-float-tooltip::after {
            content: '';
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            border-width: 6px;
            border-style: solid;
            border-color: transparent transparent transparent var(--white);
        }

        @keyframes whatsappPulse {
            0% {
                box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            }
            50% {
                box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
            }
            100% {
                box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            }
        }

        /* Responsive - Tablet */
        @media (max-width: 992px) {
            .header-actions {
                gap: 8px;
            }

            .orders-btn {
                padding: 6px 12px;
                font-size: 0.85rem;
            }

            .cart-btn {
                padding: 8px 12px;
            }

            .modal-body {
                flex-direction: column;
            }

            .modal-gallery, .modal-details {
                width: 100%;
            }
        }

        /* Responsive - Mobile */
        @media (max-width: 768px) {
            .header-top {
                padding: 5px 0;
            }

            .brand-logo {
                font-size: 1.2rem;
            }

            .brand-logo-img {
                height: 32px;
                padding: 3px 6px;
            }

            .header-actions {
                gap: 5px;
            }

            .orders-btn {
                padding: 4px 8px;
                font-size: 0.75rem;
                border-radius: 15px;
            }

            .orders-btn i {
                margin-right: 2px;
            }

            .cart-btn {
                padding: 5px 10px;
                border-radius: 15px;
                font-size: 0.8rem;
            }

            .cart-badge {
                padding: 1px 5px;
                font-size: 0.7rem;
            }

            .search-section {
                padding: 8px 0;
            }

            .search-input {
                padding: 8px 35px 8px 12px;
                font-size: 0.85rem;
            }

            .search-btn {
                width: 28px;
                height: 28px;
                font-size: 0.8rem;
            }

            .category-section {
                padding: 5px 0 7px;
            }

            .category-pill {
                padding: 4px 10px;
                font-size: 0.75rem;
            }

            .main-content {
                padding: 8px 0 80px;
            }

            .products-header {
                flex-direction: row;
                align-items: center;
                gap: 8px;
                margin-bottom: 10px;
            }

            .products-count {
                font-size: 0.85rem;
            }

            .sort-select {
                padding: 5px 10px;
                font-size: 0.8rem;
            }

            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .product-card {
                border-radius: 12px;
            }

            .product-category-badge {
                padding: 3px 8px;
                font-size: 0.65rem;
                top: 8px;
                left: 8px;
            }

            .product-like-btn {
                width: 30px;
                height: 30px;
                top: 8px;
                right: 8px;
            }

            .product-like-btn i {
                font-size: 0.85rem;
            }

            .product-info {
                padding: 10px;
            }

            .product-name {
                font-size: 0.85rem;
                -webkit-line-clamp: 2;
            }

            .product-price {
                font-size: 0.9rem;
            }

            .product-wholesale-price {
                font-size: 0.7rem;
            }

            .add-to-cart-btn,
            .product-whatsapp-btn,
            .product-share-btn {
                width: 28px;
                height: 28px;
                font-size: 0.7rem;
            }

            .product-actions {
                gap: 5px;
            }

            .product-likes-count {
                font-size: 0.65rem;
            }

            .product-meta {
                padding-top: 5px;
            }

            .product-time-ago {
                font-size: 0.6rem;
            }

            /* Carousel Mobile */
            .carousel-nav {
                width: 26px;
                height: 26px;
                font-size: 0.7rem;
            }

            .carousel-dots {
                bottom: 8px;
            }

            .carousel-dot {
                width: 5px;
                height: 5px;
            }

            .carousel-dot.active {
                width: 16px;
            }

            .image-count-badge {
                font-size: 0.65rem;
                padding: 2px 6px;
            }

            /* Cart Sidebar Mobile */
            .cart-sidebar {
                max-width: 100%;
                width: 100%;
            }

            .cart-header {
                padding: 15px;
            }

            .cart-header h2 {
                font-size: 1.1rem;
            }

            .cart-items {
                padding: 10px;
            }

            .cart-item {
                padding: 12px;
                gap: 10px;
            }

            .cart-item-image {
                width: 60px;
                height: 60px;
            }

            .cart-item-name {
                font-size: 0.85rem;
            }

            .cart-item-price {
                font-size: 0.8rem;
            }

            .cart-footer {
                padding: 15px;
            }

            .cart-total {
                font-size: 1rem;
            }

            .checkout-btn {
                padding: 12px;
                font-size: 0.95rem;
            }

            /* Modals Mobile */
            .product-modal,
            .checkout-modal,
            .orders-modal {
                padding: 10px;
            }

            .product-modal-content {
                border-radius: 15px;
                max-height: 95vh;
            }

            .modal-close-btn {
                width: 35px;
                height: 35px;
                top: 10px;
                right: 10px;
                font-size: 1rem;
            }

            .gallery-main-wrapper {
                min-height: 250px;
            }

            .gallery-main-image {
                height: 250px;
            }

            .gallery-thumbnails {
                padding: 8px;
                gap: 6px;
            }

            .gallery-thumbnail {
                width: 50px;
                height: 50px;
            }

            .modal-details {
                padding: 15px;
            }

            .modal-title {
                font-size: 1.2rem;
            }

            .modal-description {
                font-size: 0.9rem;
                margin-bottom: 15px;
            }

            .price-option {
                padding: 10px 12px;
            }

            .price-option-value {
                font-size: 1rem;
            }

            .modal-quantity {
                flex-wrap: wrap;
            }

            .modal-add-btn {
                padding: 12px;
                font-size: 0.95rem;
            }

            .whatsapp-btn {
                padding: 10px;
                font-size: 0.9rem;
            }

            /* Checkout Modal Mobile */
            .checkout-modal-content,
            .orders-modal-content {
                border-radius: 15px;
                max-height: 95vh;
            }

            .checkout-header,
            .orders-header {
                padding: 15px;
                border-radius: 15px 15px 0 0;
            }

            .checkout-header h2,
            .orders-header h2 {
                font-size: 1.1rem;
            }

            .checkout-body,
            .orders-body {
                padding: 15px;
            }

            .form-group {
                margin-bottom: 12px;
            }

            .form-control {
                padding: 10px 12px;
                font-size: 0.95rem;
            }

            .phone-lookup {
                flex-direction: column;
                gap: 8px;
            }

            .lookup-btn {
                width: 100%;
                padding: 12px;
            }

            .order-card {
                padding: 12px;
            }

            /* Floating WhatsApp Mobile */
            .whatsapp-float {
                bottom: 20px;
                right: 20px;
                width: 55px;
                height: 55px;
                font-size: 1.6rem;
            }

            .whatsapp-float-tooltip {
                display: none;
            }

            /* Footer Mobile */
            .shop-footer {
                padding: 25px 0;
            }

            .footer-content {
                flex-direction: column;
                gap: 25px;
                text-align: center;
            }

            .footer-logo {
                height: 70px;
                margin: 0 auto 10px;
            }

            .footer-section h4 {
                margin-bottom: 10px;
            }

            .social-links {
                justify-content: center;
            }

            .footer-bottom {
                padding-top: 15px;
                margin-top: 15px;
            }

            /* Load More */
            .load-more-container {
                padding: 20px;
            }

            .load-more-btn {
                padding: 10px 30px;
                font-size: 0.9rem;
            }

            /* Toast Mobile */
            .toast-container {
                bottom: 80px;
                right: 10px;
                left: 10px;
            }

            .toast {
                padding: 10px 15px;
                font-size: 0.9rem;
            }
        }

        /* Responsive - Medium Mobile (576px) */
        @media (max-width: 576px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            .product-info {
                padding: 8px;
            }

            .product-name {
                font-size: 0.8rem;
                -webkit-line-clamp: 2;
            }

            .product-price {
                font-size: 0.85rem;
            }

            .product-wholesale-price {
                font-size: 0.65rem;
            }

            .add-to-cart-btn,
            .product-whatsapp-btn,
            .product-share-btn {
                width: 26px;
                height: 26px;
                font-size: 0.65rem;
            }

            .product-actions {
                gap: 4px;
            }

            .product-likes-count {
                font-size: 0.6rem;
            }

            .product-meta {
                padding-top: 4px;
            }

            .product-time-ago {
                font-size: 0.55rem;
            }

            /* Carousel adjustments */
            .carousel-nav {
                width: 24px;
                height: 24px;
                font-size: 0.6rem;
            }

            .carousel-dots {
                bottom: 6px;
                gap: 3px;
            }

            .carousel-dot {
                width: 4px;
                height: 4px;
            }

            .carousel-dot.active {
                width: 12px;
            }

            .image-count-badge {
                font-size: 0.55rem;
                padding: 2px 5px;
            }

            .product-category-badge {
                padding: 2px 6px;
                font-size: 0.55rem;
            }

            .product-like-btn {
                width: 26px;
                height: 26px;
            }

            .product-like-btn i {
                font-size: 0.75rem;
            }
        }

        /* Responsive - Small Mobile */
        @media (max-width: 480px) {
            body, html {
                overflow-x: hidden;
                max-width: 100vw;
            }

            .container {
                padding-left: 8px;
                padding-right: 8px;
                max-width: 100%;
            }

            .header-top {
                padding: 4px 0;
            }

            .header-top .container {
                padding-left: 8px;
                padding-right: 8px;
            }

            .header-actions {
                gap: 4px;
                flex-shrink: 0;
            }

            .brand-logo-img {
                height: 28px;
                padding: 2px 5px;
            }

            /* Hide button text on small screens */
            .btn-text {
                display: none;
            }

            .orders-btn {
                padding: 5px 8px;
            }

            .orders-btn i {
                font-size: 0.9rem;
                margin: 0;
            }

            .search-section {
                padding: 6px 0;
            }

            .search-input {
                padding: 7px 32px 7px 10px;
                font-size: 0.8rem;
            }

            .search-btn {
                width: 26px;
                height: 26px;
            }

            .category-section {
                padding: 5px 0 6px;
            }

            .category-pill {
                padding: 3px 8px;
                font-size: 0.7rem;
            }

            .cart-btn {
                padding: 6px 10px;
            }

            .cart-badge {
                padding: 1px 5px;
                font-size: 0.7rem;
            }

            .search-container {
                max-width: 100%;
            }

            .main-content {
                padding: 6px 0 80px;
            }

            .products-header {
                margin-bottom: 8px;
                gap: 6px;
            }

            .products-count {
                font-size: 0.8rem;
            }

            .sort-select {
                padding: 4px 8px;
                font-size: 0.75rem;
            }

            .products-grid {
                grid-template-columns: 1fr;
                gap: 12px;
                max-width: 100%;
            }

            /* Vertical card layout like social media posts */
            .product-card {
                display: flex;
                flex-direction: column;
                border-radius: 12px;
                max-width: 100%;
                overflow: hidden;
            }

            .product-image-container {
                width: 100%;
                min-width: 100%;
                padding-top: 100%; /* Square aspect ratio */
                height: auto;
                border-radius: 12px 12px 0 0;
            }

            .product-image {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 12px 12px 0 0;
            }

            .product-carousel {
                height: 100%;
            }

            .product-carousel-slide {
                height: 100%;
            }

            .product-carousel-slide img {
                border-radius: 12px 12px 0 0;
            }

            .carousel-nav {
                width: 32px;
                height: 32px;
                font-size: 0.8rem;
                opacity: 0.9;
            }

            .carousel-nav.prev {
                left: 8px;
            }

            .carousel-nav.next {
                right: 8px;
            }

            .carousel-dots {
                bottom: 10px;
                gap: 5px;
            }

            .carousel-dot {
                width: 6px;
                height: 6px;
            }

            .carousel-dot.active {
                width: 18px;
            }

            .image-count-badge {
                bottom: 10px;
                right: 10px;
                padding: 4px 8px;
                font-size: 0.7rem;
            }

            .product-category-badge {
                top: 10px;
                left: 10px;
                padding: 4px 10px;
                font-size: 0.7rem;
            }

            .product-like-btn {
                top: 10px;
                right: 10px;
                width: 36px;
                height: 36px;
            }

            .product-like-btn i {
                font-size: 1rem;
            }

            .product-info {
                padding: 12px 15px;
                display: flex;
                flex-direction: column;
            }

            .product-name {
                font-size: 1rem;
                font-weight: 600;
                margin-bottom: 6px;
                -webkit-line-clamp: 2;
            }

            .product-price {
                font-size: 1.1rem;
                font-weight: 700;
                color: var(--primary-red);
            }

            .product-wholesale-price {
                font-size: 0.8rem;
                margin-top: 2px;
            }

            .product-footer {
                margin-top: 8px;
                flex-wrap: nowrap;
                align-items: center;
            }

            .product-pricing {
                flex: 1;
            }

            .add-to-cart-btn,
            .product-whatsapp-btn,
            .product-share-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .product-actions {
                gap: 8px;
            }

            .product-likes-count {
                font-size: 0.8rem;
            }

            .product-meta {
                padding-top: 8px;
                border-top: 1px solid var(--medium-grey);
                margin-top: 10px;
            }

            .product-time-ago {
                font-size: 0.75rem;
            }

            /* Skeleton for vertical cards */
            .product-card-skeleton .skeleton-img {
                padding-top: 100%;
            }

            .gallery-main-wrapper {
                min-height: 220px;
            }

            .gallery-main-image {
                height: 220px;
            }

            .modal-title {
                font-size: 1.1rem;
            }

            .success-modal-content {
                padding: 25px 15px;
            }

            .success-icon {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }

            .order-number {
                font-size: 1.2rem;
                padding: 12px 20px;
            }

            .success-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
                display: block;
                width: 100%;
                margin: 5px 0;
            }

            /* Modal improvements for small screens */
            .product-modal,
            .checkout-modal,
            .orders-modal {
                padding: 5px;
            }

            .product-modal-content {
                max-height: 98vh;
                border-radius: 12px;
            }

            .modal-body {
                flex-direction: column;
            }

            .modal-gallery {
                max-height: 40vh;
            }

            .modal-details {
                padding: 12px;
                max-height: 55vh;
                overflow-y: auto;
            }

            .gallery-thumbnails {
                padding: 6px;
                gap: 4px;
            }

            .gallery-thumbnail {
                width: 45px;
                height: 45px;
            }

            .modal-close-btn {
                width: 32px;
                height: 32px;
                top: 8px;
                right: 8px;
            }

            .price-options {
                gap: 8px;
            }

            .price-option {
                padding: 8px 10px;
            }

            .modal-actions {
                flex-direction: column;
                gap: 8px;
            }

            .modal-actions button {
                width: 100%;
            }
        }

        /* Fix for iOS input zoom */
        @media (max-width: 768px) {
            input[type="text"],
            input[type="email"],
            input[type="tel"],
            textarea,
            select {
                font-size: 16px !important;
            }
        }

        /* Smooth scrolling for category pills */
        .category-section {
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .category-section::-webkit-scrollbar {
            display: none;
        }

        /* Better touch targets */
        @media (hover: none) and (pointer: coarse) {
            .product-card:hover {
                transform: none;
                box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            }

            .product-card:active {
                transform: scale(0.98);
            }

            .product-like-btn:hover {
                transform: none;
            }

            .add-to-cart-btn:hover {
                transform: none;
            }

            .product-whatsapp-btn:hover {
                transform: none;
            }

            .product-share-btn:hover {
                transform: none;
            }

            /* Minimum touch target size */
            .product-like-btn,
            .add-to-cart-btn,
            .product-whatsapp-btn,
            .product-share-btn,
            .carousel-nav {
                min-width: 44px;
                min-height: 44px;
            }

            .category-pill {
                min-height: 36px;
                display: inline-flex;
                align-items: center;
            }
        }

        /* Very small screens (320px and below) */
        @media (max-width: 320px) {
            .header-top .container {
                padding-left: 5px;
                padding-right: 5px;
            }

            .brand-logo-img {
                height: 24px;
                padding: 2px 4px;
            }

            .cart-btn {
                padding: 4px 6px;
                font-size: 0.75rem;
            }

            .orders-btn {
                padding: 4px 6px;
            }

            .search-input {
                padding: 6px 28px 6px 8px;
                font-size: 0.75rem;
            }

            .search-btn {
                width: 24px;
                height: 24px;
            }

            .category-pill {
                padding: 3px 6px;
                font-size: 0.65rem;
            }

            /* Keep vertical layout, just adjust sizes */
            .product-image-container {
                width: 100%;
                min-width: 100%;
                padding-top: 100%;
                height: auto;
            }

            .product-carousel,
            .product-carousel-slide,
            .product-image {
                height: 100%;
            }

            .product-info {
                padding: 10px;
            }

            .product-name {
                font-size: 0.9rem;
            }

            .product-price {
                font-size: 1rem;
            }

            .add-to-cart-btn,
            .product-whatsapp-btn,
            .product-share-btn {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }
        }

        /* Safe area insets for modern phones with notches */
        @supports (padding: env(safe-area-inset-bottom)) {
            .shop-header {
                padding-top: env(safe-area-inset-top);
            }

            .main-content {
                padding-bottom: calc(80px + env(safe-area-inset-bottom));
            }

            .cart-sidebar {
                padding-bottom: env(safe-area-inset-bottom);
            }

            .cart-footer {
                padding-bottom: calc(15px + env(safe-area-inset-bottom));
            }

            .checkout-modal .modal-content,
            .orders-modal .modal-content {
                padding-bottom: env(safe-area-inset-bottom);
            }
        }

        /* Landscape orientation on mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            .shop-header {
                position: relative;
            }

            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }

            .product-card {
                flex-direction: row;
            }

            .product-image-container {
                width: 120px;
                min-width: 120px;
                height: 120px;
                padding-top: 0;
            }

            .modal-body {
                max-height: 90vh;
                overflow-y: auto;
            }
        }

        /* Improved scrolling momentum */
        .category-pills,
        .cart-items,
        .gallery-thumbnails {
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }

        /* Prevent pull-to-refresh on mobile when scrolling modals */
        .modal-content {
            overscroll-behavior: contain;
        }

        /* Better focus states for accessibility */
        @media (max-width: 768px) {
            .product-like-btn:focus,
            .add-to-cart-btn:focus,
            .product-whatsapp-btn:focus,
            .product-share-btn:focus,
            .carousel-nav:focus {
                outline: 2px solid var(--primary-red);
                outline-offset: 2px;
            }

            .search-input:focus {
                box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.2);
            }
        }

        /* Mobile device specific styles */
        body.is-mobile {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
        }

        body.is-mobile .product-card {
            cursor: default;
        }

        body.is-mobile .category-pill {
            cursor: default;
        }

        body.is-mobile .product-image-container {
            user-select: none;
            -webkit-user-select: none;
        }

        /* Smooth animations for mobile */
        body.is-mobile .product-carousel {
            will-change: transform;
        }

        body.is-mobile .cart-sidebar,
        body.is-mobile .product-modal,
        body.is-mobile .checkout-modal {
            will-change: opacity, transform;
        }

        /* Portfolio Section in Modal */
        .portfolio-section {
            padding: 15px;
            background: var(--light-grey);
        }

        .portfolio-section h4 {
            margin-bottom: 12px;
            font-size: 1rem;
        }

        .portfolio-gallery {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .portfolio-item {
            flex-shrink: 0;
            width: 150px;
        }

        .portfolio-item img {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border-radius: 10px;
        }

        .portfolio-item p {
            font-size: 0.8rem;
            margin-top: 5px;
            color: var(--dark-grey);
        }
        /* ── Typography ── */
        .brand-name {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.2px;
        }

        .product-name {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            line-height: 1.35;
            letter-spacing: -0.1px;
        }

        /* ── Header single-row layout ── */
        .header-main-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
        }

        .header-center {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
        }

        .brand-inline {
            white-space: nowrap;
            flex-shrink: 0;
        }

        .brand-inline .brand-name {
            font-size: 1.2rem;
            line-height: 1.2;
        }

        .header-search {
            flex: 1;
            margin: 0 !important;
        }

        .header-contacts {
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
            flex-shrink: 0;
            font-size: 0.78rem;
        }

        .header-divider {
            width: 1px;
            height: 24px;
            background: #ddd;
            flex-shrink: 0;
        }

        [data-theme="dark"] .header-divider {
            background: rgba(255,255,255,0.15);
        }

        /* Hide old search section */
        .search-section { display: none !important; }

        @media (max-width: 992px) {
            .header-contacts { display: none !important; }
            .header-divider { display: none; }
        }

        @media (max-width: 768px) {
            .brand-inline .brand-name { font-size: 1rem; }
            .header-search { max-width: 260px; }
        }

        /* Mobile: hide inline search, show toggle search bar */
        @media (max-width: 480px) {
            .header-center { display: none !important; }
            .mobile-search-toggle { display: flex !important; }
        }

        /* Mobile search bar */
        .mobile-search-bar {
            display: none;
            padding: 8px 0;
            background: var(--white);
            border-bottom: 1px solid var(--border-color);
            animation: slideDown 0.2s ease;
        }

        .mobile-search-bar.open {
            display: block;
        }

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

        .mobile-search-input {
            font-size: 16px !important;
            width: 100%;
        }

        /* Mobile search toggle button in header */
        .mobile-search-toggle {
            display: none;
            background: rgba(0,0,0,0.06);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-dark);
            font-size: 0.9rem;
            transition: background 0.2s;
        }

        .mobile-search-toggle:hover { background: rgba(0,0,0,0.1); }

        [data-theme="dark"] .mobile-search-bar {
            background: #1e2e1e;
            border-bottom-color: rgba(255,255,255,0.08);
        }
        [data-theme="dark"] .mobile-search-toggle {
            background: rgba(255,255,255,0.15);
            color: #fff;
        }

        /* ── Header: white light theme ── */
        .shop-header {
            background: #ffffff;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            border-bottom: 1px solid #e8e8e8;
        }

        /* Text colors on white header */
        .brand-name { color: var(--primary-red) !important; }
        .contact-link { color: #555 !important; }
        .contact-link:hover { color: var(--primary-red) !important; }
        .contact-separator { color: #ccc !important; }

        /* Buttons on white header */
        .lang-toggle {
            background: #f0f0f0 !important;
            color: #333 !important;
        }
        .lang-toggle:hover { background: #e0e0e0 !important; }

        .theme-toggle {
            background: #f0f0f0 !important;
            color: #333 !important;
        }
        .theme-toggle:hover { background: #e0e0e0 !important; }

        .orders-btn {
            border-color: var(--primary-red) !important;
            color: var(--primary-red) !important;
            background: transparent !important;
        }
        .orders-btn:hover {
            background: var(--primary-red) !important;
            color: #fff !important;
        }

        .cart-btn {
            background: var(--primary-red) !important;
            color: #fff !important;
        }
        .cart-btn:hover { background: var(--primary-dark) !important; }

        .cart-badge {
            background: #fff !important;
            color: var(--primary-red) !important;
        }

        /* Category pills on white header */
        .category-pill {
            background: #f0f0f0 !important;
            color: #444 !important;
            border-color: transparent !important;
        }
        .category-pill:hover {
            background: var(--primary-red) !important;
            color: #fff !important;
        }
        .category-pill.active {
            background: var(--primary-red) !important;
            color: #fff !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        }

        /* Search on white header */
        .search-input {
            border: 1.5px solid #ddd !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
        }
        .search-input:focus {
            border-color: var(--primary-red) !important;
        }

        /* Dark mode header — dark green tint */
        [data-theme="dark"] .shop-header {
            background: #1e2e1e !important;
            border-bottom: 1px solid rgba(255,255,255,0.08) !important;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
        }
        [data-theme="dark"] .brand-name { color: #fff !important; }
        [data-theme="dark"] .contact-link { color: rgba(255,255,255,0.9) !important; }
        [data-theme="dark"] .contact-separator { color: rgba(255,255,255,0.4) !important; }
        [data-theme="dark"] .lang-toggle { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
        [data-theme="dark"] .theme-toggle { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
        [data-theme="dark"] .orders-btn { border-color: rgba(255,255,255,0.5) !important; color: #fff !important; background: transparent !important; }
        [data-theme="dark"] .orders-btn:hover { background: rgba(255,255,255,0.1) !important; border-color: #fff !important; }
        [data-theme="dark"] .cart-btn { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
        [data-theme="dark"] .cart-badge { background: #fff !important; color: var(--primary-red) !important; }
        [data-theme="dark"] .category-pill { background: rgba(255,255,255,0.18) !important; color: #fff !important; }
        [data-theme="dark"] .category-pill.active { background: #fff !important; color: var(--primary-red) !important; }
        [data-theme="dark"] .search-input { border-color: transparent !important; }

        /* ── Dark mode product cards ── */
        [data-theme="dark"] .product-card {
            background: #222222;
            border: 1px solid rgba(255,255,255,0.07);
            box-shadow: 0 2px 16px rgba(0,0,0,0.4);
        }
        [data-theme="dark"] .product-card:hover {
            border-color: rgba(255,255,255,0.14);
            box-shadow: 0 14px 40px rgba(0,0,0,0.55);
            background: #272727;
        }

        /* Dark image area */
        [data-theme="dark"] .product-image-container {
            background: #252525;
        }
        [data-theme="dark"] .product-image-container .skeleton-image {
            background: linear-gradient(90deg, #252525 25%, #2f2f2f 37%, #252525 63%);
        }

        /* Darken placeholder images in dark mode */
        [data-theme="dark"] .product-image,
        [data-theme="dark"] .product-carousel-slide img {
            filter: brightness(0.75) saturate(0.9);
        }

        /* Dark overlay on image bottom */
        [data-theme="dark"] .product-image-container::after {
            background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
        }

        /* Dark card text */
        [data-theme="dark"] .product-name {
            color: #f0f0f0;
        }
        [data-theme="dark"] .product-meta {
            border-top-color: rgba(255,255,255,0.07);
        }

        /* Dark body background — softer than pure black */
        [data-theme="dark"] body {
            background-color: #141414;
        }

        /* Sort select in dark */
        [data-theme="dark"] .sort-select {
            background: #1e1e1e;
            color: #e0e0e0;
            border-color: rgba(255,255,255,0.12);
        }

        /* Products count text */
        [data-theme="dark"] .products-count {
            color: #999;
        }

        /* Like btn dark */
        [data-theme="dark"] .product-like-btn {
            background: #2a2a2a;
            box-shadow: 0 2px 8px rgba(0,0,0,0.4);
        }
        [data-theme="dark"] .product-like-btn i {
            color: #aaa;
        }
        [data-theme="dark"] .product-like-btn.liked i {
            color: var(--primary-red);
        }

        /* Action buttons dark */
        [data-theme="dark"] .product-share-btn {
            background: #3a3a3a;
        }

        /* Load more dark */
        [data-theme="dark"] .load-more-btn {
            border-color: var(--primary-red);
            color: var(--primary-red);
        }
        [data-theme="dark"] .load-more-btn:hover {
            background: var(--primary-red);
            color: #fff;
        }


        /* ── Search input ── */
        .search-input {
            border-radius: 30px;
            padding: 11px 44px 11px 20px;
            font-size: 0.88rem;
            border: 2px solid transparent;
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
            transition: border-color 0.25s, box-shadow 0.25s;
        }

        .search-input:focus {
            border-color: var(--primary-red);
            box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 3px rgba(var(--primary-r,220),var(--primary-g,50),var(--primary-b,50),0.12);
            outline: none;
        }

        .search-btn {
            width: 34px;
            height: 34px;
            right: 5px;
        }

        /* ── Category pills ── */
        .category-pill {
            padding: 5px 16px;
            border-radius: 20px;
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.2px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            background: rgba(255,255,255,0.18);
            border: 1px solid rgba(255,255,255,0.25);
            transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
        }

        .category-pill:hover {
            transform: translateY(-1px);
        }

        .category-pill.active {
            background: #fff;
            color: var(--primary-red);
            border-color: transparent;
            box-shadow: 0 2px 10px rgba(0,0,0,0.12);
        }

        /* ── Product card redesign ── */
        .product-card {
            border-radius: 16px;
            border: 1px solid transparent;
            box-shadow: 0 2px 12px rgba(0,0,0,0.07);
            transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, border-color 0.25s;
            overflow: hidden;
        }

        .product-card:hover {
            transform: translateY(-6px) scale(1.01);
            box-shadow: 0 16px 40px rgba(0,0,0,0.14);
            border-color: rgba(var(--primary-r,220),var(--primary-g,50),var(--primary-b,50),0.15);
        }

        [data-theme="dark"] .product-card:hover {
            border-color: rgba(255,255,255,0.08);
        }

        /* Card entrance animation */
        @keyframes cardFadeUp {
            from { opacity: 0; transform: translateY(18px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .product-card {
            animation: cardFadeUp 0.4s ease both;
        }

        /* Stagger delay for first 10 cards */
        .product-card:nth-child(1)  { animation-delay: 0.04s; }
        .product-card:nth-child(2)  { animation-delay: 0.08s; }
        .product-card:nth-child(3)  { animation-delay: 0.12s; }
        .product-card:nth-child(4)  { animation-delay: 0.16s; }
        .product-card:nth-child(5)  { animation-delay: 0.20s; }
        .product-card:nth-child(6)  { animation-delay: 0.24s; }
        .product-card:nth-child(7)  { animation-delay: 0.28s; }
        .product-card:nth-child(8)  { animation-delay: 0.32s; }
        .product-card:nth-child(9)  { animation-delay: 0.36s; }
        .product-card:nth-child(10) { animation-delay: 0.40s; }

        /* Image hover zoom */
        .product-image-container {
            border-radius: 14px 14px 0 0;
            overflow: hidden;
        }

        .product-card:hover .product-image,
        .product-card:hover .product-carousel-slide img {
            transform: scale(1.06);
        }

        /* Gradient overlay on image bottom */
        .product-image-container::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to top, rgba(0,0,0,0.22) 0%, transparent 100%);
            pointer-events: none;
            z-index: 2;
        }

        /* ── Price ── */
        .product-price {
            font-size: 1.05rem;
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
        }

        /* ── Product info padding ── */
        .product-info {
            padding: 14px;
        }

        /* ── Category badge ── */
        .product-category-badge {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            padding: 3px 10px;
            border-radius: 20px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            background: rgba(var(--primary-r,220),var(--primary-g,50),var(--primary-b,50),0.88);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            z-index: 5;
        }

        /* ── Like button ── */
        .product-like-btn {
            width: 34px;
            height: 34px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.18);
            transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
            z-index: 5;
        }

        .product-like-btn:hover {
            transform: scale(1.18);
            box-shadow: 0 4px 16px rgba(0,0,0,0.22);
        }

        .product-like-btn.liked {
            background: #fff5f5;
        }

        /* ── Action buttons ── */
        .add-to-cart-btn,
        .product-whatsapp-btn,
        .product-share-btn {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.12);
            transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s, background 0.2s;
        }

        .add-to-cart-btn:hover,
        .product-whatsapp-btn:hover,
        .product-share-btn:hover {
            transform: translateY(-2px) scale(1.08);
            box-shadow: 0 6px 16px rgba(0,0,0,0.18);
        }

        /* ── Products header ── */
        .products-count {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--dark-grey);
            letter-spacing: 0.1px;
        }

        .sort-select {
            border-radius: 22px;
            font-size: 0.82rem;
            font-weight: 500;
            padding: 6px 14px;
            border: 1.5px solid var(--border-color);
            cursor: pointer;
            transition: border-color 0.2s;
        }

        .sort-select:focus {
            outline: none;
            border-color: var(--primary-red);
        }

        /* ── Product grid ── */
        .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(255px, 290px));
            justify-content: center;
            gap: 18px;
        }

        /* ── Load more button ── */
        .load-more-btn {
            border: 2px solid var(--primary-red);
            background: transparent;
            color: var(--primary-red);
            padding: 12px 40px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
        }

        .load-more-btn:hover {
            background: var(--primary-red);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

        /* ══════════════════════════════════════
           Product Detail Modal Improvements
        ══════════════════════════════════════ */

        .product-modal-content {
            border-radius: 24px;
            box-shadow: 0 24px 64px rgba(0,0,0,0.25);
            overflow: hidden;
            width: calc(100% - 40px);
            max-width: 860px;
        }

        /* Image panel */
        .modal-gallery {
            background: #f8f8f8;
            border-right: 1px solid var(--border-color);
            flex: 0 0 50%;
            min-width: 0;
            overflow-y: auto;
        }

        @media (min-width: 768px) {
            .modal-body { max-height: 90vh; overflow: hidden; }
            .modal-details { flex: 1; min-width: 0; overflow-y: auto; max-height: 90vh; }
            .modal-gallery { overflow-y: auto; max-height: 90vh; }
        }

        .gallery-main-wrapper {
            min-height: 360px !important;
            background: #f0f0f0;
        }

        .gallery-main-image {
            height: 360px !important;
            object-fit: contain !important;
            background: #f8f8f8;
            padding: 12px;
        }

        /* Close button */
        .modal-close-btn {
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            font-size: 1rem;
            background: rgba(0,0,0,0.35);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            transition: background 0.2s, transform 0.2s;
        }

        .modal-close-btn:hover {
            background: rgba(0,0,0,0.6);
            transform: rotate(90deg);
        }

        /* Details panel */
        .modal-details {
            padding: 28px 28px 24px;
            gap: 0;
            min-width: 0;
            overflow: hidden;
        }

        /* Category badge */
        .modal-category {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 20px;
            background: rgba(var(--primary-r,40),var(--primary-g,120),var(--primary-b,40),0.1);
            color: var(--primary-red);
            border: 1px solid rgba(var(--primary-r,40),var(--primary-g,120),var(--primary-b,40),0.2);
            margin-bottom: 12px;
        }

        /* Product title */
        .modal-title {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 10px;
            color: var(--text-dark);
            letter-spacing: -0.3px;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Description */
        .modal-description {
            font-size: 0.85rem;
            line-height: 1.65;
            color: var(--dark-grey);
            margin-bottom: 20px;
            padding-bottom: 18px;
            border-bottom: 1px solid var(--border-color);
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Price options — card style */
        .modal-pricing {
            margin-bottom: 18px;
        }

        .price-options {
            display: flex;
            gap: 10px;
        }

        .price-option {
            flex: 1;
            flex-direction: column;
            align-items: flex-start;
            padding: 12px 14px;
            border-radius: 14px;
            border: 2px solid var(--border-color);
            background: var(--body-bg);
            transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
            gap: 4px;
        }

        .price-option:hover {
            border-color: var(--primary-red);
            background: var(--white);
        }

        .price-option.selected {
            border-color: var(--primary-red);
            background: var(--white);
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        }

        .price-option input[type="radio"] {
            display: none;
        }

        .price-option-label {
            font-size: 0.72rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--dark-grey);
        }

        .price-option.selected .price-option-label {
            color: var(--primary-red);
        }

        .price-option-value {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--text-dark);
        }

        .price-option.selected .price-option-value {
            color: var(--primary-red);
        }

        /* Quantity */
        .modal-quantity {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 18px;
            padding: 14px 16px;
            background: var(--body-bg);
            border-radius: 14px;
            border: 1px solid var(--border-color);
        }

        .modal-quantity label {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            color: var(--dark-grey);
            flex: 1;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 0;
            background: var(--white);
            border: 1.5px solid var(--border-color);
            border-radius: 30px;
            overflow: hidden;
        }

        .quantity-btn {
            width: 36px;
            height: 36px;
            font-size: 0.8rem;
            color: var(--text-dark);
            background: transparent;
            transition: background 0.15s;
        }

        .quantity-btn:hover {
            background: var(--light-grey);
        }

        .quantity-value {
            min-width: 36px;
            text-align: center;
            font-weight: 700;
            font-size: 0.95rem;
        }

        /* Add to cart button */
        .modal-add-btn {
            width: 100%;
            padding: 14px;
            border-radius: 30px;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            margin-bottom: 10px;
            transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
        }

        .modal-add-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        }

        /* WhatsApp button */
        .whatsapp-btn {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            background: #25D366;
            color: #fff;
            text-decoration: none;
            transition: background 0.2s, transform 0.18s;
        }

        .whatsapp-btn:hover {
            background: #1ebe5c;
            color: #fff;
            transform: translateY(-2px);
        }

        /* Dark mode modal */
        [data-theme="dark"] .modal-gallery {
            background: #1a1a1a;
            border-right-color: rgba(255,255,255,0.08);
        }
        [data-theme="dark"] .gallery-main-wrapper,
        [data-theme="dark"] .gallery-main-image {
            background: #1e1e1e;
        }
        [data-theme="dark"] .modal-description {
            border-bottom-color: rgba(255,255,255,0.08);
        }
        [data-theme="dark"] .price-option {
            background: #1e1e1e;
            border-color: rgba(255,255,255,0.1);
        }
        [data-theme="dark"] .price-option.selected {
            background: #252525;
        }
        [data-theme="dark"] .modal-quantity {
            background: #1e1e1e;
            border-color: rgba(255,255,255,0.08);
        }
        [data-theme="dark"] .quantity-control {
            background: #252525;
            border-color: rgba(255,255,255,0.1);
        }
        [data-theme="dark"] .quantity-btn { color: #e0e0e0; }
        [data-theme="dark"] .quantity-btn:hover { background: #333; }
        [data-theme="dark"] .quantity-value { color: #fff; }

        /* ── Checkout / Place Order button ── */
        .place-order-btn {
            border-radius: 30px;
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
            letter-spacing: 0.3px;
            transition: transform 0.18s, box-shadow 0.18s;
        }

        .place-order-btn:not(:disabled):hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        }

        /* ── Checkout btn ── */
        .checkout-btn {
            border-radius: 30px;
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
            letter-spacing: 0.3px;
            transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
        }

        .checkout-btn:not(:disabled):hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        }

        /* ── Product meta ── */
        .product-meta {
            border-top-color: var(--border-color);
            margin-top: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .product-meta-left {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .product-meta-right {
            flex-shrink: 0;
        }

        .product-time-ago {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.68rem;
            color: #999;
        }

        .product-time-ago i {
            font-size: 0.62rem;
        }

        .product-likes-count {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--dark-grey);
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .product-likes-count i {
            color: var(--primary-red);
            font-size: 0.65rem;
        }

        [data-theme="dark"] .product-time-ago {
            color: #666;
        }

        /* ── Cart sidebar header ── */
        .cart-header {
            background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
        }

        .cart-header h2 {
            font-weight: 700;
            font-size: 1.2rem;
        }

        /* ── Footer polish ── */
        .shop-footer {
            border-top: 2px solid var(--border-color);
        }

        /* ── Spinner ── */
        .spinner {
            border-radius: 50%;
            border-top-color: var(--primary-red);
            border-right-color: transparent;
            border-bottom-color: transparent;
            border-left-color: transparent;
            border: 4px solid var(--medium-grey);
            border-top-color: var(--primary-red);
            width: 44px;
            height: 44px;
        }

        /* ── Image count badge refinement ── */
        .image-count-badge {
            border-radius: 20px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            background: rgba(0,0,0,0.5);
            font-weight: 600;
            z-index: 5;
        }

        /* ── No animation on touch devices ── */
        @media (hover: none) and (pointer: coarse) {
            .product-card:hover {
                transform: none;
                box-shadow: 0 2px 12px rgba(0,0,0,0.07);
            }
        }

        /* ══════════════════════════════════
           Mobile Category Improvements
        ══════════════════════════════════ */
        @media (max-width: 768px) {

            /* Wrap the category section for fade-edge effect */
            .category-section {
                position: relative;
                padding: 10px 0 12px;
            }

            .category-pills {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
                padding: 2px 8px 4px;
            }

            .category-pill {
                flex-shrink: 0;
                padding: 6px 14px;
                font-size: 0.75rem;
                font-weight: 600;
                border-radius: 20px;
                min-height: 34px;
                display: inline-flex;
                align-items: center;
                white-space: nowrap;
                letter-spacing: 0.2px;
                transition: background 0.2s, color 0.2s, transform 0.15s;
            }

            .category-pill:active {
                transform: scale(0.95);
            }

            .category-pill.active {
                box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            }
        }

        @media (max-width: 480px) {
            .category-pill {
                padding: 5px 12px;
                font-size: 0.72rem;
                min-height: 32px;
            }
        }
