/* ============================================================
   SAMPADA FURNITURE — Design System
   Warm Modern Luxury · Editorial · Gallery-grade
   ============================================================ */

:root {
  /* Palette */
  --ivory: #F6F1E7;
  --paper: #FBF8F1;
  --sand: #EDE4D3;
  --ink: #221A12;
  --espresso: #2E241B;
  --walnut: #7A5C3E;
  --oak: #A98A64;
  --brass: #B08D57;
  --brass-deep: #96733F;
  --brass-soft: #D9C39A;
  --terracotta: #C0674A;
  --sage: #7E8B6F;
  --white: #FFFFFF;
  --line: rgba(34, 26, 18, 0.12);
  --line-soft: rgba(34, 26, 18, 0.07);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(34, 26, 18, 0.06);
  --shadow-md: 0 12px 34px rgba(34, 26, 18, 0.10);
  --shadow-lg: 0 28px 70px rgba(34, 26, 18, 0.16);
  --shadow-brass: 0 14px 34px rgba(176, 141, 87, 0.32);

  /* Rhythm */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);
}

/* ---------- Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--brass); color: var(--white); }

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.font-italic-accent { font-style: italic; font-weight: 400; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease-luxe); }

p { color: rgba(34, 26, 18, 0.72); }

/* ---------- Typographic utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brass);
}
.eyebrow.no-rule::before { display: none; }

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-deep);
}
.section-sub { max-width: 560px; font-size: 1.02rem; }

.display-hero {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 1.02;
}
.display-hero em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-deep);
}

/* ---------- Buttons ---------- */
.btn-luxe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease-luxe);
  white-space: nowrap;
}
.btn-luxe svg { transition: transform 0.35s var(--ease-luxe); }
.btn-luxe:hover svg { transform: translateX(4px); }

.btn-ink {
  background: var(--ink);
  color: var(--ivory);
}
.btn-ink:hover {
  background: var(--brass-deep);
  color: var(--white);
  box-shadow: var(--shadow-brass);
  transform: translateY(-2px);
}

.btn-brass {
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-brass);
}
.btn-brass:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(176, 141, 87, 0.42);
  color: var(--white);
}

.btn-outline-ink {
  background: transparent;
  border-color: rgba(34, 26, 18, 0.35);
  color: var(--ink);
}
.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--ink);
  color: var(--brass-soft);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.55rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1050;
}
.announce-bar .sep { color: var(--brass); margin: 0 1rem; }

/* ---------- Island pill navbar ---------- */
.nav-island-wrap {
  position: sticky;
  top: 0.9rem;
  z-index: 1040;
  padding: 0 0.75rem; /* match Bootstrap .container side padding */
  margin-top: 0.9rem;
}
.nav-island {
  /* Track Bootstrap .container content width at every breakpoint so the
     island edges align exactly with the page content below it.
     (container max-width minus its 2×0.75rem padding) */
  max-width: none; /* fluid below sm — matches fluid .container */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(34, 26, 18, 0.09);
  box-shadow: 0 10px 40px rgba(34, 26, 18, 0.10);
  transition: box-shadow 0.4s var(--ease-luxe), background 0.4s var(--ease-luxe);
}
@media (min-width: 576px)  { .nav-island { max-width: 516px; } }  /* 540 − 24 */
@media (min-width: 768px)  { .nav-island { max-width: 696px; } }  /* 720 − 24 */
@media (min-width: 992px)  { .nav-island { max-width: 936px; } }  /* 960 − 24 */
@media (min-width: 1200px) { .nav-island { max-width: 1116px; } } /* 1140 − 24 */
@media (min-width: 1400px) { .nav-island { max-width: 1296px; } } /* 1320 − 24 */
/* Tighten links slightly at lg so brand + links + actions fit the 936px island */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-links a { padding: 0.55rem 0.7rem; font-size: 0.78rem; }
  .nav-cta { padding: 0.6rem 1.1rem; margin-left: 0.25rem; }
}
.nav-island.scrolled {
  background: rgba(251, 248, 241, 0.95);
  box-shadow: 0 16px 50px rgba(34, 26, 18, 0.16);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand-mark .brand-emblem {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  flex-shrink: 0;
}
.brand-mark .brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-mark .brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(34, 26, 18, 0.75);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-luxe);
}
.nav-links a:hover { color: var(--ink); background: rgba(34, 26, 18, 0.05); }
.nav-links a.active {
  color: var(--ink);
  background: var(--sand);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
}

