/* ==========================================================================
   Sable & Stone — storefront
   Typography: Fraunces (display) + Manrope (body), both self-hosted.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17140f;
  --paper: #f4efe5;
  --surface: #fbf8f2;
  --accent: #be5b37;
  --olive: #6d7257;
  --clay: #d9a47f;
  --muted: #72695d;
  --line: #dfd6c7;
  --danger: #a33222;
  --white: #fffdf8;

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --container: 1280px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 24px 60px -38px rgba(31, 23, 14, 0.55);
  --shadow-card: 0 40px 70px -48px rgba(31, 23, 14, 0.55);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Fine paper grain, painted once by the compositor. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

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

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

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

button {
  cursor: pointer;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-rule {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.eyebrow-light {
  color: rgba(244, 239, 229, 0.55);
}

em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 340;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 239, 229, 0.74);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 239, 229, 0.94);
  border-color: var(--line);
  box-shadow: 0 12px 30px -30px rgba(23, 20, 15, 0.45);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark-slot {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand-logo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-image[hidden],
.footer-wordmark-text[hidden],
.footer-logo-image[hidden] {
  display: none;
}

.brand-text {
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: auto;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(23, 20, 15, 0.68);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}
.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.cod-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cod-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 3px rgba(109, 114, 87, 0.14);
}
.language-switch {
  display: grid;
  place-items: center;
  width: 40px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.language-switch:hover {
  transform: translateY(-1px);
  border-color: var(--muted);
  background: var(--paper);
}
.language-flag {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.header-shop {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.header-shop svg {
  width: 17px;
  height: 17px;
}
.header-shop:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 122px);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 91, 55, 0.13), rgba(217, 164, 127, 0.05) 45%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.8vw, 6.15rem);
  font-weight: 360;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-copy h1 em {
  color: var(--accent);
  font-weight: 330;
}

.hero-lead {
  max-width: 470px;
  margin: 28px 0 0;
  color: rgba(23, 20, 15, 0.66);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.button:hover svg {
  transform: translateX(4px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 34px -24px rgba(23, 20, 15, 0.9);
}
.button-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 22px 38px -24px rgba(190, 91, 55, 0.85);
}

.button-outline {
  border-color: rgba(23, 20, 15, 0.32);
  color: var(--ink);
  background: transparent;
}
.button-outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.button-block {
  width: 100%;
}

.button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.text-link {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding-bottom: 4px;
}
.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.text-link:hover::after {
  opacity: 1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 20, 15, 0.52);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--olive);
}

.hero-visual {
  position: relative;
  width: min(100%, 570px);
  margin-left: auto;
  padding: 0 12px 26px 24px;
}

.hero-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 660px;
  border-radius: 300px 300px 24px 24px;
  overflow: hidden;
  background: #e5d9c7;
  box-shadow: var(--shadow-soft);
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.4s var(--ease);
}
.hero-arch:hover img {
  transform: scale(1.035);
}

.hero-arch-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 20, 15, 0.18));
  pointer-events: none;
}

.hero-issue {
  position: absolute;
  right: 18px;
  top: 47%;
  writing-mode: vertical-rl;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.72);
}

.hero-mini {
  position: absolute;
  left: -14px;
  bottom: 46px;
  width: 124px;
  margin: 0;
  padding: 8px 8px 9px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 24px 50px -30px rgba(23, 20, 15, 0.7);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.hero-mini:hover {
  transform: rotate(-1deg) translateY(-4px);
}
.hero-mini img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}
.hero-mini figcaption {
  padding: 7px 3px 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-note {
  position: absolute;
  right: -18px;
  top: 12%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: rgba(251, 248, 242, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -30px rgba(23, 20, 15, 0.6);
  font-size: 10px;
  line-height: 1.35;
}
.hero-note strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
.hero-note small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-note-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(190, 91, 55, 0.1);
  color: var(--accent);
}
.hero-note-icon svg {
  width: 20px;
  height: 20px;
}

.hero-stamp {
  position: absolute;
  right: 4px;
  bottom: -14px;
  width: 134px;
  height: 134px;
  color: rgba(23, 20, 15, 0.58);
  animation: spin 34s linear infinite;
}
.hero-stamp svg {
  width: 100%;
  height: 100%;
}
.hero-stamp text {
  fill: currentColor;
  font-family: var(--body);
  font-size: 10.2px;
  font-weight: 700;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 0;
  transform: rotate(-0.6deg) scale(1.01);
  margin: 0 -6px;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 30px;
  animation: ticker 38s linear infinite;
}

.ticker-track span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-star {
  color: var(--clay);
  font-size: 12px !important;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Collection
   -------------------------------------------------------------------------- */
