/* =========================================================
   Felipe Arratia Moscas — tema de WordPress (portado del prototipo)
   ========================================================= */

:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-2: #efe9dc;
  --ink: #14231b;
  --ink-2: #39463f;
  --muted: #69736d;
  --line: #e2dacb;
  --forest: #163327;
  --forest-2: #1f4535;
  --forest-3: #2a5a46;
  --moss: #6d8b4e;
  --river: #2b6070;
  --accent: #d4572a;
  --accent-2: #b5451c;
  --gold: #e8b23a;
  --cream: #f4efe2;
  --ok: #2f7d4f;
  --danger: #b3261e;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 27, .06);
  --shadow: 0 1px 2px rgba(20, 35, 27, .05), 0 10px 30px rgba(20, 35, 27, .08);
  --shadow-lg: 0 20px 60px rgba(10, 25, 18, .25);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: 16px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 28px; } }

h1, h2, h3 { line-height: 1.15; margin: 0; }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--moss);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: var(--forest-2); }
.btn--ghost-light { border-color: rgba(244, 239, 226, .45); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(244, 239, 226, .1); border-color: var(--cream); }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #178347; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest-3); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--forest); color: var(--cream); font-size: 13px; }
.topbar .container { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; overflow: hidden; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; opacity: .92; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }
.topbar span:nth-child(n+2) { display: none; }
@media (min-width: 720px) { .topbar span:nth-child(2) { display: inline-flex; } }
@media (min-width: 1000px) { .topbar span:nth-child(3) { display: inline-flex; } }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 72px; height: 72px; }
.brand__text { display: none; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.brand__tag { font-size: 12px; color: var(--muted); }
@media (min-width: 480px) { .brand__text { display: block; } }
@media (min-width: 1080px) { :root { --header-h: 100px; } .brand img { width: 92px; height: 92px; } }
@media (min-width: 1080px) and (max-width: 1279px) { .brand__text { display: none; } }

.nav { display: none; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px;
  border-radius: 999px; font-weight: 500; font-size: 15px; background: none; border: 0; color: var(--ink-2);
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav .has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -20px; width: 640px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover button svg, .has-mega.open button svg { transform: rotate(180deg); }
.mega a { display: flex; justify-content: space-between; height: auto; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.mega a small { color: var(--muted); font-size: 12.5px; }
/* Franja horizontal para mayoristas, a todo el ancho al pie del menú */
.mega__side {
  grid-column: 1 / -1; margin-top: 10px; background: var(--forest); color: var(--cream); border-radius: 12px;
  padding: 14px 16px 14px 20px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px;
}
.mega__side p { margin: 0; font-size: 13.5px; opacity: .85; }
.mega__side strong { font-family: var(--font-display); font-size: 19px; display: block; margin-bottom: 2px; }
.mega__side .btn { flex: none; height: 40px; min-height: 40px; padding: 0 22px; color: var(--ink); background: var(--gold); justify-content: center; }
.mega__side .btn:hover { background: #f1c25a; color: var(--ink); }

.search { position: relative; flex: 1; min-width: 0; }
.search__field {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .18s, box-shadow .18s;
}
.search__field:focus-within { border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(42, 90, 70, .12); }
.search__field svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search__field input { border: 0; outline: 0; background: none; width: 100%; font-size: 15px; min-width: 0; }
.search__results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 6px; display: none; max-height: 70vh; overflow: auto;
}
.search__results.show { display: block; }
.search__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.search__item:hover, .search__item.active { background: var(--surface-2); }
.search__item img { width: 46px; height: 46px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.search__item span { flex: 1; min-width: 0; font-size: 14.5px; }
.search__item small { display: block; color: var(--muted); font-size: 12.5px; }
.search__item b { font-size: 14px; white-space: nowrap; }
.search__all { display: block; text-align: center; padding: 10px; font-weight: 600; font-size: 14px; color: var(--forest-3); }
.search__empty { padding: 16px; color: var(--muted); font-size: 14px; text-align: center; }

.header__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 0; background: none; color: var(--ink);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--bg);
}
.badge[hidden] { display: none; }
.badge.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }

.header .search--desktop { display: none; }
.header__mobile-search { padding: 0 0 12px; }
.menu-btn { display: inline-grid; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header .search--desktop { display: block; max-width: 340px; margin-left: auto; }
  .header__mobile-search { display: none; }
}

/* ---------- Drawers (menú móvil / carro / filtros) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 22, 16, .5); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 92vw);
  background: var(--bg); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  box-shadow: var(--shadow-lg);
}
.drawer--right { right: 0; transform: translateX(105%); }
.drawer--left { left: 0; transform: translateX(-105%); }
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--font-display); font-size: 22px; }
.drawer__body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--surface); }

.mnav { list-style: none; margin: 0; padding: 0; }
.mnav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mnav a small { color: var(--muted); font-weight: 400; }
.mnav__title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 22px 0 4px; font-weight: 600; }

.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.cart-item h3 { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.cart-item h3 a:hover { text-decoration: underline; }
.cart-item .price { font-size: 14px; color: var(--muted); font-weight: 500; }
.cart-item__total { font-weight: 700; font-size: 15px; text-align: right; }
.cart-item .remove { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 4px 0; text-decoration: underline; margin-top: 4px; }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 12px; }
.cart-sum { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.cart-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.cart-actions { display: grid; gap: 8px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); margin-top: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--surface-2); }
.qty button svg { width: 14px; height: 14px; }
.qty input, .qty span { width: 34px; text-align: center; border: 0; background: none; font-weight: 600; font-size: 14px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg button { width: 46px; height: 50px; }
.qty--lg input { width: 44px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(232, 178, 58, .16), transparent 60%),
    linear-gradient(180deg, var(--forest) 0%, #183a30 55%, #1c4542 100%);
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: 40px; padding-top: 56px; padding-bottom: 220px; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(36px, 6.2vw, 64px); margin: 16px 0 18px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); max-width: 560px; color: rgba(244, 239, 226, .85); margin: 0 0 28px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
@media (min-width: 480px) { .hero__stats { gap: 28px; } }
.hero__stats div { line-height: 1.2; }
.hero__stats b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #fff; }
.hero__stats span { font-size: 13.5px; color: rgba(244, 239, 226, .7); }
.hero__media { position: relative; padding: 14px 0 0; }

/* Composición de moscas: tarjetas tipo polaroid sobre una "caja mosquera" */
.flybox { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 16px 44px; }
.flybox::before {
  content: ""; position: absolute; inset: 0; border-radius: 26px; z-index: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 26px, rgba(244, 239, 226, .045) 26px 28px),
    linear-gradient(160deg, rgba(244, 239, 226, .07), rgba(244, 239, 226, .02));
  border: 1px solid rgba(244, 239, 226, .1);
}
.flycard {
  position: relative; z-index: 1; display: block; color: var(--ink); background: #fbf8f1;
  border-radius: 14px; padding: 7px 7px 10px; box-shadow: 0 16px 34px rgba(0, 0, 0, .32), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.flycard--1 { transform: rotate(-4deg); }
.flycard--2 { transform: translateY(26px) rotate(3deg); }
.flycard--3 { transform: translateY(-4px) rotate(2.5deg); }
.flycard--4 { transform: translateY(22px) rotate(-3deg); }
.flycard:hover, .flycard:focus-visible { z-index: 2; transform: translateY(-8px) rotate(0) scale(1.04); box-shadow: 0 26px 50px rgba(0, 0, 0, .4); }
.flycard__img { display: block; aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: #e9e4d8; }
.flycard__img img { width: 100%; height: 100%; object-fit: cover; }
.flycard__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1px 8px; padding: 8px 3px 0; }
.flycard__cap small { grid-column: 1 / -1; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.flycard__cap b { font-size: 13.5px; font-weight: 600; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Precio en verde de marca sobre pastilla suave (el rojo se asocia a "caro" o a alerta) */
.flycard__cap em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--forest); background: #e4eee4; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
@media (min-width: 900px) {
  .flybox { gap: 20px; padding: 22px 22px 52px; }
  .flycard { padding: 9px 9px 12px; }
  .flycard--2 { transform: translateY(34px) rotate(3deg); }
  .flycard--4 { transform: translateY(30px) rotate(-3deg); }
  .flycard__cap b, .flycard__cap em { font-size: 14.5px; }
}

/* Etiqueta "Moscas desde…" como sticker sobre la caja */
.hero__float {
  position: absolute; z-index: 3; left: -10px; top: -8px; display: flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink); border-radius: 999px; padding: 9px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3); transform: rotate(-4deg); transition: transform .25s;
}
.hero__float:hover { transform: rotate(-2deg) scale(1.03); }
.hero__float b { display: block; font-size: 14.5px; line-height: 1.2; }
.hero__float span { font-size: 12.5px; color: rgba(20, 35, 27, .75); }
/* Escena de agua */
.hero__water { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 250px; pointer-events: none; overflow: hidden; }
/* Toda la escena (olas, mosca, línea, anillos, salto, salpicaduras, reflejos y trucha)
   la anima assets/js/water.js con un solo reloj y la misma función de superficie.
   No se usan animaciones CSS aquí: en Chrome, actualizar el SVG en cada cuadro
   las interrumpe y quedarían desincronizadas. */
