/* ═══════════════════════════════════════════════
   MILO HOMEDECOR — GLOBAL STYLES v2
   ═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #f8f4ef;
  --warm0:   #f2ebe0;
  --warm1:   #e8ddd0;
  --sand:    #ADBFFD;
  --terra:   #A8A84B;
  --dark:    #1a0e08;
  --sage:    #7d9172;
  --mist:    #ddd6cc;
  --white:   #ffffff;
  --text:    #1a0e08;
  --text-60: rgba(26,14,8,0.58);
  --text-40: rgba(26,14,8,0.38);

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  2px;
  --radius:     4px;
  --radius-img: 4px;

  --transition: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-card:  0 8px 32px rgba(26,14,8,0.07);
  --shadow-hover: 0 20px 56px rgba(26,14,8,0.14);

  --max-width: 1440px;
  --pad-x: clamp(1.5rem, 5vw, 5rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }


/* ══════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.08;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow--light { color: var(--sand); }


/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem var(--pad-x);
  background: rgba(248,244,239,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mist);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 4px 28px rgba(26,14,8,0.08); }

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dark);
  flex-shrink: 0;
}
.logo span { color: var(--terra); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.5;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
}


/* ══════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem var(--pad-x);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-60);
}
.breadcrumb a { opacity: 0.6; transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb-sep { opacity: 0.3; font-size: 0.6rem; }


/* ══════════════════════════════════════════════
   HERO — LANDING (v2 photo-dominant split)
══════════════════════════════════════════════ */
.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: 40fr 60fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Remove blob in v2 */
.hero-blob { display: none; }

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(2.5rem, 4vw, 5rem) 7rem clamp(1.5rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
  background: var(--cream);
}

/* Vertical accent line separating text from photo */
.hero-text::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--mist) 30%, var(--mist) 70%, transparent);
}

.hero h1 {
  font-size: clamp(3rem, 4.8vw, 5.8rem);
  color: var(--dark);
  margin: 1.2rem 0 1.5rem;
  line-height: 1.04;
}
.hero h1 em { font-style: italic; color: var(--terra); }

.hero-sub {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text-60);
  max-width: 400px;
  margin-bottom: 2.5rem;
}

/* Full-height photo panel */
.hero-photo {
  position: relative;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}
.hero:hover .hero-photo img { transform: scale(1.04); }

/* Legacy mosaic — hidden in v2 */
.hero-mosaic { display: none; }
.mosaic-cell { display: none; }


/* ══════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════ */
.marquee {
  background: var(--dark);
  color: var(--cream);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track span {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}
.marquee-track .dot { color: var(--terra); opacity: 1; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════ */
.sec-head {
  text-align: center;
  padding: 5.5rem var(--pad-x) 2.5rem;
}
.sec-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: var(--dark);
  margin-top: 0.5rem;
}
.sec-head h2 em { font-style: italic; color: var(--terra); }
.sec-head .sec-sub {
  font-size: 0.88rem;
  color: var(--text-60);
  max-width: 480px;
  margin: 0.8rem auto 0;
  line-height: 1.75;
}


/* ══════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════ */
.shop-wrap {
  padding: 0 var(--pad-x) 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}

/* ── Featured grid: image fills the whole card, text overlaid ── */
.product-grid--featured {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 400px;
  gap: 1rem;
}
.product-grid--featured .card:nth-child(1) { grid-column: span 5; }
.product-grid--featured .card:nth-child(2) { grid-column: span 4; }
.product-grid--featured .card:nth-child(3) { grid-column: span 3; }
.product-grid--featured .card:nth-child(4) { grid-column: span 3; }
.product-grid--featured .card:nth-child(5) { grid-column: span 4; }
.product-grid--featured .card:nth-child(6) { grid-column: span 5; }

/* Override card internals in featured grid */
.product-grid--featured .card {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-img);
}
.product-grid--featured .card-img {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  height: 100%;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.product-grid--featured .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.product-grid--featured .card:hover .card-img img {
  opacity: 0.72;
}
.product-grid--featured .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.6rem 1.6rem;
  background: linear-gradient(to top, rgba(26,14,8,0.95) 0%, rgba(26,14,8,0.45) 55%, transparent 100%);
  border-radius: 0 0 var(--radius-img) var(--radius-img);
}
.product-grid--featured .card-cat   { color: rgba(196,168,130,0.75); }
.product-grid--featured .card-name  { color: var(--cream); font-size: 1.1rem; }
.product-grid--featured .card-desc  { color: rgba(248,244,239,0.6); font-size: 0.78rem; }
.product-grid--featured .price      { color: var(--cream); }
.product-grid--featured .rating-num { color: rgba(248,244,239,0.9); }
.product-grid--featured .review-count { color: rgba(248,244,239,0.45); }
.product-grid--featured .badge { top: 14px; left: 14px; }

