:root {
  --ink: #20201d;
  --muted: #6b665f;
  --line: #ded8ce;
  --paper: #f7f3ed;
  --surface: #ffffff;
  --sage: #637266;
  --clay: #a45f3d;
  --navy: #263449;
  --gold: #c99442;
  --forest: #2f4a3f;
  --mist: #e9eee8;
  --shadow: 0 18px 45px rgba(42, 37, 30, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(222, 216, 206, 0.82);
  background: rgba(247, 243, 237, 0.94);
  backdrop-filter: blur(18px);
}

.announcement-bar {
  padding: 9px clamp(18px, 4vw, 58px);
  background: #171714;
  color: white;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.1vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--ink);
}

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

.icon-button,
.cart-button,
.filter,
.admin-button,
.ghost-button,
.studio-panel button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.74), rgba(20, 18, 16, 0.22) 48%, rgba(20, 18, 16, 0.04));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(38px, 7vw, 76px) clamp(18px, 6vw, 76px);
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5c27e;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.7vw, 4.05rem);
}

h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.55rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  color: white;
}

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-link {
  padding: 0 22px;
  background: #fff;
  color: var(--ink);
}

.secondary-link {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: white;
}

section:not(.hero) {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 58px);
}

.intent-entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1.26fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
  background: #fbfaf6;
  border-bottom: 1px solid var(--line);
}

.intent-entry h2 {
  max-width: 16ch;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intent-grid a {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.intent-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(162, 89, 43, 0.42);
  box-shadow: 0 14px 34px rgba(31, 29, 25, 0.08);
}

.intent-grid span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading.row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.section-heading h2 {
  max-width: 17ch;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, 1fr);
  grid-auto-rows: minmax(230px, 22vw);
  gap: 16px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
  box-shadow: var(--shadow);
}

.category-card.tall {
  grid-row: span 2;
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.58));
}

.category-card span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
}

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: end;
  background: #fbfaf6;
}

.editorial-intro h2 {
  max-width: 19ch;
}

.editorial-intro p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.room-edits {
  background: var(--forest);
  color: white;
}

.room-edits .eyebrow,
.room-edits .text-link {
  color: #f1bc66;
}

.room-edits .section-heading h2 {
  max-width: 16ch;
}

.edit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.edit-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.edit-grid img {
  aspect-ratio: 4 / 5;
  height: auto;
}

.edit-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.edit-grid span {
  color: #f1bc66;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.edit-grid h3 {
  font-size: 1.18rem;
}

.edit-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.commerce-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--line);
}

.commerce-strip div {
  min-height: 122px;
  padding: 26px;
  background: #f0ebe3;
}

.commerce-strip strong,
.commerce-strip span {
  display: block;
}

.commerce-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.curation-standard {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #14211d;
  color: white;
}

.curation-standard h2 {
  max-width: 12ch;
  color: white;
}