.nav-actions { display: flex; align-items: center; gap: 0.15rem; flex-shrink: 0; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxe);
}
.icon-btn:hover { background: rgba(34, 26, 18, 0.07); transform: translateY(-1px); }
.icon-btn .badge-dot {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
}

.nav-cta {
  padding: 0.68rem 1.5rem;
  font-size: 0.74rem;
  margin-left: 0.5rem;
}

/* Profile dropdown */
.profile-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.3s;
}
.profile-chip:hover { background: rgba(34, 26, 18, 0.07); }
.profile-chip .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass), var(--walnut));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.dropdown-menu-luxe {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--paper);
  padding: 0.5rem;
  min-width: 220px;
}
.dropdown-menu-luxe .dropdown-item {
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(34, 26, 18, 0.8);
}
.dropdown-menu-luxe .dropdown-item:hover { background: var(--sand); color: var(--ink); }
.dropdown-menu-luxe .dropdown-item svg { color: var(--brass-deep); }
.dropdown-menu-luxe .dropdown-divider { border-color: var(--line-soft); margin: 0.4rem 0; }
.dropdown-menu-luxe .dropdown-head {
  padding: 0.75rem 0.85rem 0.5rem;
}
.dropdown-menu-luxe .dropdown-head strong { font-size: 0.9rem; display: block; }
.dropdown-menu-luxe .dropdown-head span { font-size: 0.74rem; color: rgba(34,26,18,0.55); }

/* Mobile nav */
.mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}
.mobile-menu-panel a.mnav-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--ivory);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-panel a.mnav-link span.idx {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--brass);
}

/* ---------- Hero : polygon split ---------- */
.hero-section {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0 var(--section-pad);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead {
  font-size: 1.08rem;
  max-width: 480px;
  margin: 1.5rem 0 2.2rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-proof {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-proof .proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
}
.hero-proof .proof-item span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 26, 18, 0.55);
  font-weight: 700;
}

.hero-visual { position: relative; }
.hero-polygon {
  position: relative;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
}
.hero-polygon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-luxe);
}
.hero-visual:hover .hero-polygon img { transform: scale(1.08); }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1.4rem auto auto -1.4rem;
  width: 55%;
  height: 55%;
  border: 1px solid var(--brass);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 22%);
  z-index: -1;
  opacity: 0.7;
}
.hero-float-card {
  position: absolute;
  bottom: 2rem;
  left: -2.2rem;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 270px;
}
.hero-float-card .fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-float-card strong { font-size: 0.88rem; display: block; line-height: 1.3; }
.hero-float-card span { font-size: 0.74rem; color: rgba(34,26,18,0.6); }

.hero-badge-rotator {
  position: absolute;
  top: -1.8rem;
  right: -1.2rem;
  width: 110px;
  height: 110px;
  z-index: 3;
}
.hero-badge-rotator svg { animation: spin 18s linear infinite; }
.hero-badge-rotator .badge-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brass-deep);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Info bar ---------- */
.info-bar {
  background: var(--espresso);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 2.2rem clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.info-bar::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(217, 195, 154, 0.18);
}
.info-item { display: flex; gap: 1rem; align-items: flex-start; position: relative; z-index: 1; }
.info-item .ii-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(217, 195, 154, 0.35);
  color: var(--brass-soft);
  display: grid;
  place-items: center;
}
.info-item strong { display: block; font-size: 0.95rem; color: var(--ivory); margin-bottom: 0.15rem; }
.info-item span { font-size: 0.8rem; color: rgba(246, 241, 231, 0.6); line-height: 1.45; display: block; }

/* 3-column variant (contact page) — responsive override of the 4-col default */
.info-bar-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Shop by categories : magazine collage ---------- */
.categories-section { padding: var(--section-pad) 0 0; }

.cat-index { list-style: none; margin: 2rem 0 0; padding: 0; }
.cat-index li a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
  transition: all 0.3s var(--ease-luxe);
}
.cat-index li a:hover { padding-left: 0.7rem; border-color: var(--brass); }
.cat-index .ci-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--brass-deep);
  min-width: 1.6rem;
}
.cat-index .ci-name { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.cat-index .ci-count {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 26, 18, 0.45);
}
.cat-index li a:hover .ci-count { color: var(--brass-deep); }

