/*
Theme Name: HomeHaven Market
Author: Codex
Description: WordPress-managed eBay home marketplace with Apple-inspired motion.
Version: 4.6.6
*/

:root {
  --ink: #111315;
  --muted: #66706b;
  --paper: #f5f5f7;
  --surface: #ffffff;
  --line: rgba(17, 19, 21, .1);
  --moss: #203c34;
  --sage: #5c756b;
  --coral: #c65a46;
  --sky: #edf4f3;
  --ease-apple: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 24px 80px rgba(17, 19, 21, .12);
  --scroll-progress: 0;
  --hero-shift: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--moss);
}
.skip-link:focus { top: 14px; }
.promo-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 16px;
  color: #f7f7f8;
  background: #111315;
  font-size: 13px;
  font-weight: 760;
}
.promo-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.promo-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fd2c3;
}
.site-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(17, 19, 21, .08);
  background: rgba(245, 245, 247, .82);
  backdrop-filter: saturate(180%) blur(22px);
}
.utility {
  display: grid;
  grid-template-columns: auto minmax(260px, 680px) auto;
  align-items: center;
  gap: 18px;
  padding: 13px clamp(18px, 5vw, 72px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 860;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(145deg, #1e3c35, #86b9ab);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(32, 60, 52, .2);
}
.search {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 46px;
  border: 1px solid rgba(17, 19, 21, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  outline: none;
  background: transparent;
}
.search button {
  width: 54px;
  border: 0;
  color: #fff;
  background: var(--moss);
  cursor: pointer;
  transition: background .36s var(--ease-apple), opacity .36s var(--ease-apple);
}
.search button:hover { background: #152821; }
.quick-links, .nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 760;
}
.quick-links {
  font-size: 14px;
  white-space: nowrap;
}
.quick-links a.social-mini { color: var(--sage); }
.nav {
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 0 18px 13px;
  overflow-x: auto;
  white-space: nowrap;
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: #26302d;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .5s var(--ease-apple);
}
.nav a:hover::after { right: 0; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  min-height: 700px;
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(44px, 6vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(143, 210, 195, .24), transparent 28rem),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6.1vw, 86px);
  font-weight: 760;
  line-height: .98;
  letter-spacing: 0;
}
.hero-copy p {
  max-width: 560px;
  margin: 22px 0 28px;
  color: #3d4542;
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.48;
}
.hero-stage {
  position: relative;
  min-height: clamp(430px, 50vw, 620px);
  border-radius: 28px;
  overflow: hidden;
  background: #dfe8e5;
  box-shadow: 0 34px 110px rgba(17, 19, 21, .18);
  isolation: isolate;
  transform: translate3d(0, calc(var(--hero-shift) * .45), 0);
  transition: transform .2s linear;
}
.hero-stage::before { display: none; }
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.22));
  z-index: -1;
}
.stage-photo {
  position: absolute;
  inset: clamp(20px, 4vw, 42px) clamp(20px, 4vw, 42px) auto auto;
  width: min(280px, 42%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 70px rgba(17, 19, 21, .18);
  transform: translate3d(0, calc(var(--hero-shift) * -.25), 0);
}
.stage-photo strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}
.stage-photo span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 720;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.metric {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(18px);
}
.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--moss);
  font-size: 26px;
  line-height: 1;
}
.metric span {
  color: #39433f;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.3;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn, .bin-button, .quick-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: #fff;
  background: var(--moss);
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
  transition:
    background .55s var(--ease-apple),
    color .55s var(--ease-apple),
    border-color .55s var(--ease-apple),
    box-shadow .55s var(--ease-apple),
    transform .55s var(--ease-apple);
}
.btn:hover, .bin-button:hover, .quick-view-button:hover {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 12px 34px rgba(32, 60, 52, .14);
}
.btn.alt {
  color: var(--moss);
  border-color: rgba(32, 60, 52, .22);
  background: rgba(255, 255, 255, .76);
}
.band {
  padding: 54px clamp(18px, 5vw, 72px);
}
.band-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.band-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 740;
  line-height: 1;
  letter-spacing: 0;
}
.band-title p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.discovery-panel {
  position: sticky;
  top: 116px;
  z-index: 25;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  padding: 12px;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 54px rgba(17, 19, 21, .08);
  backdrop-filter: saturate(180%) blur(22px);
}
.catalog-search {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(17, 19, 21, .1);
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  background: #fff;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 19, 21, .1);
  border-radius: 999px;
  color: #34423d;
  background: #fff;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition:
    background .55s var(--ease-apple),
    color .55s var(--ease-apple),
    border-color .55s var(--ease-apple),
    opacity .55s var(--ease-apple);
}
.filter-pill.is-active {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
}
.result-count {
  min-width: 108px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-align: right;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(17, 19, 21, .07);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: saturate(.98);
  transition:
    opacity .85s var(--ease-apple),
    transform .85s var(--ease-apple),
    filter .85s var(--ease-apple),
    box-shadow .7s var(--ease-apple),
    border-color .7s var(--ease-apple);
  will-change: opacity, transform, filter;
}
.product-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.product-card:hover {
  border-color: rgba(32, 60, 52, .18);
  box-shadow: 0 24px 72px rgba(17, 19, 21, .12);
}
.product-card.is-filtering {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  filter: blur(8px) saturate(.9);
  pointer-events: none;
}
.product-card.is-hidden { display: none; }
.image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--sky);
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 1.05s var(--ease-apple), filter 1.05s var(--ease-apple);
}
.product-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
.image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28));
  opacity: .82;
}
.badge-chip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 19, 21, .62);
  font-size: 12px;
  font-weight: 820;
  backdrop-filter: blur(14px);
}
.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}
.product-card h3 {
  min-height: 48px;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}
