/* ==========================================================================
   NORVA — custom window treatments
   Design system. Single stylesheet for every page.
   Language: warm neutral paper, editorial serif display, sage accent.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Ink & text */
  --ink: #14140f;
  --ink-2: #3a382f;
  --body: #5c594e;
  --muted: #8b8778;
  --faint: #a9a496;

  /* Surfaces */
  --paper: #fff;
  --sand: #f8f5ef;
  --sand-2: #efeadf;
  --sand-3: #e5dfd2;

  /* Lines */
  --line: #e5e0d5;
  --line-2: #f1ede4;
  --line-strong: #cfc8b8;

  /* Brand accent — sage, drawn from the brand's own motorisation artwork */
  --sage: #5c7057;
  --sage-d: #475741;
  --sage-l: #e9ede5;
  --sage-mid: #8a9c84;

  /* Warm accent for price / sale moments */
  --clay: #a65b3c;
  --clay-l: #f7e9e2;
  --gold: #b08b4f;

  /* Layout */
  --wrap: 1320px;
  --wrap-narrow: 900px;
  --gutter: 28px;
  --sec-y: 96px;
  --radius: 3px;
  --pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(20, 20, 15, .05);
  --sh-2: 0 4px 18px rgba(20, 20, 15, .07);
  --sh-3: 0 18px 48px rgba(20, 20, 15, .12);

  /* Type */
  --serif: Georgia, "Iowan Old Style", "Times New Roman", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --hdr-h: 68px;
}

/* ---------------------------------------------------------------- 2. Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img { height: auto; }

/* Component display rules (.card, .empty-state, ...) would otherwise beat the UA
   [hidden] rule, leaving programmatically hidden elements on screen. */
[hidden] { display: none !important; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

ul,
ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

::selection {
  background: var(--sage-l);
  color: var(--ink);
}

/* ------------------------------------------------------------ 3. Typography */
.h-display {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
}

.h-1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}

.h-2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -.01em;
}

.h-3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.h-4 {
  font-size: .9375rem;
  font-weight: 600;
}

.eyebrow {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.eyebrow--muted { color: var(--muted); }

.lede {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--body);
}

.measure { max-width: 62ch; }
.measure-tight { max-width: 48ch; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- 4. Layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--sec-y) 0; }

/* Keep in-page anchor targets clear of the sticky header. */
[id] { scroll-margin-top: calc(var(--hdr-h) + 22px); }
.section--tight { padding: 60px 0; }
.section--sand { background: var(--sand); }
.section--sand-2 { background: var(--sand-2); }
.section--ink { background: var(--ink); color: #cec9bd; }
.section--line { border-top: 1px solid var(--line); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.sec-head__title { max-width: 30ch; }

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

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 64px;
}

.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

.stack > * + * { margin-top: 18px; }

/* --------------------------------------------------------------- 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
  text-align: center;
}

.btn:hover { background: var(--sage-d); }
.btn:active { transform: translateY(1px); }

.btn--sage { background: var(--sage); }
.btn--sage:hover { background: var(--sage-d); }

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--light:hover { background: var(--sand); color: var(--ink); border-color: var(--line-strong); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--onDark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn--onDark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 10px 20px; font-size: .75rem; }
.btn--lg { padding: 16px 38px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn--text {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: .875rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}
.btn--text:hover { background: none; color: var(--sage); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { color: var(--sage); border-color: var(--sage); }
.link-arrow::after { content: "→"; font-size: .9em; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ----------------------------------------------------------- 6. Announcement */
.announce {
  background: var(--ink);
  color: #e8e4da;
  font-size: .78rem;
  letter-spacing: .04em;
  position: relative;
  z-index: 60;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px var(--gutter);
  text-align: center;
}

.announce b { font-weight: 600; color: #fff; }
.announce__sep { color: rgba(255, 255, 255, .32); }
.announce__close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 1rem;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
}
.announce__close:hover { color: #fff; }

/* ---------------------------------------------------------------- 7. Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.hdr__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: var(--hdr-h);
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: .3em;
  text-transform: lowercase;
  color: var(--ink);
  line-height: 1;
  padding-right: .3em;
  white-space: nowrap;
}
.logo span { color: var(--sage); }

.hdr__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: background .18s var(--ease);
}
.icon-btn:hover { background: var(--sand-2); }
.icon-btn svg { width: 19px; height: 19px; stroke-width: 1.5; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--pill);
  background: var(--sage);
  color: #fff;
  font-size: .625rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.cart-count[hidden] { display: none; }

.hdr__burger { display: none; }

/* ----------------------------------------------------------------- 8. Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border: 0;
  background: none;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--sage); }

.nav__caret {
  width: 8px;
  height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: .5;
  transition: transform .2s var(--ease);
}

.nav__link--accent { color: var(--clay); font-weight: 600; }

/* Mega panel */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease),
    visibility .18s var(--ease);
  z-index: 40;
}