/* ── Standard card ── */
.card {
  background: var(--white);
  border-radius: var(--radius-img);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card.visible {
  animation: card-rise 0.55s ease forwards;
}
@keyframes card-rise {
  to { opacity: 1; transform: translateY(0); }
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Card image */
.card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--warm0);
  position: relative;
  border-radius: var(--radius-img) var(--radius-img) 0 0;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.65s var(--transition);
}
.card:hover .card-img img { transform: scale(1.04); }

/* Badges */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  color: var(--white);
  background: var(--terra);
}
.badge--pinterest { background: #FF6735; }
.badge--seller    { background: var(--dark); }
.badge--under25   { background: #ADBFFD; color: var(--dark); }
.badge--editor    { background: #A8A839; color: var(--dark); }

/* Card body */
.card-body {
  padding: 1.3rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-cat {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.3rem;
}
.card-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-60);
  margin-bottom: 1rem;
}

/* Rating */
.card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 0.75rem;
}
.stars {
  display: inline-flex;
  gap: 1px;
  color: #c4a243;
  font-size: 0.72rem;
}
.rating-num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dark);
}
.review-count {
  font-size: 0.7rem;
  color: var(--text-60);
}

/* Card footer */
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.price {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  line-height: 1;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: var(--terra);
  color: var(--white);
  padding: 0.55rem 1.2rem;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-amazon:hover {
  background: var(--dark);
  transform: translateY(-1px);
}
.btn-amazon svg { flex-shrink: 0; }


/* ══════════════════════════════════════════════
   CTA BUTTON
══════════════════════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.95rem 2.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}
.btn-cta:hover {
  background: var(--terra);
  transform: translateY(-2px);
}
.btn-cta--outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}
.btn-cta--outline:hover {
  background: var(--dark);
  color: var(--white);
}
.btn-cta--light {
  background: var(--cream);
  color: var(--dark);
}
.btn-cta--light:hover {
  background: var(--warm1);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════
   TRENDING / BESTSELLER / UNDER25 SECTIONS
══════════════════════════════════════════════ */
.section-block {
  padding: 1rem 0 5rem;
}
.section-scroll-wrap {
  padding: 0 var(--pad-x);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Carousel (Trending on Pinterest) ── */
.carousel-outer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-row--carousel {
  flex: 1;
  display: flex !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.4rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}
.product-row--carousel::-webkit-scrollbar { display: none; }

.product-row--carousel .card {
  flex: 0 0 calc(25% - 1.05rem);
  min-width: 220px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--clr-ink);
  background: #fff;
  color: var(--clr-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.carousel-btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
  box-shadow: 0 4px 18px rgba(168,168,75,0.35);
  transform: scale(1.07);
}
.carousel-btn:active {
  transform: scale(0.96);
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}


/* ══════════════════════════════════════════════
   SHOP BY ROOM
══════════════════════════════════════════════ */
.room-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  padding: 0 var(--pad-x) 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.room-card {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--warm1);
  border-radius: var(--radius-img);
}
.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition);
}
.room-card:hover img { transform: scale(1.08); }
.room-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,14,8,0.72) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  transition: background var(--transition);
  border-radius: var(--radius-img);
}
.room-card:hover .room-card-overlay {
  background: linear-gradient(to top, rgba(26,14,8,0.82) 0%, rgba(26,14,8,0.08) 55%);
}
.room-card-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.room-card-count {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.room-card-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  background: rgba(248,244,239,0.92);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
}
.room-card:hover .room-card-arrow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* ══════════════════════════════════════════════
   LOOKBOOK / SHOP THE LOOK
