:root {
  --bg: #fff1d7;
  --shell: #fff8ea;
  --paper: #fffdf6;
  --ink: #261329;
  --muted: #654b61;
  --line: rgba(63, 23, 63, 0.16);
  --gold: #f4b400;
  --oasis: #087f5b;
  --rose: #db2777;
  --clay: #f05a3c;
  --night: #13213c;
  --shell-tone: #ff9f1c;
  --radius: 24px;
  --font-brand: "Instagram Sans", "Figtree", "Avenir Next", sans-serif;
  --font-wordmark: "Comfortaa", "Instagram Sans", "Figtree", sans-serif;
}

/* Interactive commerce additions */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.category-strip button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.filter-panel {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0 4vw 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(35, 31, 27, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.filter-panel[hidden], .catalog-card[hidden], .empty-results[hidden] { display: none; }
.filter-panel label { cursor: pointer; }
.results-count, .empty-results { margin: 0 4vw 1.25rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

.color-block { margin-top: 1.5rem; }
.color-grid { display: flex; gap: .75rem; margin-top: .75rem; }
.color-chip {
  width: 2rem; height: 2rem; border: 5px solid #f5efe7; border-radius: 50%;
  background: var(--swatch); box-shadow: 0 0 0 1px rgba(35, 31, 27, .28); cursor: pointer;
}
.color-chip.is-selected { box-shadow: 0 0 0 2px #231f1b; }
.size-chip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.stock-message { margin: .75rem 0 0; font-size: .78rem; color: #6a594c; }

.quantity-row { display: flex; justify-content: space-between; align-items: center; margin: 1.35rem 0; }
.quantity-control, .bag-quantity { display: inline-flex; align-items: center; border: 1px solid rgba(35, 31, 27, .25); }
.quantity-control button, .bag-quantity button { border: 0; background: transparent; cursor: pointer; min-width: 2.3rem; min-height: 2.3rem; font-size: 1rem; }
.quantity-control span, .bag-quantity span { min-width: 1.8rem; text-align: center; }
.bag-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .45rem; }
.bag-item-actions > button { border: 0; background: transparent; padding: 0; text-decoration: underline; cursor: pointer; }
.shipping-copy { font-size: .76rem; }
.shipping-track { height: 3px; background: rgba(35, 31, 27, .15); margin: .45rem 0 1.1rem; overflow: hidden; }
.shipping-track span { display: block; width: 0; height: 100%; background: #231f1b; transition: width .35s ease; }

.size-guide-panel { position: relative; z-index: 2; width: min(620px, calc(100% - 2rem)); margin: auto; background: #f7f1e9; padding: clamp(1.25rem, 4vw, 3rem); }
.size-table > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding: .85rem 0; border-bottom: 1px solid rgba(35, 31, 27, .15); }
.size-guide-note { margin: 1.5rem 0 0; color: #6a594c; }
.related-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-complement { min-width: 0; }

.page-enter { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.page-enter.is-ready { opacity: 1; transform: none; }
.reveal-card { animation: card-reveal .6s both; animation-delay: calc(var(--card-index) * 55ms + 120ms); }
.image-loading-label { opacity: .22; font-family: "Comfortaa", sans-serif; letter-spacing: .1em; transition: opacity .4s ease; }
.is-ready .image-loading-label { opacity: 0; }
@keyframes card-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .filter-panel { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .sort-group { overflow-x: auto; width: 100%; padding-bottom: .4rem; }
  .related-products { grid-template-columns: 1fr 1fr; }
  .related-products .product-tile:last-child { display: none; }
  .size-guide-panel { max-height: calc(100vh - 2rem); overflow-y: auto; }
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-brand);
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 2%, rgba(240, 90, 60, 0.22), transparent 30%),
    radial-gradient(circle at 95% 35%, rgba(36, 83, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #fff8e9 0%, #ffefd2 100%);
}

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

button {
  font: inherit;
}

.announcement-bar {
  padding: 0.85rem 1.25rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  background: #3f173f;
  color: #fff7df;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 234, 0.86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-drawer {
  display: contents;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

.menu-icon,
.menu-icon::before {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-icon::before {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: rotate(-90deg);
}

.brand {
  display: inline-block;
  font-family: var(--font-wordmark);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.095em;
  transform: scaleX(1.04);
  transform-origin: left center;
}

.main-nav,
.header-actions,
.footer-links,
.category-strip,
.sort-group,
.gallery-thumbs,
.size-grid,
.cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav,
.header-actions {
  font-size: 0.92rem;
}

.main-nav a,
.header-actions span {
  opacity: 0.8;
}

.header-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.8;
}

.header-action:hover,
.header-action:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.header-action span {
  opacity: 1;
}

.market-selector select {
  max-width: 10.5rem;
  padding: 0.45rem 1.8rem 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.main-nav a.active,
.main-nav a:hover,
.category-strip a.active-link,
.category-strip button.active-link {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

main,
.site-footer {
  width: min(1320px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 4rem;
  min-height: calc(100vh - 150px);
}

.hero-copy h1,
.listing-hero h1,
.product-panel h1,
.section-heading h2,
.journal-copy h2,
.product-notes h2,
.editorial-panel h2 {
  font-family: var(--font-wordmark);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(4rem, 10vw, 7.5rem);
  max-width: 11ch;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--muted);
}

.lede,
.listing-copy,
.journal-copy p,
.product-description,
.product-notes p,
.story-ribbon p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 58ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer;
}

.button:hover,
.control-pill:hover,
.size-chip:hover,
.thumb:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #f05a3c;
  border-color: #f05a3c;
  color: #fffdf6;
}

.button.secondary,
.control-pill,
.size-chip,
.thumb {
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.text-link {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.text-link.light {
  color: #fff8ef;
}

.hero-visual {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1.25rem;
  min-height: 42rem;
}

.hero-card,
.tile-image,
.catalog-image,
.gallery-main,
.mini-image,
.journal-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-card::before,
.tile-image::before,
.catalog-image::before,
.gallery-main::before,
.mini-image::before,
.journal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(160deg, rgba(17, 12, 8, 0.08), rgba(17, 12, 8, 0.28));
}

.hero-card-tall {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, #ffb000, #f05a3c 55%, #9c1b5b);
}

.hero-card-wide {
  align-self: end;
  min-height: 60%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0)),
    linear-gradient(135deg, #0aa174, #2453ff 55%, #3f173f);
}

.card-label,
.gallery-main span {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  font-family: var(--font-wordmark);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff8ef;
}

.story-ribbon {
  margin: 0 0 4rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-ribbon p {
  margin: 0;
  font-size: 1.1rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 0 4rem;
}

.editorial-panel,
.journal-card,
.product-notes article {
  padding: 2rem;
  border-radius: var(--radius);
}

.panel-gold {
  background: linear-gradient(135deg, #ffc928, #ff8a1f);
}

.panel-cream {
  background: linear-gradient(135deg, #ff9cbf, #f05a3c);
}

.panel-ink {
  background: linear-gradient(135deg, #2453ff, #3f173f);
  color: #fff8ef;
}

.section-heading,
.journal-section,
.product-notes,
.filter-bar,
.product-layout {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading {
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-heading h2,
.journal-copy h2,
.product-notes h2,
.editorial-panel h2,
.listing-hero h1,
.product-panel h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.product-rail,
.product-grid {
  display: grid;
  gap: 1.25rem;
}

.product-rail {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 4.5rem;
}

.product-tile,
.catalog-card {
  display: block;
}

.tile-image,
.catalog-image {
  min-height: 25rem;
  margin-bottom: 1rem;
}

.tile-name,
.catalog-name {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.tile-meta,
.catalog-meta,
.product-subtitle,
.detail-list dd,
.mini-product span {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.tile-price,
.catalog-price,
.product-price {
  margin: 0;
  font-weight: 700;
}

.journal-section {
  align-items: stretch;
  padding: 0 0 5rem;
}

.journal-copy {
  max-width: 34rem;
}

.journal-stack {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.journal-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff8ef;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #db2777, #f05a3c);
}

.journal-card.alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #087f5b, #2453ff);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 0.5rem;
}

.listing-page {
  padding: 2.5rem 0 4rem;
}

.listing-hero {
  margin-bottom: 2rem;
}

.listing-hero h1 {
  margin-bottom: 0.75rem;
}

.category-strip {
  flex-wrap: wrap;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.filter-bar {
  align-items: center;
  flex-wrap: wrap;
  padding: 1.4rem 0 1.75rem;
}

.control-pill,
.size-chip,
.thumb {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0 1rem;
  cursor: pointer;
}

.control-pill.is-active,
.size-chip.is-selected,
.thumb.is-selected {
  background: var(--ink);
  color: #f5efe8;
  border-color: var(--ink);
}

.sort-group {
  flex-wrap: wrap;
}

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

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

.catalog-image.tall {
  min-height: 31rem;
}

.product-page {
  padding: 2rem 0 4rem;
}

.product-layout {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
}

.product-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
}

.gallery-main {
  min-height: 0;
  aspect-ratio: 4 / 5;
  grid-column: 2;
  grid-row: 1;
}

.gallery-thumbs {
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  align-items: stretch;
}

.thumb {
  width: 4rem;
  min-height: 5rem;
  padding: 0;
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.72rem;
  overflow: hidden;
}

.product-panel {
  min-width: 0;
  position: sticky;
  top: 7rem;
  padding: 1rem 0;
}

.product-panel h1 {
  margin-bottom: 0.5rem;
  max-width: 10ch;
}

.product-price {
  margin: 1rem 0 1.5rem;
  font-size: 1.25rem;
}

.size-block,
.detail-list {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

.size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.detail-list {
  margin-bottom: 0;
}

.detail-list div {
  margin-bottom: 1rem;
}

.detail-list dt {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-notes {
  margin-top: 3rem;
}

.product-notes article {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
}

.mini-product {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.mini-image {
  width: 6rem;
  min-width: 6rem;
  height: 7.5rem;
}

[hidden] {
  display: none !important;
}

.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;
}

.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(23, 18, 15, 0.42);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.search-panel,
.bag-panel {
  position: relative;
  z-index: 1;
  background: var(--paper);
  box-shadow: -1.5rem 0 4rem rgba(23, 18, 15, 0.16);
}

.search-panel {
  width: min(100%, 46rem);
  min-height: 100%;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.bag-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 30rem);
  min-height: 100%;
  padding: 2rem;
}

.overlay-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.overlay-heading h2 {
  margin: 0;
  font-family: var(--font-wordmark);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.close-button {
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.search-field {
  display: block;
  margin: 2rem 0 1rem;
}

.search-field input {
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.search-field input::placeholder {
  color: var(--muted);
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.search-result span:first-child {
  display: grid;
  gap: 0.25rem;
}

.search-result small,
.search-hint {
  color: var(--muted);
}

.search-hint {
  margin-top: 1.5rem;
}

.bag-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.empty-bag {
  display: grid;
  gap: 1.5rem;
  padding-top: 1rem;
}

.bag-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.bag-item-image {
  min-height: 6.5rem;
  border-radius: 0.75rem;
}

.bag-item-copy {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.bag-item-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.bag-item-copy button {
  justify-self: start;
  padding: 0.3rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.bag-summary {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.bag-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
}

.bag-summary p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 120;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0.75rem 2rem rgba(23, 18, 15, 0.2);
}

body.overlay-open {
  overflow: hidden;
}

.tone-clay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, #ff9f1c, #f05a3c 58%, #9c1b5b);
}

.tone-oasis {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, #28d17c, #087f5b 58%, #064b43);
}

.tone-sage {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, #6aa5ff, #2453ff 58%, #24208f);
}

.tone-night {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #2453ff, #13213c 58%, #090d20);
}

.tone-rose {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, #ff8fbe, #db2777 58%, #7d174b);
}

.tone-shell {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0)),
    linear-gradient(135deg, #ffd447, #ff9f1c 58%, #e84d0e);
}

.tone-gold {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, #ffe45c, #f4b400 55%, #e26000);
}

.tone-ink {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #8a397f, #3f173f 58%, #190d2b);
}

@media (max-width: 1100px) {
  .hero-grid,
  .product-layout,
  .journal-section,
  .product-notes {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .hero-visual {
    min-height: 32rem;
  }

  .product-panel {
    position: static;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
    gap: 1.5rem;
  }

  .gallery-thumbs {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .site-footer,
  .section-heading,
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    min-height: 4.25rem;
    padding: 0.9rem 1rem;
  }

  .brand {
    font-size: 1.85rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-drawer {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem 2.5rem;
    background: rgba(247, 242, 234, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1.5rem 3rem rgba(23, 18, 15, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .header-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav,
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-wordmark);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.035em;
  }

  .header-actions {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-action {
    font-size: 1rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  main,
  .site-footer {
    width: min(100% - 1.5rem, 1320px);
  }

  .hero-grid {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-visual,
  .editorial-grid,
  .product-rail,
  .product-grid,
  .product-grid.three-up,
  .journal-stack {
    grid-template-columns: 1fr;
  }

  .tile-image,
  .catalog-image,
  .catalog-image.tall,
  .gallery-main {
    min-height: 22rem;
  }

  .category-strip,
  .sort-group,
  .gallery-thumbs,
  .size-grid {
    gap: 0.65rem;
  }

  .product-page {
    width: 100%;
    padding: 0 0 3rem;
  }

  .cta-row {
    flex-wrap: wrap;
  }

  .cta-row .button {
    flex: 1 1 auto;
    min-width: 10rem;
  }

  .product-panel {
    width: 100%;
    padding: 2rem 1rem 0;
  }

  .product-layout {
    display: flex;
    gap: 0;
  }

  .product-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .gallery-main {
    order: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  .gallery-thumbs {
    order: 2;
    flex-flow: row nowrap;
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .thumb {
    width: 3.6rem;
    min-width: 3.6rem;
    min-height: 4.5rem;
  }

  .product-panel h1,
  .product-notes h2 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .product-description,
  .detail-list dd,
  .product-notes p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .gallery-thumbs,
  .size-grid {
    flex-wrap: wrap;
  }

  .thumb,
  .size-chip {
    flex: 0 0 auto;
  }

  .product-notes article {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .product-notes {
    margin-top: 2rem;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .mini-product {
    align-items: flex-start;
  }

  .search-panel,
  .bag-panel {
    width: 100%;
    padding: 1.25rem 1rem;
  }

  .overlay-heading {
    padding-bottom: 1rem;
  }

  .cart-toast {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .announcement-bar {
    padding: 0.65rem 0.75rem;
    letter-spacing: 0.1em;
    font-size: 0.62rem;
  }

  .product-panel h1,
  .product-notes h2 {
    font-size: clamp(2.4rem, 12vw, 3.15rem);
  }

  .size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .size-chip {
    width: 100%;
    padding: 0;
  }

  .cta-stack .button {
    min-height: 3.5rem;
  }
}