.nav__item:hover > .mega,
.nav__item:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega--wide { min-width: 640px; }
.mega--right { left: auto; right: 0; transform: translateY(6px); }
.nav__item:hover > .mega--right,
.nav__item:focus-within > .mega--right { transform: translateY(0); }

.mega__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 30px;
}

.mega__title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-2);
}

.mega__list li + li { margin-top: 1px; }

.mega__link {
  display: block;
  padding: 6px 0;
  font-size: .875rem;
  color: var(--body);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.mega__link:hover { color: var(--sage); padding-left: 4px; }

.mega__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: .78rem;
  color: var(--muted);
}

/* Featured promo inside a mega panel */
.mega__promo {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--sand);
  border-radius: var(--radius);
}
.mega__promo img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
}
.mega__promo strong {
  display: block;
  font-size: .875rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.mega__promo span { font-size: .75rem; color: var(--muted); }

/* --------------------------------------------------------- 9. Search panel */
.search-panel {
  border-top: 1px solid var(--line);
  background: #fff;
  display: none;
}
.search-panel[open],
.search-panel.is-open { display: block; }

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

.search-form input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  font-size: 1.125rem;
  background: none;
}
.search-form input:focus { outline: none; border-color: var(--sage); }

/* Live search hits */
.search-hit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-2);
  transition: background .16s var(--ease), padding-left .16s var(--ease);
}
.search-hit:hover { background: var(--sand); padding-left: 10px; }
.search-hit img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand);
  flex: none;
}
.search-hit span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-hit b { font-size: .875rem; font-weight: 500; color: var(--ink); }
.search-hit small { font-size: .75rem; color: var(--muted); }

.search-results { padding-bottom: 8px; }

/* ------------------------------------------------------- 10. Mobile drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.mnav.is-open { display: block; }

.mnav__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 15, .42);
}

.mnav__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background: #fff;
  overflow-y: auto;
  padding: 18px 22px 44px;
  animation: slideIn .26s var(--ease);
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.mnav__group { border-bottom: 1px solid var(--line-2); }

.mnav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.mnav__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  flex: none;
}
.mnav__group.is-open .mnav__toggle::after { transform: rotate(-135deg); }

.mnav__sub {
  display: none;
  padding: 2px 0 14px 14px;
}
.mnav__group.is-open .mnav__sub { display: block; }

.mnav__sub a {
  display: block;
  padding: 8px 0;
  font-size: .875rem;
  color: var(--body);
}
.mnav__sub a:hover { color: var(--sage); }

.mnav__sub .mnav__label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 0 4px;
}

.mnav__foot {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

/* ------------------------------------------------------------------ 11. Hero */
.hero {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: stretch;
  min-height: clamp(520px, 68vh, 720px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 56px 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--sage);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  font-size: .8125rem;
  color: var(--body);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex: none;
}

.hero__media {
  position: relative;
  min-height: 340px;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--sh-2);
}
.hero__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.2;
}
.hero__badge span { font-size: .75rem; color: var(--muted); }

/* Compact hero used on inner pages */
.pagehead {
  background: var(--sand);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.pagehead--left { text-align: left; }

.pagehead__title { margin-bottom: 12px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--sage); text-decoration: underline; }
.breadcrumb span { color: var(--line-strong); }

/* ------------------------------------------------------------ 12. Collection tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  display: block;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.tile--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.tile--tall { grid-row: span 2; aspect-ratio: 3 / 4; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tile:hover img { transform: scale(1.045); }

.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 22px 22px;
  background: linear-gradient(to top, rgba(20, 20, 15, .86) 12%, rgba(20, 20, 15, .5) 48%, rgba(20, 20, 15, 0));
  color: #fff;
}

.tile__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 3px;
}

.tile__sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
}

.tile__count {
  display: inline-block;
  margin-top: 10px;
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 2px;
}

/* --------------------------------------------------------- 13. Product card */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  display: block;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 15px;
}

