/* ===== CSS Variables & Design Tokens ===== */
:root {
    --bg-primary: #f5f6f8;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #111118;
    --text-secondary: #495057;
    --text-muted: #868e96;
    --accent-gold: #1e3a8a;
    --accent-gold-light: #3b82f6;
    --accent-gold-dark: #172554;
    --text-on-gold: #ffffff;
    --accent-green: #20c25a;
    --accent-green-dark: #179643;
    --accent-red: #d9384a;
    --accent-blue: #2b66d9;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.14);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(10,10,15,0.06);
    --shadow-lg: 0 16px 48px rgba(10,10,15,0.1);
    --shadow-gold: 0 4px 20px rgba(30, 58, 138, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Age Verification Modal ===== */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 246, 250, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(145deg, #ffffff, #f1f3f5);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-gold), var(--shadow-lg);
    animation: slideUp 0.6s ease;
}

.age-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--text-on-gold);
}

.age-modal-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.age-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
}

.age-modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-age-yes {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-age-yes:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-age-no {
    padding: 14px 32px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-age-no:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(90deg, #f8f9fa, #eaeef3);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    color: var(--text-secondary);
}

.top-bar-left i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.top-bar-right a:hover {
    color: var(--accent-gold);
}

.top-bar-right .fa-whatsapp {
    color: var(--accent-green);
}

/* ===== Header ===== */
.header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo i {
    font-size: 32px;
    color: var(--accent-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--accent-gold);
    font-weight: 500;
}

.search-bar {
    flex: 1;
    max-width: 520px;
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 78, 0.1);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.header-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header-action-btn i {
    font-size: 20px;
    color: var(--text-primary);
}

.header-action-btn .action-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.header-action-btn .badge {
    position: absolute;
    top: 2px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--text-on-gold);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-header i {
    color: var(--accent-green) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Navigation ===== */
.main-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-list {
    display: flex;
    gap: 4px;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-item a i {
    font-size: 14px;
}

.nav-item:hover a, .nav-item.active a {
    background: linear-gradient(135deg, rgba(201, 169, 78, 0.15), rgba(201, 169, 78, 0.05));
    color: var(--accent-gold);
}

.nav-item.active a {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
}

/* ===== Mobile Nav ===== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 2001;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
}

.mobile-nav.active {
    transform: translateX(300px);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--accent-gold);
}

.mobile-nav-close {
    color: var(--text-secondary);
    font-size: 20px;
    padding: 8px;
}

.mobile-nav-list li {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-list li:hover, .mobile-nav-list li.active {
    color: var(--accent-gold);
    background: rgba(201, 169, 78, 0.05);
}

.mobile-nav-list li i {
    width: 20px;
    text-align: center;
}

/* ===== Hero ===== */
.hero-video-unmute {
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    width: fit-content;
    background: rgba(201, 169, 78, 0.15);
    border: 1px solid rgba(201, 169, 78, 0.35);
    color: var(--accent-gold);
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    cursor: pointer;
}

.hero-video-unmute:hover {
    background: rgba(201, 169, 78, 0.25);
    transform: translateY(-1px);
}

.hero-video {

    margin: 18px auto 10px;
    width: 320px;
    max-width: 90vw;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.hero-video-player {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background: #000;
}

@media (max-width: 768px) {
    .hero-video {
        width: 260px;
        margin: 14px auto 8px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .hero-video {
        width: 210px;
        margin: 12px auto 6px;
        border-radius: 12px;
    }
}

.hero {
    min-height: 520px;
    background: linear-gradient(135deg, #f5f6f8 0%, #e8e6fb 50%, #f5f6f8 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 78, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.06) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(201, 169, 78, 0.15), rgba(201, 169, 78, 0.05));
    border: 1px solid rgba(201, 169, 78, 0.3);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent-green);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Filters Bar ===== */
.filters-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filters-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filters-left h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
}

.product-count {
    font-size: 14px;
    color: var(--text-muted);
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.filter-group select {
    padding: 8px 32px 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9ab0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-group select:focus {
    border-color: var(--accent-gold);
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 4px;
    border: 1px solid var(--border-color);
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.view-btn.active {
    background: var(--accent-gold);
    color: var(--text-on-gold);
}

/* ===== Products Grid ===== */
.products-section {
    padding: 40px 0 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    transition: var(--transition);
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    flex-direction: row;
    max-width: 100%;
}

.products-grid.list-view .product-image {
    width: 200px;
    min-height: 200px;
    flex-shrink: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
}

/* ===== Product Card ===== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 78, 0.2);
    box-shadow: var(--shadow-md), 0 0 40px rgba(201, 169, 78, 0.05);
}

.product-image {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    padding: 24px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
}

.badge-new {
    background: linear-gradient(135deg, var(--accent-blue), #3570d4);
    color: #fff;
}

.badge-offer {
    background: linear-gradient(135deg, var(--accent-red), #c93a4c);
    color: #fff;
}

.badge-exclusive {
    background: linear-gradient(135deg, #9333ea, #7c22c9);
    color: #fff;
}

.product-actions-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-btn {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-quick-view {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-quick-view:hover {
    background: var(--bg-card-hover);
}

.btn-wishlist-overlay {
    width: 42px;
    flex: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-wishlist-overlay:hover, .btn-wishlist-overlay.wishlisted {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
}

.product-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-detail {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-detail i {
    font-size: 10px;
    color: var(--accent-gold);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: var(--accent-gold);
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.rating-count {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.current-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-tag {
    padding: 2px 8px;
    background: rgba(231, 76, 94, 0.15);
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.product-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 20px 20px;
}

.btn-add-cart {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.btn-buy-whatsapp {
    padding: 12px 16px;
    background: var(--accent-green);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-buy-whatsapp:hover {
    background: var(--accent-green-dark);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
}

/* ===== No Products ===== */
.no-products {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-products i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    opacity: 0.5;
}

.no-products h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ===== Features Section ===== */
.features-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(201, 169, 78, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 169, 78, 0.15), rgba(201, 169, 78, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--accent-gold);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Cart Sidebar ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95vw;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 3001;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-color);
}

.cart-sidebar.active {
    transform: translateX(-420px);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--accent-red);
    color: #fff;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 0.3s ease;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.cart-item-image img {
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.cart-qty-btn:hover {
    background: var(--accent-gold);
    color: var(--text-on-gold);
    border-color: var(--accent-gold);
}

.cart-qty {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px;
    align-self: flex-start;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: var(--accent-red);
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.cart-total strong {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--accent-gold);
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--accent-green);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-bottom: 10px;
}

.btn-checkout:hover {
    background: var(--accent-green-dark);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-clear-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-clear-cart:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* ===== Quick View Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.quick-view-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    z-index: 4001;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-red);
    color: #fff;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.modal-image {
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.modal-image img {
    max-height: 350px;
    object-fit: contain;
}

.modal-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-brand {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.modal-info h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.2;
    color: var(--text-primary);
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modal-detail {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-detail i {
    color: var(--accent-gold);
    font-size: 11px;
}

.modal-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.modal-current-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.modal-discount {
    padding: 4px 12px;
    background: rgba(231, 76, 94, 0.15);
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.modal-quantity label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--accent-gold);
    color: var(--text-on-gold);
}

.qty-selector input {
    width: 48px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.qty-selector input::-webkit-inner-spin-button,
.qty-selector input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-add-cart-modal {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-on-gold);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-add-cart-modal:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-buy-now-modal {
    flex: 1;
    padding: 14px 24px;
    background: var(--accent-green);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-buy-now-modal:hover {
    background: var(--accent-green-dark);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--accent-green);
    font-size: 18px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--accent-gold);
}

.footer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--text-on-gold);
    border-color: var(--accent-gold);
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-info i {
    color: var(--accent-gold);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-disclaimer {
    font-size: 11px !important;
    color: var(--accent-red) !important;
    opacity: 0.7;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -30px); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        min-height: 250px;
        padding: 24px;
    }
    
    .modal-info {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    
    .mobile-menu-btn { display: flex; }
    
    .main-nav { display: none; }
    
    .search-bar {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 12px 16px;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
        display: none;
    }
    
    .search-bar.mobile-active { display: flex; }
    
    .header-content {
        padding: 12px 0;
    }
    
    .header-action-btn .action-label { display: none; }
    
    .header-action-btn { padding: 8px; }
    
    .hero {
        min-height: 420px;
        padding: 40px 0;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number { font-size: 22px; }
    
    .filters-bar {
        position: relative;
        top: 0;
    }
    
    .filters-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters-right {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        min-height: 200px;
        padding: 16px;
    }
    
    .product-image img { max-height: 160px; }
    
    .product-info { padding: 14px; }
    
    .product-card-actions { 
        padding: 0 14px 14px;
        flex-direction: column;
    }
    
    .current-price { font-size: 18px; }
    
    .product-actions-overlay {
        opacity: 1;
        transform: translateY(0);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal-info h2 { font-size: 20px; }
    
    .modal-current-price { font-size: 24px; }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-name { font-size: 13px; }
    .product-brand { font-size: 10px; }
    .current-price { font-size: 16px; }
    .old-price { font-size: 12px; }
    .product-details { display: none; }
    .product-rating .rating-count { display: none; }
    
    .btn-add-cart { font-size: 11px; padding: 10px 8px; }
    .btn-buy-whatsapp { font-size: 11px; padding: 10px 10px; }
    .btn-buy-whatsapp span { display: none; }
    
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    
    .age-modal-content { padding: 32px 24px; }
    .age-modal-buttons { flex-direction: column; }
}

/* Custom additions for better responsiveness */
.mobile-search-btn {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-search-btn {
        display: flex !important;
    }
    
    /* Stack list-view cards on mobile to prevent horizontal layout overflow */
    .products-grid.list-view .product-card {
        flex-direction: column !important;
    }
    .products-grid.list-view .product-image {
        width: 100% !important;
        min-height: 200px !important;
    }
    .products-grid.list-view .product-card-actions {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid var(--border-color) !important;
        flex-direction: row !important;
        padding: 16px !important;
    }
    
    /* Hide header WhatsApp icon on mobile to avoid header clutter (already covered by floating button) */
    .whatsapp-header {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Hide logo text on small screens so that action buttons fit without wrapping */
    .logo-text {
        display: none !important;
    }
    
    /* Optimize header actions padding for small screen widths */
    .header-action-btn {
        padding: 6px !important;
    }
    
    /* Center top-bar links on mobile */
    .top-bar-right {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }
}