/* =============================================================================
   SilMar Tiendas — hoja de estilos de la tienda
   Basada en el Manual de marca SilMar Tiendas 2026 y su Sistema de elementos.

   Paleta oficial y su rol (02 Paleta):
     Beige claro  #EEE2D9  fondo base y tarjetas
     Verde lima   #B1D000  acento: precios y detalles (como texto, solo sobre oscuro)
     Verde        #007143  color principal: botones, etiquetas y fondos
     Azul noche   #001447  texto y fondo oscuro (base de la marca)
   Azul del logo (#0036A8) y Verde del logo (#45B100) se usan SOLO dentro del logo:
   no aparecen en esta hoja.

   Tipografía (03): Archivo ExtraBold/Black para títulos y precios (mayúsculas,
   interlineado ajustado) · Archivo Regular/Medium para texto · Monotype Corsiva
   como acento, una sola palabra por pieza (en web se usa Pinyon Script, la
   referencia que indica el manual porque Corsiva no se puede incrustar).
   ========================================================================== */

:root {
  --azul: #001447;
  --beige: #EEE2D9;
  --lima: #B1D000;
  --verde: #007143;
  --blanco: #FFFFFF;

  --azul-80: rgb(0 20 71 / .8);
  --azul-60: rgb(0 20 71 / .6);
  --azul-12: rgb(0 20 71 / .12);
  --azul-06: rgb(0 20 71 / .06);

  --ff: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-script: 'Pinyon Script', 'Monotype Corsiva', 'Apple Chancery', cursive;

  /* Forma de la marca: tarjetas redondeadas con la esquina inferior izquierda recta */
  --r: 4px;
  --leaf: 8px;
  --leaf-md: 6px;
  --leaf-sm: 6px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.6, 0, .8, .2);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --intro: 1.15s;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 24px 48px -24px rgb(0 20 71 / .35);
  --shadow-sm: 0 8px 20px -10px rgb(0 20 71 / .3);
}

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

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

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.55;
  color: var(--azul);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------------------------------------------------- */
