/* ==========================================================================
   LUCMAR — Accesorios de oficina
   Sistema de diseño · HTML/CSS/JS puro
   Paleta: navy profundo (confianza) + ámbar cálido (identidad) sobre blanco
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marca — tonos extraídos del logo (navy #002456 / naranja #FF6E02) */
  --navy-900: #001a3d;
  --navy-800: #002456;
  --navy-700: #0d3570;
  --navy-600: #1a478c;
  --navy-500: #2e5aa8;

  --amber-400: #ff9645;
  --amber-500: #ff6e02;
  --amber-600: #cc5800;

  --wa-500: #25d366;
  --wa-600: #1da851;
  --wa-700: #128c7e;

  /* Neutrales */
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --line: #e2e8f0;
  --ink: #0f1b2d;
  --ink-2: #3d4a5c;
  --muted: #64748b;

  --sale: #e23b3b;
  --star: #f5a623;
  --ok: #17a86b;

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  /* Radios y sombras */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .04);
  --shadow: 0 6px 20px -6px rgba(15, 27, 45, .12);
  --shadow-lg: 0 22px 48px -18px rgba(15, 27, 45, .28);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);         /* ease-out-quint */
  --ease-soft: cubic-bezier(.33, 1, .68, 1);

  /* z-index escala semántica */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-backdrop: 300;
  --z-drawer: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-float: 350;
}

/* ocultar inicio de sesión de usuarios (temporal) */
.icon-btn[href="#cuenta"] { display: none; }
/* ocultar favoritos (temporal) */
.icon-btn[href="#favoritos"] { display: none; }

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utilidades ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--amber-600); font-weight: 700; font-size: .85rem;
}
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head .sub { color: var(--muted); margin-top: .35rem; max-width: 55ch; }
.link-more {
  color: var(--navy-600); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem;
  transition: gap .25s var(--ease), color .2s;
}
.link-more:hover { gap: .6rem; color: var(--amber-600); }

/* ---------- Botones ---------- */
.btn {
  --pad-y: .8rem; --pad-x: 1.35rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-800); box-shadow: var(--shadow); transform: translateY(-2px); }

.btn-amber { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 6px 16px -6px rgba(231,154,43,.6); }
.btn-amber:hover { background: var(--amber-400); transform: translateY(-2px); }

.btn-wa { background: var(--wa-600); color: #fff; box-shadow: 0 6px 16px -8px rgba(29,168,81,.7); }
.btn-wa:hover { background: var(--wa-500); transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(29,168,81,.6); }

.btn-ghost { background: transparent; color: var(--navy-700); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy-600); background: var(--surface); }