.trust-note {
  min-height: 58px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}
.quick-view-button {
  color: var(--moss);
  border-color: rgba(17, 19, 21, .1);
  background: #fff;
}
.bin-button { width: 100%; }
.source-link {
  color: var(--sage);
  font-size: 13px;
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty-state {
  display: none;
  padding: 28px;
  border: 1px dashed rgba(17, 19, 21, .14);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, .74);
  text-align: center;
}
.empty-state.is-visible { display: block; }
.after-sales {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(237,244,243,.95));
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  padding: 22px;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(17, 19, 21, .06);
}
.service-card h3 { margin: 0 0 8px; }
.service-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.48;
}
.service-card a {
  color: var(--coral);
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding: 38px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #111315;
}
.footer h3 { margin: 0 0 12px; }
.footer p, .footer a {
  display: block;
  margin: 0 0 9px;
  color: #e8ece7;
}
.homehaven-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  pointer-events: none;
  opacity: 0;
  transition: opacity .55s var(--ease-apple);
}
.homehaven-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 19, 21, .34);
  backdrop-filter: blur(22px);
  cursor: pointer;
}
.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(540px, 100%);
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(251, 251, 253, .94);
  box-shadow: -28px 0 90px rgba(0, 0, 0, .2);
  transform: translate3d(104%, 0, 0);
  transition: transform .68s var(--ease-apple);
}
.homehaven-drawer.is-open .drawer-panel { transform: translate3d(0, 0, 0); }
.drawer-close {
  justify-self: end;
  width: 44px;
  height: 44px;
  margin: 14px;
  border: 1px solid rgba(17, 19, 21, .1);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.drawer-content {
  padding: 0 24px 28px;
  overflow: auto;
}
.drawer-content img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 20px;
}
.drawer-kicker {
  margin: 0 0 8px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}
.drawer-content h3 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
}
.drawer-content p {
  color: var(--muted);
  line-height: 1.55;
}
.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .95s var(--ease-apple), transform .95s var(--ease-apple);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .hero-stage, .hero-stage::before, .stage-photo, .product-card, [data-reveal] {
    opacity: 1;
    transform: none !important;
    filter: none !important;
  }
}
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-stage { min-height: 500px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .discovery-panel { grid-template-columns: 1fr; }
  .result-count { text-align: left; }
}
@media (max-width: 900px) {
  .utility { grid-template-columns: 1fr; }
  .quick-links { justify-content: space-between; flex-wrap: wrap; }
  .nav { justify-content: flex-start; }
  .product-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: 1fr 1fr; }
  .discovery-panel { top: 0; }
}
@media (max-width: 620px) {
  .hero { padding-top: 42px; }
  .hero-stage { min-height: 390px; border-radius: 22px; }
  .stage-photo { width: calc(100% - 32px); inset: auto 16px 16px 16px; }
  .hero-stats, .product-grid, .service-grid, .footer, .card-actions, .drawer-actions { grid-template-columns: 1fr; }
  .band-title { align-items: flex-start; flex-direction: column; }
  .btn { width: 100%; }
  .discovery-panel { position: relative; top: auto; }
}