.hero__water .w1 { opacity: .95; }
.hero__water .crest { fill: none; stroke: #9cc9c1; stroke-width: 1.4; stroke-opacity: .35; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; padding-top: 80px; padding-bottom: 250px; gap: 56px; }
  .hero__float { left: -26px; }
  .hero__water { height: 290px; }
}

/* ---------- Franja de confianza ---------- */
.trust { position: relative; z-index: 3; margin-top: -54px; }
.trust__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.trust__item { background: var(--surface); padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.trust__item svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.trust__item b { display: block; font-size: 14.5px; }
.trust__item span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
@media (min-width: 900px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } .trust__item { padding: 22px; } }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 8px; }
.section__head p { color: var(--muted); margin: 8px 0 0; max-width: 560px; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; grid-auto-flow: dense; }
.cat {
  position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
/* Enlace principal que cubre toda la tarjeta; los enlaces de marcas/tipos quedan por encima */
.cat__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cat__link:focus-visible { outline: none; }
.cat:has(.cat__link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Abanico de productos */
.cat__fan { position: relative; height: 150px; background: var(--tint, #eee); overflow: hidden; }
.cat__fan img {
  position: absolute; left: 50%; top: 52%; width: 44%; max-width: 118px; aspect-ratio: 1; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 5px; box-shadow: 0 10px 22px rgba(20, 35, 27, .16);
  transform: translate(calc(-50% + var(--i) * 62%), -50%) rotate(calc(var(--i) * 9deg));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.cat__fan img:nth-child(2) { z-index: 1; }
.cat:hover .cat__fan img { transform: translate(calc(-50% + var(--i) * 82%), -56%) rotate(calc(var(--i) * 12deg)); }
.cat--wide .cat__fan img { width: 26%; }
.cat--wide .cat__fan img:nth-child(3) { z-index: 2; }

.cat__body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; flex: 1; } /* sin position: el enlace debe cubrir toda la tarjeta */
.cat__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat__title h3 { font-size: 17px; font-weight: 650; }
.cat__title svg { width: 20px; height: 20px; color: var(--accent); flex: none; transition: transform .2s; }
.cat:hover .cat__title svg { transform: translateX(4px); }
.cat__meta { margin: 0; font-size: 13px; color: var(--muted); }
.cat__brands { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cat__brands a { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.cat__brands a:hover { background: var(--forest); color: #fff; }

/* Moscas: tarjeta destacada */
.cat--feature { grid-column: span 2; background: var(--forest); color: var(--cream); border-color: var(--forest); }
.cat__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.cat__mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
/* Al pasar el mouse, la tarjeta completa crece un poco (las fotos no se mueven por separado) */
.cat--feature { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.cat--feature:hover { z-index: 2; transform: scale(1.025); box-shadow: 0 24px 50px rgba(10, 25, 18, .28); }
.cat--feature .cat__body { gap: 8px; padding: 18px 18px 20px; }
.cat__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cat--feature h3 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #fff; }
.cat--feature p { margin: 0; color: rgba(244, 239, 226, .8); font-size: 15px; }
.cat__pills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cat__pills a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(244, 239, 226, .25); font-weight: 600; font-size: 14px; color: var(--cream); }
.cat__pills a small { color: rgba(244, 239, 226, .6); font-weight: 500; }
.cat__pills a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cat__pills a:hover small { color: rgba(20, 35, 27, .6); }
.cat__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--gold); }
.cat__cta svg { width: 18px; height: 18px; transition: transform .2s; }
.cat--feature:hover .cat__cta svg { transform: translateX(4px); }

/* Señuelos: ancha · Aire comprimido: franja */
.cat--wide { grid-column: span 2; }
.cat--band { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.cat--band .cat__fan { width: 42%; max-width: 300px; height: auto; min-height: 120px; flex: none; }
.cat--band .cat__fan img { width: 34%; max-width: 92px; }
.cat--band .cat__body { justify-content: center; }

@media (min-width: 1000px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .cat--feature { grid-row: span 2; }
  .cat__fan { height: 170px; }
  .cat__fan img { width: 36%; }
  .cat--wide .cat__fan img { width: 22%; }
  .cat--feature .cat__mosaic { padding: 18px 18px 0; gap: 10px; }
  .cat--band .cat__fan { width: 320px; }
  .cat--band .cat__body { display: grid; grid-template-columns: 1fr auto; align-content: center; column-gap: 24px; padding: 18px 28px; }
  .cat--band .cat__title { justify-content: flex-start; }
  .cat--band .cat__brands { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
}

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; min-width: 0;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 10px; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag {
  position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
}
.card__tag--new { background: var(--gold); color: var(--ink); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; border-top: 1px solid var(--line); }
.card__meta { margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__title { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card__title a:hover { color: var(--forest-3); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.btn-add {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: var(--forest); color: #fff; transition: background .18s, transform .18s; flex: none;
}
.btn-add:hover { background: var(--accent); }
.btn-add svg { width: 18px; height: 18px; }
.btn-add.added { background: var(--ok); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pill--ok { background: #e3f1e8; color: var(--ok); }
.pill--out { background: #f6e3e1; color: var(--danger); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.row-scroll > * { scroll-snap-align: start; }
@media (min-width: 720px) { .row-scroll { grid-auto-columns: 31%; gap: 16px; } }
@media (min-width: 1080px) { .row-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* ---------- Pestañas ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.tab:hover { border-color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------- Historia ---------- */
.story { background: var(--surface-2); }
.story__grid { display: grid; gap: 40px; align-items: center; }
.story__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.story__photos img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.story__photos img:not(:first-child) { aspect-ratio: 1; }
.story h2 { font-size: clamp(30px, 4.5vw, 46px); margin: 10px 0 18px; }
.story p { color: var(--ink-2); font-size: 17px; margin: 0 0 16px; }
.story__list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.story__list svg { width: 22px; height: 22px; color: var(--moss); flex: none; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Marcas ---------- */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brands a {
  display: grid; place-items: center; background: var(--surface); height: 86px; padding: 0 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--ink-2); transition: .2s; text-align: center;
}
.brands a small { display: block; font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.brands a:hover { background: var(--forest); color: var(--cream); }
.brands a:hover small { color: rgba(244, 239, 226, .7); }
@media (min-width: 720px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .brands { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Mayoristas ---------- */
.wholesale {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 40px 24px;
  background: linear-gradient(120deg, var(--accent) 0%, #c24a20 55%, #a63d17 100%);
  display: grid; gap: 24px; align-items: center;
}
.wholesale::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .08);
}
.wholesale h2 { font-size: clamp(26px, 4vw, 38px); }
.wholesale p { margin: 10px 0 0; opacity: .92; max-width: 580px; font-size: 17px; }
.wholesale .btn { background: #fff; color: var(--accent-2); position: relative; z-index: 1; }
.wholesale .btn:hover { background: var(--cream); }
@media (min-width: 900px) { .wholesale { grid-template-columns: 1fr auto; padding: 52px 56px; } }

/* ---------- Visítanos ---------- */
.visit { display: grid; gap: 16px; }
.visit__card { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.visit__card h2 { font-size: clamp(28px, 4vw, 38px); color: #fff; }
.visit__row { display: flex; gap: 14px; align-items: flex-start; }
.visit__row svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.visit__row b { display: block; color: #fff; }
.visit__row span, .visit__row a { color: rgba(244, 239, 226, .82); font-size: 15px; }
.visit__row a:hover { color: #fff; text-decoration: underline; }
.visit__map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--line); background: var(--surface-2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.visit__hours { display: grid !important; grid-template-columns: auto 1fr; gap: 2px 14px; }
.visit__hours { row-gap: 6px !important; }
.visit__hours > span:nth-child(odd) { color: #fff; }
.visit__slot { display: block; white-space: nowrap; }
.placeholder { background: rgba(232, 178, 58, .18); border: 1px dashed var(--gold); border-radius: 6px; padding: 0 6px; color: inherit; }
@media (min-width: 900px) { .visit { grid-template-columns: 420px 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--accent); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: #0f2219; color: rgba(244, 239, 226, .75); padding: 64px 0 28px; margin-top: 0; font-size: 14.5px; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { width: 84px; height: 84px; }
.footer__brand p { max-width: 340px; margin: 14px 0 18px; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--cream); }
.social a:hover { background: var(--accent); }
.social svg { width: 19px; height: 19px; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer__pay span { border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: rgba(244, 239, 226, .85); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 64px; height: 64px; border-radius: 50%;
  background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31, 157, 85, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 34px; height: 34px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 10px 12px 10px 10px;
  border-radius: 14px; box-shadow: var(--shadow-lg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); width: max-content; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast img { width: 44px; height: 44px; border-radius: 8px; background: #fff; object-fit: contain; flex: none; }
.toast span { font-size: 14px; min-width: 0; }
.toast span b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.toast button { background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; white-space: nowrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 130; display: none; place-items: center; padding: 16px; background: rgba(10, 22, 16, .55); }
.modal.show { display: grid; }
.modal__box { background: var(--bg); border-radius: 20px; max-width: 460px; width: 100%; padding: 28px; box-shadow: var(--shadow-lg); }
.modal__box h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; }
.modal__box p { color: var(--ink-2); margin: 0 0 20px; }

/* ---------- Página interna: cabecera ---------- */
.page-head { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 46px); margin-top: 10px; }
.page-head p { color: var(--ink-2); margin: 10px 0 0; max-width: 720px; }
.head-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.head-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 14px; border-radius: 999px; border: 0;
  background: var(--forest); color: #fff; font-size: 14px; font-weight: 600;
}
.head-tag svg { width: 14px; height: 14px; opacity: .75; }
.head-tag:hover { background: var(--forest-3); }
.head-tag:hover svg { opacity: 1; }
.head-tags__count { font-size: 14px; color: var(--muted); margin-left: 4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.chip small { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--ink-2); }
.chip.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip.active small { color: rgba(255, 255, 255, .7); }

/* ---------- Tienda ---------- */
.shop { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 80px; }
.shop > * { min-width: 0; }
.filters { display: none; }
.filters__group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filters__group:first-child { padding-top: 0; }
.filters__group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--forest); margin: 0 0 0 1px; flex: none; }
.opt span { flex: 1; }
.opt small { color: var(--muted); font-size: 12.5px; }
.opt--zero { opacity: .45; }
.opt--more { display: none; }
.filters__group.expanded .opt--more { display: flex; }
.more-btn { background: none; border: 0; padding: 6px 0; color: var(--forest-3); font-weight: 600; font-size: 14px; }
.hooks { display: flex; flex-wrap: wrap; gap: 6px; }
.hooks label { position: relative; }
.hooks input { position: absolute; opacity: 0; }
.hooks span { display: grid; place-items: center; min-width: 46px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.hooks input:checked + span { background: var(--forest); color: #fff; border-color: var(--forest); }
.hooks input:focus-visible + span { outline: 3px solid var(--gold); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: .2s; cursor: pointer; margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked { background: var(--forest-3); }
.switch input:checked::after { left: 21px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar__count { font-size: 14.5px; color: var(--muted); }
.within {
  display: flex; align-items: center; gap: 8px; flex: 1 1 100%; height: 44px; padding: 0 6px 0 14px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .18s, box-shadow .18s;
}
.within:focus-within { border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(42, 90, 70, .12); }
.within > svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.within input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14.5px; }
.within input::-webkit-search-cancel-button { display: none; }
.within__clear { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); flex: none; }
.within__clear[hidden] { display: none; }
.within__clear svg { width: 14px; height: 14px; }
.within__clear:hover { background: var(--line); }
@media (min-width: 720px) { .within { flex: 0 1 340px; } }
.toolbar__count b { color: var(--ink); }
.toolbar__right { display: flex; gap: 8px; align-items: center; }
.select { height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 36px 0 16px; font-size: 14px; font-weight: 500; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314231b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.filter-btn { display: inline-flex; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; border: 0; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.active-filters button svg { width: 14px; height: 14px; }
.active-filters button:hover { background: var(--line); }
.active-filters .clear { background: none; text-decoration: underline; color: var(--muted); }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.progress { width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--forest-3); }
.empty-state { text-align: center; padding: 64px 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin: 0 0 18px; }
.seo-text { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 820px; font-size: 15px; }
.seo-text h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 10px; color: var(--ink); }

@media (min-width: 1080px) {
  .shop { grid-template-columns: 260px 1fr; gap: 40px; }
  .filters { display: block; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 4px 10px 4px 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .filter-btn { display: none; }
}
.drawer .filters { display: block; }

/* ---------- Producto ---------- */
.pdp { display: grid; gap: 32px; padding: 24px 0 64px; }
.gallery { display: grid; gap: 12px; align-self: start; }
.gallery__main { background: #fff; border: 1px solid var(--line); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; padding: 24px; overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.gallery__main.zoom img { transform: scale(1.8); cursor: zoom-out; }
.gallery__thumbs { display: flex; gap: 10px; }
.gallery__thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--forest); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__info .eyebrow { margin-bottom: 10px; }
.pdp__info h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.pdp__price { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pdp__price .price { font-size: 32px; }
.pdp__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pdp__specs span { background: var(--surface-2); padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.pdp__buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__buy .qty { margin: 0; }
.pdp__buy .btn--accent { flex: 1; min-width: 200px; height: 52px; }
.pdp__wa { margin-top: 12px; }
.perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.perks svg { width: 22px; height: 22px; color: var(--moss); flex: none; margin-top: 1px; }
.perks b { display: block; }
.perks span { color: var(--muted); }
.pdp__desc { margin-top: 8px; }
.pdp__desc h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 14px; }
.pdp__desc .text { color: var(--ink-2); font-size: 16px; white-space: pre-line; max-width: 760px; }
.specs-table { width: 100%; max-width: 560px; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.specs-table th, .specs-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs-table th { width: 40%; color: var(--muted); font-weight: 500; }
.pdp__tabs { display: grid; gap: 40px; }
.not-found { text-align: center; padding: 96px 16px; }
.not-found h1 { font-family: var(--font-display); font-size: 40px; margin-bottom: 10px; }
.not-found p { color: var(--muted); margin: 0 0 24px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 32px; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Nosotros ---------- */
.about-hero { background: var(--forest); color: var(--cream); padding: 56px 0 64px; position: relative; overflow: hidden; }
.about-hero .crumbs { color: rgba(244, 239, 226, .65); }
.about-hero h1 { font-size: clamp(34px, 5.5vw, 58px); margin: 14px 0 16px; max-width: 820px; }
.about-hero p { max-width: 640px; font-size: 18px; color: rgba(244, 239, 226, .85); margin: 0; }
.about-hero .eyebrow { color: var(--gold); }
.mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mod svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; }
.mod h3 { font-size: 17px; margin-bottom: 6px; }
.mod p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .mods { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.contact-grid { display: grid; gap: 24px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.form h3 { font-family: var(--font-display); font-size: 24px; }
.form p { margin: 0; color: var(--muted); font-size: 14.5px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg); outline: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(42, 90, 70, .12); }
.field textarea { min-height: 120px; resize: vertical; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Ajustes del tema de WordPress
   ========================================================= */
[hidden] { display: none !important; }

/* Carro lateral: WooCommerce repinta .widget_shopping_cart_content */
.drawer .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer .widget_shopping_cart_content.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }
.cart-item .remove { display: inline-block; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.added_to_cart { display: none !important; } /* WooCommerce agrega un enlace "Ver carro" junto al botón */
.btn-add.loading { opacity: .6; pointer-events: none; }

/* Páginas de texto y de WooCommerce */
.prose-wrap { padding-top: 36px; padding-bottom: 72px; }
.prose { max-width: 760px; color: var(--ink-2); font-size: 16.5px; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--ink); margin: 1.6em 0 .5em; }
.prose a { color: var(--forest-3); text-decoration: underline; }
.woo-wrap { padding-top: 32px; padding-bottom: 72px; }
.not-found__search { max-width: 520px; margin: 0 auto 24px; text-align: left; }

/* Tienda: un solo panel de filtros (deslizable en celular, barra lateral en escritorio) */
.shop-filters .filters { display: block; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.active-filters a svg { width: 14px; height: 14px; }
.active-filters a:hover { background: var(--line); }
.active-filters a.clear { background: none; text-decoration: underline; color: var(--muted); }
a.head-tag { text-decoration: none; }
a.more-btn { display: inline-block; }
.seo-text:empty { display: none; }
[data-shop] .grid, [data-shop] .load-more { transition: opacity .15s; }
[data-shop].is-loading .grid, [data-shop].is-loading .load-more { opacity: .45; pointer-events: none; }
@media (min-width: 1080px) {
  .shop-filters.drawer {
    position: sticky; top: calc(var(--header-h) + 20px); align-self: start; z-index: auto;
    width: auto; transform: none; box-shadow: none; background: none; display: block;
    max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 4px 10px 4px 4px;
    scrollbar-width: thin; scrollbar-color: var(--line) transparent; transition: none;
  }
  .shop-filters .drawer__head, .shop-filters .drawer__foot { display: none; }
  .shop-filters .drawer__body { padding: 0; overflow: visible; }
  .shop-filters .filters { position: static; max-height: none; overflow: visible; padding: 0; }
}

/* Nosotros y Contacto */
.story__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
a.mod { display: block; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.mod:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.contact-quick .btn { min-height: 44px; }
.contact-side { display: grid; gap: 24px; align-content: start; }
.form h2 { font-family: var(--font-display); font-size: 24px; }
.form__error { color: var(--danger); font-size: 14px; margin: 0; }
.contact-help { background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.contact-help h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 14px; }
.contact-help ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.contact-help li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.contact-help li svg { width: 22px; height: 22px; color: var(--moss); flex: none; margin-top: 1px; }
.contact-help b { display: block; }
.contact-help span { color: var(--muted); }

/* Ficha de producto */
.price-old { color: var(--muted); font-size: 18px; font-weight: 500; }
.pdp__intro { color: var(--ink-2); margin: 0 0 20px; }
.pdp__desc .prose-text { white-space: normal; }
.pdp__desc .prose-text p { margin: 0 0 12px; }
.pdp__desc .prose-text ul { padding-left: 20px; margin: 0 0 12px; }
.pdp__desc .prose-text a { color: var(--forest-3); text-decoration: underline; }
.pdp__buy .btn.loading { opacity: .7; pointer-events: none; }
.pdp__buy--woo .quantity input { width: 64px; height: 50px; border: 1.5px solid var(--line); border-radius: 999px; text-align: center; }
.pdp__buy--woo .single_add_to_cart_button { min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; }

/* Productos con opciones (numeración, talla…) */
.price small { font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.btn-choose {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; flex: none;
  border: 1.5px solid var(--forest); color: var(--forest); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .18s, color .18s;
}
.btn-choose:hover { background: var(--forest); color: #fff; }
.card__foot:has(.btn-choose) { flex-wrap: wrap; row-gap: 8px; }
/* Misma altura de pie en todas las tarjetas: el precio queda alineado aunque haya botón, "Agotado" o "Elegir número" */
.card__foot { min-height: 48px; }
.pdp__buy--var { flex-wrap: wrap; }
.pick { border: 0; margin: 0 0 6px; padding: 0; width: 100%; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.pick__hint { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 6px; }
.pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__opt { position: relative; cursor: pointer; display: flex; } /* todas las opciones con la misma altura */
.pick__opt span { flex: 1; }
.pick__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__opt span {
  display: grid; justify-items: center; align-content: center; min-width: 72px; min-height: 56px; padding: 6px 14px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); line-height: 1.15; transition: border-color .15s, background .15s;
}
.pick__opt b { font-size: 16px; }
.pick__opt small { font-size: 12px; color: var(--muted); }
.pick__opt em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pick__opt:hover span { border-color: var(--ink-2); }
.pick__opt input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.pick__opt input:checked + span small { color: rgba(255, 255, 255, .75); }
.pick__opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.pick__opt.is-out { cursor: not-allowed; }
.pick__opt.is-out span { background: var(--surface-2); color: var(--muted); border-style: dashed; }
.pick__opt.is-out b { text-decoration: line-through; }
.pdp__buy--var [data-buy]:disabled { opacity: .5; cursor: not-allowed; }
.pick__note { width: 100%; margin: 0; color: var(--muted); font-size: 14px; }
.pick__notify { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--forest-3); text-decoration: underline; }

/* =========================================================
   Compra: carro, checkout, confirmación y Mi cuenta
   (sobre los estilos base de WooCommerce, que se cargan en estas páginas)
   ========================================================= */
.page-head--compact { padding: 22px 0 18px; }
.page-head--compact h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 0; }
.woo-wrap { padding-top: 28px; }

/* Pasos */
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps a { display: inline-flex; align-items: center; gap: 8px; color: var(--forest-3); }
.steps__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); font-size: 12px; }
.steps__n svg { width: 13px; height: 13px; }
.steps .done .steps__n { background: var(--forest-3); border-color: var(--forest-3); color: #fff; }
.steps .current { color: var(--ink); }
.steps .current .steps__n { background: var(--forest); border-color: var(--forest); color: #fff; }
@media (max-width: 480px) { .steps { gap: 6px 12px; font-size: 13px; } .steps li, .steps a { gap: 6px; } .steps__n { width: 22px; height: 22px; } }

/* Botones de WooCommerce con el estilo del tema (sin el morado por defecto) */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 15px; line-height: 1; transition: background .18s, border-color .18s, color .18s;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--surface-2); border-color: var(--ink-2); color: var(--ink); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: var(--accent); border-color: var(--accent); color: #fff; min-height: 52px; font-size: 16px;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; }

/* Campos (mismo estilo que el formulario de Contacto) */
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; margin-bottom: 6px; line-height: 1.3; }
.woocommerce form .form-row .required { color: var(--accent); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single, .woocommerce-cart .coupon input.input-text {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; background: var(--surface); font-size: 15px; line-height: 1.4; min-height: 46px;
}
.woocommerce form .form-row textarea { min-height: 96px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: 0; border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(42, 90, 70, .12); }
.woocommerce .select2-container .select2-selection--single { height: 46px; display: flex; align-items: center; padding: 0 10px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.woocommerce form .form-row .description, .woocommerce form .form-row .woocommerce-input-wrapper .description { font-size: 13px; color: var(--muted); margin-top: 4px; background: none; padding: 0; position: static; }
.woocommerce form .form-row .description::before { display: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--danger); }

/* Avisos sin el ícono por defecto (se superponía al texto) */
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none !important; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error { border-top: 0; padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 18px; }
.woocommerce .woocommerce-info { background: var(--surface-2); color: var(--ink); }
.woocommerce .woocommerce-message { background: #e3f1e8; color: var(--ink); }
.woocommerce .woocommerce-error { background: #f6e3e1; color: var(--ink); }
.woocommerce .woocommerce-info a, .woocommerce .woocommerce-message a:not(.button) { color: var(--forest-3); font-weight: 600; text-decoration: underline; }

/* ---------- Carro ---------- */
.woocommerce-cart .woo-content > .woocommerce { display: grid; gap: 28px; align-items: start; }
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart-form { min-width: 0; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); border-collapse: separate; margin: 0; }
.woocommerce table.shop_table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 12px; }
.woocommerce table.shop_table td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.woocommerce-cart table.cart img { width: 76px; height: 76px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce-cart table.cart td.product-name a { font-weight: 600; color: var(--ink); }
.woocommerce-cart table.cart td.product-name a:hover { color: var(--forest-3); }
.woocommerce-cart table.cart td.product-subtotal { font-weight: 700; }
.woocommerce a.remove { width: 30px; height: 30px; line-height: 27px; font-size: 20px; font-weight: 400; color: var(--muted) !important; border: 1.5px solid var(--line); border-radius: 50%; }
.woocommerce a.remove:hover { background: #f6e3e1 !important; color: var(--danger) !important; border-color: transparent; }
.woocommerce-cart table.cart td.actions { padding: 14px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px; margin: 0; }
/* Con JavaScript el carro se actualiza solo al cambiar la cantidad */
.woocommerce-cart-form [name="update_cart"] { display: none !important; }
.qty--cart { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); margin: 0; }
.qty--cart .qty__btn { width: 34px; height: 36px; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; color: var(--ink); }
.qty--cart .qty__btn:hover { background: var(--surface-2); }
.qty--cart .qty__btn svg { width: 14px; height: 14px; }
.woocommerce .qty--cart input.qty { width: 40px; border: 0; background: none; text-align: center; font-weight: 600; padding: 0; min-height: 0; -moz-appearance: textfield; }
.qty--cart input.qty::-webkit-outer-spin-button, .qty--cart input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.woocommerce .cart-collaterals { width: 100%; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cart_totals h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 12px; }
.cart_totals table.shop_table { border: 0; background: none; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.cart_totals table.shop_table tr:first-child th, .cart_totals table.shop_table tr:first-child td { border-top: 0; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 18px !important; font-weight: 700; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { display: none !important; }
/* Opciones de envío a todo el ancho, bajo el título "Envío" (en el carro y en el checkout) */
.woocommerce table.shop_table tr.woocommerce-shipping-totals th, .woocommerce table.shop_table tr.woocommerce-shipping-totals td { display: block; width: 100%; text-align: left; }
.woocommerce table.shop_table tr.woocommerce-shipping-totals th { padding-bottom: 4px; border-top: 0; }
/* La separación sobre "Envío" va como borde inferior del subtotal (ocupa todo el ancho) */
.woocommerce table.shop_table tr.cart-subtotal th, .woocommerce table.shop_table tr.cart-subtotal td { border-bottom: 1px solid var(--line); }
.woocommerce table.shop_table tr.woocommerce-shipping-totals td { border-top: 0; padding-top: 4px; }
.woocommerce table.shop_table tr.woocommerce-shipping-totals td::before { display: none; }
#shipping_method { list-style: none; margin: 0; padding: 0; }
#shipping_method li { margin: 0 0 10px; padding: 0; text-indent: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: start; }
#shipping_method li input { margin: 4px 0 0; accent-color: var(--forest); }
#shipping_method li label { font-weight: 600; line-height: 1.35; }
.rate-note { grid-column: 2; display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; line-height: 1.4; }
.woocommerce .wc-proceed-to-checkout { padding: 8px 0 0; display: grid; gap: 10px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { margin: 0; width: 100%; }
.am-wa-order { min-height: 46px; }
.perks--compact { margin-top: 18px; gap: 12px; }
.perks--compact li { font-size: 13.5px; }
.cart-empty-page { max-width: 640px; margin: 0 auto; }
.cart-empty-page > svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 12px; }
.cart-empty-page__links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
@media (min-width: 1000px) {
  .woocommerce-cart .woo-content > .woocommerce { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .woocommerce .cart-collaterals { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* Carro en el celular: cada producto como tarjeta (en vez de filas con etiquetas) */
@media (max-width: 768px) {
  .woocommerce-cart table.cart thead { display: none; }
  .woocommerce-cart table.cart tr.cart_item {
    display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: center;
    grid-template-areas: "img name remove" "img price price" "img qty subtotal"; padding: 14px; border-top: 1px solid var(--line);
  }
  .woocommerce-cart table.cart tr.cart_item:first-child { border-top: 0; }
  .woocommerce-cart table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; background: none !important; }
  .woocommerce-cart table.cart tr.cart_item td::before { display: none !important; }
  .woocommerce-cart table.cart td.product-thumbnail { display: block !important; grid-area: img; align-self: start; }
  .woocommerce-cart table.cart td.product-name { grid-area: name; }
  .woocommerce-cart table.cart td.product-remove { grid-area: remove; justify-self: end; }
  .woocommerce-cart table.cart td.product-price { grid-area: price; color: var(--muted); font-size: 14px; }
  .woocommerce-cart table.cart td.product-price::after { content: " c/u"; }
  .woocommerce-cart table.cart td.product-quantity { grid-area: qty; }
  .woocommerce-cart table.cart td.product-subtotal { grid-area: subtotal; justify-self: end; }
  .woocommerce-cart table.cart td.actions { text-align: left !important; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1 1 160px; width: auto; }
  .woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals td, #shipping_method li { text-align: left !important; }
}

/* ---------- Checkout ---------- */
.am-checkout { display: grid; gap: 28px; align-items: start; }
.am-checkout .col2-set .col-1, .am-checkout .col2-set .col-2 { float: none; width: 100%; }
.am-checkout .col2-set, .am-checkout .col2-set .col-2 { display: grid; gap: 14px; }
.am-checkout .col2-set::before, .am-checkout .col2-set::after { display: none; } /* sin los "clearfix" que generan huecos en la grilla */
/* Montos a la derecha, como en una boleta (resumen del carro y del checkout) */
.am-checkout__side table.shop_table td:last-child, .cart_totals table.shop_table td { text-align: right; }
.am-checkout__side table.shop_table td.product-name { width: 100%; padding-right: 12px; }
.am-checkout__side table.shop_table td.product-total { white-space: nowrap; }
.woocommerce-checkout #order_comments { border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; background: var(--surface); }
.am-checkout h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 14px; }
.am-checkout .woocommerce-billing-fields, .am-checkout .woocommerce-shipping-fields, .am-checkout .woocommerce-additional-fields {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 10px;
}
.am-checkout #ship-to-different-address { font-family: var(--font); font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.am-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.am-checkout #ship-to-different-address input { accent-color: var(--forest); width: 18px; height: 18px; }
.am-checkout__side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.am-checkout__side table.shop_table { border: 0; background: none; }
.am-checkout__side table.shop_table th, .am-checkout__side table.shop_table td { padding: 10px 0; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--ink); }
.am-checkout__side table.shop_table thead { display: none; }
.am-checkout__side table.shop_table tbody tr:first-child td { border-top: 0; }
.am-checkout__side .product-quantity { color: var(--muted); font-weight: 600; }
.am-checkout__side .order-total th, .am-checkout__side .order-total td { font-size: 18px !important; font-weight: 700; }
.woocommerce-checkout #payment { background: var(--surface-2); border-radius: var(--radius-sm); margin-top: 14px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 14px 16px; }
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 600; }
.woocommerce-checkout #payment ul.payment_methods li input { accent-color: var(--forest); }
.woocommerce-checkout #payment div.payment_box { background: var(--bg); color: var(--ink-2); border-radius: 10px; font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg); }
.woocommerce-checkout #payment div.form-row { padding: 16px; margin: 0; }
.woocommerce-checkout #payment #place_order { float: none; width: 100%; margin-top: 4px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--muted); }
@media (min-width: 1000px) {
  .am-checkout { grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; }
  .am-checkout__side { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Pedido recibido ---------- */
.thanks-box { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.thanks-box h2 { font-family: var(--font-display); font-size: 28px; color: #fff; margin-bottom: 8px; }
.thanks-box p { margin: 0 0 16px; color: rgba(244, 239, 226, .85); max-width: 680px; }
.woocommerce-order .woocommerce-thankyou-order-received { font-weight: 600; }
.woocommerce ul.order_details { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.woocommerce ul.order_details li { float: none; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.woocommerce ul.order_details li strong { display: block; margin-top: 4px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.woocommerce-order h2 { font-family: var(--font-display); font-size: 24px; margin: 24px 0 12px; }
.woocommerce .woocommerce-customer-details address { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }

/* ---------- Mi cuenta ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 20px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--surface-2); color: var(--ink); }

/* Avisos de WooCommerce (p. ej. al agregar al carro sin JavaScript) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 16px 0 0; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #e3f1e8; color: var(--ink); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.woocommerce-error { background: #f6e3e1; }
.woocommerce-info { background: var(--surface-2); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; font-weight: 700; color: var(--forest-3); text-decoration: underline; }

.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
