:root {
    --primary: #8B1A4A;
    --primary-light: #A82060;
    --primary-dark: #6D1540;
    --gold: #D4A853;
    --gold-light: #E8C77B;
    --gold-dark: #B8923D;
    --rose: #E8A0B4;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-cream: #fdf8f0;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
html { overflow-x: hidden; }
}
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary-dark);
    color: white;
    font-size: 11px;
    padding: 4px 0;
}
.top-bar a { color: rgba(255,255,255,0.9); font-size: 11px; text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--gold); }

/* ============ HEADER ============ */
.main-header {
    background: white;
    padding: 6px 0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hamburger-btn {
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}
.hamburger-btn:hover { background: var(--bg-light); border-color: var(--primary); color: var(--primary); }
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
}
.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.search-form {
    max-width: 480px;
    margin: 0 auto;
}
.search-form .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 25px 0 0 25px;
    padding: 8px 16px;
    font-size: 13px;
    height: 38px;
}
.search-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}
.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 8px 16px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-search:hover { background: var(--primary-light); color: white; }
.badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e53935;
    color: white;
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(229,57,53,0.3);
}
.mobile-search {
    padding: 8px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

/* ============ CATEGORY BAR ============ */
.cat-bar {
    background: var(--primary);
}
.cat-bar-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.cat-bar-trigger {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.cat-bar-trigger:hover { background: rgba(255,255,255,0.25); }
.cat-bar-links {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.cat-bar-links::-webkit-scrollbar { display: none; }
.cat-link {
    display: block;
    padding: 9px 14px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}
.cat-link:hover, .cat-link.active { background: rgba(255,255,255,0.1); color: var(--gold); }
.cat-link-hot { color: var(--gold); font-weight: 600; }

/* ============ SIDEBAR DRAWER ============ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.sidebar-overlay.open { opacity: 1; pointer-events: all; }
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
}
.sidebar-drawer.open { transform: translateX(0); }
.sidebar-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.sidebar-brand .logo-icon { width: 30px; height: 30px; font-size: 16px; border-radius: 7px; }
.sidebar-brand .logo-name { font-size: 16px; }
.sidebar-close-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}
.sidebar-close-btn:hover { background: var(--bg-light); color: var(--text-dark); }
.sidebar-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
}
.sidebar-section { padding: 3px 0; }
.sidebar-section + .sidebar-section { border-top: 1px solid #f0f0f0; }
.sidebar-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    padding: 10px 16px 5px;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.sidebar-item:hover { background: var(--bg-light); color: var(--primary); }
.sidebar-item i { width: 18px; text-align: center; color: var(--primary); font-size: 13px; }

/* ============ CATEGORY MODAL ============ */
.cat-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cat-modal-overlay.open { opacity: 1; pointer-events: all; }
.cat-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85) translateY(20px);
    background: white;
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 520px;
    max-height: 78vh;
    z-index: 301;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}
.cat-modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1) translateY(0);
}
.cat-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}
.cat-modal-header h5 {
    margin: 0;
    font-size: 16px;
    color: var(--primary);
}
.cat-modal-close {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}
.cat-modal-close:hover { background: var(--bg-light); color: var(--text-dark); }
.cat-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 10px 14px 14px;
    overflow-y: auto;
}
.cat-modal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}
.cat-modal-item:hover { background: rgba(139,26,74,0.06); color: var(--primary); transform: translateX(2px); }
.cat-modal-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-top: 14px;
}
.hero-slide {
    display: none;
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { display: block; animation: heroFade 0.6s ease; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,26,74,0.85), rgba(139,26,74,0.3));
    display: flex;
    align-items: center;
    padding: 40px;
}
.hero-content { color: white; max-width: 480px; }
.hero-content h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.hero-content p { font-size: 15px; margin-bottom: 20px; opacity: 0.9; }
.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ============ BUTTONS ============ */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--text-dark);
    border: none;
    padding: 8px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--text-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212,168,83,0.4); }