.h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.h2--light { color: #fff; }
.h3 { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
.script {
  font-family: var(--ff-script);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.section-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: 36px; }
.section-head__sub { margin: 0; max-width: 520px; color: var(--azul-80); font-weight: 500; }

/* ---------- Estrellas (04 · motivo de la marca) --------------------------- */
.trio { width: 64px; height: 30px; }
.five { width: 120px; height: 22px; }
.trio--verde, .five--verde { color: var(--verde); }
.trio--lima, .five--lima { color: var(--lima); }
.five--blanca { color: #fff; }
.trio--azul { color: var(--azul); }

/* ---------- Botones y etiquetas (05) -------------------------------------- */
.btn {
  --bg: var(--verde); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r);
  background: var(--bg); color: var(--fg);
  font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background-color .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--spring); }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--verde { --bg: var(--verde); --fg: #fff; }
.btn--azul { --bg: var(--azul); --fg: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Etiquetas de categoría y estado: mayúsculas, misma posición y un solo color (azul noche).
   El lima queda reservado para el descuento, como acento de precio. */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: 3px;
  font-weight: 800; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: var(--azul); color: #fff;
}
.pill--off { background: var(--lima); color: var(--azul); }
.pill--lg { height: 32px; padding: 0 14px; font-size: 12px; }

/* ---------- Sticker (06 · stickers y pastillas de precio) ----------------- */
.sticker {
  --s: 132px;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 4px;
  position: relative; text-align: center;
}
.sticker--lima { background: var(--lima); color: var(--azul); }
.sticker--azul { background: var(--azul); color: #fff; }
.sticker__ring {
  position: absolute; inset: 7px; border-radius: 50%;
  border: 2px dotted currentColor; opacity: .9;
  animation: spin 18s linear infinite;
}
.sticker--azul .sticker__ring { color: var(--lima); }
.sticker__text { font-weight: 900; text-transform: uppercase; font-size: 15px; line-height: 1; letter-spacing: .04em; }
.sticker__text b { display: block; font-size: 2.6em; line-height: .85; letter-spacing: -.02em; }
.sticker__stars { width: 54px; height: 10px; }

/* ---------- Intro ---------------------------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--azul);
  display: grid; place-items: center;
  animation: introOut .7s var(--ease-in) calc(var(--intro) - .1s) forwards;
  pointer-events: none;
}
.intro__inner { display: grid; justify-items: center; gap: 18px; }
.intro img { width: min(300px, 64vw); height: auto; opacity: 0; transform: translateY(16px) scale(.96); animation: introLogo .7s var(--ease) .15s forwards; }
.intro__trio { width: 88px; height: 41px; color: var(--lima); opacity: 0; transform: scale(.4); animation: pop .6s var(--spring) .05s forwards; }
.intro.is-done { display: none; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Barra superior ------------------------------------------------- */
.topbar {
  background: var(--azul); color: #fff;
  height: 38px; overflow: hidden;
  display: flex; align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / .1);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.topbar__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.topbar__track span { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; white-space: nowrap; }
.topbar__track svg { width: 10px; height: 10px; color: rgb(238 226 217 / .5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header --------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; color: var(--azul);
  border-bottom: 1px solid var(--azul-12);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 24px -18px rgb(0 20 71 / .45); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.header__logo { display: block; flex-shrink: 0; transition: transform .4s var(--spring); }
/* Área de seguridad del logo: margen libre alrededor, nunca recoloreado */
.header__logo img { height: 50px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 42px; }
.header__logo:hover { transform: scale(1.04) rotate(-1deg); }
.header__nav { display: flex; gap: 6px; margin-inline: auto; }
.header__nav a {
  position: relative; padding: 10px 14px;
  font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.header__nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header__nav + .header__actions { margin-left: 0; }

.icon-btn {
  width: 46px; height: 46px; border-radius: var(--r);
  display: grid; place-items: center;
  transition: background-color .2s, transform .3s var(--spring);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--azul-06); transform: scale(1.06); }
.icon-btn--light { color: #fff; }
.icon-btn--light:hover { background: rgb(255 255 255 / .12); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 6px;
  color: var(--azul);
  font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__label { position: relative; padding-block: 6px; }
.cart-btn__label::after, .hl__label::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.cart-btn:hover .cart-btn__label::after, .hl:hover .hl__label::after, .hl:focus-visible .hl__label::after { transform: scaleX(1); }
.cart-btn__count {
  padding-left: 10px; border-left: 2px solid var(--azul-12);
  font-size: 15px; letter-spacing: 0; line-height: 1.2;
}
.cart-btn.is-bump { animation: bump .6s var(--spring); }
.cart-btn.is-bump .cart-btn__count { animation: pop .5s var(--spring); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.96) rotate(2deg); } }

/* ---------- Banner de la tienda -------------------------------------------- */
/* Fondo neutro: el color lo ponen las fotos de las prendas. Un solo botón verde. */
.hero { padding-block: clamp(20px, 3vw, 36px) 8px; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero__kicker {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--verde);
}
.hero__kicker .five { width: 76px; height: 14px; }
.hero__title {
  margin: 16px 0 0;
  font-weight: 900;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: .96;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__lead { max-width: 440px; margin: 18px 0 28px; font-size: clamp(16px, 1.3vw, 18px); color: var(--azul-80); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero__link {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 0;
  font-weight: 800; font-size: 14px; border-bottom: 2px solid var(--azul);
  transition: color .2s, border-color .2s;
}
.hero__link svg { width: 18px; height: 18px; }
.hero__link:hover { color: var(--verde); border-color: var(--verde); }
.reveal-hero { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) calc(var(--intro) + var(--d, 0s)) forwards; }

/* Mosaico de fotos: una grande y dos chicas */
.hero__photos {
  display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
  height: clamp(360px, 54vh, 500px);
}
.hero__photo {
  position: relative; overflow: hidden;
  border-radius: var(--leaf); background: #fff;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1s var(--ease) calc(var(--intro) + var(--d, 0s)) forwards;
}
.hero__photo:first-child { grid-row: 1 / -1; }
.hero__photos[data-n="1"] { grid-template-columns: 1fr; }
.hero__photos[data-n="2"] .hero__photo { grid-row: 1 / -1; }
.hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 6s linear;
}
.hero__photo img.is-on { opacity: 1; transform: scale(1); }

/* ---------- Destacadas (09 · íconos para destacadas) ----------------------- */
.highlights { padding-block: 36px 8px; }
.highlights__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(20px, 4vw, 56px);
  padding-block: 14px; border-block: 1px solid var(--azul-12);
}
.hl { padding: 8px 2px; color: var(--azul); }
.hl__ring { display: none; }
.hl__label { position: relative; display: block; padding-block: 6px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Secciones (categorías) ---------------------------------------- */
.cats { padding-block: 56px 24px; }
.cats__grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); }
.cat { display: grid; gap: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.cat__arch {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--leaf); overflow: hidden;
  background: #fff; border: 1px solid var(--azul-12);
}
.cat__arch, .cat__photo { display: block; }
.cat__photo { position: relative; width: 100%; height: 100%; overflow: hidden; }
.cat__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat__count {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; border-radius: 3px;
  background: var(--azul); color: #fff;
  font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.cat:hover .cat__photo img { transform: scale(1.05); }
.cat__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--azul); font-weight: 900; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.cat__foot svg { width: 22px; height: 22px; transition: transform .35s var(--spring); }
.cat:hover .cat__foot svg { transform: translateX(5px); }

/* ---------- Catálogo ------------------------------------------------------- */
.catalog { padding-block: 64px 80px; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgb(238 226 217 / .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin-bottom: 24px;
  transition: box-shadow .3s;
}
.toolbar.is-stuck { box-shadow: 0 8px 20px -16px rgb(0 20 71 / .5); }
.toolbar__row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--azul-12);
}
.toolbar__row--sub { border-bottom: 0; padding-block: 12px; }
.toolbar__tools { display: flex; align-items: center; gap: 8px; padding-block: 10px; }

/* Secciones: pestañas con subrayado */
.chips {
  position: relative; display: flex; gap: 4px; align-self: stretch;
  overflow-x: auto; scrollbar-width: none; max-width: 100%;
}
.chips::-webkit-scrollbar { display: none; }
.chips__glider {
  position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
  background: var(--azul);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.chip {
  position: relative;
  min-height: 60px; padding: 0 16px;
  font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: var(--azul-60); transition: color .25s;
}
.chip:hover, .chip.is-active { color: var(--azul); }

/* Desplegables de filtros (Género, Tipo, Categoría, Talle, Precio, Etiqueta) */
.dds { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 10px; }
.dd { position: relative; }
.dd__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px 0 14px;
  border: 1px solid var(--azul-12); border-radius: var(--r); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--azul); white-space: nowrap;
  transition: border-color .2s;
}
.dd__btn:hover, .dd.is-open .dd__btn { border-color: var(--azul); }
.dd__btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 3px; display: grid; place-items: center; background: var(--azul); color: #fff; font-size: 11px; font-weight: 800; }
.dd__panel {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 240px; max-height: 340px; overflow-y: auto;
  padding: 6px 16px 14px;
  background: #fff; border: 1px solid var(--azul-12); border-radius: var(--r);
  box-shadow: 0 16px 32px -16px rgb(0 20 71 / .35);
  animation: ddIn .2s var(--ease);
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } }
.dd__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--azul-06); font-weight: 800; font-size: 13px; }
.dd__x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r); color: var(--azul); }
.dd__x:hover { background: var(--azul-06); }
.dd__x svg { width: 16px; height: 16px; }
.dd__opt { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; font-size: 15px; font-weight: 500; }
.dd__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--azul); cursor: pointer; flex-shrink: 0; }
.dd__opt small { font-size: 13px; color: var(--azul-60); }
.dd__opt:hover span { text-decoration: underline; text-underline-offset: 3px; }
.dd__opt.is-empty { opacity: .45; }