.collection {
  padding: clamp(76px, 9vw, 126px) 0 clamp(60px, 8vw, 100px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.section-head h2 em {
  color: var(--accent);
}

.section-aside {
  width: 300px;
  flex-shrink: 0;
  padding-bottom: 8px;
}
.section-aside p {
  margin: 0 0 20px;
  color: rgba(23, 20, 15, 0.6);
  font-size: 0.87rem;
  line-height: 1.7;
}

.section-count {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: #cfc3b1;
  box-shadow: var(--shadow-card);
}

.card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: #e9e0d2;
  overflow: hidden;
  text-align: left;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.4s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.035);
}

.product-card.is-sold-out .card-media img {
  filter: grayscale(0.65) contrast(0.95);
  opacity: 0.78;
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(8px);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.badge-out {
  background: var(--ink);
  color: var(--paper);
}
.badge-low {
  background: rgba(217, 164, 127, 0.92);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 15px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 430;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card-title button,
.card-title a {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
}
.card-title button:hover,
.card-title a:hover {
  color: var(--accent);
}

.card-price {
  flex-shrink: 0;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-top: 3px;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
}

.swatch {
  position: relative;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--swatch, var(--line));
  box-shadow: inset 0 0 0 1px rgba(23, 20, 15, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swatch:not(:disabled):hover {
  transform: scale(1.14);
}

.swatch.is-selected {
  box-shadow: inset 0 0 0 1px rgba(23, 20, 15, 0.16), 0 0 0 2px var(--surface),
    0 0 0 3.5px var(--ink);
}

.swatch:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}
.swatch:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -3px;
  right: -3px;
  height: 1px;
  background: rgba(23, 20, 15, 0.55);
  transform: rotate(-45deg);
}

.swatch-more {
  font-size: 9px;
  color: var(--muted);
  margin-left: 2px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(223, 214, 199, 0.75);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(23, 20, 15, 0.48);
}

.card-foot button,
.card-foot a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink);
}
.card-foot svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.product-card:hover .card-foot svg {
  transform: translateX(4px);
}

.collection-foot {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.collection-foot p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.inline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Skeletons ---------------------------------------------------------------- */
.skeleton-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.skeleton-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(110deg, #e9e0d2 8%, #f0e8da 18%, #e9e0d2 33%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}
.skeleton-body {
  padding: 20px 18px 22px;
}
.skeleton-line {
  height: 10px;
  margin-bottom: 11px;
  border-radius: 6px;
  background: #ede5d7;
}
.skeleton-line.short {
  width: 42%;
}
.skeleton-line.tiny {
  width: 26%;
  height: 8px;
}

@keyframes shimmer {
  to {
    background-position-x: -220%;
  }
}

/* Empty state -------------------------------------------------------------- */
.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: rgba(251, 248, 242, 0.5);
  text-align: center;
}
.empty-state svg {
  width: 90px;
  height: 90px;
  margin-bottom: 18px;
  color: var(--clay);
}
.empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
}
.empty-state p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Promise
   -------------------------------------------------------------------------- */
