/* ──────────────────────────────────────────────────────────────
   wearbysama — design system
   One file, loaded by every page. Colours are CSS variables so the
   light/dark switch is a single attribute on <html>.
   ────────────────────────────────────────────────────────────── */

/* Fonts are linked from each page's <head> so they download in parallel
   with this stylesheet rather than waiting for it. */

:root {
  /* ── Light (default) ──
     Warm off-white, chosen to sit against the product photography,
     which is all shot on a cream backdrop. */
  --c-black:        #F6F4ED;   /* page background */
  --c-dark:         #FFFFFF;
  --c-surface:      #FFFFFF;   /* cards */
  --c-surface-2:    #EFEBDF;   /* inputs, quiet tiles */
  --c-surface-3:    #E3DBCB;
  --c-tile:         #E0D8C9;   /* backdrop behind product photos */
  --c-border:       rgba(28,24,19,0.13);
  --c-border-light: rgba(28,24,19,0.07);
  --c-cream:        #15130F;   /* primary text */
  --c-cream-dim:    #6B6559;   /* secondary text */
  --c-sand:         #8A6A38;   /* accent */
  --c-sand-dark:    #6E5228;
  --c-muted:        #938C7E;
  --c-on-accent:    #FFFBF3;
  --c-ink:          #15130F;   /* solid dark buttons */
  --c-on-ink:       #FAF8F2;
  --c-nav-bg:       rgba(246,244,237,0.92);
  --c-olive:        #4D5442;
  --c-olive-light:  #6E7A61;
  --c-brown:        #7A5C44;
  --c-error:        #B03024;
  --c-success:      #1E8449;
  --c-star:         #8A7A4F;
  --shadow-sm:      0 1px 2px rgba(28,24,19,0.06), 0 2px 8px rgba(28,24,19,0.05);
  --shadow-md:      0 2px 6px rgba(28,24,19,0.07), 0 12px 28px rgba(28,24,19,0.08);
  --shadow-lg:      0 -2px 10px rgba(28,24,19,0.06), 0 -16px 40px rgba(28,24,19,0.10);
  --hero-branch-opacity: 0.07;
  --img-dim: 1;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-heading: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-body:    'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --topbar-h: 34px;
  --nav-h: 64px;
  --max-w: 1240px;
  --gutter: 40px;
}

:root[data-theme="dark"] {
  --c-black:        #0D0C0A;
  --c-dark:         #141310;
  --c-surface:      #191713;
  --c-surface-2:    #211E1A;
  --c-surface-3:    #2C2822;
  --c-tile:         #221F1A;
  --c-border:       rgba(196,168,130,0.16);
  --c-border-light: rgba(196,168,130,0.09);
  --c-cream:        #F2EADE;
  --c-cream-dim:    #B4A99B;
  --c-sand:         #C4A882;
  --c-sand-dark:    #9E7E5A;
  --c-muted:        #6B655C;
  --c-on-accent:    #0D0C0A;
  --c-ink:          #F2EADE;
  --c-on-ink:       #0D0C0A;
  --c-nav-bg:       rgba(13,12,10,0.92);
  --c-olive-light:  #7D8A6F;
  --c-error:        #E06A5C;
  --c-success:      #4CC27E;
  --c-star:         #C4A882;
  --shadow-sm:      0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:      0 2px 6px rgba(0,0,0,0.4), 0 12px 28px rgba(0,0,0,0.45);
  --shadow-lg:      0 -2px 10px rgba(0,0,0,0.4), 0 -16px 40px rgba(0,0,0,0.5);
  --hero-branch-opacity: 0.05;
  --img-dim: 0.9;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--c-black);
  color: var(--c-cream);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--c-sand); outline-offset: 2px; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--ff-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.t-display { font-family: var(--ff-display); font-weight: 300; line-height: 1.08; letter-spacing: -0.015em; }
