/* ==========================================================================
   Mlokhia Creatives — design system
   Sharp edges · soft shadows · one typeface · slow reveals
   ========================================================================== */

/* ---------- Fonts ---------------------------------------------------------- */

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-tight-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-tight-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens --------------------------------------------------------- */

:root {
  /* Colour */
  --ink: #0a0a0a;
  --ink-2: #4a4a4a;
  --ink-3: #8c8c8c;
  --line: #e7e7e4;
  --line-strong: #d4d4d0;
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --bg-3: #f0f0ed;
  --accent: #c1fa37;
  --accent-deep: #a8e01e;
  --on-accent: #0a0a0a;

  /* Type */
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
    Arial, sans-serif;
  --fs-hero: clamp(2.125rem, 1.35rem + 2.6vw, 3.35rem);
  --fs-h2: clamp(1.5rem, 1.16rem + 1.15vw, 2.125rem);
  --fs-h3: clamp(1.0625rem, 0.98rem + 0.28vw, 1.25rem);
  --fs-body: clamp(0.9375rem, 0.91rem + 0.12vw, 1rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Space */
  --gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  --section: clamp(4.5rem, 2.4rem + 7vw, 9.5rem);
  --pad-x: clamp(1.25rem, 0.4rem + 3.4vw, 3.5rem);
  --maxw: 1320px;
  --maxw-narrow: 760px;

  /* Depth — soft only */
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.035), 0 10px 28px rgba(10, 10, 10, 0.05);
  --shadow-lift: 0 2px 6px rgba(10, 10, 10, 0.05), 0 22px 52px rgba(10, 10, 10, 0.09);
  --outline: inset 0 0 0 1.5px var(--ink);

  /* Motion — slow and calm */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 260ms;
  --t: 520ms;
  --t-slow: 1100ms;

  --header-h: 74px;
}

/* ---------- Reset ---------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

/* Sharp edges everywhere — no exceptions */
* {
  border-radius: 0;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Component display rules must not out-rank the hidden attribute. */
[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Typography ----------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: var(--fs-hero);
}

h2,
.h2 {
  font-size: var(--fs-h2);
}

h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lede {
  color: var(--ink-2);
  font-size: clamp(1rem, 0.95rem + 0.24vw, 1.125rem);
  line-height: 1.6;
  max-width: 46ch;
  text-wrap: pretty;
}

.muted {
  color: var(--ink-2);
}

.accent {
  color: var(--accent-deep);
}

/* Accent underline for a few important titles */
.mark {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.13em;
  text-decoration-skip-ink: none;
}

.meta {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Layout --------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.wrap--narrow {
  max-width: calc(var(--maxw-narrow) + var(--pad-x) * 2);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.62);
}

.section--alt {
  background: var(--bg-2);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--ink .lede,
.section--ink .muted {
  color: rgba(255, 255, 255, 0.66);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* Section head: title left, link right — no eyebrows */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 1rem + 2.4vw, 3.5rem);
}

.sec-head__text {
  max-width: 52ch;
  display: grid;
  gap: 0.85rem;
}

/* ---------- Buttons -------------------------------------------------------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
    box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn:active {
  transform: translateY(0);
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}

.btn--ink:hover {
  --btn-bg: #1c1c1c;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost:hover {
  box-shadow: var(--outline), var(--shadow);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1.15rem 2.35rem;
  font-size: 0.9375rem;
}

.btn[disabled],
.btn.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

/* Text link with a slow underline sweep */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding-bottom: 3px;
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease);
}

.link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link__arrow {
  transition: transform var(--t) var(--ease);
}

.link:hover .link__arrow {
  transform: translateX(4px);
}

/* ---------- Reveal on scroll ---------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal='fade'] {
  transform: none;
}

.js [data-reveal='right'] {
  transform: translateX(30px);
}

.js [data-reveal='left'] {
  transform: translateX(-30px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Image mask reveal */
.js [data-reveal='mask'] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1400ms var(--ease-out);
}

.js [data-reveal='mask'].is-in {
  clip-path: inset(0 0 0 0);
}

