:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #67645f;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #eef4f0;
  --line: #dedbd4;
  --accent: #9d2f3d;
  --accent-strong: #7d2230;
  --moss: #556b59;
  --gold: #a87f2d;
  --shadow: 0 22px 54px rgba(18, 20, 18, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 10px 32px;
  border-bottom: 1px solid rgba(222, 219, 212, 0.9);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1rem;
}

.brand small,
.eyebrow,
.product-card small,
.cart-total span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

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

.cart-button,
.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.cart-button {
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

.cart-button strong {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--accent);
  font-size: 0.82rem;
}

.button {
  gap: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.button.paypal {
  width: 100%;
  color: #111820;
  background: #ffc439;
}

.button.wide {
  width: 100%;
}

.icon-button {
  width: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.84) 0%, rgba(15, 13, 11, 0.62) 42%, rgba(15, 13, 11, 0.2) 74%),
    linear-gradient(180deg, rgba(15, 13, 11, 0.12), rgba(15, 13, 11, 0.5)),
    var(--hero-image),
    #191817;
  background-position: center, center, center 48%;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, transparent 70%, rgba(251, 250, 247, 0.98));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 96px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
}

.hero h1,
.section-heading h2,
.shipping-section h2,
.drawer-content h2,
.cart-header h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 700px;
  font-size: 4.9rem;
}

.hero p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  line-height: 1.7;
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 34px 0 0;
}

.hero-metrics div {
  display: grid;
  min-width: 0;
  padding: 0 18px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
}

.assurance-strip,
.story-section,
.category-section,
.shop-section,
.process-section,
.craft-section,
.shipping-section,
.custom-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  scroll-margin-top: 92px;
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  transform: translateY(-42px);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
  background: #171717;
  box-shadow: var(--shadow);
}

.assurance-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  min-height: 116px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 70%),
    #171717;
}

.assurance-strip article:last-child {
  border-right: 0;
}

.assurance-strip .rail-number {
  grid-row: span 2;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.assurance-strip strong {
  align-self: end;
}

.assurance-strip article > span:not(.rail-number),
.section-heading p,
.story-copy p,
.craft-grid p,
.shipping-copy p,
.original-name,
.spec-grid p,
.cart-empty,
.cart-item span {
  color: var(--muted);
  line-height: 1.65;
}

.assurance-strip article > span:not(.rail-number) {
  color: rgba(255, 255, 255, 0.7);
}

.shop-section {
  padding: 36px 0 58px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: start;
  padding: 22px 0 64px;
  scroll-margin-top: 92px;
}

.story-copy {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.story-copy h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.04;
}

.story-copy p {
  margin: 0;
  font-size: 1rem;
}

.story-chapters {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.story-chapters article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 14px;
  padding: 14px 0 14px 16px;
  border-left: 2px solid rgba(157, 47, 61, 0.42);
}

.story-chapters span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.story-chapters h3 {
  margin: 0;
  font-size: 1.02rem;
}

.story-chapters p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.material-board figure {
  position: relative;
  min-height: 214px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(18, 20, 18, 0.08);
}

.material-board figure:nth-child(2),
.material-board figure:nth-child(3) {
  transform: translateY(28px);
}

.material-board img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
  display: block;
}

.material-board figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.72);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.category-section {
  padding: 4px 0 34px;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.shipping-section h2 {
  font-size: 2.4rem;
}

.section-heading p {
  margin: 14px 0 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: minmax(180px, auto);
  gap: 14px;
  margin-top: 28px;
}

.collection-card {
  position: relative;
  display: grid;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
  color: #ffffff;
  background: #171717;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(18, 20, 18, 0.14);
}

.collection-card.large {
  grid-row: span 2;
}

.collection-card.wide {
  grid-column: span 2;
}

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

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.04), rgba(10, 10, 10, 0.72)),
    linear-gradient(90deg, rgba(10, 10, 10, 0.48), rgba(10, 10, 10, 0));
}

.collection-card span,
.collection-card strong {
  position: relative;
  z-index: 1;
}