.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}

/* Second shot cross-fades in on hover when a product has one. */
.card__media img + img {
  opacity: 0;
}
.card:hover .card__media img + img { opacity: 1; }
.card:hover .card__media img { transform: scale(1.03); }

.card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge--sage { background: var(--sage); }
.badge--clay { background: var(--clay); }
.badge--light { background: #fff; color: var(--ink); }

.card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s var(--ease), background .2s var(--ease);
}
.card:hover .card__fav { opacity: 1; }
.card__fav:hover { background: #fff; color: var(--clay); }
.card__fav svg { width: 16px; height: 16px; }
.card__fav.is-on { opacity: 1; color: var(--clay); }
.card__fav.is-on svg { fill: currentColor; }

.card__quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.card:hover .card__quick { opacity: 1; transform: translateY(0); }

.card__body { display: flex; flex-direction: column; flex: 1; }

.card__cat {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}

.card__title {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 7px;
}
.card__title a:hover { color: var(--sage); }

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
  font-size: .8125rem;
  letter-spacing: .03em;
}
.stars i {
  font-style: normal;
  color: var(--line-strong);
}
.stars i.on { color: var(--gold); }

.card__price {
  font-size: .9375rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: auto;
}
.card__price s {
  color: var(--faint);
  font-weight: 400;
  margin-left: 7px;
  font-size: .875rem;
}
.card__price em {
  font-style: normal;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 5px;
}

/* Colour swatch strip on cards and PDP */
.swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.swatch {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 15, .16);
  background: var(--sand-2);
  flex: none;
  cursor: pointer;
  padding: 0;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.swatch:hover { transform: scale(1.16); }

.swatch--lg {
  width: 30px;
  height: 30px;
}

.swatch.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink);
}

.swatches__more {
  font-size: .6875rem;
  color: var(--muted);
  margin-left: 3px;
}

/* --------------------------------------------------------------- 14. Ratings bar */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.rating-summary__score {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1;
}
.rating-summary small { color: var(--muted); font-size: .8125rem; }

/* -------------------------------------------------------- 15. Collection layout */
.shop {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.filters { position: sticky; top: calc(var(--hdr-h) + 18px); }

/* Only shown once the filter rail becomes a mobile drawer. */
.filters__mobile-bar { display: none; }

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.filters__title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

.filters__clear {
  border: 0;
  background: none;
  font-size: .75rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.filters__clear:hover { color: var(--clay); }

.facet { border-bottom: 1px solid var(--line-2); }

.facet__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  border: 0;
  background: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.facet__toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.4px solid var(--muted);
  border-bottom: 1.4px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  flex: none;
}
.facet.is-open .facet__toggle::after { transform: rotate(-135deg); }

.facet__body {
  display: none;
  padding-bottom: 16px;
  max-height: 260px;
  overflow-y: auto;
}
.facet.is-open .facet__body { display: block; }

.facet__body::-webkit-scrollbar { width: 5px; }
.facet__body::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 3px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: .875rem;
  color: var(--body);
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }

.check__box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  flex: none;
  display: grid;
  place-items: center;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.check__box::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
  opacity: 0;
}
.check input:checked + .check__box {
  background: var(--sage);
  border-color: var(--sage);
}
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--sage); outline-offset: 2px; }

.check__n { margin-left: auto; font-size: .75rem; color: var(--faint); }

.check:hover { color: var(--ink); }

/* Colour chips in the filter rail */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  font-size: .78rem;
  color: var(--body);
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.chip i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 15, .18);
  flex: none;
}
.chip:hover { border-color: var(--line-strong); }
.chip.is-on { border-color: var(--ink); background: var(--sand); color: var(--ink); }

/* Toolbar above the grid */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.toolbar__count { font-size: .8125rem; color: var(--muted); }
.toolbar__count b { color: var(--ink); font-weight: 600; }

.toolbar__right { display: flex; align-items: center; gap: 16px; }

.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--muted);
}
.sort select {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 30px 8px 14px;
  font-size: .8125rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b8778' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 13px center;
  appearance: none;
  cursor: pointer;
  color: var(--ink);
}

.view-toggle { display: flex; gap: 3px; }
.view-toggle button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.view-toggle button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.view-toggle button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.view-toggle button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.view-toggle svg { width: 14px; height: 14px; }