/* ---------- Header --------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: inset 0 -1px 0 transparent;
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}

.header.is-stuck {
  box-shadow: inset 0 -1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}

.brand img {
  height: 22px;
  width: auto;
  transition: opacity var(--t) var(--ease);
}

.brand:hover img {
  opacity: 0.65;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.4rem + 1.6vw, 2.25rem);
}

.nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding-block: 6px;
  color: var(--ink-2);
  transition: color var(--t) var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease);
}

.nav a:hover,
.nav a[aria-current='page'],
.nav .current-menu-item > a {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current='page']::after,
.nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: clamp(0.75rem, 2vw, 2rem);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--t) var(--ease);
}

.icon-btn:hover {
  background: var(--bg-3);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.burger {
  display: none;
}

/* Mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}

.sheet.is-open {
  visibility: visible;
  opacity: 1;
}

.sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: var(--pad-x);
  box-shadow: inset 0 -1px 0 var(--line);
}

.sheet__nav {
  padding: clamp(1.5rem, 5vw, 3rem) var(--pad-x);
  display: grid;
  gap: 0.25rem;
}

.sheet__nav a {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  padding-block: 0.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out),
    color var(--t) var(--ease);
}

.sheet.is-open .sheet__nav a {
  opacity: 1;
  transform: none;
}

.sheet__nav a:hover {
  color: var(--accent-deep);
}

.sheet__foot {
  margin-top: auto;
  padding: var(--pad-x);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

/* ---------- Hero — full-bleed image, slogan only ---------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  height: calc(100svh - var(--header-h));
  min-height: 440px;
  max-height: 1040px;
  overflow: hidden;
  background: var(--bg-3);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  /* Runs on load rather than on a reveal class, so the photograph is painted
     in the very first frame instead of waiting at opacity 0. */
  animation: heroIn 2600ms var(--ease-out) both;
}

@keyframes heroIn {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero__img--mobile {
  display: none;
}

/* Scrim only where the slogan sits, so the photograph stays clean. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.62) 0%,
    rgba(10, 10, 10, 0.24) 26%,
    rgba(10, 10, 10, 0) 52%
  );
}

.hero__slogan {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-block: clamp(2.25rem, 1rem + 4vw, 4.75rem);
  max-width: 17ch;
  text-shadow: 0 1px 24px rgba(10, 10, 10, 0.28);
}

/* Shared by the CTA blocks on other pages. */
.hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ---------- Category rail -------------------------------------------------- */

.rail {
  --rail-gap: clamp(0.75rem, 0.3rem + 1.4vw, 1.75rem);
  display: grid;
  gap: clamp(1.15rem, 0.7rem + 1.4vw, 1.85rem);
}

.rail + .rail {
  margin-top: clamp(2.75rem, 1.5rem + 4vw, 5.5rem);
}

.rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
}

.rail__title {
  display: grid;
  gap: 0.5rem;
}

.rail__aside {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 0 0 auto;
}

.rail__nav {
  display: flex;
  gap: 0.4rem;
}

.rail__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease),
    color var(--t) var(--ease), opacity var(--t) var(--ease);
}

.rail__btn:hover:not([disabled]) {
  box-shadow: var(--outline);
  background: var(--accent);
}

.rail__btn[disabled] {
  opacity: 0.32;
  cursor: default;
}

.rail__btn svg {
  width: 17px;
  height: 17px;
}

.rail__btn--prev svg {
  transform: rotate(180deg);
}

.rail__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Room for the cards' soft shadow, which the overflow would otherwise clip. */
  margin: -6px -6px -18px;
  padding: 6px 6px 18px;
}

.rail__viewport::-webkit-scrollbar {
  display: none;
}

/* Desktop shows exactly four cards, then scrolls. */
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--rail-gap)) / 4);
  gap: var(--rail-gap);
}

.rail__track > * {
  scroll-snap-align: start;
}

.rail__all {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

/* ---------- Full-width promo band ------------------------------------------ */

.promo {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 54vw, 640px);
  overflow: hidden;
  background: var(--ink);
}

