/*
Theme Name: Arden Ives
Theme URI: https://ardenives.com/
Author: Skyhawks Fusion
Description: Lightweight WooCommerce theme for Arden Ives – leather wallets, pet care and home textiles. Page content is edited with ACF (one tab per section); header, footer and social links in the Customizer; menus in Appearance → Menus. No page builder, no jQuery on normal pages.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 10.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arden-ives
Tags: e-commerce, woocommerce, custom-menu, custom-logo, translation-ready
*/

/* ==========================================================================
   Arden Ives – shared stylesheet (Home + About)
   Mobile-first · no frameworks · CWV-friendly
   ========================================================================== */

/* Metric-matched fallbacks reduce layout shift when web fonts swap in */
@font-face { font-family: "Caslon Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 88%; descent-override: 26%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 104%; descent-override: 28%; }

:root {
  --ink: #1f1a17;
  --muted: #564d47;
  --brown-900: #2a1c13;
  --rust: #a4552d;
  --rust-700: #8a4422;
  --paper: #f8f5f0;
  --white: #fff;
  --line: #e8e1d8;

  --serif: "Libre Caslon Text", "Caslon Fallback", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Jost Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body:has(.drawer[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; stroke-width: 2; }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--paper); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brown-900); color: #f1e9df; font-size: .75rem; letter-spacing: .06em; }
.topbar__inner { display: flex; align-items: center; justify-content: center; min-height: 34px; }
.topbar ul { display: flex; align-items: center; }
.topbar li { display: flex; align-items: center; }
.topbar li + li::before {
  content: ""; width: 1px; height: 12px; margin-inline: 14px; background: rgb(255 255 255 / .35);
}
.topbar a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.topbar__usp { display: none !important; text-transform: uppercase; font-weight: 500; }
.topbar__links > li:not(.topbar__ship) { display: none; }

/* ---------- Currency switcher ---------- */
.currency { position: relative; }
.currency summary {
  display: flex; align-items: center; gap: 4px;
  list-style: none; cursor: pointer; user-select: none;
}
.currency summary::-webkit-details-marker { display: none; }
.currency[open] summary .icon { transform: rotate(180deg); }
.currency__list {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 130px; padding: 6px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .12);
  font-size: .875rem; letter-spacing: 0;
}
.currency--end .currency__list { left: auto; right: 0; }
.currency__list a { display: block; padding: 8px 10px; border-radius: 4px; }
.currency__list a:hover,
.currency__list a[aria-current] { background: var(--paper); text-decoration: none; }
.topbar .currency summary { padding-block: 6px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: var(--header-h);
}
.header__left { display: flex; align-items: center; gap: 2px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }

.currency--header summary {
  min-height: 40px; padding-inline: 4px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
}

.nav { display: none; }
.account { display: none; }

/* Logo */
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
.logo__name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, .85rem + 1.1vw, 1.875rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__stars {
  display: flex; align-items: center; gap: 8px; width: 100%;
  margin-top: 4px; font-size: .55rem; letter-spacing: .25em;
}
.logo__stars::before, .logo__stars::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }

/* Cart badge */
.cart__count {
  position: absolute; top: 3px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--rust); color: var(--white);
  font-size: .6875rem; font-weight: 500; line-height: 18px; text-align: center;
}

/* Search – mobile: drops below header when toggled */
.search {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 10px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 16px rgb(0 0 0 / .06);
}
.search.is-open { display: block; }
.search__field {
  display: flex; align-items: center; height: 44px;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .2s;
}
.search__field:focus-within { border-color: var(--rust); }
.search input {
  flex: 1; min-width: 0; height: 100%; padding: 0 14px;
  border: 0; background: transparent; outline: none;
  font-size: 16px; /* prevents iOS zoom */
}
.search input::placeholder { color: #8a817a; }
.search button { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }

/* ---------- Drawers (menu = left, cart = right) ---------- */
.drawer {
  --from: -100%;
  position: fixed; inset: 0 auto 0 0;
  width: min(88vw, 380px); max-width: none;
  height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--white); color: var(--ink);
  flex-direction: column;
  overscroll-behavior: contain;
}
.drawer[open] { display: flex; animation: drawer-in .3s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-closing { animation: drawer-out .22s ease-in forwards; }
.drawer::backdrop { background: rgb(20 12 6 / .5); animation: fade-in .3s ease; }
.drawer.is-closing::backdrop { animation: fade-out .22s ease forwards; }

.drawer--right { --from: 100%; inset: 0 0 0 auto; }

@keyframes drawer-in { from { transform: translateX(var(--from)); } }
@keyframes drawer-out { to { transform: translateX(var(--from)); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding: 8px 10px 8px 20px;
  border-bottom: 1px solid var(--line);
}
.logo--sm .logo__name { font-size: 1.125rem; }

.drawer__nav { flex: 1; overflow-y: auto; }
.drawer__nav > ul:first-child a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s, color .2s;
}
.drawer__nav > ul:first-child a:hover { background: var(--paper); }
.drawer__nav a[aria-current] { color: var(--rust); font-weight: 500; }
.drawer__nav a .icon { color: #a39a92; }

.drawer__links { padding: 12px 8px; }
.drawer__links a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 6px;
  font-size: .9375rem; color: var(--muted);
}
.drawer__links a:hover { background: var(--paper); color: var(--ink); }

.drawer__foot { padding: 20px; background: var(--paper); border-top: 1px solid var(--line); }
.drawer__foot-title {
  margin-bottom: 12px;
  font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.drawer__note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }

.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--brown-900); border-color: var(--brown-900); color: var(--white); }

/* ---------- Shared type ---------- */
.eyebrow { font-size: .8125rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow--accent { color: var(--rust); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 12px 28px;
  background: var(--rust); color: var(--white);
  border-radius: 4px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s;
}
.btn:hover { background: var(--rust-700); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--caps {
  min-height: 44px; padding: 10px 22px; gap: 10px;
  font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase;
}
.btn--block { width: 100%; justify-content: center; }

/* ---------- Cart drawer ---------- */
.drawer--cart { width: min(92vw, 420px); }
.cart-title { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 0; }
.cart-title > span { font-family: var(--sans); font-size: .9375rem; color: var(--muted); }

.cart-ship { padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: .875rem; }
.cart-ship strong { font-weight: 500; color: var(--rust); }
.ship-bar { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-bar span {
  display: block; height: 100%; background: var(--rust);
  transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s ease;
}

.cart-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.cart-items { padding-inline: 20px; }
.cart-item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; background: var(--paper); }
.cart-item__name { display: block; font-weight: 500; line-height: 1.3; }
.cart-item__name:hover { color: var(--rust); }
.cart-item__meta { margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item__price { font-weight: 500; }
.cart-item__remove { font-size: .8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.cart-item__remove:hover { color: var(--rust); }

.qty { display: inline-flex; align-items: center; height: 38px; margin-top: 10px; border: 1px solid var(--line); border-radius: 4px; }
.qty button { display: grid; place-items: center; width: 36px; height: 100%; }
.qty button:hover { background: var(--paper); }
.qty input {
  width: 38px; height: 100%; border: 0; text-align: center; background: transparent;
  font-size: 16px; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 64px 20px; text-align: center; }
.cart-empty[hidden], [hidden] { display: none !important; }
.cart-empty .icon { width: 48px; height: 48px; stroke-width: 1.2; color: #a39a92; }

.cart-foot { padding: 18px 20px 20px; border-top: 1px solid var(--line); background: var(--white); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.0625rem; font-weight: 500; }
.cart-note { margin: 4px 0 16px; font-size: .8125rem; color: var(--muted); }
.cart-link { display: block; margin-top: 12px; text-align: center; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--brown-900); color: var(--white); }
.hero__media { display: block; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: 72% 50%;
}
.hero__content { padding-block: 32px 44px; }
.hero h1 {
  margin: 12px 0 16px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.125rem, 1.2rem + 4vw, 4.25rem);
  line-height: 1.08;
}
.hero__text {
  max-width: 30rem;
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  line-height: 1.55; color: #efe7de;
}
.hero .btn { margin-top: 26px; }

/* ---------- Home hero ---------- */
.hero--home .hero__media img { aspect-ratio: 16 / 11; object-position: 78% 50%; }
.hero--home h1 { font-weight: 400; }
.hero__features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15);
}
.feature { display: flex; align-items: center; gap: 12px; font-size: .8125rem; line-height: 1.35; color: #efe7de; }
.feature .icon { width: 32px; height: 32px; stroke-width: 1.3; color: var(--white); }

/* ---------- Category cards ---------- */
.categories { padding-block: 12px clamp(40px, 5vw, 72px); }
.cat-grid { display: grid; gap: 12px; }
.cat-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  aspect-ratio: 16 / 10;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 4px;
  background: var(--brown-900); color: var(--white);
}
.cat-card__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(30 19 12 / .88) 0%, rgb(30 19 12 / .6) 45%, rgb(30 19 12 / 0) 80%);
}
.cat-card:hover .cat-card__img { transform: scale(1.04); }
.cat-card:hover .btn { background: var(--rust-700); }
.cat-card:hover .btn .icon { transform: translateX(3px); }
.cat-card__body { max-width: 78%; }
.cat-card h3 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.12;
}
.cat-card p { margin-top: 10px; font-size: .9375rem; line-height: 1.45; color: #efe7de; }
.cat-card .btn { margin-top: 20px; }

/* ---------- Story ---------- */
.story { padding-block: clamp(16px, 2vw, 24px) clamp(48px, 6vw, 88px); }
.story__inner { display: grid; gap: 28px; align-items: center; }
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.story h2 {
  margin: 10px 0 18px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.15;
}
.story__body p:not(.eyebrow) { color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); }
.story__body p + p:not(.eyebrow) { margin-top: 16px; }
.story__body h2 + p { margin-top: 0; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 400px) {
  .header__inner { gap: 12px; }
  .icon-btn { width: 44px; height: 44px; }
}

@media (min-width: 768px) {
  :root { --header-h: 68px; }

  .topbar__inner { justify-content: flex-end; }
  .topbar__links > li:not(.topbar__ship) { display: flex; }

  .hero { display: flex; align-items: center; min-height: clamp(460px, 44vw, 640px); }
  .hero__media { position: absolute; inset: 0; z-index: -1; }
  .hero__media img { height: 100%; object-position: center; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgb(30 19 12 / .92) 0%, rgb(30 19 12 / .72) 38%, rgb(30 19 12 / 0) 68%);
  }
  .hero__content { padding-block: 64px; }
  .hero h1 { max-width: 11ch; }

  /* Currency now lives in the top bar */
  .currency--header { display: none; }

  /* Home hero: text + features over the image */
  .hero--home { min-height: clamp(500px, 42vw, 640px); }
  .hero--home .hero__media img { object-position: 70% 50%; }
  .hero--home h1 { max-width: 14ch; }
  .hero__features {
    display: flex; flex-wrap: wrap; gap: 20px 36px;
    margin-top: 44px; padding-top: 0; border-top: 0;
  }
}

@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card:last-child { grid-column: 1 / -1; aspect-ratio: 32 / 10; }
  .cat-card:last-child .cat-card__body { max-width: 45%; }
}