.btn-block { width: 100%; }
.btn-lg { --pad-y: 1.05rem; --pad-x: 1.9rem; font-size: 1.02rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--navy-900); color: #cdd7e6; font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar .promo { display: none; }
.topbar .promo strong { color: var(--amber-400); }
.topbar nav { display: flex; gap: 1.4rem; }
.topbar nav a { color: #cdd7e6; transition: color .2s; }
.topbar nav a:hover { color: #fff; }
@media (max-width: 720px) { .topbar nav { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-main { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand__mark {
  width: clamp(32px, 6vw, 40px); height: clamp(32px, 6vw, 40px); border-radius: 11px; flex: none;
  object-fit: cover; display: block; background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--shadow-sm);
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: var(--navy-800); line-height: 1; }
.brand__name span { color: var(--amber-600); }
.brand__tag { font-size: .68rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) { .brand__tag { display: none; } }

.searchbar { flex: 1; display: flex; align-items: center; max-width: 560px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: .3rem .3rem .3rem 1rem; transition: border-color .2s, box-shadow .2s; }
.searchbar:focus-within { border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(31,66,114,.1); background: #fff; }
.searchbar svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.searchbar input { flex: 1; border: none; background: none; outline: none; padding: .5rem .6rem; color: var(--ink); min-width: 0; }
.searchbar button { background: var(--navy-700); color: #fff; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; font-size: .9rem; transition: background .2s; }
.searchbar button:hover { background: var(--navy-800); }
@media (max-width: 860px) { .searchbar { display: none; } }

.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: .5rem .7rem; border-radius: var(--r); color: var(--navy-800);
  font-size: .72rem; font-weight: 600; transition: background .2s, color .2s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--surface); color: var(--navy-600); }
.icon-btn .wa-dot { color: var(--wa-600); }

.burger { display: none; }
@media (max-width: 860px) {
  .burger { display: inline-flex; padding: .5rem; border-radius: var(--r); color: var(--navy-800); }
  .burger svg { width: 26px; height: 26px; }
  .header-actions .icon-btn span { display: none; }
}

/* Barra de categorías */
.catbar { background: var(--navy-800); color: #e8edf4; }
.catbar .wrap {
  display: flex; align-items: center;
  gap: 0;
  /* gutter propio, más estrecho que el del resto del sitio: la barra necesita
     todo el ancho posible para que entren las 11 etiquetas */
  padding-inline: clamp(.5rem, 1.2vw, 1rem);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  /* Sombras de scroll: los degradados "local" viajan con el contenido y tapan a
     los "scroll", así que la sombra solo se ve si queda algo fuera de la vista. */
  background:
    linear-gradient(to right, var(--navy-800), rgba(16,32,59,0)) 0 0 / 30px 100% no-repeat local,
    linear-gradient(to left,  var(--navy-800), rgba(16,32,59,0)) 100% 0 / 30px 100% no-repeat local,
    linear-gradient(to right, rgba(11,21,38,.85), rgba(11,21,38,0)) 0 0 / 24px 100% no-repeat scroll,
    linear-gradient(to left,  rgba(11,21,38,.85), rgba(11,21,38,0)) 100% 0 / 24px 100% no-repeat scroll;
}
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a {
  display: inline-flex; align-items: center; gap: .35rem;
  /* medidas fijas a propósito: el contenedor está topado en 1240 px, así que
     dimensionar con vw hacía crecer el texto dentro de una caja que no crece */
  padding: .8rem .55rem;
  font-size: .82rem;
  font-weight: 600; white-space: nowrap; color: #d3ddea;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
/* sin esto un SVG sin width/height se dimensiona solo y descuadra la barra */
.catbar a svg { width: 1.15em; height: 1.15em; flex: none; }
.catbar a:hover { color: #fff; border-color: var(--amber-500); }
.catbar a.all,
.catbar a.brands { background: var(--navy-700); font-weight: 700; }
/* separa el par "categorías / marcas" del listado de categorías */
.catbar a.brands { margin-right: .4rem; }
.catbar a.offers { color: var(--amber-400); margin-left: auto; padding-right: .2rem; }
.catbar a.offers:hover { color: var(--amber-400); }
a.offers { display: none !important; }
/* franja intermedia: se acorta el rótulo largo para ganar ~90 px */
.catbar a.all .lbl-short { display: none; }
@media (max-width: 1150px) {
  .catbar a.all .lbl-full  { display: none; }
  .catbar a.all .lbl-short { display: inline; }
}
/* franja estrecha: último apretón para que "Ofertas" no quede fuera */
@media (max-width: 1040px) {
  .catbar a { font-size: .75rem; padding-inline: .34rem; }
  .catbar a svg { width: 1em; height: 1em; }
  .catbar a.brands { margin-right: .22rem; }
}
/* justo antes de saltar al menú móvil: se sacrifican los iconos, no las etiquetas */
@media (max-width: 940px) {
  .catbar a.all svg, .catbar a.brands svg { display: none; }
  .catbar a { padding-inline: .3rem; }
}
@media (max-width: 860px) { .catbar { display: none; } }

/* ==========================================================================
   MENÚ MÓVIL (drawer)
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(11,21,38,.5); backdrop-filter: blur(2px);
  z-index: var(--z-backdrop); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px);
  background: #fff; z-index: var(--z-drawer); transform: translateX(-100%);
  transition: transform .35s var(--ease); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head button { color: var(--navy-800); padding: .3rem; }
.drawer__head button svg { width: 26px; height: 26px; }
.drawer .m-search { padding: 1rem var(--gutter); }
.drawer .m-search .searchbar { display: flex; max-width: none; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: .95rem var(--gutter); font-weight: 600; color: var(--navy-800); border-bottom: 1px solid var(--surface-2); }
.drawer nav a:hover { background: var(--surface); }
.drawer nav a.offers { color: var(--amber-600); }
.drawer__foot { margin-top: auto; padding: 1.2rem var(--gutter); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { background: var(--surface); position: relative; overflow: hidden; }
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fadeSlide .7s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2rem, 5vw, 4rem); min-height: 460px;
}
.hero-copy { max-width: 34ch; }
.hero-copy h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); color: var(--navy-800); text-wrap: balance; }
.hero-copy h1 em { font-style: normal; color: var(--amber-600); }
.hero-copy p { margin-top: 1.1rem; color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 40ch; }
.hero-cta { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(280px, 40vw, 420px); object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: var(--r-lg);
  padding: .9rem 1.15rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem;
}
.hero-badge .n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy-700); line-height: 1; }
.hero-badge .t { font-size: .78rem; color: var(--muted); line-height: 1.25; }

.hero-dots { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; border-radius: 999px; background: rgba(31,66,114,.28); transition: width .3s var(--ease), background .3s; }
.hero-dots button.active { width: 26px; background: var(--amber-500); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,.85);
  display: grid; place-items: center; color: var(--navy-700); box-shadow: var(--shadow);
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow.prev { left: clamp(.5rem, 2vw, 1.2rem); }
.hero-arrow.next { right: clamp(.5rem, 2vw, 1.2rem); }
.hero-arrow svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-block: 2.5rem 3.5rem; min-height: 0; }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero-copy p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-media { order: -1; }
  .hero-media img { height: clamp(220px, 55vw, 320px); }
  .hero-arrow { display: none; }
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--navy-600); display: grid; place-items: center; flex: none; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: .95rem; color: var(--navy-800); }
.trust-item span { font-size: .8rem; color: var(--muted); }
@media (max-width: 780px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }

/* ==========================================================================
   CATEGORÍAS
   ========================================================================== */
.cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.cat-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-card img,
.cat-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* el video entra con fundido cuando ya tiene datos, para no mostrar un cuadro vacío */
.cat-card video { opacity: 0; transition: opacity .45s var(--ease); }
.cat-card video.is-ready { opacity: 1; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,21,38,.82) 8%, rgba(11,21,38,.15) 55%, transparent); }
.cat-card span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .9rem .8rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .98rem; text-align: center; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
@media (max-width: 1024px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   MARCAS
   ========================================================================== */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 18vw, 180px), 1fr)); gap: clamp(.7rem, 1.4vw, 1rem); }
.brand-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  min-height: 170px; padding: 1rem .35rem; text-align: center;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.brand-tile img { width: 100%; max-width: none; height: clamp(80px, 11vw, 120px); object-fit: contain; }
/* Logo secundario de fondo (distribuidora): atenuado y detrás de todo. La
   doble clase gana en especificidad a la regla genérica .brand-tile img. */
.brand-tile .brand-tile__wm {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; max-width: none; object-fit: contain;
  opacity: .15; pointer-events: none; user-select: none;
}
.brand-tile > :not(.brand-tile__wm) { position: relative; z-index: 1; }
.brand-tile__word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--navy-800); line-height: 1.1; }
.brand-tile__tag { font-size: .74rem; color: var(--muted); line-height: 1.25; }
.brand-tile__n { font-size: .72rem; font-weight: 700; color: var(--amber-600); text-transform: uppercase; letter-spacing: .04em; }
a.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-500); }
.brand-tile.is-soon { opacity: .62; box-shadow: none; background: var(--surface); }
.brand-tile.is-soon .brand-tile__n { color: var(--muted); }
@media (max-width: 520px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-tile { min-height: 140px; }
  .brand-tile img { height: clamp(64px, 18vw, 90px); }
}