/* Applied filter pills */
.applied {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.applied:empty { display: none; }

.applied__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--sand-2);
  font-size: .78rem;
  color: var(--ink);
}
.applied__pill button {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1;
  padding: 0;
}
.applied__pill button:hover { color: var(--clay); }

/* ----------------------------------------------------- 16. Product detail page */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: start;
}

.gallery { position: sticky; top: calc(var(--hdr-h) + 20px); }

.gallery__main {
  position: relative;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.gallery__thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  padding: 0;
  transition: border-color .18s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--line-strong); }
.gallery__thumb.is-on { border-color: var(--ink); }

.pdp__head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }

.pdp__title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 8px 0 12px;
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin: 14px 0 0;
}
.pdp__price small {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.pdp__blurb {
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--body);
  margin-top: 14px;
}

.pdp__usp {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 18px 20px;
  background: var(--sand);
  border-radius: var(--radius);
}
.pdp__usp li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8438rem;
  color: var(--ink-2);
}
.pdp__usp svg { width: 16px; height: 16px; color: var(--sage); flex: none; }

/* Option groups in the configurator */
.field { margin-bottom: 22px; }

.field__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.field__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.field__label .req { color: var(--clay); }

.field__value { font-size: .8125rem; color: var(--muted); }
.field__value b { color: var(--ink); font-weight: 500; }

.field__hint {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
  padding: 11px 14px;
  background: var(--sand);
  border-left: 2px solid var(--sage-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: .8125rem;
  color: var(--body);
  cursor: pointer;
  text-align: center;
  transition: border-color .16s var(--ease), color .16s var(--ease),
    background .16s var(--ease);
}
.opt:hover { border-color: var(--line-strong); color: var(--ink); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt.is-on {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.opt.is-disabled { opacity: .42; cursor: not-allowed; text-decoration: line-through; }
.opt small { display: block; font-size: .6875rem; color: var(--muted); }

/* Illustrated options (mount type, lift, headrail finish): a diagram above each label.
   Column count is explicit per group so 2, 3 or 4 choices each lay out evenly. */
.opts--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.opts--cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .opts--cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  /* Keep the choices comparable side by side rather than stacking into a long list. */
  .opts--cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.opt--img {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  text-align: left;
}

/* The diagrams are transparent-backed but carry their own title strip along the top;
   crop it off so the label under the card is the only caption. */
.opt--img .opt__fig {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 1 / 0.865;
}
.opt--img .opt__fig img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -13.5%;
}

.opt--img .opt__txt {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.opt--img .opt__txt small {
  display: block;
  margin-top: 3px;
  font-size: .6875rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

/* Selected state reads through the ring plus the sand card behind the white diagram panel. */
.opt--img.is-on { background: var(--sand); box-shadow: inset 0 0 0 1px var(--ink); }

/* Colourway picker — larger swatches with the colour name */
.color-opts { display: flex; flex-wrap: wrap; gap: 10px; }

.color-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  font-size: .8125rem;
  color: var(--body);
  cursor: pointer;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
/* The radio itself is decorative; the pill carries the state. */
.color-opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.color-opt i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 15, .17);
  flex: none;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.color-opt:hover { border-color: var(--line-strong); }
.color-opt.is-on {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* Measurement inputs */
.size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.size-field { display: grid; gap: 6px; }
.size-field label { font-size: .75rem; color: var(--muted); }
.size-field input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  font-size: .875rem;
  background: #fff;
  width: 100%;
}
.size-field input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-l); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  overflow: hidden;
}
.qty button {
  width: 38px;
  height: 42px;
  border: 0;
  background: none;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}
.qty button:hover { background: var(--sand); }
.qty input {
  width: 46px;
  height: 42px;
  border: 0;
  text-align: center;
  font-size: .875rem;
  background: none;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.buy-row .btn { flex: 1; }

.pdp__assure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.pdp__assure span { display: flex; align-items: center; gap: 7px; }
.pdp__assure svg { width: 15px; height: 15px; color: var(--sage); flex: none; }

/* ---------------------------------------------------------------- 17. Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 14px 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: .8438rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-color: var(--sage); }

.tabpanel { display: none; }
.tabpanel.is-on { display: block; }

/* --------------------------------------------------------- 18. Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.acc__sign {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
}
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.acc__sign::before { top: 6px; left: 0; width: 13px; height: 1.4px; }
.acc__sign::after { left: 6px; top: 0; width: 1.4px; height: 13px; }

.acc__item.is-open .acc__sign::after { transform: rotate(90deg); opacity: 0; }

.acc__panel {
  display: none;
  padding: 0 46px 24px 0;
  font-size: .9063rem;
  line-height: 1.78;
  color: var(--body);
}
.acc__item.is-open .acc__panel { display: block; }

.faq-q { font-weight: 600; color: var(--ink); margin-bottom: 6px; }

/* ------------------------------------------------------------ 19. Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.spec-table th,
.spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.spec-table th {
  width: 34%;
  font-weight: 500;
  color: var(--muted);
  background: var(--sand);
}
.spec-table td { color: var(--ink-2); }
.spec-table tr:first-child th { border-radius: var(--radius) 0 0 0; }
.spec-table tr:first-child td { border-radius: 0 var(--radius) 0 0; }

/* --------------------------------------------------------------- 20. Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step { position: relative; padding-top: 34px; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--sage-mid);
  line-height: 1;
}

.step__title { font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: .875rem; color: var(--body); }

/* -------------------------------------------------------------- 21. Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review__text {
  font-size: .9375rem;
  line-height: 1.74;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 20px;
}

.review__who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.review__av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage-l);
  color: var(--sage-d);
  display: grid;
  place-items: center;
  font-size: .8125rem;
  font-weight: 600;
  flex: none;
}

.review__name { font-size: .8438rem; font-weight: 600; color: var(--ink); }
.review__meta { font-size: .75rem; color: var(--muted); }

.review__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .6875rem;
  color: var(--sage-d);
  margin-top: 2px;
}

/* ---------------------------------------------------------------- 22. Press */
.press {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px 54px;
}

.press__item {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--faint);
  transition: color .2s var(--ease);
}
.press__item:hover { color: var(--ink); }

/* --------------------------------------------------------------- 23. Blog */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.post { display: flex; flex-direction: column; }

.post__media {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.post:hover .post__media img { transform: scale(1.04); }

.post__tag {
  font-size: .6875rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.post__title {
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 9px;
}
.post:hover .post__title { color: var(--sage-d); }

.post__excerpt { font-size: .875rem; color: var(--body); flex: 1; }

.post__meta {
  margin-top: 14px;
  font-size: .75rem;
  color: var(--faint);
}

/* ----------------------------------------------------------- 24. Newsletter */
.news {
  background: var(--sand-2);
  padding: 66px 0;
}
.news__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.news__form { display: flex; gap: 10px; flex-wrap: wrap; }
.news__form input {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  padding: 13px 22px;
  font-size: .875rem;
  background: #fff;
}
.news__form input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-l); }
.news__note { font-size: .75rem; color: var(--muted); margin-top: 12px; }

/* ---------------------------------------------------------------- 25. Footer */
.ftr {
  background: var(--ink);
  color: #a8a496;
  padding: 70px 0 0;
  font-size: .875rem;
}

.ftr__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 54px;
}