@media (min-width: 900px) {
  .story__inner { grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 72px); }
}

@media (min-width: 1024px) {
  .cat-card__body { max-width: 66%; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cat-card:last-child { grid-column: auto; aspect-ratio: 16 / 10; }
  .cat-card:last-child .cat-card__body { max-width: 66%; }
}

/* Full desktop header */
@media (min-width: 1280px) {
  :root { --header-h: 76px; }

  .topbar__inner { justify-content: space-between; }
  .topbar__usp { display: flex !important; }

  .header__inner { grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr); gap: 24px; }

  .menu-toggle, .search-toggle { display: none; }
  .account { display: inline-grid; }

  .nav { display: block; }
  .nav ul { display: flex; gap: clamp(14px, 1.3vw, 26px); }
  .nav a { position: relative; display: block; padding: 8px 0; font-size: .875rem; }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: var(--rust); transform: scaleX(0); transition: transform .2s;
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

  .search {
    display: block; position: static;
    width: clamp(200px, 18vw, 280px); margin-right: 8px;
    padding: 0; border: 0; box-shadow: none; background: none;
  }
  .search__field { height: 42px; }
}

/* ==========================================================================
   Home – Trust bar + Wallet feature
   ========================================================================== */
.categories { padding-bottom: clamp(32px, 4vw, 48px); }

/* Trust bar */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px; padding-block: 22px;
}
.trust__item { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.trust__item:last-child { grid-column: 1 / -1; justify-content: center; }
.trust__item .icon { width: 34px; height: 34px; stroke-width: 1.3; color: var(--ink); }
.trust__item strong { display: block; font-size: .875rem; font-weight: 500; }
.trust__item span { display: block; margin-top: 2px; font-size: .75rem; color: var(--muted); }

/* Wallet feature */
.wallet-feature { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.wallet-feature__grid { display: grid; gap: 16px; }

.wallet-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 4px;
}
.wallet-banner__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% 50%; }
.wallet-banner__body { padding: 24px 20px 28px; }
.wallet-banner h2 {
  margin: 10px 0 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); line-height: 1.1;
}
.wallet-banner__body > p:not(.eyebrow) { max-width: 26rem; color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); }
.wallet-banner .btn { margin-top: 24px; }

.wallet-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wallet-point { display: grid; gap: 10px; }
.wallet-point img {
  width: 100%; aspect-ratio: 12 / 7; object-fit: cover;
  border-radius: 4px; background: var(--line);
  box-shadow: 0 2px 8px rgb(42 28 19 / .12);
}
.wallet-point h3 { margin: 0; font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.wallet-point p { margin-top: 2px; font-size: .8125rem; color: var(--muted); }

@media (min-width: 640px) {
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust__item:last-child { grid-column: auto; justify-content: flex-start; }
  .wallet-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  /* Image fills banner; paper fade on the left keeps text readable */
  .wallet-banner { min-height: clamp(380px, 36vw, 460px); justify-content: center; background: var(--paper); }
  .wallet-banner__img {
    position: absolute; inset: 0 0 0 auto; z-index: -2;
    width: 72%; height: 100%;
  }
  .wallet-banner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 30%, rgb(248 245 240 / .85) 40%, rgb(248 245 240 / 0) 58%);
  }
  .wallet-banner__body { max-width: 50%; padding: 40px 0 40px clamp(24px, 3vw, 40px); }
}

@media (min-width: 1100px) {
  .trust__list { display: flex; justify-content: space-between; padding-block: 18px; }
  .trust__item { flex: 1; justify-content: center; }
  .trust__item:last-child { justify-content: center; }
  .trust__item + .trust__item { border-left: 1px solid var(--line); }

  .wallet-feature__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: stretch; }
  .wallet-points { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); gap: 10px; }
  .wallet-point { grid-template-columns: 170px 1fr; align-items: center; gap: 18px; }
  .wallet-point img { height: 100%; min-height: 88px; }
  .wallet-point h3 { font-size: 1rem; }
  .wallet-point p { font-size: .875rem; }
}

/* ==========================================================================
   Home – Featured Wallets carousel
   ========================================================================== */
.wallet-feature { padding-bottom: clamp(32px, 4vw, 48px); }
.featured { padding-bottom: clamp(48px, 6vw, 88px); }

.section-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  font-size: clamp(.75rem, .7rem + .3vw, .875rem); font-weight: 500;
  letter-spacing: clamp(.14em, .1em + .3vw, .24em); text-transform: uppercase; text-align: center;
  color: var(--muted);
}
.section-title::before, .section-title::after {
  content: ""; flex-shrink: 0; width: clamp(24px, 6vw, 64px); height: 1px; background: currentColor; opacity: .6;
}

.carousel { --gap: 12px; position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap)) / 1.25);   /* peek of next card = swipe hint */
  gap: var(--gap);
  margin: 0; padding: 4px 0 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 4px; }

.carousel__btn {
  display: none;
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 44px; height: 44px; place-items: center;
  border-radius: 50%; color: var(--ink);
  transition: background-color .2s, opacity .2s;
}
.carousel__btn .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.carousel__btn:hover { background: var(--white); }
.carousel__btn:disabled { opacity: .25; cursor: default; background: none; }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* Product card */
.product-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 3px rgb(42 28 19 / .06);
  transition: box-shadow .25s;
}
.product-card:hover { box-shadow: 0 10px 28px rgb(42 28 19 / .12); }
.product-card__media { display: block; background: #efe9e2; overflow: hidden; }
.product-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__body { position: relative; flex: 1; padding: 12px 14px 14px; text-align: center; }
.product-card__price, .product-card .rating { padding-inline: 44px; }   /* room for the cart button */
.product-card__title { margin: 0; font-size: clamp(.875rem, .84rem + .15vw, .9375rem); font-weight: 500; line-height: 1.3; }
.product-card__title a:hover { color: var(--rust); }
/* Make the whole card body clickable without nesting interactive elements */
.product-card__title a::after { content: ""; position: absolute; inset: 0; }
.product-card__price { margin-top: 2px; font-size: 1rem; font-weight: 500; }

.rating { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.stars {
  --pct: calc(var(--rating, 0) / 5 * 100%);
  font-size: .9375rem; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, #c8692f var(--pct), #d9cfc5 var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars::before { content: "★★★★★"; }

.add-cart {
  position: absolute; right: 12px; bottom: 14px; z-index: 1;   /* sits above the title link overlay */
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 4px; background: var(--rust); color: var(--white);
  transition: background-color .2s, transform .15s;
}
.add-cart:hover { background: var(--rust-700); }
.add-cart:active { transform: scale(.94); }
.add-cart__done { display: none; }
.add-cart.is-added { background: #4a6b3f; }
.add-cart.is-added .add-cart__icon { display: none; }
.add-cart.is-added .add-cart__done { display: block; }

@media (min-width: 640px) {
  .carousel__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.5); }
}
@media (min-width: 900px) {
  .carousel { --gap: 16px; }
  .carousel__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
}
@media (min-width: 1100px) {
  .carousel { --gap: 24px; padding-inline: 56px; }
  .carousel__track { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); }
  .carousel__btn { display: grid; }
}

/* ==========================================================================
   Home – Collection rows (Pet Care, Bedsheets)
   ========================================================================== */
.collection { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.collection--alt { background: #f3eee7; }
.collection__inner { display: grid; gap: 24px; }

.collection__intro h2 {
  margin: 8px 0 12px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.1;
}
.collection__intro > p:not(.eyebrow) { max-width: 30rem; color: var(--muted); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.collection__intro .btn { margin-top: 20px; }

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

.sub-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 3px rgb(42 28 19 / .06);
  transition: box-shadow .25s;
}
.sub-card:hover { box-shadow: 0 10px 28px rgb(42 28 19 / .12); }
.sub-card img {
  width: 100%; aspect-ratio: 8 / 5; object-fit: cover;
  background: #ebe6df; transition: transform .5s ease;
}
.sub-card:hover img { transform: scale(1.05); }
.sub-card__body { display: grid; gap: 2px; padding: 12px 10px 14px; text-align: center; }
.sub-card__title { font-size: clamp(.8125rem, .78rem + .2vw, .9375rem); font-weight: 500; line-height: 1.3; }
.sub-card__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .8125rem; color: var(--muted); transition: color .2s;
}
.sub-card__cta .icon { transition: transform .2s; }
.sub-card:hover .sub-card__cta { color: var(--rust); }
.sub-card:hover .sub-card__cta .icon { transform: translateX(3px); }

@media (min-width: 768px) {
  .collection__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .collection__inner { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-items: center; }
  .collection__grid { gap: 16px; }
}

/* ==========================================================================
   Home – Our Story band
   ========================================================================== */
.story-band { background: var(--brown-900); color: var(--white); }
.story-band__inner { display: grid; padding-inline: 0; }   /* image runs edge to edge on mobile */

.story-band__main { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.story-band__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-band__body { padding: 28px var(--gutter) 32px; }
.story-band h2 {
  margin: 10px 0 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.12;
}
.story-band__body > p:not(.eyebrow) { max-width: 32rem; color: #e9dfd4; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.story-band .btn { margin-top: 22px; }

.story-band__values {
  display: grid; gap: 4px;
  margin-inline: var(--gutter); padding-block: 20px 32px;
  border-top: 1px solid rgb(255 255 255 / .14);
}
.story-band__values li { display: flex; align-items: center; gap: 16px; padding-block: 8px; font-size: .9375rem; color: #f1e9df; }
.story-band__values .icon { width: 30px; height: 30px; stroke-width: 1.3; color: var(--white); }

@media (min-width: 640px) {
  .story-band__values { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

@media (min-width: 1100px) {
  .story-band__inner { grid-template-columns: minmax(0, 1fr) 320px; padding-inline: var(--gutter); }

  /* Text on the left, image on the right fading into the dark background */
  .story-band__main { justify-content: center; min-height: clamp(340px, 26vw, 400px); }
  .story-band__img {
    position: absolute; inset: 0 0 0 auto; z-index: -2;
    width: 100%; height: 100%; 
  }
  .story-band__main::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--brown-900) 0%, var(--brown-900) 50%, rgb(42 28 19 / .55) 62%, rgb(42 28 19 / 0) 78%);
  }
  .story-band__body { max-width: 55%; padding: 44px 0; }
  .story-band h2 .break-lg { display: block; }

  .story-band__values {
    grid-template-columns: 1fr; align-content: center; gap: 2px;
    margin: 0; padding: 32px 0 32px clamp(32px, 4vw, 56px);
    border-top: 0; border-left: 1px solid rgb(255 255 255 / .14);
  }
}

/* ==========================================================================
   Home – Testimonials
   ========================================================================== */
.reviews { padding-block: clamp(36px, 5vw, 56px) clamp(48px, 6vw, 80px); }

/* Mobile/tablet: swipeable row. Desktop: 3 columns */
.reviews__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.reviews__list::-webkit-scrollbar { display: none; }
.reviews__list > li { scroll-snap-align: start; }

.review {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  height: 100%; margin: 0; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
}
.review blockquote { margin: 0; }
.review blockquote p { font-size: clamp(.9375rem, .9rem + .15vw, 1rem); line-height: 1.6; color: var(--ink); }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .875rem; color: var(--muted); }
.review .stars { font-size: 1rem; margin-right: 12px; }
.review__name, .review__loc { display: inline-flex; align-items: center; }
.review__name::before, .review__loc::before {
  content: ""; width: 1px; height: 14px; margin-right: 12px; background: var(--line);
}
.review__loc { margin-left: 12px; }

@media (min-width: 640px) { .reviews__list { grid-auto-columns: calc((100% - 12px) / 2); } }
@media (min-width: 1024px) {
  .reviews__list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; }
}

/* ==========================================================================
   About – Values
   ========================================================================== */
.values { padding-block: clamp(48px, 6vw, 80px); background: var(--white); scroll-margin-top: 80px; }
.values__head { max-width: 40rem; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.values__head h2 {
  margin: 8px 0 10px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); line-height: 1.12;
}
.values__head > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); }

