/* ============================================
   INDIGO BAZAAR - Main Stylesheet
   ============================================ */

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --gold: #d4a574;
    --gold-light: #e8c9a0;
    --cream: #faf7f2;
    --white: #ffffff;
    --text: #2d2d2d;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --success: #2e7d32;
    --success-bg: #e8f5e9;
    --warning: #ef6c00;
    --warning-bg: #fff3e0;
    --error: #c62828;
    --error-bg: #ffebee;
    --info: #1565c0;
    --info-bg: #e3f2fd;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea {
    font-family: inherit;
    outline: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,165,116,0.2);
}

/* Utility Classes */
.container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.grid { display: grid; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--gold);
    color: var(--primary);
}
.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,165,116,0.4);
}
.btn-secondary {
    background: var(--primary);
    color: var(--white);
}
.btn-secondary:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-sale { background: var(--accent); color: var(--white); }
.badge-new { background: var(--info); color: var(--white); }
.badge-bestseller { background: var(--success); color: var(--white); }
.badge-popular { background: var(--warning); color: var(--white); }

/* ============================================
   NAVIGATION & HEADER
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.7); /* Cream color with opacity */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.3); /* Gold tint border */
    transition: all 0.4s ease;
}
.navbar.scrolled { 
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); 
    padding: 5px 0;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s ease;
}
.navbar.scrolled .nav-container {
    height: 70px;
}
.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.15);
    transition: transform 0.3s ease;
}
.logo:hover .logo-icon {
    transform: rotate(45deg);
}
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}
.nav-links a {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-btn {
    position: relative;
    font-size: 18px;
    color: var(--primary);
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}
.nav-btn:hover {
    color: var(--gold);
    background: rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
}
.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}
.mobile-menu.active { right: 0; }
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mobile-menu-links a {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0f3460 100%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}
.hero-badge {
    display: inline-block;
    background: rgba(212,165,116,0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}
.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}
.hero-title span { color: var(--gold); }
.hero-desc {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 15px;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}
.float-card img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}
.float-1 { top: 15%; left: 8%; animation-delay: 0s; }
.float-2 { top: 55%; right: 8%; animation-delay: 2s; }
.float-3 { bottom: 15%; left: 12%; animation-delay: 4s; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--primary);
    margin-bottom: 15px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.category-card:hover img { transform: scale(1.1); }
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}
.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}
.category-overlay h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 8px;
}
.category-overlay p {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-section { background: var(--white); }
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
.search-box {
    position: relative;
    flex: 1;
    max-width: 350px;
}
.search-box input {
    padding-left: 45px;
    border-radius: 30px;
}
.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.filter-btn {
    padding: 10px 24px;
    border-radius: 25px;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}
.product-actions {
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}
.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text);
    font-size: 14px;
}
.action-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}
.action-btn.wishlisted { background: var(--accent); color: var(--white); }
.product-info { padding: 20px; }
.product-category {
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
    line-height: 1.4;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.price-discount {
    background: var(--success-bg);
    color: var(--success);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.add-to-cart {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}
.add-to-cart:hover { background: var(--accent); }
.add-to-cart.added { background: var(--success); }

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
}
.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}
.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--primary);
    color: var(--white);
}
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: rgba(255,255,255,0.7); }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 35px;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.testimonial-stars {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 14px;
}
.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    opacity: 0.9;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}
.testimonial-author h4 { font-size: 16px; margin-bottom: 2px; }
.testimonial-author span { font-size: 13px; opacity: 0.7; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section { padding-bottom: 0; }
.newsletter {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin: 0 30px;
}
.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,165,116,0.15) 0%, transparent 70%);
}
.newsletter h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
}
.newsletter p {
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 16px 25px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
}
.newsletter-form button {
    padding: 16px 35px;
    border-radius: 30px;
    border: none;
    background: var(--gold);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}
.newsletter-form button:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 100px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand p {
    opacity: 0.7;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 25px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 15px;
}
.social-links a:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-links h4 {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--gold);
    font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 14px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 13px;
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.cart-sidebar.active { transform: translateX(0); }
.cart-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.close-cart {
    font-size: 22px;
    color: var(--text);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.close-cart:hover {
    background: var(--border-light);
    color: var(--accent);
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-sm);
    background: #f8f8f8;
    margin-bottom: 15px;
    align-items: center;
    transition: var(--transition);
}
.cart-item:hover { background: #f0f0f0; }
.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}
.cart-item-info { flex: 1; }
.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}
.cart-item-info p {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}
.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.remove-item {
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.remove-item:hover {
    color: var(--accent);
    background: var(--error-bg);
}
.cart-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--border-light);
    background: var(--white);
}
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
}
.cart-shipping {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}
.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}
.checkout-btn:hover { background: var(--accent); }
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-cart i {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.3;
}
.empty-cart p { font-size: 16px; }
.empty-cart a {
    color: var(--accent);
    text-decoration: underline;
    margin-top: 15px;
    display: inline-block;
}

