/* ═══════════════════════════════════════════
   SofaVogue — Single-scroll catalogue
   ═══════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --surface-soft: #f8f8f8;
  --line: #e0e0e0;
  --line-strong: #cccccc;
  --text: #333333;
  --muted: #757575;
  --accent: #ed6f2d;
  --accent-hover: #d65c1c;
  --success: #388e3c;
  --shadow: 0 4px 14px rgba(0,0,0,0.07);
  --shadow-strong: 0 8px 28px rgba(0,0,0,0.13);
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}
img { display: block; max-width: 100%; }
a, button { cursor: pointer; }
button { font: inherit; border: none; background: none; }
a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }

/* ─── TOPBAR ─── */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.brand-mark {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.brand-mark:hover { opacity: 0.8; }

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 201;
}

.nav-item { position: relative; }
.nav-trigger {
  padding: 10px 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-trigger:hover, .nav-trigger.is-active { color: var(--accent); border-color: var(--accent); }

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  min-width: 210px;
  z-index: 202;
}
.mega-column {
  display: flex; flex-direction: column; gap: 2px; padding: 20px;
}
.mega-column h2 {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); border-bottom: 1px solid var(--line);
  padding-bottom: 8px; margin-bottom: 6px;
}
.mega-column a {
  font-size: 14px; color: var(--text); padding: 5px 2px;
  transition: color 0.15s;
}
.mega-column a:hover { color: var(--accent); }
.is-hidden { display: none !important; }

.nav-showroom-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-showroom-btn:hover { background: var(--accent); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ─── MOBILE DRAWER ─── */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(280px, 85vw);
  background: #fff;
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 6px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.14);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.is-open { display: flex !important; transform: translateX(0); }
.drawer-close {
  align-self: flex-end; color: var(--muted); padding: 4px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--accent); }
.drawer-logo {
  font-family: "Playfair Display", serif;
  font-size: 20px; font-weight: 800; color: var(--accent);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--text);
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s;
}
.drawer-link:hover { color: var(--accent); }
.drawer-link--accent {
  color: var(--accent); margin-top: 10px;
  border: 1.5px solid var(--accent); border-radius: 2px; padding: 13px 16px;
}
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.38); z-index: 299;
}
.drawer-overlay.is-open { display: block !important; }

/* ─── HERO ─── */
.hero-page {
  position: relative;
  height: 100dvh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.44) 55%,
    rgba(0,0,0,0.06) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 600px;
  padding: calc(var(--topbar-h) + 16px) 48px 48px;
  color: #fff;
}
.hero-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.hero-kicker::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.hero-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800; line-height: 1.06; margin-bottom: 20px;
}
.hero-sub {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.82); margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  border-radius: 2px;
  background: var(--accent); color: #fff;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hero-cta--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.65); color: #fff;
}
.hero-cta--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.hero-stats { display: flex; align-items: center; gap: 22px; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 11px; color: rgba(255,255,255,0.62); text-transform: uppercase; letter-spacing: 0.07em; }
.hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.24); }
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  min-width: 72px; height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.45);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  animation: bounce 2s infinite;
  transition: background 0.2s;
}
.hero-scroll-hint:hover { background: rgba(255,255,255,0.14); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── CATALOGUE WRAPPER ─── */
.catalogue { background: #fff; }

/* Category divider between sofa sets / recliners / sofa beds */
.catalogue-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 48px 0 0;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.catalogue-divider::before,
.catalogue-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--line);
}
.catalogue-divider span {
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

/* Mobile drawer section label */
.drawer-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 14px 8px 4px;
  margin-top: 6px;
}

.page-wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ─── SOFA SECTION (one per product) ─── */
.sofa-section {
  scroll-margin-top: var(--topbar-h);
  border-bottom: 6px solid var(--surface-soft);
  padding: 56px 0;
}
.sofa-section:last-child { border-bottom: none; }

/* collection label strip at top */
.sofa-label-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.sofa-collection-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.sofa-collection-tag::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.sofa-number { font-size: 13px; color: var(--muted); font-weight: 600; }

/* main product grid */
.sofa-grid {
  display: grid;
  grid-template-columns: 80px 1fr 360px;
  gap: 24px;
  align-items: start;
}

/* ── thumbnail strip ── */
.thumb-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thumb-btn {
  width: 72px; height: 72px;
  border: 1.5px solid var(--line);
  border-radius: 2px; padding: 3px;
  overflow: hidden;
  transition: border-color 0.18s;
  flex-shrink: 0;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: contain; }
.thumb-btn.is-active, .thumb-btn:hover { border-color: var(--accent); }

/* ── hero image stage ── */
.stage {
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.stage-img {
  width: 100%; height: auto; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}

.stage-icon-btn {
  position: absolute; right: 12px; z-index: 2;
  width: 42px; height: 42px; padding: 0; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s;
}
.stage-icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-1px);
}
.stage-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-icon-btn.fav svg {
  fill: currentColor;
  stroke: none;
}
.stage-icon-btn.fav  { top: 12px; }
.stage-icon-btn.share { top: 60px; }