.cat-collage {
  position: relative;
  aspect-ratio: 16 / 10.6;
}
.cat-piece {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease-luxe), box-shadow 0.6s var(--ease-luxe), z-index 0s;
}
.cat-piece:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  z-index: 9;
}
.cat-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxe);
}
.cat-piece:hover img { transform: scale(1.07); }
.cat-piece::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 17, 10, 0.72) 0%, rgba(24, 17, 10, 0.1) 48%, rgba(24, 17, 10, 0) 62%);
  pointer-events: none;
}
.cat-piece .cp-idx {
  position: absolute;
  top: 0.85rem;
  left: 1.05rem;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(251, 248, 241, 0.85);
  text-shadow: 0 1px 8px rgba(24, 17, 10, 0.5);
}
.cat-piece .cp-label {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.95rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  color: var(--white);
}
.cat-piece .cp-label h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.cat-piece .cp-label span {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.3rem;
}
.cat-piece .cp-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.35s var(--ease-luxe);
}
.cat-piece:hover .cp-arrow { background: var(--brass); border-color: var(--brass); transform: rotate(-45deg); }

/* Piece placement — deliberate overlaps, H = 0.6625 × W */
.cp-sofas    { left: 0;    top: 5%;  width: 44%;   aspect-ratio: 4 / 4.6; z-index: 2; }
.cp-beds     { right: 3%;  top: 0;   width: 30%;   aspect-ratio: 4 / 3;   z-index: 3; }
.cp-dining   { right: 0;   top: 30%; width: 27%;   aspect-ratio: 4 / 3.5; z-index: 4; }
.cp-tables   { left: 47%;  top: 38%; width: 23%;   aspect-ratio: 1 / 1;   z-index: 5; }
.cp-storage  { left: 22%;  bottom: 0; width: 25%;  aspect-ratio: 4 / 3;   z-index: 3; }
.cp-lighting { right: 6%;  bottom: 0; width: 24%;  aspect-ratio: 4 / 3.3; z-index: 4; }

/* Decorative layers filling intentional negative space */
.cat-frame {
  position: absolute;
  left: -1.2rem;
  top: calc(5% - 1.2rem);
  width: 44%;
  aspect-ratio: 4 / 4.6;
  border: 1px solid var(--brass);
  border-radius: var(--radius-md);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.cat-dots {
  position: absolute;
  left: 44%;
  top: 22%;
  width: 132px;
  height: 100px;
  background-image: radial-gradient(rgba(176, 141, 87, 0.5) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}
.cat-badge {
  position: absolute;
  left: 45%;
  top: 1.5%;
  width: 104px;
  height: 104px;
  z-index: 6;
  pointer-events: none;
}
.cat-badge svg { animation: spin 18s linear infinite; }
.cat-badge .badge-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brass-deep);
}
/* Bottom-center negative-space tag */
.cat-tag {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.cat-tag .ct-line {
  display: block;
  width: 1px;
  height: 34px;
  margin: 0 auto 0.7rem;
  background: linear-gradient(to bottom, transparent, var(--brass));
}
.cat-tag .ct-est {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--brass-deep);
  line-height: 1.3;
}
.cat-tag .ct-num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(34, 26, 18, 0.4);
  margin-top: 0.3rem;
}

@media (max-width: 991.98px) {
  .cat-collage {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cat-piece {
    position: static;
    aspect-ratio: 4 / 3.4;
  }
  .cp-sofas { grid-column: span 2; aspect-ratio: 16 / 10; }
  .cat-frame, .cat-dots, .cat-badge, .cat-tag { display: none; }
}

/* ---------- Product cards ---------- */
.product-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: all 0.45s var(--ease-luxe);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176, 141, 87, 0.35);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  background: var(--sand);
}
/* The anchor wrapping the product image is inline by default — block it so
   the image's height:100% resolves against the media frame, not a line box. */