.t-serif   { font-family: var(--ff-display); font-weight: 400; }
.t-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.t-body { font-size: 15px; line-height: 1.7; color: var(--c-cream-dim); }
.t-muted { color: var(--c-muted); }

.h-xl { font-size: clamp(32px, 8vw, 54px); font-weight: 700; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(26px, 5.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; }
.h-md { font-size: clamp(22px, 4.4vw, 28px); font-weight: 700; letter-spacing: -0.025em; }
.h-sm { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  font-family: var(--ff-heading);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s, border-color 0.22s, transform 0.14s, opacity 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary { background: var(--c-ink); color: var(--c-on-ink); border-color: var(--c-ink); }
.btn-primary:not(:disabled):hover { background: var(--c-sand); border-color: var(--c-sand); color: var(--c-on-accent); }

.btn-outline { background: transparent; color: var(--c-cream); border-color: var(--c-border); }
.btn-outline:not(:disabled):hover { background: var(--c-surface-2); border-color: var(--c-cream-dim); }

.btn-dark  { background: var(--c-surface-2); color: var(--c-cream); border-color: var(--c-border-light); }
.btn-dark:hover  { background: var(--c-surface-3); }

.btn-sm   { padding: 10px 18px; font-size: 13px; }
.btn-lg   { padding: 18px 28px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-danger { background: transparent; color: var(--c-error); border-color: var(--c-error); }
.btn-danger:hover { background: var(--c-error); color: #fff; }

/* Small round icon button (back arrow, carousel arrow, quick add) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-cream);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease-spring), background 0.2s;
  flex-shrink: 0;
}
.icon-btn:hover { transform: scale(1.07); }
.icon-btn--ink { background: var(--c-ink); color: var(--c-on-ink); }

/* Pill link, e.g. "< All products" */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.pill:hover { border-color: var(--c-cream-dim); }

/* ── Announcement bar ── */
.topbar {
  height: var(--topbar-h);
  background: var(--c-ink);
  color: var(--c-on-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0 16px;
  text-align: center;
}
.topbar svg { flex-shrink: 0; opacity: 0.9; }

/* ── Header ── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  background: var(--c-nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-head.scrolled { border-bottom-color: var(--c-border-light); }
.site-head__logo {
  font-family: var(--ff-display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.055em;
  color: var(--c-cream);
  justify-self: center;
  white-space: nowrap;
}
.site-head__logo .accent { font-style: italic; color: var(--c-sand); letter-spacing: 0.02em; }
.site-head__left  { justify-self: start; }
.site-head__right { justify-self: end; }

.head-btn {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--c-cream);
  position: relative;
  transition: background 0.2s;
}
.head-btn:hover { background: var(--c-surface-2); }
.head-btn__burger { display: block; width: 22px; }
.head-btn__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  margin: 4px 0;
}
.head-btn__burger span:nth-child(1) { width: 60%; }
.head-btn__burger span:nth-child(2) { width: 100%; }
.head-btn__burger span:nth-child(3) { width: 80%; }

.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-sand);
  color: var(--c-on-accent);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform 0.3s var(--ease-spring);
}
.cart-count.bump { transform: scale(1.45); }

/* ── Side drawer ── */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(21,19,15,0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 91;
  width: min(86vw, 380px);
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  padding: 18px 20px 24px;
  transform: translateX(-102%);
  transition: transform 0.36s var(--ease);
  box-shadow: 0 0 60px rgba(21,19,15,0.18);
  overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.drawer__logo {
  font-family: var(--ff-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.055em;
}
.drawer__logo .accent { font-style: italic; color: var(--c-sand); }
.drawer__close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--c-cream-dim);
}
.drawer__close:hover { background: var(--c-surface-2); color: var(--c-cream); }

.drawer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  width: 100%;
  text-align: left;
  font-family: var(--ff-heading);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-cream);
  border-radius: var(--r-sm);
  transition: opacity 0.18s;
}
.drawer-row:hover { opacity: 0.6; }
.drawer-row__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cream);
  flex-shrink: 0;
}
.drawer-row__chev { margin-left: auto; color: var(--c-muted); transition: transform 0.25s var(--ease); }
.drawer-row.open .drawer-row__chev { transform: rotate(180deg); }

.drawer-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.drawer-sub.open { grid-template-rows: 1fr; }
.drawer-sub > div { overflow: hidden; }
.drawer-sub a {
  display: block;
  padding: 7px 0 7px 58px;
  font-size: 16px;
  font-weight: 400;
  color: var(--c-cream-dim);
}
.drawer-sub a:hover { color: var(--c-cream); }

.drawer__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.drawer__ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 500;
}
.drawer__ig:hover { border-color: var(--c-cream-dim); }
.drawer__note { font-size: 13px; color: var(--c-muted); }