/* HomeHaven 4.2.0 carousel and Apple-style nav */
.nav-utility {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(32, 60, 52, .16);
  border-radius: 999px;
  color: var(--moss);
  background: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 820;
}
.nav {
  position: relative;
  overflow: visible;
  gap: clamp(8px, 1.5vw, 18px);
}
.nav-item { position: relative; display: inline-flex; }
.nav-link,
.nav .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #26302d;
  transition: color .42s var(--ease-apple), background .42s var(--ease-apple);
}
.nav .nav-link::after { display: none; }
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-link:hover {
  color: #0f211c;
  background: rgba(255,255,255,.64);
}
.nav-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  width: min(360px, calc(100vw - 36px));
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(17,19,21,.08);
  border-radius: 22px;
  background: rgba(251,251,253,.86);
  box-shadow: 0 28px 90px rgba(17,19,21,.16);
  backdrop-filter: saturate(180%) blur(28px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -8px, 0) scale(.985);
  transform-origin: top center;
  transition: opacity .34s var(--ease-apple), transform .46s var(--ease-apple);
}
.nav-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel,
.nav-item.is-open .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0) scale(1);
}
.nav-panel a {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border-radius: 14px;
  white-space: normal;
  transition: background .32s var(--ease-apple), transform .32s var(--ease-apple);
}
.nav-panel a::after { display: none; }
.nav-panel a:hover {
  background: rgba(32,60,52,.08);
  transform: translate3d(0, -1px, 0);
}
.nav-panel strong {
  font-size: 14px;
  line-height: 1.2;
}
.nav-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.homehaven-carousel.hero-stage {
  display: grid;
  min-height: clamp(430px, 50vw, 620px);
  background: #dfe8e5;
}
.hero-stage::before,
.hero-stage::after,
.stage-photo {
  display: none;
}
.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.05s var(--ease-apple), transform 1.3s var(--ease-apple);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-controls {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(17,19,21,.28);
  backdrop-filter: blur(18px);
  cursor: pointer;
  pointer-events: auto;
  transition: transform .44s var(--ease-apple), background .44s var(--ease-apple);
}
.carousel-arrow:hover {
  transform: translate3d(0, -1px, 0);
  background: rgba(17,19,21,.42);
}
.carousel-arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(17,19,21,.24);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  cursor: pointer;
  transition: width .42s var(--ease-apple), background .42s var(--ease-apple);
}
.carousel-dot.is-active {
  width: 24px;
  background: #fff;
}
@media (max-width: 900px) {
  .nav { justify-content: flex-start; overflow-x: auto; overflow-y: visible; }
  .nav-panel { left: 0; transform: translate3d(0, -8px, 0) scale(.985); }
  .nav-item:hover .nav-panel,
  .nav-item:focus-within .nav-panel,
  .nav-item.is-open .nav-panel {
    transform: translate3d(0, 0, 0) scale(1);
  }
  .nav-utility { justify-self: start; }
}
@media (max-width: 620px) {
  .carousel-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

/* HomeHaven 4.2.1 mobile carousel precedence */
@media (max-width: 900px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .homehaven-carousel.hero-stage {
    order: -1 !important;
    width: 100%;
  }
}
@media (max-width: 620px) {
  .homehaven-carousel.hero-stage {
    order: -1 !important;
    min-height: 330px !important;
  }
  .hero-copy {
    width: 100%;
  }
}

/* HomeHaven 4.4.0 catalog gallery and category rail */
.store-signal {
  color: inherit;
  text-decoration: none;
  transition:
    transform .55s var(--ease-apple),
    border-color .55s var(--ease-apple),
    background .55s var(--ease-apple),
    box-shadow .55s var(--ease-apple);
}
.store-signal:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(32, 60, 52, .18);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 48px rgba(32, 60, 52, .12);
}
.discovery-panel {
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr) auto auto;
}
.catalog-scroller-legacy-disabled {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.catalog-scroller-legacy-disabled .filter-row {
  width: max-content;
  min-width: 100%;
  flex-wrap: nowrap;
  padding-bottom: 2px;
}
.catalog-scroller-legacy-disabled .filter-pill,
.category-menu .filter-pill {
  white-space: nowrap;
}
.catalog-overflow-legacy-disabled {
  position: relative;
  z-index: 3;
}
.catalog-overflow-legacy-disabled summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 19, 21, .1);
  border-radius: 999px;
  color: #34423d;
  background: #fff;
  font-size: 13px;
  font-weight: 820;
  list-style: none;
  cursor: pointer;
  transition:
    background .42s var(--ease-apple),
    color .42s var(--ease-apple),
    border-color .42s var(--ease-apple),
    transform .42s var(--ease-apple);
}
.catalog-overflow-legacy-disabled summary::-webkit-details-marker { display: none; }
.catalog-overflow-legacy-disabled[open] summary,
.catalog-overflow-legacy-disabled summary:hover {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
  transform: translate3d(0, -1px, 0);
}
.category-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, calc(100vw - 36px));
  display: grid;
  gap: 8px;
  max-height: min(420px, 70vh);
  padding: 12px;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 18px;
  background: rgba(251, 251, 253, .94);
  box-shadow: 0 24px 80px rgba(17, 19, 21, .16);
  backdrop-filter: saturate(180%) blur(24px);
  overflow: auto;
}
.category-menu .filter-pill {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
}
.product-card[data-gallery] .image-wrap::before {
  content: "Gallery";
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #203c34;
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 860;
  backdrop-filter: blur(14px);
}
.drawer-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.drawer-content .drawer-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 0;
  background: #e9efed;
}
.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74px;
  gap: 10px;
  padding: 2px 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-thumb {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #eef3f1;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color .34s var(--ease-apple),
    transform .34s var(--ease-apple),
    box-shadow .34s var(--ease-apple);
}
.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--moss);
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 12px 30px rgba(32, 60, 52, .14);
}
.drawer-content .gallery-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
  border-radius: 11px;
}
.drawer-actions {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 1100px) {
  .discovery-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .catalog-search {
    grid-column: 1 / -1;
  }
  .catalog-scroller-legacy-disabled {
    grid-column: 1 / 2;
  }
}
@media (max-width: 720px) {
  .discovery-panel {
    position: relative;
    top: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .catalog-overflow-legacy-disabled {
    display: none;
  }
  .catalog-scroller-legacy-disabled {
    width: 100%;
    margin-right: -12px;
    padding-right: 12px;
  }
  .catalog-scroller-legacy-disabled .filter-row {
    min-width: max-content;
  }
  .result-count {
    min-width: 0;
    text-align: left;
  }
  .drawer-panel {
    width: 100%;
  }
  .gallery-thumbs {
    grid-auto-columns: 64px;
  }
  .gallery-thumb {
    width: 64px;
    height: 64px;
  }
}

/* HomeHaven 4.4.1 Quick view left preview stage */
.homehaven-drawer {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 34vw);
}
.drawer-backdrop {
  z-index: 0;
}
.drawer-spotlight {
  position: absolute;
  inset: 0 min(540px, 34vw) 0 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 64px);
  pointer-events: none;
}
.drawer-spotlight::before {
  content: "";
  position: absolute;
  inset: clamp(16px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: clamp(22px, 3vw, 42px);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .32), transparent 20rem),
    rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 28px 120px rgba(17, 19, 21, .24);
  backdrop-filter: blur(28px) saturate(145%);
}
.drawer-preview-shell {
  position: relative;
  z-index: 1;
  width: min(760px, 78%);
  height: min(78vh, 620px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: clamp(20px, 2.4vw, 34px);
  background: rgba(255, 255, 255, .58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .62),
    0 34px 120px rgba(17, 19, 21, .2);
  overflow: hidden;
}
.drawer-stage-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(17, 19, 21, .18));
  transform: translate3d(0, 0, 0) scale(.992);
  transition:
    opacity .28s var(--ease-apple),
    transform .42s var(--ease-apple);
}
.homehaven-drawer.is-open .drawer-stage-image {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.drawer-panel {
  z-index: 2;
  width: min(540px, 34vw);
}
.drawer-gallery-strip {
  margin-bottom: 18px;
}
.drawer-mobile-image {
  display: none;
}
.drawer-gallery-strip .gallery-thumbs {
  grid-auto-columns: 82px;
  padding: 4px 0 8px;
}
.drawer-gallery-strip .gallery-thumb {
  width: 82px;
  height: 82px;
}
@media (max-width: 980px) {
  .homehaven-drawer {
    display: block;
  }
  .drawer-spotlight {
    display: none;
  }
  .drawer-panel {
    width: min(540px, 100%);
  }
  .drawer-content .drawer-mobile-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 22px;
    background: #eef3f1;
  }
}
@media (max-width: 720px) {
  .drawer-gallery-strip .gallery-thumbs {
    grid-auto-columns: 64px;
  }
  .drawer-gallery-strip .gallery-thumb {
    width: 64px;
    height: 64px;
  }
}