.values__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.value { text-align: center; }
.value__icon {
  display: grid; place-items: center;
  width: clamp(80px, 7vw, 112px); aspect-ratio: 1; margin: 0 auto 16px;
  border-radius: 50%; background: #f6e7dc; color: var(--rust);
}
.value__icon .icon { width: 46%; height: 46%; stroke-width: 1.4; }
.value h3 { margin: 0 0 6px; font-size: clamp(.9375rem, .9rem + .25vw, 1.125rem); font-weight: 500; }
.value p { max-width: 16rem; margin-inline: auto; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.value:last-child { grid-column: 1 / -1; }

@media (min-width: 768px) {
  .values__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .value { grid-column: span 2; }
  .value:nth-child(4) { grid-column: 2 / span 2; }   /* centre the second row of 2 */
  .value:last-child { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .values__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .value, .value:nth-child(4), .value:last-child { grid-column: auto; }
}

/* ==========================================================================
   About – Quality ("Built to Last")
   ========================================================================== */
.quality { position: relative; isolation: isolate; background: var(--brown-900); color: var(--white); overflow: hidden; }
.quality__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% 50%; }
.quality__inner { padding-block: 28px 48px; }
.quality h2 {
  margin: 8px 0 14px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.08;
}
.quality__intro { max-width: 32rem; color: #e9dfd4; font-size: clamp(1rem, .96rem + .25vw, 1.1875rem); line-height: 1.55; }

.quality__list { display: grid; gap: 22px; margin-top: 28px; }
.quality__list li { display: flex; align-items: flex-start; gap: 18px; }
.quality__list .icon { width: 36px; height: 36px; margin-top: 2px; stroke-width: 1.4; color: var(--white); }
.quality__list h3 { margin: 0; font-size: clamp(1rem, .96rem + .25vw, 1.1875rem); font-weight: 500; }
.quality__list p { margin-top: 2px; font-size: .9375rem; color: #e1d6cb; }

@media (min-width: 640px) and (max-width: 899px) {
  .quality__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
}

@media (min-width: 900px) {
  .quality { display: flex; align-items: center; min-height: clamp(520px, 48vw, 640px); }
  .quality__img {
    position: absolute; inset: 0 0 0 auto; z-index: -2;
    width: 68%; height: 100%; object-position: center;
  }
  .quality::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--brown-900) 0%, var(--brown-900) 32%, rgb(42 28 19 / .75) 44%, rgb(42 28 19 / 0) 64%);
  }
  .quality__inner { padding-block: clamp(48px, 5vw, 72px); }
  .quality__body { max-width: min(36rem, 46%); }
}

/* ==========================================================================
   About – Sustainability
   ========================================================================== */
.sustain { padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); scroll-margin-top: 80px; }
.sustain__inner { display: grid; gap: 28px; align-items: center; }
.sustain__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.sustain h2 {
  margin: 8px 0 12px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.75rem); line-height: 1.12;
}
.sustain__intro { max-width: 32rem; color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); }

/* Reuses the .value icon-circle cards from "What We Stand For" */
.sustain__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 28px; }
.sustain__list .value,
.sustain__list .value:nth-child(4),
.sustain__list .value:last-child { grid-column: auto; }
.sustain__list .value__icon { width: clamp(72px, 6vw, 84px); margin-bottom: 12px; }
.sustain__list h3 { font-size: .9375rem; }
.sustain__list p { font-size: .8125rem; }

@media (min-width: 640px) { .sustain__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .sustain__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 56px); }
  .sustain__media img { aspect-ratio: 11 / 7; }
  .sustain h2 .break-lg { display: block; }
}

/* ==========================================================================
   About – Journal
   ========================================================================== */
.journal { padding-block: clamp(24px, 3vw, 40px) clamp(48px, 6vw, 88px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(20px, 3vw, 32px); }
.section-head h2 {
  margin: 8px 0 8px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.75rem); line-height: 1.12;
}
.section-head > div > p:not(.eyebrow) { color: var(--muted); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.section-head__btn { flex-shrink: 0; min-height: 46px; padding: 10px 24px; font-size: .9375rem; }

/* Mobile/tablet: swipeable row. Desktop: 5 columns */
.journal__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.journal__list::-webkit-scrollbar { display: none; }
.journal__list > li { scroll-snap-align: start; }

.post-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: box-shadow .25s;
}
.post-card:hover { box-shadow: 0 10px 28px rgb(42 28 19 / .12); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ebe6df; transition: transform .5s ease; }
.post-card:hover img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.post-card__cat { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.post-card__title { margin: 8px 0; font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.post-card__excerpt { font-size: .875rem; line-height: 1.55; color: var(--muted); }
.post-card__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px;
  font-size: .875rem; font-weight: 500; color: var(--rust);
}
.post-card__more .icon { transition: transform .2s; }
.post-card:hover .post-card__more .icon { transform: translateX(3px); }

@media (min-width: 640px) { .journal__list { grid-auto-columns: calc((100% - 14px) / 2.3); } }
@media (min-width: 900px) { .journal__list { grid-auto-columns: calc((100% - 28px) / 3.3); } }
@media (min-width: 1200px) {
  .journal__list { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; overflow: visible; }
}

/* ==========================================================================
   About – Collections (reuses .cat-grid / .cat-card from the homepage)
   ========================================================================== */
.about-collections { padding-block: clamp(8px, 1vw, 16px) clamp(48px, 6vw, 72px); }
.about-collections .section-head h2 { margin-bottom: 0; }

/* Text sits at the bottom with an upward fade */
.cat-card--bottom { align-items: flex-end; aspect-ratio: 4 / 3; }
.cat-card--bottom::before {
  background: linear-gradient(0deg, rgb(26 16 10 / .92) 0%, rgb(26 16 10 / .6) 42%, rgb(26 16 10 / 0) 72%);
}
.cat-card--bottom .cat-card__body { max-width: 100%; }
.cat-card--bottom h3 { font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.cat-card--bottom p { margin-top: 6px; max-width: 24rem; }
.cat-card--bottom .btn { margin-top: 16px; min-height: 44px; padding: 10px 22px; font-size: .9375rem; }

@media (min-width: 640px) {
  .cat-card--bottom:last-child { aspect-ratio: 21 / 9; }
  .cat-card--bottom:last-child .cat-card__body { max-width: 60%; }
}
@media (min-width: 1024px) {
  .cat-card--bottom, .cat-card--bottom:last-child { aspect-ratio: 4 / 3; }
  .cat-card--bottom:last-child .cat-card__body { max-width: 100%; }
}

/* ==========================================================================
   About – Our Promise
   ========================================================================== */
.promise { position: relative; isolation: isolate; overflow: hidden; background: #253020; color: var(--white); }
.promise__img {
  position: absolute; inset: 0 0 0 auto; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .55;
}
.promise::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #253020 0%, rgb(37 48 32 / .9) 55%, rgb(37 48 32 / .55) 100%);
}
.promise__inner { display: grid; gap: 24px; padding-block: clamp(40px, 5vw, 56px); }
.promise h2 {
  margin: 8px 0 12px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem); line-height: 1.1;
}
.promise__body > p:not(.eyebrow) { max-width: 44rem; color: #e4e9de; font-size: clamp(.9375rem, .9rem + .25vw, 1.125rem); }
.promise .btn { justify-self: start; }

@media (min-width: 900px) {
  .promise__img { width: 45%; opacity: 1; }
  .promise::before {
    background: linear-gradient(90deg, #253020 0%, #253020 55%, rgb(37 48 32 / .6) 68%, rgb(37 48 32 / .15) 100%);
  }
  .promise__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
  .promise .btn { justify-self: end; align-self: center; }
}

/* ==========================================================================
   FAQ page
   ========================================================================== */
html:has(.faq-layout) { scroll-behavior: smooth; }

/* Hero (shorter variant of the About hero) */
.hero--page h1 { max-width: none; }
@media (min-width: 768px) {
  .hero--page { min-height: clamp(340px, 30vw, 440px); }
  .hero--page .hero__content { padding-block: 48px; }
  .hero--page .hero__text { max-width: 28rem; }
  .hero--page h1 .break-lg { display: block; }
}

/* Trust bar – 4 items with rust icons */
.trust--accent .trust__item .icon { color: var(--rust); }
.trust--accent .trust__item:last-child { grid-column: auto; justify-content: flex-start; }
@media (min-width: 640px) { .trust--accent .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .trust--accent .trust__list { display: flex; justify-content: space-between; }
  .trust--accent .trust__item { flex: 1; justify-content: center; }
  .trust--accent .trust__item:last-child { justify-content: center; }
  .trust--accent .trust__item + .trust__item { border-left: 1px solid var(--line); }
}

/* Layout: mobile = chips → questions → help card; desktop = sidebar + questions */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 0 clamp(48px, 6vw, 72px); }
.faq-side { display: contents; }
.faq-cats { order: 1; }
.faq-main { order: 2; display: grid; gap: clamp(32px, 4vw, 44px); }
.faq-help { order: 3; }

/* Category nav – mobile: sticky, swipeable chips */
.faq-cats {
  position: sticky; top: var(--header-h); z-index: 20;
  margin-inline: calc(var(--gutter) * -1);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.faq-cats__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faq-cats__list {
  display: flex; gap: 8px; padding: 12px var(--gutter);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.faq-cats__list::-webkit-scrollbar { display: none; }
.faq-cats__list a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 40px; padding: 8px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; transition: background-color .2s, color .2s, border-color .2s;
}
.faq-cats__list .icon { width: 18px; height: 18px; color: var(--rust); }
.faq-cats__chev { display: none; }
.faq-cats__list a[aria-current] { background: var(--rust); border-color: var(--rust); color: var(--white); }
.faq-cats__list a[aria-current] .icon { color: var(--white); }

/* Group heading */
.faq-group { scroll-margin-top: calc(var(--header-h) + 80px); }
.faq-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.faq-group__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: clamp(52px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%;
  background: #f6e7dc; color: var(--rust);
}
.faq-group__icon .icon { width: 50%; height: 50%; stroke-width: 1.5; }
.faq-group h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; }
.faq-group__head p { margin-top: 2px; font-size: .9375rem; color: var(--muted); }

/* Accordion (native <details>, exclusive per group via name="") */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 12px 20px;
  list-style: none; cursor: pointer; font-size: clamp(.9375rem, .9rem + .15vw, 1rem);
  transition: background-color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fbf6f1; }
.faq-item[open] summary { background: #f6e7dc; }
.faq-item summary:focus-visible { outline-offset: -2px; }

/* Plus / minus drawn in CSS */
.faq-item__icon { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px;
  background: currentColor; translate: 0 -50%; transition: transform .25s ease;
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item[open] .faq-item__icon { color: var(--rust); }

.faq-item__answer { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.faq-item__answer p { font-size: .9375rem; line-height: 1.65; color: var(--muted); }
.faq-item[open] .faq-item__answer { animation: faq-open .25s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }

/* Help card */
.faq-help { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.faq-help__top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.faq-help__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 50%; background: var(--rust-700); color: var(--white);
}
.faq-help__icon .icon { width: 30px; height: 30px; }
.faq-help h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.375rem; }
.faq-help__top p { margin-top: 2px; font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.faq-help__email { display: flex; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.faq-help__email > .icon { width: 30px; height: 30px; margin-top: 2px; color: var(--rust); }
.faq-help__email h3 { margin: 0; font-size: 1rem; font-weight: 500; }
.faq-help__email a { display: inline-block; padding-block: 2px; font-size: .875rem; color: var(--muted); }
.faq-help__email a:hover { color: var(--rust); text-decoration: underline; }
.faq-help__email p { font-size: .8125rem; color: var(--muted); }

/* Bottom CTA */
.faq-cta { position: relative; isolation: isolate; overflow: hidden; background: #f3e7dc; }
.faq-cta__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 70% 50%; }
.faq-cta__inner { padding-block: 28px 40px; }
.faq-cta h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.15; }
.faq-cta p { max-width: 26rem; color: var(--muted); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.faq-cta .btn { margin-top: 20px; }

@media (min-width: 900px) {
  .faq-cta { display: flex; align-items: center; min-height: clamp(220px, 20vw, 300px); }
  .faq-cta__img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 68%; height: 100%; }
  .faq-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #f3e7dc 0%, #f3e7dc 34%, rgb(243 231 220 / .7) 46%, rgb(243 231 220 / 0) 62%);
  }
  .faq-cta__inner { padding-block: 40px; }
}

/* Desktop: sticky sidebar */
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 320px minmax(0, 1fr); align-items: start; gap: 32px; padding-top: clamp(20px, 2vw, 28px); }
  .faq-side {
    display: grid; gap: 20px;
    position: sticky; top: calc(var(--header-h) + 20px);
  }
  .faq-main { order: 0; }

  .faq-cats {
    position: static; margin: 0; padding: 20px 12px;
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  }
  .faq-cats__title {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    margin: 0 0 12px; padding-inline: 10px;
    font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  }
  .faq-cats__list { display: grid; gap: 2px; padding: 0; overflow: visible; }
  .faq-cats__list a {
    gap: 12px; min-height: 44px; padding: 10px; border: 0; border-radius: 4px;
    background: none; font-size: .875rem; white-space: nowrap;
  }
  .faq-cats__list .icon { width: 22px; height: 22px; }
  .faq-cats__list a:hover { background: #fbf6f1; }
  .faq-cats__list a[aria-current] { background: #f6e7dc; color: var(--rust-700); }
  .faq-cats__list a[aria-current] .icon { color: var(--rust); }
  .faq-cats__chev { display: block; margin-left: auto; }
  .faq-cats__list a:not([aria-current]) .faq-cats__chev { visibility: hidden; }

  .faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   Track Order page
   ========================================================================== */
/* Shared peach icon circle */
.icon-circle {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: #f6e7dc; color: var(--rust);
}
.icon-circle .icon { width: 50%; height: 50%; stroke-width: 1.5; }

/* Form + features */
.track { padding-block: clamp(24px, 3vw, 32px) clamp(20px, 2.5vw, 28px); }
.track__inner { display: grid; gap: 32px; }

.track-card {
  padding: clamp(22px, 3vw, 32px);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.track-card h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.125rem); }
.track-card__intro { margin-top: 6px; color: var(--muted); font-size: .9375rem; }

.track-form { display: grid; gap: 18px; margin-top: 22px; }
.field label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 500; }
.field .req { color: #c0392b; }
.field input {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--white); border: 1px solid #ddd3c8; border-radius: 4px;
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9a9089; }
.field input:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgb(164 85 45 / .15); }
.field input:user-invalid { border-color: #c0392b; }

.track-form__submit { margin-top: 4px; min-height: 50px; font-size: 1rem; }
.track-form__switch {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  justify-self: center; padding: 6px 4px;
  font-size: .9375rem; color: var(--rust-700);
}
.track-form__switch span { text-decoration: underline; text-underline-offset: 4px; }
.track-form__switch:hover { color: var(--rust); }

.track-features { display: grid; gap: 24px; align-content: center; }
.track-features li { display: flex; align-items: center; gap: 20px; }
.track-features .icon-circle { width: clamp(56px, 5vw, 64px); height: clamp(56px, 5vw, 64px); }
.track-features h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.track-features p { margin-top: 2px; max-width: 24rem; font-size: .9375rem; color: var(--muted); }

@media (min-width: 640px) and (max-width: 1023px) {
  .track-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
  .track-features li { align-items: flex-start; }
}
@media (min-width: 1024px) {
  .track__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
  .track-features { gap: 32px; }
}

/* Order journey */
.journey { padding-block: 0 clamp(24px, 3vw, 32px); }
.journey__card {
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 40px);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.journey h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2rem); }
.journey__intro { margin-top: 4px; color: var(--muted); font-size: .9375rem; }