.promo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Favour the garment over the face — a wide band from a 4:5 portrait
     otherwise crops to a chin. */
  object-position: 50% 46%;
  transform: scale(1.06);
  transition: transform 2400ms var(--ease-out);
}

.promo.is-in .promo__img {
  transform: scale(1);
}

.promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
}

.promo__copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem);
  color: #fff;
  max-width: 52ch;
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.promo__copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 0.95rem + 0.24vw, 1.125rem);
  line-height: 1.6;
}

/* ---------- Instagram ------------------------------------------------------ */

.gram__head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem);
}

.gram__handle {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  transition: color var(--t) var(--ease);
}

.gram__handle:hover {
  color: var(--accent-deep);
}

.gram__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.35rem, 0.8vw, 0.75rem);
}

.gram__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-2);
  display: block;
}

.gram__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--ease-out);
}

.gram__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.34);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.gram__item:hover img {
  transform: scale(1.06);
}

.gram__item:hover::after {
  opacity: 1;
}

.gram__icon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

.gram__item:hover .gram__icon {
  opacity: 1;
  transform: none;
}

.gram__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

/* ---------- Cards (shared) ------------------------------------------------- */

.card {
  position: relative;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--outline), var(--shadow-lift);
}

.card__body {
  padding: clamp(1.35rem, 0.9rem + 1.2vw, 2rem);
  display: grid;
  gap: 0.6rem;
}

.card__num {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

/* ---------- Product card --------------------------------------------------- */

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr));
  gap: clamp(1rem, 0.4rem + 1.8vw, 2rem);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--outline), var(--shadow-lift);
}

.product__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}

.product__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image switch on hover — slow crossfade + gentle push */
.product__img--front {
  opacity: 1;
  transform: scale(1);
  transition: opacity 760ms var(--ease), transform 1600ms var(--ease-out);
}

.product__img--back {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 760ms var(--ease), transform 1600ms var(--ease-out);
}

.product:hover .product__img--front,
.product:focus-within .product__img--front {
  opacity: 0;
  transform: scale(1.04);
}

.product:hover .product__img--back,
.product:focus-within .product__img--back {
  opacity: 1;
  transform: scale(1);
}

.product__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.4rem 0.7rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product__tag--ink {
  background: var(--ink);
  color: #fff;
}

/* Quick-add slides up from the bottom of the image */
.product__quick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 0;
  width: 100%;
  cursor: pointer;
  transform: translateY(101%);
  transition: transform 620ms var(--ease-out), background var(--t) var(--ease);
}

.product:hover .product__quick,
.product:focus-within .product__quick {
  transform: translateY(0);
}

.product__quick:hover {
  background: var(--accent);
}

.product__info {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.15rem 1.35rem;
}

.product__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product__name a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.product__price {
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}

.product__price del {
  color: var(--ink-3);
  font-weight: 400;
  margin-right: 0.4em;
}

.product__swatches {
  display: flex;
  gap: 5px;
}

.swatch {
  width: 11px;
  height: 11px;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.22);
}

/* ---------- Filter chips --------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.chip {
  padding: 0.55rem 1.1rem;
  background: none;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: box-shadow var(--t) var(--ease), color var(--t) var(--ease),
    background var(--t) var(--ease);
}

.chip:hover {
  box-shadow: var(--outline);
  color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.is-hidden {
  display: none !important;
}

/* ---------- Split feature -------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media--wide {
  aspect-ratio: 3 / 4;
}

.split__copy {
  display: grid;
  gap: clamp(1rem, 0.7rem + 1vw, 1.6rem);
  justify-items: start;
  max-width: 46ch;
}

/* ---------- Steps ---------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1rem, 0.4rem + 1.6vw, 1.75rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  background: var(--bg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.65rem;
  align-content: start;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--outline), var(--shadow-lift);
}

.step__n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* ---------- Value / feature grid ------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 0.4rem + 1.6vw, 1.75rem);
}

.feature {
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  background: var(--bg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.6rem;
  align-content: start;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--outline), var(--shadow-lift);
}

.feature__icon {
  width: 26px;
  height: 26px;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

/* ---------- Stats ---------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 2rem);
}

.stat {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 0.25rem;
}

.stat__n {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat__l {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

/* ---------- Editorial full-bleed ------------------------------------------- */