/* HomeHaven 4.5.0 account and API foundation */
.page-main {
  min-height: 70vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(143, 210, 195, .22), transparent 26rem),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.account-shell {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
}
.account-hero {
  max-width: 760px;
  margin-bottom: 28px;
}
.account-eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 860;
  text-transform: uppercase;
}
.account-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}
.account-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.account-notice {
  max-width: 920px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 760;
}
.account-notice-success {
  color: #17352d;
  background: rgba(143, 210, 195, .28);
}
.account-notice-error {
  color: #752f25;
  background: rgba(209, 114, 93, .18);
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.account-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 48px rgba(17, 19, 21, .07);
  backdrop-filter: blur(18px);
}
.account-panel h2 {
  margin: 0;
  font-size: 22px;
}
.account-muted,
.account-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}
.account-form {
  display: grid;
  gap: 12px;
}
.account-form label {
  display: grid;
  gap: 7px;
  color: #24312d;
  font-size: 13px;
  font-weight: 820;
}
.account-form input {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(17, 19, 21, .12);
  border-radius: 12px;
  padding: 0 13px;
  background: #fff;
  outline: none;
}
.account-form input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(32, 60, 52, .12);
}
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: #fff;
  background: var(--moss);
  font-weight: 820;
  cursor: pointer;
  transition: transform .34s var(--ease-apple), box-shadow .34s var(--ease-apple);
}
.account-button:hover {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 14px 34px rgba(32, 60, 52, .16);
}
.account-link {
  color: var(--sage);
  font-size: 13px;
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-api-panel code {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #203c34;
  background: rgba(143, 210, 195, .18);
  font-size: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}

/* HomeHaven 4.6.0 lifestyle modular redesign */
:root {
  --ink: #241d17;
  --muted: #75675c;
  --paper: #f7f1e8;
  --surface: #fffaf3;
  --line: rgba(67, 49, 35, .13);
  --moss: #4a3426;
  --sage: #776f58;
  --coral: #a85d3d;
  --sky: #efe3d3;
  --charcoal: #24211f;
  --clay: #b87955;
  --olive: #6e7458;
  --ease-apple: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 24px 90px rgba(67, 49, 35, .14);
}
body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf3 0%, #f7f1e8 46%, #eee2d1 100%);
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(90deg, rgba(67, 49, 35, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(67, 49, 35, .03) 1px, transparent 1px);
  background-size: 42px 42px;
}
.site-shell {
  border-bottom: 1px solid rgba(67, 49, 35, .11);
  background: rgba(255, 250, 243, .9);
  backdrop-filter: saturate(150%) blur(22px);
}
.utility {
  grid-template-columns: auto minmax(220px, 620px) auto;
  padding-block: 12px;
}
.brand {
  color: var(--ink);
  font-size: 1.7rem;
  letter-spacing: 0;
}
.brand-mark {
  border-radius: 8px;
  background: linear-gradient(145deg, #4a3426, #a8795b);
  box-shadow: 0 14px 34px rgba(67, 49, 35, .22);
}
.search {
  border-color: rgba(67, 49, 35, .14);
  border-radius: 8px;
  background: rgba(255, 252, 247, .82);
}
.search input::placeholder { color: rgba(117, 103, 92, .84); }
.search button,
.btn,
.bin-button,
.quick-view-button,
.account-button {
  border-radius: 8px;
}
.search button,
.btn,
.bin-button,
.account-button {
  border-color: var(--moss);
  background: var(--moss);
}
.btn:hover,
.bin-button:hover,
.quick-view-button:hover,
.account-button:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 18px 44px rgba(67, 49, 35, .18);
}
.btn.alt {
  color: #3f2d22;
  border-color: rgba(255, 250, 243, .56);
  background: rgba(255, 250, 243, .84);
}
.nav-tools {
  display: inline-flex;
  justify-content: end;
  gap: 8px;
}
.nav-utility {
  border-color: rgba(67, 49, 35, .16);
  border-radius: 8px;
  color: var(--moss);
  background: rgba(255, 252, 247, .76);
}
.nav {
  gap: 8px;
  padding-bottom: 12px;
}
.nav-link,
.nav .nav-link {
  border-radius: 8px;
  color: #3b2b22;
  font-size: .9rem;
}
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-link:hover {
  color: #fffaf3;
  background: #4a3426;
}
.nav-panel {
  border-color: rgba(67, 49, 35, .12);
  border-radius: 8px;
  background: rgba(255, 250, 243, .94);
  box-shadow: 0 28px 90px rgba(67, 49, 35, .2);
}
.nav-panel a { border-radius: 6px; }
.nav-panel a:hover { background: rgba(168, 93, 61, .1); }
.lifestyle-main {
  overflow: clip;
}
.lifestyle-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 620px;
  padding: 108px clamp(20px, 5vw, 72px) 48px;
  color: #fffaf3;
  background: var(--charcoal);
  isolation: isolate;
}
.lifestyle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 33, 31, .88) 0%, rgba(36, 33, 31, .68) 42%, rgba(36, 33, 31, .2) 100%),
    linear-gradient(180deg, rgba(36, 33, 31, .08) 0%, rgba(36, 33, 31, .34) 100%);
}
.lifestyle-hero .hero-stage,
.lifestyle-hero .homehaven-carousel.hero-stage {
  position: absolute;
  inset: 0;
  min-height: auto;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.lifestyle-hero .hero-slide img {
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.03);
}
.lifestyle-hero .carousel-controls {
  left: auto;
  right: clamp(20px, 5vw, 72px);
  bottom: 44px;
  width: min(360px, calc(100% - 40px));
}
.lifestyle-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
}
.lifestyle-hero-copy .section-kicker {
  color: #e7b48f;
}
.lifestyle-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #fffaf3;
  font-size: 5.25rem;
  font-weight: 760;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}