/* Mobile: vertical timeline */
.journey__steps { display: grid; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.journey__step { position: relative; display: flex; align-items: center; gap: 18px; }
.journey__step:not(:last-child)::after {   /* dashed connector */
  content: ""; position: absolute; left: 28px; top: 60px; height: calc(100% - 38px);
  border-left: 2px dashed #e2b799;
}
.journey__step h3 { margin: 0; font-size: 1rem; font-weight: 500; }
.journey__step p { margin-top: 2px; font-size: .875rem; color: var(--muted); }

/* Tablet+: horizontal steps */
@media (min-width: 768px) {
  .journey__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
  .journey__step { flex-direction: column; text-align: center; gap: 12px; }
  .journey__step .icon-circle { width: clamp(56px, 5vw, 60px); height: clamp(56px, 5vw, 60px); }
  .journey__step:not(:last-child)::after {
    left: calc(50% + 42px); right: calc(-50% + 30px); top: 28px; height: 0;
    border-left: 0; border-top: 2px dashed #e2b799;
  }
  .journey__step p { max-width: 11rem; margin-inline: auto; }
}

/* Need help */
.order-help { display: grid; padding-bottom: clamp(48px, 6vw, 72px); }
.order-help__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.order-help__body { padding: 28px var(--gutter) 0; }
.order-help h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.625rem, 1.15rem + 1.7vw, 2.25rem); line-height: 1.15; }
.order-help__intro { margin-top: 6px; max-width: 34rem; color: var(--muted); font-size: .9375rem; }

.order-help__grid { display: grid; gap: 12px; margin-top: 22px; }
.help-card {
  display: flex; align-items: flex-start; gap: 16px; height: 100%;
  padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.help-card:hover { border-color: #e2b799; box-shadow: 0 8px 22px rgb(42 28 19 / .08); }
.help-card > .icon { width: 30px; height: 30px; margin-top: 2px; stroke-width: 1.5; color: var(--rust); }
.help-card strong { display: block; font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.help-card strong + span { display: block; margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.order-help__btn { display: flex; width: max-content; margin: 22px auto 0; padding-inline: 36px; }

@media (min-width: 560px) { .order-help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .order-help {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 40px); align-items: center;
  }
  .order-help__media img { height: 100%; min-height: 420px; border-radius: 0 6px 6px 0; }
  .order-help__body {
    padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 0 0;
  }
}

/* ==========================================================================
   Shipping & Returns page
   ========================================================================== */
/* Breadcrumb (on dark hero) */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: #efe7de; }
.breadcrumb li + li::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .8;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero--ship h1 { max-width: none; margin-top: 10px; }

/* Trust bar with rust icons (5 items, base layout) */
.trust--rust .trust__item .icon { color: var(--rust); }

/* Policy cards */
.policies { padding-block: clamp(20px, 2.5vw, 28px); }
.policies__grid { display: grid; gap: 20px; }
.policy-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.policy-card__head { display: flex; align-items: flex-start; gap: 18px; }
.policy-card__head > .icon { width: clamp(40px, 4vw, 52px); height: clamp(40px, 4vw, 52px); stroke-width: 1.3; color: var(--rust); }
.policy-card__head h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; }
.policy-card__head p { margin-top: 4px; font-size: .9375rem; color: var(--muted); }

.policy-card__rows { display: grid; gap: 10px; flex: 1; }
.policy-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start;
  padding: 18px; background: #faf6f2; border-radius: 4px;
}
.policy-row .icon { grid-row: span 2; width: 32px; height: 32px; stroke-width: 1.4; color: var(--rust); }
.policy-row h3 { margin: 0; font-size: .9375rem; font-weight: 500; }
.policy-row p { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.policy-card__btn { align-self: center; justify-content: center; min-width: min(100%, 250px); }

@media (min-width: 560px) {
  .policy-row { grid-template-columns: 36px 165px minmax(0, 1fr); align-items: center; padding: 20px; }
  .policy-row .icon { grid-row: auto; }
}
@media (min-width: 1024px) { .policies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* Shipping process (reuses .journey__steps) */
.process { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(32px, 4vw, 44px); }
.process h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem); }
.process__intro { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.process__img { display: none; }

.icon-circle--ring { background: var(--white); box-shadow: 0 0 0 2px #ecc7ad, 0 0 0 6px var(--white); }

@media (min-width: 768px) {
  .journey__steps--arrows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* arrowhead at the end of each dashed connector */
  .journey__steps--arrows .journey__step:not(:last-child)::before {
    content: ""; position: absolute; top: 24px; right: calc(-50% + 31px);
    width: 8px; height: 8px;
    border-top: 2px solid #d99b72; border-right: 2px solid #d99b72; transform: rotate(45deg);
  }
}
@media (min-width: 1024px) {
  .process { min-height: 300px; }
  .process__img {
    display: block; position: absolute; inset: 0 0 0 auto; z-index: -2;
    width: 30%; height: 100%; object-fit: cover;
  }
  .process::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 68%, rgb(248 245 240 / 0) 80%);
  }
  .process__body { max-width: 74%; }
}

/* FAQ – two columns of icon accordions (reuses .faq-item) */
.ship-faq { padding-block: clamp(32px, 4vw, 44px) clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.ship-faq .section-head h2 { margin-top: 0; }
.ship-faq__grid { display: grid; gap: 8px; }
.faq-item--icon summary > .icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--rust); stroke-width: 1.5; }
.faq-item--icon summary > span:first-of-type { flex: 1; }
.faq-item--icon summary { justify-content: flex-start; }
@media (min-width: 900px) { .ship-faq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* Dark CTA band (variant of the FAQ page CTA) */
.faq-cta--dark { background: var(--brown-900); color: var(--white); }
.faq-cta--dark p { color: #e9dfd4; }
@media (min-width: 900px) {
  .faq-cta--dark { min-height: clamp(180px, 15vw, 220px); }
  .faq-cta--dark::before {
    background: linear-gradient(90deg, var(--brown-900) 0%, var(--brown-900) 34%, rgb(42 28 19 / .7) 46%, rgb(42 28 19 / 0) 64%);
  }
}

/* ==========================================================================
   Story page
   ========================================================================== */
/* Eyebrow with a trailing rule */
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }

/* Hero – value icons stacked over labels */
.hero--story h1 { max-width: none; }
@media (min-width: 1024px) { .hero--story h1 .break-lg { display: block; } }
.story-values {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .15);
}
.story-values li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .75rem; line-height: 1.3; color: #efe7de; }
.story-values .icon { width: 30px; height: 30px; stroke-width: 1.3; color: var(--white); }
@media (min-width: 768px) {
  .story-values {
    display: flex; gap: clamp(20px, 2.6vw, 40px); width: max-content; max-width: 100%;
    margin-top: 34px; padding-top: 0; border-top: 0;
  }
  .story-values li { max-width: 92px; font-size: .8125rem; }
  .story-values .icon { width: 36px; height: 36px; }
}

