/* ═══════════════════════════════════════════════════════════════
   J S CHANA HOMES — Global Stylesheet
   Premium residential home furnishing aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Palette */
  --bg:            #FAFAF8;
  --bg-secondary:  #F4F0EA;
  --bg-card:       #FFFFFF;
  --bg-dark:       #1C1917;
  --bg-dark-alt:   #292524;

  --text:          #1C1917;
  --text-muted:    #78716C;
  --text-light:    #A8A29E;
  --text-inverse:  #FFFFFF;

  --gold:          #C2A46E;
  --gold-dark:     #A0844E;
  --gold-light:    #DCC69A;

  --border:        #E7E5E0;
  --border-dark:   #D6D3CC;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(28,25,23,.05);
  --shadow-sm:  0 2px 10px rgba(28,25,23,.07);
  --shadow-md:  0 4px 24px rgba(28,25,23,.09);
  --shadow-lg:  0 8px 40px rgba(28,25,23,.13);
  --shadow-xl:  0 20px 60px rgba(28,25,23,.16);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py:    96px;
  --container-max: 1300px;
  --gutter:        clamp(20px, 4vw, 48px);

  /* Radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:  16px;
  --r-pill: 999px;

  /* Motion */
  --ease:     cubic-bezier(.4,0,.2,1);
  --dur:      260ms;
  --dur-slow: 500ms;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; font-weight: 500; }

/* ── Container ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--bg-dark-alt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--bg-dark);
  border: 1.5px solid var(--bg-dark);
}
.btn-outline:hover {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.btn-gold {
  background: var(--gold);
  color: var(--text-inverse);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-dark);
}
.btn-ghost:hover { background: var(--bg-secondary); }
.btn-full { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-lg { padding: 17px 40px; font-size: 1rem; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* Loading spinner inside button */
.btn .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* ── Header / Nav ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  padding: 6px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  letter-spacing: .03em;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cart Button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  color: var(--text);
  transition: background var(--dur) var(--ease);
}
.cart-btn:hover { background: var(--bg-secondary); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: .65rem;
  font-weight: 700;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* Hamburger (mobile) */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--text);
  transition: background var(--dur) var(--ease);
}
.menu-btn:hover { background: var(--bg-secondary); }
.menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  border-radius: 2px;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Cart Drawer ──────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,25,23,.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 96vw);
  background: var(--bg-card);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  box-shadow: var(--shadow-xl);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
}
.cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cart-close:hover { background: var(--bg-secondary); color: var(--text); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
}
.cart-empty svg { width: 56px; height: 56px; opacity: .3; }
.cart-empty p { font-size: .95rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.cart-item-img-placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: .9rem; color: var(--text-muted); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--dur) var(--ease);
}
.qty-btn:hover { background: var(--bg-secondary); }
.qty-val { font-size: .875rem; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--text-light);
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
  transition: color var(--dur) var(--ease);
}
.cart-item-remove:hover { color: #c0392b; }

.cart-drawer-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cart-total-label { font-size: .875rem; color: var(--text-muted); }
.cart-total-value { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; }
.cart-note { font-size: .78rem; color: var(--text-light); text-align: center; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(194,164,110,.15) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(194,164,110,.08) 0%, transparent 45%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.02) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.02) 80px);
  opacity: .6;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-block: 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  color: var(--text-inverse);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Section Labels ───────────────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section-sm { padding-block: 64px; }
.section-dark { background: var(--bg-dark); color: var(--text-inverse); }
.section-cream { background: var(--bg-secondary); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}
.section-header { margin-bottom: 56px; }
.section-header-center { text-align: center; }
.section-header-center .section-label { justify-content: center; }
.section-header-center .section-subtitle { margin-inline: auto; }

/* ── Product Grid ─────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-secondary);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
}
.product-card-img-placeholder svg { width: 40px; height: 40px; opacity: .4; }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}
.product-badge-gold { background: var(--gold); }

.product-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-category {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-card-name {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
}
.product-card-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
}
.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.add-to-cart-btn:hover { background: var(--bg-dark-alt); transform: translateY(-1px); }
.add-to-cart-btn svg { width: 15px; height: 15px; }

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-md);
}
.skeleton-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.skeleton-img { aspect-ratio: 4/3; }
.skeleton-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line { height: 14px; border-radius: var(--r-sm); }
.skeleton-line-sm { width: 60%; }
.skeleton-line-md { width: 85%; }
.skeleton-line-lg { width: 100%; }

/* ── Benefits / Features Grid ─────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.feature-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.feature-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Steps ────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 40px;
  counter-reset: steps;
}
.step {
  counter-increment: steps;
  position: relative;
  padding-top: 20px;
}
.step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--border-dark);
  line-height: 1;
}
.step-body { padding-top: 52px; }
.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.step-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* Dark step variant */
.steps-dark .step::before { color: rgba(255,255,255,.1); }
.steps-dark .step-title { color: var(--text-inverse); }
.steps-dark .step-desc { color: rgba(255,255,255,.55); }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: var(--gold);
}
.testimonial-text {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.testimonial-name { font-size: .875rem; font-weight: 600; margin-bottom: 2px; }
.testimonial-location { font-size: .78rem; color: var(--text-light); }

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-dark);
  padding-block: 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(194,164,110,.18) 0%, transparent 60%);
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-inverse);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-main { color: var(--text-inverse); }
.footer-desc {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .7; }
.footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-inverse);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--dur) var(--ease);
}
.footer-link:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link {
  color: rgba(255,255,255,.35);
  transition: color var(--dur) var(--ease);
}
.footer-bottom-link:hover { color: rgba(255,255,255,.65); }

