/**
 * Design System - Typography & Spacing
 * Based on competitor analysis: Pepperfry, Nilkamal, Urban Ladder
 */

:root {
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  
  /* Font Families */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Font Sizes - Desktop */
  --text-xs: 0.75rem;      /* 12px - captions, labels, metadata */
  --text-sm: 0.875rem;     /* 14px - secondary information */
  --text-base: 1rem;       /* 16px - standard body text */
  --text-lg: 1.125rem;     /* 18px - prominent descriptions */
  --text-xl: 1.25rem;      /* 20px - small headings */
  --text-2xl: 1.5rem;      /* 24px - sub-sections */
  --text-3xl: 1.875rem;    /* 30px - section headings */
  --text-4xl: 2.25rem;     /* 36px - main page titles */
  --text-5xl: 3rem;        /* 48px - hero sections */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  
  /* ========================================
     SPACING SCALE
     ======================================== */
  
  --spacing-0: 0;
  --spacing-1: 0.25rem;    /* 4px */
  --spacing-2: 0.5rem;     /* 8px */
  --spacing-3: 0.75rem;    /* 12px */
  --spacing-4: 1rem;       /* 16px */
  --spacing-5: 1.25rem;    /* 20px */
  --spacing-6: 1.5rem;     /* 24px */
  --spacing-8: 2rem;       /* 32px */
  --spacing-10: 2.5rem;    /* 40px */
  --spacing-12: 3rem;      /* 48px */
  --spacing-16: 4rem;      /* 64px */
  --spacing-20: 5rem;      /* 80px */
  --spacing-24: 6rem;      /* 96px */
  
  /* ========================================
     COLORS
     ======================================== */
  
  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-inverse: #ffffff;
  --text-link: #0066cc;
  --text-success: #28a745;
  --text-error: #dc3545;
  --text-warning: #ffc107;
  
  /* Brand Colors */
  --primary: #2c3e50;
  --secondary: #e74c3c;
  --accent: #3498db;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #000000;
  
  /* ========================================
     BORDERS
     ======================================== */
  
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 4px;
  
  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px - buttons, inputs */
  --radius-md: 0.5rem;     /* 8px - cards, images */
  --radius-lg: 0.75rem;    /* 12px - modals, large cards */
  --radius-xl: 1rem;       /* 16px - hero sections */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;   /* pills, badges */
  
  /* ========================================
     SHADOWS
     ======================================== */
  
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  
  /* ========================================
     CONTAINER WIDTHS
     ======================================== */
  
  --container-xs: 20rem;     /* 320px */
  --container-sm: 36rem;     /* 576px */
  --container-md: 48rem;     /* 768px */
  --container-lg: 62rem;     /* 992px */
  --container-xl: 75rem;     /* 1200px */
  --container-2xl: 90rem;    /* 1440px */
  
  --container-tight: 45rem;  /* 720px - single column */
  --container-narrow: 60rem; /* 960px - forms, articles */
  --container-normal: 71.25rem; /* 1140px - standard content */
  --container-wide: 80rem;   /* 1280px - wide sections */
  --container-max: 90rem;    /* 1440px - maximum width */
  
  /* ========================================
     BREAKPOINTS
     ======================================== */
  
  --breakpoint-xs: 320px;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-2xl: 1440px;
  
  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* ========================================
     TRANSITIONS
     ======================================== */
  
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 350ms;
  --transition-slower: 500ms;
  
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--gray-50);
}

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

h6 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
}

p {
  margin-bottom: var(--spacing-4);
  line-height: var(--leading-relaxed);
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-base) var(--ease-in-out);
}

a:hover {
  color: var(--secondary);
}

/* Text Size Classes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

/* Font Weight Classes */
.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }
.font-extrabold { font-weight: var(--font-extrabold); }

/* Text Color Classes */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-inverse { color: var(--text-inverse); }
.text-success { color: var(--text-success); }
.text-error { color: var(--text-error); }
.text-warning { color: var(--text-warning); }

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */

@media (max-width: 768px) {
  :root {
    --text-xs: 0.6875rem;   /* 11px */
    --text-sm: 0.75rem;     /* 12px */
    --text-base: 0.875rem;  /* 14px */
    --text-lg: 1rem;        /* 16px */
    --text-xl: 1.125rem;    /* 18px */
    --text-2xl: 1.25rem;    /* 20px */
    --text-3xl: 1.5rem;     /* 24px */
    --text-4xl: 1.875rem;   /* 30px */
    --text-5xl: 2rem;       /* 32px */
  }
  
  html {
    font-size: 14px;
  }
  
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
  h4 { font-size: var(--text-xl); }
  h5 { font-size: var(--text-lg); }
  h6 { font-size: var(--text-base); }
}

/* ========================================
   SPACING UTILITIES
   ======================================== */

/* Margin */
.m-0 { margin: var(--spacing-0); }
.m-1 { margin: var(--spacing-1); }
.m-2 { margin: var(--spacing-2); }
.m-3 { margin: var(--spacing-3); }
.m-4 { margin: var(--spacing-4); }
.m-6 { margin: var(--spacing-6); }
.m-8 { margin: var(--spacing-8); }