.product-media a { display: block; width: 100%; height: 100%; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-luxe);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: var(--ink);
  color: var(--brass-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
}
.product-tag.tag-sale { background: var(--terracotta); color: var(--white); }
.product-tag.tag-new { background: var(--brass); color: var(--white); }
.wish-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxe);
  opacity: 0;
  transform: translateY(-6px);
}
.product-card:hover .wish-btn { opacity: 1; transform: translateY(0); }
/* Touch devices have no hover — keep wishlist + quick-add always visible */
@media (hover: none) {
  .wish-btn { opacity: 1; transform: none; }
  .product-quickadd { opacity: 1; transform: none; }
}
.wish-btn:hover { background: var(--terracotta); color: var(--white); }
.wish-btn.active {
  opacity: 1;
  transform: translateY(0);
  background: var(--terracotta);
  color: var(--white);
}
.product-quickadd {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-luxe);
}
.product-card:hover .product-quickadd { opacity: 1; transform: translateY(0); }
.product-quickadd button {
  width: 100%;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(34, 26, 18, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.75rem;
  cursor: pointer;
  transition: background 0.3s;
}
.product-quickadd button:hover { background: var(--brass-deep); }
.product-info { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
}
.product-name a:hover { color: var(--brass-deep); }
.product-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.product-price { font-weight: 800; font-size: 1rem; }
.product-price .was {
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(34, 26, 18, 0.45);
  text-decoration: line-through;
  margin-right: 0.45rem;
}
.product-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 700; }
.product-rating svg { color: var(--brass); }

/* ---------- Slim CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(24, 17, 10, 0.88) 20%, rgba(24, 17, 10, 0.35) 65%, rgba(24, 17, 10, 0.1));
}
.cta-band .cta-inner {
  padding: clamp(2.5rem, 5vw, 4rem);
  max-width: 620px;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cta-band h2 em { color: var(--brass-soft); font-weight: 400; }
.cta-band p { color: rgba(246, 241, 231, 0.75); margin-bottom: 1.8rem; }

/* ---------- New arrivals : category tabs ---------- */
.arrivals-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.arrivals-tabs button {
  border: none;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(34, 26, 18, 0.6);
  cursor: pointer;
  transition: all 0.3s var(--ease-luxe);
}
.arrivals-tabs button:hover { color: var(--ink); }
.arrivals-tabs button.active {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: var(--shadow-sm);
}

/* ---------- Reviews ---------- */
.reviews-section {
  background: var(--espresso);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}
.reviews-section::before {
  content: "\201C";
  position: absolute;
  top: -4rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 26rem;
  line-height: 1;
  color: rgba(217, 195, 154, 0.07);
  pointer-events: none;
}
.reviews-section .eyebrow { color: var(--brass-soft); }
.reviews-section h2 { color: var(--ivory); }
.reviews-section h2 em { color: var(--brass-soft); }
.review-card {
  background: rgba(251, 248, 241, 0.05);
  border: 1px solid rgba(217, 195, 154, 0.16);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-luxe);
}
.review-card:hover {
  background: rgba(251, 248, 241, 0.09);
  border-color: rgba(217, 195, 154, 0.35);
  transform: translateY(-4px);
}
.review-stars { color: var(--brass); display: flex; gap: 2px; margin-bottom: 1rem; }
.review-text {
  color: rgba(246, 241, 231, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}
.review-person { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.4rem; }
.review-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brass);
}
.review-person strong { display: block; font-size: 0.9rem; color: var(--ivory); }
.review-person span { font-size: 0.74rem; color: rgba(246, 241, 231, 0.55); }

/* ---------- Instagram reels row ---------- */
.insta-section { padding: var(--section-pad) 0; }
.reel-track-wrap { position: relative; }
.reel-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.2rem 1.4rem;
  scrollbar-width: none;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-card {
  position: relative;
  flex: 0 0 235px;
  scroll-snap-align: start;
  aspect-ratio: 9 / 14;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-luxe);
}
.reel-card:hover img { transform: scale(1.07); }
.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 17, 10, 0.65), transparent 45%);
}
.reel-card .reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(251, 248, 241, 0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.35s var(--ease-luxe);
}
.reel-card:hover .reel-play { background: var(--brass); border-color: var(--brass); transform: translate(-50%, -50%) scale(1.1); }
.reel-card .reel-meta {
  position: absolute;
  bottom: 0.9rem;
  left: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reel-card .reel-meta svg { color: var(--brass-soft); flex-shrink: 0; }
.reel-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxe);
}
.reel-nav-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  margin-top: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.footer-newsletter {
  border-bottom: 1px solid rgba(246, 241, 231, 0.1);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.footer-newsletter h2 { color: var(--ivory); font-size: clamp(1.9rem, 3.6vw, 3rem); }
.footer-newsletter h2 em { color: var(--brass-soft); font-weight: 400; }
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  background: rgba(251, 248, 241, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  max-width: 520px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ivory);
  font-size: 0.95rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(246, 241, 231, 0.4); }