/* Filtros activos */
.active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 32px; }
.afchip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 8px 0 10px; border-radius: var(--r);
  background: var(--azul); color: #fff; font-weight: 700; font-size: 13px;
}
.afchip svg { width: 12px; height: 12px; opacity: .8; }
.afchip:hover svg { opacity: 1; }
.afclear { height: 30px; padding: 0 6px; font-weight: 700; font-size: 13px; color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }

/* Filtros por etiqueta */
.tagfilters { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tagfilters__label { font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-60); }
.tagfilters__list { display: flex; gap: 6px; flex-wrap: wrap; }
.tagbtn {
  height: 32px; padding: 0 12px; border-radius: var(--r);
  font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--azul-12); background: #fff; color: var(--azul);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tagbtn:hover { border-color: var(--azul); }
.tagbtn[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }

.search {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--azul-12);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--azul); }
.search svg { width: 18px; height: 18px; color: var(--azul-60); }
.search input { border: 0; outline: 0; background: none; width: 200px; font-weight: 500; }
.search.is-flash { animation: flash .9s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 3px var(--lima); } }

.select select {
  height: 42px; padding: 0 38px 0 14px; border-radius: var(--r); border: 1px solid var(--azul-12);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23001447' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font-weight: 700; font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
}

.results { margin: 0; font-weight: 600; font-size: 13px; color: var(--azul-60); white-space: nowrap; }

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