══════════════════════════════════════════════ */
.lookbook-section {
  padding: 7rem var(--pad-x);
  background: var(--warm0);
}
.lookbook-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.lookbook-photo {
  flex: 0 0 48%;
  align-self: flex-start;
}
.lookbook-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}
.lookbook-products {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.lookbook-products .carousel-outer { align-items: center; width: 100%; }
.lookbook-products .product-row--carousel .card {
  flex: 0 0 calc(50% - 0.7rem);
}
/* Stack price + button vertically so the button never gets clipped */
.lookbook-products .card-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.lookbook-products .btn-amazon {
  width: 100%;
  justify-content: center;
}


/* ══════════════════════════════════════════════
   WHY MILO
══════════════════════════════════════════════ */
.why-section {
  background: var(--warm0);
  padding: 7rem var(--pad-x);
}
.why-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  color: var(--dark);
  margin: 0.6rem 0 1.4rem;
}
.why-text h2 em { font-style: italic; color: var(--terra); }
.why-text p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-60);
  margin-bottom: 0.9rem;
}
.why-text p:last-of-type { margin-bottom: 1.8rem; }

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pillar {
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  border-color: var(--sand);
  box-shadow: 0 4px 16px rgba(26,14,8,0.06);
}
.pillar-icon { margin-bottom: 0.6rem; color: var(--clr-ink); display: flex; }
.pillar-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}
.pillar-text {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-60);
}


/* ══════════════════════════════════════════════
   AFFILIATE CTA BLOCK
══════════════════════════════════════════════ */
.affiliate-cta {
  background: var(--dark);
  color: var(--cream);
  padding: 6rem var(--pad-x);
  text-align: center;
}
.affiliate-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.affiliate-cta .eyebrow { color: var(--sand); margin-bottom: 1.2rem; }
.affiliate-cta .eyebrow::before { background: var(--sand); }
.affiliate-cta h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.affiliate-cta h2 em { color: var(--sand); font-style: italic; }
.affiliate-cta p {
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.62;
  margin-bottom: 2.2rem;
}


/* ══════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════ */
.about-hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--pad-x) 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-hero h1 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  color: var(--dark);
  max-width: 860px;
  margin: 1rem 0 1.5rem;
}
.about-hero h1 em { font-style: italic; color: var(--terra); }
.about-hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-60);
  max-width: 540px;
}

.about-story {
  padding: 3rem var(--pad-x) 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-story-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-60);
  margin-bottom: 1.2rem;
}
.about-story-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.about-story-text h2 em { font-style: italic; color: var(--terra); }

.about-img-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 190px;
  gap: 10px;
}
.about-img-cell {
  overflow: hidden;
  background: var(--warm1);
  border-radius: var(--radius-img);
}
.about-img-cell:first-child { grid-row: 1 / 3; }
.about-img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--transition);
}
.about-img-cell:hover img { transform: scale(1.05); }

.about-values {
  background: var(--dark);
  color: var(--cream);
  padding: 6rem var(--pad-x);
}
.about-values-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-values h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--cream);
}
.about-values h2 em { font-style: italic; color: var(--sand); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.value-card:hover { border-color: rgba(196,168,130,0.35); }
.value-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--sand);
  opacity: 0.35;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.value-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
}
.value-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
}


/* ══════════════════════════════════════════════
   CATEGORY HERO
══════════════════════════════════════════════ */
.cat-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem var(--pad-x);
  overflow: hidden;
  background: var(--dark);
}
.cat-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cat-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 8s ease;
}
.cat-hero:hover .cat-hero-bg img { transform: scale(1.04); }
.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,14,8,0.88) 0%, rgba(26,14,8,0.15) 70%);
}
.cat-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  color: var(--cream);
}
.cat-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--cream);
  margin: 0.6rem 0 0.8rem;
}
.cat-hero-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  opacity: 0.68;
  max-width: 500px;
}