.footer-main { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-brand p { color: rgba(246, 241, 231, 0.6); font-size: 0.92rem; max-width: 320px; }
.footer-heading {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  color: rgba(246, 241, 231, 0.65);
  font-size: 0.92rem;
  transition: all 0.3s;
}
.footer-links a:hover { color: var(--brass-soft); padding-left: 6px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(246, 241, 231, 0.65);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  list-style: none;
}
.footer-contact svg { color: var(--brass); flex-shrink: 0; margin-top: 4px; }
.footer-contact { padding: 0; margin: 0; }
.social-row { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, 0.2);
  display: grid;
  place-items: center;
  color: rgba(246, 241, 231, 0.75);
  transition: all 0.3s var(--ease-luxe);
}
.social-row a:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(246, 241, 231, 0.1);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.45);
}
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 11rem);
  line-height: 0.9;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 195, 154, 0.22);
  user-select: none;
  padding-bottom: 1rem;
  letter-spacing: 0.04em;
}

/* ---------- Cart / Wishlist drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 17, 10, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1070;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 92vw);
  background: var(--paper);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(24, 17, 10, 0.25);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.45s var(--ease-luxe), visibility 0s linear 0.45s;
}
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s var(--ease-luxe), visibility 0s;
}
.cart-drawer .drawer-head {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer .drawer-head h3 { margin: 0; font-size: 1.35rem; }
.cart-drawer .drawer-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; }
.cart-drawer .drawer-foot {
  border-top: 1px solid var(--line-soft);
  padding: 1.3rem 1.6rem 1.6rem;
  background: var(--ivory);
}
.cart-line {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-line img {
  width: 76px;
  height: 86px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-line .cl-info { flex: 1; min-width: 0; }
.cart-line .cl-info strong { font-family: var(--font-display); font-size: 1rem; display: block; }
.cart-line .cl-info .cl-cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-deep); font-weight: 700; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-stepper button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
}
.qty-stepper button:hover { background: var(--sand); }
.qty-stepper span { min-width: 30px; text-align: center; font-size: 0.85rem; font-weight: 700; }
.cl-remove {
  border: none;
  background: transparent;
  color: rgba(34, 26, 18, 0.4);
  cursor: pointer;
  padding: 4px;
  align-self: flex-start;
  margin-top: 2px;
}
.cl-remove:hover { color: var(--terracotta); }
.drawer-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: rgba(34, 26, 18, 0.55);
}
.drawer-empty svg { color: var(--brass-soft); margin-bottom: 1rem; }

/* ---------- Toast ---------- */
.luxe-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-lg);
}
.luxe-toast svg { color: var(--brass-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.page-hero .breadcrumb-luxe {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(34, 26, 18, 0.5);
  margin-bottom: 1.2rem;
}
.page-hero .breadcrumb-luxe a:hover { color: var(--brass-deep); }
.page-hero .breadcrumb-luxe .crumb-sep { color: var(--brass); }

/* ---------- Filter bar (products page) ---------- */
.filter-bar {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  padding: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
/* Chips, search pill and sort select share one exact height so the
   whole bar reads as a single aligned row. */
.filter-chip,
.filter-select,
.search-pill {
  height: 2.6rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 26, 18, 0.6);
  cursor: pointer;
  transition: all 0.3s var(--ease-luxe);
}
.filter-chip:hover { color: var(--ink); background: var(--sand); }
.filter-chip.active { background: var(--ink); color: var(--ivory); }
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2396733F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 12px;
  padding: 0 2.4rem 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}
.filter-select:focus { border-color: var(--brass); }
.search-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0 1.1rem;
  background: var(--paper);
}
.search-pill:focus-within { border-color: var(--brass); }
.search-pill input {
  border: none;
  outline: none;
  background: transparent;
  height: 100%;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1;
  min-width: 150px;
  color: var(--ink);
}
.search-pill svg { color: rgba(34, 26, 18, 0.45); flex-shrink: 0; }