.curation-standard .eyebrow {
  color: #d2a26c;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.standard-grid article {
  min-height: 178px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.standard-grid span,
.standard-grid strong,
.standard-grid p {
  display: block;
}

.standard-grid span {
  color: #d2a26c;
  font-size: 0.78rem;
  font-weight: 900;
}

.standard-grid strong {
  margin-top: 20px;
  font-size: 1.02rem;
}

.standard-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.top-picks {
  background: #fbfaf6;
}

.top-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.top-pick-grid article {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.top-pick-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.top-pick-grid img {
  aspect-ratio: 4 / 3;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.top-pick-grid div {
  display: grid;
  gap: 8px;
  align-content: center;
}

.top-pick-grid span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.top-pick-grid h3,
.top-pick-grid p {
  margin: 0;
}

.top-pick-grid p {
  color: var(--muted);
}

.pick-insight {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pick-insight span:first-child {
  color: var(--sage);
}

.pick-insight span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
}

.experience-edits {
  background: #171714;
  color: white;
}

.experience-edits .eyebrow,
.experience-edits .text-link {
  color: #f1bc66;
}

.experience-edits h2,
.experience-edits h3 {
  color: white;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.experience-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.experience-grid img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.experience-grid div {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.experience-grid span {
  color: #f1bc66;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.experience-grid strong {
  color: white;
}

.shop-by-size {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(24px, 5vw, 70px);
  background: #eef1ea;
}

.review-lab {
  overflow: hidden;
  background: #2f3932;
  color: white;
}

.review-lab .eyebrow {
  color: #f1bc66;
}

.review-lab h2 {
  max-width: 21ch;
  color: white;
}

.legacy-review-lab,
.review-lab-v2 {
  display: none;
}

.review-score {
  align-self: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.review-summary-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 240px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.review-summary-panel strong {
  color: white;
  font-size: 2.2rem;
  line-height: 1;
}

.review-summary-panel span,
.review-summary-panel small {
  color: rgba(255, 255, 255, 0.68);
}

.review-bars {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.review-bars p {
  display: grid;
  grid-template-columns: 48px minmax(80px, 1fr) 38px;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.review-bars i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1bc66 var(--bar), rgba(255, 255, 255, 0.16) var(--bar));
}

.review-bars em {
  color: rgba(255, 255, 255, 0.58);
  font-style: normal;
  text-align: right;
}

.review-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 36vw);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.review-carousel article {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
}

.review-carousel article::before {
  content: "Pilot note";
  color: #f1bc66;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rating-stars {
  color: #f1bc66;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.review-carousel strong {
  color: white;
  font-size: 1.08rem;
}

.review-carousel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.review-carousel span {
  align-self: end;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .product-card,
  .top-pick-grid article,
  .experience-grid article,
  .review-carousel article,
  .standard-grid article {
    transition: opacity 520ms ease, transform 520ms ease, box-shadow 180ms ease;
  }
}

.shop-by-size h2 {
  max-width: 13ch;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.size-grid a {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(35, 34, 30, 0.12);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 900;
}

.size-grid span {
  color: var(--muted);
  font-weight: 600;
}

.solution-stories {
  background: #fbfaf6;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.solution-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solution-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.solution-grid div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.solution-grid span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-grid h3,
.solution-grid p {
  margin: 0;
}

.solution-grid p {
  color: var(--muted);
}

.solution-grid a {
  width: fit-content;
  margin-top: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 900;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
}

.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.product-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin: -20px 0 22px;
}

.product-tools input {
  min-height: 42px;
  min-width: min(100%, 280px);
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.product-count {
  align-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.product-tools label {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-tools select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.product-section {
  background: #fbfaf6;
}

.product-section .section-heading h2 {
  max-width: 21ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-signal {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e6dfd2;
  border-radius: 8px;
  background: #fbfaf6;
}

.product-signal span {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.product-signal strong {
  color: var(--clay);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.card-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.card-trust-row span {
  padding: 5px 8px;
  border: 1px solid #e5ddcf;
  border-radius: 999px;
  color: var(--muted);
  background: #fffaf0;
  font-size: 0.72rem;
  font-weight: 900;
}

.quick-add {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.product-card[hidden] {
  display: none;
}

.product-media {
  display: block;
  overflow: hidden;
  background: #ece7de;
}

.sync-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 98px) clamp(18px, 4vw, 58px);
  background: #eef1ea;
  border-bottom: 1px solid var(--line);
}

.sync-hero h1 {
  max-width: 11ch;
  color: var(--ink);
}

.sync-hero p {
  max-width: 660px;
  color: var(--muted);
}

.sync-panel,
.mapping-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sync-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.sync-panel label,
.mapping-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.sync-panel input,
.sync-panel select,
.mapping-panel input,
.mapping-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.sync-panel input[type="file"] {
  padding: 10px;
}

.sync-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-button,
.ghost-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
}

.admin-button {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.ghost-button {
  background: transparent;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 58px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-card {
  padding: 18px;
}

.admin-card strong {
  display: block;
  font-size: 1.8rem;
}

.admin-card span {
  color: var(--muted);
}

.mapping-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
}

.product-workbench {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.product-workbench label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.product-workbench input,
.product-workbench select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.product-workbench .admin-actions {
  grid-column: 1 / -1;
  align-items: center;
}

.order-workbench {
  grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(180px, 0.55fr));
}

.selection-count {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef1ea;
  color: var(--sage);
  font-weight: 900;
}

.editor-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.editor-panel[hidden] {
  display: none;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.editor-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.editor-grid .wide {
  grid-column: 1 / -1;
}

.editor-grid input,
.editor-grid select,
.editor-grid textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.editor-media {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.editor-media-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.editor-media-heading h3 {
  margin: 0;
  color: var(--ink);
}

.editor-media-heading span {
  color: var(--muted);
  font-weight: 800;
}

.media-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #ead9b8;
  border-radius: 6px;
  background: #fff7e8;
  color: #795214;
  font-weight: 800;
}

.editor-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.editor-media-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.editor-media-grid img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f0ebe3;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-table img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-table span {
  color: var(--muted);
}

.table-select {
  width: 100%;
  min-width: 150px;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef1ea;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill.draft {
  background: #fff4df;
  color: #946117;
}

.spec-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-top: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef1ea;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
}

.spec-pill.missing {
  background: #fff1e8;
  color: #9a4b1c;
}

.order-metrics {
  grid-template-columns: repeat(4, 1fr);
}

.analytics-metrics {
  grid-template-columns: repeat(7, minmax(110px, 1fr));
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.analytics-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.analytics-panel.wide {
  grid-column: 1 / -1;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.mini-list b {
  color: var(--ink);
}

.empty-state {
  padding: 38px 18px;
  text-align: center;
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 58px);
}

.product-gallery {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.product-main-image {
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
  box-shadow: var(--shadow);
}

.product-main-image img {
  aspect-ratio: 1 / 1;
  height: auto;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.product-thumbs button.active {
  border-color: var(--ink);
}

.product-thumbs img {
  aspect-ratio: 1 / 1;
  height: auto;
}

.gallery-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-video-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.product-video-panel h2 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.product-video-panel p {
  margin: 0;
  color: var(--muted);
}

.product-video-list {
  display: grid;
  gap: 0.75rem;
}

.product-video-list video,
.product-video-list iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
}

.product-buybox {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 58px) 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--sage);
  font-weight: 800;
}

.product-buybox h1 {
  max-width: 23ch;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  line-height: 1.08;
}

.rating-line,
.product-buybox p {
  color: var(--muted);
  font-size: 0.96rem;
}

.product-price {
  font-size: 1.72rem;
  font-weight: 900;
}

.pdp-price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pdp-price-note span {
  color: var(--clay);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.pdp-price-note s {
  color: var(--muted);
}

.pdp-price-note em {
  color: var(--sage);
  font-style: normal;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.delivery-strip {
  display: grid;
  gap: 8px;
}

.delivery-strip span,
.payment-hint {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 0.9rem;
}

.delivery-strip strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.curator-standard-panel {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #d8cbbb;
  border-radius: 8px;
  background: #f6efe4;
  color: var(--muted);
}

.curator-standard-panel strong {
  color: var(--ink);
}

.product-buybox label,
.checkout-panel label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--muted);
}

.product-buybox select,
.checkout-panel input,
.cart-item input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.trust-grid span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 6px;
  background: #eef1ea;
  color: var(--sage);
  font-size: 0.88rem;
  font-weight: 800;
}

.trust-grid strong {
  display: block;
  color: var(--clay);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.product-hook {
  color: var(--ink);
  font-size: 1.04rem;
}

.experience-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.experience-panel span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e2d7c8;
  border-radius: 8px;
  background: #fbfaf6;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.experience-panel strong {
  color: var(--clay);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.ship-countdown {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #e8d4b8;
  border-radius: 8px;
  background: #fff8eb;
}

.ship-countdown strong {
  color: #875019;
}

.ship-countdown span {
  color: var(--muted);
}

.included-callout {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #d9c7aa;
  border-radius: 8px;
  background: #fffaf1;
}

.included-callout strong {
  color: #875019;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.included-callout span {
  color: var(--ink);
  font-weight: 800;
}

.before-buy-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d8c5a7;
  border-radius: 8px;
  background: #fffaf1;
}

.before-buy-panel > strong {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.before-buy-panel span {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.before-buy-panel b {
  color: #875019;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fit-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.fit-verdict div {
  display: grid;
  gap: 7px;
  align-content: start;
}

.fit-verdict strong {
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fit-verdict span {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fit-verdict span::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.fit-verdict p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.add-cart-button,
.product-cart-link {
  justify-content: center;
  text-align: center;
}

.product-assurance {
  display: grid;
  gap: 6px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.product-assurance span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sage);
  vertical-align: middle;
}

.conversion-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 58px);
  background: #171714;
  color: white;
}

.conversion-panel .eyebrow {
  color: #f1bc66;
}

.conversion-panel h2 {
  max-width: 13ch;
  color: white;
}

.conversion-panel p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.conversion-grid article {
  min-height: 220px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.conversion-grid strong,
.conversion-grid span {
  display: block;
}

.conversion-grid strong {
  color: #f1bc66;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.conversion-grid span {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.product-story,
.purchase-protection,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

.product-story p,
.purchase-protection p,
.real-home-confidence p {
  color: var(--muted);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.spec-grid span {
  color: var(--muted);
}

.spec-grid .included-card {
  background: #fffaf1;
  border-color: #d9c7aa;
}

.spec-grid .included-card.warning {
  background: #fff5f0;
  border-color: #ebc8b8;
}

.included-card span {
  line-height: 1.55;
}

.dimension-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.dimension-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 48px 56px;
  border: 2px solid #2f3932;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(238, 241, 234, 0.86), rgba(255, 255, 255, 0.94));
  text-align: center;
}

.dimension-visual strong {
  max-width: 260px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.dim-line {
  position: absolute;
  padding: 3px 7px;
  border-radius: 999px;
  background: #171714;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
}

.dim-width {
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
}

.dim-height {
  top: 12px;
  right: 12px;
}

.dim-depth {
  top: 12px;
  left: 12px;
}

.fit-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.fit-chip-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf6;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.review-transition {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: #eef1ea;
}

.pdp-review-grid {
  display: grid;
  grid-template-columns: 0.82fr repeat(3, 1fr);
  gap: 12px;
}

.review-summary,
.review-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.review-summary {
  align-content: center;
  background: #171714;
  color: white;
}

.review-summary strong {
  font-size: 3rem;
  line-height: 0.9;
}

.review-summary span,
.review-summary small {
  color: rgba(255, 255, 255, 0.72);
}

.review-card div {
  color: #c99442;
  letter-spacing: 0.08em;
}

.review-card strong {
  color: var(--clay);
}

.review-card p {
  margin: 0;
  color: var(--muted);
}

.review-card span,
.review-transition p {
  color: var(--muted);
}

.purchase-protection {
  background: #fbfaf7;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.protection-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.protection-grid span {
  color: var(--muted);
}

.cart-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.cart-item label {
  grid-column: 2;
  width: min(160px, 100%);
}

.cart-item img {
  width: 96px;
  height: 96px;
  border-radius: 6px;
}

.cart-scope {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #d9c7aa;
  border-radius: 8px;
  background: #fffaf1;
}

.cart-scope p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cart-scope strong {
  color: #875019;
}

.checkout-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.checkout-panel h2 {
  font-size: 1.8rem;
}

.checkout-note {
  margin: 0;
  color: var(--muted);
}

.checkout-panel form {
  display: grid;
  gap: 14px;
}

.payment-panel {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.total-lines {
  display: grid;
  gap: 10px;
}

.total-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.freight-note {
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.confirmation-page {
  min-height: 70vh;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 4vw, 58px);
}

.confirmation-page h1 {
  color: var(--ink);
}

.landing-band,
.real-home-confidence,
.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

.landing-band {
  background: #eef1ea;
}

.benefit-list,
.faq-grid {
  display: grid;
  gap: 12px;
}

.benefit-list article,
.faq-grid details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list span,
.faq-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-grid summary {
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 900;
}

.real-home-confidence {
  align-items: center;
  background: white;
}

.real-home-confidence .ghost-button {
  width: min(280px, 100%);
  justify-content: center;
  justify-self: end;
}

.mobile-sticky-cart {
  display: none;
}

.product-card img {
  aspect-ratio: 1 / 1;
  height: auto;
}

.save-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.save-button.is-saved {
  background: var(--ink);
  color: white;
}

.product-info {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-info h3 {
  min-height: 2.3em;
  font-size: 1rem;
  line-height: 1.18;
}

.product-info p {
  min-height: 3em;
  font-size: 0.88rem;
}

.badge {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef1ea;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-info p,
.feature-copy p,
.lookbook p,
.design-studio p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.collection-introduction { max-width: 1120px; margin: 0 auto; padding: 0 28px 36px; }
.collection-introduction p { max-width: 80ch; line-height: 1.7; }
.checkout-trust { font-size: 14px; line-height: 1.6; }
.checkout-panel { scroll-margin-top: 125px; }
.email-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.email-consent input { width: 18px; height: 18px; flex: none; }
picture { display: contents; }
@media (max-width: 760px) {
  .collection-introduction { padding: 0 14px 24px; }
  .checkout-panel input { font-size: 16px; min-height: 44px; }
  .checkout-panel button { min-height: 44px; }
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.price-row strong {
  color: var(--ink);
}

.price-row .price-label {
  flex-basis: 100%;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-row s {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-row em {
  color: var(--sage);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.top-pick-grid .price-row {
  margin-top: 4px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: #e8ece4;
}

.feature-copy {
  max-width: 560px;
}

.feature-copy p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 1.05rem;
}

.text-link {
  margin-top: 26px;
  color: var(--clay);
}

.feature-image {
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lookbook article {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.lookbook article img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.lookbook article div {
  padding: 18px;
}

.lookbook h3 {
  margin-bottom: 8px;
}

.design-studio {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 520px);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background: var(--navy);
  color: white;
}

.design-studio .eyebrow {
  color: #f1bc66;
}

.design-studio p {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.studio-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.studio-panel label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.studio-panel select,
.studio-panel input[type="range"] {
  width: 100%;
}

.studio-panel select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.studio-panel button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #f1bc66;
  font-weight: 900;
}

.trust-section {
  background: #fbfaf6;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-cards article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.trust-cards strong {
  color: var(--clay);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.trust-cards span {
  color: var(--ink);
  font-weight: 900;
}

.trust-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 460px) minmax(280px, 520px);
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(18px, 4vw, 58px);
  background: #171714;
  color: white;
}

.footer-brand .brand-mark {
  background: white;
  color: #171714;
}

.site-footer p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.newsletter strong {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.newsletter p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.email-capture {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  background: #2f3932;
  color: white;
}

.email-capture h2 {
  max-width: 16ch;
  color: white;
}

.email-capture p {
  color: rgba(255, 255, 255, 0.72);
}

.email-form {
  display: grid;
  gap: 12px;
  align-content: center;
}

.email-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.email-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.email-form button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #f1bc66;
  color: #171714;
  font-weight: 900;
}

.email-form span {
  min-height: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.image-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 17, 15, 0.78);
}

.image-zoom-modal img {
  width: min(920px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}

.image-zoom-modal button {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: white;
  font-weight: 900;
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.055) translate3d(1.2%, -0.8%, 0);
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.policy-page {
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 58px);
}

.policy-page h1 {
  max-width: 18ch;
  color: var(--ink);
}

.policy-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.policy-summary article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef1ea;
}

.policy-summary strong,
.policy-summary span {
  display: block;
}

.policy-summary strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.policy-summary span {
  color: var(--muted);
}

.policy-grid {
  display: grid;
  gap: 14px;
}

.policy-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.policy-card p {
  color: var(--muted);
}

.collection-hero {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 58px) clamp(32px, 5vw, 64px);
}

.collection-hero h1 {
  max-width: 18ch;
  color: var(--ink);
}

.collection-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.collection-products {
  padding-top: clamp(34px, 5vw, 70px) !important;
}

.collection-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(24px, 5vw, 70px);
  background: #eef1ea;
}

.policy-card a,
.trust-cards a,
.newsletter a,
.product-assurance a,
.purchase-protection a,
.review-transition a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .commerce-strip,
  .curation-standard,
  .intent-entry,
  .lookbook-grid,
  .edit-grid,
  .solution-grid,
  .top-pick-grid,
  .experience-grid,
  .pdp-review-grid,
  .trust-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sync-hero,
  .mapping-panel,
  .product-workbench {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .announcement-bar {
    padding: 7px 14px;
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .site-header {
    min-height: 66px;
    gap: 12px;
    padding: 10px 14px 8px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    gap: 8px;
    margin: 0 -14px;
    padding: 2px 14px 8px;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid rgba(222, 216, 206, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    color: #57514a;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .header-actions .icon-button {
    display: none;
  }

  .cart-button {
    min-width: 52px;
    height: 36px;
    padding: 0 10px;
    justify-content: center;
    font-size: 0.88rem;
  }

  .cart-button span {
    font-size: 1rem;
  }

  .hero {
    min-height: min(560px, calc(100svh - 98px));
    border-bottom-color: rgba(222, 216, 206, 0.66);
  }

  .hero-media img {
    object-position: 54% center;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(20, 18, 16, 0.06), rgba(20, 18, 16, 0.78));
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 auto 26px;
  }

  h1 {
    font-size: clamp(2.08rem, 10.8vw, 2.9rem);
  }

  h2 {
    font-size: clamp(1.42rem, 7.4vw, 2.05rem);
  }

  h3 {
    font-size: 1rem;
  }

  .hero-content p:not(.eyebrow) {
    max-width: 31ch;
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.46;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 20px;
  }

  .primary-link,
  .secondary-link,
  .text-link {
    justify-content: center;
    min-height: 43px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .hero-proof span {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  section:not(.hero) {
    padding: 42px 14px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2,
  .intent-entry h2,
  .room-edits .section-heading h2,
  .curation-standard h2 {
    max-width: 14ch;
  }

  .category-grid,
  .split-feature,
  .design-studio,
  .shop-by-size,
  .email-capture,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 168px;
    gap: 10px;
  }

  .category-card.tall {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .category-card span {
    left: 13px;
    right: 13px;
    bottom: 12px;
    font-size: 1rem;
    line-height: 1.1;
  }

  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .intent-grid a {
    min-height: 126px;
    padding: 13px;
    font-size: 0.92rem;
  }

  .intent-grid span {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .commerce-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commerce-strip div {
    min-height: 94px;
    padding: 18px 16px;
  }

  .section-heading.row {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .product-tools {
    justify-content: flex-start;
    margin-top: -8px;
  }

  .product-tools label {
    min-width: min(100%, 220px);
  }

  .commerce-strip,
  .curation-standard,
  .intent-entry,
  .editorial-intro,
  .edit-grid,
  .top-pick-grid,
  .review-layout,
  .top-pick-grid article,
  .experience-grid,
  .experience-panel,
  .solution-grid,
  .size-grid,
  .intent-grid,
  .trust-cards,
  .lookbook-grid,
  .sync-hero,
  .mapping-panel,
  .product-workbench,
  .metric-grid,
  .editor-grid,
  .product-detail,
  .conversion-panel,
  .product-story,
  .purchase-protection,
  .review-transition,
  .dimension-panel,
  .pdp-review-grid,
  .checkout-layout,
  .spec-grid,
  .protection-grid,
  .landing-band,
  .collection-copy,
  .real-home-confidence,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-info {
    gap: 6px;
    padding: 10px;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .product-info h3 {
    min-height: 2.75em;
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .product-info p {
    display: none;
  }

  .product-signal {
    display: none;
  }

  .card-trust-row {
    gap: 4px;
  }

  .card-trust-row span {
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .quick-add {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .price-row {
    gap: 5px;
  }

  .price-row .price-label {
    font-size: 0.62rem;
  }

  .price-row strong {
    font-size: 1rem;
  }

  .price-row s,
  .price-row em {
    font-size: 0.72rem;
  }

  .conversion-grid {
    grid-template-columns: 1fr;
  }

  .standard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-grid article {
    min-height: 136px;
    padding: 14px;
  }

  .standard-grid p {
    font-size: 0.78rem;
    line-height: 1.36;
  }

  .edit-grid,
  .solution-grid,
  .lookbook-grid {
    display: grid;
    grid-auto-columns: minmax(245px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .edit-grid::-webkit-scrollbar,
  .solution-grid::-webkit-scrollbar,
  .lookbook-grid::-webkit-scrollbar {
    display: none;
  }

  .edit-grid article,
  .solution-grid article,
  .lookbook-card {
    min-width: 0;
  }

  body:has(.mobile-sticky-cart) {
    padding-bottom: 94px;
  }

  .product-detail {
    gap: 20px;
    padding: 18px 14px 28px;
  }

  .breadcrumb {
    gap: 6px;
    padding: 14px 14px 0;
    font-size: 0.76rem;
  }

  .product-gallery {
    gap: 9px;
  }

  .product-main-image {
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(42, 37, 30, 0.1);
  }

  .product-main-image img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f2eee6;
  }

  .product-thumbs {
    display: grid;
    grid-auto-columns: 64px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .product-thumbs::-webkit-scrollbar {
    display: none;
  }

  .gallery-count {
    font-size: 0.76rem;
  }

  .product-buybox {
    gap: 11px;
  }

  .product-buybox h1 {
    max-width: 19ch;
    font-size: clamp(1.56rem, 7.8vw, 2rem);
  }

  .rating-line,
  .product-buybox p {
    font-size: 0.9rem;
  }

  .product-price {
    font-size: 1.9rem;
  }

  .pdp-price-note {
    gap: 7px;
    margin-top: -4px;
    font-size: 0.82rem;
  }

  .delivery-strip span,
  .payment-hint,
  .curator-standard-panel {
    padding: 10px;
    font-size: 0.84rem;
  }

  .product-hook {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .experience-panel {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .experience-panel span,
  .included-callout,
  .before-buy-panel,
  .fit-verdict {
    padding: 10px;
  }

  .experience-panel span,
  .before-buy-panel span,
  .fit-verdict span,
  .fit-verdict p {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .product-buybox select {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .trust-grid span {
    padding: 9px;
    font-size: 0.76rem;
  }

  .add-cart-button,
  .product-cart-link {
    min-height: 44px;
  }

  .dimension-panel {
    gap: 13px;
    margin: 16px 0;
    padding: 12px;
  }

  .dimension-visual {
    min-height: 188px;
    padding: 42px 46px;
  }

  .dimension-visual strong {
    max-width: 210px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .dim-line {
    padding: 3px 6px;
    font-size: 0.66rem;
  }

  .fit-chip-row span {
    padding: 6px 8px;
    font-size: 0.74rem;
  }

  .delivery-strip {
    grid-template-columns: 1fr;
  }

  .fit-verdict {
    grid-template-columns: 1fr;
  }

  .before-buy-panel span {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .real-home-confidence .ghost-button {
    justify-self: start;
  }

  .mobile-sticky-cart {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-top: 1px solid rgba(222, 216, 206, 0.94);
    background: rgba(247, 243, 237, 0.96);
    box-shadow: 0 -12px 30px rgba(42, 37, 30, 0.12);
    backdrop-filter: blur(16px);
    pointer-events: none;
    transform: translateY(110%);
    transition: transform 180ms ease;
  }

  .mobile-sticky-cart.is-visible {
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky-cart strong,
  .mobile-sticky-cart span {
    display: block;
  }

  .mobile-sticky-cart span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .mobile-sticky-cart .admin-button {
    min-height: 44px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .cart-item {
    grid-template-columns: 82px 1fr;
  }

  .cart-item label {
    grid-column: 1 / -1;
  }

  .commerce-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-pick-grid,
  .experience-grid {
    display: grid;
    grid-auto-columns: minmax(252px, 80vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .top-pick-grid::-webkit-scrollbar,
  .experience-grid::-webkit-scrollbar {
    display: none;
  }

  .top-pick-grid article,
  .experience-grid article {
    min-width: 0;
  }

  .top-pick-grid img,
  .product-card img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  [data-product-grid] .product-card:nth-child(n + 10) {
    display: none;
  }

  .feature-image {
    min-height: 360px;
  }

}