.editorial {
  position: relative;
  min-height: clamp(380px, 56vw, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.editorial__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: 0.9;
  transform: scale(1.06);
  transition: transform 2400ms var(--ease-out);
}

.editorial.is-in .editorial__img {
  transform: scale(1);
}

.editorial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.28) 45%,
    rgba(10, 10, 10, 0.06) 100%
  );
}

.editorial__copy .lede,
.editorial__copy .muted {
  color: rgba(255, 255, 255, 0.74);
}

.editorial__copy {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  max-width: 44ch;
}

/* ---------- CTA band ------------------------------------------------------- */

.cta {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  justify-items: center;
  text-align: center;
}

.cta .lede {
  max-width: 44ch;
}

/* ---------- Accordion ------------------------------------------------------ */

.acc {
  border-top: 1px solid var(--line);
}

.acc__item {
  border-bottom: 1px solid var(--line);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: color var(--t) var(--ease);
}

.acc__btn:hover {
  color: var(--accent-deep);
}

.acc__sign {
  position: relative;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

.acc__sign::before,
.acc__sign::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.acc__sign::before {
  left: 0;
  top: 6px;
  width: 13px;
  height: 1.5px;
}

.acc__sign::after {
  left: 6px;
  top: 0;
  width: 1.5px;
  height: 13px;
}

.acc__btn[aria-expanded='true'] .acc__sign::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 620ms var(--ease-out);
}

.acc__panel > div {
  overflow: hidden;
}

.acc__item.is-open .acc__panel {
  grid-template-rows: 1fr;
}

.acc__panel p {
  color: var(--ink-2);
  padding-bottom: 1.35rem;
  max-width: 68ch;
}

/* ---------- Forms ---------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.1rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field > label {
  font-size: var(--fs-sm);
  font-weight: 500;
}

.field .req {
  color: var(--accent-deep);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-sm);
  transition: box-shadow var(--t) var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-3);
}

.input:hover,
.select:hover,
.textarea:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px;
  padding-right: 2.5rem;
}

.drop {
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: var(--bg-2);
  cursor: pointer;
  display: grid;
  gap: 0.35rem;
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}

.drop:hover,
.drop.is-over {
  box-shadow: var(--outline);
  background: var(--bg);
}

.drop input[type='file'] {
  display: none;
}

.drop__hint {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  appearance: none;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: var(--bg);
  cursor: pointer;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.check input:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.4' stroke='%230a0a0a' stroke-width='1.8' fill='none' stroke-linecap='square'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--accent-deep);
}

.form__note {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.form__msg {
  padding: 0.9rem 1.1rem;
  font-size: var(--fs-sm);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: none;
}

.form__msg.is-on {
  display: block;
}

.form__msg--ok {
  background: var(--accent);
  box-shadow: none;
  font-weight: 500;
}

.form__msg--err {
  box-shadow: inset 0 0 0 1.5px #d33;
  color: #b00;
}

/* ---------- Page hero ------------------------------------------------------ */

