/* ==========================================================================
   MENZO — Main stylesheet
   1. Tokens & base          9.  Search overlay        17. Shop page
   2. Typography & buttons   10. Product cards         18. Product page
   3. Layout utilities       11. Carousels             19. Contact page
   4. Announcement bar       12. Hero slider           20. About page
   5. Header & navigation    13. Home sections         21. Chat widget
   6. Mega menu              14. Footer                22. Forms
   7. Drawers & scrim        15. Modal & toast         23. Motion
   8. Bag                    16. Page heads            24. Responsive
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------ */
:root {
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --muted: #6d6962;
  --muted-2: #9b968e;
  --line: #e9e5df;
  --line-strong: #d5cfc6;
  --paper: #ffffff;
  --sand: #f5f2ed;
  --sand-2: #ebe5db;
  --accent: #8b6b43;
  --sale: #b42318;
  --success: #1e7a4c;
  --whatsapp: #1fa855;

  --font-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  --container: 1440px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --header-h: 68px;
  --ann-h: 36px;
  --radius: 2px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, .06);
  --shadow-lg: 0 30px 80px -20px rgba(17, 17, 17, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: none; }

/* 2. Typography & buttons ------------------------------------------------ */
.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.01em;
}
.display em { font-style: italic; }
.h-xl { font-size: clamp(48px, 7.4vw, 112px); }
.h-lg { font-size: clamp(40px, 5vw, 72px); }
.h-md { font-size: clamp(32px, 3.6vw, 52px); }
.h-sm { font-size: clamp(26px, 2.4vw, 34px); }
.lead { font-size: 17px; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: #2d2d2d; --btn-bd: #2d2d2d; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--sand); --btn-bd: var(--sand); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-bd: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #188f48; --btn-bd: #188f48; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow .icon { width: 16px; height: 16px; }
.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.link-underline:hover { background-size: 100% 1px; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: background .2s var(--ease);
}
.icon-btn:hover { background: rgba(17, 17, 17, .06); }
.icon-btn .icon { width: 21px; height: 21px; }
.count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  transform: scale(0);
  transition: transform .3s var(--ease-out);
}
.count.is-visible { transform: scale(1); }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: #fff;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .1);
}
.badge--sale { background: var(--sale); color: #fff; }
.badge--dark { background: var(--ink); color: #fff; }

/* 3. Layout utilities ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.section-head__title { display: grid; gap: 12px; }
.section-head__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.stack-sm > * + * { margin-top: 10px; }
.center { text-align: center; }

/* 4. Announcement bar ---------------------------------------------------- */
html.no-announce { --ann-h: 0px; }
.announce {
  position: relative;
  z-index: 60;
  height: var(--ann-h);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .06em;
  overflow: hidden;
}
.announce__track { position: relative; height: 100%; }
.announce__msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce__msg.is-active { opacity: 1; transform: none; }

/* 5. Header & navigation ------------------------------------------------- */
/* .site-top wraps the announcement bar + header. It sticks with a negative
   offset so the announcement scrolls away and the header stays pinned. */
.site-top {
  position: sticky;
  top: calc(-1 * var(--ann-h));
  z-index: 50;
  min-height: calc(var(--ann-h) + var(--header-h));
}
body[data-header='overlay'] .site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: transform .45s var(--ease);
}
body[data-header='overlay'] .site-top.is-scrolled { transform: translateY(calc(-1 * var(--ann-h))); }
.header {
  position: relative;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
body[data-header='overlay'] .site-top:not(.is-solid):not(:hover):not(:focus-within) .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  color: #fff;
}
body[data-header='overlay'] .site-top:not(.is-solid):not(:hover):not(:focus-within) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
body[data-header='overlay'] .site-top:not(.is-solid):not(:hover):not(:focus-within) .count { background: #fff; color: var(--ink); }
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__left { display: flex; align-items: center; gap: 6px; }
.header__burger { display: none; margin-left: -10px; }
.header__logo { display: inline-flex; align-items: center; color: inherit; }
.header__logo .logo { display: block; height: 24px; width: auto; transition: filter .35s var(--ease); }
/* white logo when the header sits over a photo */
body[data-header='overlay'] .site-top:not(.is-solid):not(:hover):not(:focus-within) .header__logo .logo { filter: brightness(0) invert(1); }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-right: -10px; }

.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__item:hover > .nav__link::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav__link--sale { color: var(--sale); }
body[data-header='overlay'] .site-top:not(.is-solid):not(:hover):not(:focus-within) .nav__link--sale { color: #ffd4cf; }

/* 6. Mega menu ----------------------------------------------------------- */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(17, 17, 17, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav__item.has-mega:hover .mega,
.nav__item.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.mega__inner {
  display: grid;
  grid-template-columns: var(--mega-grid, minmax(150px, auto) repeat(2, minmax(140px, 1fr)) minmax(0, 1.3fr) minmax(0, 1.3fr));
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 44px;
}
.mega__title { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.mega__links { display: grid; gap: 10px; }
.mega__links a { font-size: 15px; transition: color .2s; }
.mega__links a:hover { color: var(--muted); }
/* categories from the dashboard: one column per 7 categories */
.mega__links--cats { display: block; columns: var(--mega-cols, 1); column-gap: 40px; }
.mega__links--cats a { display: block; padding-bottom: 10px; break-inside: avoid; white-space: nowrap; }
.mega__links .mega__sale { color: var(--sale); }
.mega__promo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; max-height: 300px; width: 100%; background: var(--sand); }
.mega__promo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega__promo:hover img { transform: scale(1.05); }
.mega__promo span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.mega__promo::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.mega__promo span { z-index: 1; }

/* 7. Drawers & scrim ----------------------------------------------------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 17, 17, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 90;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform .5s var(--ease-out), visibility 0s .5s;
  visibility: hidden;
}
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(380px, 92vw); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  padding: 0 14px 0 24px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__foot { flex: none; border-top: 1px solid var(--line); padding: 20px 24px 24px; background: #fff; }

/* mobile menu */
.mmenu { padding: 8px 24px 32px; }
.mmenu__group { border-bottom: 1px solid var(--line); }
.mmenu__link, .mmenu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
}
.mmenu__toggle .icon { transition: transform .3s var(--ease); }
.mmenu__toggle[aria-expanded='true'] .icon { transform: rotate(45deg); }
.mmenu__sub { display: grid; gap: 14px; padding: 0 0 20px 2px; }
.mmenu__sub[hidden] { display: none; }
.mmenu__sub a { font-size: 15px; color: var(--ink-soft); }
.mmenu__sale { color: var(--sale); }
.mmenu__contact { margin-top: 28px; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.mmenu__contact a { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.mmenu__chat { margin-top: 24px; }

/* 8. Bag ----------------------------------------------------------------- */
.ship-meter { padding: 18px 24px; background: var(--sand); font-size: 13px; }
.ship-meter strong { font-weight: 600; }
.ship-meter__bar { margin-top: 10px; height: 3px; background: var(--sand-2); overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: var(--ink); transition: width .6s var(--ease-out); }
.bag-list { padding: 4px 24px; }
.bag-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bag-item:last-child { border-bottom: 0; }
.bag-item__img { aspect-ratio: 3 / 4; background: var(--sand); overflow: hidden; }
.bag-item__img img { width: 100%; height: 100%; object-fit: cover; }
.bag-item__top { display: flex; justify-content: space-between; gap: 12px; }
.bag-item__name { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; }
.bag-item__meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
/* stock warnings in the bag (dashboard → Stock) */
.bag-item__stock { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #a15c00; }
.bag-item__stock.is-out { color: var(--sale); }
.qty button:disabled { opacity: .3; pointer-events: none; }
.bag-item__price { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.bag-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.bag-item__remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bag-item__remove:hover { color: var(--ink); }
.qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line-strong); }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; }
.qty button .icon { width: 14px; height: 14px; }
.qty button:hover { background: var(--sand); }
.qty span, .qty input { width: 32px; text-align: center; font-size: 13.5px; font-weight: 600; border: 0; background: none; padding: 0; -moz-appearance: textfield; }
.bag-empty { padding: 64px 32px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.bag-empty .icon { width: 44px; height: 44px; stroke-width: 1; color: var(--muted-2); }
.bag-empty h3 { font-family: var(--font-serif); font-weight: 400; font-size: 30px; }
.bag-empty p { color: var(--muted); font-size: 14px; max-width: 30ch; }
.bag-sum { display: grid; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.bag-sum__row { display: flex; justify-content: space-between; }
.bag-sum__row--total { font-size: 16px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.bag-actions { display: grid; gap: 10px; }
.bag-note { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }
.bag-note .icon { width: 16px; height: 16px; }

/* 9. Search overlay ------------------------------------------------------ */
.search {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 95;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform .55s var(--ease-out), visibility 0s .55s;
}
.search.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out); }
.search__bar { display: flex; align-items: center; gap: 14px; padding-top: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.search__bar .icon { width: 26px; height: 26px; color: var(--muted); }
.search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}
.search__input::placeholder { color: var(--muted-2); }
.search__input::-webkit-search-cancel-button, .search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search__body { padding-top: 26px; padding-bottom: 44px; }
.search__label { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  transition: border-color .2s, background .2s, color .2s;
  background: #fff;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .icon { width: 14px; height: 14px; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; margin-top: 30px; }
.search-hit { display: grid; gap: 10px; }
.search-hit__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.search-hit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.search-hit:hover img { transform: scale(1.04); }
.search-hit__name { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; }
.search-hit__price { font-size: 13px; color: var(--muted); }
.search__empty { margin-top: 24px; color: var(--muted); }
.search__all { margin-top: 30px; }

/* 10. Product cards ------------------------------------------------------ */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(12px, 1.4vw, 20px);
}
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
}
.pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease), transform 1.4s var(--ease-out);
}
.pcard__img--alt { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__img--alt { opacity: 1; }
  .pcard:hover .pcard__img { transform: scale(1.035); }
}
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; pointer-events: none; }
.pcard__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: transform .25s var(--ease), background .2s;
}
.pcard__wish:hover { background: rgba(255, 255, 255, .7); }
.pcard__wish .icon { width: 19px; height: 19px; }
.pcard__wish.is-active .icon { fill: var(--ink); }
.pcard__wish.pop { animation: pop .45s var(--ease-out); }
.pcard__quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 12px 12px 10px;
  background: rgba(255, 255, 255, .96);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.pcard__quick-label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; text-align: center; }