.stage-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; padding: 0; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.2s; opacity: 0.88;
}
.stage-arrow:hover { opacity: 1; color: var(--accent); border-color: var(--accent); }
.stage-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-arrow.prev { left: 12px; }
.stage-arrow.next { right: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── purchase panel ── */
.buy-panel { padding: 0; }
.buy-brand { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 8px; }
.buy-title { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 24px; }

.opt-block { margin-bottom: 22px; }
.opt-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.opt-head h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.opt-head span { font-size: 13px; color: var(--accent); font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 14px; border: 1.5px solid var(--line-strong);
  background: #fff; font-size: 13px; font-weight: 500;
  border-radius: 2px; color: var(--text); transition: all 0.18s;
}
.chip:hover { border-color: var(--muted); }
.chip.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.color-chip { padding: 6px; min-width: 72px; text-align: center; }
.color-swatch { width: 100%; height: 40px; margin-bottom: 6px; border: 1px solid rgba(0,0,0,0.08); border-radius: 1px; }
.color-chip span { font-size: 11px; }

/* price band */
.price-band {
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.price-band-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.price-main { font-size: 30px; font-weight: 800; color: var(--text); }
.price-mrp { color: var(--muted); font-size: 13px; text-decoration: line-through; }
.price-off { color: var(--success); font-size: 13px; font-weight: 700; }
.price-note { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.benefit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-tile {
  padding: 13px; background: var(--surface-soft);
  border: 1px solid var(--line); border-radius: 2px;
}
.benefit-tile h4 { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; }
.benefit-tile p { font-size: 14px; font-weight: 700; color: var(--text); }

/* specs */
.spec-list { display: flex; flex-direction: column; }
.spec-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.spec-row span { color: var(--muted); }
.spec-row strong { font-weight: 600; }

/* highlights strip below grid */
.sofa-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.highlight-card { }
.highlight-card .section-kicker {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px;
}
.highlight-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.highlight-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.highlight-card ul { padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* add to cart in-section button */
.buy-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 2px; margin-top: 20px;
  transition: background 0.2s;
}
.buy-cta:hover { background: var(--accent-hover); }

/* ─── ADDRESS ─── */
.address-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  padding: 64px 0;
  scroll-margin-top: var(--topbar-h);
}
.address-card {
  display: flex; gap: 32px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.address-visual {
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.address-body { flex: 1; }
.address-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.address-text { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 22px; }
.address-hours { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.address-hour-row { display: flex; gap: 20px; font-size: 13px; }
.address-hour-row span { color: var(--muted); min-width: 80px; }
.address-hour-row strong { font-weight: 600; }
.address-map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s;
}
.address-map-btn:hover { background: var(--accent-hover); }

/* ═══════════════════════
   RESPONSIVE
═══════════════════════ */
@media (max-width: 1100px) {
  .sofa-grid { grid-template-columns: 72px 1fr; }
  .buy-panel { grid-column: 1 / -1; margin-top: 24px; }
}

@media (max-width: 1024px) {
  .topnav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root { --topbar-h: 56px; }
  .topbar { padding: 0 16px; }
  .brand-mark { font-size: 22px; }
  .page-wrap { width: calc(100% - 24px); }

  .hero-content { padding: calc(var(--topbar-h) + 12px) 20px 40px; max-width: 100%; }
  .hero-headline { font-size: clamp(32px, 9vw, 48px); }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-cta { text-align: center; }
  .hero-stats { gap: 14px; }
  .hero-stat strong { font-size: 20px; }

  .sofa-section { padding: 36px 0; }

  .sofa-grid { grid-template-columns: 1fr; gap: 0; }
  .thumb-strip {
    flex-direction: row; overflow-x: auto; padding: 12px 0; gap: 8px;
    -webkit-overflow-scrolling: touch;
    order: 2;
  }
  .thumb-strip::-webkit-scrollbar { display: none; }
  .thumb-btn { width: 64px; height: 64px; flex-shrink: 0; }
  .stage { order: 1; border-left: none; border-right: none; border-radius: 0; }
  .buy-panel { order: 3; padding: 20px 0 0; }
  .stage-icon-btn {
    top: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.98);
  }
  .stage-icon-btn.fav { right: 12px; }
  .stage-icon-btn.share { right: 60px; }

  .sofa-highlights { grid-template-columns: 1fr; gap: 28px; }
  .benefit-row { grid-template-columns: 1fr; }

  .address-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; }
  .address-visual { width: 100%; max-width: 340px; }
  .address-hours { align-items: center; }
  .address-hour-row { flex-direction: column; gap: 2px; align-items: center; }
}

@media (max-width: 480px) {
  .hero-stat-divider { display: none; }
  .page-wrap { width: calc(100% - 16px); }
  .sofa-label-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