/* Chip de marca en tarjetas y ficha */
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.brand-chip {
  flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .03em; color: var(--navy-700);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .5rem;
  transition: background .2s, color .2s, border-color .2s;
}
.brand-chip:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2; background: var(--sale); color: #fff;
  font-size: .72rem; font-weight: 800; padding: .28rem .55rem; border-radius: 999px; letter-spacing: .02em;
}
.product-card__badge.new { background: var(--navy-700); }

/* ---------- Producto agotado ---------- */
/* la foto se atenúa y una cinta la cruza: se distingue de un vistazo en la cuadrícula */
.product-card.is-out .product-card__media::after {
  content: ""; position: absolute; inset: 0; background: rgba(244,247,251,.62); z-index: 1;
}
.product-card.is-out .product-card__media img { filter: saturate(.35); }
.product-card.is-out:hover .product-card__media img { transform: none; }
.sold-out {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  translate: -50% -50%; rotate: -7deg;
  padding: .42rem 1.5rem; width: 84%; text-align: center;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .14em;
  box-shadow: 0 6px 18px -8px rgba(11,21,38,.75);
}
/* el precio de un producto que no puedes comprar no debe gritar */
.product-card.is-out .product-card__price .now { color: var(--ink-2); }
.product-card__wish {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--navy-700);
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s, color .2s;
}
.product-card:hover .product-card__wish { opacity: 1; transform: none; }
.product-card__wish:hover { color: var(--sale); }
.product-card__wish svg { width: 18px; height: 18px; }

