/* =========================================================
   Hunters Shop HN — Tienda (tema claro)
   Paleta tomada del banner: oliva, crema y blanco
   ========================================================= */
/* Tipografía de marca
   Principal: Stigfier (serif clásica y formal). Es una fuente con licencia comercial de pago:
   si la adquieres con licencia web, copia el archivo a assets/fonts/stigfier.woff2 y agrega
   url(../assets/fonts/stigfier.woff2) format("woff2") a la regla @font-face de abajo.
   Si está instalada en el equipo se usa automáticamente. Mientras tanto se usa Cormorant Garamond como alternativa.
   Secundaria: Century Gothic (sans-serif minimalista). Se usa la instalada en el equipo;
   si no existe, Questrial (Google Fonts), de geometría muy similar. */
@font-face {
  font-family: "Stigfier";
  src: local("Stigfier"), local("Stigfier Regular");
  font-display: swap;
}
:root {
  /* Paleta de marca: verde oliva #8C8C72 (C46 M36 Y58 K7 · R140 G140 B114) */
  --olive: #8c8c72;
  --olive-600: #7b7b63;
  --olive-700: #696954;
  --olive-800: #505040;
  --sage: #c2c2af;
  --sage-100: #efefe7;
  --cream: #f8f2e9;
  --sand: #efe7da;
  --ink: #33332a;
  --text: #47473c;
  --muted: #74746a;
  --line: #e8e1d4;
  --white: #fff;
  --danger: #b4533f;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -14px rgba(70, 70, 50, .28);
  --shadow-lg: 0 24px 60px -24px rgba(70, 70, 50, .38);
  --serif: "Stigfier", "Cormorant Garamond", Georgia, serif;
  --sans: "Century Gothic", "CenturyGothic", "Questrial", "AppleGothic", system-ui, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.1; margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; padding: 13px 26px;
  font-weight: 500; letter-spacing: .04em; font-size: .93rem; transition: .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--olive-700); color: #fff; }
.btn-primary:hover { background: var(--olive-800); }
.btn-outline { border-color: var(--olive-700); color: var(--olive-700); background: transparent; }
.btn-outline:hover { background: var(--olive-700); color: #fff; }
.btn-light { background: #fff; color: var(--olive-800); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { color: var(--olive-700); font-weight: 500; border-bottom: 1px solid currentColor; }

/* ---------- Patrón de hojas de marca ---------- */
.pattern { position: relative; isolation: isolate; }
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--pattern-color, #e8e0d0);
  -webkit-mask: url(../assets/img/pattern-mask.webp) repeat 0 0 / var(--pattern-size, 300px) auto;
  mask: url(../assets/img/pattern-mask.webp) repeat 0 0 / var(--pattern-size, 300px) auto;
}

/* ---------- Barra superior y header ---------- */
.topbar {
  background: var(--olive-700); color: #fff; font-size: .8rem; letter-spacing: .12em; text-align: center;
  padding: 8px 12px;
}
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-main { display: flex; align-items: center; gap: 22px; height: 78px; }
.logo img { height: 36px; width: auto; }
.search {
  flex: 1; max-width: 520px; margin: 0 auto; display: flex; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 18px;
}
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; outline: none; min-width: 0; }
.search button { border: 0; background: var(--olive-700); color: #fff; border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--olive-800);
}
.icon-btn:hover { background: var(--sage-100); }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; border-radius: 10px; padding: 0 5px;
  background: var(--olive-700); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center;
}
.badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 12px 14px; font-size: .84rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--olive-700); border-bottom-color: var(--olive); }

/* ---------- Hero ---------- */
.hero { background: var(--cream); overflow: hidden; --pattern-color: #efe8db; --pattern-size: 330px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 640px; gap: 30px; }
.hero-copy { padding: 70px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; color: var(--olive-700); }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); margin: 18px 0 20px; color: var(--olive-800); letter-spacing: -.005em; }
.hero h1 span { color: var(--olive); }
.hero p { font-size: 1.06rem; max-width: 470px; color: var(--muted); margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: .85rem; color: var(--olive-700); letter-spacing: .04em; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; }