/* ---------- Cards generic (blog etc.) ---------- */
.story-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.45s var(--ease-luxe);
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(176,141,87,0.35); }
.story-card .story-media { aspect-ratio: 16/10; overflow: hidden; }
.story-card .story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-luxe); }
.story-card:hover .story-media img { transform: scale(1.06); }
.story-card .story-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.story-card .story-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.55rem;
}
.story-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.story-card h3 a:hover { color: var(--brass-deep); }
.story-card p { font-size: 0.9rem; }
.story-card .story-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: rgba(34, 26, 18, 0.55);
  font-weight: 600;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.read-more-link svg { transition: transform 0.3s var(--ease-luxe); color: var(--brass-deep); }
.read-more-link:hover { color: var(--brass-deep); }
.read-more-link:hover svg { transform: translateX(5px); }

/* ---------- Forms ---------- */
.form-luxe .form-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 26, 18, 0.6);
  margin-bottom: 0.5rem;
}
.form-luxe .form-control,
.form-luxe .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.3s;
}
.form-luxe .form-control:focus,
.form-luxe .form-select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.15);
  background: var(--white);
}

/* ---------- Product Detail Page ---------- */
.pdp-gallery { position: sticky; top: 110px; }
.pdp-main-img {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s var(--ease-luxe); }
.pdp-main-img .pdp-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.pdp-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--sand);
  transition: border-color 0.3s var(--ease-luxe);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-luxe); }
.pdp-thumb:hover img { transform: scale(1.06); }
.pdp-thumb.active { border-color: var(--brass); }

