/* ==========================================================================
   GentleFur storefront theme
   Layered on top of Bootstrap 5 (MIT) — Bootstrap supplies the reset, grid and
   utilities; every component below is written for this theme.
   ========================================================================== */

:root {
  --ink: #241f1c;
  --ink-soft: #4a423c;
  --muted: #7c7268;
  --cream: #fbf6f0;
  --paper: #ffffff;
  --tint: #f4ece3;
  --line: #e8ded3;
  --line-strong: #d9ccbd;
  --accent: #c9553f;
  --accent-ink: #94402f;
  --accent-soft: #fbeae4;
  --sage: #6c8168;
  --sage-soft: #eef2ec;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(36, 31, 28, 0.05), 0 6px 16px -12px rgba(36, 31, 28, 0.28);
  --shadow: 0 2px 6px rgba(36, 31, 28, 0.04), 0 22px 44px -30px rgba(36, 31, 28, 0.35);
  --shadow-lg: 0 30px 70px -40px rgba(36, 31, 28, 0.5);
  --container: 1200px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; margin: 0 0 0.4em; }
h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
s { color: var(--muted); }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: #f5d3c8; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.7em;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.94rem; font-weight: 600;
  padding: 0.72rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap; text-decoration: none; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: #3b322d; border-color: #3b322d; color: #fff; box-shadow: 0 10px 22px -14px rgba(36, 31, 28, 0.9); }