.lifestyle-hero-copy p {
  max-width: 650px;
  margin: 22px 0 28px;
  color: rgba(255, 250, 243, .86);
  font-size: 1.15rem;
  line-height: 1.62;
}
.hero-stats {
  max-width: 700px;
  gap: 12px;
}
.metric {
  border-color: rgba(255, 250, 243, .18);
  border-radius: 8px;
  background: rgba(255, 250, 243, .12);
  backdrop-filter: blur(18px);
}
.metric strong {
  color: #ffe1c6;
}
.metric span {
  color: rgba(255, 250, 243, .82);
}
.lifestyle-band {
  padding: 76px clamp(20px, 5vw, 72px);
}
.lifestyle-title {
  align-items: end;
  margin-bottom: 28px;
}
.lifestyle-title h2,
.catalog-heading h2,
.bottom-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.lifestyle-title p,
.catalog-heading p {
  color: var(--muted);
  font-size: 1rem;
}
.text-link {
  color: var(--moss);
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category-edit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.category-edit {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(67, 49, 35, .12);
  border-radius: 8px;
  color: #fffaf3;
  background:
    linear-gradient(180deg, rgba(74, 52, 38, .18), rgba(74, 52, 38, .88)),
    #8f755f;
  box-shadow: 0 20px 70px rgba(67, 49, 35, .1);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform .7s var(--ease-apple), box-shadow .7s var(--ease-apple);
}
.category-edit:nth-child(2) { background: linear-gradient(180deg, rgba(74,52,38,.12), rgba(74,52,38,.82)), #a8795b; }
.category-edit:nth-child(3) { background: linear-gradient(180deg, rgba(74,52,38,.12), rgba(74,52,38,.82)), #766d56; }
.category-edit:nth-child(4) { background: linear-gradient(180deg, rgba(74,52,38,.12), rgba(74,52,38,.82)), #93624b; }
.category-edit:nth-child(5) { background: linear-gradient(180deg, rgba(74,52,38,.12), rgba(74,52,38,.82)), #6d5a4b; }
.category-edit:nth-child(6) { background: linear-gradient(180deg, rgba(74,52,38,.12), rgba(74,52,38,.82)), #7a7358; }
.category-edit::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 250, 243, .22);
  border-radius: 6px;
  pointer-events: none;
}
.category-edit:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 30px 90px rgba(67, 49, 35, .18);
}
.category-edit span {
  position: relative;
  z-index: 1;
  font-size: .82rem;
  font-weight: 860;
  text-transform: uppercase;
}
.category-edit strong {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 560;
  line-height: 1.16;
}
.product-showcase {
  background: rgba(255, 250, 243, .54);
}
.anchor-offset {
  display: block;
  position: relative;
  top: -110px;
  height: 0;
  overflow: hidden;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 14px;
  margin-bottom: 56px;
}
.showcase-card {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  border-radius: 8px;
  color: #fffaf3;
  background: #d9c8b5;
  overflow: hidden;
  box-shadow: 0 26px 90px rgba(67, 49, 35, .16);
}
.showcase-card.is-wide {
  grid-row: span 2;
  min-height: 680px;
}
.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease-apple), filter 1.1s var(--ease-apple);
}
.showcase-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}
.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,33,31,.06) 0%, rgba(36,33,31,.78) 100%);
}
.showcase-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 22px;
}
.showcase-content span,
.product-meta,
.drawer-kicker {
  letter-spacing: 0;
}
.showcase-content span {
  font-size: .78rem;
  font-weight: 860;
  text-transform: uppercase;
}
.showcase-content h3 {
  max-width: 520px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 560;
  line-height: 1.08;
}
.showcase-content p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 250, 243, .84);
  line-height: 1.5;
}
.showcase-content .bin-button {
  width: fit-content;
  min-width: 132px;
  background: #fffaf3;
  border-color: #fffaf3;
  color: var(--moss);
}
.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(260px, .55fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}
.discovery-panel {
  top: 118px;
  border-color: rgba(67, 49, 35, .12);
  border-radius: 8px;
  background: rgba(255, 250, 243, .9);
  box-shadow: 0 18px 60px rgba(67, 49, 35, .12);
}
.catalog-search,
.filter-pill,
.catalog-overflow-legacy-disabled summary,
.category-menu,
.empty-state,
.product-card,
.service-card,
.account-panel {
  border-radius: 8px;
}
.filter-pill.is-active,
.catalog-overflow-legacy-disabled[open] summary,
.catalog-overflow-legacy-disabled summary:hover {
  border-color: var(--moss);
  background: var(--moss);
}
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  border-color: rgba(67, 49, 35, .12);
  background: #fffaf3;
  box-shadow: 0 18px 56px rgba(67, 49, 35, .1);
}
.product-card:hover {
  border-color: rgba(74, 52, 38, .3);
  box-shadow: 0 28px 74px rgba(67, 49, 35, .16);
}
.product-card img {
  aspect-ratio: 4 / 3.05;
}
.badge-chip,
.product-card[data-gallery] .image-wrap::before {
  border-radius: 6px;
}
.product-body {
  gap: 12px;
  padding: 18px;
}
.product-card h3 {
  min-height: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 560;
  line-height: 1.16;
}
.trust-note {
  min-height: 0;
  color: var(--muted);
}
.quick-view-button {
  color: var(--moss);
  border-color: rgba(67, 49, 35, .16);
  background: rgba(255, 252, 247, .82);
}
.why-choose {
  background: #eee2d1;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.reason-panel,
.inspiration-card,
.review-card {
  border: 1px solid rgba(67, 49, 35, .12);
  border-radius: 8px;
  background: rgba(255, 250, 243, .72);
  box-shadow: 0 18px 54px rgba(67, 49, 35, .08);
}
.reason-panel {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}
.reason-panel span {
  color: var(--clay);
  font-weight: 860;
}
.reason-panel h3,
.inspiration-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 560;
  line-height: 1.1;
}
.reason-panel p,
.inspiration-card p,
.review-card blockquote {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}
.inspiration-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 14px;
}
.inspiration-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px;
}
.inspiration-card span {
  color: var(--clay);
  font-size: .8rem;
  font-weight: 860;
  text-transform: uppercase;
}
.reviews-section {
  background: #fffaf3;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.review-card {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 24px;
}
.review-card blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: #3b2b22;
}
.review-card figcaption {
  color: var(--muted);
  font-weight: 760;
}
.bottom-cta {
  padding: 82px clamp(20px, 5vw, 72px);
  color: #fffaf3;
  background:
    linear-gradient(135deg, rgba(36, 33, 31, .95), rgba(74, 52, 38, .92)),
    var(--charcoal);
}
.bottom-cta > div {
  max-width: 980px;
}
.bottom-cta h2 {
  max-width: 880px;
  color: #fffaf3;
  font-size: 4rem;
  margin-bottom: 26px;
}
.footer {
  color: #fffaf3;
  background: #24211f;
}
.footer p,
.footer a {
  color: rgba(255, 250, 243, .78);
}
.drawer-panel {
  background: rgba(255, 250, 243, .96);
}
.drawer-close,
.gallery-thumb,
.drawer-content .drawer-main-image,
.drawer-preview-shell,
.drawer-spotlight::before {
  border-radius: 8px;
}
@media (max-width: 1180px) {
  .category-edit-grid {
    grid-template-columns: repeat(6, minmax(210px, 1fr));
  }
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
  .showcase-card.is-wide {
    grid-column: 1 / -1;
    min-height: 520px;
  }
  .reason-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .utility {
    grid-template-columns: 1fr;
  }
  .nav-tools {
    justify-content: start;
  }
  .lifestyle-hero {
    min-height: 560px;
    padding-top: 86px;
  }
  .lifestyle-hero-copy h1 {
    font-size: 3.7rem;
  }
  .lifestyle-title h2,
  .catalog-heading h2 {
    font-size: 2.65rem;
  }
  .catalog-heading,
  .inspiration-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .lifestyle-hero .carousel-controls {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 20px;
  }
}
@media (max-width: 680px) {
  .lifestyle-hero {
    min-height: 540px;
    padding: 70px 18px 34px;
  }
  .lifestyle-hero::after {
    background:
      linear-gradient(180deg, rgba(36, 33, 31, .7) 0%, rgba(36, 33, 31, .82) 100%);
  }
  .lifestyle-hero-copy h1 {
    font-size: 2.8rem;
  }
  .lifestyle-hero-copy p {
    font-size: 1rem;
  }
  .hero-stats,
  .showcase-grid,
  .reason-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .lifestyle-title {
    align-items: flex-start;
  }
  .lifestyle-title h2,
  .catalog-heading h2 {
    font-size: 2.25rem;
  }
  .bottom-cta h2 {
    font-size: 2.5rem;
  }
  .showcase-card,
  .showcase-card.is-wide {
    min-height: 420px;
  }
  .category-edit-grid {
    grid-template-columns: repeat(6, minmax(190px, 1fr));
  }
  .nav-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* HomeHaven 4.6.0 white background refinement */
body {
  background: #fff;
}
body::before {
  display: none;
}
.site-shell,
.lifestyle-main,
.lifestyle-band,
.category-edits,
.product-showcase,
.why-choose,
.inspiration-section,
.reviews-section,
.page-main {
  background: #fff;
}
.discovery-panel,
.product-card,
.reason-panel,
.inspiration-card,
.review-card,
.account-panel {
  background: rgba(255, 255, 255, .94);
}
.catalog-search,
.filter-pill,
.catalog-overflow-legacy-disabled summary,
.category-menu {
  background: #fff;
}

/* HomeHaven 4.6.1 catalog white parent navigation refinement */
body,
.site-shell,
.lifestyle-main,
.lifestyle-band,
.category-edits,
.product-showcase,
.why-choose,
.inspiration-section,
.reviews-section,
.page-main {
  background: #fff !important;
}
body::before {
  display: none !important;
}
.site-shell {
  border-bottom-color: rgba(36, 33, 31, .1);
  background: rgba(255, 255, 255, .96) !important;
}
.category-edit-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}
.category-edit {
  scroll-snap-align: none;
}
.catalog-heading {
  grid-template-columns: minmax(0, .9fr) minmax(280px, .48fr);
}
.catalog-heading p {
  max-width: 640px;
}
.discovery-panel {
  top: 118px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(36, 33, 31, .12);
  border-radius: 8px;
  background: #fff !important;
  box-shadow: 0 16px 46px rgba(36, 33, 31, .1);
  backdrop-filter: none;
}
.catalog-nav-stack {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.catalog-parent-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.catalog-parent-button {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid rgba(36, 33, 31, .12);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition:
    transform .42s var(--ease-apple),
    box-shadow .42s var(--ease-apple),
    border-color .42s var(--ease-apple),
    background .42s var(--ease-apple),
    color .42s var(--ease-apple);
}
.catalog-parent-button span {
  font-size: .88rem;
  font-weight: 840;
  line-height: 1.1;
}
.catalog-parent-button small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 720;
  line-height: 1.2;
}
.catalog-parent-button:hover,
.catalog-parent-button:focus-visible,
.catalog-child-pill:hover,
.catalog-child-pill:focus-visible,
.catalog-search:hover,
.catalog-search:focus {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(36, 33, 31, .28);
  box-shadow: 0 14px 34px rgba(36, 33, 31, .12);
}
.catalog-parent-button:focus-visible,
.catalog-child-pill:focus-visible,
.catalog-search:focus {
  outline: 2px solid rgba(74, 52, 38, .28);
  outline-offset: 2px;
}
.catalog-parent-button.is-active {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
  box-shadow: 0 18px 40px rgba(36, 33, 31, .18);
}
.catalog-parent-button.is-active small {
  color: rgba(255, 255, 255, .74);
}
.catalog-child-nav {
  display: grid;
}
.catalog-child-group {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.catalog-child-group.is-active {
  display: flex;
}
.catalog-child-group[hidden] {
  display: none !important;
}
.catalog-search,
.filter-pill,
.catalog-child-pill,
.product-card,
.reason-panel,
.inspiration-card,
.review-card,
.account-panel {
  background: #fff !important;
}
.catalog-search {
  min-height: 48px;
  border-radius: 8px;
  transition:
    transform .42s var(--ease-apple),
    box-shadow .42s var(--ease-apple),
    border-color .42s var(--ease-apple);
}
.filter-pill,
.catalog-child-pill {
  min-height: 38px;
  border-radius: 8px;
  transition:
    transform .42s var(--ease-apple),
    box-shadow .42s var(--ease-apple),
    border-color .42s var(--ease-apple),
    background .42s var(--ease-apple),
    color .42s var(--ease-apple),
    opacity .42s var(--ease-apple);
}
.filter-pill.is-active,
.catalog-child-pill.is-active {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss) !important;
}
.result-count {
  align-self: center;
  min-width: 96px;
  padding-top: 2px;
  text-align: right;
}
.product-card {
  border-color: rgba(36, 33, 31, .1);
}
.product-card:hover,
.product-card.is-visible:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(74, 52, 38, .26);
  box-shadow: 0 24px 68px rgba(36, 33, 31, .14);
}
.quick-view-button,
.bin-button,
.btn,
.nav-utility {
  transition:
    transform .42s var(--ease-apple),
    box-shadow .42s var(--ease-apple),
    border-color .42s var(--ease-apple),
    background .42s var(--ease-apple),
    color .42s var(--ease-apple);
}
.quick-view-button:active,
.bin-button:active,
.btn:active,
.catalog-parent-button:active,
.catalog-child-pill:active {
  transform: translate3d(0, 0, 0) scale(.985);
}
@media (max-width: 1180px) {
  .catalog-parent-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .discovery-panel {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }
  .result-count {
    grid-column: 1 / -1;
    justify-self: end;
  }
}
@media (max-width: 900px) {
  .catalog-heading,
  .discovery-panel {
    grid-template-columns: 1fr;
  }
  .catalog-parent-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-count {
    justify-self: start;
    text-align: left;
  }
}
@media (max-width: 620px) {
  .discovery-panel {
    position: relative;
    top: auto;
    padding: 14px;
  }
  .catalog-parent-nav {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-parent-button {
    min-height: 54px;
  }
  .category-edit-grid {
    grid-template-columns: 1fr;
  }
}

/* HomeHaven 4.6.2 mobile non-drag navigation refinement */
@media (max-width: 620px) {
  .site-shell .nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    padding-inline: 20px !important;
    white-space: normal !important;
  }
  .site-shell .nav-item {
    min-width: 0 !important;
  }
  .site-shell .nav-link,
  .site-shell .nav .nav-link {
    width: 100% !important;
    min-height: 40px;
    justify-content: center;
    text-align: center;
    white-space: normal !important;
  }
  .site-shell .nav-panel {
    width: min(310px, calc(100vw - 40px));
  }
  .site-shell .nav-item:nth-child(even) .nav-panel {
    left: auto;
    right: 0;
  }
}