/* ── Section heading ── */
.section { padding: 56px 0; }
.section-head { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { font-size: 15px; color: var(--c-muted); }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* ── Product card ── */
.product-card { display: block; position: relative; }
.product-card__img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-tile);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__img {
  width: 100%;
  height: 100%;
  /* contain, not cover: the product photography is landscape flat-lays and
     cropping them to the tile cut the garment in half. An image already
     cropped to the tile's shape fills it exactly, so this is right either way. */
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__img { transform: scale(1.03); }
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--c-surface);
  color: var(--c-cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.product-card__add {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-spring), background 0.2s, color 0.2s;
  z-index: 2;
}
.product-card__add:hover { transform: scale(1.1); background: var(--c-ink); color: var(--c-on-ink); }
.product-card__soldout {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246,244,237,0.55);
  -webkit-backdrop-filter: saturate(0.3);
  backdrop-filter: saturate(0.3);
  pointer-events: none;
}
:root[data-theme="dark"] .product-card__soldout { background: rgba(13,12,10,0.55); }
.product-card__soldout span {
  background: var(--c-ink);
  color: var(--c-on-ink);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--r-pill);
}
.product-card__info { padding: 13px 2px 0; }
.product-card__name {
  font-family: var(--ff-heading);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1px;
}
.product-card__collection { font-size: 14px; color: var(--c-muted); margin-bottom: 4px; }
.product-card__price { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }

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

/* ── Horizontal scroller (collections) ── */
.hscroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