/* About intro (reuses .story layout from the About page) */
.story--intro { padding-block: clamp(16px, 2vw, 24px) clamp(32px, 4vw, 48px); }
.story--intro h2 { font-weight: 400; font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); line-height: 1.12; }
.story--intro .story__media img { aspect-ratio: 3 / 2; }

/* Collections */
.story-collections { padding-bottom: clamp(32px, 4vw, 48px); }
.section-title--dark { margin-bottom: 8px; color: var(--ink); font-size: clamp(1rem, .9rem + .5vw, 1.375rem); }
.section-title--dark::before, .section-title--dark::after { background: var(--rust); }
.story-collections__intro { margin-bottom: clamp(18px, 2.5vw, 24px); text-align: center; color: var(--muted); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.story-collections .cat-card--bottom h3 { font-weight: 400; }
.story-collections .cat-card--bottom .btn { min-height: 40px; padding: 8px 18px; font-size: .75rem; }

/* Craftsmanship – text left, leather close-up right */
.craft { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); }
.craft__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 50%; }
.craft__inner { padding-block: 28px clamp(36px, 4vw, 48px); }
.craft h2 {
  margin: 10px 0 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.1;
}
.craft__body > p:not(.eyebrow) { max-width: 31rem; color: var(--muted); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.craft__list { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 24px; }
.craft__list li { display: flex; align-items: center; gap: 12px; font-size: .875rem; line-height: 1.3; }
.craft__list .icon { width: 38px; height: 38px; stroke-width: 1.3; color: var(--ink); }

@media (min-width: 900px) {
  .craft { display: flex; align-items: center; min-height: clamp(380px, 36vw, 460px); }
  .craft__img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 62%; height: 100%; }
  .craft::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 38%, rgb(248 245 240 / .75) 46%, rgb(248 245 240 / 0) 60%);
  }
  .craft__body { max-width: min(34rem, 44%); }
}

/* Commitment */
.commit { padding-block: clamp(36px, 4vw, 48px) clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.commit__inner { display: grid; gap: 28px; align-items: center; }
.commit h2 {
  margin: 10px 0 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem); line-height: 1.12;
}
.commit__intro > p:not(.eyebrow) { max-width: 30rem; color: var(--muted); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.commit__intro .btn { margin-top: 22px; }

.commit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.commit-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 14px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
}
.commit-card .icon { width: 36px; height: 36px; margin-bottom: 4px; stroke-width: 1.3; color: var(--rust); }
.commit-card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.25; }
.commit-card p { font-size: .8125rem; line-height: 1.5; color: var(--muted); }

@media (min-width: 768px) { .commit__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .commit__inner { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
}

/* Desktop line breaks matching the design */
@media (min-width: 1024px) {
  .story--intro h2 .break-lg, .craft h2 .break-lg, .commit h2 .break-lg { display: block; }
}

/* ==========================================================================
   Shop / Product category page
   ========================================================================== */
body.no-scroll { overflow: hidden; }

/* Hero + USP strip */
.hero--shop h1 { max-width: none; font-weight: 400; }
.shop-usp { display: grid; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .15); }
.shop-usp li { display: flex; align-items: center; gap: 12px; font-size: .75rem; line-height: 1.35; color: #e9dfd4; }
.shop-usp strong { display: block; font-size: .8125rem; font-weight: 500; color: var(--white); }
.shop-usp .icon { width: 30px; height: 30px; stroke-width: 1.3; color: var(--white); }
@media (min-width: 560px) { .shop-usp { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; } .shop-usp li { padding-inline: 18px; } .shop-usp li:first-child { padding-left: 0; } .shop-usp li + li { border-left: 1px solid rgb(255 255 255 / .2); } }
@media (min-width: 768px) {
  .hero--shop .hero__content { padding-block: 44px 28px; }
  .hero--shop h1 .break-lg { display: block; }
  .shop-usp { width: max-content; margin-top: 30px; padding: 14px 18px; border: 0; background: rgb(20 12 6 / .45); border-radius: 4px; }
}

/* Category tiles */
.shop-cats-wrap { padding-block: 8px; }
.shop-cats { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shop-cats::-webkit-scrollbar { display: none; }
.shop-cats > li { scroll-snap-align: start; }
.shop-cat { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; color: var(--white); text-align: center; }
.shop-cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shop-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(26 16 10 / .85) 0%, rgb(26 16 10 / .25) 50%, rgb(26 16 10 / 0) 70%); }
.shop-cat:hover img { transform: scale(1.05); }
.shop-cat__body { display: grid; gap: 4px; padding: 16px 12px 18px; }
.shop-cat__title { font-family: var(--serif); font-size: clamp(1.25rem, .9rem + .75vw, 1.5rem); line-height: 1.15; }
@media (min-width: 1024px) { .shop-cat__title { white-space: nowrap; font-size: clamp(1.125rem, .55rem + .9vw, 1.5rem); } }
.shop-cat__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.shop-cat__cta .icon { transition: transform .2s; }
.shop-cat:hover .shop-cat__cta .icon { transform: translateX(3px); }
@media (min-width: 640px) { .shop-cats { grid-auto-columns: calc((100% - 16px) / 2.4); } }
@media (min-width: 1024px) { .shop-cats { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; overflow: visible; } }

/* Layout */
.shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 16px clamp(48px, 6vw, 72px); }

/* Filters – mobile slide-in panel */
.filters {
  position: fixed; inset: 0 auto 0 0; z-index: 90;
  width: min(88vw, 340px); background: var(--white);
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden;
}
.filters.is-open { transform: none; visibility: visible; }
.filters__backdrop { position: fixed; inset: 0; z-index: 89; background: rgb(20 12 6 / .5); }
.filters__form { display: flex; flex-direction: column; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }
.filters__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 14px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.filters__head h2 { flex: 1; margin: 0; font-size: 1.125rem; font-weight: 500; }
.filters__clear { padding: 6px 4px; font-size: .875rem; color: var(--rust); }
.filters__clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.filters__foot { position: sticky; bottom: 0; margin-top: auto; padding: 14px 0 18px; background: var(--white); border-top: 1px solid var(--line); }

.filter { padding-block: 16px; border-bottom: 1px solid var(--line); }
.filter:last-of-type { border-bottom: 0; }
.filter summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: .9375rem; font-weight: 500; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(45deg) translate(2px, 2px); transition: transform .2s; }
.filter:not([open]) summary::after { transform: rotate(225deg); }
.filter ul { display: grid; gap: 4px; margin-top: 12px; }

.check { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: .875rem; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--rust); flex-shrink: 0; }
.check:hover { color: var(--ink); }
.check .stars { font-size: .875rem; }

.color-list { grid-template-columns: repeat(auto-fill, 32px); gap: 12px !important; }
.color-check { position: relative; display: block; width: 32px; height: 32px; cursor: pointer; }
.color-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.color-check > span:first-of-type { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); transition: box-shadow .2s; }
.color-check input:checked + span { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--rust); }
.color-check input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 4px; }

/* Dual range slider */
.price { margin-top: 16px; }
.price__track { position: relative; height: 20px; }
.price__track::before, .price__track::after { content: ""; position: absolute; top: 50%; height: 3px; border-radius: 2px; translate: 0 -50%; }
.price__track::before { left: 0; right: 0; background: var(--line); }
.price__track::after { left: calc(var(--min) * 1%); right: calc(100% - var(--max) * 1%); background: var(--brown-900); }
.price__track input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brown-900); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--brown-900); cursor: pointer; pointer-events: auto; }
.price__track input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brown-900); border: 2px solid var(--white); cursor: pointer; pointer-events: auto; }
.price__out { display: block; margin-top: 8px; font-size: .8125rem; color: var(--muted); }

/* Desktop: static sidebar */
@media (min-width: 1024px) {
  .shop { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-top: 12px; }
  .filters { position: static; z-index: auto; width: auto; transform: none; visibility: visible; transition: none; align-self: start; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
  .filters__form { height: auto; overflow: visible; padding: 0 16px 8px; }
  .filters__head { position: static; }
  .filters__close, .filters__foot { display: none; }
  .filters__backdrop { display: none !important; }
}

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.toolbar__filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: .875rem; }
.toolbar__count { flex: 1; font-size: .8125rem; color: var(--muted); }
.sort { position: relative; display: block; }
.sort select { height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; font-size: .8125rem; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sort .icon { position: absolute; right: 12px; top: 50%; translate: 0 -50%; pointer-events: none; }
@media (max-width: 559px) { .toolbar__count { order: 3; flex-basis: 100%; } .sort { margin-left: auto; } }
@media (min-width: 1024px) { .toolbar__filter { display: none; } }

/* Product grid */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.shop-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: box-shadow .25s; }
.shop-card:hover { box-shadow: 0 10px 28px rgb(42 28 19 / .1); }
.shop-card__media { position: relative; background: #f1ece5; overflow: hidden; }
.shop-card__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .5s ease; }
.shop-card:hover .shop-card__media img { transform: scale(1.04); }
.shop-card__badge { position: absolute; top: 0; left: 0; z-index: 1; padding: 4px 10px; background: var(--rust); color: var(--white); font-size: .6875rem; font-weight: 500; }
.wish { position: absolute; top: 6px; right: 6px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); transition: background-color .2s, color .2s; }
.wish:hover { background: rgb(255 255 255 / .8); }
.wish .icon { width: 20px; height: 20px; }
.wish[aria-pressed="true"] { color: var(--rust); }
.wish[aria-pressed="true"] .icon { fill: currentColor; }