/* ══════════════════════════════════════════════
   SORT / FILTER BAR
══════════════════════════════════════════════ */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem var(--pad-x);
  border-bottom: 1px solid var(--mist);
  max-width: var(--max-width);
  margin: 0 auto;
}
.sort-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-60);
}
.sort-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sort-btn {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid var(--mist);
  color: var(--text-60);
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.sort-btn:hover,
.sort-btn.active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--cream);
}
.results-count {
  font-size: 0.72rem;
  color: var(--text-40);
}


/* ══════════════════════════════════════════════
   ALL OBJECTS — SEARCH / FILTER
══════════════════════════════════════════════ */
.catalog-controls {
  padding: 2rem var(--pad-x);
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.search-field {
  position: relative;
  max-width: 480px;
}
.search-field input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 3rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
}
.search-field input:focus { border-color: var(--sand); }
.search-field input::placeholder { color: var(--text-40); }
.search-field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-40);
}

.cat-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cat-pill {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid var(--mist);
  background: transparent;
  color: var(--text-60);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 100px;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream);
}

.catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════
   FEATURES BAR
══════════════════════════════════════════════ */
.features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.feat-item {
  padding: 2.8rem 2rem;
  text-align: center;
  border-right: 1px solid var(--mist);
}
.feat-item:last-child { border-right: none; }
.feat-icon { margin-bottom: 0.6rem; color: var(--clr-ink); display: flex; justify-content: center; }
.feat-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}
.feat-text {
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--text-60);
}


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 4.5rem var(--pad-x) 2.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  display: block;
}
.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.7;
  opacity: 0.42;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.83rem;
  opacity: 0.55;
  transition: opacity var(--transition);
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}
.footer-disclaimer {
  font-size: 0.68rem;
  opacity: 0.28;
  line-height: 1.6;
  max-width: 600px;
}
.footer-copy {
  font-size: 0.68rem;
  opacity: 0.28;
  white-space: nowrap;
}


/* ══════════════════════════════════════════════
   PAGE HEADER (generic)
══════════════════════════════════════════════ */
.page-header {
  padding: 4rem var(--pad-x) 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: var(--dark);
  margin: 0.5rem 0 0.8rem;
}
.page-header p {
  font-size: 0.92rem;
  color: var(--text-60);
  max-width: 500px;
  line-height: 1.75;
}


/* ══════════════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════════════ */
.divider {
  width: 44px;
  height: 1px;
  background: var(--mist);
  margin: 2rem auto;
}