/* Tarjeta de producto */
.card {
  position: relative;
  background: #fff;
  border-radius: var(--leaf-md);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card.is-enter { opacity: 0; transform: translateY(30px) scale(.98); }
.card.is-enter.in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--delay, 0s), transform .7s var(--ease) var(--delay, 0s), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__media {
  position: relative; margin: 8px 8px 0;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r);
  background: var(--beige);
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media img.alt { opacity: 1; }
.card__tags { position: absolute; left: 10px; top: 10px; display: grid; justify-items: start; gap: 6px; z-index: 2; pointer-events: none; }
.card__off { position: absolute; right: 10px; top: 10px; z-index: 2; }
.card__add {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  width: 48px; height: 48px; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--verde); color: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(8px) scale(.9); opacity: 0;
  transition: transform .45s var(--spring), opacity .3s, background-color .2s;
}
.card__add svg { width: 22px; height: 22px; transition: transform .45s var(--spring); }
.card:hover .card__add, .card:focus-within .card__add { transform: none; opacity: 1; }
.card__add:hover { background: var(--azul); }
.card__add:hover svg { transform: rotate(90deg); }
.card__body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.card__cat { font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--verde); }
.card__name { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { font-weight: 900; font-size: 22px; letter-spacing: -.01em; line-height: 1; }
.price__was { font-weight: 600; font-size: 14px; color: var(--azul-60); text-decoration: line-through; }
.card__sizes { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.card__sizes span { min-width: 26px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 6px; background: var(--azul-06); font-size: 11px; font-weight: 700; }
.card.is-soldout .card__media img { filter: grayscale(.85) opacity(.7); }
.card.is-soldout .card__add { display: none; }
.card__soldout { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }

/* Esqueleto de carga */
.skel { pointer-events: none; }
.skel .card__media, .skel i { background: linear-gradient(100deg, var(--beige) 40%, var(--blanco) 50%, var(--beige) 60%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skel i { display: block; height: 12px; border-radius: 6px; }
.skel i:nth-child(1) { width: 40%; }
.skel i:nth-child(2) { width: 85%; height: 16px; }
.skel i:nth-child(3) { width: 50%; height: 20px; }
@keyframes shimmer { to { background-position: -300% 0; } }

/* Placeholder de marca cuando un producto no tiene foto */
.ph {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 12px;
  background: var(--beige);
}
.ph img { position: static !important; width: 38% !important; height: auto !important; opacity: .9; transform: none !important; }
.ph svg { width: 52px; height: 24px; color: var(--verde); }

.empty { display: grid; justify-items: center; gap: 18px; padding: 60px 0; text-align: center; }
.empty img { width: 96px; height: auto; animation: drift 5s ease-in-out infinite; }

/* ---------- Concepto (tarjeta verde) -------------------------------------- */
.about { padding-block: 40px; }
.about__card {
  position: relative;
  max-width: 1200px;
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(36px, 6vw, 80px);
  background: var(--verde); color: #fff;
  border-radius: var(--leaf);
  overflow: hidden;
}
.about__iso img { width: 100%; max-width: 320px; margin-inline: auto; height: auto; animation: drift 9s ease-in-out infinite; }
.about__copy { display: grid; gap: 18px; }
.about__copy p { margin: 0; font-size: 17px; max-width: 560px; color: rgb(255 255 255 / .9); }
.about__copy .about__promise { font-weight: 800; font-size: 20px; color: #fff; }
.about__copy .about__words { position: relative; height: 1.15em; font-weight: 900; font-size: clamp(30px, 4vw, 50px); text-transform: uppercase; line-height: 1.1; overflow: hidden; color: #fff; }
.about__word { position: absolute; left: 0; top: 0; transform: translateY(100%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); white-space: nowrap; }
.about__word.is-on { transform: none; opacity: 1; }
.about__word.is-out { transform: translateY(-100%); opacity: 0; }
.about__sticker { --s: 140px; position: absolute; right: clamp(16px, 4vw, 48px); top: clamp(16px, 4vw, 40px); }
.about__sticker.in { transform: rotate(12deg); }
.about__sticker .sticker__text { font-size: 16px; }

/* ---------- Cómo pedir ---------------------------------------------------- */
.how { padding-block: 72px 96px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how__steps li { background: #fff; border-radius: var(--leaf); padding: 32px 28px; display: grid; gap: 10px; align-content: start; }
.how__steps li.in:hover { transform: translateY(-6px) rotate(-.5deg); transition: transform .45s var(--spring); }
.how__steps p { margin: 0; color: var(--azul-80); }
.how__n {
  width: 56px; height: 56px; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--azul); color: var(--lima);
  font-weight: 900; font-size: 24px; margin-bottom: 8px;
  outline: 2px dotted var(--lima); outline-offset: -7px;
}

/* ---------- Footer: banda de marca azul ----------------------------------- */
.footer { background: var(--azul); color: #fff; }
.footer__band { border-top: 4px solid var(--lima); border-bottom: 1px solid rgb(238 226 217 / .14); }
.footer__band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 36px; flex-wrap: wrap; }
.footer__logo { height: 76px; width: auto; }
.footer__slogan { margin: 0; font-weight: 900; font-size: clamp(20px, 2.4vw, 30px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 44px; }
.footer__cols h3 { margin: 0 0 14px; font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lima); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a, .footer__cols button { color: var(--beige); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-align: left; }
.footer__cols a:hover, .footer__cols button:hover { color: #fff; }
.footer__cols li { display: flex; align-items: center; gap: 10px; color: var(--beige); }
.footer__cols svg { width: 18px; height: 18px; color: var(--lima); }
.footer__legal { padding-block: 18px 28px; border-top: 1px solid rgb(238 226 217 / .14); font-size: 13px; color: rgb(238 226 217 / .6); }

/* ---------- Botón flotante WhatsApp -------------------------------------- */
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 17px; border-radius: var(--r);
  background: var(--verde); color: #fff;
  box-shadow: 0 14px 30px -12px rgb(0 20 71 / .55);
  font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .4s var(--spring), gap .4s var(--ease);
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s var(--spring) calc(var(--intro) + 1.2s) forwards;
}
.fab svg { width: 26px; height: 26px; }
.fab::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  animation: pulse 2.4s ease-out infinite;
}
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.fab:hover, .fab.has-items { gap: 10px; }
.fab:hover .fab__label, .fab.has-items .fab__label { max-width: 220px; }
.fab:hover { transform: translateY(-3px) scale(1.03); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(0 113 67 / .5); } 70%, 100% { box-shadow: 0 0 0 18px rgb(0 113 67 / 0); } }

/* ---------- Modal de producto -------------------------------------------- */
dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(0 20 71 / .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open]::backdrop { animation: fadeIn .3s var(--ease); }
dialog.is-closing::backdrop { animation: fadeOut .25s var(--ease) forwards; }
.pmodal { width: min(1080px, calc(100% - 32px)); margin: auto; overflow: visible; }
.pmodal__box, .imodal__box {
  position: relative;
  background: #fff; border-radius: var(--leaf);
  max-height: calc(100dvh - 48px); overflow: auto;
  animation: modalIn .5s var(--spring);
}
dialog.is-closing .pmodal__box, dialog.is-closing .imodal__box { animation: modalOut .25s var(--ease-in) forwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }
.pm { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm__close { position: absolute; right: 14px; top: 14px; z-index: 5; background: #fff; box-shadow: var(--shadow-sm); }
.pm__gallery { padding: 16px; display: grid; gap: 10px; align-content: start; }
.pm__main {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--r); background: var(--beige);
  display: flex; scroll-snap-type: x mandatory; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  scroll-behavior: smooth;
}
.pm__main::-webkit-scrollbar { display: none; }
.pm__main > * { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.pm__main img { width: 100%; height: 100%; object-fit: cover; }
.pm__main .ph { position: relative; height: 100%; }
.pm__tagsimg { position: absolute; left: 28px; top: 28px; z-index: 2; display: grid; gap: 6px; justify-items: start; pointer-events: none; }
.pm__thumbs { display: flex; gap: 8px; }
.pm__thumb {
  width: 64px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  opacity: .55; transition: opacity .2s, transform .3s var(--spring), box-shadow .2s;
}
.pm__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm__thumb.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--verde); }
.pm__thumb:hover { opacity: 1; transform: translateY(-2px); }
.pm__dots { display: none; justify-content: center; gap: 6px; }
.pm__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--azul-12); transition: background-color .2s, width .3s var(--ease); }
.pm__dots span.is-on { background: var(--verde); width: 20px; border-radius: var(--r); }
.pm__info { padding: 40px 36px 32px 20px; display: grid; gap: 18px; align-content: start; }
.pm__cat { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--verde); }
.pm__title { margin: -8px 0 0; font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.pm__price .price__now { font-size: 36px; }
.pm__price .price__was { font-size: 18px; }
.pm__price .pill { align-self: center; }
.pm__desc { margin: 0; color: var(--azul-80); }
.pm__group { display: grid; gap: 10px; }
.pm__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pm__label button { font-weight: 700; font-size: 13px; letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 3px; color: var(--verde); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-width: 52px; height: 46px; padding: 0 14px;
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1.5px var(--azul-12);
  font-weight: 800; font-size: 14px;
  transition: transform .3s var(--spring), background-color .2s, color .2s, box-shadow .2s;
}
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--azul); transform: translateY(-2px); }
.opt[aria-pressed="true"] { background: var(--azul); color: #fff; box-shadow: none; transform: scale(1.04); }
.opts.is-shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pm__hint { margin: -4px 0 0; font-size: 13px; font-weight: 700; color: var(--verde); min-height: 1.2em; }
.pm__buy { display: flex; gap: 10px; }
.pm__buy .btn { flex: 1; }
.pm__ask { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--verde); }
.pm__ask svg { width: 20px; height: 20px; }
.pm__ask:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn.is-done { --bg: var(--azul); --fg: var(--lima); }

.qty {
  display: inline-flex; align-items: center;
  height: 52px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--azul-12);
}
.qty button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: var(--r); transition: background-color .2s; }
.qty button:hover { background: var(--azul-06); }
.qty button svg { width: 16px; height: 16px; }
.qty output { min-width: 26px; text-align: center; font-weight: 900; }
.qty--sm { height: 36px; }
.qty--sm button { width: 34px; }

