/* =========================================================================
   AMERIMODA — Hoja de estilos
   Sistema: Manual de Identidad Amerimoda (Ink Navy, Ember Flame, Space Grotesk)
   ========================================================================= */

:root {
  --navy: #33445C;
  --navy-deep: #22304A;
  --ember: #DD4124;
  --ember-dark: #C63417;
  --white: #FFFFFF;
  --paper: #FAFAF8;
  --mist: #9AB0BB;
  --mist-soft: #E4EBEF;
  --black: #1A1818;
  --brass: #C2B280;
  --ink: #1F2A38;
  --text: #2B2F36;
  --muted: #6B7280;
  --line: #E6E8EB;
  --surface: #F3F4F5;

  --font: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px rgba(31, 42, 56, .10), 0 2px 8px rgba(31, 42, 56, .05);
  --shadow-sm: 0 6px 18px rgba(31, 42, 56, .08);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1280px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--paper);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Defensa: si el JS de reveal falla, el contenido se ve. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.eyebrow--muted { color: var(--muted); }
.h-display { font-size: clamp(40px, 6.2vw, 84px); line-height: .98; }
.h-1 { font-size: clamp(34px, 4.4vw, 56px); }
.h-2 { font-size: clamp(26px, 3vw, 38px); }
.h-3 { font-size: 20px; font-weight: 600; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }
.dot { color: var(--ember); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px; font-weight: 600; font-size: 14.5px;
  letter-spacing: .01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ember); color: var(--white); box-shadow: 0 10px 24px rgba(221, 65, 36, .28); }