/* ============ SECTION TITLE ============ */
.section-title { text-align: center; margin-bottom: 28px; }
.section-title h2 { font-size: 28px; color: var(--primary); margin-bottom: 6px; }
.section-title p { color: var(--text-muted); font-size: 14px; }
.title-line { width: 50px; height: 3px; background: var(--gold); margin: 8px auto 0; border-radius: 2px; }

/* ============ CATEGORY CARDS ============ */
.category-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    padding: 16px 12px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-decoration: none;
    display: block;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 22px;
    transition: var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.1); }
.category-card h5 { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; margin: 0; color: var(--text-dark); }

/* ============ PRODUCT CARD ============ */
.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f5f5f5;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.badge-sale {
    background: linear-gradient(135deg, #e53935, #ff6f61);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(229,57,53,0.3);
}
.product-actions {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(8px);
    transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    font-size: 13px;
}
.product-action-btn:hover { background: var(--primary); color: white; }
.product-action-btn.wishlisted { background: #e53935; color: white; }
.product-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    line-height: 1.4;
}
.product-name:hover { color: var(--primary); }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.product-rating .stars { color: var(--gold); font-size: 11px; }
.product-rating .count { font-size: 11px; color: var(--text-muted); }
.product-price { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.product-price .offer-price { font-size: 16px; font-weight: 700; color: var(--primary); }
.product-price .original-price { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.product-price .discount { font-size: 11px; color: #e53935; font-weight: 600; }
.product-delivery { font-size: 10px; color: #2e7d32; font-weight: 600; margin-bottom: 8px; }
.btn-view-options {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 7px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
}
.btn-view-options:hover { background: var(--primary-light); color: white; }

/* ============ FEATURES ============ */
.features-strip {
    background: white;
    padding: 20px 0;
    margin: 24px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.feature-item { text-align: center; padding: 8px; }
.feature-item i { font-size: 28px; color: var(--primary); margin-bottom: 6px; }
.feature-item h6 { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600; margin: 0; }
.feature-item p { font-size: 11px; color: var(--text-muted); margin: 0; }

/* ============ PRODUCT DETAIL ============ */
.product-detail-section { padding: 24px 0; }
.gallery-main { border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 6px; }
.gallery-thumb { width: 64px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 24px; color: var(--text-dark); margin-bottom: 8px; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.detail-rating .stars { color: var(--gold); font-size: 16px; }
.detail-rating .rating-text { font-size: 13px; color: var(--text-muted); }
.detail-rating .rating-count { font-size: 13px; color: var(--primary); font-weight: 600; }
.detail-price {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    padding: 12px; background: var(--bg-cream); border-radius: var(--radius-sm); flex-wrap: wrap;
}
.detail-price .offer-price { font-size: 24px; font-weight: 700; color: var(--primary); }
.detail-price .original-price { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.detail-price .discount { font-size: 14px; color: #e53935; font-weight: 700; }
.detail-price .save { font-size: 12px; color: #2e7d32; font-weight: 600; }
.size-selector { margin-bottom: 16px; }
.size-selector h6, .color-selector h6 { font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 8px; font-size: 13px; }
.size-options, .color-options { display: flex; gap: 6px; flex-wrap: wrap; }
.size-btn {
    min-width: 40px; height: 40px; border: 2px solid #ddd; border-radius: var(--radius-sm);
    background: white; font-weight: 600; font-size: 12px; cursor: pointer; transition: var(--transition);
    padding: 0 10px;
}
.size-btn:hover, .size-btn.active { border-color: var(--primary); background: var(--primary); color: white; }
.size-btn.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.color-btn { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ddd; cursor: pointer; transition: var(--transition); }
.color-btn:hover, .color-btn.active { border-color: var(--text-dark); transform: scale(1.15); }
.quantity-selector { display: flex; align-items: center; margin-bottom: 16px; border: 2px solid #ddd; border-radius: var(--radius-sm); overflow: hidden; width: fit-content; }
.qty-btn { width: 36px; height: 36px; background: white; border: none; font-size: 16px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--primary); color: white; }
.qty-input { width: 44px; height: 36px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-weight: 600; font-size: 14px; }
.detail-actions { display: flex; gap: 8px; margin-bottom: 16px; }
.detail-actions .btn { flex: 1; padding: 10px 24px; border-radius: 25px; font-weight: 600; font-size: 14px; }
.pincode-checker, .delivery-info { padding: 12px; background: var(--bg-light); border-radius: var(--radius-sm); margin-bottom: 16px; }
.pincode-checker h6, .delivery-info h6 { font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 8px; font-size: 13px; }
.delivery-item { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 13px; }
.delivery-item i { color: var(--primary); font-size: 16px; margin-top: 2px; }

/* ============ REVIEWS ============ */
.reviews-section { padding: 24px 0; }
.reviews-summary { background: white; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; margin-bottom: 24px; }
.reviews-summary .big-rating { font-size: 40px; font-weight: 700; color: var(--primary); }
.reviews-summary .stars { color: var(--gold); font-size: 18px; }
.review-card { background: white; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.review-stars { color: var(--gold); font-size: 12px; }
.review-date { font-size: 11px; color: var(--text-muted); }
.review-verified { font-size: 10px; color: #2e7d32; font-weight: 600; background: #e8f5e9; padding: 2px 6px; border-radius: 4px; }
.review-text { font-size: 13px; color: var(--text-dark); line-height: 1.5; }

/* ============ CART ============ */
.cart-section { padding: 24px 0; min-height: 60vh; }
.cart-item { background: white; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.cart-item-image { width: 80px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary { background: white; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 80px; }
.cart-summary h4 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #eee; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.summary-total { display: flex; justify-content: space-between; padding: 12px 0; border-top: 2px solid #eee; font-size: 16px; font-weight: 700; }

/* ============ CHECKOUT ============ */
.checkout-section { padding: 24px 0; }
.checkout-form { background: white; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.checkout-form h4 { font-family: 'Playfair Display', serif; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #eee; font-size: 18px; }
.form-control { border: 2px solid #e8e8e8; border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,26,74,0.1); }
.form-label { font-weight: 600; font-size: 12px; margin-bottom: 4px; }

/* ============ PROFILE ============ */
.profile-section { padding: 24px 0; min-height: 60vh; }
.profile-sidebar { background: white; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--gold)); color: white; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto 12px; }
.profile-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-dark); text-decoration: none; transition: var(--transition); font-size: 13px; }
.profile-menu a:hover, .profile-menu a.active { background: rgba(139,26,74,0.1); color: var(--primary); }

/* ============ AUTH ============ */
.auth-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-cream), var(--bg-light)); }
.auth-card { background: white; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 420px; }
.auth-card h2 { text-align: center; color: var(--primary); margin-bottom: 20px; font-size: 24px; }

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 48px 16px; }
.empty-state i { font-size: 64px; color: #ddd; margin-bottom: 16px; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 8px; font-size: 20px; }
.empty-state p { color: var(--text-muted); margin-bottom: 16px; font-size: 14px; }

/* ============ ORDER SUCCESS ============ */
.order-success { text-align: center; padding: 48px 16px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.check-icon { width: 72px; height: 72px; border-radius: 50%; background: #e8f5e9; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 36px; color: #2e7d32; }

/* ============ BREADCRUMB ============ */
.breadcrumb { font-size: 12px; padding: 8px 0; }
.breadcrumb-item a { color: var(--text-muted); text-decoration: none; }

/* ============ FOOTER ============ */
.main-footer { background: #1a1a2e; color: rgba(255,255,255,0.8); padding: 40px 0 16px; margin-top: 40px; }
.footer-title { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: white; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 24px 0 16px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); text-decoration: none; font-size: 14px; }
.social-links a:hover { background: var(--gold); color: var(--text-dark); transform: translateY(-2px); }
.payment-methods img { margin: 2px; opacity: 0.8; }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed; bottom: 76px; right: 16px; width: 40px; height: 40px;
    border-radius: 50%; background: var(--primary); color: white; border: none;
    display: none; align-items: center; justify-content: center; font-size: 16px;
    cursor: pointer; z-index: 99; box-shadow: 0 2px 12px rgba(139,26,74,0.3); transition: var(--transition);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ============ TOAST ============ */
.toast-container { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%); z-index: 500; pointer-events: none; }
.toast-box {
    display: none; align-items: center; gap: 6px;
    background: #333; color: white; padding: 8px 16px;
    border-radius: 8px; font-size: 12px; font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.toast-box.show { display: flex; animation: toastIn 0.3s ease; }
.toast-box i { color: #4caf50; font-size: 14px; }

/* ============ ZOOM OVERLAY ============ */
.zoom-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    z-index: 600; cursor: zoom-out; justify-content: center; align-items: center;
}
.zoom-overlay.active { display: flex; }
.zoom-overlay img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    body { padding-bottom: 80px; }
    .hero-slide { height: 220px; }
}
@media (max-width: 768px) {
    .hero-slide { height: 200px; }
    .hero-content h1 { font-size: 20px; }
    .hero-content p { font-size: 13px; margin-bottom: 14px; }
    .hero-overlay { padding: 16px; }
    .section-title h2 { font-size: 22px; }
    .mobile-search { display: block; }
    .product-detail-section .product-gallery { position: static; }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn { width: 100%; }
    .cart-summary { position: static; margin-top: 16px; }
    .auth-card { padding: 20px; margin: 12px; }
    .cat-modal-grid { grid-template-columns: 1fr; }
    .main-header { padding: 4px 0; }
    .logo-icon { width: 28px; height: 28px; font-size: 15px; }
    .logo-name { font-size: 15px; }
    .top-bar { font-size: 10px; padding: 3px 0; }
    .category-card { padding: 12px 8px; }
    .category-icon { width: 44px; height: 44px; font-size: 18px; }
    .product-info { padding: 10px; }
    .product-name { font-size: 12px; }
    .product-price .offer-price { font-size: 14px; }
    .features-strip { padding: 14px 0; }
    .feature-item i { font-size: 22px; }
    .feature-item h6 { font-size: 11px; }
    .feature-item p { font-size: 10px; }
    .hero-slider { margin-top: 8px; border-radius: 8px; }
    .main-footer { padding: 30px 0 80px; }
    .reviews-summary { padding: 16px; }
    .review-card { padding: 12px; }
}

/* ============ BOTTOM NAV ============ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e8e8e8;
    z-index: 100;
    padding: 4px 0 max(4px, env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
@media (max-width: 991px) {
    .bottom-nav { display: flex; justify-content: space-around; }
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    min-width: 48px;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 500;
    gap: 1px;
    position: relative;
    text-decoration: none;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}
.bottom-nav-item i { font-size: 18px; transition: var(--transition); }
.bottom-nav-item span { transition: var(--transition); }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active i { transform: scale(1.1); }
.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}
.bottom-nav-item:hover { color: var(--primary); }
.bottom-badge {
    position: absolute;
    top: 0;
    right: 4px;
    min-width: 14px;
    height: 14px;
    background: #e53935;
    color: white;
    font-size: 8px;
    font-weight: 700;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 2px 4px rgba(229,57,53,0.3);
}

/* ============ HEADER ROW ============ */
.header-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-center {
    flex: 1;
    min-width: 0;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.header-action-btn {
    color: var(--text-dark);
    font-size: 22px;
    text-decoration: none;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.header-action-btn:hover { background: rgba(139,26,74,0.08); color: var(--primary); }
@media (max-width: 768px) {
    .header-action-btn { width: 38px; height: 38px; font-size: 20px; }
    .header-row { gap: 8px; }
    .header-right { gap: 4px; }
    .main-header { padding: 4px 0; }
    .logo-icon { width: 30px; height: 30px; font-size: 16px; }
    .logo-name { font-size: 16px; }
}