/* Tarjetas colgantes interactivas */
.tags-stage { position: relative; align-self: start; width: min(560px, 100%); margin-left: auto; aspect-ratio: 714 / 834; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hang-tag {
  position: absolute; top: 0; transform-origin: 50% 0; will-change: transform; cursor: grab;
  filter: drop-shadow(0 22px 22px rgba(70, 64, 45, .16)) drop-shadow(0 4px 6px rgba(70, 64, 45, .08));
  -webkit-tap-highlight-color: transparent;
}
.hang-tag:active { cursor: grabbing; }
.hang-tag img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.hang-tag.green { left: 0; width: 54.6%; z-index: 1; }
.hang-tag.white { left: 45.55%; width: 54.35%; z-index: 2; }
.tags-hint { position: absolute; right: 0; bottom: 6%; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .8; }

/* ---------- Beneficios ---------- */
.perks { background: var(--olive); color: #fff; }
.perks .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.perk { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.perk svg { width: 30px; height: 30px; opacity: .9; }
.perk b { display: block; font-weight: 500; letter-spacing: .03em; }
.perk span { opacity: .8; font-size: .82rem; }

/* ---------- Secciones ---------- */
.section { padding: 76px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-head p { margin: 6px 0 0; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand);
  isolation: isolate;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(40, 42, 28, .7)); }
.cat span {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--serif);
  font-size: 1.55rem; display: flex; justify-content: space-between; align-items: center;
}
.cat:hover img { transform: scale(1.06); }

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px; background: var(--olive-700); color: #fff; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
}
.card-add {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--olive-800); display: grid; place-items: center; box-shadow: var(--shadow);
  transform: translateY(8px); opacity: 0; transition: .25s ease;
}
.card:hover .card-add, .card-add:focus { opacity: 1; transform: none; }
.card-add:hover { background: var(--olive-700); color: #fff; }
.card-body { padding: 14px 4px 0; }
.card-cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 3px 0 6px; line-height: 1.2; }
.price { display: flex; align-items: baseline; gap: 8px; font-weight: 500; color: var(--olive-800); }
.price s { color: var(--muted); font-weight: 400; font-size: .9em; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h3 { font-size: 1.8rem; margin-bottom: 8px; }
.center { text-align: center; margin-top: 36px; }

/* skeleton */
.skeleton { background: linear-gradient(90deg, var(--cream), var(--sand), var(--cream)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
.sk-card .card-media { background: none; }

/* ---------- Banda de marca ---------- */
.brand-band { background: var(--olive); color: #fff; --pattern-color: rgba(255, 255, 255, .13); --pattern-size: 320px; }
.brand-band .container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.brand-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.brand-band p { opacity: .9; max-width: 480px; }
.brand-band img { border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; aspect-ratio: 1400 / 781; object-fit: cover; max-width: 560px; justify-self: center; width: 100%; }
.steps { display: grid; gap: 14px; margin: 26px 0 30px; }
.brand-band .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 34px; }
.brand-band .step { flex-direction: column; gap: 12px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
@media (max-width: 900px) { .brand-band .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .brand-band .steps { grid-template-columns: 1fr; gap: 10px; } .brand-band .step { flex-direction: row; padding: 14px; } }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step i { font-style: normal; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; }

/* ---------- Página de categoría ---------- */
.page-head { background: var(--cream); --pattern-color: #ece4d5; --pattern-size: 280px; padding: 46px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--olive-800); }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--olive-700); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 28px 0; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 15px; font-size: .86rem; }
.chip.active, .chip:hover { border-color: var(--olive-700); background: var(--olive-700); color: #fff; }
select.input, .input, textarea.input {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(140, 140, 114, .2); }
.toolbar select.input { width: auto; }

/* ---------- Detalle de producto ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 40px 0 70px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--cream); }
.thumbs button.active { border-color: var(--olive); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 6px 0 12px; }
.pd-price { font-size: 1.6rem; margin-bottom: 18px; }
.pd-desc { color: var(--muted); margin-bottom: 26px; white-space: pre-line; }
.label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.opt { min-width: 48px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.opt.active { border-color: var(--olive-700); background: var(--olive-700); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 1.2rem; }
.qty input { width: 42px; text-align: center; border: 0; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.pd-actions .btn-primary { flex: 1; min-width: 200px; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.pd-meta div { display: flex; gap: 10px; align-items: center; }
.pd-meta svg { width: 20px; height: 20px; color: var(--olive); }
.stock-low { color: var(--danger); font-size: .9rem; margin-bottom: 14px; }

/* ---------- Carrito lateral ---------- */
.overlay { position: fixed; inset: 0; background: rgba(35, 36, 26, .45); opacity: 0; pointer-events: none; transition: .3s; z-index: 80; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: #fff; z-index: 90;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.7rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--cream); }
.line-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; background: var(--cream); }
.line-item h4 { margin: 0 0 2px; font-weight: 500; font-size: .96rem; color: var(--ink); }
.line-item small { color: var(--muted); display: block; }
.line-item .qty button { width: 30px; height: 32px; font-size: 1rem; }
.line-item .qty input { width: 30px; font-size: .9rem; }
.line-right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.remove { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 6px 0; }
.row.total { font-size: 1.15rem; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.free-ship { font-size: .84rem; color: var(--olive-700); background: var(--sage-100); padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.progress { height: 5px; background: #fff; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--olive); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 36px 0 80px; align-items: start; }
.stepper { display: flex; gap: 6px; margin-bottom: 28px; counter-reset: s; }
.stepper div {
  flex: 1; padding: 10px 6px 12px; text-align: center; border-bottom: 3px solid var(--line); font-size: .86rem; color: var(--muted);
  letter-spacing: .04em;
}
.stepper div.on { border-color: var(--olive); color: var(--olive-800); font-weight: 500; }
.stepper div.done { border-color: var(--olive-700); color: var(--olive-700); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h2 { font-size: 1.9rem; margin-bottom: 18px; }
.summary { background: var(--cream); border-radius: var(--radius); padding: 24px; position: sticky; top: 140px; }
.summary h3 { font-size: 1.6rem; margin-bottom: 12px; }
.mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mini img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.mini div { flex: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; margin-bottom: 6px; color: var(--ink); font-weight: 500; }
.field .err { color: var(--danger); font-size: .8rem; margin-top: 4px; display: none; }
.field.invalid .input { border-color: var(--danger); }
.field.invalid .err { display: block; }
.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--olive); background: var(--sage-100); }
.radio-card input { accent-color: var(--olive-700); width: 18px; height: 18px; }
.radio-card div { flex: 1; }
.radio-card small { display: block; color: var(--muted); }
.banks { display: grid; gap: 12px; margin: 16px 0 20px; }
.bank { border: 1px dashed var(--sage); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--cream); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.bank b { color: var(--ink); }
.bank .acc { font-family: ui-monospace, monospace; font-size: 1.05rem; letter-spacing: .04em; color: var(--olive-800); }
.copy { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: .8rem; grid-row: span 3; }
.note { background: var(--sage-100); border-left: 3px solid var(--olive); padding: 14px 16px; border-radius: 8px; font-size: .92rem; margin: 14px 0; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.success { text-align: center; padding: 50px 24px; }
.success .check { width: 76px; height: 76px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.success h2 { font-size: 2.4rem; margin-bottom: 10px; }
.order-code { display: inline-block; font-family: ui-monospace, monospace; background: var(--cream); border: 1px solid var(--line); padding: 8px 16px; border-radius: 8px; font-size: 1.1rem; margin: 10px 0 20px; color: var(--olive-800); }

/* ---------- Contacto / footer ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.contact-card svg { width: 30px; height: 30px; color: var(--olive); margin-bottom: 12px; }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.footer { background: #8c8c72; --pattern-color: rgba(255, 255, 255, .12); --pattern-size: 320px; color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer img { height: 40px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 46px; padding: 18px 0; font-size: .82rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; opacity: .8; }

/* ---------- WhatsApp flotante y toast ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: attr(data-tip); position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--ink);
  padding: 8px 14px; border-radius: 10px; font-size: .85rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s;
}
.wa-float:hover::after { opacity: 1; }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--olive-800); color: #fff;
  padding: 13px 22px; border-radius: 99px; opacity: 0; transition: .3s; z-index: 100; box-shadow: var(--shadow-lg); font-size: .93rem;
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: #fff; text-decoration: underline; padding: 0; }

/* Menú móvil */
.mobile-nav { position: fixed; inset: 0 auto 0 0; width: min(320px, 86%); background: #fff; z-index: 90; transform: translateX(-100%); transition: .35s; padding: 22px; overflow-y: auto; }
.mobile-nav.open { transform: none; }
.mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid, .cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perks .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-main { height: 66px; gap: 8px; }
  .logo img { height: 28px; }
  .header-search-row { padding: 0 16px 10px; }
  .header-main .search { display: none; }
  .search.mobile { display: flex; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .tags-stage { order: -1; width: min(330px, 82%); margin: 0 auto; }
  .tags-hint { display: none; }
  .hero-copy { padding: 18px 0 48px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .pd, .checkout, .brand-band .container { grid-template-columns: 1fr; gap: 28px; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-add { opacity: 1; transform: none; width: 40px; height: 40px; }
}
@media (min-width: 821px) { .search.mobile { display: none; } }
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat span { font-size: 1.2rem; left: 12px; right: 12px; bottom: 12px; }
  .card-name { font-size: 1.08rem; }
  .section { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .perks .container { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .stepper div { font-size: .74rem; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