.product-card__body { display: flex; flex-direction: column; gap: .5rem; padding: .95rem 1rem 1.1rem; flex: 1; }
.product-card__cat { font-size: .74rem; color: var(--amber-600); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.product-card__name { font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--ink); letter-spacing: 0; }
.product-card__name a:hover { color: var(--navy-600); }
/* Código del producto. Mismo tono y tamaño que en la ficha (.pdp-sku) para
   que catálogo y detalle se lean igual. Algunos códigos son largos
   (MA04COM093-22100-N01), así que se parte en vez de desbordar la tarjeta. */
.product-card__sku { font-size: .78rem; color: var(--muted); letter-spacing: .03em;
  margin: .3rem 0 0; overflow-wrap: anywhere; }
.rating { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); }
.stars { --p: 100%; position: relative; display: inline-block; font-size: .9rem; line-height: 1; letter-spacing: 1px; }
.stars::before { content: "★★★★★"; color: var(--line); }
.stars i { position: absolute; inset: 0; width: var(--p); overflow: hidden; color: var(--star); }
.stars i::before { content: "★★★★★"; }
.product-card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.product-card__price .now { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy-800); }
.product-card__price .was { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.product-card__cta { margin-top: .3rem; }

/* ==========================================================================
   OFERTAS BANNER
   ========================================================================== */
.promo-banner { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; }
.promo-banner .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding-block: clamp(2rem, 4vw, 3rem); }
.promo-banner .glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(231,154,43,.4), transparent 70%); top: -140px; right: -60px; pointer-events: none; }
.promo-banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); text-wrap: balance; }
.promo-banner h2 em { font-style: normal; color: var(--amber-400); }
.promo-banner p { margin-top: .8rem; color: #cdd7e6; max-width: 45ch; }
.promo-banner .promo-media { position: relative; }
.promo-banner .promo-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); height: clamp(180px, 26vw, 260px); width: 100%; object-fit: cover; }
@media (max-width: 780px) { .promo-banner .wrap { grid-template-columns: 1fr; } .promo-banner .promo-media { display: none; } }

/* ==========================================================================
   CATÁLOGO (layout con filtros)
   ========================================================================== */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding-block: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--navy-600); }
.breadcrumbs .sep { color: var(--line); }

.catalog { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; padding-bottom: 4rem; }
.filters { position: sticky; top: 92px; }
.filter-block { border-bottom: 1px solid var(--line); padding-block: 1.15rem; }
.filter-block:first-child { padding-top: 0; }
.filter-block h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: .8rem; color: var(--navy-800); }
.filter-opt { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; color: var(--ink-2); font-size: .92rem; cursor: pointer; }
.filter-opt input { width: 17px; height: 17px; accent-color: var(--navy-600); cursor: pointer; }
.filter-opt:hover { color: var(--navy-700); }
.filter-opt .count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.filter-scroll { max-height: 240px; overflow-y: auto; padding-right: .3rem; }
.filter-scroll::-webkit-scrollbar { width: 6px; }
.filter-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.catalog-main .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.catalog-main .toolbar .count-txt { color: var(--muted); font-size: .92rem; }
.catalog-main .toolbar .count-txt strong { color: var(--ink); }
.sort-select { display: flex; align-items: center; gap: .5rem; }
.sort-select select { border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1rem; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(88vw, 330px); background: #fff; z-index: var(--z-drawer);
    transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; padding: 1.2rem var(--gutter);
    box-shadow: var(--shadow-lg);
  }
  .filters.open { transform: none; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
  .filters__head button svg { width: 24px; height: 24px; }
  .filter-toggle { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; color: var(--navy-700); }
  .filter-toggle svg { width: 18px; height: 18px; }
}
@media (min-width: 901px) { .filters__head { display: none; } }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); grid-column: 1 / -1; }
.empty-state svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 1rem; }

/* Paginación */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pagination button { min-width: 40px; height: 40px; border-radius: var(--r); border: 1.5px solid var(--line); font-weight: 700; color: var(--navy-700); transition: all .2s; }
.pagination button:hover { border-color: var(--navy-600); }
.pagination button.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