.mt-0 { margin-top: var(--spacing-0); }
.mt-2 { margin-top: var(--spacing-2); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }

.mb-0 { margin-bottom: var(--spacing-0); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }

/* Padding */
.p-0 { padding: var(--spacing-0); }
.p-1 { padding: var(--spacing-1); }
.p-2 { padding: var(--spacing-2); }
.p-3 { padding: var(--spacing-3); }
.p-4 { padding: var(--spacing-4); }
.p-6 { padding: var(--spacing-6); }
.p-8 { padding: var(--spacing-8); }

/* ========================================
   CONTAINER
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}

.container-tight { max-width: var(--container-tight); }
.container-narrow { max-width: var(--container-narrow); }
.container-normal { max-width: var(--container-normal); }
.container-wide { max-width: var(--container-wide); }

@media (min-width: 768px) {
  .container {
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
  }
}

/* ========================================
   PREMIUM DESIGN SYSTEM (Sofa Studio)
   ======================================== */

:root {
    --c-primary:   #1a1a2e;
    --c-accent:    #e94560;
    --c-gold:      #d4af37;
    --c-warm:      #8b7355;
    --c-bg:        #f8f8f8;
    --c-white:     #ffffff;
    --c-border:    #e8e8e8;
    --c-text:      #1f2937;
    --c-muted:     #6b7280;
    --font-sans:   'Inter', system-ui, sans-serif;
    --font-serif:  'Playfair Display', Georgia, serif;
    --radius-card: 12px;
    --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.13);
}

/* ── HERO BANNER ────────────────────────────── */
.hero-banner {
    position: relative;
    min-height: 520px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(233,69,96,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(212,175,55,0.1) 0%, transparent 60%);
}

.hero-banner::after {
    content: '🛋';
    position: absolute;
    right: 8%;
    bottom: -10px;
    font-size: 220px;
    opacity: 0.07;
    filter: grayscale(1);
    user-select: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 760px;
    padding: 60px 24px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(233,69,96,0.2);
    border: 1px solid rgba(233,69,96,0.4);
    color: #fca5a5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #ffffff !important;
}