.collection-card span {
  align-self: end;
  margin: auto 18px 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.collection-card strong {
  max-width: 360px;
  margin: 0 18px 18px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.collection-card.wide strong,
.collection-card.tall strong {
  font-size: 1.35rem;
}

.collection-card:hover img {
  transform: scale(1.055);
}

.collection-card.active {
  border-color: rgba(157, 47, 61, 0.88);
  box-shadow: 0 0 0 3px rgba(157, 47, 61, 0.18), var(--shadow);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.quick-filter-label {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  min-width: 138px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(18, 20, 18, 0.05);
}

.category-chip span {
  font-size: 0.9rem;
  font-weight: 850;
}

.category-chip strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.category-chip:hover,
.category-chip.active {
  border-color: rgba(157, 47, 61, 0.42);
  color: #ffffff;
  background: var(--accent);
}

.category-chip:hover strong,
.category-chip.active strong {
  color: var(--accent);
  background: #ffffff;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 18px;
}

.search-field {
  display: grid;
  flex: 1;
  gap: 8px;
  min-width: 240px;
}

.search-field span,
.inquiry-form label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.search-field input,
.select-row select,
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  outline: 0;
}

.search-field input,
.inquiry-form input,
.inquiry-form textarea {
  padding: 0 13px;
}

.inquiry-form textarea {
  padding-top: 12px;
  resize: vertical;
}

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

.select-row select {
  min-width: 190px;
  padding: 0 38px 0 12px;
}

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

.product-grid.home-curated {
  grid-template-columns: 1.16fr repeat(3, minmax(0, 1fr));
}

.product-grid.home-curated .product-card:first-child {
  grid-column: span 2;
}

.product-grid.home-curated .product-card:first-child .product-media {
  aspect-ratio: 16 / 10;
}

.product-grid.home-curated .product-card:first-child .product-body {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px 18px;
}

.product-grid.home-curated .product-card:first-child .product-body small,
.product-grid.home-curated .product-card:first-child .product-body h3,
.product-grid.home-curated .product-card:first-child .product-body p {
  grid-column: 1;
}

.product-grid.home-curated .product-card:first-child .product-body h3 {
  min-height: 0;
  font-size: 1.35rem;
}

.product-grid.home-curated .product-card:first-child .product-body p {
  max-width: 460px;
}

.product-grid.home-curated .product-card:first-child .product-foot {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  flex-direction: column;
  align-items: flex-end;
}

.product-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(18, 20, 18, 0.06);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  border-color: rgba(157, 47, 61, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  background: #f1f0ec;
}

.product-media-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: zoom-in;
}

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

.product-media.missing {
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.product-body h3 {
  min-height: 44px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.28;
}

.product-body p {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.product-price {
  color: var(--accent);
  font-size: 1.28rem;
  font-weight: 900;
}

.card-actions {
  display: flex;
  gap: 6px;
}

.small-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 850;
}

.small-button.add {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
}

.shop-footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.shop-footer [hidden] {
  display: none;
}

.process-section,
.craft-section,
.shipping-section,
.custom-section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.process-section {
  padding-top: 70px;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  margin-top: 28px;
}

.process-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(18, 20, 18, 0.07);
}

.process-card.featured {
  grid-row: span 2;
}

.process-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.process-card.featured img {
  height: 470px;
}

.process-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.process-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.craft-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.craft-grid span {
  color: var(--accent);
  font-weight: 900;
}

.craft-grid h3 {
  margin: 16px 0 8px;
}

.craft-grid p {
  margin: 0;
}

.shipping-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(280px, 0.76fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.care-image {
  margin: 0;
}

.care-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  display: block;
  box-shadow: 0 16px 38px rgba(18, 20, 18, 0.08);
}

.shipping-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.shipping-copy p {
  margin: 0;
}

.custom-section {
  padding-bottom: 84px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  text-transform: uppercase;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.9), rgba(23, 23, 23, 0.68)),
    var(--hero-image),
    #181818;
  background-position: center;
  background-size: cover;
}

.age-gate.hidden {
  display: none;
}