.shop-card__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 10px 12px 12px; }
.shop-card__title { margin: 0; font-size: clamp(.8125rem, .78rem + .2vw, .9375rem); font-weight: 500; line-height: 1.3; }
.shop-card__title a:hover { color: var(--rust); }
.rating--left { justify-content: flex-start; margin: 0; font-size: .75rem; }
.rating--left .stars { font-size: .8125rem; }
.shop-card__price { font-size: 1rem; font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.swatch { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.shop-card__add { width: 100%; justify-content: center; gap: 8px; margin-top: auto; min-height: 40px; padding: 8px 10px; font-size: .8125rem; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 4px; font-size: .875rem; }
.pagination a { border: 1px solid var(--line); background: var(--white); }
.pagination a:hover { border-color: var(--rust); color: var(--rust); }
.pagination a[aria-current] { background: var(--rust); border-color: var(--rust); color: var(--white); }
.pagination a[aria-disabled] { opacity: .4; pointer-events: none; }

/* Bottom banner */
.shop-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--brown-900); color: var(--white); }
.shop-banner__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.shop-banner__inner { display: grid; gap: 20px; padding-block: 24px 36px; }
.shop-banner h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.1; }
.shop-banner p { color: #e9dfd4; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.btn--ghost { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .55); justify-self: start; }
.btn--ghost:hover { background: rgb(255 255 255 / .16); }
@media (min-width: 900px) {
  .shop-banner { display: flex; align-items: center; min-height: 200px; }
  .shop-banner__img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 70%; height: 100%; }
  .shop-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--brown-900) 0%, var(--brown-900) 30%, rgb(42 28 19 / .6) 48%, rgb(42 28 19 / .35) 100%); }
  .shop-banner__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 36px; }
  .shop-banner h2 .break-lg { display: block; }
  .shop-banner .btn--ghost { justify-self: end; background: rgb(164 85 45 / .85); border-color: rgb(255 255 255 / .35); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #1c130d; color: #d9cec3; font-size: .875rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--white); }

/* Newsletter */
.newsletter { background: linear-gradient(100deg, #6e4124 0%, #7c4a29 50%, #5c351d 100%); color: var(--white); }
.newsletter__inner { display: grid; gap: 18px; padding-block: 24px; }
.newsletter__intro { display: flex; align-items: center; gap: 18px; }
.newsletter__icon { width: 44px; height: 44px; stroke-width: 1.1; }
.newsletter h2 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.newsletter__intro p { margin-top: 2px; font-size: .8125rem; color: #f1e3d4; }

.newsletter__form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter__form input {
  flex: 1 1 200px; min-width: 0; height: 46px; padding: 0 16px;
  background: var(--white); color: var(--ink);
  border: 1px solid transparent; border-radius: 3px;
  font-size: 16px; /* prevents iOS zoom */
}
.newsletter__form input::placeholder { color: #8a817a; }
.newsletter__form input:focus { outline: 2px solid #f1c9a5; outline-offset: 1px; }
.newsletter__form .btn {
  flex: 1 1 100%; justify-content: center; min-height: 46px;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .55);
}
.newsletter__form .btn:hover { background: rgb(255 255 255 / .18); }
.newsletter__msg { flex-basis: 100%; min-height: 0; font-size: .8125rem; color: #f8e6d4; }
.newsletter__msg:empty { display: none; }

/* Main */
.footer-main__inner { display: grid; gap: 32px; padding-block: 36px 28px; }

.logo--light { color: var(--white); align-items: center; width: max-content; }
.logo--light .logo__name { font-size: 1.625rem; }
.logo__tagline { margin-top: 8px; font-size: .75rem; letter-spacing: .04em; color: #d9cec3; }

.footer-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; margin-left: -10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--white); }
.footer-social a:hover { background: rgb(255 255 255 / .08); }

.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
.footer-col h2 {
  margin: 0 0 10px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--white);
}
.footer-col li + li { margin-top: 2px; }
.footer-col a { display: inline-block; padding-block: 4px; }  /* comfortable tap targets */

.footer-info { display: flex; gap: 18px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); }
.footer-info__icon { width: 40px; height: 40px; stroke-width: 1.1; color: var(--white); }
.footer-info p { font-size: .8125rem; line-height: 1.7; color: #c9bdb1; }
.footer-info__lead { display: block; margin-bottom: 6px; color: #eee5db; }

/* Bottom bar */
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); }
.footer-bottom__inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-block: 16px 20px; text-align: center; font-size: .75rem; color: #b3a69a;
}
.footer-usp { display: flex; flex-wrap: wrap; justify-content: center; text-transform: uppercase; letter-spacing: .06em; }
.footer-usp { font-size: .6875rem; letter-spacing: .03em; }
.footer-usp li + li::before { content: "|"; margin-inline: 7px; opacity: .5; }

@media (min-width: 768px) {
  .newsletter__inner { grid-template-columns: 1fr minmax(320px, 570px); align-items: center; gap: 32px; }
  .newsletter__form { flex-wrap: nowrap; }
  .newsletter__form .btn { flex: 0 0 auto; }
  .footer-usp { font-size: .75rem; letter-spacing: .06em; }
  .footer-usp li + li::before { margin-inline: 10px; }
  .newsletter__msg { position: absolute; }
  .newsletter__form { position: relative; }
  .newsletter__msg { top: 100%; margin-top: 4px; }

  .footer-main__inner { grid-template-columns: auto 1fr; column-gap: 48px; }
  .footer-info { grid-column: 1 / -1; }
  .footer-bottom__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1100px) {
  .footer-main__inner { grid-template-columns: 260px minmax(0, 1fr) minmax(300px, 360px); column-gap: clamp(32px, 4vw, 64px); }
  .footer-info { grid-column: auto; padding: 0 0 0 clamp(28px, 3vw, 44px); border-top: 0; border-left: 1px solid rgb(255 255 255 / .12); }
}

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

/* ==========================================================================
   WordPress / WooCommerce additions
   (pages that had no static HTML: product page, contact form, blog, WC notices)
   ========================================================================== */

/* Accessibility helpers used by WordPress + WooCommerce markup */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.logo__img { width: auto; max-height: 44px; }
.logo--sm .logo__img { max-height: 34px; }

/* Cart drawer: AJAX wrapper keeps the original flex layout */
.cart-drawer__inner { display: contents; }
.drawer--cart.is-loading .cart-body,
.drawer--cart.is-loading .cart-foot { opacity: .55; pointer-events: none; transition: opacity .15s; }
.cart-notice { margin: 0; padding: 12px 20px; font-size: .875rem; background: #eef4ea; color: #2f4a26; border-bottom: 1px solid var(--line); }
.cart-notice--error { background: #fbeeea; color: #8a2b16; }
.cart-item__price del, .shop-card__price del, .product-card__price del, .pdp-info__price del { margin-right: 6px; font-weight: 400; color: var(--muted); }
.cart-item__price ins, .shop-card__price ins, .product-card__price ins, .pdp-info__price ins { text-decoration: none; }

/* Forms: notices, textarea, contact links */
.form-notice { margin: 16px 0 0; padding: 12px 14px; border-radius: 4px; font-size: .9375rem; background: #eef4ea; color: #2f4a26; }
.form-notice--error { background: #fbeeea; color: #8a2b16; }
.field textarea {
  width: 100%; min-height: 130px; padding: 12px 14px; resize: vertical;
  background: var(--white); border: 1px solid #ddd3c8; border-radius: 4px; font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgb(164 85 45 / .15); }
.contact-link { color: var(--rust-700); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.contact-link:hover { color: var(--rust); }
.contact .track__inner { align-items: start; }
.contact .track-features { align-content: start; padding-top: 12px; }

/* WooCommerce notices (WooCommerce CSS only loads on cart / checkout / account) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  margin: 0 0 16px; padding: 12px 16px; list-style: none; border-radius: 4px;
  background: #eef4ea; color: #2f4a26; font-size: .9375rem;
}
.woocommerce-info { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.woocommerce-error { background: #fbeeea; color: #8a2b16; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 12px; font-weight: 500; text-decoration: underline; }
.shop-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.shop-empty a { color: var(--rust-700); text-decoration: underline; text-underline-offset: 3px; }
.stock { margin-top: 10px; font-size: .875rem; }
.stock.in-stock { color: #4a6b3f; }
.stock.out-of-stock { color: #8a2b16; }

/* WooCommerce star ratings (reviews) drawn with the theme's star glyphs */
.star-rating { position: relative; display: inline-block; height: 1em; overflow: hidden; font-size: .9375rem; line-height: 1; letter-spacing: 2px; color: #d9cfc5; }
.star-rating::before { content: "★★★★★"; }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; font-size: 0; color: #c8692f; }
.star-rating span::before { content: "★★★★★"; font-size: .9375rem; letter-spacing: 2px; }

/* Breadcrumb on light backgrounds */
.breadcrumb--light ol { color: var(--muted); }
.breadcrumb--light a { color: var(--ink); }

/* ---------- Product page ---------- */
.pdp { padding-block: 20px clamp(32px, 4vw, 48px); }
.pdp .breadcrumb { margin-bottom: 18px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.pdp-gallery__main { position: relative; overflow: hidden; background: #f1ece5; border-radius: 4px; }
.pdp-gallery__main img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pdp-thumb { display: block; width: 100%; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: #f1ece5; }
.pdp-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-thumb[aria-pressed="true"] { border-color: var(--rust); }
.pdp-info__title { margin: 8px 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.12; }
.pdp-info__rating { margin: 0 0 10px; }
.pdp-info__rating a { text-decoration: underline; text-underline-offset: 3px; }
.pdp-info__price { margin: 0 0 16px; font-size: 1.5rem; font-weight: 500; }
.pdp-info__desc { margin-bottom: 18px; color: var(--muted); }
.pdp-info__desc p + p { margin-top: 10px; }
.pdp-info__swatches { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pdp-info__swatches .swatches { margin: 0; }
.pdp-info__swatches .swatch { width: 22px; height: 22px; }
.pdp-info__label { font-size: .875rem; font-weight: 500; }
.pdp-form { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.pdp-form .qty { height: 50px; margin-top: 0; }
.pdp-form .qty button { width: 42px; }
.pdp-form__add { flex: 1 1 220px; justify-content: center; min-height: 50px; }
.pdp-info__meta { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.pdp-usp { display: grid; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.pdp-usp li { display: flex; align-items: center; gap: 14px; font-size: .8125rem; color: var(--muted); }
.pdp-usp strong { display: block; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.pdp-usp .icon { width: 30px; height: 30px; stroke-width: 1.4; color: var(--rust); }
.pdp-details { display: grid; gap: 8px; padding-bottom: clamp(36px, 4vw, 56px); }
.pdp-details .faq-item__answer { color: var(--muted); }
.pdp-desc > * + * { margin-top: 12px; }
.pdp-desc ul, .pdp-desc ol { padding-left: 1.2em; list-style: revert; }
.pdp-desc img { border-radius: 4px; }
@media (min-width: 1024px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* WooCommerce variation / grouped forms inside .pdp-buy */
.pdp-buy .variations { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.pdp-buy .variations th, .pdp-buy .variations td { display: block; padding: 0; text-align: left; }
.pdp-buy .variations th { padding-bottom: 6px; font-size: .875rem; font-weight: 500; }
.pdp-buy .variations td { padding-bottom: 14px; }
.pdp-buy select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #ddd3c8; border-radius: 4px; background: var(--white); font: inherit; }
.pdp-buy .reset_variations { display: inline-block; margin-top: 8px; font-size: .8125rem; color: var(--rust-700); }
.pdp-buy .woocommerce-variation-price { margin-bottom: 12px; font-size: 1.25rem; font-weight: 500; }
.pdp-buy .woocommerce-variation-add-to-cart, .pdp-buy form.cart:not(.pdp-form):not(.variations_form) { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp-buy .quantity .qty { width: 80px; height: 50px; padding: 0 10px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 16px; }
.pdp-buy .single_add_to_cart_button {
  flex: 1 1 220px; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 4px;
  background: var(--rust); color: var(--white); font: inherit; font-weight: 500; cursor: pointer;
}
.pdp-buy .single_add_to_cart_button:hover { background: var(--rust-700); }
.pdp-buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Generic pages, blog, WooCommerce content (cart, checkout, account) ---------- */
.page-head { padding-block: clamp(32px, 5vw, 56px) clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); background: var(--white); }
.page-head h1 { margin: 6px 0 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); line-height: 1.12; }
.page-head__text, .page-head__meta { margin-top: 10px; color: var(--muted); }
.page-head--center { text-align: center; }
.page-head--center .btn { margin-top: 20px; }
.page-content { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.page-empty { margin-bottom: 16px; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: .875rem; }
.pagination .page-numbers.current { background: var(--rust); border-color: var(--rust); color: var(--white); }
.pagination .page-numbers.dots { border: 0; background: none; }

.entry { max-width: 820px; margin-inline: auto; font-size: 1.0625rem; line-height: 1.75; }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4 { margin-top: 1.6em; font-family: var(--serif); line-height: 1.25; }
.entry a { color: var(--rust-700); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.3em; list-style: revert; }
.entry img { border-radius: 4px; }
.entry blockquote { margin-inline: 0; padding-left: 18px; border-left: 3px solid var(--rust); font-family: var(--serif); font-size: 1.25rem; }
.entry__media { max-width: 820px; margin: 0 auto 28px; }
.entry__media img { width: 100%; border-radius: 4px; }
.wc-content.entry { max-width: none; font-size: 1rem; line-height: 1.6; }
.wc-content table { width: 100%; border-collapse: collapse; }
.wc-content th, .wc-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wc-content input[type="text"], .wc-content input[type="email"], .wc-content input[type="tel"], .wc-content input[type="password"], .wc-content input[type="number"], .wc-content select, .wc-content textarea {
  max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #ddd3c8; border-radius: 4px; background: var(--white); font: inherit; font-size: 16px;
}
.wc-content .button, .wc-content button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
  border: 0; border-radius: 4px; background: var(--rust); color: var(--white); font: inherit; font-weight: 500; cursor: pointer;
}
.wc-content .button:hover, .wc-content button[type="submit"]:hover { background: var(--rust-700); }
.track-result { margin-top: 12px; }
.track-result h2 { font-size: 1.125rem; margin: 18px 0 8px; }

/* Product reviews (WooCommerce template) */
#reviews .commentlist { display: grid; gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
#reviews .comment_container { display: flex; gap: 14px; }
#reviews .comment_container img.avatar { width: 44px; height: 44px; border-radius: 50%; }
#reviews .comment-text { flex: 1; }
#reviews .meta { margin: 4px 0; font-size: .8125rem; color: var(--muted); }
#review_form .comment-reply-title { display: block; margin-bottom: 10px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
#review_form p { margin-bottom: 12px; }
#review_form label { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 500; color: var(--ink); }
#review_form textarea, #review_form input[type="text"], #review_form input[type="email"] { width: 100%; }

/* ---------- Colour tiles (variable products) ---------- */
.swatches--pick { gap: 4px; margin-left: -3px; }
.swatch-btn {
  display: grid; place-items: center; padding: 3px; border-radius: 50%; line-height: 0;
  background: none; transition: transform .15s;
}
.swatch-btn .swatch { transition: box-shadow .15s; }
.swatch-btn:hover .swatch { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15), 0 0 0 2px var(--white), 0 0 0 3px #c9b8a6; }
.swatch-btn[aria-pressed="true"] .swatch { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15), 0 0 0 2px var(--white), 0 0 0 3.5px var(--rust); }
.swatch-btn:disabled { cursor: not-allowed; opacity: .3; }
.swatch-btn:focus-visible { outline-offset: 0; }
.swatches.is-required, .pdp-option.is-required { animation: arden-nudge .4s ease 2; }
@keyframes arden-nudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* Product page option groups */
.pdp-form--variable { row-gap: 14px; }
.pdp-option { flex-basis: 100%; }
.pdp-option .pdp-info__label { display: block; margin-bottom: 8px; }
.pdp-option .pdp-info__label strong { font-weight: 500; color: var(--muted); }
.swatches--lg { gap: 8px; margin: 0 0 0 -4px; }
.swatches--lg .swatch-btn { padding: 4px; }
.swatches--lg .swatch { width: 30px; height: 30px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
  min-width: 48px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--white); font-size: .875rem; transition: border-color .15s, background-color .15s;
}
.option-pill:hover { border-color: #c9b8a6; }
.option-pill[aria-pressed="true"] { border-color: var(--rust); background: #f6e7dc; color: var(--rust-700); }
.option-pill:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.pdp-form__msg { flex-basis: 100%; min-height: 0; margin: 0; font-size: .875rem; color: #8a2b16; }
.pdp-form__msg:empty { display: none; }

/* =====================================================================
   My Account — sign in / register, password screens, account area
   ===================================================================== */
.account-page .woocommerce { display: contents; }

/* ---------- Sign in / Create account ---------- */
.auth { padding-block: clamp(20px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.auth__inner { display: grid; gap: 0; }
.auth__brand {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 220px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--brown-900); color: var(--white);
  border-radius: 8px 8px 0 0;
}
.auth__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.auth__brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(42 28 19 / .35) 0%, rgb(42 28 19 / .88) 70%); }
.auth__brand .eyebrow { color: #f1d9c6; }
.auth__title { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.12; }
.auth__lead { margin-top: 12px; max-width: 30rem; color: #eadfd4; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.auth__benefits { display: none; gap: 18px; margin-top: 28px; }
.auth__benefits li { display: flex; align-items: flex-start; gap: 14px; font-size: .9375rem; color: #eadfd4; }
.auth__benefits .icon { flex-shrink: 0; width: 40px; height: 40px; padding: 9px; border: 1px solid rgb(255 255 255 / .35); border-radius: 50%; color: var(--white); }
.auth__benefits strong { display: block; color: var(--white); font-weight: 500; }
.auth__panel {
  padding: clamp(22px, 4vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px;
}
.auth-card { max-width: 440px; margin-inline: auto; }
.auth-card--center { text-align: center; }
.auth-card--center .auth-card__icon { margin-inline: auto; }
.auth-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: #f6ebe3; color: var(--rust); }
.auth-card__icon .icon { width: 26px; height: 26px; }
.auth-card__icon--ok { background: #eaf1e6; color: #4a6b3f; }
.auth-card--center .btn { margin-top: 24px; }
.auth__heading { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.auth__intro { margin-top: 8px; color: var(--muted); font-size: .9375rem; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.auth-tabs__btn { min-height: 44px; border-radius: 4px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.auth-tabs__btn:hover { color: var(--ink); }
.auth-tabs__btn[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgb(42 28 19 / .12); }

.auth-form { display: grid; gap: 18px; margin-top: 24px; }
.auth-form .btn { min-height: 52px; margin-top: 4px; font-size: 1rem; }
.auth-form__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.auth-link { font-size: .9375rem; font-weight: 500; color: var(--rust-700); text-decoration: underline; text-underline-offset: 4px; }
.auth-link:hover { color: var(--rust); }
.auth-switch { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: .9375rem; color: var(--muted); }
.auth-switch a { display: inline-flex; align-items: center; gap: 6px; color: var(--rust-700); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.auth-switch a:hover { color: var(--rust); }
.auth-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--paper); border-radius: 4px; font-size: .875rem; color: var(--muted); }
.auth-note .icon { flex-shrink: 0; color: var(--rust); }
.auth-form .woocommerce-privacy-policy-text { font-size: .8125rem; color: var(--muted); }
.auth-form .woocommerce-privacy-policy-text a { text-decoration: underline; }
.auth__help { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; max-width: 440px; margin: 28px auto 0; font-size: .8125rem; color: var(--muted); }
.auth__help .icon { color: #4a6b3f; }
.auth__help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth .woocommerce-notices-wrapper, .auth .woocommerce-error, .auth .woocommerce-message, .auth .woocommerce-info { max-width: 440px; margin-inline: auto; }
.auth .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 18px; }

@media (min-width: 900px) {
  .auth__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
  .auth__brand { min-height: 0; align-items: flex-end; border-radius: 8px 0 0 8px; }
  .auth__benefits { display: grid; }
  .auth__title .break-lg { display: block; }
  .auth__panel { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; }
  .auth__panel > * { width: 100%; }
}

/* ---------- Shared form bits ---------- */
.field__password { position: relative; }
.field__password input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 48px; height: 48px; color: var(--muted); }
.pw-toggle:hover { color: var(--ink); }
.pw-toggle__hide, .pw-toggle.is-on .pw-toggle__show { display: none; }
.pw-toggle.is-on .pw-toggle__hide { display: block; }
.field__hint { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.field input[type="checkbox"] { width: auto; height: auto; }

/* ---------- Account hero ---------- */
.account-hero { padding-block: clamp(22px, 3.5vw, 40px) clamp(26px, 4vw, 48px); background: var(--brown-900); color: var(--white); }
.account-hero__row { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); margin-top: clamp(16px, 2.5vw, 26px); }
.account-hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.625rem); line-height: 1.15; overflow-wrap: anywhere; }
.account-hero__meta { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 4px; color: #e2d5c8; font-size: .9375rem; overflow-wrap: anywhere; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--rust); color: var(--white); font-weight: 500; letter-spacing: .04em; }
.avatar--lg { width: clamp(56px, 7vw, 76px); height: clamp(56px, 7vw, 76px); font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 2px solid rgb(255 255 255 / .25); }

/* ---------- Account layout ---------- */
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 0 clamp(48px, 6vw, 88px); }
.account__content { min-width: 0; }
.account__title { margin-bottom: 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.account__intro { margin-bottom: 18px; color: var(--muted); font-size: .9375rem; }

/* Navigation — horizontal chips on mobile, sidebar on desktop */
.account-nav {
  position: sticky; top: var(--header-h); z-index: 5;
  margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.account-nav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.account-nav ul::-webkit-scrollbar { display: none; }
.account-nav li { flex-shrink: 0; scroll-snap-align: start; }
.account-nav a {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; font-weight: 500; white-space: nowrap; color: var(--muted);
  transition: background-color .2s, color .2s, border-color .2s;
}
.account-nav a .icon { width: 18px; height: 18px; }
.account-nav a:hover { color: var(--ink); border-color: #d4c7b9; }
.account-nav a[aria-current="page"] { background: var(--brown-900); border-color: var(--brown-900); color: var(--white); }
.account-nav__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rust); color: var(--white); font-size: .6875rem; }
.account-nav__count[hidden] { display: none; }
.account-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: #8a2b16; }

@media (min-width: 1024px) {
  .account-layout { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-items: start; padding-top: clamp(32px, 4vw, 48px); }
  .account-nav { top: calc(var(--header-h) + 24px); margin: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
  .account-nav ul { flex-direction: column; gap: 2px; overflow: visible; }
  .account-nav a { min-height: 48px; padding: 10px 14px; border: 0; border-radius: 6px; font-size: .9375rem; background: transparent; }
  .account-nav a:hover { background: var(--paper); }
  .account-nav a[aria-current="page"] { background: #f6ebe3; color: var(--rust-700); }
  .account-nav__count { margin-left: auto; }
  .account-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
}
@media (max-width: 1023.98px) { .account__content { padding-top: 4px; } }

/* Panels */
.account-panel { padding: clamp(18px, 2.5vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.account-panel + .account-panel, .account-stats + .account-panel, .account-panel + .account-links, .order-summary + .account-panel { margin-top: 20px; }
.account-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.account-panel__head h2, .account-panel__head h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.account-panel__note { font-size: .8125rem; color: var(--muted); }

/* Dashboard */
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.account-stat {
  display: flex; flex-direction: column; gap: 12px; padding: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.account-stat:hover { border-color: #d4c7b9; box-shadow: 0 6px 20px rgb(42 28 19 / .06); }
.account-stat__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f6ebe3; color: var(--rust); }
.account-stat__icon .icon { width: 20px; height: 20px; }
.account-stat__value { display: block; font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.1; }
.account-stat__label { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
@media (min-width: 640px) {
  .account-stats { gap: 16px; }
  .account-stat { flex-direction: row; align-items: center; padding: 20px; }
  .account-stat__icon { width: 48px; height: 48px; }
}
.account-links { display: grid; gap: 12px; }
@media (min-width: 640px) { .account-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.account-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.account-link:hover { border-color: #d4c7b9; box-shadow: 0 6px 20px rgb(42 28 19 / .06); }
.account-link__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--rust); }
.account-link__icon .icon { width: 20px; height: 20px; }
.account-link__body { flex: 1; min-width: 0; }
.account-link__body strong { display: block; font-weight: 500; }
.account-link__body span { display: block; font-size: .875rem; color: var(--muted); }
.account-link__arrow { color: var(--muted); transition: transform .2s; }
.account-link:hover .account-link__arrow { transform: translateX(3px); color: var(--rust); }

/* Empty states */
.account-empty { display: grid; justify-items: center; gap: 8px; padding-block: clamp(28px, 5vw, 56px); text-align: center; }
.account-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: #f6ebe3; color: var(--rust); }
.account-empty__icon .icon { width: 28px; height: 28px; }
.account-empty h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.account-empty p { max-width: 26rem; color: var(--muted); font-size: .9375rem; }
.account-empty .btn { margin-top: 12px; }
.account-empty[hidden] { display: none; }

/* Outline button */
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px;
  border: 1px solid #d4c7b9; border-radius: 4px; background: var(--white);
  font-size: .875rem; font-weight: 500; white-space: nowrap;
  transition: border-color .2s, background-color .2s, color .2s;
}
.btn-line:hover { border-color: var(--ink); }
.btn-line--dark { background: var(--brown-900); border-color: var(--brown-900); color: var(--white); }
.btn-line--dark:hover { background: var(--rust); border-color: var(--rust); }

/* Status pills */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--completed { background: #eaf1e6; color: #3f5f34; }
.status-pill--processing { background: #f6ebe3; color: var(--rust-700); }
.status-pill--on-hold, .status-pill--pending { background: #fbf3dc; color: #7a5a10; }
.status-pill--cancelled, .status-pill--failed { background: #fbeeea; color: #8a2b16; }
.status-pill--refunded { background: #eef0f4; color: #45506a; }

/* Order cards */
.order-list { display: grid; gap: 14px; }
.order-card { padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.account-panel .order-card { padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.account-panel .order-card:first-child { padding-top: 0; border-top: 0; }
.order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-card__number { display: block; font-weight: 500; }
.order-card__number:hover { color: var(--rust); }
.order-card__date { display: block; font-size: .8125rem; color: var(--muted); }
.order-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.order-card__thumbs { display: flex; }
.order-card__thumbs li { width: 52px; height: 52px; overflow: hidden; border: 2px solid var(--white); border-radius: 6px; background: var(--paper); }
.order-card__thumbs li + li { margin-left: -10px; }
.order-card__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.order-card__more { display: grid; place-items: center; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.order-card__total { text-align: right; }
.order-card__total strong { display: block; font-weight: 500; }
.order-card__total span { font-size: .8125rem; color: var(--muted); }
.order-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 479.98px) { .order-card__actions .btn-line { flex: 1 1 auto; } }
@media (min-width: 768px) {
  .order-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 200px; align-items: center; gap: 20px; padding: 18px 22px; }
  .order-card__head { display: contents; }
  .order-card__head > div { grid-column: 1; grid-row: 1; }
  .order-card__head .status-pill { grid-column: 1; grid-row: 2; justify-self: start; margin-top: -12px; }
  .order-card__body { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .order-card__actions { grid-column: 3; grid-row: 1 / 3; justify-content: flex-end; margin: 0; padding: 0; border: 0; }
}

.account-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; font-size: .875rem; color: var(--muted); }

/* Single order */
.order-summary__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-summary__number { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.order-summary__date { font-size: .875rem; color: var(--muted); }
.order-progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 4px; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted); text-align: center; }
.order-progress::before, .order-progress::after { content: ""; position: absolute; top: 15px; left: 16.66%; height: 2px; background: var(--line); }
.order-progress::before { right: 16.66%; }
.order-progress::after { width: calc((var(--step) - 1) * 33.33%); background: var(--rust); }
.order-progress li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; }
.order-progress__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); color: transparent; }
.order-progress .is-done { color: var(--ink); font-weight: 500; }
.order-progress .is-done .order-progress__dot { background: var(--rust); border-color: var(--rust); color: var(--white); }
.order-notes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.order-notes li { padding-left: 16px; border-left: 2px solid var(--rust); }
.order-notes time { font-size: .8125rem; color: var(--muted); }
.order-notes p { margin: 2px 0 0; }

/* WooCommerce order details (inside .order-details) */
.order-details { margin-top: 20px; }
.order-details h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.order-details section + section { margin-top: 28px; }
.account__content table.shop_table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.account__content .shop_table th, .account__content .shop_table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.account__content .shop_table thead th { padding-top: 0; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.account__content .shop_table td:last-child, .account__content .shop_table th:last-child { text-align: right; }
.account__content .shop_table tfoot th { font-weight: 400; color: var(--muted); }
.account__content .shop_table tfoot tr:last-child th, .account__content .shop_table tfoot tr:last-child td { border-bottom: 0; font-weight: 500; color: var(--ink); font-size: 1.0625rem; }
.account__content .shop_table a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.account__content .wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted); }
.account__content .wc-item-meta li, .account__content .wc-item-meta p { display: inline; margin: 0; }
.account__content .product-quantity { color: var(--muted); }
.woocommerce-customer-details .woocommerce-columns { display: grid; gap: 16px; }
@media (min-width: 640px) { .woocommerce-customer-details .woocommerce-columns--2 { grid-template-columns: 1fr 1fr; } }
.woocommerce-customer-details address { padding: 16px; border: 1px solid var(--line); border-radius: 6px; font-style: normal; line-height: 1.7; }
.woocommerce-customer-details address p { margin: 6px 0 0; color: var(--muted); }
.order-again { margin-top: 20px; }
.account__content .button, .account__content button.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
  background: var(--rust); color: var(--white); border: 0; border-radius: 4px; font-weight: 500; cursor: pointer; text-decoration: none;
}
.account__content .button:hover { background: var(--rust-700); }
.account__content .woocommerce-info .button, .account__content .woocommerce-message .button { min-height: 0; padding: 0; background: none; color: inherit; text-decoration: underline; }

/* Addresses */
.address-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.address-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(18px, 2.5vw, 26px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.address-card__head { display: flex; align-items: center; gap: 12px; }
.address-card__head h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.125rem; }
.address-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f6ebe3; color: var(--rust); }
.address-card__icon .icon { width: 20px; height: 20px; }
.address-card__body { flex: 1; font-style: normal; line-height: 1.75; color: var(--muted); }
.address-card__empty { font-size: .9375rem; }
.address-card .btn-line { align-self: flex-start; }

/* Account forms (details + edit address, incl. woocommerce_form_field output) */
.account-form .account-panel + .account-panel { margin-top: 20px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; } }
.form-grid__full, .form-grid .form-row-wide, .form-grid .notes { grid-column: 1 / -1; }
.form-grid .form-row { margin: 0; }
.form-grid .form-row label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 500; }
.form-grid .form-row .required { color: #c0392b; text-decoration: none; border: 0; }
.form-grid .form-row .optional { font-weight: 400; color: var(--muted); }
.form-grid .woocommerce-input-wrapper { display: block; }
.form-grid .input-text, .form-grid select, .account-form .select2-container .select2-selection--single {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--white); border: 1px solid #ddd3c8; border-radius: 4px;
  font: inherit; font-size: 16px; color: var(--ink);
}
.form-grid textarea.input-text { height: auto; min-height: 96px; padding: 12px 14px; }
.form-grid .input-text:focus, .form-grid select:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgb(164 85 45 / .15); }
.form-grid .woocommerce-invalid .input-text { border-color: #c0392b; }
.account-form .select2-container { width: 100% !important; }
.account-form .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 46px; color: var(--ink); }
.account-form .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.form-grid .description { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.form-grid .form-row-first, .form-grid .form-row-last { grid-column: auto; }
.account-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
@media (max-width: 639.98px) { .account-form__foot .btn { width: 100%; justify-content: center; } }

/* Downloads */
.download-list { display: grid; gap: 12px; }
.download-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 16px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.download-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f6ebe3; color: var(--rust); }
.download-card__title { font-weight: 500; }
.download-card__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.download-card .btn { grid-column: 1 / -1; justify-content: center; }
@media (min-width: 640px) { .download-card { grid-template-columns: auto minmax(0, 1fr) auto; } .download-card .btn { grid-column: auto; } }

/* Wishlist page */
.wishlist__grid { margin: 0; padding: 0; }
@media (min-width: 1024px) { .wishlist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Payment methods (default WooCommerce table) */
.account__content .woocommerce-PaymentMethods { margin: 0; }
.account__content .woocommerce-MyAccount-paymentMethods + .button, .account__content > .button { margin-top: 16px; }
.wishlist .wish { background: rgb(255 255 255 / .92); box-shadow: 0 1px 4px rgb(42 28 19 / .15); }
@media (max-width: 639.98px) { .account-hero__meta { flex-direction: column; } .account-hero__dot { display: none; } }