.btn-dark { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-dark:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn svg { flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow__back { font-size: 1rem; }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600;
  color: var(--accent-ink); cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------- announcement */
.announce { background: var(--ink); color: #f2ece3; font-size: 0.8rem; letter-spacing: 0.02em; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 38px; text-align: center; flex-wrap: wrap; }
.announce__sep { opacity: 0.45; }
.announce__status { color: #f0b39f; }
.announce__status::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px;
  border-radius: 50%; background: #f0b39f; vertical-align: middle;
}

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 246, 240, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); flex: none; }
.brand__mark { display: inline-flex; color: var(--accent); }
.brand__text { font-family: var(--serif); font-size: 1.42rem; font-weight: 700; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }

.main-nav { margin-left: 0.5rem; }
.main-nav__list { display: flex; align-items: center; gap: 0.3rem; }
.main-nav__list .nav-link {
  display: block; padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.93rem; font-weight: 600; color: var(--ink-soft);
  transition: background-color 0.16s ease, color 0.16s ease;
}
.main-nav__list .nav-link:hover { background: #fff; color: var(--ink); }
.main-nav__list .nav-link.is-active { color: var(--accent-ink); }
.main-nav__list .nav-link.is-active::after {
  content: ""; display: block; height: 2px; margin: 3px auto 0; width: 16px;
  background: var(--accent); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.icon-btn:hover { background: #fff; color: var(--ink); border-color: var(--line); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 600;
  transition: background-color 0.16s ease, transform 0.15s ease;
}
.cart-btn:hover { background: #3b322d; color: #fff; transform: translateY(-1px); }
.cart-btn__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
}
.cart-btn__count.is-empty { background: rgba(255, 255, 255, 0.22); }
.cart-btn__count.is-bump { animation: bump 0.42s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 42px; height: 42px; padding: 0 10px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.menu-btn span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }

.cat-nav { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; padding: 0 0 12px; margin-top: -2px; }
.cat-nav__item {
  font-size: 0.83rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.28rem 0.72rem; border-radius: 999px; border: 1px solid transparent;
}
.cat-nav__item:hover { background: #fff; border-color: var(--line); color: var(--ink); }
.cat-nav__item--accent { color: var(--accent-ink); }

.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.search-form { display: flex; gap: 0.6rem; }
.search-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 1.1rem; font-size: 0.95rem; background: var(--cream);
}
.search-form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.search-hint { font-size: 0.78rem; color: var(--muted); margin: 0.6rem 0 0; }
.search-hint a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

.mobile-menu {
  position: fixed; inset: 0 auto 0 0; width: min(88vw, 360px); z-index: 120;
  background: var(--cream); border-right: 1px solid var(--line);
  padding: 18px 22px 40px; overflow-y: auto;
  box-shadow: 24px 0 60px -40px rgba(36, 31, 28, 0.6);
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-menu__list li a {
  display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink);
}
.mobile-menu__sep {
  margin-top: 1.2rem; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.menu-scrim, .drawer-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(36, 31, 28, 0.38); }
.drawer-scrim { z-index: 115; }

/* --------------------------------------------------------------- cart drawer */
.cart-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(92vw, 420px); z-index: 120;
  background: var(--paper); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -50px rgba(36, 31, 28, 0.7);
}
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line);
}
.cart-drawer__title { font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.cart-drawer__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 0.74rem;
  font-family: var(--sans); font-weight: 700;
}
.cart-drawer__ship { padding: 0.9rem 1.3rem 0; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 0.6rem 1.3rem; display: grid; gap: 0.9rem; align-content: start; }
.drawer-line { display: flex; gap: 0.75rem; align-items: flex-start; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.drawer-line img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--tint); flex: none; }
.drawer-line__body { flex: 1; min-width: 0; }
.drawer-line__name { display: block; font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.drawer-line__var { display: block; font-size: 0.76rem; color: var(--muted); margin-bottom: 0.35rem; }
.drawer-line__controls { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.drawer-line__price { font-weight: 700; font-size: 0.86rem; }
.drawer-line__remove {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font-size: 0.8rem; padding: 2px 4px; border-radius: 6px; flex: none;
}
.drawer-line__remove:hover { color: var(--accent); background: var(--accent-soft); }
.cart-drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 0.4rem; padding: 2rem; text-align: center; }
.cart-drawer__empty-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--muted); margin-bottom: 0.5rem;
}
.cart-drawer__empty-title { font-family: var(--serif); font-size: 1.15rem; margin: 0; }
.cart-drawer__empty-text { color: var(--muted); font-size: 0.86rem; margin: 0 0 1rem; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 1.1rem 1.3rem 1.3rem; display: grid; gap: 0.6rem; background: var(--cream); }
.cart-drawer__totals { margin: 0 0 0.2rem; display: grid; gap: 0.3rem; font-size: 0.9rem; }
.cart-drawer__totals > div { display: flex; align-items: baseline; justify-content: space-between; }
.cart-drawer__totals dt { color: var(--muted); font-weight: 400; }
.cart-drawer__totals dd { margin: 0; font-weight: 700; }
.cart-drawer__totals-note { font-size: 0.78rem; }
.cart-drawer__totals-note dt, .cart-drawer__totals-note dd { color: var(--muted) !important; font-weight: 400 !important; }
.cart-drawer__paused {
  display: flex; gap: 0.4rem; align-items: flex-start; margin: 0.2rem 0 0;
  font-size: 0.76rem; color: var(--accent-ink); line-height: 1.4;
}
.cart-drawer__paused svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* ------------------------------------------------------------- free shipping */
.ship-meter { margin: 0 0 1.4rem; }
.ship-meter__bar {
  height: 8px; border-radius: 999px; background: var(--tint);
  overflow: hidden; border: 1px solid var(--line);
}
.ship-meter__bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #e08a6a);
  transition: width 0.4s ease;
}
.ship-meter__text { font-size: 0.82rem; color: var(--ink-soft); margin: 0.45rem 0 0; }
.ship-meter__text strong { color: var(--accent-ink); }
.ship-meter.is-done .ship-meter__bar span { background: linear-gradient(90deg, var(--sage), #8aa982); }
.ship-meter.is-done .ship-meter__text { color: var(--sage); }
.cart-drawer__ship .ship-meter__text { font-size: 0.76rem; }

/* --------------------------------------------------------------------- hero */
.hero { padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(2rem, 4vw, 3rem); position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__copy h1 { margin-bottom: 0.42em; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0 1.8rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; color: var(--ink-soft); }
.hero__points svg { color: var(--sage); width: 18px; height: 18px; }
.hero__art { position: relative; }
.hero__art img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--tint); }
.hero__float {
  position: absolute; display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.5rem 0.95rem; box-shadow: var(--shadow-sm);
  font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  backdrop-filter: blur(6px);
}
.hero__float--rating { left: -14px; bottom: 26px; }
.hero__float--rating span:last-child { color: var(--muted); font-weight: 500; }
.hero__float--tag { right: -10px; top: 28px; }
.hero__float-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(108, 129, 104, 0.18); }

/* -------------------------------------------------------------------- trust */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem 24px; }
.trust__item { display: flex; align-items: flex-start; gap: 0.75rem; }
.trust__item svg { color: var(--accent); flex: none; margin-top: 2px; }
.trust__item strong { display: block; font-size: 0.9rem; }
.trust__item span { font-size: 0.8rem; color: var(--muted); }