.ftr__brand .logo { color: #fff; margin-bottom: 16px; display: inline-block; }
.ftr__brand p { font-size: .8438rem; line-height: 1.7; max-width: 30ch; color: #928e80; }

.ftr__col h4 {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.ftr__col li + li { margin-top: 10px; }
.ftr__col a { color: #a8a496; transition: color .18s var(--ease); }
.ftr__col a:hover { color: #fff; }

.ftr__contact { margin-top: 20px; }
.ftr__contact a { color: #fff; }
.ftr__contact small { display: block; color: #7d7a6d; font-size: .75rem; margin-top: 4px; }

.ftr__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.ftr__social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a8a496;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.ftr__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ftr__social svg { width: 15px; height: 15px; }

.ftr__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: #7d7a6d;
}

.ftr__bar nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__bar a:hover { color: #fff; }

/* -------------------------------------------------------------- 26. Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-grid .field--full { grid-column: 1 / -1; }

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: .875rem;
  background: #fff;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-l);
}
.textarea { min-height: 130px; resize: vertical; }

label.lbl {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 7px;
}
label.lbl .req { color: var(--clay); }

.form-note { font-size: .78rem; color: var(--muted); }

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--sage-l);
  color: var(--sage-d);
  font-size: .875rem;
  display: none;
}
.form-status.is-on { display: block; }

/* --------------------------------------------------------------- 27. Cart drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
}
.drawer.is-open { display: block; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 15, .42);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 430px);
  background: #fff;
  display: flex;
  flex-direction: column;
  animation: slideRight .26s var(--ease);
}

@keyframes slideRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 { font-size: .9375rem; font-weight: 600; }

.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.drawer__foot {
  border-top: 1px solid var(--line);
  padding: 20px 24px 26px;
  background: var(--sand);
}

.line-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.line-item:first-child { padding-top: 0; }

.line-item__img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand);
}

.line-item__title {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.line-item__opt { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.line-item__price { font-size: .875rem; color: var(--ink); font-weight: 500; }

.line-item__remove {
  border: 0;
  background: none;
  color: var(--faint);
  font-size: .75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-top: 8px;
}
.line-item__remove:hover { color: var(--clay); }

.totals { margin-bottom: 16px; }
.totals__row {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  padding: 5px 0;
  color: var(--body);
}
.totals__row--grand {
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 600;
  border-top: 1px solid var(--line-strong);
  margin-top: 10px;
  padding-top: 13px;
}

.empty-state {
  text-align: center;
  padding: 54px 20px;
  color: var(--muted);
}
.empty-state svg { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--line-strong); }

/* --------------------------------------------------------------- 28. Misc */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--pill);
  background: var(--sage-l);
  color: var(--sage-d);
  font-size: .78rem;
  font-weight: 500;
}
.pill--sand { background: var(--sand-2); color: var(--ink-2); }
.pill--outline { background: none; border: 1px solid var(--line); color: var(--body); }

.note-box {
  padding: 22px 26px;
  background: var(--sand);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9063rem;
  line-height: 1.7;
}
.note-box strong { color: var(--ink); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__n {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 7px;
}
.stat__l { font-size: .8125rem; color: var(--muted); }

.prose { font-size: 1rem; line-height: 1.8; color: var(--body); }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin: 44px 0 16px;
}
.prose h3 { font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin: 32px 0 12px; }
.prose ul { margin: 16px 0; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-mid);
}
.prose ol { margin: 16px 0; counter-reset: n; padding-left: 0; list-style: none; }
.prose ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  counter-increment: n;
}
.prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: var(--serif);
  color: var(--sage);
  font-size: 1rem;
}
.prose a { color: var(--sage-d); border-bottom: 1px solid var(--sage-mid); }
.prose img { border-radius: var(--radius); margin: 26px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .9063rem; }
.prose th, .prose td { padding: 12px 15px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--sand); font-weight: 500; color: var(--muted); }

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card--tall { aspect-ratio: 3 / 4; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(16px);
  z-index: 120;
  padding: 13px 26px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--pill);
  font-size: .8438rem;
  box-shadow: var(--sh-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Pagination */
.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 52px;
}
.pager a,
.pager span {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .8125rem;
  color: var(--body);
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --------------------------------------------------------- 29. Responsive */
@media (max-width: 1180px) {
  :root { --sec-y: 78px; --gutter: 22px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__copy { padding: 56px 30px 56px 30px; }
  .ftr__grid { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 34px; }
  .shop { grid-template-columns: 232px minmax(0, 1fr); gap: 34px; }
  .pdp { gap: 38px; }
}

@media (max-width: 980px) {
  .hdr__inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .hdr__burger { display: inline-flex; }
  .logo { font-size: 1.32rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 300px; }
  .hero__copy { padding: 44px var(--gutter) 52px; }
  .split,
  .split--wide-left,
  .split--wide-right { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .reviews, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__inner { grid-template-columns: 1fr; gap: 26px; }
  .shop { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0;
    z-index: 92;
    background: #fff;
    overflow-y: auto;
    padding: 20px 22px 40px;
    display: none;
  }
  .filters.is-open { display: block; }
  .filters__mobile-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --sec-y: 60px; --gutter: 18px; }
  body { font-size: 14.5px; }
  .tiles,
  .cards,
  .cards--3,
  .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: span 1; }
  .reviews, .posts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 30px; }
  .ftr__bar { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .opts--grid, .opts--grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .size-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .press { gap: 18px 30px; }
  .press__item { font-size: 1rem; }
  .hero__badge { left: 16px; bottom: 16px; padding: 11px 15px; }
  .announce__inner { font-size: .7rem; padding-right: 40px; }
  .toolbar { gap: 12px; }
  .buy-row { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .tiles, .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .stat-row { grid-template-columns: 1fr; }
  .opts--grid, .opts--grid-3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .hdr, .ftr, .announce, .drawer, .mnav, .filters { display: none !important; }
  body { color: #000; }
}