/* HomeHaven 4.6.3 hover catalog reset refinement */
.catalog-parent-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}
.catalog-reset-button {
  min-width: 54px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(36, 33, 31, .12);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: .88rem;
  font-weight: 840;
  cursor: pointer;
  transition:
    transform .42s var(--ease-apple),
    box-shadow .42s var(--ease-apple),
    border-color .42s var(--ease-apple),
    background .42s var(--ease-apple),
    color .42s var(--ease-apple);
}
.catalog-reset-button:hover,
.catalog-reset-button:focus-visible {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(36, 33, 31, .28);
  box-shadow: 0 14px 34px rgba(36, 33, 31, .12);
}
.catalog-reset-button.is-active {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
  box-shadow: 0 14px 34px rgba(36, 33, 31, .14);
}
.catalog-parent-nav {
  grid-template-columns: repeat(5, minmax(128px, 1fr));
}
.catalog-parent-button {
  min-height: 58px;
}
.catalog-child-nav {
  min-height: 40px;
}
.catalog-child-group.is-active {
  animation: homehavenChildReveal .28s var(--ease-apple) both;
}
@keyframes homehavenChildReveal {
  from {
    opacity: 0;
    transform: translate3d(0, -4px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (max-width: 1180px) {
  .catalog-parent-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .catalog-parent-shell {
    grid-template-columns: 1fr;
  }
  .catalog-reset-button {
    width: fit-content;
  }
  .catalog-parent-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .catalog-parent-shell {
    gap: 10px;
  }
  .catalog-parent-nav {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-reset-button {
    min-width: 48px;
    min-height: 36px;
    padding-inline: 12px;
  }
}

/* HomeHaven 4.6.4 full hero image refinement */
.lifestyle-hero .hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f6f5f2;
}
.lifestyle-hero .hero-slide::before {
  content: "";
  position: absolute;
  inset: -38px;
  background-image: var(--homehaven-slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(.98) contrast(1.04);
  opacity: .58;
  transform: scale(1.08);
}
.lifestyle-hero .hero-slide img {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  height: min(100%, 680px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 34px 62px rgba(10, 8, 6, .28)) saturate(.98) contrast(1.02);
  transform: translate3d(0, 0, 0);
}
@media (max-width: 680px) {
  .lifestyle-hero .hero-slide::before {
    inset: -28px;
    filter: blur(24px) saturate(.98) contrast(1.04);
    opacity: .66;
  }
  .lifestyle-hero .hero-slide img {
    width: 100%;
    height: 100%;
    padding: 18px 10px 104px;
  }
}

/* HomeHaven 4.6.6 catalog hover preview refinement */
.catalog-parent-button.is-open {
  border-color: rgba(74, 52, 38, .34);
  background: #fff;
  box-shadow: 0 16px 38px rgba(36, 33, 31, .12);
}
.catalog-parent-button.is-open small {
  color: rgba(74, 52, 38, .72);
}