.page-hero {
  padding-top: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.page-hero__inner {
  display: grid;
  gap: 1.1rem;
  max-width: 62ch;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.crumbs a:hover {
  color: var(--ink);
}

/* ---------- Single product ------------------------------------------------- */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

.pdp__gallery {
  display: grid;
  gap: clamp(0.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
}

.pdp__shot {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.pdp__gallery:has(.pdp__shot:nth-child(3)) .pdp__shot:first-child {
  grid-column: 1 / -1;
}

.pdp__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1600ms var(--ease-out);
}

.pdp__shot:hover img {
  transform: scale(1.03);
}

.pdp__panel {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 1.4rem;
}

.pdp__price {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.opt {
  display: grid;
  gap: 0.7rem;
}

.opt__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.opt__label {
  font-size: var(--fs-sm);
  font-weight: 500;
}

.opt__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.opt__btn {
  min-width: 48px;
  padding: 0.65rem 0.9rem;
  background: none;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease),
    color var(--t) var(--ease);
}

.opt__btn:hover {
  box-shadow: var(--outline);
}

.opt__btn.is-on {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.opt__btn[disabled] {
  color: var(--ink-3);
  cursor: not-allowed;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 5px,
    var(--line) 5px 6px
  );
}

.qty {
  display: inline-flex;
  align-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.qty button {
  width: 42px;
  height: 44px;
  background: none;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--t) var(--ease);
}

.qty button:hover {
  background: var(--bg-3);
}

.qty input {
  width: 46px;
  height: 44px;
  border: 0;
  background: none;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp__buy {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.pdp__buy .btn {
  flex: 1 1 200px;
}

.pdp__ship {
  display: grid;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.pdp__ship li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* ---------- Cart drawer ---------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer__veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.drawer.is-open .drawer__veil {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 620ms var(--ease-out);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  box-shadow: inset 0 -1px 0 var(--line);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.drawer__empty {
  color: var(--ink-2);
  font-size: var(--fs-sm);
  text-align: center;
  padding-block: 3rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 1rem;
  align-items: start;
}

.cart-line img {
  width: 68px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-2);
}

.cart-line__t {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.cart-line__m {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.cart-line__x {
  background: none;
  border: 0;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.cart-line__x:hover {
  color: var(--ink);
}

.drawer__foot {
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 var(--line);
  display: grid;
  gap: 1rem;
}

.drawer__total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

/* ---------- Legal pages ---------------------------------------------------- */

.legal {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 0.15rem;
  border-left: 1px solid var(--line);
}

.legal__toc a {
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  margin-left: -1px;
  border-left: 2px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.legal__toc a:hover,
.legal__toc a.is-on {
  color: var(--ink);
  border-left-color: var(--accent);
}

.prose {
  max-width: 72ch;
  display: grid;
  gap: 1.15rem;
}

.prose h2 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  margin-top: 1.75rem;
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.0625rem;
  margin-top: 0.75rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
}

.prose ul li {
  position: relative;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: -1.1rem;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--accent-deep);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color var(--t) var(--ease);
}

.prose a:hover {
  text-decoration-color: var(--ink);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Contact -------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.info {
  display: grid;
  gap: 1.75rem;
  align-content: start;
}

.info__item {
  display: grid;
  gap: 0.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.info__k {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.info__v {
  font-size: var(--fs-body);
  line-height: 1.5;
}

.info__v a:hover {
  color: var(--accent-deep);
}

/* ---------- Footer --------------------------------------------------------- */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 1.5rem + 4vw, 5.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.footer__brand {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  max-width: 34ch;
}

.footer__brand img {
  height: 22px;
  width: auto;
}

.footer__col {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer__h {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}

.footer__col a {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  width: fit-content;
  transition: color var(--t) var(--ease), transform var(--t) var(--ease);
}

.footer__col a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

/* The WhatsApp number needs its mark — on its own it reads as a landline. */
.footer__wa {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}

.footer__wa svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  transition: color var(--t) var(--ease);
}

.footer__legal a:hover {
  color: var(--ink);
}

.socials {
  display: flex;
  gap: 0.35rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}

.socials a:hover {
  box-shadow: var(--outline);
  background: var(--accent);
}

.socials svg {
  width: 16px;
  height: 16px;
}

/* ---------- Toast ---------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 400;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease),
    visibility var(--t) var(--ease);
}

.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- WooCommerce bridge --------------------------------------------- */

.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: var(--bg-2);
}

.woocommerce-message {
  background: var(--accent);
  box-shadow: none;
}

.woocommerce-error {
  box-shadow: inset 0 0 0 1.5px #d33;
  color: #b00;
}

.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  background: var(--ink);
  color: #fff;
  padding: 0.35rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-container .select2-selection,
.woocommerce-page form .form-row input.input-text {
  padding: 0.9rem 1rem;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-sm);
  background: var(--bg);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.95rem 1.85rem;
  line-height: 1.2;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.woocommerce table.shop_table {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.woocommerce .quantity .qty {
  padding: 0.6rem;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-sm);
}

.woocommerce-checkout #payment {
  background: var(--bg-2);
  border-radius: 0;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--bg-3);
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

.select2-container--default .select2-selection--single {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding-left: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

/* ---------- WooCommerce single product -------------------------------------
   WooCommerce ships a float-based product layout and its own button colours.
   The theme uses grid and its own buttons, so both are neutralised here rather
   than fought selector by selector.                                          */

.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce #content div.product div.images,
.woocommerce #content div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce div.product .pdp__gallery,
.woocommerce div.product .pdp__panel {
  clear: none;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--ink-2);
}

.woocommerce div.product form.cart {
  display: grid;
  gap: 1.4rem;
  margin: 0;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
  display: none;
}

/* Variation picker — the select is replaced by buttons, see main.js */
.woocommerce div.product form.cart table.variations {
  display: block;
  margin: 0;
  border: 0;
}

.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
.woocommerce div.product form.cart table.variations td,
.woocommerce div.product form.cart table.variations th {
  display: block;
  border: 0;
  padding: 0;
  text-align: left;
}

.woocommerce div.product form.cart table.variations th.label {
  margin-bottom: 0.7rem;
}

.woocommerce div.product form.cart table.variations label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}

.woocommerce div.product form.cart .reset_variations {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin-top: 0.5rem;
  display: inline-block;
}

.woocommerce div.product form.cart .reset_variations:hover {
  color: var(--ink);
}

/* When JS has built the buttons the native select is no longer needed. */
.js .opt--swatched select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.woocommerce div.product form.cart .single_variation_wrap {
  display: grid;
  gap: 1.4rem;
}

.woocommerce div.product .woocommerce-variation-price {
  font-size: 1.125rem;
  font-weight: 600;
}

.woocommerce div.product .woocommerce-variation-availability p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  margin: 0;
}

/* Add to bag — full width, accent, matching the design */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button {
  width: 100%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 1.15rem 2.35rem;
  line-height: 1.2;
  border: 0;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
    transform var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity var(--t) var(--ease);
}

.woocommerce div.product form.cart .button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.woocommerce div.product form.cart button.single_add_to_cart_button.disabled,
.woocommerce div.product form.cart button.single_add_to_cart_button:disabled {
  background: var(--bg-3);
  color: var(--ink-3);
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* Product meta — SKU and categories are reference, not headline */
.woocommerce div.product .product_meta {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.8;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.woocommerce div.product .product_meta > span {
  display: block;
}

.woocommerce div.product .product_meta a {
  color: var(--ink-2);
}

.woocommerce div.product .product_meta a:hover {
  color: var(--ink);
}

/* ---------- Product tabs ---------------------------------------------------- */

.woocommerce-tabs {
  padding-top: 0;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.woocommerce-tabs ul.tabs li a {
  position: relative;
  display: block;
  padding: 0 0 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-3);
  transition: color var(--t) var(--ease);
}

.woocommerce-tabs ul.tabs li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--ink);
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--ink);
  font-weight: 600;
}

.woocommerce-tabs ul.tabs li.active a::after {
  transform: scaleX(1);
}

.woocommerce-tabs .panel {
  max-width: 72ch;
  margin: 0;
  color: var(--ink-2);
}

.woocommerce-tabs .panel > h2:first-child {
  display: none;
}

.woocommerce-tabs .panel p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.woocommerce-tabs table.shop_attributes th {
  font-weight: 500;
  color: var(--ink-3);
  width: 30%;
}

/* ---------- Related / upsell rows ------------------------------------------ */

.woocommerce .related,
.woocommerce .up-sells {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.woocommerce .related > h2,
.woocommerce .up-sells > h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

/* WooCommerce's own loop grid must not fight .grid-products. */
.woocommerce .grid-products.products {
  display: grid;
}

.woocommerce .grid-products.products::before,
.woocommerce .grid-products.products::after {
  display: none;
}

.woocommerce .grid-products li.product,
.woocommerce .grid-products .product {
  width: auto;
  margin: 0;
  float: none;
  clear: none;
}

/* ---------- WooCommerce block cart & checkout ------------------------------
   The theme sets Cart and Checkout to the classic shortcodes, because the
   block checkout ignores woocommerce_checkout_fields and would drop the
   required delivery phone. These rules are insurance: if the shop ever
   switches to the blocks, they still look like the rest of the site.        */

.wc-block-components-button:not(.is-link) {
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.95rem 1.85rem;
  min-height: 0;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.wc-block-components-button:not(.is-link):hover {
  background: var(--accent);
  color: var(--on-accent);
}

.wc-block-components-checkout-place-order-button {
  width: 100%;
}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-select__container,
.wc-block-components-combobox-control input {
  border: 0 !important;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: var(--bg);
  font-family: var(--font);
  font-size: var(--fs-sm);
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-block-components-combobox-control input:focus {
  box-shadow: var(--outline) !important;
  outline: none;
}

.wc-block-components-totals-item__value,
.wc-block-components-product-price__value {
  font-weight: 600;
  color: var(--ink);
}

.wc-block-components-panel,
.wc-block-components-radio-control-accordion-option,
.wc-block-cart-items,
.wc-block-components-order-summary {
  border-color: var(--line);
}

.wc-block-components-notice-banner {
  border-color: var(--line-strong);
  background: var(--bg-2);
}

.wc-block-components-notice-banner.is-success {
  background: var(--accent);
  border-color: var(--accent-deep);
}

.wc-block-components-title,
.wc-block-cart__submit-container + *,
.wp-block-woocommerce-checkout-order-summary-block {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

/* ---------- Responsive ----------------------------------------------------- */

@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .legal {
    grid-template-columns: 1fr;
  }

  .legal__toc {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
  }

  .legal__toc a {
    padding: 0.5rem 1rem 0.6rem 0;
    border-left: 0;
    border-bottom: 2px solid transparent;
    margin-left: 0;
    margin-bottom: -1px;
    white-space: nowrap;
  }

  .legal__toc a:hover,
  .legal__toc a.is-on {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .nav,
  .header__search {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  /* Portrait artwork takes over below the desktop breakpoint. */
  .hero__img--desktop {
    display: none;
  }

  .hero__img--mobile {
    display: block;
  }

  .hero__img {
    object-position: 50% 30%;
  }

  .hero__slogan {
    /* Let the container set the measure so `text-wrap: balance` has room to
       find two even lines instead of three ragged ones. */
    max-width: 20ch;
  }

  /* Two full cards inside the content column; the third peeks past the
     gutter so the row reads as scrollable. */
  .rail__viewport {
    margin-right: calc(var(--pad-x) * -1);
    padding-right: var(--pad-x);
    scroll-padding-left: 6px;
  }

  .rail__track {
    grid-auto-columns: calc((100vw - 2 * var(--pad-x) - var(--rail-gap)) / 2);
  }

  .rail__nav {
    display: none;
  }

  .pdp,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .pdp__panel {
    position: static;
  }

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

@media (max-width: 640px) {
  .grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .product__info {
    padding: 0.85rem 0.85rem 1.1rem;
  }

  .product__name {
    font-size: 0.9375rem;
  }

  .product__quick {
    display: none;
  }

  .sec-head {
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bar {
    justify-content: flex-start;
  }

  .gram__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail__head {
    align-items: flex-start;
  }
}

@media (max-width: 340px) {
  .grid-products {
    grid-template-columns: 1fr;
  }
}

/* Tablets sit between the two card counts. */
@media (min-width: 901px) and (max-width: 1080px) {
  .rail__track {
    grid-auto-columns: calc((100% - 2 * var(--rail-gap)) / 3);
  }
}

/* ---------- Reduced motion ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ---------- Print ---------------------------------------------------------- */

@media print {
  .header,
  .footer,
  .drawer,
  .sheet,
  .band {
    display: none !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