.pdp-cat {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.6rem;
}
.pdp-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}
.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  font-size: 0.85rem;
}
.pdp-rating-row .stars { color: var(--brass); display: flex; gap: 1px; }
.pdp-rating-row .rcount { color: rgba(34, 26, 18, 0.5); font-weight: 600; }
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.pdp-price { font-family: var(--font-display); font-size: 2rem; color: var(--ink); }
.pdp-was { font-size: 1.1rem; color: rgba(34, 26, 18, 0.4); text-decoration: line-through; }
.pdp-save {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(192, 103, 74, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.pdp-desc { font-size: 0.95rem; line-height: 1.7; color: rgba(34, 26, 18, 0.78); margin-bottom: 1.6rem; }

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: stretch;
  margin-bottom: 1.6rem;
}
.pdp-qty {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  overflow: hidden;
}
.pdp-qty button {
  width: 44px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}
.pdp-qty button:hover { background: var(--sand); }
.pdp-qty span {
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.pdp-add-btn { flex: 1; min-width: 200px; }
.pdp-wish-btn {
  align-self: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.3s var(--ease-luxe);
}
.pdp-wish-btn:hover { border-color: var(--brass); color: var(--brass-deep); }
.pdp-wish-btn.active { background: var(--brass); border-color: var(--brass); color: var(--white); }

.pdp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.pdp-trust-item { text-align: center; }
.pdp-trust-item svg { color: var(--brass-deep); margin-bottom: 0.4rem; }
.pdp-trust-item strong { display: block; font-size: 0.78rem; line-height: 1.3; }
.pdp-trust-item span { font-size: 0.68rem; color: rgba(34, 26, 18, 0.5); }

.pdp-tabs { margin-top: 0.5rem; }
.pdp-tab-head {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pdp-tab-head::-webkit-scrollbar { display: none; }
.pdp-tab-btn {
  border: none;
  background: transparent;
  padding: 0.9rem 1.4rem;
  margin-bottom: -1px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(34, 26, 18, 0.5);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s var(--ease-luxe);
  white-space: nowrap;
}
.pdp-tab-btn:hover { color: var(--ink); }
.pdp-tab-btn.active { color: var(--ink); border-bottom-color: var(--brass); }
.pdp-tab-panel { display: none; animation: pdpFadeIn 0.4s var(--ease-luxe); }
.pdp-tab-panel.active { display: block; }
@keyframes pdpFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pdp-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2rem;
  margin-top: 1rem;
}
.pdp-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.pdp-spec-row .label { color: rgba(34, 26, 18, 0.5); font-weight: 600; }
.pdp-spec-row .value { font-weight: 700; color: var(--ink); }

.pdp-features-list { list-style: none; padding: 0; margin: 0; }
.pdp-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
}
.pdp-features-list li svg { color: var(--brass); flex-shrink: 0; margin-top: 3px; }

.pdp-materials-list { list-style: none; padding: 0; margin: 0; }
.pdp-materials-list li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pdp-materials-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .pdp-gallery { position: static; }
  .pdp-specs { grid-template-columns: 1fr; }
}
/* Stack trust items only on very small phones — a 3-across row works on tablets */
@media (max-width: 479.98px) {
  .pdp-trust { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-luxe), transform 0.9s var(--ease-luxe);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge-rotator svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Marquee ---------- */
.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 1.1rem 0;
  background: var(--paper);
}
.marquee-inner {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(34, 26, 18, 0.55);
  display: flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee-inner span::after { content: "✦"; color: var(--brass); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Alpine cloak ---------- */
[x-cloak] { display: none !important; }

/* ---------- Responsive ---------- */

/* Tablet (≤ 991px) — nav links hide, hero stacks, grids collapse */
@media (max-width: 991.98px) {
  .nav-links, .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .hero-float-card { left: 0.8rem; }
  .hero-badge-rotator { right: 0; top: -1rem; }
  .info-bar, .info-bar-3 { grid-template-columns: repeat(2, 1fr); }
  /* Category collage: fill the empty slot left by the spanning sofa piece */
  .cp-lighting { grid-column: span 2; aspect-ratio: 16 / 10; }
  /* Reviews: shrink the giant decorative quote mark */
  .reviews-section::before { font-size: 16rem; right: 1rem; }
  /* Filter bar: search grows, sort select shares the same full-width row */
  .filter-bar > .d-flex { width: 100%; }
  .filter-bar .search-pill { flex: 1 1 auto; min-width: 0; }
  .filter-bar .search-pill input { min-width: 0; width: 100%; }
  .filter-bar .filter-select { flex-shrink: 0; }
}

/* Mobile (≤ 575px) — single column, compact nav, stacked actions */
@media (max-width: 575.98px) {
  /* --- Nav island: prevent overflow on 320-375px viewports --- */
  .nav-island { padding: 0.45rem 0.45rem 0.45rem 0.9rem; gap: 0.5rem; }
  .nav-actions { gap: 0.1rem; }
  .nav-actions .dropdown { display: none; }        /* hide profile chip on smallest screens */
  .icon-btn { width: 38px; height: 38px; }
  .brand-mark { gap: 0.5rem; }
  .brand-mark .brand-emblem { width: 34px; height: 34px; font-size: 1rem; }
  .brand-mark .brand-name { font-size: 1.1rem; }
  .brand-mark .brand-name small { display: none; }  /* hide "Furniture" subtitle */

  /* --- Info bars: single column --- */
  .info-bar, .info-bar-3 { grid-template-columns: 1fr; }

  /* --- Hero --- */
  .hero-proof { gap: 1.4rem; flex-wrap: wrap; }
  .hero-badge-rotator { display: none; }
  .hero-float-card { left: 0.5rem; right: 0.5rem; max-width: none; }

  /* --- Product cards: prevent meta overflow in 2-col grid --- */
  .product-info { padding: 0.85rem 0.9rem 1rem; }
  .product-name { font-size: 0.98rem; }
  .product-price { font-size: 0.88rem; }
  .product-price .was { font-size: 0.72rem; margin-right: 0.3rem; }
  .product-rating { font-size: 0.72rem; gap: 0.2rem; }
  .product-rating svg { width: 11px; height: 11px; }
  .product-meta { flex-wrap: wrap; gap: 0.25rem; }
  .product-quickadd button { font-size: 0.66rem; padding: 0.6rem; }

  /* --- PDP actions: stack qty + wishlist on row 1, cart button full-width below --- */
  .pdp-actions { flex-wrap: wrap; }
  .pdp-qty { order: 1; }
  .pdp-wish-btn { order: 2; }
  .pdp-add-btn { order: 3; flex: 1 1 100%; min-width: 0; }



  /* --- Newsletter form: stack vertically --- */
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); padding: 0.8rem; }
  .newsletter-form input { padding: 0.7rem 0.5rem; }
  .newsletter-form .btn-luxe { width: 100%; }

  /* --- Reviews quote mark: further reduce --- */
  .reviews-section::before { font-size: 10rem; right: 0.5rem; top: -2rem; }
}