/* Modal informativo (talles / envíos) */
.imodal { width: min(560px, calc(100% - 32px)); margin: auto; }
.imodal__box { padding: 40px 36px 32px; }
.im__icon { width: 76px; height: 76px; border-radius: var(--leaf); background: var(--azul); display: grid; place-items: center; margin-bottom: 18px; }
.im__icon span { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--lima); display: grid; place-items: center; color: var(--beige); }
.im__icon svg { width: 26px; height: 26px; }
.im__text { white-space: pre-line; color: var(--azul-80); margin: 14px 0 24px; font-size: 16px; }

/* ---------- Pedido (drawer) ---------------------------------------------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgb(0 20 71 / .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s var(--ease); }
.overlay.is-on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(460px, 100%);
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 0;
  transform: translateX(105%);
  transition: transform .55s var(--ease);
  overflow: hidden;
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 20px 18px 28px;
  background: var(--azul); color: #fff;
  border-bottom: 4px solid var(--lima);
}
.drawer__head .trio { width: 48px; height: 22px; display: block; margin-bottom: 6px; }
.drawer__title { margin: 0; font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 22px 22px; background: var(--beige); display: grid; gap: 12px; max-height: 62%; overflow-y: auto; }
.drawer__foot:empty { display: none; }

.line-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--azul-12);
}
.line-item.is-new { animation: slideIn .45s var(--ease) both; }
.line-item.is-removing { animation: slideOut .35s var(--ease-in) forwards; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes slideOut { to { opacity: 0; transform: translateX(40px); } }
.line-item__img { position: relative; width: 76px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--beige); }
.line-item__img > img { width: 100%; height: 100%; object-fit: cover; }
.line-item__name { margin: 0 0 2px; font-weight: 800; font-size: 15px; line-height: 1.2; }
.line-item__meta { margin: 0 0 8px; font-size: 13px; color: var(--azul-60); font-weight: 600; }
.line-item__right { display: grid; justify-items: end; gap: 8px; }
.line-item__price { font-weight: 900; font-size: 17px; }
.line-item__del { width: 34px; height: 34px; border-radius: var(--r); display: grid; place-items: center; color: var(--azul-60); transition: background-color .2s, color .2s; }
.line-item__del:hover { background: var(--azul-06); color: var(--azul); }
.line-item__del svg { width: 18px; height: 18px; }

.cart-empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 56px 12px; }
.cart-empty img { width: 110px; height: auto; animation: drift 5s ease-in-out infinite; }
.cart-empty p { margin: 0; color: var(--azul-80); }

.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.total strong { font-weight: 900; font-size: 30px; letter-spacing: -.01em; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r); background: #fff;
  box-shadow: inset 0 0 0 1px var(--azul-12); font-weight: 500; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--verde); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--azul-12); }
.seg label { display: grid; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { height: 38px; display: grid; place-items: center; border-radius: var(--r); font-weight: 800; font-size: 13px; cursor: pointer; transition: background-color .25s, color .25s; }
.seg input:checked + span { background: var(--azul); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }
.fine { margin: 0; font-size: 12px; color: var(--azul-60); text-align: center; }
.sent { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 10px; }
.sent .sticker { --s: 110px; animation: pop .7s var(--spring); }
.sent p { margin: 0; color: var(--azul-80); }

/* Imagen que vuela al carrito */
.fly { position: fixed; z-index: 400; pointer-events: none; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--beige); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Toasts -------------------------------------------------------- */
.toasts { position: fixed; left: 50%; bottom: 96px; z-index: 500; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r);
  background: var(--azul); color: #fff; box-shadow: var(--shadow);
  font-weight: 700; font-size: 14px;
  animation: toastIn .5s var(--spring);
}
.toast svg { width: 16px; height: 16px; color: var(--lima); }
.toast.is-out { animation: toastOut .3s var(--ease-in) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Animaciones generales ---------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .about__sticker.reveal.in { transform: rotate(12deg); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header__nav { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .header__logo img { height: 42px; }
  .header.is-scrolled .header__logo img { height: 38px; }
  .cart-btn__label { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__photos { order: -1; height: clamp(260px, 78vw, 420px); gap: 8px; }
  .toolbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--beige); }
  .dds { width: 100%; padding-bottom: 0; }
  .dd__btn { height: 38px; font-size: 13px; padding: 0 10px 0 12px; }
  .dd__panel { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; min-width: 0; max-height: 60vh; animation: sheetIn .3s var(--ease); }
  .toolbar__row { flex-wrap: wrap; gap: 0; }
  .chips { width: 100%; border-bottom: 1px solid var(--azul-12); }
  .chip { min-height: 50px; }
  .toolbar__tools { width: 100%; }
  .toolbar__row:first-child { border-bottom: 0; }
  .toolbar__row--sub { padding-block: 0 10px; gap: 8px; }
  .tagfilters__label { display: none; }
  .tagfilters { width: 100%; }
  .tagfilters__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .search { flex: 1; min-width: 0; }
  .search input { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__add { opacity: 1; transform: none; width: 42px; height: 42px; right: 8px; bottom: 8px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 14px; }
  .price__now { font-size: 18px; }
  .card__sizes { display: none; }
  .card__off { --s: 50px; }
  .card__off .sticker__text { font-size: 12px; }
  .cats__grid { grid-template-columns: repeat(var(--n, 3), minmax(210px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 8px; scrollbar-width: none; }
  .cats__grid .cat { scroll-snap-align: center; }
  .about__card { grid-template-columns: 1fr; }
  .about__iso img { max-width: 160px; margin: 0; }
  .about__sticker { --s: 100px; }
  .how__steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .pm { grid-template-columns: 1fr; }
  .pm__info { padding: 4px 20px 28px; }
  .pm__thumbs { display: none; }
  .pm__dots { display: flex; }
  .pmodal { width: 100%; margin: auto 0 0; }
  .pmodal__box { border-radius: 8px 8px 0 0; max-height: 94dvh; animation: sheetIn .5s var(--ease); }
  dialog.is-closing .pmodal__box { animation: sheetOut .3s var(--ease-in) forwards; }
  .drawer { border-radius: 0; }
  .fab { height: 56px; padding: 0 15px; }
  .toasts { bottom: 90px; width: calc(100% - 32px); }
}
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }

@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; }
  .chip { padding: 0 12px; font-size: 11px; }
  .select select { padding-right: 34px; }
  .footer__logo { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .topbar__track { animation: none; }
}