.age-panel {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(20, 20, 20, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.age-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 900;
}

.age-panel h1 {
  margin: 18px 0 10px;
}

.age-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-drawer,
.cart-drawer {
  position: fixed;
  top: 14px;
  bottom: 14px;
  z-index: 50;
  width: min(520px, calc(100% - 28px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
}

.product-drawer {
  right: 14px;
  width: min(680px, calc(100% - 28px));
  transform: translateX(calc(100% + 28px));
}

.cart-drawer {
  right: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(calc(100% + 28px));
}

.product-drawer.open,
.cart-drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.72);
}

.drawer-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: #f1f0ec;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-thumb:hover img {
  filter: contrast(1.04);
  transform: scale(1.02);
}

.gallery-thumb:first-child {
  grid-column: 1 / -1;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(17, 18, 17, 0.86);
}

.image-lightbox.show {
  display: grid;
}

.image-lightbox img {
  max-width: min(100%, 1120px);
  max-height: calc(100vh - 72px);
  object-fit: contain;
  border-radius: 8px;
  background: #f1f0ec;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.72);
}

.drawer-content,
.cart-header,
.cart-footer {
  padding: 20px;
}

.drawer-content h2 {
  font-size: 2rem;
}

.original-name {
  margin: 8px 0 0;
}

.drawer-story {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.drawer-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.drawer-price-row strong {
  color: var(--accent);
  font-size: 2rem;
}

.drawer-price-row span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--moss);
  background: var(--surface-soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.variant-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.drawer-care {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.drawer-care article {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.drawer-care span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.drawer-care p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.variant-group {
  display: grid;
  gap: 8px;
}

.variant-group > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.variant-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-option {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.variant-option.active {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.spec-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.spec-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.spec-grid p {
  margin: 6px 0 0;
  white-space: pre-line;
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 20px;
}

.cart-empty {
  padding: 24px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item img {
  width: 76px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f0ec;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
}

.cart-item p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.cart-item button {
  width: 34px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
}

.cart-footer {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-total strong {
  font-size: 1.6rem;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(23, 23, 23, 0.38);
}

.backdrop.show {
  display: block;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .product-grid,
  .assurance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-grid,
  .product-grid.home-curated {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .shipping-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
    padding: 12px 18px;
  }

  .main-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .cart-button {
    width: 100%;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 52px 0 86px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .assurance-strip,
  .story-section,
  .category-section,
  .shop-section,
  .process-section,
  .craft-section,
  .shipping-section,
  .custom-section {
    width: min(100% - 28px, 1180px);
  }

  .assurance-strip,
  .story-section,
  .collection-grid,
  .process-grid,
  .product-grid,
  .craft-grid,
  .inquiry-form,
  .drawer-care,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .story-section {
    gap: 26px;
    padding: 8px 0 48px;
  }

  .story-copy {
    max-width: none;
  }

  .story-copy h2 {
    font-size: 2.25rem;
  }

  .collection-card.large,
  .collection-card.wide,
  .collection-card.tall,
  .product-grid.home-curated .product-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .material-board figure:nth-child(2),
  .material-board figure:nth-child(3) {
    transform: none;
  }

  .collection-card {
    min-height: 250px;
  }

  .product-grid.home-curated .product-card:first-child .product-media {
    aspect-ratio: 1 / 1;
  }

  .product-grid.home-curated .product-card:first-child .product-body {
    grid-template-columns: 1fr;
  }

  .product-grid.home-curated .product-card:first-child .product-foot {
    grid-column: auto;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
  }

  .shop-toolbar,
  .select-row {
    align-items: stretch;
    flex-direction: column;
  }

  .process-card.featured {
    grid-row: auto;
  }

  .process-card img,
  .process-card.featured img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

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

  .category-chip {
    min-width: 0;
  }

  .select-row select {
    min-width: 0;
  }

  .section-heading h2,
  .shipping-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .story-copy h2 {
    font-size: 1.95rem;
  }

  .story-visual {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .age-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-drawer,
  .cart-drawer {
    inset: 8px;
    width: auto;
  }

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

  .category-chips {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 56px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer a {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 850;
  text-decoration: none;
}

.woocommerce div.product {
  width: min(1180px, calc(100% - 48px));
  margin: 38px auto 72px;
}

.woocommerce div.product .product_title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce input.button {
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 850;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background: var(--accent-strong);
}

@media (max-width: 780px) {
  .site-footer {
    align-items: stretch;
    flex-direction: column;
    width: min(100% - 28px, 1180px);
  }
}