.btn--primary:hover { background: var(--ember-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(221, 65, 36, .32); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(51, 68, 92, .25); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--mist-soft); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1fb457; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; color: var(--navy); transition: background .25s; }
.icon-btn:hover { background: var(--mist-soft); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.badge-count:empty, .badge-count[data-zero] { display: none; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: #C9D3DC; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.topbar .container { display: flex; justify-content: center; gap: 28px; padding: 9px 0; flex-wrap: wrap; }
.topbar span::before { content: "▲"; color: var(--ember); font-size: 8px; margin-right: 9px; vertical-align: 2px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(250, 250, 248, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31, 42, 56, .06); }
.header .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo .iso { width: 30px; height: 30px; }
.logo .wordmark { font-weight: 700; font-size: 18px; letter-spacing: .22em; }
.iso .leg { fill: currentColor; }
.iso .tri { fill: var(--ember); }
.nav { display: flex; justify-content: center; gap: 22px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-hot { color: var(--ember); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.search { position: relative; }
.search input { width: 0; opacity: 0; border: 1.5px solid var(--line); border-radius: 100px; padding: 10px 16px; background: #fff; transition: width .4s var(--ease), opacity .3s; outline: none; }
.search.is-open input { width: 240px; opacity: 1; margin-right: 6px; }
.search input:focus { border-color: var(--navy); }
.search-results { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; max-width: 90vw; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none; z-index: 70; }
.search-results.is-open { display: block; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.search-results a:hover { background: var(--surface); }
.search-results img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.search-results .name { font-size: 14px; font-weight: 600; color: var(--ink); }
.search-results .price { font-size: 12.5px; color: var(--muted); }
.search-results .empty { padding: 14px; font-size: 13.5px; color: var(--muted); }
.burger { display: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; transition: transform .3s, opacity .3s; }

/* Menú móvil */
.mobile-nav { position: fixed; inset: 0; z-index: 80; background: var(--navy); color: #fff; display: flex; flex-direction: column; padding: 28px; transform: translateX(100%); transition: transform .5s var(--ease); }
.mobile-nav.is-open { transform: none; }
.mobile-nav a { font-size: 34px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.mobile-nav a.is-hot { color: #FF8A6E; }
.mobile-nav .close { align-self: flex-end; color: #fff; }
.mobile-nav .foot { margin-top: auto; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .h-display { color: var(--ink); }
.hero-copy .h-display em { font-style: normal; color: var(--ember); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.hero-meta div strong { display: block; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.hero-meta div span { font-size: 12.5px; color: var(--muted); }
.hero-visual { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: 0 30px 80px rgba(31, 42, 56, .25); }
.hero-visual .chev { position: absolute; inset: 0; opacity: .35; }
.hero-visual .iso-big { position: absolute; right: -8%; bottom: -10%; width: 70%; opacity: .12; }
.hero-visual .iso-big .leg { fill: #fff; }
.hero-visual .iso-big .tri { fill: var(--ember); }
.hero-card { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(255,255,255,.96); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.hero-card img { width: 64px; height: 78px; object-fit: cover; border-radius: 10px; background: var(--surface); }
.hero-card .tag { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); font-weight: 600; }
.hero-card .name { font-weight: 600; color: var(--ink); font-size: 15px; }
.hero-card .price { font-size: 13px; color: var(--muted); }
.hero-card .btn { margin-left: auto; }
.hero-pill { position: absolute; top: 24px; left: 24px; background: var(--ember); color: #fff; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 8px 14px; border-radius: 100px; }
.hero-word { position: absolute; top: 40px; right: 28px; writing-mode: vertical-rl; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 14px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); font-weight: 600; white-space: nowrap; }
.marquee-track span::after { content: "▲"; color: var(--ember); margin-left: 48px; font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head .h-2 { margin-top: 10px; }
.section-head .link { font-weight: 600; color: var(--navy); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.section-head .link:hover { color: var(--ember); }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cat.is-soon { opacity: .6; pointer-events: none; }
.cat .soon { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); font-weight: 600; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat svg { width: 40px; height: 40px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat b { font-size: 15px; color: var(--ink); }
.cat span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.cat::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.cat:hover::after { transform: scaleX(1); }

/* Grid de productos */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge { position: absolute; top: 12px; left: 12px; background: var(--ember); color: #fff; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; border-radius: 100px; }
.card-badge[data-kind="Últimas unidades"] { background: var(--navy); }
.card-badge[data-kind="Nuevo"] { background: var(--ink); }
.card-wish { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.card:hover .card-wish, .card-wish.is-on { opacity: 1; transform: none; }
.card-wish svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.card-wish.is-on svg { fill: var(--ember); stroke: var(--ember); }
.card-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; transform: translateY(10px); opacity: 0; transition: opacity .3s, transform .35s var(--ease); }
.card:hover .card-quick { opacity: 1; transform: none; }
.card-body { display: flex; flex-direction: column; gap: 3px; }
.card-brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.card-name a::after { content: ""; position: absolute; inset: 0; }
.card-price { display: flex; gap: 8px; align-items: baseline; font-weight: 600; color: var(--ink); }
.card-price s { color: var(--muted); font-weight: 400; font-size: 13px; }
.card-price .sale { color: var(--ember); }
.card-colors { display: flex; gap: 6px; margin-top: 2px; }
.card-colors i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.step .num { font-size: 56px; font-weight: 700; color: var(--mist-soft); line-height: 1; letter-spacing: -.04em; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step svg { width: 34px; height: 34px; stroke: var(--ember); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Banner editorial */
.banner { border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.banner h2 { color: #fff; }
.banner p { color: #C9D3DC; }
.banner .chev { position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; opacity: .25; }
.banner .btn { margin-top: 22px; }
.banner-list { display: grid; gap: 14px; position: relative; }
.banner-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.banner-list li::before { content: "▲"; color: var(--ember); font-size: 9px; margin-top: 7px; }

/* Confianza */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.trust div { display: flex; gap: 12px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.trust svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.trust b { display: block; color: var(--ink); }
.trust span { color: var(--muted); font-size: 12.5px; }

/* Newsletter / WhatsApp */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta form { display: flex; gap: 10px; width: min(520px, 100%); }
.cta input { flex: 1; border: 1.5px solid var(--line); border-radius: 100px; padding: 14px 20px; background: #fff; outline: none; }
.cta input:focus { border-color: var(--navy); }
.cta .note { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #B7BEC8; padding: 64px 0 28px; margin-top: 40px; }
.footer .grid-f { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; }
.footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer li { padding: 5px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .about { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; flex-wrap: wrap; }

/* ---------- Catálogo ---------- */
.page-head { padding: clamp(32px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.crumbs { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 26px; }
.filter h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.filter label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.filter input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 100px; font-size: 13px; background: #fff; transition: all .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff; outline: none; font-size: 14px; }
.price-range input:focus { border-color: var(--navy); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { font-size: 14px; color: var(--muted); }
.toolbar select { border: 1.5px solid var(--line); border-radius: 100px; padding: 9px 36px 9px 14px; background: #fff; outline: none; font-size: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333445C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-chips .chip { background: var(--mist-soft); border-color: transparent; }
.active-chips .chip::after { content: "×"; margin-left: 8px; color: var(--muted); }
.filters-toggle { display: none; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 10px; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { border-radius: 10px; overflow: hidden; border: 2px solid transparent; aspect-ratio: 4/5; background: var(--surface); }
.thumbs button.is-on { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4/5; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .card-badge { top: 16px; left: 16px; }
.pinfo { display: flex; flex-direction: column; gap: 22px; }
.pinfo .brand { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pinfo h1 { font-size: clamp(28px, 3vw, 40px); }
.pprice { display: flex; align-items: baseline; gap: 12px; font-size: 26px; font-weight: 700; color: var(--ink); }
.pprice s { font-size: 16px; color: var(--muted); font-weight: 400; }
.pprice .save { font-size: 12.5px; color: var(--ember); font-weight: 600; background: #FDECE7; padding: 4px 10px; border-radius: 100px; }
.pdesc { color: var(--muted); font-size: 15.5px; }
.opt { display: flex; flex-direction: column; gap: 10px; }
.opt-head { display: flex; justify-content: space-between; font-size: 13px; }
.opt-head b { color: var(--ink); }
.opt-head a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.swatch.is-on { box-shadow: 0 0 0 2px var(--navy); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 52px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 500; font-size: 14px; transition: all .2s; }
.size:hover { border-color: var(--navy); }
.size.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.size[disabled] { opacity: .35; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 100px; background: #fff; }
.qty button { width: 42px; height: 46px; font-size: 18px; color: var(--navy); }
.qty output { min-width: 32px; text-align: center; font-weight: 600; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.stock { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: #2FB36A; }
.stock.low i { background: var(--ember); }
.share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.share button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; color: var(--ink); }
.share button:hover { border-color: var(--navy); }
.share svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.acc summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.acc details[open] summary::after { content: "–"; }
.acc .body { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.acc .body li { padding: 4px 0; padding-left: 16px; position: relative; }
.acc .body li::before { content: "▲"; position: absolute; left: 0; top: 9px; font-size: 7px; color: var(--ember); }
.sticky-buy { display: none; }

/* ---------- Carrito (drawer) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(31, 42, 56, .5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(2px); }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(440px, 100vw); background: #fff; z-index: 95; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(31,42,56,.2); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; }
.ship-bar { padding: 14px 22px; background: var(--paper); font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.ship-bar b { color: var(--ink); }
.ship-bar .track { height: 6px; background: var(--line); border-radius: 100px; margin-top: 8px; overflow: hidden; }
.ship-bar .fill { height: 100%; background: var(--ember); border-radius: 100px; transition: width .5s var(--ease); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; background: var(--surface); }
.cart-item .n { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.cart-item .v { font-size: 12.5px; color: var(--muted); }
.cart-item .qty { margin-top: 8px; transform: scale(.85); transform-origin: left; }
.cart-item .p { font-weight: 600; color: var(--ink); text-align: right; }
.cart-item .rm { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; display: block; text-align: right; }
.drawer-empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--ink); }
.total small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.drawer-foot .note { font-size: 12px; color: var(--muted); text-align: center; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 100px; font-size: 14px; z-index: 100; opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Nosotros */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.value svg { width: 36px; height: 36px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.value b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: 16px; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: 18px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer .grid-f { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .container { grid-template-columns: auto 1fr auto; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4/3.6; }
  .banner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 85; background: #fff; padding: 24px; overflow: auto; transform: translateY(100%); transition: transform .45s var(--ease); }
  .filters.is-open { transform: none; }
  .filters [data-filters-close] { display: grid !important; }
  .filters-toggle { display: inline-flex; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; }
  .about-hero { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 16px; gap: 12px; align-items: center; border-top: 1px solid var(--line); z-index: 50; box-shadow: 0 -10px 30px rgba(31,42,56,.08); }
  .sticky-buy .btn { flex: 1; }
  .sticky-buy b { font-size: 18px; color: var(--ink); }
  body.has-sticky { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
  .cats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust, .values { grid-template-columns: 1fr; }
  .footer .grid-f { grid-template-columns: 1fr; }
  .search.is-open input { width: 160px; }
  .search-results { right: -60px; }
  .hero-card .btn { display: none; }
  .cta form { flex-direction: column; }
  .topbar .container { gap: 14px; font-size: 11px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion ---------- */
.hero-copy > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.hero-visual { opacity: 0; transform: translateY(24px) scale(.98); animation: rise 1.1s var(--ease) .2s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
::selection { background: var(--ember); color: #fff; }