.pcard__sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pcard__sizes button {
  min-width: 36px;
  height: 32px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.pcard__sizes button:hover { border-color: var(--ink); }
.pcard__sizes button:disabled { color: var(--muted-2); text-decoration: line-through; pointer-events: none; }
@media (hover: hover) {
  .pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
}
.pcard__frame { position: relative; }
.pcard__plus {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: none;
  place-items: center;
}
.pcard__plus .icon { width: 18px; height: 18px; }
@media (hover: none) { .pcard__plus { display: grid; } }
.pcard__body { padding-top: 14px; display: grid; gap: 4px; }

/* quick add modal */
.quick { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.quick__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.quick__img img { width: 100%; height: 100%; object-fit: cover; }
.quick__info { display: grid; align-content: start; }
.quick__name { margin-top: 10px; font-size: 22px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; }
.quick .price { margin-top: 10px; font-size: 17px; }
.quick .link-arrow { justify-self: start; }
.pcard__name { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4; }
.pcard__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard__fit { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.price s { color: var(--muted-2); font-weight: 400; font-size: .92em; }
.price--sale .price__now { color: var(--sale); }
.pcard .price { margin-top: 2px; }
.swatches { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.swatch-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.swatches__more { font-size: 11.5px; color: var(--muted); }

/* 11. Carousels ---------------------------------------------------------- */
.rail { position: relative; }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per, 4) - 1) * var(--gap, 20px)) / var(--per, 4));
  gap: var(--gap, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color .2s, background .2s, color .2s, opacity .2s;
}
.rail-arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-arrow:disabled { opacity: .35; pointer-events: none; }
.rail-arrow .icon { width: 18px; height: 18px; }
.rail-progress { margin-top: 32px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.rail-progress span { position: absolute; top: 0; bottom: 0; left: 0; background: var(--ink); transition: transform .3s var(--ease), width .3s; }

/* 12. Hero slider -------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  max-height: 980px;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); z-index: 1; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__media img { transform: scale(1); }
/* a slide's video fades in over its photo once it plays; the photo stays as the fallback */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.hero__slide.is-playing .hero__video { opacity: 1; }
.hero--no-labels .hero__dot-label { display: none; }
/* a video slide's progress bar follows the video instead of a timer */
.hero__dot.is-video.is-active .hero__dot-bar span { animation: none; transition: width .3s linear; }
.hero__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hero__link:hover { text-decoration-thickness: 2px; }
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .35) 0, rgba(10, 10, 10, 0) 200px),
    linear-gradient(90deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .15) 45%, rgba(10, 10, 10, 0) 70%),
    linear-gradient(0deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 45%);
}
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(90px, 13vh, 140px);
  z-index: 2;
}
.hero__content > * { max-width: 640px; }
.hero__content .eyebrow { color: rgba(255, 255, 255, .85); }
.hero__title { margin-top: 18px; }
.hero__text { margin-top: 20px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__slide .hero__content > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .36s; }
.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 40px;
}
.hero__dots { display: flex; gap: 14px; flex: 1; max-width: 520px; }
.hero__dot { flex: 1; display: grid; gap: 10px; text-align: left; color: rgba(255, 255, 255, .7); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero__dot-bar { height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__dot-bar span { display: block; height: 100%; width: 0; background: #fff; }
.hero__dot.is-active { color: #fff; }
.hero__dot.is-active .hero__dot-bar span { animation: heroProgress var(--hero-duration, 6.5s) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-bar span { animation-play-state: paused; }
.hero__dot.is-done .hero__dot-bar span { width: 100%; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows .rail-arrow { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero__arrows .rail-arrow:hover { background: #fff; color: var(--ink); border-color: #fff; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* 13. Home sections ------------------------------------------------------ */
/* categories rail */
.cat-rail { --per: 7; --gap: 12px; }
.cat-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); color: #fff; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cat-tile::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cat-tile__label .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cat-tile:hover .cat-tile__label .icon { transform: translateX(4px); }

/* product rails */
.product-rail { --per: 4; --gap: clamp(12px, 1.4vw, 20px); }

/* categories in focus */
.focus { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 640px; background: var(--sand); }
.focus__media { position: relative; overflow: hidden; background: var(--sand-2); }
.focus__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.6s var(--ease-out); }
.focus__media img.is-active { opacity: 1; transform: none; }
.focus__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px); }
.focus__list { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.focus__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted-2);
  transition: color .35s var(--ease), padding .35s var(--ease);
}
.focus__link-name { font-family: var(--font-serif); font-size: clamp(32px, 3.4vw, 50px); line-height: 1; }
.focus__link-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.focus__link .icon { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.focus__link.is-active, .focus__link:hover { color: var(--ink); padding-left: 8px; }
.focus__link.is-active .icon, .focus__link:hover .icon { opacity: 1; transform: none; }

/* editorial banner */
.banner { position: relative; height: clamp(520px, 78vh, 820px); overflow: hidden; color: #fff; background: #222; }
.banner__media, .banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner__media img { object-fit: cover; transform: scale(1.12); will-change: transform; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 60%); }
.banner__content { position: absolute; inset: auto 0 clamp(48px, 8vw, 96px); z-index: 1; text-align: center; display: grid; justify-items: center; gap: 18px; }
.banner__content .eyebrow { color: rgba(255, 255, 255, .85); }
.banner__content p { max-width: 48ch; color: rgba(255, 255, 255, .88); font-size: 16px; }
.banner__content .btn { margin-top: 10px; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab {
  position: relative;
  padding: 0 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.tab-panel { animation: fadeUp .6s var(--ease-out); }

/* shop the look */
.look { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.look__media { position: relative; aspect-ratio: 3 / 4; background: var(--sand); overflow: hidden; }
.look__media img { width: 100%; height: 100%; object-fit: cover; }
.hotspot {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  transition: transform .3s var(--ease);
}
.hotspot::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); animation: ripple 2.4s var(--ease) infinite; }
.hotspot:hover, .hotspot.is-active { transform: scale(1.12); background: var(--ink); color: #fff; }
.hotspot .icon { width: 14px; height: 14px; }
.hotspot__card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: 220px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.hotspot:hover .hotspot__card, .hotspot.is-active .hotspot__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease); }
.hotspot__card img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; }
.hotspot__card strong { display: block; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.hotspot__card span { font-size: 12.5px; color: var(--muted); }
.look__items { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.look-item { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.look-item.is-active { background: var(--sand); }
.look-item__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.look-item__img img { width: 100%; height: 100%; object-fit: cover; }
.look-item__name { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.look-item__fit { font-size: 12px; color: var(--muted); margin-top: 2px; }
.look__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.look__total strong { font-size: 17px; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(var(--promise-cols, 4), 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 34px clamp(16px, 2.4vw, 32px); }
.promise + .promise { border-left: 1px solid var(--line); }
.promise .icon { width: 28px; height: 28px; stroke-width: 1.3; }
.promise h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.promise p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* chat cta band */
.help-band { background: var(--ink); color: #fff; overflow: hidden; }
.help-band__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 6vw, 96px); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.help-band .eyebrow { color: rgba(255, 255, 255, .6); }
.help-band h2 { margin-top: 18px; }
.help-band p { margin-top: 20px; color: rgba(255, 255, 255, .72); font-size: 16.5px; max-width: 48ch; }
.help-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.help-band__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf7c; box-shadow: 0 0 0 0 rgba(60, 207, 124, .6); animation: livePulse 2s infinite; flex: none; }
.live-dot--off { background: #c9a24a; animation: none; }
.mock-chat { position: relative; display: grid; gap: 12px; max-width: 420px; margin-left: auto; padding: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; }
.mock-chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 4px; }
.mock-chat__head strong { display: block; font-size: 14px; }
.mock-chat__head div span { font-size: 12px; color: rgba(255, 255, 255, .55); }
.mock-bubble { max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(10px); }
.mock-bubble--in { background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; }
.mock-bubble--out { justify-self: end; background: #fff; color: var(--ink); border-bottom-right-radius: 4px; }
.mock-chat.is-in .mock-bubble { animation: fadeUp .7s var(--ease-out) forwards; }
.mock-chat.is-in .mock-bubble:nth-of-type(2) { animation-delay: .5s; }
.mock-chat.is-in .mock-bubble:nth-of-type(3) { animation-delay: 1.3s; }
.mock-chat.is-in .mock-bubble:nth-of-type(4) { animation-delay: 2.1s; }
.mock-product { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px; background: var(--sand); border-radius: 10px; }
.mock-product img { width: 38px; height: 50px; object-fit: cover; border-radius: 4px; }
.mock-product b { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.mock-product span { font-size: 12px; color: var(--muted); }

/* community */
.community { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.community a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.community img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.community a::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .35s; }
.community a span { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s var(--ease); }
.community a span .icon { width: 28px; height: 28px; }
.community a:hover img { transform: scale(1.06); }
.community a:hover::after, .community a:hover span { opacity: 1; transform: none; }

/* About Menzo: who the store is, for shoppers and search engines */
.about-band { border-top: 1px solid var(--line); }
.about-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.about-band__head .display { margin-top: 14px; }
.about-band__text { display: grid; gap: 14px; max-width: 74ch; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-band__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* 14. Footer ------------------------------------------------------------- */
.footer { background: #0e0e0e; color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__news { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__news h2 { color: #fff; }
.footer__news p { margin-top: 12px; max-width: 44ch; }
.newsletter { display: flex; align-items: stretch; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.newsletter input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: none; color: #fff; font-size: 16px; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter button { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-left: 16px; }
.newsletter button .icon { transition: transform .3s var(--ease); }
.newsletter button:hover .icon { transform: translateX(4px); }
.newsletter-msg { margin-top: 12px; font-size: 13px; min-height: 20px; }
.footer__cols { display: grid; grid-template-columns: var(--footer-grid, 1.4fr repeat(3, 1fr) 1.2fr); gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.footer__brand .logo { display: block; height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 18px; max-width: 30ch; }
.footer__social { display: flex; gap: 6px; margin-top: 22px; margin-left: -10px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.footer__social a:hover { background: rgba(255, 255, 255, .1); }
.footer__social .icon { width: 19px; height: 19px; }
.footer h4 { color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact a, .footer__contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; margin-top: 2px; opacity: .7; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badge { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .75); text-transform: uppercase; }

/* 15. Modal & toast ------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  padding: clamp(28px, 4vw, 44px);
  transform: translateY(16px) scale(.98);
  transition: transform .45s var(--ease-out);
}
.modal--wide .modal__dialog { width: min(900px, 100%); }
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; padding-right: 32px; }
.modal__sub { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.modal__body { margin-top: 26px; }
.modal-product { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--sand); margin-top: 20px; }
.modal-product img { width: 54px; aspect-ratio: 3 / 4; object-fit: cover; }
.modal-product strong { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.modal-product span { font-size: 13px; color: var(--muted); }
.success-state { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 12px 0; }
.success-state__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); }
.success-state__icon .icon { width: 28px; height: 28px; }
.success-state h3 { font-family: var(--font-serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.success-state p { color: var(--muted); max-width: 40ch; }
.ref-code { display: inline-block; padding: 8px 14px; background: var(--sand); font-weight: 700; letter-spacing: .12em; }

.toasts { position: fixed; z-index: 130; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn .45s var(--ease-out);
}
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
.toast img { width: 40px; aspect-ratio: 3 / 4; object-fit: cover; }
.toast .icon { width: 18px; height: 18px; }
.toast__text { flex: 1; line-height: 1.4; }
.toast__action { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; color: #fff; }

/* 16. Page heads & breadcrumbs ------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: 12px; height: 12px; }
.page-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 36px); }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.page-head__title { display: grid; gap: 14px; }
.page-head__count { font-size: 13px; color: var(--muted); }
.page-head .chips { margin-top: 28px; }

.media-head { position: relative; min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end; color: #fff; background: #222; overflow: hidden; }
.media-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)); }
.media-head .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(36px, 5vw, 64px); }
.media-head .eyebrow { color: rgba(255, 255, 255, .8); }
.media-head h1 { margin-top: 14px; }
.media-head p { margin-top: 16px; max-width: 52ch; color: rgba(255, 255, 255, .85); font-size: 16.5px; }
/* soft shade behind the transparent header so the nav stays readable */
body[data-header='overlay'] .media-head::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .38) 0, rgba(0, 0, 0, 0) 200px),
    linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1));
}
.media-head--overlap .container { padding-bottom: calc(clamp(36px, 5vw, 64px) + clamp(40px, 5vw, 64px)); }
body[data-header='overlay'] .media-head { min-height: clamp(460px, 64vh, 640px); }

/* 17. Shop page ---------------------------------------------------------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 3vw, 48px); padding-bottom: clamp(64px, 8vw, 120px); }
.shop.is-collapsed { grid-template-columns: 1fr; }
.shop.is-collapsed .filters { display: none; }
.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.toolbar__left, .toolbar__right { display: flex; align-items: center; gap: 18px; }
.toolbar__btn { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.toolbar__btn .icon { width: 18px; height: 18px; }
.toolbar__count { font-size: 13px; color: var(--muted); }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 26px 6px 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.select-wrap .icon { position: absolute; right: 0; width: 14px; height: 14px; pointer-events: none; }
.density { display: flex; gap: 4px; }
.density button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted-2); border-radius: 4px; }
.density button.is-active, .density button:hover { color: var(--ink); background: var(--sand); }
.density .icon { width: 18px; height: 18px; }
.filters { align-self: start; position: sticky; top: calc(var(--header-h) + 90px); max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup__title { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fgroup__title .icon { width: 14px; height: 14px; transition: transform .3s; }
.fgroup.is-closed .fgroup__title .icon { transform: rotate(-90deg); }
.fgroup.is-closed .fgroup__body { display: none; }
.fgroup__body { margin-top: 16px; }
.fopt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 6px 0; font-size: 14px; color: var(--ink-soft); text-align: left; }
.fopt:hover { color: var(--ink); }
.fopt__box { width: 16px; height: 16px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s; }
.fopt__box .icon { width: 12px; height: 12px; color: #fff; opacity: 0; }
.fopt.is-active .fopt__box { background: var(--ink); border-color: var(--ink); }
.fopt.is-active .fopt__box .icon { opacity: 1; }
.fopt__label { flex: 1; display: flex; align-items: center; gap: 10px; }
.fopt__count { font-size: 12px; color: var(--muted-2); }
.fsizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fsize { height: 38px; border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.fsize:hover { border-color: var(--ink); }
.fsize.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.fcolors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
.fcolor { display: flex; align-items: center; gap: 10px; font-size: 13.5px; text-align: left; padding: 4px 0; color: var(--ink-soft); }
.fcolor__dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 2px #fff; flex: none; transition: box-shadow .2s; }
.fcolor.is-active .fcolor__dot { box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--ink); }
.fcolor.is-active { color: var(--ink); font-weight: 600; }
.filters__clear { margin-top: 18px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters:empty { display: none; }
.shop-empty { padding: 80px 20px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.shop-empty h3 { font-family: var(--font-serif); font-weight: 400; font-size: 36px; }
.shop-empty p { color: var(--muted); max-width: 44ch; }
.load-more { display: grid; justify-items: center; gap: 14px; margin-top: 56px; font-size: 13px; color: var(--muted); }
.load-more__bar { width: 200px; height: 2px; background: var(--line); }
.load-more__bar span { display: block; height: 100%; background: var(--ink); }
.filters-drawer .drawer__body { padding: 8px 24px 24px; }
.filters-drawer .filters { position: static; max-height: none; overflow: visible; padding: 0; display: block !important; }

/* 18. Product page ------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); padding-top: 18px; padding-bottom: clamp(56px, 7vw, 96px); }
.pdp__crumbs { padding-top: 22px; }
.gallery__wrap { position: relative; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
/* one photo, or an odd number: the first photo spans the full width */
.gallery--odd .gallery__item:first-child { grid-column: 1 / -1; }
.gallery__item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out, opacity .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__item.is-zoom img { transform: scale(1.9); }
.gallery__item video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--sand); }
.gallery__item--video { cursor: pointer; }
.gallery__item--video.has-controls { cursor: default; }
.gallery__tag { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(17, 17, 17, .6); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.gallery__tag .icon { width: 12px; height: 12px; }
.gallery__item .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.gallery__dots, .gallery__nav, .gallery__count { display: none; }
.gallery.is-swapping img { opacity: .2; }

.pinfo { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.pinfo__badges { display: flex; gap: 6px; margin-bottom: 14px; }
.pinfo__badges .badge { background: var(--sand); }
.pinfo__badges .badge--sale { background: var(--sale); }
.pinfo__name { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; }
.pinfo__fit { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.pinfo .price { margin-top: 18px; font-size: 20px; }
.pinfo__save { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--sale); text-transform: uppercase; }
.pinfo__tax { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pinfo__fabric { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px; background: var(--sand); font-size: 14px; }
.pinfo__fabric .icon { flex: none; width: 20px; height: 20px; color: var(--accent); }
.pinfo__fabric strong { margin-right: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sale-note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 12px; padding: 8px 12px; background: #fdecea; color: var(--sale); font-size: 13px; }
.sale-note span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pinfo__section { margin-top: 28px; }
.pinfo__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.pinfo__label strong { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.pinfo__label button { font-size: 12.5px; text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; }
.pinfo__label button .icon { width: 16px; height: 16px; }
.color-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.color-opt { width: 40px; height: 40px; border-radius: 50%; padding: 3px; border: 1px solid transparent; transition: border-color .2s; }
.color-opt span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); }
.color-opt:hover { border-color: var(--line-strong); }
.color-opt.is-active { border-color: var(--ink); }
.size-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.size-opt { height: 48px; border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; position: relative; }
.size-opt:hover { border-color: var(--ink); }
.size-opt.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-opt.is-out { color: var(--muted-2); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.size-opt.is-out:hover { border-color: var(--line-strong); }
.size-hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); min-height: 18px; }
.size-hint.is-error { color: var(--sale); }
.pinfo__buy { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; margin-top: 24px; }
.pinfo__buy .qty { height: 54px; }
.pinfo__buy .btn { min-height: 54px; }
.wish-btn { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: border-color .2s; }
.wish-btn:hover { border-color: var(--ink); }
.wish-btn.is-active .icon { fill: var(--ink); }
.help-box { margin-top: 26px; padding: 22px; background: var(--sand); }
.help-box__head { display: flex; align-items: center; gap: 12px; }
.help-box__avatars { display: flex; }
.help-box__avatars span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; border: 2px solid var(--sand); }
.help-box__avatars span + span { margin-left: -10px; background: var(--accent); }
.help-box__avatars .mark { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.help-box h3 { font-size: 14px; font-weight: 700; }
.help-box p { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.help-box__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.help-action { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; background: #fff; border: 1px solid transparent; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; transition: border-color .2s, transform .2s; }
.help-action:hover { border-color: var(--ink); }
.help-action .icon { width: 22px; height: 22px; }
.help-action--wa .icon { color: var(--whatsapp); }
.perks { margin-top: 26px; display: grid; gap: 12px; font-size: 13.5px; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks .icon { width: 20px; height: 20px; stroke-width: 1.4; }
.accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: left; }
.acc__btn .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.acc__btn[aria-expanded='true'] .icon { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded='true'] + .acc__panel { grid-template-rows: 1fr; }
.acc__content { padding-bottom: 20px; font-size: 14px; color: var(--ink-soft); }
.acc__content ul { display: grid; gap: 8px; }
.acc__content li { position: relative; padding-left: 16px; }
.acc__content li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 1px; background: currentColor; }
.acc__content p + p, .acc__content p + ul { margin-top: 10px; }
.pdp-sku { margin-top: 16px; font-size: 12px; color: var(--muted-2); letter-spacing: .06em; }
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .4s var(--ease-out);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__info strong { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 46px; padding: 0 22px; }

.lightbox { position: fixed; inset: 0; z-index: 140; background: #fff; display: none; }
.lightbox.is-open { display: block; }
.lightbox__track { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: grid; place-items: center; overflow: auto; }
.lightbox__slide img, .lightbox__slide video { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: #fff; }
.lightbox__nav { position: absolute; top: 50%; left: 16px; right: 16px; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.lightbox__nav .rail-arrow { pointer-events: auto; }

.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.size-table th { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.size-table td:first-child, .size-table th:first-child { text-align: left; font-weight: 700; }
.size-table tr.is-current td { background: var(--sand); }
.size-table-wrap { overflow-x: auto; }
.size-chart-img { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; }
.size-chart-img img { display: block; width: 100%; height: auto; }
.size-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.size-note--chart { color: var(--ink); white-space: pre-line; }

/* 19. Contact page ------------------------------------------------------- */
.methods { display: grid; grid-template-columns: repeat(var(--method-cols, 4), 1fr); gap: 12px; margin-top: calc(-1 * clamp(40px, 5vw, 64px)); position: relative; z-index: 2; }
.method { display: grid; gap: 10px; align-content: start; padding: 28px 24px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); text-align: left; }
.method:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.method__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); margin-bottom: 8px; }
.method__icon .icon { width: 22px; height: 22px; }
.method--wa .method__icon { background: #e7f6ed; color: var(--whatsapp); }
.method h3 { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.method p { font-size: 13.5px; color: var(--muted); }
.method__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.method__cta .icon { width: 14px; height: 14px; transition: transform .3s; }
.method:hover .method__cta .icon { transform: translateX(4px); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.info-card { background: var(--sand); padding: clamp(24px, 3vw, 36px); display: grid; gap: 24px; }
.info-card h3 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.info-card p, .info-card li { font-size: 14.5px; color: var(--ink-soft); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line-strong); }
.map { aspect-ratio: 4 / 3; background: var(--sand-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq-wrap .accordion { margin-top: 0; }
.faq-wrap .acc__btn { font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* 20. About page --------------------------------------------------------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__text p { margin-top: 18px; color: var(--ink-soft); font-size: 16px; max-width: 54ch; }
.story--solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
[data-story-img]:not([src]) { visibility: hidden; } /* about.js picks the photo */
.story__rich { color: var(--ink-soft); font-size: 16px; max-width: 60ch; }
.story__rich > * + * { margin-top: 16px; }
.story__rich > :first-child { margin-top: 18px; }
.story__rich h2, .story__rich h3 { color: var(--ink); font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }
.story__rich h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 28px; }
.story__rich h3 { font-size: clamp(21px, 1.8vw, 26px); margin-top: 24px; }
.story__rich ul, .story__rich ol { padding-left: 1.3em; }
.story__rich ul { list-style: disc; }
.story__rich ol { list-style: decimal; }
.story__rich li + li { margin-top: 6px; }
.story__rich blockquote { padding-left: 18px; border-left: 2px solid var(--ink); font-family: var(--font-serif); font-size: 22px; line-height: 1.3; color: var(--ink); }
.story__rich a { text-decoration: underline; text-underline-offset: 3px; }
.story__rich strong { color: var(--ink); }
.visit-address { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-weight: 600; }
.visit-address .icon { flex: none; margin-top: 2px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.value { padding-top: 24px; border-top: 1px solid var(--ink); }
.value__num { font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--muted-2); }
.value h3 { margin-top: 18px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.value p { margin-top: 10px; color: var(--muted); }
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* 21. Chat widget -------------------------------------------------------- */
.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 40px -10px rgba(17, 17, 17, .55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .4s var(--ease-out), opacity .3s, padding .4s var(--ease-out), gap .4s;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher .icon { width: 24px; height: 24px; }
.chat-launcher__label { white-space: nowrap; overflow: hidden; max-width: 160px; transition: max-width .4s var(--ease-out), opacity .3s; }
.chat-launcher.is-compact { padding: 0 17px; gap: 0; }
.chat-launcher.is-compact .chat-launcher__label { max-width: 0; opacity: 0; }
.chat-launcher.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
.chat-launcher__badge { position: absolute; top: -4px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; line-height: 22px; text-align: center; border: 2px solid #fff; }
.chat-launcher__badge[hidden] { display: none; }
body.has-sticky-buy .chat-launcher { bottom: 86px; }

.chat-teaser {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 70;
  width: 290px;
  padding: 16px 40px 16px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  line-height: 1.45;
  animation: fadeUp .6s var(--ease-out);
  cursor: pointer;
}
.chat-teaser strong { display: block; margin-bottom: 2px; }
.chat-teaser button { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.chat-teaser button:hover { background: var(--sand); }
.chat-teaser button .icon { width: 14px; height: 14px; }
body.has-sticky-buy .chat-teaser { bottom: 156px; }

.chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  width: 392px;
  height: min(660px, calc(100vh - 44px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -20px rgba(17, 17, 17, .45), 0 0 0 1px rgba(17, 17, 17, .06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .45s var(--ease-out), visibility 0s .45s;
}
.chat.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease-out); }
.chat__head { flex: none; background: var(--ink); color: #fff; padding: 18px 14px 18px 20px; }
.chat__head-row { display: flex; align-items: center; gap: 12px; }
.chat__avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; }
.chat__avatar .mark { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat__avatar .live-dot { position: absolute; right: -1px; bottom: 1px; border: 2px solid var(--ink); width: 12px; height: 12px; }
.chat__who { flex: 1; min-width: 0; }
.chat__who strong { display: block; font-size: 15px; }
.chat__who span { display: block; font-size: 12px; color: rgba(255, 255, 255, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__head .icon-btn { color: #fff; width: 38px; height: 38px; }
.chat__head .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.chat__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 18px 8px; background: #faf9f7; scroll-behavior: smooth; }
.chat__welcome { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.chat__welcome h3 { font-size: 17px; font-weight: 700; }
.chat__welcome p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.chat__quick-label { margin: 18px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__quick button { padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13px; text-align: left; transition: border-color .2s, background .2s; }
.chat__quick button:hover { border-color: var(--ink); }
.chat__day { margin: 18px 0 10px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.msg { display: flex; flex-direction: column; margin-top: 10px; max-width: 86%; animation: msgIn .35s var(--ease-out); }
.msg--out { margin-left: auto; align-items: flex-end; }
.msg__name { font-size: 11.5px; color: var(--muted); margin: 0 0 4px 4px; }
.msg__bubble { padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.msg--in .msg__bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--out .msg__bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg--bot .msg__bubble { background: var(--sand); border-color: transparent; }
.msg__bubble a { text-decoration: underline; text-underline-offset: 3px; }
.msg__time { font-size: 11px; color: var(--muted-2); margin: 4px 4px 0; }
.msg--pending .msg__bubble { opacity: .6; }
.msg--failed .msg__time { color: var(--sale); }
.msg-product { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); max-width: 260px; }
.msg-product img { width: 40px; height: 53px; object-fit: cover; border-radius: 6px; flex: none; }
.msg-product b { display: block; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.msg-product span { font-size: 12px; color: var(--muted); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 4px; margin-top: 10px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.chat-card { margin-top: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; animation: msgIn .35s var(--ease-out); }
.chat-card h4 { font-size: 14px; font-weight: 700; }
.chat-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.chat-card form { display: grid; gap: 8px; margin-top: 12px; }
.chat-card input { height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; outline: 0; }
.chat-card input:focus { border-color: var(--ink); }
.chat-card__row { display: flex; gap: 8px; }
.chat-card__row .btn { flex: 1; min-height: 40px; border-radius: 8px; }
.chat-card__skip { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.chat-card__err { font-size: 12.5px; color: var(--sale); }
.chat-offline { margin-top: 12px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; }
.chat-offline p { font-size: 13.5px; color: var(--muted); }
.chat-offline .btn { border-radius: 10px; min-height: 44px; }
.chat__foot { flex: none; border-top: 1px solid var(--line); background: #fff; padding: 10px 12px 12px; }
.chat__attach { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px 8px 8px 10px; background: var(--sand); border-radius: 10px; font-size: 12.5px; }
.chat__attach[hidden] { display: none; }
.chat__attach img { width: 30px; height: 40px; object-fit: cover; border-radius: 4px; }
.chat__attach div { flex: 1; min-width: 0; line-height: 1.3; }
.chat__attach b { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__attach button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.chat__attach button:hover { background: rgba(0, 0, 0, .06); }
.chat__attach .icon { width: 14px; height: 14px; }
.chat__form { display: flex; align-items: flex-end; gap: 8px; }
.chat__input { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 22px; font-size: 14.5px; line-height: 1.4; outline: 0; transition: border-color .2s; }
.chat__input:focus { border-color: var(--ink); }
.chat__send { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; transition: opacity .2s, transform .2s; }
.chat__send:disabled { opacity: .3; }
.chat__send:not(:disabled):hover { transform: scale(1.05); }
.chat__send .icon { width: 18px; height: 18px; }
.chat__alt { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.chat__alt a { display: inline-flex; align-items: center; gap: 6px; }
.chat__alt a:hover { color: var(--ink); }
.chat__alt .icon { width: 14px; height: 14px; }
.chat__alt a.wa .icon { color: var(--whatsapp); }

/* 22. Forms -------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field label small { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23111' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .06); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--sale); }
.form__error { font-size: 13.5px; color: var(--sale); min-height: 0; }
.form__error:empty { display: none; }
.form__note { font-size: 12.5px; color: var(--muted); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.summary-list { display: grid; gap: 10px; padding: 16px; background: var(--sand); font-size: 13.5px; }
.summary-list__row { display: flex; justify-content: space-between; gap: 12px; }
.summary-list__row--total { font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line-strong); }

/* 23. Motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-in > *:nth-child(n+8) { transition-delay: .48s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes ripple { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 124, .55); } 70% { box-shadow: 0 0 0 8px rgba(60, 207, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 124, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton { background: linear-gradient(90deg, var(--sand) 25%, var(--sand-2) 50%, var(--sand) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }

/* Splash: the logo rises into place while the page loads, a hairline fills
   beneath it, then the screen lifts away like a curtain (splash.js) */
html.is-splash { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--paper); }
.splash__inner { display: grid; gap: 22px; width: clamp(168px, 28vw, 260px); }
.splash__mark { display: block; overflow: hidden; }
.splash__logo { width: 100%; height: auto; animation: splashRise .95s var(--ease-out) .08s both; }
.splash__bar { position: relative; height: 2px; overflow: hidden; background: var(--line); }
.splash__bar::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: splashFill 1.05s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.splash.is-out { transform: translateY(-100%); visibility: hidden; pointer-events: none; transition: transform .75s cubic-bezier(.76, 0, .24, 1), visibility 0s .75s; }
.splash.is-out .splash__inner { opacity: 0; transform: translateY(-28px); transition: opacity .4s ease, transform .75s cubic-bezier(.76, 0, .24, 1); }
@keyframes splashRise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes splashFill { to { transform: scaleX(1); } }

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

/* 24. Responsive --------------------------------------------------------- */
@media (max-width: 1280px) {
  .cat-rail { --per: 5.3; }
  .mega__inner { grid-template-columns: var(--mega-grid-sm, minmax(140px, auto) repeat(2, minmax(120px, 1fr)) minmax(0, 1.2fr)); gap: 32px; }
  .mega__promo + .mega__promo { display: none; }
  .footer__cols { gap: 28px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; }
  .header__inner { display: flex; justify-content: space-between; }
  .grid { --cols: 3; }
  .product-rail { --per: 3.2; }
  .focus { grid-template-columns: 1fr; min-height: 0; }
  .focus__media { aspect-ratio: 4 / 3; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .promise:nth-child(3) { border-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shop { grid-template-columns: 1fr; }
  .shop > .filters { display: none; }
  .methods { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
}
@media (min-width: 1101px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav { justify-self: center; }
}
@media (max-width: 900px) {
  .look, .story, .help-band__inner, .footer__news, .contact-grid, .faq-wrap, .about-band__inner { grid-template-columns: 1fr; }
  .mock-chat { margin: 0; }
  .community { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .pinfo { position: static; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; margin: 0 calc(-1 * var(--gutter)); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 100%; scroll-snap-align: start; cursor: default; }
  .gallery--odd .gallery__item:first-child { grid-column: auto; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .gallery__dots > * { width: 6px; height: 6px; padding: 0; border-radius: 50%; background: var(--line-strong); transition: background .3s, width .3s; }
  .gallery__dots > .is-active { background: var(--ink); width: 18px; border-radius: 3px; }
  .gallery__nav:not([hidden]) { position: absolute; inset: 50% 12px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
  .gallery__nav .rail-arrow { pointer-events: auto; background: rgba(255, 255, 255, .92); border-color: transparent; box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .3); }
  .gallery__nav .rail-arrow:disabled { opacity: 0; }
  .gallery__count:not([hidden]) { position: absolute; right: 12px; bottom: 12px; display: block; padding: 4px 10px; border-radius: 99px; background: rgba(17, 17, 17, .6); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
  .sticky-buy { display: flex; }
}
@media (max-width: 767px) {
  :root { --header-h: 60px; --ann-h: 34px; }
  body { font-size: 14.5px; }
  .header__logo .logo { height: 20px; }
  .icon-btn { width: 40px; height: 40px; }
  .hide-sm { display: none !important; }
  .pcard__cat { display: none; }
  .grid { --cols: 2; }
  .grid[data-density='1'] { --cols: 1; }
  .product-rail { --per: 1.7; --gap: 12px; }
  .cat-rail { --per: 2.4; --gap: 8px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head__actions .rail-arrows { display: none; }
  .hero { min-height: 600px; }
  .hero__content { bottom: 120px; }
  .hero__text { font-size: 15.5px; }
  .hero__controls { bottom: 28px; }
  .hero__arrows { display: none; }
  .hero__dots { max-width: none; }
  .hero__dot-label { display: none; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(10, 10, 10, .75) 0%, rgba(10, 10, 10, .15) 55%, rgba(10, 10, 10, .3) 100%); }
  .btn { min-height: 48px; padding: 0 22px; }
  .hero__actions .btn { flex: 1; }
  .promises { grid-template-columns: 1fr; }
  .promise + .promise { border-left: 0; border-top: 1px solid var(--line); }
  .promise { padding: 22px 4px; }
  .look-item { grid-template-columns: 64px 1fr; }
  .look-item .btn { grid-column: 2; justify-self: start; }
  .help-band__actions .btn { flex: 1; }
  .toolbar { top: var(--header-h); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .toolbar__count, .density { display: none; }
  .methods { grid-template-columns: 1fr; margin-top: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .size-opts { grid-template-columns: repeat(5, 1fr); }
  .help-box__actions { grid-template-columns: 1fr 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .chat { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .chat-launcher { right: 16px; bottom: 16px; height: 54px; }
  .chat-teaser { right: 16px; bottom: 82px; width: calc(100vw - 32px); max-width: 320px; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .media-head .container { padding-top: 90px; }
  .drawer--right { width: 100vw; }
  .quick { grid-template-columns: 112px 1fr; gap: 16px; }
  .quick__name { font-size: 16px; }
  .quick .size-opt { height: 42px; }
}
@media (max-width: 420px) {
  .help-action { font-size: 10.5px; padding: 12px 4px; }
  .pcard__name { font-size: 11.5px; }
}
@media (hover: none) {
  .pcard__quick { display: none; }
}

/* 25. Checkout: advance payment ------------------------------------------ */
.modal__dialog:has(.checkout) { width: min(720px, 100%); }
.checkout { gap: 16px; }
.checkout__step { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout__step:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.checkout__step h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.checkout__num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; }
.checkout__note, .checkout__hint { font-size: 13.5px; color: var(--muted); margin-top: -6px; }
.checkout__hint { margin-top: -8px; font-size: 12.5px; }
.checkout__after { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.checkout__after .icon { flex: none; width: 16px; height: 16px; }
.paytotal { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.paytotal span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.paytotal strong { margin-right: auto; font-size: 20px; letter-spacing: -.01em; }
.paytotal .paycopy { border-color: rgba(255, 255, 255, .4); color: #fff; }
.payopts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.payopt { position: relative; display: block; cursor: pointer; }
.payopt input { position: absolute; opacity: 0; pointer-events: none; }
.payopt__card { display: grid; gap: 6px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.payopt:hover .payopt__card { border-color: var(--muted-2); }
.payopt input:checked + .payopt__card { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.payopt input:focus-visible + .payopt__card { outline: 2px solid var(--ink); outline-offset: 2px; }
.payopt__head { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.paylogo { flex: none; width: 36px; height: 36px; display: block; }
/* a logo uploaded in the dashboard: square or wide, never cropped */
.paylogo--img { width: auto; max-width: 72px; border-radius: 9px; object-fit: contain; }
.payopt__name { display: grid; flex: 1; min-width: 0; }
.payopt__name strong { font-size: 14.5px; }
.payopt__name small { font-size: 12px; color: var(--muted); }
.payopt__tick { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; }
.payopt__tick .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.payopt input:checked + .payopt__card .payopt__tick { background: var(--ink); border-color: var(--ink); color: #fff; }
.payopt__row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.payopt__row b { flex: 1; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.payopt__row span { flex: none; width: 110px; }
.payopt__row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paycopy { flex: none; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 11.5px; font-weight: 600; color: var(--ink); background: transparent; transition: background .2s, color .2s; }
.paycopy:hover { border-color: var(--ink); }
.paycopy.is-done { background: var(--success); border-color: var(--success); color: #fff; }
[data-field].is-invalid .payopt__card, [data-field].is-invalid .dropzone__box { border-color: var(--sale); }
.dropzone__box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: 12px; background: var(--sand); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone__box:hover, .dropzone.is-over .dropzone__box { border-color: var(--ink); background: #efeae2; }
.dropzone__box .icon { width: 22px; height: 22px; }
.dropzone__box strong { font-size: 14px; }
.dropzone__box small { font-size: 12px; color: var(--muted); }
.dropzone__box.is-busy { opacity: .6; pointer-events: none; }
.dropzone__box.has-file { flex-direction: row; justify-content: flex-start; min-height: 0; text-align: left; border-style: solid; border-color: var(--success); background: #f1f9f4; }
.dropzone__box.has-file > .icon { color: var(--success); flex: none; }
.dropzone__thumb { flex: none; width: 56px; height: 72px; overflow: hidden; border-radius: 6px; background: #fff; display: grid; place-items: center; border: 1px solid var(--line); }
.dropzone__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dropzone__pdf { font-size: 12px; font-weight: 700; color: var(--sale); }
.dropzone__file { display: grid; flex: 1; min-width: 0; gap: 2px; }
.dropzone__file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .paytotal strong { font-size: 18px; }
  .payopt__row { flex-wrap: wrap; }
  .payopt__row span { width: 100%; font-size: 11.5px; }
  .payopt__row b { white-space: normal; }
}