/* ----------------------------------------------------------------- sections */
.section { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.section--tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-head__title { margin-bottom: 0.3em; }
.section-head__lead { color: var(--muted); max-width: 44em; margin: 0; }

/* --------------------------------------------------------- category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cat-card__media { display: block; overflow: hidden; background: var(--tint); }
.cat-card__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { display: grid; gap: 0.15rem; padding: 0.85rem 0.95rem 1rem; }
.cat-card__label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.cat-card__blurb { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.cat-card__meta { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.74rem; font-weight: 700; color: var(--accent-ink); margin-top: 0.3rem; }
.cat-card__meta svg { width: 13px; height: 13px; }

/* ----------------------------------------------------------- product cards */
.product-grid { display: grid; gap: 1.4rem; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.product-card__media { position: relative; display: block; background: var(--tint); overflow: hidden; }
.product-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__quick {
  position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 8px);
  background: rgba(255, 255, 255, 0.96); color: var(--ink);
  font-size: 0.76rem; font-weight: 700; padding: 0.4rem 0.85rem;
  border-radius: 999px; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.product-card:hover .product-card__quick { opacity: 1; transform: translate(-50%, 0); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 999px;
  background: rgba(36, 31, 28, 0.9); color: #fff; backdrop-filter: blur(4px);
}
.product-card__badge--sale { background: var(--accent); }
.product-card__badge--new { background: var(--sage); }
.product-card__body { padding: 1rem 1.1rem 0.4rem; flex: 1; }
.product-card__cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 0.35rem; }
.product-card__title { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; line-height: 1.35; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--accent-ink); }
.product-card__meta { margin-bottom: 0.3rem; }
.product-card__blurb { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0 0.6rem; }
.product-card__price { display: flex; align-items: baseline; gap: 0.45rem; margin: 0; }
.price { font-weight: 700; font-size: 1.02rem; }
.price--was { font-size: 0.86rem; }
.product-card__foot { display: flex; gap: 0.5rem; padding: 0.75rem 1.1rem 1.1rem; }
.btn-cart {
  flex: 1; background: var(--cream); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 0.86rem; padding: 0.6rem 0.8rem; border-radius: 999px;
}
.btn-cart:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.stars { display: inline-flex; align-items: center; gap: 1px; color: #d99a2b; }
.stars svg { width: 14px; height: 14px; }
.stars__count { color: var(--muted); font-size: 0.78rem; margin-left: 4px; }

/* ------------------------------------------------------------------ promos */
.promos { padding: 0 0 clamp(2rem, 4vw, 3rem); }
.promos__inner { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.2rem; }
.promo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); display: flex; align-items: center;
}
.promo--wide { padding: 2rem; gap: 1.5rem; }
.promo--wide img { position: static; width: 42%; max-width: 280px; flex: none; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.promo__copy { position: relative; z-index: 2; flex: 1; }
.promo__copy p { color: var(--ink-soft); font-size: 0.92rem; }
.promo__price { font-weight: 700; font-size: 1.3rem; color: var(--ink) !important; margin: 0.6rem 0 1rem; font-family: var(--serif); }
.promo__price s { font-size: 0.95rem; font-weight: 400; }
.promo--slim {
  position: relative; background: linear-gradient(150deg, #f9e7e0, #f0d6cb);
  padding: 2rem; align-items: center; flex-direction: column; align-items: flex-start; justify-content: center;
}
.promo--slim .promo__copy { max-width: 100%; }
.promo__thumb {
  position: absolute; right: -18px; bottom: -22px; width: 44%; max-width: 190px;
  border-radius: var(--radius); opacity: 0.9; transform: rotate(-6deg);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------ craft */
.craft { padding: clamp(2.6rem, 5vw, 4rem) 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.craft__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.craft__item img { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1rem; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.craft__item h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.craft__item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ------------------------------------------------------------------- story */
.story { padding: clamp(2.6rem, 5vw, 4.4rem) 0; background: var(--cream); border-top: 1px solid var(--line); }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.4rem); align-items: center; }
.story__art img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story__copy p { color: var(--ink-soft); }
.stats { display: flex; gap: 2rem; margin: 1.5rem 0; flex-wrap: wrap; }
.stats--wide { gap: 2.4rem; }
.stats div dt { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.stats div dd { margin: 0.25rem 0 0; font-size: 0.84rem; color: var(--muted); }

/* ------------------------------------------------------------------ quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote, .review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 0; }
.quote__stars { display: inline-flex; gap: 1px; color: #d99a2b; margin-bottom: 0.7rem; }
.quote blockquote, .review p { font-family: var(--serif); font-size: 1.06rem; line-height: 1.55; margin: 0 0 1rem; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 0.65rem; }
.quote__avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; flex: none;
}
.quote__who { display: flex; flex-direction: column; }
.quote__who strong { color: var(--ink); font-size: 0.88rem; }
.quote__who span { color: var(--muted); font-size: 0.78rem; }
.review figcaption { font-size: 0.8rem; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

/* -------------------------------------------------------------- newsletter */
.newsletter-band { background: var(--ink); color: #f2ece3; padding: clamp(2.4rem, 4vw, 3.4rem) 0; }
.newsletter-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.newsletter-band h2 { color: #fff; margin-bottom: 0.25em; }
.newsletter-band p { color: rgba(242, 236, 227, 0.75); margin: 0; max-width: 40em; }
.newsletter-band__points { display: grid; gap: 0.5rem; margin-top: 1.2rem; }
.newsletter-band__points li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: rgba(242, 236, 227, 0.8); }
.newsletter-band__points svg { width: 18px; height: 18px; color: #f0b39f; flex: none; }
.newsletter-band__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.newsletter-band .btn-ghost { color: #f2ece3; border-color: rgba(242, 236, 227, 0.4); }
.newsletter-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }
.newsletter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.2rem; position: relative; }
.newsletter input {
  flex: 1 1 12rem; min-width: 0; padding: 0.7rem 1rem; border-radius: 999px;
  border: 1px solid rgba(242, 236, 227, 0.28); background: rgba(255, 255, 255, 0.06);
  color: #fff; font-size: 0.92rem;
}
.newsletter input::placeholder { color: rgba(242, 236, 227, 0.45); }
.newsletter input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.12); }
.newsletter .btn-primary { background: var(--accent); border-color: var(--accent); }
.newsletter .btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.newsletter__note { flex-basis: 100%; font-size: 0.8rem; color: #b9d3b2; margin: 0.4rem 0 0; }
.newsletter--band input { background: rgba(255, 255, 255, 0.1); }
.newsletter--inline { margin: 0; flex-wrap: nowrap; }
.newsletter--inline input { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.newsletter--inline input::placeholder { color: var(--muted); }
.newsletter--inline .btn-primary { background: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------------------- page head */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); padding: 1.4rem 0 0.6rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

.page-head { padding: 1rem 0 1.8rem; }
.page-head h1 { margin-bottom: 0.25em; }
.page-head__lead { color: var(--muted); max-width: 52em; }
.page-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-head__aside { color: var(--muted); font-size: 0.9rem; margin: 0.3rem 0 0; }
.page-head__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 1rem; }
.page-head__facts li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: var(--ink-soft); }
.page-head__facts svg { color: var(--sage); width: 18px; height: 18px; }

/* ------------------------------------------------------------- shop layout */
.shop-layout { display: grid; grid-template-columns: 248px 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; padding-bottom: 2rem; }
.shop-rail { position: sticky; top: 128px; display: grid; gap: 1.6rem; }
.shop-rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.shop-rail__title { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; color: var(--muted); }
.shop-rail__group { border-top: 1px solid var(--line); padding-top: 1rem; }
.shop-rail__label { font-family: var(--sans); font-size: 0.86rem; font-weight: 700; margin: 0 0 0.6rem; }
.facet-list { display: grid; gap: 0.1rem; }
.facet {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.34rem 0.4rem;
  border-radius: 8px; cursor: pointer; font-size: 0.88rem; color: var(--ink-soft);
  transition: background-color 0.14s ease, color 0.14s ease;
}
.facet:hover { background: #fff; color: var(--ink); }
.facet input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.facet__label { flex: 1; }
.facet__count { font-size: 0.76rem; color: var(--muted); }
.facet:has(input:checked) { color: var(--ink); font-weight: 600; }
.facet:has(input:checked) .facet__label::before { content: ""; }
.shop-rail__note { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.82rem; color: var(--muted); }
.shop-rail__note p { margin-bottom: 0.6rem; }
.shop-rail__note strong { color: var(--ink); }
.shop-filters-toggle {
  display: none; align-items: center; justify-content: space-between; gap: 0.5rem;
  width: 100%; padding: 0.7rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; font-weight: 700;
  font-size: 0.88rem; cursor: pointer; color: var(--ink);
}
.shop-filters-toggle > span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; }
.shop-filters-toggle__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; border-radius: 999px; font-size: 0.74rem;
  background: var(--accent-soft); color: var(--accent-ink);
}
.shop-filters-toggle__count.is-empty { background: var(--tint); color: var(--muted); }

.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line); margin-bottom: 1.6rem;
}
.shop-toolbar__left { display: grid; gap: 0.5rem; }
.results-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.active-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.active-filters:empty { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.28rem 0.7rem; font-size: 0.8rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color 0.14s ease, background-color 0.14s ease;
}
.pill:hover { border-color: var(--ink); background: var(--tint); }
.pill__x { color: var(--muted); font-size: 0.7rem; }
.sort-field { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.sort-field select, .option-group__select, .field select {
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.88rem; cursor: pointer;
}
.empty-state {
  text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); background: #fff; margin-bottom: 2rem;
}
.empty-state__title { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 0.3em; }
.shop-help {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
  margin: 3rem 0 1rem; padding: 2rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.shop-help h2 { font-size: 1.35rem; }
.shop-help p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.shop-help__list { display: grid; gap: 0.7rem; font-size: 0.88rem; color: var(--ink-soft); }
.shop-help__list li { display: flex; align-items: center; gap: 0.6rem; }
.shop-help__list svg { color: var(--sage); flex: none; }

/* ------------------------------------------------------------ product page */
.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.4rem); align-items: start; padding-bottom: 2.5rem; }
.product__gallery { position: sticky; top: 130px; }
.gallery__main { position: relative; background: var(--tint); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__caption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.28rem 0.75rem; font-size: 0.74rem;
  font-weight: 600; color: var(--ink-soft);
}
.badge-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  background: rgba(36, 31, 28, 0.9); color: #fff; padding: 0.32rem 0.7rem; border-radius: 999px;
}
.gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.7rem; }
.gallery__thumb {
  flex: 1; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--tint); cursor: pointer; opacity: 0.72;
  transition: opacity 0.16s ease, border-color 0.16s ease;
}
.gallery__thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--ink); box-shadow: var(--shadow-sm); }