/* ============================================
   AUTH MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.modal-close:hover {
    background: var(--border-light);
    color: var(--accent);
}
.modal h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary);
}
.modal p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.form-group input {
    width: 100%;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}
.form-checkbox input {
    width: auto;
}
.modal-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-light);
}
.modal-footer a {
    color: var(--accent);
    font-weight: 600;
}
.modal-footer a:hover { text-decoration: underline; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    transform: translateX(150%);
    transition: var(--transition);
    min-width: 300px;
    max-width: 400px;
}
.toast.show { transform: translateX(0); }
.toast i { color: var(--gold); font-size: 18px; }
.toast.success { background: var(--success); }
.toast.success i { color: var(--white); }
.toast.error { background: var(--error); }
.toast.error i { color: var(--white); }
.toast.warning { background: var(--warning); }
.toast.warning i { color: var(--white); }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}
.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
.page-header p {
    opacity: 0.8;
    font-size: 16px;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}
.breadcrumb a { opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 0;
}
.product-gallery {
    position: sticky;
    top: 90px;
    height: fit-content;
}
.product-gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 20px;
}
.product-gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.product-gallery-thumbs {
    display: flex;
    gap: 15px;
}
.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--gold);
}
.product-detail-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}
.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.product-detail-rating .stars {
    color: var(--gold);
}
.product-detail-rating span {
    color: var(--text-muted);
    font-size: 14px;
}
.product-detail-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}
.product-detail-price .current {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.product-detail-price .original {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-detail-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}
.product-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 14px;
}
.product-detail-meta span {
    color: var(--text-muted);
}
.product-detail-meta strong {
    color: var(--text);
}
.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.product-detail-actions .qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.product-detail-actions .qty-selector button {
    width: 44px;
    height: 50px;
    background: var(--white);
    font-size: 16px;
    transition: var(--transition);
}
.product-detail-actions .qty-selector button:hover {
    background: var(--border-light);
}
.product-detail-actions .qty-selector input {
    width: 60px;
    height: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
}
.product-detail-actions .btn {
    flex: 1;
    height: 50px;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding: 40px 0;
}
.checkout-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-light);
}
.checkout-form h3 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}
.checkout-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-light);
    height: fit-content;
    position: sticky;
    top: 90px;
}
.checkout-summary h3 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}
.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.checkout-item:last-child {
    border-bottom: none;
}
.checkout-item img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.checkout-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}
.checkout-item-info p {
    color: var(--text-muted);
    font-size: 13px;
}
.checkout-item-price {
    margin-left: auto;
    font-weight: 600;
}
.checkout-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-light);
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}
.checkout-total-row.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}
.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.payment-method:hover,
.payment-method.selected {
    border-color: var(--gold);
    background: var(--cream);
}
.payment-method input {
    width: auto;
}
.payment-method i {
    font-size: 20px;
    color: var(--gold);
}

/* ============================================
   ORDER SUCCESS PAGE
   ============================================ */
.order-success {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.order-success-icon {
    width: 100px;
    height: 100px;
    background: var(--success-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: var(--success);
}
.order-success h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}
.order-success p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}
.order-details {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border-light);
    text-align: left;
    margin-bottom: 30px;
}
.order-details-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}
.order-details-row:last-child { border-bottom: none; }
.order-details-row span { color: var(--text-light); }
.order-details-row strong { color: var(--primary); }

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px 0;
}
.account-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border-light);
    height: fit-content;
}
.account-user {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 25px;
}
.account-user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--gold);
}
.account-user h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.account-user p {
    color: var(--text-muted);
    font-size: 14px;
}
.account-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.account-nav a:hover,
.account-nav a.active {
    background: var(--cream);
    color: var(--accent);
}
.account-nav a i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}
.account-nav a:hover i,
.account-nav a.active i {
    color: var(--accent);
}
.account-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-light);
}
.account-content h2 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.order-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 25px;
    transition: var(--transition);
}
.order-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--gold);
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}
.order-card-header h4 { font-size: 16px; }
.order-card-items {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.order-card-items img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-card-footer .total {
    font-weight: 700;
    font-size: 16px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .categories-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .float-card { display: none; }
    .section { padding: 60px 0; }
    .cart-sidebar { width: 100%; }
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .checkout-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .newsletter { padding: 50px 20px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; }
    .search-box { max-width: 100%; }
    .container { padding: 0 15px; }
}