.hero-title span { color: #fca5a5; }

.hero-subtitle {
    font-size: 17px;
    margin-bottom: 36px;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary {
    background: var(--c-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(233,69,96,0.4);
}

.hero-btn-primary:hover {
    background: #c73652;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(233,69,96,0.5);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat-num { font-size: 26px; font-weight: 800; color: #fca5a5; }
.hero-stat-label { font-size: 12px; opacity: 0.7; margin-top: 2px; letter-spacing: 0.5px; }

/* ── SECTIONS SHARED ─────────────────────────── */
.section-wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-tag {
    display: inline-block;
    background: rgba(233,69,96,0.08);
    color: var(--c-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 15px;
    color: var(--c-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── FEATURES SECTION ───────────────────────── */
.features-section {
    padding: 64px 20px;
    background: white;
}

.features-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-card);
    border: 1.5px solid var(--c-border);
    transition: all 0.25s;
    background: white;
}

.feature-card:hover {
    border-color: rgba(233,69,96,0.3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #fef2f2, #fff);
    border: 1.5px solid rgba(233,69,96,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--c-accent);
}

.feature-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.6;
}

/* ── CATEGORIES SECTION ─────────────────────── */
.categories-section {
    padding: 64px 20px;
    background: var(--c-bg);
}

.categories-grid {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 240px;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

.category-card:nth-child(1) .category-image { background: linear-gradient(135deg, #1a1a2e, #2d3561); }
.category-card:nth-child(2) .category-image { background: linear-gradient(135deg, #16213e, #0f3460); }
.category-card:nth-child(3) .category-image { background: linear-gradient(135deg, #0f3460, #533483); }
.category-card:nth-child(4) .category-image { background: linear-gradient(135deg, #533483, #e94560); }
.category-card:nth-child(5) .category-image { background: linear-gradient(135deg, #e94560, #c73652); }
.category-card:nth-child(6) .category-image { background: linear-gradient(135deg, #8b7355, #1a1a2e); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff !important;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.category-count {
    font-size: 12.5px;
    opacity: 0.85;
    color: #ffffff;
}

/* ── PRODUCTS SECTION ───────────────────────── */
.products-section {
    padding: 64px 20px;
    background: white;
}

.products-container { max-width: 1360px; margin: 0 auto; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 44px;
}

.product-card {
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1.5px solid var(--c-border);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-image {
    position: relative;
    width: 100%;
    height: 230px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-image i {
    font-size: 64px;
    color: #d1d5db;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--c-accent);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
}

.wishlist-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9ca3af;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s;
}

.wishlist-icon:hover {
    color: var(--c-accent);
    transform: scale(1.1);
}

.quick-view-overlay {
    position: absolute;
    bottom: -44px;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.88);
    color: #fff;
    text-align: center;
    padding: 11px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: bottom 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.product-card:hover .quick-view-overlay { bottom: 0; }

.product-info { padding: 16px; }

.social-proof-ticker {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--c-accent);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 7px;
}

.product-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
}

.stars { color: #f59e0b; font-size: 12px; }
.rating-count { color: var(--c-muted); font-size: 12px; }

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.price-current {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-primary);
}

.price-original {
    font-size: 13.5px;
    color: #9ca3af;
    text-decoration: line-through;
}

.emi-badge {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-btn {
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.product-btn-primary {
    background: var(--c-accent);
    color: white;
}

.product-btn-primary:hover { background: #c73652; }

.product-btn-secondary {
    background: white;
    color: var(--c-primary);
    border: 1.5px solid var(--c-border);
}

.product-btn-secondary:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

/* ── SCROLL REVEAL ──────────────────────────── */
@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal-card {
    animation: cardEntrance 0.5s ease both;
}

.reveal-card:nth-child(1)  { animation-delay: 0.05s; }
.reveal-card:nth-child(2)  { animation-delay: 0.10s; }
.reveal-card:nth-child(3)  { animation-delay: 0.15s; }
.reveal-card:nth-child(4)  { animation-delay: 0.20s; }
.reveal-card:nth-child(5)  { animation-delay: 0.25s; }
.reveal-card:nth-child(6)  { animation-delay: 0.30s; }
.reveal-card:nth-child(7)  { animation-delay: 0.35s; }
.reveal-card:nth-child(8)  { animation-delay: 0.40s; }
.reveal-card:nth-child(9)  { animation-delay: 0.45s; }
.reveal-card:nth-child(10) { animation-delay: 0.50s; }
.reveal-card:nth-child(11) { animation-delay: 0.55s; }
.reveal-card:nth-child(12) { animation-delay: 0.60s; }

/* ── SOFA FINDER WIDGET ─────────────────────── */
.sofa-finder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 56px 20px;
    text-align: center;
}

.sofa-finder h2 {
    font-family: var(--font-serif);
    font-size: 30px;
    margin-bottom: 8px;
}

.sofa-finder p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    font-size: 15px;
}

.finder-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 780px;
    margin: 0 auto 16px;
}

.finder-chip {
    padding: 9px 20px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    background: transparent;
}

.finder-chip:hover, .finder-chip.selected {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

/* ── BANNER CTA ─────────────────────────────── */
.banner-cta {
    padding: 56px 20px;
}

.banner-cta-inner {
    max-width: 1360px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e94560 0%, #c73652 100%);
    border-radius: 16px;
    padding: 64px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-cta-inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.banner-cta-content { position: relative; z-index: 1; }

.banner-cta-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
}

.banner-cta-text {
    font-size: 16px;
    margin-bottom: 28px;
    opacity: 0.9;
}

.banner-cta-btn {
    padding: 14px 36px;
    background: white;
    color: var(--c-accent);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.banner-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials-section {
    padding: 64px 20px;
    background: var(--c-bg);
}

.testimonials-container { max-width: 1360px; margin: 0 auto; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-card);
    border: 1.5px solid var(--c-border);
    transition: box-shadow 0.25s;
}

.testimonial-card:hover { box-shadow: var(--shadow-hover); }

.testimonial-rating { color: #f59e0b; font-size: 16px; margin-bottom: 14px; }

.testimonial-text {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 18px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
}

.author-name { font-weight: 700; color: var(--c-primary); font-size: 14px; }
.author-location { font-size: 12px; color: var(--c-muted); margin-top: 2px; }

/* ── EMPTY STATE ─────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 80px;
    color: #d1d5db;
    margin-bottom: 24px;
}

.empty-state h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: #374151;
    margin-bottom: 12px;
}

.empty-state p { font-size: 15px; color: var(--c-muted); margin-bottom: 24px; }

/* ── PINCODE DELIVERY ESTIMATOR ─────────────── */
.delivery-checker {
    background: #fff8f0;
    border: 1.5px solid #fed7aa;
    border-radius: 9px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.delivery-checker i { color: #ea580c; font-size: 17px; flex-shrink: 0; }

.delivery-checker input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13.5px;
    outline: none;
    font-family: var(--font-sans);
}

.delivery-checker button {
    background: #ea580c;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.delivery-checker button:hover { background: #c2410c; }
.delivery-result { font-size: 12.5px; font-weight: 600; margin-top: 7px; display: none; }

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

@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 22px; }
    .section-title { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-card { height: 180px; }
    .category-image { font-size: 48px; }
    .features-container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .banner-cta-inner { padding: 40px 24px; }
    .banner-cta-title { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-banner { min-height: 420px; }
    .hero-banner::after { font-size: 120px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-btn { width: 100%; justify-content: center; max-width: 280px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-image { height: 170px; }
    .product-info { padding: 12px; }
    .price-current { font-size: 17px; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .features-container { grid-template-columns: 1fr; }
}