/* ==========================================================================
   FICHA DE PRODUCTO
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: 1rem 3.5rem; align-items: start; }
.pdp-gallery { position: sticky; top: 92px; }
.pdp-gallery__main { aspect-ratio: 1 / 1; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.pdp-gallery__main img, .pdp-gallery__main iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.pdp-thumbs { display: flex; gap: .7rem; margin-top: .8rem; flex-wrap: wrap; }
.pdp-thumbs button { position: relative; width: 74px; height: 74px; border-radius: var(--r); overflow: hidden; border: 2px solid var(--line); transition: border-color .2s; background: #000; }
.pdp-thumbs button.active { border-color: var(--navy-600); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button.is-video img { opacity: .75; }
.pdp-thumb-play { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pdp-thumb-play svg { width: 13px; height: 13px; margin-left: 1px; }

.pdp-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--navy-800); text-wrap: balance; margin-bottom: .6rem; }
.pdp-info .rating { font-size: .92rem; margin-bottom: 1rem; }
.pdp-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.pdp-price .now { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy-800); }
.pdp-price .was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.pdp-price .off { background: var(--sale); color: #fff; font-size: .8rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; }
.pdp-desc { color: var(--ink-2); margin-bottom: 1.4rem; max-width: 60ch; }
.pdp-features { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.pdp-features li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink-2); }
.pdp-features svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 1px; }
/* código interno del producto: informativo, nunca debe competir con el nombre */
.pdp-sku { font-size: .82rem; color: var(--muted); letter-spacing: .03em; margin: .45rem 0 .6rem; }
.pdp-stock { display: inline-flex; align-items: center; gap: .45rem; color: var(--ok); font-weight: 700; font-size: .9rem; margin-bottom: 1.2rem; }
.pdp-stock .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 0 4px rgba(23,168,107,.16); }
.pdp-stock.is-out { color: var(--sale); }
.pdp-stock.is-out .dot { background: var(--sale); box-shadow: 0 0 0 4px rgba(214,60,44,.16); }
.pdp-stock.is-low { color: var(--amber-600); }
.pdp-stock.is-low .dot { background: var(--amber-600); box-shadow: 0 0 0 4px rgba(196,127,24,.18); }
.pdp-actions { display: flex; flex-direction: column; gap: .7rem; }
.pdp-actions .row { display: flex; gap: .7rem; }
.pdp-note { font-size: .84rem; color: var(--muted); margin-top: .4rem; display: flex; align-items: center; gap: .4rem; }
/* sin tamaño explícito el SVG se dimensiona solo y ocupa media página */
.pdp-note svg { width: 15px; height: 15px; flex: none; }
.pdp-perks { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pdp-perk { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; font-size: .8rem; color: var(--muted); }
.pdp-perk svg { width: 22px; height: 22px; color: var(--navy-600); }
.pdp-perk strong { color: var(--navy-800); font-size: .88rem; }
@media (max-width: 820px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.newsletter { background: var(--surface); border-top: 1px solid var(--line); }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: 2.6rem; }
.newsletter h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--navy-800); }
.newsletter p { color: var(--muted); margin-top: .4rem; }
.newsletter form { display: flex; gap: .6rem; }
.newsletter input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .85rem 1.2rem; background: #fff; outline: none; }
.newsletter input:focus { border-color: var(--navy-500); }
@media (max-width: 720px) { .newsletter .wrap { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy-900); color: #aebacb; padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: .92rem; line-height: 1.7; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a[data-icon="ig"],
.footer-social a[data-icon="tk"],
a[href^="mailto:"] { display: none !important; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cdd7e6; transition: background .2s, color .2s, transform .2s; }
.footer-social a:hover { background: var(--amber-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h5 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .32rem 0; font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }
.footer-pay { display: flex; gap: .5rem; align-items: center; }
.footer-pay span { background: rgba(255,255,255,.08); border-radius: 6px; padding: .3rem .55rem; font-size: .72rem; font-weight: 700; color: #cdd7e6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WHATSAPP FLOTANTE + TOAST
   ========================================================================== */
.wa-float {
  position: fixed; right: calc(clamp(1.2rem, 5vw, 1.8rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-float); display: inline-flex; align-items: center; gap: .6rem;
  background: var(--wa-600); color: #fff; padding: .85rem 1.1rem; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(29,168,81,.6); font-weight: 700;
  transition: transform .25s var(--ease), background .2s;
}
.wa-float:hover { background: var(--wa-500); transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .txt { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), margin .3s; }
.wa-float:hover .txt { max-width: 180px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 560px) {
  .wa-float {
    padding: .85rem;
    right: calc(1.2rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  }
  .wa-float .txt { display: none; }
}

.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 120%);
  background: var(--navy-800); color: #fff; padding: .85rem 1.3rem; border-radius: 999px;
  box-shadow: var(--shadow-lg); z-index: var(--z-toast); font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; gap: .6rem; transition: transform .4s var(--ease); max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--wa-500); flex: none; }

/* ==========================================================================
   MOTION · reveal on scroll
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .wa-float::after { display: none; }
}

/* ==========================================================================
   PÁGINAS INTERNAS (contacto, ayuda, seguimiento)
   ========================================================================== */

/* ---------- Encabezado de página ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff; padding-block: clamp(2.4rem, 6vw, 4rem);
}
.page-hero .wrap { max-width: 760px; text-align: center; }
.page-hero .eyebrow { color: var(--amber-400); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); margin: .5rem 0 .7rem; }
.page-hero p { color: #cdd7e6; font-size: clamp(1rem, 2.2vw, 1.12rem); }
.page-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-bottom: 1rem; font-size: .84rem; color: #9fb0c6; }
.page-crumbs a:hover { color: #fff; }
.page-crumbs .sep { opacity: .5; }

/* ---------- Layout de contenido ---------- */
.page-section { padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.page-section .wrap { max-width: 980px; }
.page-lead { text-align: center; max-width: 620px; margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); color: var(--muted); }
.page-lead h2 { color: var(--ink); font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: .6rem; }

/* ---------- Contenido tipo documento (términos, políticas) ---------- */
.doc-content { max-width: 760px; margin: 0 auto; color: var(--ink-2); line-height: 1.75; }
.doc-content .updated { font-size: .85rem; color: var(--muted); margin-bottom: 2.2rem; }
.doc-content h2 { color: var(--navy-800); font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin: 2.2rem 0 .8rem; }
.doc-content h2:first-of-type { margin-top: 0; }
.doc-content p { margin-bottom: 1rem; }
.doc-content ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.doc-content li::marker { color: var(--amber-500); }
.doc-content strong { color: var(--ink); }
.doc-content a { color: var(--navy-600); font-weight: 600; text-decoration: underline; }
.doc-content .note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; font-size: .92rem; }

/* ---------- Tarjetas de contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1rem, 2.4vw, 1.4rem); }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  padding: 1.5rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-500); }
.contact-card__ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface); color: var(--navy-700);
}
.contact-card__ico svg { width: 24px; height: 24px; }
.contact-card.is-wa .contact-card__ico { background: rgba(29,168,81,.12); color: var(--wa-600); }
.contact-card h3 { font-size: 1.08rem; }
.contact-card p { color: var(--muted); font-size: .92rem; }
.contact-card strong { color: var(--ink); font-weight: 700; }

/* ---------- Formulario ---------- */
.form-card {
  margin-top: clamp(1.8rem, 4vw, 2.6rem); padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 3px rgba(42,86,143,.12);
}
.form-card .btn { margin-top: 1.3rem; }
.form-note { margin-top: .9rem; font-size: .84rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ (acordeón nativo) ---------- */
.faq { display: grid; gap: .8rem; }
.faq-cat-title { margin: 1.8rem 0 .3rem; font-size: 1.15rem; color: var(--navy-700); }
.faq-cat-title:first-child { margin-top: 0; }
.faq-item {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--navy-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
  padding: 1.05rem 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--surface); color: var(--navy-700); font-size: 1.3rem; line-height: 1;
  transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--navy-700); color: #fff; transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 1.2rem 1.15rem; color: var(--ink-2); }
.faq-item .faq-body a { color: var(--navy-600); font-weight: 600; text-decoration: underline; }

/* ---------- Seguimiento de pedido ---------- */
.track-box {
  max-width: 560px; margin: 0 auto; padding: clamp(1.4rem, 3vw, 2.2rem); text-align: center;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.track-form { display: flex; gap: .7rem; margin-top: 1.2rem; }
.track-form input {
  flex: 1; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.track-form input:focus { outline: none; border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 3px rgba(42,86,143,.12); }
.track-form .btn { flex: none; }
@media (max-width: 480px) { .track-form { flex-direction: column; } .track-form .btn { width: 100%; } }

.track-steps { display: grid; gap: 1.1rem; max-width: 620px; margin: clamp(2rem, 5vw, 3rem) auto 0; }
.track-step { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
.track-step__n {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-700); color: #fff; font-family: var(--font-display); font-weight: 800;
}
.track-step:nth-child(1) .track-step__n { background: var(--wa-600); }
.track-step h4 { font-size: 1.05rem; margin-bottom: .15rem; }
.track-step p { color: var(--muted); font-size: .92rem; }
