
        :root {
            --primary: #FF6B6B;
            --primary-dark: #ee5a24;
            --secondary: #4ECDC4;
            --secondary-dark: #3dbdb5;
            --accent: #FFE66D;
            --dark: #2C3E50;
            --light: #F8F9FA;
            --gray: #6c757d;
            --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
            --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
            --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
            --radius: 20px;
            --radius-sm: 14px;
        }

        * {
            font-family: 'Fredoka', 'Nunito', sans-serif;
            box-sizing: border-box;
        }

        body {
            background: #f5f7fa;
            color: var(--dark);
            overflow-x: hidden;
        }

        /* ========== NAVBAR ========== */
        .navbar {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(12px);
            box-shadow: var(--shadow-sm);
            padding: 0.7rem 0;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            box-shadow: var(--shadow-md);
        }

        .navbar-brand {
            color: var(--primary) !important;
            font-weight: 700;
            font-size: 1.65rem;
            letter-spacing: -0.5px;
        }

        .navbar-brand i {
            margin-right: 6px;
        }

        .nav-link {
            color: var(--dark) !important;
            font-weight: 600;
            padding: 0.5rem 1rem !important;
            border-radius: 50px;
            transition: all 0.25s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary) !important;
            background: rgba(255,107,107,0.08);
        }

        .cart-link {
            position: relative;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(78,205,196,0.12);
            border-radius: 50%;
            color: var(--secondary) !important;
            transition: all 0.25s ease;
        }

        .cart-link:hover {
            background: var(--secondary);
            color: white !important;
            transform: scale(1.08);
        }

        .cart-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            min-width: 20px;
            height: 20px;
            font-size: 0.7rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
        }

        .navbar-toggler {
            border: none;
            padding: 0.4rem;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        /* ========== SEARCH BAR ========== */
        .search-container {
            position: relative;
            max-width: 500px;
            margin: 0 auto 30px;
        }

        .search-container .search-input {
            border-radius: 50px;
            border: 2px solid #e9ecef;
            padding: 12px 20px 12px 50px;
            font-size: 1rem;
            width: 100%;
            transition: all 0.3s ease;
            background: white;
            box-shadow: var(--shadow-sm);
        }

        .search-container .search-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(255,107,107,0.15);
            outline: none;
        }

        .search-container .search-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            font-size: 1.1rem;
        }

        .search-container .search-clear {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray);
            display: none;
            cursor: pointer;
            font-size: 1.2rem;
        }

        .search-container .search-clear:hover {
            color: var(--primary);
        }

        .search-container .search-results-count {
            text-align: center;
            margin-top: 10px;
            font-size: 0.9rem;
            color: var(--gray);
        }

        .search-container .search-results-count strong {
            color: var(--dark);
        }

        /* ========== HERO ========== */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, #ff8e53 50%, #ee5a24 100%);
            color: white;
            padding: 70px 0 60px;
            margin-bottom: 60px;
            border-radius: 0 0 40px 40px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.06);
            border-radius: 50%;
        }

        .hero h1 {
            font-size: clamp(2.2rem, 5vw, 3.4rem);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        .hero .lead {
            font-size: 1.15rem;
            opacity: 0.95;
            max-width: 480px;
        }

        .btn-hero {
            background: white;
            color: var(--primary);
            border: none;
            border-radius: 50px;
            padding: 14px 32px;
            font-weight: 700;
            font-size: 1.05rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
        }

        .btn-hero:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.2);
            color: var(--primary-dark);
        }

        .hero-carousel {
            max-width: 520px;
            margin: 0 auto;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.25);
            border: 5px solid rgba(255,255,255,0.25);
        }

        .hero-carousel img {
            height: 280px;
            object-fit: cover;
            width: 100%;
        }

        .hero-carousel .carousel-control-prev-icon,
        .hero-carousel .carousel-control-next-icon {
            background-color: rgba(0,0,0,0.35);
            border-radius: 50%;
            width: 42px;
            height: 42px;
            background-size: 50%;
        }

        .hero-carousel .carousel-indicators [data-bs-target] {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
        }

        .hero-carousel .carousel-indicators .active {
            background-color: white;
        }

        /* ========== SECTION TITLES ========== */
        .section-title {
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 2.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 4px;
        }

        /* ========== CATEGORY FILTER BAR - SIDE BY SIDE SCROLLABLE ========== */
        .category-filter-wrapper {
            position: relative;
            margin-bottom: 2rem;
            background: white;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
            padding: 12px 8px;
        }

        .category-filter-scroll {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            gap: 8px;
            padding: 4px 4px 8px 4px;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: var(--secondary) #e9ecef;
        }

        .category-filter-scroll::-webkit-scrollbar {
            height: 4px;
        }

        .category-filter-scroll::-webkit-scrollbar-track {
            background: #e9ecef;
            border-radius: 4px;
        }

        .category-filter-scroll::-webkit-scrollbar-thumb {
            background: var(--secondary);
            border-radius: 4px;
        }

        .category-filter-scroll::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-dark);
        }

        .filter-btn {
            flex: 0 0 auto;
            padding: 8px 18px;
            border-radius: 50px;
            border: 2px solid #e9ecef;
            background: white;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            cursor: pointer;
            color: var(--dark);
            white-space: nowrap;
        }

        .filter-btn:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(255,107,107,0.3);
        }

        .filter-btn .category-icon {
            margin-right: 4px;
        }

        .filter-btn .category-count {
            background: rgba(0,0,0,0.08);
            padding: 0 8px;
            border-radius: 50px;
            font-size: 0.65rem;
            margin-left: 4px;
        }

        .filter-btn.active .category-count {
            background: rgba(255,255,255,0.25);
            color: white;
        }

        .filter-btn.clear-filter {
            background: transparent;
            border: 2px dashed #dee2e6;
            color: var(--gray);
        }

        .filter-btn.clear-filter:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        /* Scroll buttons for category filter */
        .scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: white;
            box-shadow: var(--shadow-sm);
            color: var(--dark);
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .scroll-btn:hover {
            background: var(--secondary);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .scroll-btn-left {
            left: 0;
        }

        .scroll-btn-right {
            right: 0;
        }

        /* ========== AGE & GENDER FILTER BAR ========== */
        .filter-section {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            margin-bottom: 1.5rem;
            padding: 10px 15px;
            background: white;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
        }

        .filter-section .filter-label {
            font-weight: 600;
            font-size: 0.8rem;
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 4px;
            margin-right: 4px;
        }

        .filter-section .filter-label i {
            font-size: 0.9rem;
        }

        .filter-sm-btn {
            padding: 4px 14px;
            border-radius: 50px;
            border: 2px solid #e9ecef;
            background: white;
            font-weight: 500;
            font-size: 0.75rem;
            transition: all 0.3s ease;
            cursor: pointer;
            color: var(--dark);
            white-space: nowrap;
        }

        .filter-sm-btn:hover {
            border-color: var(--secondary);
            transform: translateY(-1px);
        }

        .filter-sm-btn.active {
            background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
            color: white;
            border-color: var(--secondary);
            box-shadow: 0 2px 10px rgba(78,205,196,0.3);
        }

        .filter-sm-btn .filter-icon {
            margin-right: 3px;
        }

        .filter-divider {
            width: 2px;
            height: 25px;
            background: #e9ecef;
            margin: 0 4px;
        }

        /* ========== PRODUCT CARDS ========== */
        .product-card {
            border: none;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            background: white;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 45px rgba(255,107,107,0.18);
        }

        .product-img-wrap {
            position: relative;
            overflow: hidden;
            background: #f1f3f5;
            cursor: pointer;
        }

        .product-img-wrap img {
            height: 240px;
            object-fit: cover;
            width: 100%;
            transition: transform 0.5s ease;
        }

        .product-card:hover .product-img-wrap img {
            transform: scale(1.08);
        }

        .quick-view-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.6));
            padding: 30px 16px 16px;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
        }

        .product-img-wrap:hover .quick-view-overlay {
            transform: translateY(0);
        }

        .quick-view-btn {
            background: rgba(255,255,255,0.95);
            border: none;
            border-radius: 50px;
            padding: 8px 20px;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--dark);
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }

        .quick-view-btn:hover {
            background: white;
            transform: scale(1.05);
            color: var(--primary);
        }

        .product-body {
            padding: 1.4rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .product-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.4rem;
            color: var(--dark);
            line-height: 1.35;
        }

        .product-price {
            color: var(--primary);
            font-size: 1.45rem;
            font-weight: 700;
            margin-bottom: 1.1rem;
        }

        .product-category-badge {
            display: inline-block;
            font-size: 0.7rem;
            padding: 3px 12px;
            border-radius: 50px;
            background: rgba(78,205,196,0.15);
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 8px;
        }

        .product-meta-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-bottom: 8px;
        }

        .product-meta-tag {
            font-size: 0.6rem;
            padding: 2px 10px;
            border-radius: 50px;
            background: #f1f3f5;
            color: var(--gray);
            font-weight: 500;
        }

        .product-meta-tag.age-tag {
            background: rgba(255,107,107,0.1);
            color: var(--primary);
        }

        .product-meta-tag.gender-tag {
            background: rgba(78,205,196,0.1);
            color: var(--secondary);
        }

        .btn-cart, .btn-buy {
            border-radius: 50px;
            padding: 11px 18px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            border: none;
            width: 100%;
        }

        .btn-cart {
            background: transparent;
            border: 2px solid var(--secondary);
            color: var(--secondary);
            margin-bottom: 0.6rem;
        }

        .btn-cart:hover {
            background: var(--secondary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(78,205,196,0.35);
        }

        .btn-buy {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .btn-buy:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(255,107,107,0.4);
            color: white;
        }

        /* ========== CATEGORIES SECTION ========== */
        .categories-section {
            padding: 20px 0 10px;
        }

        .category-card {
            background: white;
            border-radius: var(--radius);
            padding: 1.8rem 1rem;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            cursor: pointer;
            height: 100%;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,107,107,0.05), rgba(78,205,196,0.05));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .category-card:hover::before {
            opacity: 1;
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: var(--secondary);
        }

        .category-card .category-icon-wrapper {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            transition: all 0.3s ease;
        }

        .category-card:hover .category-icon-wrapper {
            transform: scale(1.1);
        }

        .category-card .category-icon {
            font-size: 2.5rem;
            transition: transform 0.3s ease;
        }

        .category-card:hover .category-icon {
            transform: scale(1.15);
        }

        .category-card h6 {
            font-weight: 600;
            margin: 0;
            color: var(--dark);
            font-size: 1rem;
        }

        .category-card .category-count {
            font-size: 0.75rem;
            color: var(--gray);
            margin-top: 4px;
        }

        .category-card .category-arrow {
            position: absolute;
            bottom: 15px;
            right: 20px;
            color: var(--secondary);
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .category-card:hover .category-arrow {
            opacity: 1;
            transform: translateX(0);
        }

        .category-card .category-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,107,107,0.03);
            border-radius: var(--radius);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .category-card:hover .category-overlay {
            opacity: 1;
        }

        /* Category Color Variants - 8 Colors */
        .category-card.color-1 { border-bottom: 4px solid #FF6B6B; }
        .category-card.color-1 .category-icon-wrapper { background: rgba(255,107,107,0.15); }
        .category-card.color-2 { border-bottom: 4px solid #4ECDC4; }
        .category-card.color-2 .category-icon-wrapper { background: rgba(78,205,196,0.15); }
        .category-card.color-3 { border-bottom: 4px solid #FFB800; }
        .category-card.color-3 .category-icon-wrapper { background: rgba(255,184,0,0.15); }
        .category-card.color-4 { border-bottom: 4px solid #6f42c1; }
        .category-card.color-4 .category-icon-wrapper { background: rgba(111,66,193,0.15); }
        .category-card.color-5 { border-bottom: 4px solid #28a745; }
        .category-card.color-5 .category-icon-wrapper { background: rgba(40,167,69,0.15); }
        .category-card.color-6 { border-bottom: 4px solid #fd7e14; }
        .category-card.color-6 .category-icon-wrapper { background: rgba(253,126,20,0.15); }
        .category-card.color-7 { border-bottom: 4px solid #17a2b8; }
        .category-card.color-7 .category-icon-wrapper { background: rgba(23,162,184,0.15); }
        .category-card.color-8 { border-bottom: 4px solid #e83e8c; }
        .category-card.color-8 .category-icon-wrapper { background: rgba(232,62,140,0.15); }

        /* ========== TOAST ========== */
        .toast-container {
            position: fixed;
            top: 90px;
            right: 20px;
            z-index: 9999;
            max-width: 360px;
        }

        .toast-custom {
            background: white;
            border-radius: 16px;
            padding: 14px 18px;
            margin-bottom: 12px;
            box-shadow: var(--shadow-lg);
            animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            align-items: center;
            gap: 12px;
            border-left: 5px solid;
        }

        @keyframes slideIn {
            from {
                transform: translateX(120%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* ========== LOADING ========== */
        .loading-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.55);
            z-index: 9998;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(4px);
        }

        .loading-overlay.active {
            display: flex;
        }

        .loading-box {
            background: white;
            padding: 40px 50px;
            border-radius: 24px;
            text-align: center;
            box-shadow: var(--shadow-lg);
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 4px solid #f0f0f0;
            border-top: 4px solid var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 16px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ========== FOOTER ========== */
        footer {
            background: var(--dark);
            color: white;
            margin-top: 80px;
            padding: 60px 0 30px;
            border-radius: 40px 40px 0 0;
        }

        footer h4, footer h5 {
            font-weight: 700;
        }

        .footer-link {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: color 0.25s ease;
            display: inline-block;
            margin-bottom: 0.4rem;
        }

        .footer-link:hover {
            color: white;
            transform: translateX(4px);
        }

        .footer-badge {
            font-size: 0.8rem;
            padding: 6px 12px;
            border-radius: 50px;
            font-weight: 600;
        }

        /* ========== EMPTY STATE ========== */
        .empty-state {
            background: white;
            border-radius: var(--radius);
            padding: 3.5rem 2rem;
            box-shadow: var(--shadow-sm);
        }

        .empty-state .empty-icon {
            font-size: 4rem;
            opacity: 0.3;
            margin-bottom: 1rem;
        }

        /* ========== MODAL ========== */
        #customerModal .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(255,107,107,0.15);
        }

        /* ========== PAYMENT METHOD STYLES ========== */
        .payment-option {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 14px 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
            flex: 1;
        }

        .payment-option:hover {
            border-color: var(--secondary);
            background: #f8f9fa;
        }

        .payment-option.active {
            border-color: var(--primary);
            background: rgba(255,107,107,0.05);
            box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
        }

        .payment-option input[type="radio"] {
            display: none;
        }

        .payment-option .payment-icon {
            font-size: 1.6rem;
            margin-bottom: 4px;
        }

        .payment-option .payment-label {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .payment-option .payment-sub {
            font-size: 0.75rem;
            color: var(--gray);
        }

        #codInfo {
            background: #f0fdf4;
            border: 1px solid #4ECDC4;
            border-radius: 10px;
            padding: 12px 16px;
            margin-top: 12px;
            display: none;
        }

        #codInfo i {
            color: #4ECDC4;
        }

        /* ========== PRODUCT DETAILS MODAL ========== */
        .product-detail-modal .modal-content {
            border-radius: 24px;
            border: none;
            overflow: hidden;
        }

        .product-detail-modal .modal-header {
            border: none;
            padding: 1.5rem 1.5rem 0;
        }

        .product-detail-modal .modal-body {
            padding: 0 1.5rem 1.5rem;
        }

        .detail-image-main {
            width: 100%;
            max-height: 380px;
            object-fit: cover;
            border-radius: 16px;
            transition: all 0.3s ease;
        }

        .detail-image-thumbnails {
            display: flex;
            gap: 8px;
            margin-top: 10px;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .detail-image-thumbnails::-webkit-scrollbar {
            height: 4px;
        }

        .detail-image-thumbnails::-webkit-scrollbar-thumb {
            background: #ddd;
            border-radius: 4px;
        }

        .detail-thumbnail {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .detail-thumbnail:hover {
            transform: scale(1.05);
        }

        .detail-thumbnail.active {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(255,107,107,0.2);
        }

        .detail-product-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .detail-product-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .detail-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .detail-rating .stars {
            color: #FFB800;
            font-size: 1.1rem;
            letter-spacing: 2px;
        }

        .detail-rating .rating-count {
            font-size: 0.9rem;
            color: var(--gray);
        }

        .stat-item {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 12px 16px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }

        .stat-item .stat-number {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark);
        }

        .stat-item .stat-label {
            font-size: 0.8rem;
            color: var(--gray);
            margin-top: 2px;
        }

        .detail-description {
            margin-top: 1.2rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 12px;
            color: #555;
            line-height: 1.6;
        }

        .detail-actions {
            display: flex;
            gap: 10px;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .detail-actions .btn {
            flex: 1;
            border-radius: 50px;
            padding: 12px;
            font-weight: 600;
            min-width: 120px;
        }

        .btn-view-reviews {
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            color: var(--dark);
            border-radius: 50px;
            padding: 8px 20px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .btn-view-reviews:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }

        .similar-products-section {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 2px solid #f0f0f0;
        }

        .similar-products-section h6 {
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .similar-product-item {
            text-align: center;
            padding: 10px;
            border-radius: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
            background: #f8f9fa;
        }

        .similar-product-item:hover {
            background: #e9ecef;
            transform: translateY(-3px);
        }

        .similar-product-item img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 4px;
        }

        .similar-product-item .similar-name {
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0;
        }

        .similar-product-item .similar-price {
            font-size: 0.75rem;
            color: var(--primary);
            font-weight: 600;
        }

        /* ========== REVIEWS SECTION ========== */
        .reviews-section {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 2px solid #f0f0f0;
        }

        .reviews-section .review-item {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 0.8rem;
            transition: all 0.3s ease;
        }

        .reviews-section .review-item:hover {
            background: #f1f3f5;
        }

        .reviews-section .review-item .review-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.4rem;
            flex-wrap: wrap;
        }

        .reviews-section .review-item .reviewer-name {
            font-weight: 600;
            color: var(--dark);
        }

        .reviews-section .review-item .review-date {
            font-size: 0.75rem;
            color: var(--gray);
        }

        .reviews-section .review-item .review-stars {
            color: #FFB800;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }

        .reviews-section .review-item .review-text {
            color: #555;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-top: 0.3rem;
        }

        .reviews-section .no-reviews {
            text-align: center;
            padding: 1.5rem;
            color: var(--gray);
        }

        .reviews-section .no-reviews i {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            opacity: 0.5;
        }

        /* ========== REVIEW FORM STYLES ========== */
        .review-form-container {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-top: 15px;
            border: 2px solid #e9ecef;
        }

        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 5px;
            font-size: 2rem;
        }

        .star-rating input {
            display: none;
        }

        .star-rating label {
            cursor: pointer;
            color: #ddd;
            transition: color 0.2s ease;
        }

        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: #FFB800;
        }

        .already-reviewed {
            background: #f0fdf4;
            border: 2px solid #4ECDC4;
            border-radius: 12px;
            padding: 15px;
            text-align: center;
            color: #4ECDC4;
            margin-top: 15px;
        }

        .already-reviewed i {
            font-size: 2rem;
            display: block;
            margin-bottom: 8px;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 991.98px) {
            .hero {
                padding: 50px 0 45px;
                text-align: center;
            }

            .hero .lead {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-carousel {
                margin-top: 2rem;
                max-width: 100%;
            }

            .hero-carousel img {
                height: 220px;
            }

            .search-container {
                max-width: 100%;
                padding: 0 15px;
            }
        }

        @media (max-width: 767.98px) {
            .navbar-brand {
                font-size: 1.4rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero {
                border-radius: 0 0 28px 28px;
                padding: 40px 0 35px;
            }

            .hero-carousel img {
                height: 190px;
            }

            .product-card img {
                height: 200px;
            }

            .section-title {
                font-size: 1.5rem;
            }

            footer {
                border-radius: 28px 28px 0 0;
                padding: 45px 0 25px;
            }

            .toast-container {
                left: 12px;
                right: 12px;
                max-width: none;
            }

            .detail-product-name {
                font-size: 1.4rem;
            }

            .detail-product-price {
                font-size: 1.6rem;
            }

            .detail-actions {
                flex-direction: column;
            }
            
            .detail-actions .btn {
                min-width: auto;
            }

            .detail-thumbnail {
                width: 55px;
                height: 55px;
            }
            
            .payment-option {
                padding: 10px 14px;
            }
            
            .payment-option .payment-icon {
                font-size: 1.3rem;
            }

            .filter-section {
                padding: 8px 10px;
                gap: 5px;
            }

            .filter-section .filter-label {
                font-size: 0.7rem;
            }

            .filter-sm-btn {
                padding: 3px 10px;
                font-size: 0.65rem;
            }

            .filter-divider {
                height: 20px;
                margin: 0 2px;
            }

            .category-filter-wrapper {
                padding: 8px 4px;
            }

            .filter-btn {
                padding: 6px 14px;
                font-size: 0.75rem;
            }

            .scroll-btn {
                width: 26px;
                height: 26px;
                font-size: 0.65rem;
            }
        }

        @media (max-width: 575.98px) {
            .btn-hero {
                padding: 12px 26px;
                font-size: 0.95rem;
            }

            .category-icon {
                font-size: 2.3rem;
            }

            .product-body {
                padding: 1.1rem;
            }

            .product-price {
                font-size: 1.3rem;
            }

            .detail-image-main {
                max-height: 260px;
            }
            
            .reviews-section .review-item .review-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }

            .detail-thumbnail {
                width: 50px;
                height: 50px;
            }

            .search-container .search-input {
                padding: 10px 16px 10px 40px;
                font-size: 0.9rem;
            }

            .category-card {
                padding: 1.2rem 0.8rem;
            }

            .category-card .category-icon-wrapper {
                width: 50px;
                height: 50px;
                margin-bottom: 8px;
            }

            .category-card .category-icon {
                font-size: 1.8rem;
            }

            .category-card h6 {
                font-size: 0.85rem;
            }

            .filter-sm-btn {
                padding: 2px 8px;
                font-size: 0.6rem;
            }

            .filter-section {
                padding: 6px 8px;
                gap: 4px;
            }

            .filter-section .filter-label {
                font-size: 0.6rem;
                margin-right: 2px;
            }

            .filter-btn {
                padding: 5px 12px;
                font-size: 0.7rem;
            }

            .scroll-btn {
                width: 22px;
                height: 22px;
                font-size: 0.55rem;
            }
        }

        .whatsapp-float {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 58px;
            height: 58px;
            background: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.9rem;
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
            z-index: 9990;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .whatsapp-float:hover {
            background: #1ebe57;
            color: white;
            transform: scale(1.1);
            box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
        }

        .whatsapp-float:active {
            transform: scale(0.95);
        }

        @media (max-width: 575.98px) {
            .whatsapp-float {
                bottom: 18px;
                right: 18px;
                width: 52px;
                height: 52px;
                font-size: 1.7rem;
            }
        }

        @media print {
            .whatsapp-float {
                display: none !important;
            }
        }

        @media (max-width: 991.98px) {
            .navbar-brand{
                font-size:1.35rem;
            }

            .cart-link{
                width:42px;
                height:42px;
                margin-left:auto;
            }

            .navbar-toggler{
                margin-left:8px;
            }
        }
        
        /* Modal Close Button Fix */
        .product-detail-modal .btn-close {
            background: transparent !important;
            opacity: 1 !important;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
            border: none;
            background-color: rgba(0,0,0,0.05) !important;
            color: #333 !important;
            position: relative;
            z-index: 10;
        }
        
        .product-detail-modal .btn-close:hover {
            background-color: rgba(0,0,0,0.1) !important;
            transform: rotate(90deg);
        }
        
        .product-detail-modal .btn-close::before {
            content: '×';
            font-size: 2rem;
            line-height: 1;
            color: #333;
        }
        
        .product-detail-modal .btn-close span {
            display: none;
        }

        /* Search highlight */
        .highlight {
            background: #FFE66D;
            padding: 0 3px;
            border-radius: 3px;
        }

        /* ========== VISITOR COUNTER STYLES ========== */
        .visitor-counter {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 16px;
            padding: 15px 25px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .visitor-counter:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .visitor-stat {
            padding: 5px 10px;
        }

        .visitor-stat .visitor-number {
            font-size: 1.8rem;
            font-weight: 700;
            display: block;
            line-height: 1.2;
        }

        .visitor-stat .visitor-label {
            font-size: 0.85rem;
            color: var(--gray);
        }

        .visitor-divider {
            width: 2px;
            height: 40px;
            background: #dee2e6;
        }

        @media (max-width: 575.98px) {
            .visitor-counter {
                padding: 12px 15px;
            }
            
            .visitor-stat .visitor-number {
                font-size: 1.4rem;
            }
            
            .visitor-divider {
                height: 30px;
            }
            
            .visitor-stat .visitor-label {
                font-size: 0.7rem;
            }
        }

        .online-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            background: #4ECDC4;
            border-radius: 50%;
            margin-right: 6px;
            animation: pulse-dot 1.5s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(0.8); }
        }
        
        @media (max-width: 767.98px) {
            footer h5{
                font-size:16px;
                font-weight:600;
            }

            .footer-link,
            footer p{
                font-size:13px;
            }

            .col-6{
                margin-top:10px;
            }
        }
        
        
        
        
    