.collection-tile {
  position: relative;
  width: min(78vw, 340px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-tile);
  display: block;
}
.collection-tile__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.collection-tile:hover .collection-tile__img { transform: scale(1.04); }
.collection-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 38%, rgba(16,14,11,0.72));
}
.collection-tile__body {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.collection-tile__name {
  font-family: var(--ff-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  color: #F6F1E8;
  letter-spacing: 0.01em;
}
.collection-tile__count { font-size: 13.5px; color: rgba(246,241,232,0.78); }

/* ── Newsletter ── */
.newsletter {
  background: var(--c-surface-2);
  padding: 48px 0;
}
.newsletter h2 { margin-bottom: 18px; }
.newsletter__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.newsletter__row .field-input { flex: 1 1 220px; }
.newsletter__msg { font-size: 13.5px; margin-top: 12px; color: var(--c-cream-dim); }

/* ── Fields ── */
.field { margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-cream-dim);
  margin-bottom: 7px;
}
.field-input, .form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-cream);
  font-size: 15.5px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field-input:focus, .form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-cream-dim);
  box-shadow: 0 0 0 3px var(--c-surface-2);
}
.field-input::placeholder, .form-input::placeholder, .form-textarea::placeholder { color: var(--c-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select, select.field-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23938C7E' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-cream-dim);
  margin-bottom: 7px;
}
.form-error { font-size: 13px; color: var(--c-error); margin-top: 6px; }

/* ── Card ── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 20px;
}

/* ── Accordion ── */
.acc { border-top: 1px solid var(--c-border-light); }
.acc:last-child { border-bottom: 1px solid var(--c-border-light); }
.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  font-family: var(--ff-heading);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: left;
  color: var(--c-cream);
}
.acc__head svg { color: var(--c-muted); transition: transform 0.26s var(--ease); flex-shrink: 0; }
.acc.open .acc__head svg { transform: rotate(180deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.acc.open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel-inner { padding-bottom: 20px; font-size: 15px; line-height: 1.7; color: var(--c-cream-dim); }
.acc__panel-inner ul { list-style: disc; padding-left: 20px; }
.acc__panel-inner li { margin-bottom: 6px; }
.acc__panel-inner a { color: var(--c-cream); text-decoration: underline; text-underline-offset: 3px; }

/* ── Stars ── */
.stars { display: inline-flex; gap: 2px; color: var(--c-star); line-height: 0; }
.stars svg { width: 15px; height: 15px; }
.stars--lg svg { width: 19px; height: 19px; }
.stars .empty { opacity: 0.25; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  background: var(--c-ink);
  color: var(--c-on-ink);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  z-index: 500;
  transition: transform 0.4s var(--ease-spring);
  pointer-events: none;
  max-width: calc(100vw - 32px);
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-md);
}
.toast.show { transform: translateX(-50%) translateY(0); }
body.has-stickybar .toast.show { transform: translateX(-50%) translateY(-76px); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state__icon { font-size: 36px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 23px; margin-bottom: 8px; }
.empty-state p { color: var(--c-muted); font-size: 15px; margin-bottom: 24px; }

.divider { height: 1px; background: var(--c-border-light); }

/* ── Scroll reveal ──
   Scoped to html.js so that if the script never runs — or an
   IntersectionObserver never fires — the page is still readable. */
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.10s; }
.d3 { transition-delay: 0.15s; }
.d4 { transition-delay: 0.20s; }
.d5 { transition-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Footer ── */
.site-foot {
  background: var(--c-black);
  border-top: 1px solid var(--c-border-light);
  padding: 8px 0 36px;
  margin-top: 40px;
}
.site-foot .acc__head { font-size: 17px; }
.site-foot__links { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.site-foot__links a { font-size: 15px; color: var(--c-cream-dim); }
.site-foot__links a:hover { color: var(--c-cream); }
.site-foot__bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.site-foot__logo {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.055em;
}
.site-foot__logo .accent { font-style: italic; color: var(--c-sand); }
.site-foot__meta { font-size: 13px; color: var(--c-muted); }
.site-foot__social { display: flex; gap: 10px; }
.site-foot__social a {
  width: 40px; height: 40px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-cream-dim);
  transition: border-color 0.2s, color 0.2s;
}
.site-foot__social a:hover { border-color: var(--c-cream-dim); color: var(--c-cream); }

/* ── Sticky add-to-cart bar ── */
.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(130%);
  transition: transform 0.35s var(--ease);
  pointer-events: none;
}
.stickybar.show { transform: none; pointer-events: auto; }
.stickybar__inner {
  max-width: 620px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.stickybar__thumb {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--c-tile);
  object-fit: contain;
  flex-shrink: 0;
}
.stickybar__text { min-width: 0; flex: 1; }
.stickybar__name {
  font-size: 15px; font-weight: 700; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stickybar__meta { font-size: 13px; color: var(--c-muted); }

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(21,19,15,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease);
  padding: 0;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__box {
  background: var(--c-black);
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(24px);
  transition: transform 0.3s var(--ease);
}
.modal.open .modal__box { transform: none; }
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px;
}
@media (min-width: 640px) {
  .modal { align-items: center; padding: 24px; }
  .modal__box { border-radius: var(--r-lg); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .section { padding: 42px 0; }
  .product-card__img-wrap { border-radius: var(--r-md); }
}
@media (max-width: 420px) {
  .product-card__name { font-size: 15.5px; }
  .product-card__collection { font-size: 13px; }
}