/* ── Product Detail Page ──────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.product-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--bg-secondary);
}
.product-main-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.product-main-placeholder svg { width: 64px; height: 64px; opacity: .3; }
.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
  background: var(--bg-secondary);
}
.product-thumb.active { border-color: var(--gold); }

.product-info { padding-top: 8px; }
.product-info-category {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.product-info-name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.product-info-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.product-info-divider {
  height: 1px;
  background: var(--border);
  margin-block: 28px;
}
.product-info-desc {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product-qty-label { font-size: .875rem; font-weight: 500; }
.product-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.product-qty-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: background var(--dur) var(--ease);
}
.product-qty-btn:hover { background: var(--bg-secondary); }
.product-qty-val {
  width: 42px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 38px;
  line-height: 38px;
}
.product-add-btn {
  padding: 15px 32px;
  font-size: .9rem;
}
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: var(--text-muted);
}
.product-meta-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold-dark); }

/* ── Page Header ──────────────────────────────────────────────── */
.page-header {
  background: var(--bg-dark);
  padding-block: 72px 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(194,164,110,.12) 0%, transparent 55%);
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-inverse);
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: .4; }

/* ── Filter Bar ───────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--r-pill);
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-inverse);
}

/* ── About Page ───────────────────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual-main {
  aspect-ratio: 4/5;
  background: var(--bg-secondary);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}
.about-stat-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 24px 28px;
  border-radius: var(--r-lg);
  text-align: center;
}
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label { font-size: .78rem; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; }
.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.about-value-item { display: flex; gap: 16px; align-items: flex-start; }
.about-value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.about-value-icon svg { width: 20px; height: 20px; }
.about-value-title { font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.about-value-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--text);
  font-size: .9rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194,164,110,.15);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--text-light); }

.contact-info { padding-top: 8px; }
.contact-info-title { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; }
.contact-info-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.contact-info-item-icon svg { width: 20px; height: 20px; }
.contact-info-item-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
.contact-info-item-value { font-size: .95rem; font-weight: 500; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-answer-inner {
  padding-bottom: 22px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Success / Cancel Pages ───────────────────────────────────── */
.result-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 80px;
}
.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-inline: auto;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-icon-success { background: #D1FAE5; color: #065F46; }
.result-icon-cancel  { background: #FEE2E2; color: #991B1B; }
.result-icon svg { width: 36px; height: 36px; }
.result-page h1 { font-size: 2rem; margin-bottom: 12px; }
.result-page p { font-size: 1rem; color: var(--text-muted); max-width: 480px; line-height: 1.7; margin-inline: auto; margin-bottom: 36px; }
.result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Legal Pages ──────────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 72px;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-content p, .legal-content li {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; }
.legal-content ul li { list-style: disc; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }

/* ── Toast ────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 14px 20px;
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  animation: toastIn .3s var(--ease) both;
}
.toast.toast-success { border-left: 3px solid #34D399; }
.toast.toast-error   { border-left: 3px solid #F87171; }
.toast.toast-info    { border-left: 3px solid var(--gold); }
.toast.removing      { animation: toastOut .3s var(--ease) both; }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Loading overlay ──────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250,250,248,.85);
  backdrop-filter: blur(4px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.loading-overlay.visible { opacity: 1; pointer-events: all; }
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.loading-text { font-size: .9rem; color: var(--text-muted); }

/* ── Error Message ────────────────────────────────────────────── */
.error-msg {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}
.error-msg svg { width: 48px; height: 48px; margin-inline: auto; margin-bottom: 16px; opacity: .35; }
.error-msg h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.error-msg p { font-size: .9rem; line-height: 1.6; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(24px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s var(--ease) both; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-intro-grid, .product-detail { grid-template-columns: 1fr; gap: 48px; }
  .product-gallery { position: static; }
}

@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* Nav */
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(250,250,248,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    transform: translateY(-110%);
    transition: transform var(--dur-slow) var(--ease);
    z-index: 899;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 14px 16px; font-size: 1rem; width: 100%; border-radius: var(--r-md); }
  .menu-btn { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stat-card { position: static; margin-top: 20px; display: inline-block; }
  .about-visual { text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .cart-item { grid-template-columns: 60px 1fr auto; }
  .cart-item-img, .cart-item-img-placeholder { width: 60px; height: 60px; }
}

/* ── Utility ──────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-auto     { margin-top: auto; }
.gap-sm      { gap: 12px; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
