/* =====================================================================
   mimo · estilos
   Paleta: blancos #FFFFFF #F8F9FA #F1F3F5 · negro #181818 · texto #707070
           acento azul #386641 · positivo verde #5D9278
   ===================================================================== */
:root {
  --white: #FFFFFF;
  --bg: #F6F8EC;
  --bg-2: #EEF3DE;
  --bg-3: #E4EDC4;
  --ink: #1B2A17;
  --muted: #5A684F;
  --blue: #386641;
  --violet-deep: #2A5032;
  --peach: #A7C957;
  --peach-deep: #6A994E;
  --green: #6A994E;
  --line: #E1E9C9;
  --line-2: #CCDAA4;
  --grad: linear-gradient(135deg, #6A994E 0%, #386641 50%, #24452B 100%);
  --grad-soft: linear-gradient(135deg, #EAF1D2 0%, #F3F6E4 100%);
  --r-lg: 32px;
  --r: 24px;
  --r-sm: 12px;
  --pill: 999px;
  --hdr: 70px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --shadow: 0 1px 2px rgba(26, 48, 24, .04), 0 12px 32px -18px rgba(26, 48, 24, .18);
  --shadow-lg: 0 2px 4px rgba(26, 48, 24, .04), 0 28px 60px -28px rgba(26, 48, 24, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --f-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (min-width: 960px) { :root { --hdr: 86px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lock { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(56, 102, 65, .16); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- Tipografía ---------- */
.display { font-size: clamp(2.5rem, 7.2vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.display-2 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.035em; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.h4 { font-size: 1.15rem; letter-spacing: -.015em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); line-height: 1.6; max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dot-accent { color: var(--peach-deep); font-style: normal; -webkit-text-fill-color: var(--peach-deep); }
.tbc { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #55634A; background: var(--bg-3); border: 1px dashed var(--line-2); border-radius: var(--pill); padding: 2px 10px; white-space: nowrap; }

/* ---------- Iconos ---------- */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }

/* ---------- Botones ---------- */
.btn {
  --bh: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bh); padding: 0 20px; border-radius: var(--pill);
  font: 600 14.5px/1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn .ic { transition: transform .3s var(--ease-out); }
.btn:hover .ic-sm:last-child { transform: translateX(3px); }
.btn-sm { --bh: 38px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { --bh: 54px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(56, 102, 65, .65), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn-dark:hover { box-shadow: 0 14px 30px -12px rgba(56, 102, 65, .75), inset 0 1px 0 rgba(255, 255, 255, .18); transform: translateY(-1px); }
.btn-dark:hover::before { transform: translateX(120%); }
.btn-dark.is-done { background: var(--green); }
.btn-line { border-color: var(--line-2); background: var(--white); }
.btn-line:hover { border-color: var(--blue); color: var(--violet-deep); background: #F7FAEE; }
.btn-soft { background: var(--bg-3); color: var(--muted); cursor: not-allowed; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-3); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #2A5032; box-shadow: 0 10px 24px -12px rgba(106, 153, 78, .7); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .25s, gap .25s var(--ease-out); }
.link-arrow:hover { border-color: currentColor; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill); transition: background .2s; position: relative; }
.icon-btn:hover { background: var(--bg-3); }

/* ---------- Cabecera ---------- */
/* Franja verde de marca (logo Mimo): degradado lima, malla de puntos, brillo que recorre y borde luminoso */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); isolation: isolate; overflow: visible;
  background:
    radial-gradient(120% 180% at 8% -40%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%),
    linear-gradient(100deg, #E2FF5C 0%, #D3FA45 38%, #BFF03C 72%, #A6E23A 100%);
  box-shadow: 0 1px 0 rgba(90, 150, 20, .18), 0 10px 30px -18px rgba(80, 140, 20, .55);
  transition: box-shadow .3s;
}
.hdr::before {   /* malla de puntos muy sutil (toque tecnológico) */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(40, 80, 0, .16) 1px, transparent 1.2px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  opacity: .55;
}
.hdr::after {    /* borde inferior luminoso */
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(120, 200, 30, 0), #78C81E 20%, #E9FF6A 50%, #78C81E 80%, rgba(120, 200, 30, 0));
  box-shadow: 0 0 12px rgba(200, 255, 80, .9);
}
.hdr-glow { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.hdr-glow::before { /* destello que cruza la franja lentamente */
  content: ''; position: absolute; top: -60%; bottom: -60%; width: 22%; left: -30%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  transform: skewX(-20deg); animation: hdrSheen 9s ease-in-out infinite;
}
@keyframes hdrSheen { 0%, 55% { left: -30%; } 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .hdr-glow::before { animation-duration: 18s; } }
.hdr.is-scrolled { box-shadow: 0 1px 0 rgba(90, 150, 20, .25), 0 14px 34px -16px rgba(70, 120, 15, .6); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; color: #111; filter: drop-shadow(0 2px 6px rgba(255, 255, 255, .45)); }
.logo-svg { height: 54px; width: auto; overflow: visible; }
.logo-roof { transition: transform .5s var(--ease-out); transform-origin: 404px 300px; }
.logo:hover .logo-roof { transform: translateY(-14px); }
.logo-dot { transition: transform .5s var(--ease-out); transform-origin: 595px 418px; }
.logo:hover .logo-dot { transform: translateY(-14px) scale(1.12); }
.logo-lg .logo-svg { height: 60px; }
.hdr .icon-btn:hover { background: rgba(255, 255, 255, .5); }
.hdr .burger i { background: #111; }
@media (max-width: 959px) { .logo-svg { height: 46px; } }
.nav { display: none; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.search-hint { display: none; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--pill); background: var(--peach-deep); color: #fff; font: 600 11px/18px var(--f-body); text-align: center;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.cart-count.is-zero { transform: scale(0); opacity: 0; }
.cart-btn.bump .cart-count { animation: bump .5s var(--ease-out); }
.cart-btn.bump .ic { animation: wiggle .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
.burger { width: 20px; height: 12px; position: relative; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10px; }
.menu-open .burger i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 5px; transform: rotate(-45deg); }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
  .nav > a, .nav-dd-btn {
    display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 13px; border-radius: var(--pill);
    font-size: 14.5px; font-weight: 500; color: #1F2A10; transition: color .2s, background .2s;
  }
  .nav > a:hover, .nav-dd-btn:hover, .nav-dd.is-open .nav-dd-btn { color: #0E1405; background: rgba(255, 255, 255, .5); }
  .nav > a.is-on, .nav-dd-btn.is-on { color: #0E1405; font-weight: 700; background: rgba(255, 255, 255, .38); }
  .nav > a.is-on::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4E9A12; margin-left: 5px; box-shadow: 0 0 6px rgba(120, 200, 30, .9); }
  .nav-dd-btn .ic { transition: transform .3s var(--ease-out); }
  .nav-dd.is-open .nav-dd-btn .ic { transform: rotate(180deg); }
  .search-hint { display: inline; font-size: 14px; color: #3A4A20; }
  #searchOpen { display: inline-flex; align-items: center; width: auto; gap: 8px; padding: 0 16px 0 12px; border: 1px solid rgba(40, 80, 0, .16); background: rgba(255, 255, 255, .55); margin-right: 6px; }
  #searchOpen:hover { background: rgba(255, 255, 255, .8); }
  #searchOpen .ic { width: 18px; height: 18px; }
}
@media (min-width: 960px) and (max-width: 1140px) {
  .nav > a, .nav-dd-btn { padding: 0 9px; font-size: 14px; }
  .search-hint { display: none; }
  #searchOpen { width: 44px; padding: 0; border: 0; margin: 0; }
}

/* Desplegable de categorías */
.nav-dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 90vw);
  translate: -40% 0; padding: 14px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 30% 0;
  transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s .35s;
}
.dd-panel::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 16px; transition: background .2s; opacity: 0; transform: translateY(6px); }
.nav-dd.is-open .dd-item { opacity: 1; transform: none; transition: opacity .35s var(--ease) calc(var(--i) * 35ms), transform .45s var(--ease-out) calc(var(--i) * 35ms), background .2s; }
.dd-item:hover { background: var(--bg-2); }
.dd-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tone); color: var(--accent); flex: none; transition: transform .35s var(--ease-out); }
.dd-item:hover .dd-ic { transform: rotate(-6deg) scale(1.06); }
.dd-item strong { display: block; font: 600 14.5px/1.3 var(--f-display); letter-spacing: -.01em; }
.dd-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.dd-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 12px 6px; margin-top: 6px; border-top: 1px solid var(--line); }
.dd-foot .link-arrow { margin-right: auto; }

/* Menú móvil */
.mnav {
  position: fixed; inset: var(--hdr) 0 0; z-index: 55; background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; overflow-y: auto;
}
.menu-open .mnav { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav-in { padding: 18px var(--gut) 40px; display: flex; flex-direction: column; }
.m-link {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 700 clamp(1.5rem, 6.5vw, 2rem)/1.2 var(--f-display); letter-spacing: -.03em; list-style: none; cursor: pointer;
  opacity: 0; transform: translateY(12px);
}
.m-link::-webkit-details-marker { display: none; }
.menu-open .m-link { opacity: 1; transform: none; transition: opacity .4s var(--ease) calc(var(--i, 0) * 45ms + 60ms), transform .55s var(--ease-out) calc(var(--i, 0) * 45ms + 60ms); }
.m-cats[open] .m-link .ic { transform: rotate(180deg); }
.m-cats > div { display: grid; gap: 2px; padding: 8px 0 12px; }
.m-cats > div a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; font-weight: 500; color: #2F3D28; }
.m-cats > div a .ic { color: var(--blue); }
.m-search { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 18px; border-radius: var(--pill); background: var(--bg-3); color: var(--muted); font-size: 15px; }
.m-foot { display: flex; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
@media (min-width: 960px) { .mnav { display: none; } }

/* ---------- Buscador ---------- */
.search { position: fixed; inset: 0; z-index: 90; background: rgba(26, 48, 24, .28); opacity: 0; transition: opacity .25s var(--ease); }
.search.is-on { opacity: 1; }
.search-box { background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); padding-top: 14px; padding-bottom: 22px; max-width: 100%; transform: translateY(-14px); transition: transform .4s var(--ease-out); box-shadow: var(--shadow-lg); }
.search.is-on .search-box { transform: none; }
@media (min-width: 760px) { .search-box { max-width: 760px; margin-top: 14px; border-radius: var(--r-lg); padding: 16px 22px 24px; } }
.search-form { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.search-form > .ic { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 18px; height: 48px; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-res { padding-top: 16px; max-height: min(64vh, 560px); overflow-y: auto; }
.sr-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.sr-list { list-style: none; margin: 0 0 14px; padding: 0; }
.sr-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; transition: background .2s; }
.sr-list a:hover { background: var(--bg-2); }
.sr-list strong { display: block; font-size: 14.5px; font-weight: 600; }
.sr-list small { color: var(--muted); font-size: 12.5px; }
.sr-list .price { margin: 0; flex-direction: column; align-items: flex-end; gap: 0; }
.sr-list .price-off { display: none; }

/* ---------- Marcadores de imagen ---------- */
.ph {
  position: relative; overflow: hidden; isolation: isolate; width: 100%; height: 100%;
  background: var(--tone, var(--bg-3)); display: grid; place-items: center;
  transition: transform .9s var(--ease-out);
}
.ph-blob { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; left: -14%; top: -18%; background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 68%); z-index: -1; }
.ph-ring { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; right: -12%; bottom: -14%; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); z-index: -1; }
.ph-ring::after { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.ph-ic { width: 26%; height: auto; max-width: 120px; aspect-ratio: 1; color: var(--accent); stroke-width: 1; opacity: .9; }
.ph-tag { position: absolute; left: 12px; bottom: 10px; font: 600 9.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 55%, #999); opacity: .8; }
.ph-v1 .ph-blob { left: auto; right: -22%; top: auto; bottom: -26%; width: 96%; }
.ph-v1 .ph-ring { right: auto; left: -16%; top: -12%; bottom: auto; width: 46%; }
.ph-v1 .ph-ic { transform: rotate(-10deg) scale(1.2); }
.ph-v2 .ph-blob { left: 18%; top: 14%; width: 66%; }
.ph-v2 .ph-ring { right: 8%; bottom: 8%; width: 84%; }
.ph-v2 .ph-ic { transform: translate(-6%, 6%) scale(.9); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.ph img.is-loaded { opacity: 1; }
.ph-mini { border-radius: 12px; aspect-ratio: 1; }
.ph-mini .ph-ic { width: 46%; stroke-width: 1.4; }
.ph-mini .ph-tag { display: none; }
.ph-xl .ph-ic { width: 24%; max-width: 170px; stroke-width: .8; }

/* ---------- Etiquetas y precios ---------- */
.badges { position: absolute; top: 12px; left: 12px; right: 64px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.badge { font: 600 11px/1 var(--f-body); letter-spacing: .02em; padding: 6px 10px; border-radius: var(--pill); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(26, 48, 24, .06); }
.b-new { background: var(--blue); color: #fff; }
.b-sale { background: var(--peach-deep); color: #fff; }
.b-best { background: #fff; color: var(--ink); }
.b-out { background: var(--bg-3); color: var(--muted); }
.demo-chip { position: absolute; top: 12px; right: 12px; z-index: 2; font: 600 10px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .7); color: var(--muted); border: 1px dashed var(--line-2); }
.pinfo-tags { position: relative; display: flex; align-items: center; gap: 6px; min-height: 26px; }
.pinfo-tags .badges, .pinfo-tags .demo-chip { position: static; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; }
.price-now { font: 700 17px/1.2 var(--f-display); letter-spacing: -.02em; }
.price-old { color: var(--muted); font-size: 14px; }
.price-off { font: 600 12px/1 var(--f-body); color: #386641; background: rgba(167, 201, 87, .22); padding: 4px 8px; border-radius: var(--pill); }
.price-lg .price-now { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.price-lg .price-old { font-size: 17px; }
.price-lg .price-off { font-size: 13.5px; padding: 6px 10px; }

/* ---------- Tarjeta de producto ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--r); padding: 10px 10px 16px; border: 1px solid rgba(225, 233, 201, .8); box-shadow: 0 1px 2px rgba(26, 48, 24, .04), 0 14px 34px -24px rgba(26, 48, 24, .28); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 2px 4px rgba(26, 48, 24, .04), 0 26px 48px -24px rgba(56, 102, 65, .38); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--bg-3); }
.card-media > .ph { position: absolute; inset: 0; }
.card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.card-alt .ph { transform: scale(1.06); }
.card-body { padding: 14px 6px 0; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11.5px; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.card-title { font: 600 16px/1.3 var(--f-display); letter-spacing: -.015em; margin-top: 4px; }
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.card-title a:hover { background-size: 100% 1px; }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.card-actions .btn { flex: 1; padding: 0 10px; }
.card.is-out .card-media .ph { filter: grayscale(.7); opacity: .75; }
@media (hover: hover) {
  .card:hover .card-media > .ph { transform: scale(1.04); }
  .card:hover .card-alt { opacity: 1; }
  .card:hover .card-alt .ph { transform: scale(1); }
}
.card-sm .card-media { aspect-ratio: 1; }
.card-sm .card-title { font-size: 14.5px; }
.card-sm .card-actions .btn-line { display: none; }

/* ---------- Rejillas y carruseles ---------- */
.grid { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { gap: 40px 20px; } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .grid .card-actions { flex-direction: column; gap: 6px; }
  .grid .card-desc { -webkit-line-clamp: 3; font-size: 13px; }
}
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); gap: 16px;
  /* Solo se desliza de lado: el arriba/abajo siempre lo maneja la página (antes el carrusel "atrapaba" el desplazamiento) */
  overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; overscroll-behavior-x: contain; overscroll-behavior-y: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 18px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gut) - 32px) / 2.6); } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gut) - 60px) / 4); gap: 20px; } }
.rail-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.rail-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; transition: background .2s, border-color .2s, transform .3s var(--ease-out); }
.rail-btn:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.rail-btn:active { transform: scale(.92); }

/* ---------- Secciones ---------- */
#main { min-height: 70vh; padding-top: var(--hdr); outline: none; }
#main.route-in { animation: routeIn .55s var(--ease-out); }
@keyframes routeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-tint { background: linear-gradient(180deg, var(--bg-2) 0%, #F4F7E8 100%); }
.sh { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; margin-bottom: clamp(28px, 4vw, 48px); }
.sh-num { font: 700 13px/1 var(--f-body); color: var(--peach-deep); letter-spacing: .06em; padding-top: 10px; font-variant-numeric: tabular-nums; }
.sh-num::after { content: ''; display: inline-block; vertical-align: middle; width: 22px; height: 1px; background: currentColor; margin-left: 8px; opacity: .6; }
.sh-sub { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.sh .link-arrow { grid-column: 2; justify-self: start; margin-top: 10px; }
@media (min-width: 760px) { .sh { grid-template-columns: 70px 1fr auto; } .sh .link-arrow { grid-column: 3; align-self: end; margin: 0; } }

.static-fallback { padding-block: 80px; display: grid; gap: 22px; }
.static-fallback .display span { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, rgba(56, 102, 65, .14), transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; left: -16vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(167, 201, 87, .18), transparent 65%); pointer-events: none; z-index: -1; }
.hero { isolation: isolate; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-title { font-size: clamp(2.3rem, 10vw, 4.6rem); }
@media (min-width: 1000px) { .hero-title { font-size: clamp(2.6rem, 4.7vw, 5rem); } }
.hero-copy { min-width: 0; }
.hero-line { display: block; }
.hero-line-2 { background: linear-gradient(100deg, #386641 0%, #A7C957 45%, #A7C957 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(106, 153, 78, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(106, 153, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(106, 153, 78, 0); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-in { opacity: 0; transform: translateY(18px); animation: heroIn .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 80ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-art {
  position: relative; display: grid; gap: 12px;
  grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr));
  aspect-ratio: 1 / 1.02; max-width: 640px; width: 100%; justify-self: center;
}
.hb { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; transition: translate .6s var(--ease-out), box-shadow .4s; opacity: 0; animation: heroIn 1s var(--ease-out) forwards; }
.hb .ph { position: absolute; inset: 0; }
.hb:hover .ph { transform: scale(1.05); }
.hb-1 { grid-column: 1 / 4; grid-row: 1 / 5; animation-delay: .25s; }
.hb-2 { grid-column: 4 / 7; grid-row: 1 / 3; animation-delay: .38s; }
.hb-3 { grid-column: 4 / 7; grid-row: 3 / 7; animation-delay: .5s; }
.hero-art:has(.hb-5) .hb-3 { grid-row: 3 / 5; }
.hero-art:has(.hb-5) .cf-1 { left: 36%; top: 80%; }
@media (max-width: 999px) { .hero-art:has(.hb-5) .rot-badge { top: -18px; bottom: auto; right: -8px; left: auto; } }
@media (max-width: 639px) {
  .hero-art:has(.hb-5) { aspect-ratio: 1 / 1.3; }
  .hero-art:has(.hb-5) .cf-2 { display: none; }
  .hero-art:has(.hb-5) .rot-badge { width: 76px; }
  .hb5-art { inset: 8% 6% 30% 22%; }
}
.hb-5 { grid-column: 4 / 7; grid-row: 5 / 7; animation-delay: .74s; background: radial-gradient(circle at 70% 35%, #fff 0%, #EAF1D2 70%); }
.hb5-art { position: absolute; inset: 10% 8% 26% 30%; display: flex; align-items: flex-end; justify-content: center; gap: 6%; }
.hb5-l, .hb5-t { display: flex; align-items: flex-end; height: 100%; filter: drop-shadow(0 12px 16px rgba(26, 48, 24, .16)); transition: transform .7s var(--ease-out); }
.hb5-l { height: 82%; transform: rotate(-7deg); }
.hb5-t { transform: rotate(6deg); }
.hb5-l .mock, .hb5-t .mock { height: 100%; width: auto; }
.hb-5:hover .hb5-l { transform: rotate(-2deg) translateY(-4px); }
.hb-5:hover .hb5-t { transform: rotate(0) translateY(-6px); }
.hb-4 { grid-column: 1 / 4; grid-row: 5 / 7; animation-delay: .62s; background: var(--grad); color: #fff; box-shadow: 0 18px 40px -20px rgba(56, 102, 65, .7); padding: clamp(14px, 2.4vw, 22px); display: flex; flex-direction: column; justify-content: space-between; }
.hb4-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.hb4-t { font: 700 clamp(1.15rem, 2.4vw, 1.6rem)/1.1 var(--f-display); letter-spacing: -.03em; }
.hb-4 .ic { position: absolute; right: 18px; bottom: 18px; transition: transform .35s var(--ease-out); }
.hb-4:hover .ic { transform: translateX(4px); }
.hb-cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 12.5px/1 var(--f-body); }
.hb-cap .ic { transition: transform .35s var(--ease-out); }
.hb:hover .hb-cap .ic { transform: translateX(3px); }
.chip-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font: 600 12.5px/1 var(--f-body); white-space: nowrap; transition: translate .6s var(--ease-out);
}
.chip-float .ic { color: var(--blue); }
.cf-1 { left: 38%; top: 58%; animation: floatY 6s ease-in-out infinite; }
.cf-2 { right: -6px; top: 31%; animation: floatY 7s ease-in-out -2s infinite; }
@keyframes floatY { 50% { transform: translateY(-8px); } }
.rot-badge { position: absolute; z-index: 3; width: clamp(84px, 13vw, 116px); aspect-ratio: 1; left: -18px; top: -14px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.rot-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.rot-badge text { font: 600 8.6px var(--f-body); letter-spacing: .15em; text-transform: uppercase; fill: var(--ink); }
.rot-badge span { color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 639px) {
  .hero-art { gap: 8px; }
  .hb { border-radius: var(--r); }
  .hb-cap { left: 8px; bottom: 8px; right: 8px; padding: 7px 10px; font-size: 11px; justify-content: space-between; }
  .hb-cap .ic { width: 14px; height: 14px; }
  .cf-1 { display: none; }
  .cf-2 { top: auto; bottom: 36%; }
}
@media (max-width: 999px) { .hero-art { max-width: 560px; } .rot-badge { left: auto; right: -8px; top: auto; bottom: -18px; } .cf-2 { right: 6px; } }

/* Cinta de categorías */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 600 clamp(1.1rem, 2vw, 1.4rem)/1 var(--f-display); letter-spacing: -.02em; color: #B5C98E; white-space: nowrap; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento de categorías */
/* Portada: fotos reales en los bloques */
.hb-photo { position: absolute; inset: 0; background: #fff; }
.hb-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.hb:hover .hb-photo img { transform: scale(1.05); }
/* Categorías compactas */
.catrow { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .catrow { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .catrow { grid-template-columns: repeat(4, 1fr); } }
.catpill { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 20px; background: var(--tone); color: var(--ink); transition: transform .4s var(--ease-out), box-shadow .3s; }
.catpill:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.catpill-img { flex: none; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; color: var(--accent); }
.catpill-img img { width: 100%; height: 100%; object-fit: cover; }
.catpill-tx { display: grid; gap: 2px; min-width: 0; flex: 1; }
.catpill-tx strong { font: 600 14px/1.25 var(--f-body); }
.catpill-tx span { font-size: 12px; color: var(--accent); font-weight: 600; }
.catpill > .ic { flex: none; color: var(--muted); transition: transform .35s var(--ease-out), color .3s; }
.catpill:hover > .ic { transform: translateX(3px); color: var(--accent); }
@media (max-width: 480px) { .catpill { gap: 9px; padding: 8px 10px 8px 8px; } .catpill-img { width: 46px; height: 46px; border-radius: 12px; } .catpill-tx strong { font-size: 13px; } .catpill > .ic { display: none; } }
.bento { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 210px; display: flex; isolation: isolate; }
.tile > .ph { position: absolute; inset: 0; z-index: -1; }
.tile > .ph .ph-ic { width: 30%; max-width: 110px; position: absolute; right: 9%; top: 12%; transition: transform .8s var(--ease-out); }
.tile:hover > .ph .ph-ic { transform: rotate(-8deg) scale(1.12); }
.tile-tx { margin-top: auto; padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 6px; width: 100%; }
.tile-n { font-size: 12px; color: var(--accent); font-weight: 600; }
.tile h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.025em; padding-right: 36px; }
.tile p { display: none; font-size: 14px; color: var(--muted); max-width: 34ch; }
.tile-go { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .4s var(--ease-out), background .3s, color .3s; }
.tile:hover .tile-go { transform: rotate(-45deg); background: var(--blue); color: #fff; }
.tile.t0 { grid-column: 1 / -1; min-height: 300px; }
.tile.t0 p { display: block; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
  .tile.t0 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile.t1 { grid-column: 3 / 4; } .tile.t2 { grid-column: 4 / 5; }
  .tile.t3 { grid-column: 3 / 5; } .tile.t3 p { display: block; }
  .tile.t4 { grid-column: 1 / 3; } .tile.t4 p { display: block; }
  .tile.t5 { grid-column: 3 / 5; }
  .tile.t0 h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
}

/* Recién llegados */
.newgrid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .newgrid { grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; } }
.feature { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.feature-media { position: relative; aspect-ratio: 4 / 3; display: block; overflow: hidden; }
.feature-media .ph { position: absolute; inset: 0; }
.feature:hover .feature-media .ph { transform: scale(1.03); }
.feature-tx { padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; justify-items: start; }
.feature-tx .card-actions { width: 100%; max-width: 380px; }
.newgrid-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; }

/* Tendencias */
.trend-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .trend-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .trend-intro { position: sticky; top: calc(var(--hdr) + 32px); } }
.trend-intro { display: grid; gap: 12px; justify-items: start; }
.trend-intro .sh-num { padding: 0; }
.trends { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.trend { display: grid; grid-template-columns: 34px 56px 1fr auto; gap: 14px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line-2); position: relative; }
.trend::before { content: ''; position: absolute; inset: 0; background: #fff; border-radius: 16px; transform: scaleY(.6); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; z-index: 0; }
.trend > * { position: relative; z-index: 1; }
.trend-n { font: 600 13px/1 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.trend-thumb { width: 56px; transition: width .5s var(--ease-out), transform .5s var(--ease-out); }
.trend-name { font: 600 clamp(1.05rem, 2vw, 1.4rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.trend-name small { display: block; font: 400 13px/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.trend-price { font-weight: 600; font-size: 15px; }
.trend-go { display: none; }
@media (min-width: 760px) {
  .trend { grid-template-columns: 44px 0 1fr auto 40px; padding: 22px 12px; transition: grid-template-columns .5s var(--ease-out); }
  .trend-thumb { width: 0; overflow: hidden; transform: scale(.6); }
  .trend-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, color .3s, transform .4s var(--ease-out); }
  .trend:hover { grid-template-columns: 44px 72px 1fr auto 40px; }
  .trend:hover::before { transform: none; opacity: 1; }
  .trend:hover .trend-thumb { width: 72px; transform: none; }
  .trend:hover .trend-go { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(-45deg); }
}

/* Ofertas (banda oscura) */
.band-dark { background: linear-gradient(135deg, #F6F9EA 0%, #EEF4DA 55%, #EAF1D2 100%); color: var(--ink); position: relative; overflow: hidden; }
.band-dark::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -160px; top: -200px; background: radial-gradient(circle, rgba(167, 201, 87, .35), transparent 65%); pointer-events: none; }
.band-dark > .wrap { position: relative; }
.band-dark .sh-sub, .band-dark .muted { color: var(--muted); }
.band-dark .sh-num { color: var(--peach-deep); }
.offers { display: grid; gap: 36px; }
@media (min-width: 1000px) { .offers { grid-template-columns: .75fr 2fr; gap: 56px; align-items: start; } .offers-intro { position: sticky; top: calc(var(--hdr) + 32px); } }
.offers-intro { display: grid; gap: 14px; justify-items: start; }
.offers-intro .sh-num { padding: 0; }
.offers-grid { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .offers-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.band-dark .btn-light { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(56, 102, 65, .65); }

/* Colecciones (pestañas) */
.tabs { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 24px; padding: 2px var(--gut); }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line-2); font-weight: 500; font-size: 14.5px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--blue); }
.tab.is-on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(56, 102, 65, .7); }
.tabpanel { display: grid; gap: 20px; }
.tabpanel.is-on { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) { .tabpanel { grid-template-columns: 1fr 1.6fr; gap: 28px; } }
.col-cover { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; isolation: isolate; }
.col-cover > .ph { position: absolute; inset: 0; z-index: -1; }
.col-cover > .ph .ph-ic { position: absolute; right: 10%; top: 12%; width: 32%; }
.col-tx { margin-top: auto; padding: clamp(20px, 3vw, 30px); display: grid; gap: 8px; justify-items: start; }
.col-tx p { color: var(--muted); max-width: 36ch; }
.col-when { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.col-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 14px; align-content: start; }
@media (min-width: 640px) { .col-items { grid-template-columns: repeat(3, 1fr); } }

/* Sobre mimo */
.about-band { background: var(--grad-soft); }
.about { display: grid; gap: 28px; }
@media (min-width: 1000px) { .about { grid-template-columns: 200px 1fr; column-gap: 48px; } .about .values, .about-link { grid-column: 2; } }
.about-k { display: grid; gap: 14px; align-content: start; }
.about-k .sh-num { padding: 0; }
.about-q { margin: 0; font: 600 clamp(1.5rem, 3.4vw, 2.7rem)/1.22 var(--f-display); letter-spacing: -.03em; max-width: 30ch; text-wrap: balance; }
.about-q em { font-style: normal; color: var(--blue); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { display: grid; gap: 6px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease-out), border-color .3s; }
.values li:hover { transform: translateY(-3px); border-color: var(--line-2); }
.values .ic { color: var(--blue); margin-bottom: 6px; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--grad-soft); }
.values strong { font: 700 1.1rem/1.2 var(--f-display); letter-spacing: -.02em; }
.values span { color: var(--muted); font-size: 14.5px; }
.values-col { grid-template-columns: 1fr !important; margin: 10px 0 24px; }

/* Franja informativa */
.info-strip { border-top: 1px solid var(--line); }
.info-in { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .info-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .info-in { grid-template-columns: repeat(4, 1fr); } }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background .25s; }
.info:hover { background: var(--bg-2); }
.info > .ic { color: var(--blue); margin-top: 2px; }
.info span { display: grid; gap: 6px; justify-items: start; }
.info strong { font-weight: 600; font-size: 15px; }
@media (min-width: 1100px) { .info { border-bottom: 0; border-right: 1px solid var(--line); padding: 30px 22px; } .info:last-child { border-right: 0; } }

/* ---------- Catálogo ---------- */
.page-hd { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(20px, 3vw, 36px); display: grid; gap: 16px; justify-items: start; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.cover { background: var(--tone); padding-block: clamp(24px, 4vw, 48px) clamp(28px, 5vw, 64px); overflow: hidden; position: relative; }
.cover-grid { display: grid; gap: 24px; align-items: center; margin-top: 22px; }
@media (min-width: 860px) { .cover-grid { grid-template-columns: 1.3fr 1fr; } }
.cover-tx { display: grid; gap: 14px; justify-items: start; }
.cover .eyebrow { color: var(--accent); }
.cover .lead { color: #55634A; }
.cover-n { font-size: 14px; font-weight: 600; }
.cover-art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; animation: coverIn 1s var(--ease-out); }
.cover-art .ph { position: absolute; inset: 0; background: color-mix(in srgb, var(--tone) 70%, #fff); }
.cover-orb { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; right: 8%; bottom: 10%; background: color-mix(in srgb, var(--accent) 14%, transparent); animation: floatY 7s ease-in-out infinite; }
@keyframes coverIn { from { opacity: 0; transform: scale(.96) translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 859px) { .cover-art { display: none; } }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-top: 22px; padding-bottom: 4px; }
.cat-pills::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.pill:hover { border-color: var(--blue); }
.pill.is-on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(56, 102, 65, .7); }
.pill-sm { height: 32px; padding: 0 12px; font-size: 13px; }

.catalog { padding-top: 22px; padding-bottom: clamp(64px, 8vw, 110px); }
.demo-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 10px 14px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px dashed var(--line-2); margin-bottom: 18px; }
.demo-note .ic { color: var(--blue); }
.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tb-search { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: var(--pill); background: var(--bg-3); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.tb-search:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(56, 102, 65, .12); }
.tb-search .ic { color: var(--muted); }
.tb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; font-size: 15px; }
.tb-count { font-size: 14px; color: var(--muted); grid-column: 1 / -1; order: 5; }
.fcount { color: var(--blue); }
.tb-sort { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); justify-self: end; }
.tb-sort span { display: none; }
.tb-sort select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 34px 0 14px; border-radius: var(--pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 500; font-size: 13.5px; cursor: pointer; }
.tb-sort .ic { position: absolute; right: 12px; pointer-events: none; }
.tb-filter { justify-self: start; }
@media (min-width: 760px) {
  .toolbar { grid-template-columns: minmax(240px, 380px) 1fr auto; }
  .tb-search { grid-column: auto; }
  .tb-count { grid-column: auto; order: 0; justify-self: start; padding-left: 8px; }
  .tb-sort span { display: inline; }
}
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.active-chips:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; background: #fff; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--blue); }
.chip-on { background: var(--bg-3); border-color: transparent; }
.chip-on:hover { background: var(--line); }
.cat-layout { display: grid; gap: 32px; padding-top: 26px; }
@media (min-width: 960px) { .cat-layout { grid-template-columns: 250px 1fr; gap: 44px; } .tb-filter { display: none; } }
.products.is-swap { animation: swap .5s var(--ease-out); }
@keyframes swap { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 64px 16px; border-radius: var(--r-lg); background: var(--bg-2); }

/* Filtros */
.filters { display: grid; gap: 4px; align-content: start; }
.filters-hd { display: none; }
.fgroup { border: 0; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 16px; min-width: 0; }
.fgroup legend { font: 600 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .2s, border-color .2s; flex: none; }
.check .box .ic { width: 13px; height: 13px; color: #fff; stroke-width: 2.4; transform: scale(0); transition: transform .25s var(--ease-out); }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box .ic { transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.price-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.price-in label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.price-in input, .field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.price-in input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56, 102, 65, .12); }
.filters-ft { display: grid; gap: 8px; }
.filters-apply { display: none; }
@media (max-width: 959px) {
  .filters {
    position: fixed; z-index: 80; inset: auto 0 0; max-height: 86vh; overflow-y: auto; background: #fff;
    border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 0 var(--gut) calc(18px + env(safe-area-inset-bottom));
    transform: translateY(105%); transition: transform .45s var(--ease-out); box-shadow: var(--shadow-lg);
  }
  .filters.is-open { transform: none; }
  .filters-hd { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 14px 0; z-index: 1; }
  .filters-hd::before { content: ''; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
  .filters-ft { position: sticky; bottom: 0; background: #fff; padding-top: 10px; grid-template-columns: 1fr 1.4fr; }
  .filters-apply { display: inline-flex; }
}

/* Categorías (página) */
.cat-rows { display: grid; gap: 22px; padding-bottom: clamp(64px, 8vw, 110px); }
.cat-row { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--tone); }
.cat-row-art { position: relative; min-height: 220px; display: block; overflow: hidden; }
.cat-row-art .ph { position: absolute; inset: 0; background: color-mix(in srgb, var(--tone) 60%, #fff); }
.cat-row:hover .cat-row-art .ph { transform: scale(1.04); }
.cat-row-tx { padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 14px; justify-items: start; align-content: center; }
.cat-row-tx .sh-num { padding: 0; color: var(--accent); }
.cat-row-tx .lead { color: #55634A; }
@media (min-width: 860px) { .cat-row { grid-template-columns: 1fr 1.2fr; } .cat-row.is-alt .cat-row-art { order: 2; } .cat-row-art { min-height: 380px; } }
.mini-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mini { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 500; transition: background .2s; max-width: 100%; }
.mini:hover { background: #fff; }
.mini .ph-mini { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.mini span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Ficha de producto ---------- */
.pd { padding-top: clamp(20px, 3vw, 36px); }
.pd-grid { display: grid; gap: 28px; margin-top: 18px; }
@media (min-width: 960px) { .pd-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } .pinfo { position: sticky; top: calc(var(--hdr) + 24px); } }
.gal { display: grid; gap: 12px; }
@media (min-width: 640px) { .gal { grid-template-columns: 80px 1fr; } .gal-thumbs { order: -1; flex-direction: column; } }
.gal-main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gal-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.gal-slide.is-on { opacity: 1; z-index: 1; }
.gal-slide .ph { transition: transform .35s var(--ease); }
.gal-main.is-zoom .gal-slide.is-on .ph { transform: scale(1.7); }
.gal-zoom, .gal-arrow { position: absolute; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); transition: transform .3s var(--ease-out), background .2s; }
.gal-zoom { top: 14px; right: 14px; }
.gal-arrow { top: 50%; margin-top: -22px; }
.gal-prev { left: 14px; } .gal-next { right: 14px; }
.gal-zoom:hover, .gal-arrow:hover { background: #fff; transform: scale(1.06); }
@media (hover: hover) { .gal-arrow { opacity: 0; transition: opacity .3s, transform .3s var(--ease-out); } .gal-main:hover .gal-arrow { opacity: 1; } }
.gal-thumbs { display: flex; gap: 10px; }
.gal.is-single { grid-template-columns: 1fr; }
.gal.is-single .gal-thumbs, .gal.is-single .gal-arrow { display: none; }
.gal-th { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 2px; transition: border-color .25s, opacity .25s; opacity: .7; flex: none; }
.gal-th .ph { border-radius: 10px; }
.gal-th:hover { opacity: 1; }
.gal-th.is-on { border-color: var(--blue); opacity: 1; }
.pinfo { display: grid; gap: 14px; align-content: start; }
.pinfo-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); justify-self: start; }
.pinfo-cat:hover { color: var(--ink); }
.pinfo .price { margin-top: 0; }
.save { font-size: 14px; color: var(--blue); font-weight: 500; margin-top: -6px; }
.promo { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: var(--pill); background: rgba(56, 102, 65, .08); color: var(--blue); justify-self: start; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.stock.is-ok { color: var(--green); }
.stock.is-ok i { box-shadow: 0 0 0 0 rgba(106, 153, 78, .5); animation: pulse 2.4s infinite; }
.stock.is-low { color: #8a6d3b; } .stock.is-low i { background: #c49a4a; }
.stock.is-out { color: var(--muted); } .stock.is-out i { background: #b5b5b5; }
.var { border: 0; padding: 0; margin: 0; }
.var legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.var legend strong { color: var(--ink); font-weight: 600; }
.var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.var-opt input { position: absolute; opacity: 0; pointer-events: none; }
.var-opt span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.var-opt span:hover { border-color: var(--blue); }
.var-opt input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.var-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: var(--pill); border: 1px solid var(--line-2); padding: 0 4px; }
.qty button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background .2s; }
.qty button:hover:not(:disabled) { background: var(--bg-3); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty .ic { width: 16px; height: 16px; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 600; font-size: 16px; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 36px; padding: 0 2px; }
.qty-sm button { width: 30px; height: 30px; }
.qty-sm span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.perks { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.perks li > .ic { color: var(--blue); margin-top: 1px; }
.perks span { display: grid; gap: 4px; justify-items: start; }
.perks strong { color: var(--ink); font-weight: 600; }
.perks a { text-decoration: underline; text-underline-offset: 3px; }
.pd-more { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); max-width: 900px; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 22px 2px; cursor: pointer; font: 600 1.15rem/1.2 var(--f-display); letter-spacing: -.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .35s var(--ease-out); }
.acc[open] summary .ic { transform: rotate(180deg); }
.acc-bd { padding: 0 2px 26px; animation: panelIn .45s var(--ease-out); display: grid; gap: 16px; justify-items: start; }
.pd-desc { color: #46553D; font-size: 16.5px; line-height: 1.75; max-width: 66ch; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; }
@media (min-width: 640px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feats li { display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--bg-2); font-size: 14.5px; }
.feats .ic { color: var(--blue); width: 26px; height: 26px; }
.specs { margin: 0; display: grid; width: 100%; }
.specs > div { display: grid; grid-template-columns: minmax(120px, 0.6fr) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.faq { display: grid; width: 100%; max-width: 860px; }
.faq-it { border-bottom: 1px solid var(--line); }
.faq-it summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq-it summary::-webkit-details-marker { display: none; }
.faq-it summary .ic { transition: transform .35s var(--ease-out); flex: none; }
.faq-it[open] summary .ic { transform: rotate(45deg); }
.faq-it p { padding: 0 2px 20px; color: var(--muted); max-width: 70ch; animation: panelIn .4s var(--ease-out); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(246, 248, 236, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; transition: opacity .25s var(--ease); }
.lb.is-on { opacity: 1; }
.lb-stage { width: min(88vw, 82vh); aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; transform: scale(.96); transition: transform .4s var(--ease-out); }
.lb.is-on .lb-stage { transform: none; }
.lb-x { position: absolute; top: 16px; right: 16px; background: #fff; box-shadow: var(--shadow); }
.lb-a { position: absolute; top: 50%; margin-top: -22px; background: #fff; box-shadow: var(--shadow); }
.lb-p { left: 16px; } .lb-n { right: 16px; }
.lb-c { position: absolute; bottom: 20px; font-size: 13px; color: var(--muted); }

/* ---------- Carrito ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(26, 48, 24, .32); opacity: 0; transition: opacity .3s var(--ease); }
.scrim.is-on { opacity: 1; }
.drawer {
  position: fixed; z-index: 85; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(102%); transition: transform .5s var(--ease-out), visibility 0s .5s; outline: none;
  box-shadow: var(--shadow-lg); visibility: hidden;
}
.cart-open .drawer { transform: none; visibility: visible; transition-delay: 0s; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-hd h2 { font-size: 1.3rem; }
.drawer-hd h2 span { color: var(--muted); font-weight: 500; }
.drawer-bd { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer-ft { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--bg-2); }
.drawer-ft:empty { display: none; }
.cl-list { list-style: none; margin: 0; padding: 0; }
.cl { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: panelIn .4s var(--ease-out); }
.cl-img { display: block; width: 76px; height: 76px; }
.cl-img .ph { border-radius: 14px; }
.cl-info { display: grid; gap: 3px; min-width: 0; }
.cl-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.cl-var, .cl-unit { font-size: 12.5px; color: var(--muted); }
.cl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.cl-sub { font-size: 15px; }
.cl-del { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); transition: background .2s, color .2s; align-self: start; }
.cl-del:hover { background: var(--bg-3); color: var(--ink); }
.cl-del .ic { width: 18px; height: 18px; }
.totals { margin: 0; display: grid; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 500; }
.totals .tot { padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 17px; }
.totals .tot dt { color: var(--ink); font-weight: 600; }
.totals .tot dd { font: 700 1.3rem/1 var(--f-display); letter-spacing: -.02em; }
.cart-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 64px 12px; }
.cart-empty-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; margin-bottom: 8px; }
.cart-empty-ic .ic { width: 28px; height: 28px; color: var(--muted); }
.cart-empty .btn { margin-top: 10px; }
.fly { position: fixed; z-index: 150; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(56, 102, 65, .18); pointer-events: none; }

/* Avisos */
.toasts { position: fixed; z-index: 140; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 13.5px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .3s var(--ease), transform .45s var(--ease-out); }
.toast.is-on { opacity: 1; transform: none; }
.cart-open .toasts { opacity: 0; visibility: hidden; }
.toast > span:nth-child(2) { flex: 1; min-width: 0; color: #c9c9c9; }
.toast strong { display: block; color: #fff; font-weight: 600; }
.toast-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.toast-a { color: #fff; font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); white-space: nowrap; }
.toast-a:hover { background: rgba(255, 255, 255, .2); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 50; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0; height: 52px; padding: 0 15px; border-radius: var(--pill);
  background: var(--green); color: #fff; box-shadow: 0 10px 28px -12px rgba(106, 153, 78, .8);
  transition: gap .35s var(--ease-out), padding .35s var(--ease-out), transform .3s var(--ease-out), opacity .3s;
}
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 14px; transition: max-width .4s var(--ease-out); }
.wa-float:hover { gap: 8px; padding-right: 20px; }
.wa-float:hover span { max-width: 100px; }
.cart-open .wa-float, .menu-open .wa-float, .filters-open .wa-float { opacity: 0; pointer-events: none; transform: scale(.8); }

/* ---------- Contacto y ayuda ---------- */
.contact { display: grid; gap: 28px; padding-bottom: 24px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; } }
.channels { display: grid; gap: 10px; }
.ch { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease-out), background .25s; }
a.ch:hover { border-color: var(--blue); transform: translateY(-2px); }
.ch.is-off { background: var(--bg-2); }
.ch-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--bg-3); display: grid; place-items: center; color: var(--blue); flex: none; }
.ch-tx { display: grid; gap: 4px; justify-items: start; flex: 1; font-size: 14.5px; color: var(--muted); }
.ch-tx strong { color: var(--ink); font-size: 15.5px; }
.ch-go { margin-left: auto; }
.ch-meta { display: grid; gap: 8px; padding: 12px 4px; font-size: 14px; color: var(--muted); }
.ch-meta p { display: flex; align-items: center; gap: 10px; }
.cform { display: grid; gap: 16px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--bg-2); }
.field { display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; }
.field textarea { height: auto; padding: 12px; resize: vertical; }
.form-err { color: #9a4b4b; font-size: 13.5px; min-height: 1px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-sec .sh { margin-bottom: 18px; }
.help-grid { display: grid; gap: 14px; padding-bottom: 24px; }
@media (min-width: 760px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .help-grid { grid-template-columns: repeat(3, 1fr); } }
.help-card { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pay-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pay-list li:last-child { border-bottom: 0; }
.pay-list small { display: block; color: var(--muted); font-size: 12.5px; }
.pay-list .ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; font-size: 13px; }
.pay-list .off { color: var(--muted); font-size: 13px; }

.about-page { display: grid; gap: 32px; padding-bottom: clamp(64px, 8vw, 110px); }
@media (min-width: 960px) { .about-page { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; } }
.about-art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; --tone: #EAF1D2; --accent: #386641; }
.about-art .ph { position: absolute; inset: 0; }
.about-copy { display: grid; gap: 18px; }
.nf { padding-block: clamp(64px, 10vw, 140px); display: grid; gap: 18px; justify-items: start; }
.nf-n { font: 800 clamp(4rem, 14vw, 9rem)/1 var(--f-display); letter-spacing: -.06em; color: var(--bg-3); -webkit-text-stroke: 1px var(--line-2); }

/* ---------- Pie ---------- */
.ftr { background: linear-gradient(180deg, #EEF3DE 0%, #F2F6E2 140%); border-top: 1px solid var(--line); margin-top: 0; }
.ftr-in { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .ftr-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .ftr-brand { grid-column: auto; } }
.ftr-slogan { font: 600 1.15rem/1.3 var(--f-display); letter-spacing: -.02em; }
.ftr-note { font-size: 13px; color: var(--muted); max-width: 34ch; }
.ftr-social { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ftr-social span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.ftr-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); transition: transform .3s var(--ease-out), background .3s, color .3s; }
.ftr-social a:hover { transform: translateY(-3px); background: var(--blue); color: #fff; }
.ftr-social .ic { width: 20px; height: 20px; }
.ftr-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.ftr-col h2 { font: 600 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ftr-col a { color: #2F3D28; transition: color .2s; justify-self: start; }
.ftr-col a:hover { color: var(--blue); }
.ftr-off { font-size: 13.5px; color: var(--muted); }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .ftr-base { padding-bottom: 28px; } }

/* ---------- Personalizados ---------- */
.mock { display: block; width: 100%; height: auto; overflow: visible; }
.trio { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 0.92; margin-inline: auto; }
.trio-it { position: absolute; filter: drop-shadow(0 22px 28px rgba(26, 48, 24, .16)); animation: floatY 8s ease-in-out infinite; }
.trio-it .mock { transform: rotate(var(--r, 0deg)); transition: transform .8s var(--ease-out); }
.trio:hover .trio-it .mock { transform: rotate(0deg) scale(1.03); }
.trio-l { width: 44%; left: 4%; top: 2%; }
.trio-t { width: 29%; left: 52%; top: 0; animation-duration: 7s; animation-delay: -2s; }
.trio-e { width: 80%; left: 10%; bottom: 4%; animation-duration: 9s; animation-delay: -4s; }
.perso-hero-art { position: relative; }
@media (max-width: 859px) { .perso-hero-art { display: block; max-width: 380px; margin: 8px auto 0; width: 100%; } }

.perso-band { background: linear-gradient(160deg, #EAF1D2 0%, #F6F8EC 55%, #F3F6E4 100%); overflow: hidden; }
.perso-home { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .perso-home { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.perso-home-tx { display: grid; gap: 16px; justify-items: start; }
.perso-home-tx .sh-num { padding: 0; }
.perso-try { display: grid; gap: 8px; width: min(100%, 380px); font-size: 13px; color: var(--muted); margin-top: 4px; }
.perso-try input { height: 56px; border-radius: var(--pill); border: 1px solid var(--line-2); padding: 0 22px; font: 700 18px/1 var(--f-display); letter-spacing: -.01em; background: #fff; transition: border-color .2s, box-shadow .2s; }
.perso-try input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(56, 102, 65, .12); }
.perso-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.perso-links .pill { background: rgba(255, 255, 255, .7); }

.pz-cards { display: grid; gap: 16px; }
@media (min-width: 860px) { .pz-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pz-card { border-radius: var(--r-lg); overflow: hidden; background: var(--tone); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .4s; }
.pz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pz-card-art { height: 240px; display: flex; align-items: center; justify-content: center; padding: 28px; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 68%); }
.pz-card-art .mock, .pz-card-art img { transition: transform .8s var(--ease-out); filter: drop-shadow(0 16px 22px rgba(26, 48, 24, .14)); }
.pz-card-art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.pz-card:hover .pz-card-art .mock { transform: scale(1.06) rotate(-3deg); }
.pz-tomatodo .mock, .pz-libreta .mock { height: 100%; width: auto; }
.pz-card-art.pz-tomatodo img { width: auto; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 18px 20px rgba(26, 48, 24, .22)); }
.pz-card-art.pz-libreta img { width: auto; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 16px 18px rgba(26, 48, 24, .22)); }
.pz-card:hover .pz-card-art.pz-libreta img { transform: scale(1.05) rotate(-3deg); }
.pz-card-art.pz-esfero img { width: 100%; height: auto; object-fit: contain; border-radius: 0; filter: drop-shadow(0 14px 14px rgba(26, 48, 24, .22)); }
.pz-card:hover .pz-card-art.pz-esfero img { transform: scale(1.04) rotate(-4deg); }
.pz-card:hover .pz-card-art.pz-tomatodo img { transform: scale(1.05) rotate(-3deg); }
.pz-esfero .mock { width: 100%; height: auto; }
.pz-card-tx { padding: 24px; display: grid; gap: 12px; justify-items: start; align-content: start; flex: 1; background: rgba(255, 255, 255, .6); }
.pz-card-tx .btn { margin-top: auto; }
.pz-card-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent); }
.chip-static { cursor: default; height: 28px; font-size: 12px; background: rgba(255, 255, 255, .8); border-color: transparent; }
.chip-static:hover { border-color: transparent; }
.pz-price { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

.pz-config { display: grid; gap: 20px; }
@media (min-width: 960px) { .pz-config { grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; } .pz-stage { position: sticky; top: calc(var(--hdr) + 24px); } }
.pz-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 38%, #fff 0%, var(--tone, #EAF1D2) 72%); transition: background .6s var(--ease); }
.pz-stage::before { content: ''; position: absolute; left: 22%; right: 22%; bottom: 13%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 48, 24, .16), transparent); }
.pz-stage::after { content: ''; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; right: -12%; top: -12%; border: 1px solid color-mix(in srgb, var(--accent, #386641) 22%, transparent); }
.pz-stage-in, .pz-mock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pz-mock.pz-tomatodo .mock { height: 72%; width: auto; }
.pz-mock.pz-libreta .mock { height: 66%; width: auto; }
.pz-mock.pz-esfero .mock { width: 84%; height: auto; }
.pz-mock .mock { filter: drop-shadow(0 26px 30px rgba(26, 48, 24, .18)); }
.pz-mock.is-swap { animation: pzIn .7s var(--ease-out); }
@keyframes pzIn { from { opacity: 0; transform: translateY(18px) scale(.95) rotate(-3deg); } to { opacity: 1; transform: none; } }
.pz-stage-note { position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 6px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .8); }
.pz-stage-tag { position: absolute; left: 16px; top: 14px; font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent, var(--blue)); padding: 8px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .85); }
.pz-panel { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.pz-f { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.pz-f legend { font: 600 12.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 12px; }
.pz-f legend strong { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; }
.pz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pz-fine { text-align: center; margin-top: -10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14.5px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out); }
.seg-opt span:hover { border-color: var(--blue); }
.seg-opt input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg-opt:active span { transform: scale(.97); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--c); border: 1px solid rgba(26, 48, 24, .14); transition: transform .3s var(--ease-out); }
.sw::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color .25s; }
.sw:hover { transform: scale(1.08); }
.sw.is-on::after { border-color: var(--blue); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease-out), border-color .3s; }
.steps li:hover { transform: translateY(-3px); border-color: var(--line-2); }
.steps .ic { color: var(--blue); }
.steps strong { font: 700 1.1rem/1.2 var(--f-display); letter-spacing: -.02em; }
.steps li > span:last-child { color: var(--muted); font-size: 14.5px; }
.step-n { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.04em; color: var(--bg-3); -webkit-text-stroke: 1px var(--line-2); }
.usos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .usos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .usos { grid-template-columns: repeat(6, 1fr); } }
.uso { display: grid; gap: 12px; justify-items: start; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.uso:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.uso .ic { color: var(--blue); }
.uso strong { font: 600 15px/1.25 var(--f-display); }
.info-em { font-style: normal; font-size: 13.5px; color: var(--muted); }
@media (min-width: 960px) and (max-width: 1240px) { .nav > a[href="#/"] { display: none; } }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal.is-in { transition: opacity .8s var(--ease), transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.js .card.reveal.is-in:hover { transform: translateY(-5px); }

/* Promo Pack x2 */
.b-pack { background: var(--grad); color: #fff; box-shadow: 0 4px 10px -4px rgba(56, 102, 65, .6); }
.pack-sticker {
  position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: #fff; line-height: 1;
  background: radial-gradient(circle at 30% 25%, #C6DE7E 0%, #A7C957 35%, #6A994E 100%);
  box-shadow: 0 10px 22px -8px rgba(106, 153, 78, .8), inset 0 0 0 3px rgba(255, 255, 255, .55);
  transform: rotate(-10deg); animation: packPop .9s var(--ease-out) both;
}
.pack-sticker::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed rgba(106, 153, 78, .55); animation: spin 18s linear infinite; }
.pack-sticker b { font: 800 24px/1 var(--f-display); letter-spacing: -.04em; }
.pack-sticker small { font: 700 8.5px/1.1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.pack-sticker.is-lg { width: 104px; height: 104px; right: 18px; bottom: 18px; }
.pack-sticker.is-lg b { font-size: 38px; }
.pack-sticker.is-lg small { font-size: 11px; }
@keyframes packPop { 0% { transform: rotate(-30deg) scale(.4); opacity: 0; } 70% { transform: rotate(-6deg) scale(1.08); opacity: 1; } 100% { transform: rotate(-10deg) scale(1); } }
.card:hover .pack-sticker { transform: rotate(0deg) scale(1.08); transition: transform .5s var(--ease-out); }
.price-unit { flex-basis: 100%; font-size: 12.5px; font-weight: 600; color: var(--violet-deep); }
.price-lg .price-unit { font-size: 14px; }
.pack-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #F5F8E8 0%, #EDF3D8 45%, #EAF1D2 100%); }
.pack-band::before, .pack-band::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.pack-band::before { width: 460px; height: 460px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(167, 201, 87, .35), transparent 65%); }
.pack-band::after { width: 380px; height: 380px; left: -120px; bottom: -200px; background: radial-gradient(circle, rgba(56, 102, 65, .18), transparent 65%); }
.pack-band > .wrap { position: relative; z-index: 1; }
.pack-hd { display: grid; gap: 18px; align-items: center; margin-bottom: 30px; }
@media (min-width: 900px) { .pack-hd { grid-template-columns: auto 1fr auto; gap: 28px; } }
.pack-hd-tx .sh-sub { margin-top: 8px; }
.pack-burst { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; line-height: 1;
  background: radial-gradient(circle at 30% 25%, #C6DE7E 0%, #A7C957 35%, #6A994E 100%); box-shadow: 0 18px 36px -14px rgba(106, 153, 78, .85); transform: rotate(-10deg); animation: floatY 6s ease-in-out infinite; }
.pack-burst::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(106, 153, 78, .5); animation: spin 20s linear infinite; }
.pack-burst b { font: 800 42px/1 var(--f-display); letter-spacing: -.04em; }
.pack-burst small { font: 700 10px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 899px) { .pack-burst { width: 88px; height: 88px; } .pack-burst b { font-size: 32px; } .pack-hd .btn { justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .pack-sticker, .pack-sticker::before, .pack-burst, .pack-burst::before { animation: none !important; } }

/* Códigos de producto */
.card-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-cat > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-code { flex: none; font: 600 10.5px/1 var(--f-body); letter-spacing: .04em; text-transform: none; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); padding: 4px 7px; border-radius: 6px; }
.cl-unit .card-code { margin-right: 4px; }
.pcode { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: -4px; justify-self: start; }
.pcode strong { font: 700 13px/1 var(--f-body); letter-spacing: .05em; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); padding: 6px 9px; border-radius: 8px; }
.pcode-copy { font-size: 12.5px; font-weight: 600; color: var(--blue); padding: 6px 8px; border-radius: 8px; transition: background .2s; }
.pcode-copy:hover { background: var(--bg-2); }

/* Catálogos PDF */
.btn-pdf { background: #fff; color: var(--violet-deep); border-color: var(--line-2); }
.btn-pdf:hover { border-color: var(--blue); background: #F3F7E6; }
.btn-pdf .ic { color: var(--blue); }
.btn-pdf:hover .ic { transform: translateY(2px); }
.btn-pdf.is-busy { cursor: progress; opacity: .85; }
.btn-pdf.is-busy .ic { animation: pdfBob 1s ease-in-out infinite; }
@keyframes pdfBob { 50% { transform: translateY(3px); } }
.btn-pdf-main { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(56, 102, 65, .65); }
.btn-pdf-main .ic { color: #fff; }
.btn-pdf-main:hover { background: var(--grad); color: #fff; transform: translateY(-1px); }
.cover-tx .btn-pdf, .page-hd .btn-pdf { margin-top: 4px; }
.pdf-band { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); margin-bottom: 26px; border-radius: var(--r-lg); background: linear-gradient(135deg, #EAF1D2 0%, #F3F6E4 100%); border: 1px solid var(--line); }
@media (min-width: 1000px) { .pdf-band { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: center; gap: 32px; } }
.pdf-band-tx { display: flex; gap: 16px; align-items: flex-start; }
.pdf-band-tx .muted { margin-top: 6px; max-width: 46ch; }
.pdf-band-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(56, 102, 65, .8); }
.pdf-band-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-band-btns .btn { --bh: 42px; font-size: 13.5px; }

/* Cómo comprar (sección didáctica) */
/* Cómo comprar — franja compacta */
.sec-tight { padding-block: clamp(20px, 4vw, 44px); }
.howbuy { display: grid; gap: 18px 28px; padding: clamp(18px, 3vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(26, 48, 24, .35); }
.buy-hd { display: grid; gap: 6px; align-content: start; }
.buy-hd .eyebrow { margin: 0; }
.buy-t { font: 700 clamp(1.35rem, 2.6vw, 1.75rem)/1.1 var(--f-display); letter-spacing: -.03em; margin: 0; }
.buy-sub { margin: 0; color: var(--muted); font-size: 14px; max-width: 34ch; }
.buy-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font: 600 13.5px/1 var(--f-body); color: var(--blue); }
.buy-link .ic { transition: transform .3s var(--ease-out); }
.buy-link:hover .ic { transform: translateX(3px); }
.buy-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; counter-reset: s; }
.buy-steps li { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; }
.buy-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -12px rgba(56, 102, 65, .8); }
.buy-ic .ic { width: 20px; height: 20px; }
.buy-ic b { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: #1E3A24; font: 800 10.5px/1 var(--f-display); border: 2px solid #fff; }
.buy-tx { display: grid; gap: 2px; min-width: 0; }
.buy-tx strong { font: 700 14.5px/1.2 var(--f-display); letter-spacing: -.01em; }
.buy-tx span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.buy-perks { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.buy-perks span { display: inline-flex; align-items: center; gap: 6px; }
.buy-perks .ic { color: #4F8A3C; }
@media (min-width: 1000px) {
  .howbuy { grid-template-columns: minmax(220px, 1fr) 3fr; align-items: center; }
  .buy-steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .buy-steps li:not(:last-child)::after { content: ''; position: absolute; right: -10px; top: 22px; width: 6px; height: 6px; border-top: 2px solid #C9DB98; border-right: 2px solid #C9DB98; transform: rotate(45deg); }
  .buy-perks { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 560px) { .buy-steps { grid-template-columns: 1fr; gap: 10px; } }
.howto { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; }
@media (min-width: 760px) { .howto { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .howto { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .howto::before { content: ''; position: absolute; left: 12%; right: 12%; top: 58px; height: 2px; background: linear-gradient(90deg, #C9DB98, #DCE8B4); border-radius: 2px; }
}
.howto li { list-style: none; position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 30px 22px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px -26px rgba(26, 48, 24, .3); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.howto li:hover { transform: translateY(-5px); box-shadow: 0 26px 48px -26px rgba(56, 102, 65, .4); }
.howto-ic { position: relative; width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(56, 102, 65, .8); }
.howto-ic .ic { width: 26px; height: 26px; }
.howto-n { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: #1E3A24; font: 800 12px/1 var(--f-display); border: 3px solid #fff; }
.howto strong { font: 700 1.1rem/1.25 var(--f-display); letter-spacing: -.02em; }
.howto span.tx { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.howto-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.benefits span { display: inline-flex; align-items: center; gap: 8px; }
.benefits .ic { color: var(--green); }
@media (max-width: 759px) {
  .howto li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; gap: 2px 16px; padding: 18px; align-items: center; }
  .howto-ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; }
  .howto span.tx { max-width: none; font-size: 14px; }
}

/* ---------- Movimiento reducido: solo se apagan los efectos continuos o grandes ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .rot-badge > svg, .trio-it, .chip-float, .cover-orb, .pulse, .stock.is-ok i { animation: none !important; }
  .js .reveal { transform: none; transition: opacity .5s var(--ease); }
  #main.route-in { animation-name: fadeOnly; }
  .hero-in, .hb { animation-name: fadeOnly; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
  .rail { scroll-behavior: auto; }
}

/* =====================================================================
   CAPA PREMIUM · paleta verde Mimo
   Vainilla #DCE8B4 · Pistacho #A7C957 · Musgo #6A994E · Cazador #386641
   Botones de metal cepillado, líneas de circuito y luz que recorre los bordes.
   ===================================================================== */
@property --mimo-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root {
  --vanilla: #DCE8B4; --pistachio: #A7C957; --moss: #6A994E; --hunter: #386641; --hunter-deep: #1F3B26;
  --metal-hunter: linear-gradient(180deg, #86B66A 0%, #5E9350 13%, #427449 42%, #2E5737 52%, #386641 80%, #5C8F4F 100%);
  --metal-moss: linear-gradient(180deg, #B9D884 0%, #82B160 14%, #6A994E 45%, #557F3E 54%, #6A994E 82%, #8DBA67 100%);
  --metal-vanilla: linear-gradient(180deg, #FFFFFF 0%, #F5F9E7 38%, #DFEABC 52%, #EDF3D6 78%, #FFFFFF 100%);
  --brush-dk: linear-gradient(transparent, transparent);
  --brush-lt: linear-gradient(transparent, transparent);
  --circuit: linear-gradient(transparent, transparent);
  --circuit-lt: linear-gradient(transparent, transparent);
}

/* ---- Fondo general: vainilla con brillo pistacho ---- */
body {
  background:
    radial-gradient(1100px 620px at 92% -8%, rgba(167, 201, 87, .20), rgba(167, 201, 87, 0) 62%),
    radial-gradient(900px 560px at -12% 26%, rgba(220, 232, 180, .55), rgba(220, 232, 180, 0) 60%),
    var(--bg);
}
::selection { background: rgba(167, 201, 87, .45); color: var(--hunter-deep); }
:focus-visible { outline-color: var(--moss); }
h1, h2, h3, h4 { color: var(--hunter-deep); }
.eyebrow { color: var(--hunter); }
.sec-tint { background: var(--circuit) 0 0 / 220px 220px, linear-gradient(180deg, #EEF3DE 0%, #F5F8EA 100%); }
.hero { background: var(--circuit) 100% 0 / 220px 220px; }

/* Título del hero: texto de metal verde con brillo lento */
.hero-line-2 {
  background: linear-gradient(100deg, #1F3B26 0%, #386641 22%, #6A994E 40%, #A7C957 50%, #6A994E 60%, #386641 78%, #1F3B26 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: mimoMetalText 7s ease-in-out infinite;
}
.hero-line-2.hero-in { animation: heroIn .9s var(--ease-out) calc(var(--i, 0) * 90ms + 80ms) forwards, mimoMetalText 7s ease-in-out infinite; }
@keyframes mimoMetalText { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Número de sección: nodo de circuito encendido */
.sh-num { color: var(--moss); }
.sh-num::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--pistachio); box-shadow: 0 0 0 3px rgba(167, 201, 87, .25), 0 0 10px rgba(167, 201, 87, .9); }

/* ---- Botones de metal ---- */
.btn { letter-spacing: .005em; }
.btn-dark, .band-dark .btn-light, .btn-pdf-main, .btn-pdf-main:hover {
  background: var(--brush-dk), var(--metal-hunter);
  color: #F4FAE3; border: 1px solid #23432B; text-shadow: 0 -1px 0 rgba(0, 0, 0, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .06),
              0 1px 0 rgba(255, 255, 255, .8), 0 12px 24px -14px rgba(31, 59, 38, .85);
}
.btn-dark:hover, .band-dark .btn-light:hover, .btn-pdf-main:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .08),
              0 1px 0 rgba(255, 255, 255, .8), 0 18px 30px -14px rgba(31, 59, 38, .9), 0 0 0 4px rgba(167, 201, 87, .22);
  transform: translateY(-1px);
}
.btn-dark::before { background: linear-gradient(120deg, transparent 30%, rgba(233, 255, 170, .38) 50%, transparent 70%); }
.btn-dark.is-done { background: var(--brush-dk), var(--metal-moss); }
/* Línea de luz que recorre el borde del botón (como una interfaz encendida) */
.btn-dark::after, .band-dark .btn-light::after, .btn-pdf-main::after, .btn-wa::after, .tab.is-on::after, .pill.is-on::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; padding: 1.2px;
  background: conic-gradient(from var(--mimo-ang), rgba(233, 255, 106, 0) 0 64%, rgba(233, 255, 106, .15) 70%, #E9FF8A 80%, #FFFFFF 83%, rgba(233, 255, 106, 0) 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: mimoOrbit 4.5s linear infinite;
}
.btn:hover::after { animation-duration: 1.6s; }
@keyframes mimoOrbit { to { --mimo-ang: 360deg; } }

.btn-line, .btn-light {
  background: var(--brush-lt), var(--metal-vanilla);
  color: var(--hunter-deep); border: 1px solid #BCCF8C;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(56, 102, 65, .14), 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px -12px rgba(31, 59, 38, .4);
}
.btn-line:hover, .btn-light:hover {
  background: var(--brush-lt), linear-gradient(180deg, #FFFFFF 0%, #EEF5D6 45%, #D3E3A2 54%, #E8F1CC 80%, #FFFFFF 100%);
  border-color: var(--moss); color: var(--hunter-deep);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(56, 102, 65, .18), 0 12px 22px -12px rgba(31, 59, 38, .45), 0 0 0 4px rgba(167, 201, 87, .2);
}
.btn-wa { background: var(--brush-dk), var(--metal-moss); color: #fff; border: 1px solid #4B7337; text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .22), 0 10px 22px -12px rgba(56, 102, 65, .8); }
.btn-wa:hover { background: var(--brush-dk), var(--metal-hunter); }
.btn-soft { background: repeating-linear-gradient(135deg, #EEF3DE 0 6px, #E6EDCD 6px 12px); color: var(--muted); }

.tab.is-on, .pill.is-on {
  background: var(--brush-dk), var(--metal-hunter); color: #F4FAE3; border-color: #23432B; position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 10px 20px -12px rgba(31, 59, 38, .8);
}
.tab, .pill { background-color: rgba(255, 255, 255, .7); }
.tab:hover, .pill:hover { border-color: var(--moss); }

.rail-btn { background: var(--brush-lt), var(--metal-vanilla); border-color: #BCCF8C; color: var(--hunter-deep); box-shadow: inset 0 1px 0 #fff, 0 8px 16px -10px rgba(31, 59, 38, .4); }
.rail-btn:hover { background: var(--brush-dk), var(--metal-hunter); border-color: #23432B; color: #F4FAE3; }
.icon-btn:hover { background: rgba(56, 102, 65, .08); }

/* Íconos en baldosa (ventajas, cómo comprar, PDF): metal con bisel */
.pdf-band-ic, .buy-ic, .howto-ic, .b-pack {
  background: var(--brush-dk), var(--metal-hunter); color: #F4FAE3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 12px 22px -12px rgba(31, 59, 38, .85);
}

/* ---- Etiquetas ---- */
.b-new { background: var(--brush-dk), var(--metal-hunter); color: #F4FAE3; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.b-sale { background: linear-gradient(180deg, #E9FF8A 0%, #C9E86A 50%, #A7C957 100%); color: var(--hunter-deep); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 6px -2px rgba(56, 102, 65, .5); }
.price-now { color: var(--hunter-deep); }
.price-off { color: var(--hunter-deep); background: rgba(167, 201, 87, .32); }
.card-cat { color: var(--moss); }

/* ---- Tarjetas: borde de metal fino y traza de circuito ---- */
.card {
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(155deg, #E3ECC6 0%, #FFFFFF 28%, #CFDFA0 55%, #FFFFFF 78%, #DCE8B4 100%) border-box;
}
.card:hover {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(155deg, #A7C957 0%, #F3F9DE 30%, #6A994E 55%, #F3F9DE 78%, #A7C957 100%) border-box;
  box-shadow: 0 2px 4px rgba(26, 48, 24, .05), 0 28px 50px -26px rgba(31, 59, 38, .5), 0 0 0 4px rgba(167, 201, 87, .14);
}
.card-body::before {
  content: ''; display: block; height: 1px; width: 34%; margin: 0 0 12px;
  background: linear-gradient(90deg, var(--moss), rgba(106, 153, 78, 0));
  transition: width .6s var(--ease-out);
}
.card:hover .card-body::before { width: 100%; }

/* ---- Ofertas: banda verde cazador con circuitos ---- */
.band-dark {
  background:
    var(--circuit-lt) 0 0 / 220px 220px,
    radial-gradient(900px 500px at 10% 0%, rgba(167, 201, 87, .28), rgba(167, 201, 87, 0) 60%),
    linear-gradient(140deg, #2E5737 0%, #24452B 55%, #1A3320 100%);
  color: #EEF5D6;
}
.band-dark::before { background: radial-gradient(circle, rgba(167, 201, 87, .35), transparent 65%); }
.band-dark::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(167, 201, 87, 0), #A7C957 30%, #E9FF8A 50%, #A7C957 70%, rgba(167, 201, 87, 0)); box-shadow: 0 0 14px rgba(200, 255, 90, .7); }
.band-dark h2, .band-dark h3, .band-dark .h2, .band-dark .display-2 { color: #F6FBE6; }
.band-dark .sh-sub, .band-dark .muted, .band-dark .lead { color: rgba(220, 232, 180, .82); }
.band-dark .sh-num { color: var(--pistachio); }
.band-dark .link-arrow, .band-dark .eyebrow { color: #E9F3C8; }
.band-dark .card h3, .band-dark .card .h4, .band-dark .card-title { color: var(--hunter-deep); }

/* ---- Pie: verde cazador profundo ---- */
.ftr {
  position: relative;
  background:
    var(--circuit-lt) 0 0 / 220px 220px,
    radial-gradient(800px 420px at 90% 0%, rgba(167, 201, 87, .22), rgba(167, 201, 87, 0) 60%),
    linear-gradient(180deg, #24452B 0%, #182F1D 100%);
  border-top: 0; color: #E4EDC6;
}
.ftr::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(167, 201, 87, 0), #A7C957 25%, #E9FF8A 50%, #A7C957 75%, rgba(167, 201, 87, 0)); box-shadow: 0 0 16px rgba(200, 255, 90, .6); }
.ftr .logo { color: #F6FBE6; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
.ftr-slogan { color: #F6FBE6; }
.ftr-note, .ftr-off, .ftr-base, .ftr-col h2, .ftr-social span { color: rgba(220, 232, 180, .72); }
.ftr-col h2 { color: var(--pistachio); }
.ftr-col a { color: #E9F1D0; }
.ftr-col a:hover { color: #E9FF8A; }
.ftr-base { border-top-color: rgba(220, 232, 180, .14); }
.ftr-social a { background: var(--brush-dk), linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border-color: rgba(220, 232, 180, .25); color: #E9F3C8; }
.ftr-social a:hover { background: var(--brush-dk), var(--metal-moss); color: #fff; border-color: #A7C957; }

/* ---- Movimiento reducido ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-line-2, .hero-line-2.hero-in { animation: none; opacity: 1; transform: none; }
  .btn-dark::after, .band-dark .btn-light::after, .btn-pdf-main::after, .btn-wa::after, .tab.is-on::after, .pill.is-on::after { animation: none; }
}

/* ---- Tarjetas de producto: verde claro suave (menta y pistacho pálido) ---- */
.card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCF4 100%) padding-box,
              linear-gradient(155deg, #E3EECB 0%, #FFFFFF 35%, #D6E7B0 60%, #FFFFFF 85%, #E3EECB 100%) border-box;
  box-shadow: 0 1px 2px rgba(60, 90, 40, .04), 0 14px 34px -24px rgba(60, 90, 40, .25);
}
.card:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCF4 100%) padding-box,
              linear-gradient(155deg, #C8E08F 0%, #FFFFFF 35%, #B5D47A 60%, #FFFFFF 85%, #C8E08F 100%) border-box;
  box-shadow: 0 2px 4px rgba(60, 90, 40, .05), 0 26px 46px -26px rgba(60, 90, 40, .32), 0 0 0 4px rgba(199, 224, 143, .22);
}
.card-media { background: #F1F6E4; }
.card-body::before { background: linear-gradient(90deg, #B5D47A, rgba(181, 212, 122, 0)); }
.card .card-cat { color: #5F8C3F; }
.card .card-code { color: #6B7A5C; background: #F3F7E8; border-color: #E2EBCC; }
.card .card-title { color: #25331E; }
.card .card-desc { color: #6E7767; }
.card .price-now { color: #25331E; }
.card .b-new { background: #EAF5D3; color: #3F6B2A; border: 1px solid #CFE4A2; box-shadow: 0 2px 6px -3px rgba(60, 90, 40, .25); }
.card .btn-line {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAEF 100%);
  border-color: #DCE8C2; color: #3A5229;
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(60, 90, 40, .3);
}
.card .btn-line:hover { background: #F3F8E6; border-color: #B5D47A; color: #2E4520; box-shadow: 0 10px 20px -12px rgba(60, 90, 40, .35); }
.card .btn-dark {
  background: linear-gradient(180deg, #E9F5CB 0%, #D4EA9C 50%, #C6E188 100%);
  border-color: #B5D47A; color: #2E4A1F; text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 18px -12px rgba(80, 120, 40, .45);
}
.card .btn-dark:hover { background: linear-gradient(180deg, #E2F2BD 0%, #C9E487 50%, #B9D872 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 22px -12px rgba(80, 120, 40, .5), 0 0 0 4px rgba(199, 224, 143, .3); }
.card .btn-dark::before { background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); }
.card .btn-dark::after { background: conic-gradient(from var(--mimo-ang), rgba(255, 255, 255, 0) 0 64%, rgba(255, 255, 255, .3) 70%, #FFFFFF 80%, rgba(255, 255, 255, 0) 92%); }
/* ---- Botón principal del inicio: verde claro suave ---- */
.hero-cta .btn-dark {
  background: linear-gradient(180deg, #E9F5CB 0%, #D4EA9C 50%, #C6E188 100%);
  border-color: #B5D47A; color: #2E4A1F; text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 22px -14px rgba(80, 120, 40, .5);
}
.hero-cta .btn-dark:hover { background: linear-gradient(180deg, #E2F2BD 0%, #C9E487 50%, #B9D872 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 26px -14px rgba(80, 120, 40, .55), 0 0 0 4px rgba(199, 224, 143, .3); }
.hero-cta .btn-dark::before { background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); }
.hero-cta .btn-dark::after { background: conic-gradient(from var(--mimo-ang), rgba(255, 255, 255, 0) 0 64%, rgba(255, 255, 255, .3) 70%, #FFFFFF 80%, rgba(255, 255, 255, 0) 92%); }

/* ---- Botón "Regresar": flota bajo la franja verde mientras bajas ---- */
.backbar { position: sticky; top: calc(var(--hdr) + 10px); z-index: 40; pointer-events: none; margin-bottom: -6px; }
.backbar .wrap { padding-top: 14px; }
.back-btn {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; max-width: min(78vw, 360px);
  padding: 5px 16px 5px 5px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid #D6E7B0; color: #25331E;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(60, 90, 40, .06), 0 14px 30px -18px rgba(60, 90, 40, .45);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s, background .25s;
}
.back-ic {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #EEF8D6 0%, #D4EA9C 55%, #C6E188 100%); color: #2E4A1F;
  border: 1px solid #B5D47A; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 4px 10px -6px rgba(80, 120, 40, .55);
  transition: transform .35s var(--ease-out);
}
.back-ic .ic { transform: rotate(180deg); }
.back-tx { display: grid; line-height: 1.15; text-align: left; min-width: 0; }
.back-tx small { font: 600 10.5px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #6F8A4E; }
.back-tx strong { font: 600 14px/1.25 var(--f-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back-btn:hover { background: rgba(255, 255, 255, .94); border-color: #B5D47A; transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 18px 34px -18px rgba(60, 90, 40, .5), 0 0 0 4px rgba(199, 224, 143, .25); }
.back-btn:hover .back-ic { transform: translateX(-3px); }
.back-btn:active { transform: scale(.97); }
@media (max-width: 759px) { .backbar { top: calc(var(--hdr) + 8px); } .backbar .wrap { padding-top: 10px; } .back-tx strong { font-size: 13.5px; } }

/* ---- "Recién llegados" del inicio: con foto del producto más nuevo ---- */
.hb4-img { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.hb4-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.hb4-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 59, 38, .25) 0%, rgba(31, 59, 38, .35) 40%, rgba(24, 47, 29, .88) 100%); }
.hb-4:hover .hb4-img img { transform: scale(1.05); }
.hb-4 .hb4-k, .hb-4 .hb4-t { position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.hb-4 .hb4-k { opacity: .9; }
.hb-4 .ic { z-index: 1; }

/* ---- Tendencias: la foto se ve siempre ---- */
@media (min-width: 760px) {
  .trend, .trend:hover { grid-template-columns: 44px 72px 1fr auto 40px; }
  .trend-thumb { width: 72px; transform: none; overflow: visible; }
}
.trend-thumb .ph { border-radius: 14px; overflow: hidden; aspect-ratio: 1; }

/* =====================================================================
   STOCK: medidor con número que cuenta y barra que se llena
   ===================================================================== */
.stk { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px 7px; margin-top: 10px; font-size: 12.5px; color: #3F6B2A; }
.stk-dot { width: 8px; height: 8px; border-radius: 50%; background: #6A994E; box-shadow: 0 0 0 0 rgba(106, 153, 78, .55); animation: pulse 2.4s infinite; }
.stk-txt b { font-weight: 800; font-variant-numeric: tabular-nums; color: #25331E; }
.stk-bar { display: block; grid-column: 1 / -1; position: relative; height: 5px; border-radius: 99px; background: #E8F0D6; overflow: hidden; }
.stk-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #C6E188, #6A994E); overflow: hidden; }
.stk-bar i::after { content: ''; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); transform: translateX(-120%); animation: stkShine 2.8s ease-in-out infinite; }
.stk.is-on .stk-bar i { animation: stkFill 1.2s cubic-bezier(.16, 1, .3, 1); }
@keyframes stkFill { from { width: 0; } }
@keyframes stkShine { 0%, 45% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
.card:hover .stk-dot { animation-duration: 1.2s; }
.stk-lg { display: block; margin: 2px 0 4px; padding: 14px 16px 12px; border: 1px solid #D6E7B0; border-radius: 18px; background: linear-gradient(180deg, #FBFDF4 0%, #F1F7E1 100%); box-shadow: inset 0 1px 0 #fff; }
.stk-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.stk-lg .stk-txt b { font-size: 22px; letter-spacing: -.02em; margin-right: 2px; }
.stk-doz { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #3F6B2A; background: #EAF5D3; border: 1px solid #CFE4A2; border-radius: 99px; padding: 4px 10px; }
.stk-lg .stk-bar { height: 8px; margin-top: 10px; }
.stk-note { margin: 8px 0 0; font-size: 12.5px; color: #5A684F; }
.stk-note span { font-weight: 600; color: #3F6B2A; }

/* =====================================================================
   TEMA NAVIDAD (categoría Navidad y temporadas): rojo cálido + brillos
   Los botones se quedan verdes.
   ===================================================================== */
body.theme-xmas {
  background:
    radial-gradient(1000px 600px at 95% -5%, rgba(200, 16, 46, .16), rgba(200, 16, 46, 0) 60%),
    radial-gradient(800px 520px at -10% 40%, rgba(226, 60, 85, .12), rgba(226, 60, 85, 0) 60%),
    radial-gradient(900px 500px at 60% 110%, rgba(242, 179, 61, .12), rgba(242, 179, 61, 0) 60%),
    linear-gradient(180deg, #FFF6F4 0%, #FCE9E7 100%);
  background-attachment: fixed;
}
.xmas-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.xs { position: absolute; display: block; font-style: normal; line-height: 1; font-size: var(--s); opacity: var(--o); transform: translate(-50%, -50%);
  animation: xsTwinkle var(--t) ease-in-out var(--d) infinite alternate, xsFloat calc(var(--t) * 2.2) ease-in-out var(--d) infinite alternate; }
.xs-h { color: #E23C55; text-shadow: 0 0 10px rgba(226, 60, 85, .55), 0 0 22px rgba(255, 120, 140, .35); }
.xs-s { color: #F2B33D; text-shadow: 0 0 10px rgba(255, 210, 110, .9), 0 0 24px rgba(255, 200, 90, .5); }
.xs-c { width: calc(var(--s) * .55); height: calc(var(--s) * .55); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0)); box-shadow: 0 0 12px rgba(255, 190, 190, .9), 0 0 26px rgba(226, 60, 85, .35); }
@keyframes xsTwinkle { from { opacity: calc(var(--o) * .35); filter: brightness(.9); } to { opacity: var(--o); filter: brightness(1.25); } }
@keyframes xsFloat { from { margin-top: -6px; } to { margin-top: 8px; } }
.theme-xmas .cover {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .14) 0 2px, transparent 3px) 0 0 / 90px 90px,
    radial-gradient(circle at 60% 70%, rgba(255, 220, 140, .22) 0 1.5px, transparent 2.5px) 0 0 / 70px 70px,
    radial-gradient(700px 400px at 85% 0%, rgba(255, 120, 120, .35), rgba(255, 120, 120, 0) 60%),
    linear-gradient(135deg, #C8102E 0%, #A10C26 50%, #6E0A1C 100%);
  color: #FFF4F2;
}
.theme-xmas .cover .display-2, .theme-xmas .cover h1 { color: #FFFFFF; text-shadow: 0 2px 18px rgba(80, 0, 10, .35); }
.theme-xmas .cover .eyebrow, .theme-xmas .cover .cover-n { color: #FFD9A0; }
.theme-xmas .cover .lead { color: rgba(255, 238, 236, .9); }
.theme-xmas .cover .crumbs, .theme-xmas .cover .crumbs a, .theme-xmas .cover .crumbs span { color: rgba(255, 236, 232, .85); }
.theme-xmas .cover .cover-art { box-shadow: 0 24px 60px -30px rgba(40, 0, 6, .8); }
.theme-xmas .cover .cover-art .ph { background: linear-gradient(160deg, #FFE9E6, #F8CFCB); }
.theme-xmas .cover .cover-orb { background: rgba(255, 215, 140, .35); }
.theme-xmas .sh-num, .theme-xmas .eyebrow { color: #B3122E; }
.theme-xmas .card { box-shadow: 0 1px 2px rgba(120, 10, 30, .05), 0 16px 36px -24px rgba(150, 20, 40, .35); }
@media (prefers-reduced-motion: reduce) { .xs, .stk-dot, .stk-bar i, .stk-bar i::after { animation: none !important; } }

/* ---- Tema Navidad: la franja de arriba también se vuelve roja ---- */
body.theme-xmas .hdr {
  background:
    radial-gradient(120% 180% at 8% -40%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(100deg, #D4142F 0%, #B80F27 45%, #9A0C22 75%, #7A0A1B 100%);
  box-shadow: 0 1px 0 rgba(120, 10, 25, .3), 0 10px 30px -18px rgba(120, 10, 25, .7);
  color: #FFF4F2;
}
body.theme-xmas .hdr::before { background-image: radial-gradient(rgba(255, 220, 150, .35) 1px, transparent 1.2px); }
body.theme-xmas .hdr::after { background: linear-gradient(90deg, rgba(242, 179, 61, 0), #E9A92E 20%, #FFE8A3 50%, #E9A92E 80%, rgba(242, 179, 61, 0)); box-shadow: 0 0 12px rgba(255, 210, 110, .9); }
body.theme-xmas .hdr.is-scrolled { box-shadow: 0 1px 0 rgba(120, 10, 25, .35), 0 14px 34px -16px rgba(110, 8, 22, .8); }
body.theme-xmas .logo { color: #FFFFFF; filter: drop-shadow(0 2px 8px rgba(60, 0, 8, .45)); }
body.theme-xmas .hdr .burger i { background: #fff; }
body.theme-xmas .hdr .icon-btn { color: #fff; }
body.theme-xmas .hdr .icon-btn:hover { background: rgba(255, 255, 255, .18); }
@media (min-width: 960px) {
  body.theme-xmas .nav > a, body.theme-xmas .nav-dd-btn { color: #FFEDEA; }
  body.theme-xmas .nav > a:hover, body.theme-xmas .nav-dd-btn:hover, body.theme-xmas .nav-dd.is-open .nav-dd-btn { color: #fff; background: rgba(255, 255, 255, .16); }
  body.theme-xmas .nav > a.is-on, body.theme-xmas .nav-dd-btn.is-on { color: #fff; background: rgba(255, 255, 255, .2); }
  body.theme-xmas .nav > a.is-on::after { background: #FFD36B; box-shadow: 0 0 6px rgba(255, 210, 110, .9); }
  body.theme-xmas .search-hint { color: #FFEDEA; }
  body.theme-xmas #searchOpen { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .14); color: #fff; }
  body.theme-xmas #searchOpen:hover { background: rgba(255, 255, 255, .24); }
}

/* ---- Gorrito navideño del logo ---- */
.logo-hat { transform-origin: 981px 455px; transform-box: view-box; animation: hatSway 4.5s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(120, 10, 25, .25)); }
.logo:hover .logo-hat { animation-duration: 1.2s; }
@keyframes hatSway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .logo-hat { animation: none; } }

/* ---- Tarjetas "Compra por categoría": rojos suaves navideños, brillo metálico y puntitos ---- */
.catpill {
  --r1: #FDE6E6; --r2: #F6C3C9;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, .55) 44%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(160deg, var(--r1) 0%, var(--r2) 100%);
  border: 1px solid rgba(190, 30, 55, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(150, 20, 40, .08), 0 10px 24px -18px rgba(150, 20, 40, .45);
  color: #3E0C15;
}
.catpill::before {   /* puntitos muy suaves que se desvanecen */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(179, 18, 46, .22) 1.1px, transparent 1.7px); background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 60%, rgba(0, 0, 0, .35) 100%); mask-image: linear-gradient(100deg, transparent 15%, #000 60%, rgba(0, 0, 0, .35) 100%);
}
.catpill::after {    /* destello metálico que cruza al pasar el mouse */
  content: ''; position: absolute; top: -40%; bottom: -40%; width: 30%; left: -40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); transform: skewX(-18deg);
  transition: left .9s cubic-bezier(.16, 1, .3, 1);
}
.catpill:hover::after { left: 120%; }
.catpill:nth-child(4n + 2) { --r1: #FFEDE8; --r2: #F7CBC0; }
.catpill:nth-child(4n + 3) { --r1: #FCE6EE; --r2: #F1BFD0; }
.catpill:nth-child(4n + 4) { --r1: #FBE9E4; --r2: #EDBDB6; }
.catpill:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 16px 30px -18px rgba(150, 20, 40, .55), 0 0 0 4px rgba(226, 60, 85, .1); }
.catpill-img { background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 6px 14px -8px rgba(120, 10, 25, .45); }
.catpill-tx strong { color: #3E0C15; }
.catpill-tx span { color: #B3122E; }
.catpill > .ic { color: #B3122E; opacity: .7; }
.catpill:hover > .ic { color: #8E0E22; opacity: 1; }
body.theme-xmas .logo-hat > path:first-of-type { stroke: #FFE8A3; stroke-width: 9; paint-order: stroke; }

/* ---- Tarjetas "Compra por categoría" v2: rojo navideño fuerte con brillo metálico (sin puntitos) ---- */
.catpill { --r1: #DE2E45; --r2: #A0122A; color: #fff; border-color: rgba(120, 8, 25, .35);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, .28) 42%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .10) 100%),
    linear-gradient(160deg, var(--r1) 0%, var(--r2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(60, 0, 10, .25), 0 12px 26px -18px rgba(120, 8, 25, .7); }
.catpill::before { display: none; }
.catpill:nth-child(4n + 2) { --r1: #E3404F; --r2: #A8162C; }
.catpill:nth-child(4n + 3) { --r1: #D0203A; --r2: #8E0E22; }
.catpill:nth-child(4n + 4) { --r1: #E53950; --r2: #B01530; }
.catpill:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 32px -18px rgba(120, 8, 25, .8), 0 0 0 4px rgba(226, 60, 85, .16); }
.catpill-img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 6px 14px -8px rgba(40, 0, 8, .6); }
.catpill-tx strong { color: #fff; text-shadow: 0 1px 2px rgba(60, 0, 10, .3); }
.catpill-tx span { color: #FFD9A0; }
.catpill > .ic { color: #fff; opacity: .8; }
.catpill:hover > .ic { color: #fff; opacity: 1; }

/* =====================================================================
   MOSAICO DEL INICIO (bento): 6 accesos con foto, velo y cápsula de cristal
   ===================================================================== */
.hero-art.bento { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 12px; aspect-ratio: 1 / 1.04; }
.bt { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 26px; background: #EFE9E2;
  box-shadow: 0 1px 2px rgba(30, 20, 10, .06), 0 22px 44px -28px rgba(30, 20, 10, .55);
  opacity: 0; animation: heroIn 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 200ms); }
.bt::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
.bt-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.bt:hover .bt-img img { transform: scale(1.07); }
.bt-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 14, 10, 0) 40%, rgba(12, 14, 10, .66) 100%); transition: opacity .4s; }
.bt-cap { position: absolute; left: 16px; right: 60px; bottom: 15px; z-index: 2; display: grid; gap: 3px; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.bt-k { font: 600 10.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.bt-t { font: 700 clamp(15px, 1.5vw, 18px)/1.12 var(--f-display); letter-spacing: -.02em; }
.bt-n { font-size: 12px; color: rgba(255, 255, 255, .82); }
.bt-go { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), background .3s, color .3s; }
.bt:hover .bt-go { background: #fff; color: #1B2A17; transform: rotate(-45deg); }
.bt-nav { grid-column: 1 / 5; grid-row: 1 / 5; }
.bt-jug { grid-column: 5 / 7; grid-row: 1 / 3; }
.bt-reg { grid-column: 5 / 7; grid-row: 3 / 5; }
.bt-hog { grid-column: 1 / 3; grid-row: 5 / 7; }
.bt-new { grid-column: 3 / 5; grid-row: 5 / 7; }
.bt-per { grid-column: 5 / 7; grid-row: 5 / 7; background: radial-gradient(120% 90% at 80% 0%, #3E7448 0%, #24452B 55%, #16301C 100%); }
/* Navidad: la protagonista */
.bt-nav .bt-shade { background: linear-gradient(180deg, rgba(150, 8, 28, 0) 32%, rgba(140, 8, 28, .55) 62%, rgba(110, 6, 22, .9) 100%); }
.bt-nav .bt-cap { left: 22px; bottom: 22px; gap: 6px; }
.bt-nav .bt-t { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.03em; }
.bt-nav .bt-k { color: #FFD36B; display: inline-flex; align-items: center; gap: 6px; }
.bt-nav .bt-n { display: inline-flex; width: max-content; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font-weight: 600; }
.bt-nav .bt-go { right: 20px; bottom: 20px; width: 46px; height: 46px; }
.bt-spark { font-style: normal; display: inline-block; animation: sparkTw 2.4s ease-in-out infinite; text-shadow: 0 0 10px rgba(255, 210, 110, .9); }
@keyframes sparkTw { 50% { opacity: .45; transform: scale(.8) rotate(20deg); } }
.bt-nav::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at 18% 22%, rgba(255, 230, 160, .9) 0 1.5px, transparent 2.5px) 0 0 / 120px 120px, radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .7) 0 1px, transparent 2px) 0 0 / 90px 90px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%); mask-image: linear-gradient(180deg, #000 0%, transparent 55%); opacity: .7; }
/* Personalizados: maquetas sobre verde profundo */
.bt-mock { position: absolute; inset: 8% 8% 36% 8%; display: flex; align-items: flex-end; justify-content: center; gap: 8%; }
.bt-mock .hb5-l, .bt-mock .hb5-t { height: 100%; display: flex; align-items: flex-end; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
.bt-mock .hb5-l { height: 84%; transform: rotate(-7deg); } .bt-mock .hb5-t { transform: rotate(6deg); }
.bt-mock .mock { height: 100%; width: auto; }
.bt-per .bt-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(10, 25, 14, .55) 100%); }
.bt-per:hover .hb5-l { transform: rotate(-2deg) translateY(-4px); }
@media (max-width: 639px) {
  .hero-art.bento { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .bento .bt { grid-column: auto; grid-row: auto; min-height: 150px; border-radius: 22px; }
  .bento .bt-nav { grid-column: 1 / -1; min-height: 280px; }
  .bt-cap { left: 12px; right: 50px; bottom: 12px; } .bt-go { width: 34px; height: 34px; right: 10px; bottom: 10px; }
  .bt-t { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .bt { opacity: 1; animation: none; } .bt-spark { animation: none; } }
.bt:not(.bt-nav):not(.bt-per) .bt-k { display: none; }
.bt:not(.bt-nav) .bt-shade { background: linear-gradient(180deg, rgba(12, 14, 10, 0) 30%, rgba(12, 14, 10, .72) 100%); }
.bt:not(.bt-nav) .bt-cap { right: 54px; }
.bt-per .bt-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-nav .bt-shade { background: linear-gradient(180deg, rgba(150, 8, 28, 0) 40%, rgba(150, 10, 30, .6) 66%, rgba(112, 6, 22, .94) 100%); }
.bt-nav .bt-img img { object-position: 50% 30%; }
@media (max-width: 639px) { .bento .bt-per { grid-column: 1 / -1; min-height: 180px; } }
.bt-per .bt-k { display: none; }
.bt:not(.bt-nav) .bt-t { font-size: clamp(14px, 1.35vw, 17px); overflow-wrap: anywhere; }

/* ---- Mosaico: fundido al cambiar de foto ---- */
.bt-img img.is-new { opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.bt-img img.is-new.is-on { opacity: 1; transform: none; }
/* Navidad: velo rojo más suave y elegante */
.bt-nav .bt-shade { background: linear-gradient(180deg, rgba(150, 10, 30, 0) 48%, rgba(150, 12, 32, .28) 66%, rgba(120, 8, 26, .72) 100%); }
.bt-nav .bt-t { text-shadow: 0 2px 16px rgba(60, 0, 10, .45); }

/* ---- Compra por categoría: paleta navideña variada + destello metálico que se mueve solo ---- */
.catpill:nth-child(8n + 1) { --r1: #D63A4C; --r2: #9E1B2E; }   /* rojo cereza */
.catpill:nth-child(8n + 2) { --r1: #3E8A5C; --r2: #1F5236; }   /* verde pino */
.catpill:nth-child(8n + 3) { --r1: #D7A547; --r2: #A0702A; }   /* dorado */
.catpill:nth-child(8n + 4) { --r1: #8E2A3E; --r2: #561526; }   /* vino */
.catpill:nth-child(8n + 5) { --r1: #2F7A78; --r2: #174A4A; }   /* verde azulado */
.catpill:nth-child(8n + 6) { --r1: #C8643F; --r2: #8E3B22; }   /* cobre */
.catpill:nth-child(8n + 7) { --r1: #7D5BA6; --r2: #4C3270; }   /* ciruela */
.catpill:nth-child(8n + 8) { --r1: #E0596A; --r2: #A8283C; }   /* rojo frambuesa */
.catpill:nth-child(8n + 3) .catpill-tx span { color: #FFF4D6; }
.catpill::after { left: -40%; animation: pillSheen 5.5s ease-in-out infinite; animation-delay: calc(var(--d, 0ms) * 3); transition: none; }
.catpill:hover::after { left: -40%; animation-duration: 1.4s; }
@keyframes pillSheen { 0%, 62% { left: -40%; } 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .catpill::after { animation: none; } }
.bt-per .bt-t { font-size: clamp(13px, 1.15vw, 16px); overflow-wrap: normal; }

/* ---- Compra por categoría: color por categoría (solo Navidad en rojo) ---- */
.catpill[href$="/navidad-y-temporadas"] { --r1: #E1172F; --r2: #8C0719; }   /* rojo navideño fuerte */
.catpill[href$="/juguetes-y-diversion"] { --r1: #8FC75A; --r2: #4E8C2C; }   /* verde claro */
.catpill[href$="/hogar-y-organizacion"] { --r1: #D7A547; --r2: #A0702A; }   /* dorado */
.catpill[href$="/novedades-y-tendencias"] { --r1: #3D5F96; --r2: #1F3560; } /* azul noche */
.catpill[href$="/regalos-y-accesorios"] { --r1: #2F7A78; --r2: #174A4A; }   /* verde azulado */
.catpill[href$="/familia"] { --r1: #C8643F; --r2: #8E3B22; }                /* cobre */
.catpill[href$="/mascotas"] { --r1: #7D5BA6; --r2: #4C3270; }               /* ciruela */
.catpill[href$="/deporte-y-bienestar"] { --r1: #3E8A5C; --r2: #1F5236; }    /* verde pino */
.catpill[href$="/juguetes-y-diversion"] .catpill-tx span, .catpill[href$="/hogar-y-organizacion"] .catpill-tx span { color: #FFF6DA; }
#railFav { transition: opacity .45s ease; }
#railFav.is-swapping { opacity: 0; }

/* ---- Favoritos: insignia y stock limitado en rojo suave ---- */
.badge.b-fav { background: linear-gradient(180deg, #FF5A6E 0%, #D81E3A 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 8px -3px rgba(180, 20, 40, .55); }
.stk.is-low { color: #B3122E; }
.stk.is-low .stk-txt b { color: #B3122E; }
.stk.is-low .stk-dot { background: #E23C55; box-shadow: 0 0 0 0 rgba(226, 60, 85, .55); animation: pulseRed 1.6s infinite; }
@keyframes pulseRed { 70% { box-shadow: 0 0 0 9px rgba(226, 60, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 60, 85, 0); } }
.stk.is-low .stk-bar { background: #FBE3E5; }
.stk.is-low .stk-bar i { background: linear-gradient(90deg, #FF8A97, #D81E3A); }
.stk-lg.is-low { border-color: #F4C1C8; background: linear-gradient(180deg, #FFF8F8 0%, #FDEBEC 100%); }
.stk-lg.is-low .stk-note span { color: #B3122E; }
.stk-hot { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #FF5A6E, #D81E3A); border-radius: 99px; padding: 4px 10px; box-shadow: 0 4px 10px -5px rgba(200, 20, 40, .6); }
.stk-lg.is-low .stk-doz { display: none; }
@media (prefers-reduced-motion: reduce) { .stk.is-low .stk-dot { animation: none; } }

/* ---- Compra por categoría v3: mismos colores en versión pastel, con efecto metálico ---- */
.catpill { --tx: #3E0C15; --acc: #B3122E; color: var(--tx); border-color: rgba(60, 40, 30, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(60, 30, 20, .08), 0 10px 22px -18px rgba(60, 40, 30, .45); }
.catpill:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 16px 28px -18px rgba(60, 40, 30, .5), 0 0 0 4px rgba(255, 255, 255, .6); }
.catpill-tx strong { color: var(--tx); text-shadow: none; }
.catpill-tx span { color: var(--acc); }
.catpill > .ic, .catpill:hover > .ic { color: var(--acc); }
.catpill-img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 6px 14px -8px rgba(60, 40, 30, .35); }
.catpill[href$="/navidad-y-temporadas"] { --r1: #FBD3D8; --r2: #F1A3AE; --tx: #5A0E1B; --acc: #B3122E; }
.catpill[href$="/juguetes-y-diversion"] { --r1: #E2F2CC; --r2: #BEDF9C; --tx: #24451A; --acc: #3F7A23; }
.catpill[href$="/hogar-y-organizacion"] { --r1: #F8E8C4; --r2: #EBCF91; --tx: #563C0D; --acc: #8A5E12; }
.catpill[href$="/novedades-y-tendencias"] { --r1: #DCE5F5; --r2: #B2C5E7; --tx: #1C2E55; --acc: #2F4E8E; }
.catpill[href$="/regalos-y-accesorios"] { --r1: #D4ECE9; --r2: #A6D4CF; --tx: #13403E; --acc: #1F6A66; }
.catpill[href$="/familia"] { --r1: #F8DDD1; --r2: #ECB9A2; --tx: #5A2410; --acc: #9A4322; }
.catpill[href$="/mascotas"] { --r1: #E8DEF4; --r2: #CBB9E6; --tx: #3A2560; --acc: #64449A; }
.catpill[href$="/deporte-y-bienestar"] { --r1: #D6EBDC; --r2: #A9D3B6; --tx: #173D25; --acc: #2B6A43; }
.catpill::after { background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.catpill[href] .catpill-tx span { color: var(--acc); }
#railFav .card { transition: opacity .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s, border-color .3s; }
#railFav .card.card-out { opacity: 0; transform: scale(.96); }
#railFav .card.card-swap { opacity: 0; transform: scale(.96); }
#railFav .card.card-swap.card-swap-on { opacity: 1; transform: none; }

/* ---- Destellos al añadir al carrito ---- */
.spk-burst { position: fixed; z-index: 120; width: 0; height: 0; pointer-events: none; }
.spk { position: absolute; left: 0; top: 0; display: block; font-style: normal; line-height: 1; opacity: 0;
  animation: spkFly .75s cubic-bezier(.16, 1, .3, 1) var(--dl) forwards; }
.spk-dot { width: var(--sz); height: var(--sz); margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2); border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #FFF3B0 45%, rgba(255, 220, 120, 0) 72%); box-shadow: 0 0 6px 1px rgba(255, 224, 130, .9); }
.spk-star { font-size: var(--sz); margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2); color: #FFE28A; text-shadow: 0 0 6px rgba(255, 220, 110, 1), 0 0 12px rgba(255, 255, 255, .8); }
@keyframes spkFly {
  0% { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); }
}
/* brillo que recorre el botón al tocarlo */
.btn.is-glint::before { transform: translateX(120%); transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