/* ══════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-60);
}
.empty-state p { font-size: 0.9rem; margin-top: 0.5rem; }


/* ══════════════════════════════════════════════
   SHOW MORE
══════════════════════════════════════════════ */
.show-more-wrap {
  text-align: center;
  padding: 3rem 0 1rem;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 46fr 54fr;
  }

  .product-grid--featured {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 340px;
  }
  .product-grid--featured .card:nth-child(1) { grid-column: span 3; }
  .product-grid--featured .card:nth-child(2) { grid-column: span 3; }
  .product-grid--featured .card:nth-child(3) { grid-column: span 2; }
  .product-grid--featured .card:nth-child(4) { grid-column: span 2; }
  .product-grid--featured .card:nth-child(5) { grid-column: span 2; }
  .product-grid--featured .card:nth-child(6) { grid-column: span 6; }

  .room-grid { grid-template-columns: repeat(3, 1fr); }
  .room-grid .room-card:nth-child(4),
  .room-grid .room-card:nth-child(5) { display: none; }

  .why-inner { gap: 4rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Carousel: 3 cards visible on wide tablet */
  .product-row--carousel .card { flex: 0 0 calc(33.33% - 0.93rem); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text {
    padding: 4rem var(--pad-x) 3.5rem;
    min-height: 70vw;
  }
  .hero-text::after { display: none; }
  .hero-photo {
    height: 55vw;
    min-height: 300px;
  }
  .hero-photo img { position: static; width: 100%; height: 100%; }

  .about-story {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img-block { order: -1; }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-pillars { order: 1; }

  .product-row { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: repeat(3, 1fr); }

  /* Lookbook: stack vertically on tablet */
  .lookbook-inner { flex-direction: column; gap: 2.5rem; align-items: stretch; }
  .lookbook-photo { flex: none; width: 100%; }
  /* When stacked, products must fill full width or carousel overflows */
  .lookbook-products { width: 100%; }
  .lookbook-products .product-row--carousel .card { flex: 0 0 calc(50% - 0.7rem); }

  /* Carousel: 2 cards visible on tablet */
  .product-row--carousel .card { flex: 0 0 calc(50% - 0.7rem); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 680px) {
  /* ── Fixed header: position:sticky + backdrop-filter clips the menu overlay
     on iOS/Chrome. Switch to fixed + solid bg to fix both issues. ── */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.85rem var(--pad-x);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
    z-index: 600;
  }
  /* Push all page content below the fixed bar */
  body { padding-top: 58px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 58px;        /* sits flush below the nav bar */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 590;
    padding: 1rem var(--pad-x) 2rem;
    border-top: 1px solid var(--mist);
    overflow-y: auto;
  }
  /* Bigger, more readable menu items */
  .nav-links.open li a {
    display: block;
    padding: 1.1rem 0;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--mist);
    opacity: 1;
    white-space: nowrap;
  }
  .nav-links.open li:last-child a { border-bottom: none; }
  .nav-burger { display: flex; }

  .hero-text { padding: 3.5rem var(--pad-x) 3rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-photo { height: 70vw; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .product-grid--featured {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 280px;
  }
  .product-grid--featured .card { grid-column: span 1 !important; }

  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid .room-card:nth-child(4),
  .room-grid .room-card:nth-child(5) { display: flex; }

  /* Lookbook: full-width photo on mobile */
  .lookbook-section { padding: 4rem var(--pad-x); }
  .lookbook-inner { flex-direction: column; gap: 2rem; align-items: stretch; }
  .lookbook-photo { flex: none; width: 100%; }
  .lookbook-products { width: 100%; }
  .lookbook-products .product-row--carousel .card { flex: 0 0 calc(50% - 0.7rem); }

  /* Carousel: 2 cards on mobile */
  .product-row--carousel .card { flex: 0 0 calc(50% - 0.7rem); }

  .cat-hero { min-height: 48vh; }
  .cat-hero h1 { font-size: 2.4rem; }

  .about-hero h1 { font-size: 3rem; }
  .about-img-block { grid-template-rows: 170px 120px; }

  .values-grid { grid-template-columns: 1fr; }
  .why-pillars { grid-template-columns: 1fr; }

  .features-bar { grid-template-columns: 1fr; }
  .feat-item { border-right: none; border-bottom: 1px solid var(--mist); }
  .feat-item:last-child { border-bottom: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .sort-bar { flex-direction: column; align-items: flex-start; }

  .card-desc { display: none; }
  .card-foot { flex-wrap: wrap; }
  .btn-amazon { width: 100%; justify-content: center; }

  .product-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 440px) {
  /* Carousel: 1.2 cards peeking on small phone */
  .product-row--carousel .card { flex: 0 0 calc(80% - 0.7rem); }
  .lookbook-products .product-row--carousel .card { flex: 0 0 calc(80% - 0.7rem); }

  .product-grid { grid-template-columns: 1fr; }
  .product-grid--featured { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .product-grid--featured .card-img {
    position: relative;
    height: 280px;
    inset: unset;
  }
  .product-grid--featured .card-body {
    position: relative;
    background: var(--dark);
  }
  .card-desc { display: block; }
  .btn-amazon { width: auto; }
}


/* ══════════════════════════════════════════════
   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; }
.mb-0 { margin-bottom: 0 !important; }