.product__cat { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin: 0 0 0.5rem; }
.product__cat a { color: var(--accent); }
.product__title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0.35rem; }
.product__rating { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.product__rating-link { font-size: 0.82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.product__price { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.7rem; font-weight: 700; margin: 0 0 0.6rem; font-family: var(--serif); }
.product__price s { font-size: 1.05rem; font-weight: 400; }
.save-pill { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-ink); padding: 0.25rem 0.6rem; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.product__blurb { color: var(--ink-soft); }
.product__stock { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--in { background: #4f8a52; box-shadow: 0 0 0 3px rgba(79, 138, 82, 0.16); }
.dot--low { background: #c98936; box-shadow: 0 0 0 3px rgba(201, 137, 54, 0.16); }

.product__form { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.option-group { margin-bottom: 1rem; }
.option-group__label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.4rem; }
.option-group__select { width: 100%; padding: 0.65rem 1rem; border-radius: var(--radius-sm); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.qty-row .option-group__label { margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: #fff; }
.qty__btn { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--ink); transition: background-color 0.15s ease; }
.qty__btn:hover { background: var(--tint); }
.qty__input { width: 46px; height: 40px; border: 0; text-align: center; font-size: 0.95rem; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 30px; height: 30px; font-size: 0.95rem; }
.qty--sm .qty__input { width: 34px; height: 30px; font-size: 0.85rem; }
.product__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.product__actions .btn-primary { flex: 1; }
.product__meta { display: grid; gap: 0.75rem; margin: 1.6rem 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.product__meta li { display: flex; gap: 0.7rem; font-size: 0.86rem; color: var(--muted); }
.product__meta svg { color: var(--sage); flex: none; margin-top: 1px; }
.product__meta strong { color: var(--ink); }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.accordion-button { background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 0.92rem; padding: 1rem 0; box-shadow: none; border-radius: 0; }
.accordion-button:not(.collapsed) { background: transparent; color: var(--accent-ink); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-button::after { width: 14px; height: 14px; background-size: 14px; opacity: 0.6; }
.accordion-body { padding: 0 0 1.2rem; color: var(--ink-soft); font-size: 0.92rem; }
.spec-list { display: grid; gap: 0.45rem; }
.spec-list li { position: relative; padding-left: 1rem; }
.spec-list li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }

/* -------------------------------------------------------------------- cart */
.cart-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 2rem; align-items: start; }
.cart-empty {
  background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center; display: grid; justify-items: center; gap: 0.4rem;
}
.cart-empty__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--muted); margin-bottom: 0.6rem; }
.cart-empty p { color: var(--muted); max-width: 34em; margin: 0 auto 1rem; }
.cart-empty .empty-state__title { color: var(--ink); margin-bottom: 0.3em; }

.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table thead th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--tint); }
.cart-table tbody tr:last-child td { border-bottom: 0; }
.cart-line { display: flex; align-items: center; gap: 0.9rem; }
.cart-line img { width: 82px; height: 62px; object-fit: cover; border-radius: var(--radius-sm); background: var(--tint); }
.cart-line__name { font-weight: 700; font-size: 0.92rem; margin: 0; }
.cart-line__name a { color: var(--ink); }
.cart-line__var { font-size: 0.78rem; color: var(--muted); margin: 0; }
.cart-line__price, .cart-line__total { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.cart-line__remove { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 999px; }
.cart-line__remove:hover { color: var(--accent); background: var(--accent-soft); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; }
.cart-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); list-style: none; }
.cart-promise li { display: flex; gap: 0.6rem; font-size: 0.82rem; }
.cart-promise svg { color: var(--accent); flex: none; }
.cart-promise strong { display: block; font-size: 0.85rem; }
.cart-promise span { color: var(--muted); }

.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.cart-summary--sticky { position: sticky; top: 130px; }
.cart-summary__title { font-size: 1.2rem; margin-bottom: 1rem; }
.summary-list { display: grid; gap: 0.7rem; margin: 0 0 1.2rem; font-size: 0.9rem; }
.summary-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.summary-list dt { color: var(--muted); font-weight: 400; }
.summary-list dd { margin: 0; font-weight: 600; }
.summary-list__total { border-top: 1px solid var(--line); padding-top: 0.8rem; font-size: 1.05rem; }
.summary-list__total dt { color: var(--ink); font-weight: 700; }
.summary-list__total dd { font-size: 1.25rem; font-family: var(--serif); }
.promo-form { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-bottom: 1.1rem; }
.promo-form label { font-size: 0.8rem; font-weight: 700; display: block; margin-bottom: 0.4rem; }
.promo-form__row { display: flex; gap: 0.5rem; }
.promo-form input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.88rem; }
.promo-note { font-size: 0.78rem; margin: 0.5rem 0 0; color: var(--sage); }
.promo-note.is-error { color: var(--accent-ink); }
.summary-fine { font-size: 0.76rem; color: var(--muted); margin: 0.7rem 0 0; text-align: center; }
.summary-paused {
  display: flex; gap: 0.55rem; align-items: flex-start;
  background: #fdf3ec; border: 1px solid #f0d8c8; border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem; font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 1rem;
}
.summary-paused svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 2px; }
.summary-paused strong { color: var(--accent-ink); }
.summary-assurance { display: grid; gap: 0.4rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.summary-assurance li { display: flex; align-items: center; gap: 0.5rem; }
.summary-assurance svg { width: 16px; height: 16px; color: var(--sage); flex: none; }
.cart-summary__empty { text-align: center; padding: 1rem 0 1.2rem; font-size: 0.88rem; color: var(--muted); }

/* ---------------------------------------------------------------- checkout */
.steps { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 2rem; font-size: 0.82rem; }
.steps li { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.steps li + li::before { content: "→"; color: var(--line-strong); }
.steps li.is-done a { color: var(--sage); font-weight: 600; }
.steps li.is-active { color: var(--ink); font-weight: 700; }
.steps li.is-paused { color: var(--accent-ink); font-weight: 700; }

.checkout-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2rem; align-items: start; padding-bottom: 3rem; }
.checkout-main { display: grid; gap: 1.4rem; }
.checkout-form { display: grid; gap: 1.4rem; }
.field-group { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 1.3rem; margin: 0; }
.field-group legend { float: none; width: auto; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; padding: 0 0.5rem; margin-left: -0.5rem; margin-bottom: 0.4rem; }
.field { display: grid; gap: 0.3rem; margin-bottom: 0.8rem; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field__hint { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.62rem 0.85rem; font-size: 0.92rem; font-family: var(--sans);
  background: #fff; color: var(--ink); width: 100%;
}
.field select { border-radius: var(--radius-sm); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201, 85, 63, 0.14); }
.field input:disabled { background: #f7f2ec; color: var(--muted); cursor: not-allowed; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field-row--3 { grid-template-columns: 1fr 1fr 1fr; }

.choice {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  margin-bottom: 0.6rem; cursor: pointer; background: #fff;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.choice:has(input:checked) { border-color: var(--ink); background: #fdfaf7; }
.choice input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.choice__body { display: grid; gap: 0.1rem; flex: 1; }
.choice__title { font-size: 0.9rem; font-weight: 600; }
.choice__meta { font-size: 0.78rem; color: var(--muted); }
.choice__price { font-size: 0.88rem; font-weight: 700; }
.choice__badges { display: flex; gap: 0.3rem; }
.pay-chip { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0.15rem 0.35rem; }
.pay-chip--pp { color: #14427a; border-color: #b9cbe4; }
.card-fields { padding: 0.2rem 0 0.7rem; }
.checkout-note {
  display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem;
  color: var(--ink-soft); background: #fdf3ec; border: 1px solid #f0d8c8;
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin: 0;
}
.checkout-note svg { color: var(--accent); flex: none; margin-top: 2px; }
.mini-cart { display: grid; gap: 0.8rem; margin: 0 0 1.2rem; }
.mini-cart li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; }
.mini-cart img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; background: var(--tint); }
.mini-cart__body { flex: 1; min-width: 0; }
.mini-cart__name { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-cart__meta { color: var(--muted); font-size: 0.76rem; }
.mini-cart__price { font-weight: 600; white-space: nowrap; }
.order-success { max-width: 620px; margin: 1rem auto 4rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 3rem 2rem; }
.order-success__mark { width: 64px; height: 64px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.order-success__actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ------------------------------------------------- maintenance / paused pages */
.paused {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem); text-align: left;
  box-shadow: var(--shadow-sm);
}
.paused__icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fdf3ec; color: var(--accent); margin-bottom: 1.1rem;
}
.paused__heading { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.5rem; }
.paused__body { color: var(--ink-soft); font-size: 0.98rem; max-width: 46em; margin-bottom: 1.4rem; }
.paused__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.paused__meta { font-size: 0.82rem; color: var(--muted); margin: 0; }
.paused--compact { padding: 1.6rem; }

.paused-next { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.paused-next h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.paused-next ul { display: grid; gap: 1rem; }
.paused-next li { display: flex; gap: 0.7rem; font-size: 0.88rem; color: var(--muted); }
.paused-next svg { color: var(--sage); flex: none; margin-top: 2px; }
.paused-next strong { display: block; color: var(--ink); font-size: 0.9rem; }

.notify-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; background: var(--tint); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.notify-card h2 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.notify-card p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.notify-card form { flex: 1 1 320px; }

/* -------------------------------------------------------------------- auth */
.auth-layout { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: 3rem; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.auth-card--soft { background: var(--tint); border-color: var(--line); }
.auth-card--soft h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.auth-card--soft p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.auth-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.2em; }
.auth-lede { color: var(--muted); margin-bottom: 1.4rem; }
.auth-paused {
  background: #fdf3ec; border: 1px solid #f0d8c8; border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; margin-bottom: 1.4rem;
}
.auth-paused.is-flash { animation: pause-flash 0.9s ease; }
@keyframes pause-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 85, 63, 0); }
  30% { box-shadow: 0 0 0 4px rgba(201, 85, 63, 0.22); }
}
.auth-paused__head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.45rem; color: var(--accent-ink); }
.auth-paused__head svg { width: 18px; height: 18px; flex: none; }
.auth-paused p { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 0.4rem; }
.auth-paused__eta { font-size: 0.78rem !important; color: var(--muted) !important; margin: 0 !important; }
.auth-form { display: grid; gap: 0.9rem; }
.auth-form__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.checkline { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: var(--ink-soft); cursor: pointer; }
.checkline input { accent-color: var(--accent); width: 15px; height: 15px; }
.auth-form__note { font-size: 0.78rem; color: var(--muted); margin: 0; text-align: center; }
.auth-alt { font-size: 0.88rem; color: var(--muted); margin: 1.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.auth-aside { display: grid; gap: 1rem; }
.auth-list { display: grid; gap: 1rem; padding: 0.4rem 0.2rem; }
.auth-list li { display: flex; gap: 0.7rem; font-size: 0.88rem; color: var(--muted); }
.auth-list svg { color: var(--sage); flex: none; margin-top: 2px; }
.auth-list strong { display: block; color: var(--ink); font-size: 0.9rem; }
.auth-help { font-size: 0.84rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------- about */
.page-hero { padding: clamp(2rem, 4vw, 3.4rem) 0; background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.page-hero__lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 42em; }
.page-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.prose { max-width: 46em; }
.prose h2 { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 1rem; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.value__num { font-family: var(--serif); font-size: 0.9rem; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
.value h3 { margin: 0.4rem 0 0.4rem; }
.value p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.process li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.process__step { font-family: var(--serif); font-size: 1.6rem; color: var(--line-strong); font-weight: 700; }
.process h3 { margin: 0.5rem 0 0.4rem; font-size: 1.05rem; }
.process p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ----------------------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; padding-bottom: 1rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.contact-form .btn { margin-top: 0.4rem; }
.form-note { font-size: 0.84rem; color: var(--sage); background: #eff5ed; border: 1px solid #d8e6d4; border-radius: var(--radius-sm); padding: 0.8rem 1rem; margin: 1rem 0 0; }
.contact-aside { display: grid; gap: 1rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card h2 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.contact-card dl { display: grid; gap: 0.7rem; margin: 0; font-size: 0.88rem; }
.contact-card dl div { display: grid; gap: 0.1rem; }
.contact-card dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card dd { margin: 0; }
.contact-card--accent { background: var(--accent-soft); border-color: #f0d3c8; }
.contact-card ul { display: grid; gap: 0.5rem; font-size: 0.9rem; }
.faq { max-width: 52em; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 1.4rem; }
.faq .accordion-item:last-child { border-bottom: 0; }

/* --------------------------------------------------------------- not found */
.notfound { text-align: center; padding: clamp(3rem, 8vw, 6rem) 1rem clamp(2rem, 4vw, 3rem); }
.notfound__lead { color: var(--muted); max-width: 34em; margin: 0 auto 1.8rem; }
.notfound__actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #221d1a; color: rgba(242, 236, 227, 0.72); padding: clamp(2.6rem, 5vw, 3.8rem) 0 1.4rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.brand--footer { color: #fff; margin-bottom: 0.9rem; }
.brand--footer .brand__text { color: #fff; }
.footer-blurb { font-size: 0.88rem; max-width: 30em; color: rgba(242, 236, 227, 0.62); }
.footer-col__title { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; }
.footer-col ul { display: grid; gap: 0.5rem; font-size: 0.88rem; }
.footer-col a { color: rgba(242, 236, 227, 0.72); }
.footer-col a:hover { color: #fff; }
.footer-col li { color: rgba(242, 236, 227, 0.55); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.3rem;
  border-top: 1px solid rgba(242, 236, 227, 0.14); font-size: 0.78rem;
  color: rgba(242, 236, 227, 0.5);
}
.footer-legal, .footer-credit { margin: 0; }
.pay-list { display: flex; gap: 0.4rem; }
.pay-list li {
  border: 1px solid rgba(242, 236, 227, 0.22); border-radius: 5px;
  padding: 0.15rem 0.45rem; font-size: 0.68rem; font-weight: 700;
  color: rgba(242, 236, 227, 0.7); letter-spacing: 0.03em;
}

/* ------------------------------------------------------------------- toast */
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: grid; gap: 10px; justify-items: end; }
.toast {
  display: flex; align-items: center; gap: 0.7rem; background: var(--ink); color: #fff;
  padding: 0.8rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: 0.88rem; font-weight: 500; max-width: 380px;
  animation: toast-in 0.22s ease both;
}
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: #7fc08a; flex: none; }
.toast__body { flex: 1; }
.toast a { color: #f5b7a6; text-decoration: underline; }
.toast__action {
  background: rgba(255, 255, 255, 0.14); border: 0; color: #fff;
  font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 999px;
  cursor: pointer; flex: none;
}
.toast__action:hover { background: rgba(255, 255, 255, 0.24); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .shop-layout { grid-template-columns: 216px 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .menu-btn { display: flex; }
  .site-header__sub { display: none; }
  .hero__inner, .story__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 540px; }
  .hero__float--rating { left: 8px; bottom: 12px; }
  .hero__float--tag { right: 8px; top: 12px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(n + 3) { display: none; }
  .promos__inner { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary--sticky { position: static; }
  .quote-grid, .review-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .shop-help { grid-template-columns: 1fr; }
  .cart-promise { grid-template-columns: 1fr; }
  .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .craft__item:last-child { display: none; }
  .auth-layout { grid-template-columns: 1fr; }

  /* filter rail becomes a collapsible panel */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters-toggle { display: flex; }
  .shop-rail {
    display: none; position: static; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.2rem; margin-top: 0.8rem;
  }
  .shop-rail.is-open { display: grid; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .cat-grid, .product-grid--4, .product-grid--3, .value-grid, .process, .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .field-row--3 { grid-template-columns: 1fr 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 0.9rem 1rem; display: grid; gap: 0.35rem; position: relative; }
  .cart-table td { border: 0; padding: 0; display: flex; justify-content: space-between; align-items: center; }
  .cart-table td::before { content: attr(data-label); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
  .cart-table td:first-child::before, .cart-table td:last-child::before { content: none; }
  .cart-table td:last-child { position: absolute; top: 0.9rem; right: 0.6rem; }
  .cart-line img { width: 64px; height: 50px; }
  .page-head--row { align-items: flex-start; }
  .hero__cta .btn, .newsletter-band__cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .newsletter-band__inner { flex-direction: column; align-items: flex-start; }
  .promo--wide { flex-direction: column; align-items: flex-start; }
  .promo--wide img { width: 62%; max-width: 240px; order: -1; }
  .promo__thumb { display: none; }
  .notify-card { align-items: flex-start; }
  .paused { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .cat-grid, .product-grid--4, .product-grid--3 { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item:nth-child(n + 3) { display: flex; }
  .value-grid, .process, .craft__grid { grid-template-columns: 1fr; }
  .craft__item:last-child { display: block; }
  .cart-btn__label { display: none; }
  .announce__inner { flex-direction: column; gap: 0; padding: 6px 0; font-size: 0.74rem; }
  .announce__sep { display: none; }
  .hero__points { gap: 0.4rem 0.9rem; }
  .hero__float { font-size: 0.72rem; padding: 0.4rem 0.7rem; }
  .hero__float--tag { display: none; }
  .newsletter--inline { flex-wrap: wrap; }
}

/* Very narrow phones: keep the header on one line without overflow. */
@media (max-width: 430px) {
  .container { padding: 0 16px; }
  .site-header__inner { gap: 0.5rem; min-height: 64px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .brand__text { font-size: 1.22rem; }
  .header-actions { gap: 0.1rem; }
  .icon-btn { width: 34px; height: 34px; }
  .cart-btn { padding: 0.44rem 0.66rem; gap: 0.32rem; }
  .menu-btn { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .newsletter-band, .announce, .toast-stack, .cart-drawer, .drawer-scrim { display: none !important; }
}