.promise {
  position: relative;
  width: min(calc(100% - 32px), 1400px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 84px) clamp(48px, 7vw, 86px);
  border-radius: clamp(24px, 3.5vw, 44px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.promise-glow {
  position: absolute;
  right: -15%;
  top: -40%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 91, 55, 0.23), transparent 65%);
  pointer-events: none;
}

.promise-head {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.promise-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.promise-head h2 em {
  color: var(--clay);
}
.promise-lead {
  max-width: 480px;
  margin: 24px 0 0;
  color: rgba(244, 239, 229, 0.58);
  font-size: 0.92rem;
  line-height: 1.75;
}

.promise-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: promise;
}

.promise-list li {
  position: relative;
  padding-top: 25px;
  border-top: 1px solid rgba(244, 239, 229, 0.2);
}

.promise-number {
  display: block;
  margin-bottom: 26px;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--clay);
  letter-spacing: 0.05em;
}

.promise-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
}
.promise-icon svg {
  width: 30px;
  height: 30px;
}

.promise-list h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.promise-list p {
  margin: 0;
  color: rgba(244, 239, 229, 0.55);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Closing + footer
   -------------------------------------------------------------------------- */
.closing {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 10% 20%;
  background: radial-gradient(ellipse, rgba(217, 164, 127, 0.2), transparent 68%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.closing h2 em {
  color: var(--accent);
}
.closing p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 30px;
  color: rgba(23, 20, 15, 0.6);
  font-size: 0.92rem;
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(44px, 6vw, 70px) 0 26px;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 260px;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.footer-cols h3 {
  margin: 0 0 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-cols a,
.footer-cols span {
  display: block;
  margin-bottom: 9px;
  color: rgba(23, 20, 15, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.footer-cols a:hover {
  color: var(--accent);
}

.footer-wordmark {
  font-family: var(--display);
  font-size: clamp(4.2rem, 15.5vw, 15rem);
  font-weight: 340;
  line-height: 0.8;
  letter-spacing: -0.065em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 20, 15, 0.22);
  user-select: none;
  margin: 8px 0 26px;
  white-space: nowrap;
}

.footer-wordmark.has-logo {
  color: initial;
  -webkit-text-stroke: 0;
  line-height: 1.1;
  letter-spacing: normal;
}

.footer-logo-image {
  width: auto;
  height: auto;
  max-width: min(100%, 900px);
  max-height: clamp(76px, 11vw, 160px);
  margin: 0 auto;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 20, 15, 0.13);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Overlays, dialog, drawer
   -------------------------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 16, 12, 0.56);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.overlay.is-open {
  opacity: 1;
}

body.is-locked {
  overflow: hidden;
}

.dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(90dvh, 900px);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 50px 120px -40px rgba(15, 11, 8, 0.8);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.45s var(--ease), opacity 0.35s ease;
  overflow: hidden;
}
.content-page-overlay { overflow-y: auto; }
.content-page-dialog {
  width: min(720px, 100%);
  padding: clamp(26px, 5vw, 52px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.content-page-dialog h2 {
  margin: 0 40px 18px 0;
  font: 450 clamp(30px, 5vw, 48px)/1.08 var(--display);
}
.content-page-close { position: absolute; top: 18px; right: 18px; font-size: 25px; }
.content-page-body { max-height: 60dvh; overflow-y: auto; white-space: pre-wrap; color: var(--muted); line-height: 1.9; }
.content-page-body[data-font-family='serif'] { font-family: var(--display), serif; font-size: 1.08em; }
.content-page-body[data-font-family='sans'] { font-family: var(--body), sans-serif; }
.custom-page-links { display: grid; gap: 6px; }
.custom-page-links a { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 0.78rem; line-height: 1.4; text-decoration: none; }
.custom-page-links a:hover { border-color: var(--accent); color: var(--accent); }
.policy-page { min-height: 48vh; padding: 28px 0 80px; }
.policy-page-inner { max-width: 860px; }
.policy-page-card { margin-top: 28px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.policy-page-card h1 { margin: 4px 0 22px; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 450; line-height: 1.1; }
.policy-page .content-page-body { max-height: none; overflow: visible; color: var(--ink); font-size: 1rem; }
.policy-section + .policy-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy-section h2 { margin: 0 0 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.policy-section p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.85; white-space: pre-line; }
.overlay.is-open .dialog {
  opacity: 1;
  transform: none;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.9);
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.icon-button:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(4deg);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
}

.dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  max-height: min(90dvh, 900px);
}
.product-overlay .product-dialog {
  display: flex;
  height: min(90dvh, 900px);
  flex-direction: column;
  overflow: hidden;
}
.product-overlay .dialog-grid {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 18px;
  background: #eee5d6;
}

.gallery-main {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e3d7c5;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.gallery-thumbs button {
  width: 58px;
  height: 68px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  overflow: hidden;
  background: #e3d7c5;
  opacity: 0.66;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs button:hover {
  opacity: 0.9;
}
.gallery-thumbs button.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.product-panel {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.product-panel-scroll {
  padding: clamp(28px, 4vw, 46px) clamp(24px, 3.5vw, 42px) 32px;
}

.product-panel .eyebrow {
  margin-bottom: 12px;
  font-size: 9px;
}

.product-panel h1,
.product-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 380;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.product-price {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.product-desc {
  margin: 18px 0 0;
  white-space: pre-line;
  color: rgba(23, 20, 15, 0.62);
  font-size: 0.87rem;
  line-height: 1.75;
}

.option-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.option-value {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
}

.swatch-row-large {
  gap: 11px;
  margin-top: 0;
}
.swatch-row-large .swatch {
  width: 30px;
  height: 30px;
}

.stock-hint {
  min-height: 16px;
  margin: 11px 0 0;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

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

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.qty-stepper button {
  width: 40px;
  border: 0;
  background: transparent;
  font-size: 16px;
  transition: background 0.2s ease;
}
.qty-stepper button:hover:not(:disabled) {
  background: rgba(23, 20, 15, 0.06);
}
.qty-stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-stepper input {
  width: 46px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-stepper input:focus {
  outline: none;
}

.qty-note {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.total-line span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.total-line strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 420;
  letter-spacing: -0.02em;
}

.product-panel .button {
  margin-top: 18px;
}

.cod-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cod-note svg {
  width: 16px;
  height: 16px;
  color: var(--olive);
}

/* Order drawer ------------------------------------------------------------- */
.drawer-overlay {
  padding: 0;
  place-items: stretch;
  justify-items: end;
}

.drawer {
  display: flex;
  flex-direction: column;
  width: min(500px, 100%);
  height: 100dvh;
  background: var(--surface);
  border-radius: 24px 0 0 24px;
  box-shadow: -40px 0 100px -60px rgba(15, 11, 8, 0.8);
  transform: translateX(102%);
  transition: transform 0.48s var(--ease);
  outline: none;
}
.drawer-overlay.is-open .drawer {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-head .eyebrow {
  margin-bottom: 8px;
  font-size: 8.5px;
}
.drawer-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 380;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 34px;
}

.order-summary {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f2ebde;
}

.order-summary img {
  width: 76px;
  height: 94px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.order-summary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.order-summary h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 430;
  letter-spacing: -0.02em;
}
.order-variant {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--muted);
}
.swatch-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 15, 0.16);
}
.order-summary-total {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-alert {
  margin: 16px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(163, 50, 34, 0.28);
  border-radius: 10px;
  background: rgba(163, 50, 34, 0.07);
  color: var(--danger);
  font-size: 12px;
  line-height: 1.5;
}

#order-form {
  padding-top: 18px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  font-family: var(--body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-entry {
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-entry:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(190, 91, 55, 0.12);
}
.phone-entry > span {
  flex: none;
  padding-left: 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.phone-entry input {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.phone-entry input:focus {
  outline: none;
  box-shadow: none;
}
.field input::placeholder {
  color: #a79c8c;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(190, 91, 55, 0.12);
}

.field.has-error input {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(163, 50, 34, 0.1);
}

.field-hint {
  margin: 5px 0 0;
  font-size: 10px;
  color: #94897a;
}

.field-error {
  min-height: 14px;
  margin: 4px 0 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--danger);
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 16px;
  padding: 15px 17px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--paper);
}
.order-total span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.65);
}
.order-total small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: rgba(244, 239, 229, 0.38);
}
.order-total strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  white-space: nowrap;
}

.order-legal {
  max-width: 340px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 9px;
  line-height: 1.6;
  color: #94897a;
}

/* Confirmation ------------------------------------------------------------- */
.confirmation {
  padding: 16px 0 10px;
  text-align: center;
}

.confirmation-mark {
  width: 84px;
  height: 84px;
  margin: 10px auto 24px;
  color: var(--olive);
}
.confirmation-mark svg {
  width: 100%;
  height: 100%;
}
.confirmation-mark path {
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  animation: draw-check 0.7s 0.25s var(--ease) forwards;
}
@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

.confirmation .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}

.confirmation h2 {
  margin: 0 auto;
  max-width: 330px;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 360;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.confirmation-copy {
  max-width: 300px;
  margin: 14px auto 24px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.confirmation-reference {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px dashed rgba(190, 91, 55, 0.45);
  border-radius: 13px;
  background: rgba(190, 91, 55, 0.055);
}
.confirmation-reference span {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.confirmation-reference strong {
  font-family: var(--body);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.confirmation-details {
  margin: 18px 0 22px;
  text-align: left;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(223, 214, 199, 0.7);
  font-size: 11px;
}
.confirmation-row span {
  color: var(--muted);
}
.confirmation-row strong {
  font-weight: 600;
  text-align: right;
}

/* Toasts ------------------------------------------------------------------- */
.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  padding: 12px 17px;
  border: 1px solid rgba(244, 239, 229, 0.14);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 24px 50px -25px rgba(15, 11, 8, 0.7);
  font-size: 12px;
  line-height: 1.45;
  animation: toast-in 0.4s var(--ease);
}
.toast::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}
.toast.is-error::before {
  background: #e2765f;
}
.toast.is-leaving {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

.noscript {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 400;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-align: center;
}

/* Scroll reveal ------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero-copy h1 {
    font-size: clamp(3.1rem, 6.4vw, 5.2rem);
  }
  .promise-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .promise-list li {
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .site-nav {
    gap: 24px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    gap: 44px;
  }
  .hero-visual {
    padding-left: 8px;
  }
  .hero-note {
    right: 0;
  }
  .hero-mini {
    left: -4px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: 760px;
  }
  .container {
    width: min(calc(100% - 44px), var(--container));
  }
  .site-nav {
    display: none;
  }
  .header-inner {
    height: 72px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-copy h1 {
    font-size: clamp(3.4rem, 9.5vw, 5.6rem);
  }
  .hero-visual {
    width: min(100%, 520px);
    margin: 0 auto;
    padding-left: 18px;
  }
  .hero-arch {
    border-radius: 260px 260px 24px 24px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .section-aside {
    width: min(100%, 420px);
    padding-bottom: 0;
  }
  .promise {
    width: min(calc(100% - 24px), 760px);
  }
  .footer-top {
    flex-direction: column;
    gap: 34px;
  }
  .footer-brand {
    max-width: 380px;
  }
  .dialog {
    max-height: 94dvh;
    overflow-y: auto;
  }
  .dialog-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .gallery {
    max-height: 42dvh;
    padding: 14px;
    flex-direction: row;
  }
  .gallery-main {
    flex: 1;
    border-radius: 14px;
  }
  .gallery-main img {
    aspect-ratio: auto;
  }
  .gallery-thumbs {
    flex-direction: column;
    overflow-y: auto;
  }
  .gallery-thumbs button {
    width: 48px;
    height: 55px;
  }
  .product-panel {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-actions {
    gap: 8px;
  }
  .cod-pill {
    padding: 8px 11px;
    font-size: 8.5px;
  }
  .brand-text {
    font-size: 1.13rem;
  }
  .brand-mark-slot {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 4.3rem);
  }
  .hero-lead {
    font-size: 0.95rem;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-meta {
    gap: 12px 18px;
    margin-top: 32px;
  }
  .hero-visual {
    width: 100%;
    padding: 0 0 22px 10px;
  }
  .hero-mini {
    width: 100px;
    left: -4px;
    bottom: 32px;
  }
  .hero-note {
    top: 8%;
    right: 0;
    padding: 9px 12px 9px 9px;
  }
  .hero-note strong {
    font-size: 10px;
  }
  .hero-stamp {
    width: 104px;
    height: 104px;
    right: 0;
    bottom: -12px;
  }
  .product-grid {
    gap: 18px;
  }
  .card-body {
    padding: 15px 14px 13px;
  }
  .card-title {
    font-size: 1.15rem;
  }
  .card-price {
    font-size: 0.8rem;
  }
  .section-head h2 {
    font-size: 2.6rem;
  }
  .promise {
    width: calc(100% - 16px);
    border-radius: 26px;
    padding: 52px 24px 44px;
  }
  .promise-list {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .promise-number {
    margin-bottom: 16px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-wordmark {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }
  .footer-logo-image {
    max-height: 110px;
  }
  .overlay:not(.drawer-overlay) {
    padding: 0;
  }
  .product-overlay .dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .dialog-grid {
    min-height: 100%;
  }
  .gallery {
    max-height: 38dvh;
  }
  .product-panel-scroll {
    padding: 26px 22px 36px;
  }
  .drawer {
    border-radius: 0;
  }
  .drawer-head {
    padding: 20px 20px 16px;
  }
  .drawer-body {
    padding: 18px 20px 30px;
  }
  .toast-region {
    left: 16px;
    right: 16px;
    bottom: 16px;
    align-items: stretch;
  }
  .toast {
    max-width: none;
  }
}

html[dir='rtl'] body { font-family: Tahoma, Arial, sans-serif; text-align: right; }
html[dir='rtl'] .site-nav { margin-right: auto; margin-left: auto; }
html[dir='rtl'] .hero-grid, html[dir='rtl'] .section-head, html[dir='rtl'] .footer-top { direction: rtl; }
html[dir='rtl'] .header-shop svg { transform: rotate(180deg); }
html[dir='rtl'] .drawer-overlay { justify-items: start; }
html[dir='rtl'] .drawer { border-radius: 0 24px 24px 0; transform: translateX(-102%); }
html[dir='rtl'] .drawer-overlay.is-open .drawer { transform: none; }
html[dir='rtl'] .content-page-dialog h2 { margin-right: 0; margin-left: 40px; }
html[dir='rtl'] .content-page-close { right: auto; left: 18px; }
html[dir='rtl'] .phone-entry > span { padding-right: 14px; padding-left: 0; }
html[dir='rtl'] .phone-entry input { text-align: right; }
html[dir='rtl'] .promise-list, html[dir='rtl'] .footer-cols { direction: rtl; }
html, body { scrollbar-width: thin; scrollbar-color: #b5a78f transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 99px; background: #b5a78f; background-clip: padding-box; }

/* Storefront canvas customization. */
[data-site-section='hero'],
[data-site-section='collection'],
[data-site-section='promise'],
[data-site-section='closing'],
[data-site-section^='custom-'] {
  background-color: var(--site-section-bg, transparent);
}
[data-site-section='header'] { background-color: var(--site-section-bg, rgba(244, 239, 229, 0.94)); }
[data-site-section='footer'] { background-color: var(--site-section-bg, var(--surface)); }
[data-site-section='ticker'] {
  background-color: var(--site-section-bg, var(--ink));
  color: var(--site-section-color, var(--paper));
}
[data-site-section][data-site-text-custom] :is(h1, h2, h3, p, a, span, li, strong, small, figcaption) {
  color: var(--site-section-color) !important;
}
[data-site-section][data-site-font-custom] :is(h1, h2, h3, p, a, span, li, strong, small, figcaption) {
  font-family: var(--site-section-font) !important;
}
.custom-site-section {
  padding: clamp(54px, 8vw, 108px) 0;
  color: var(--site-section-color, var(--ink));
}
.custom-site-section-inner {
  max-width: 900px;
}
.custom-site-section h2 {
  margin: 0 0 16px;
  font-family: var(--site-section-font, var(--display));
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 420;
  line-height: 1.08;
}
.custom-site-section p {
  max-width: 68ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-line;
}
.site-editor-mode [data-site-copy],
.site-editor-mode [data-site-section],
.site-editor-mode [data-site-icon] {
  cursor: crosshair;
}
.site-editor-mode .site-editor-selected {
  outline: 2px dashed #c76942;
  outline-offset: 4px;
}

/* Direct product URLs render as full pages, while the same markup powers the preview dialog. */
body.is-product-page #top > [data-site-section] { display: none !important; }
body.is-product-page #product-page-mount:not([hidden]) { display: block; padding: 22px 0 64px; }
body.is-policy-page #top > [data-site-section] { display: none !important; }
body.is-policy-page #policy-page-mount:not([hidden]) { display: block; }
.product-page-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.product-page-back:hover { color: var(--ink); }
.product-dialog.is-page {
  display: block;
  position: relative;
  width: min(100%, 1120px);
  height: auto;
  max-height: none;
  margin: 0 auto;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  opacity: 1;
  transform: none;
}
.product-dialog.is-page .dialog-close { display: none; }
.product-dialog.is-page .dialog-grid {
  height: auto;
  min-height: min(70vh, 720px);
  max-height: none;
  overflow: hidden;
  border-radius: inherit;
}
.product-dialog.is-page .gallery { min-height: 520px; }
.product-dialog.is-page .product-panel { overflow: visible; }
.product-route-error {
  max-width: 640px;
  margin: 10vh auto;
  padding: 56px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
}
.product-route-error h1 { margin: 0; font-family: var(--display); font-size: 2.5rem; }
.product-route-error p { color: var(--muted); }

/* Keep the customer product details scrollable at every viewport size. */
@media (max-width: 860px) {
  .product-overlay .product-dialog {
    height: min(94dvh, 900px);
    max-height: 94dvh;
    overflow: hidden;
  }
  .product-dialog.is-page { width: min(calc(100% - 28px), 700px); }
  .product-dialog.is-page .dialog-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(300px, 56vh) minmax(0, auto);
    min-height: 0;
  }
  .product-dialog.is-page .gallery { min-height: 0; height: 56vh; }
  .product-dialog.is-page .product-panel { min-height: 0; }
  .product-overlay .dialog-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(180px, 38dvh) minmax(0, 1fr);
    height: 100%;
    min-height: 0;
  }
  .product-overlay .gallery {
    min-height: 0;
    max-height: none;
  }
  .product-overlay .product-panel {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 560px) {
  .product-overlay .product-dialog {
    height: 100dvh;
    max-height: 100dvh;
  }
  .product-overlay .dialog-grid {
    grid-template-rows: minmax(170px, 35dvh) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .card-media {
    aspect-ratio: 5 / 4;
  }
  .hero-copy h1 {
    font-size: clamp(2.9rem, 14vw, 3.8rem);
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .text-link {
    margin-left: 2px;
  }
  .section-aside {
    width: 100%;
  }
  .closing h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 390px) {
  .cod-pill {
    font-size: 0;
    gap: 0;
    padding: 9px;
  }
  .cod-pill .dot {
    width: 7px;
    height: 7px;
  }
  .brand-text {
    font-size: 1.04rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
