:root { --sh1: 0 1px 2px rgba(7,59,82,.06), 0 4px 14px rgba(7,59,82,.07); --sh2: 0 2px 4px rgba(7,59,82,.08), 0 14px 30px rgba(7,59,82,.14); }
.top { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(7,59,82,.05); }
.tabs a { min-height: 40px; display: inline-flex; align-items: center; transition: background .15s, color .15s; }
.tabs a:hover:not([aria-current="page"]) { background: var(--soft); color: var(--fg); }
.cartbtn { background: var(--deep); color: var(--deep-fg); border-color: var(--deep); min-height: 44px; padding: 8px 16px; box-shadow: var(--sh1); transition: transform .12s, box-shadow .12s; }
.cartbtn:hover { transform: translateY(-1px); box-shadow: var(--sh2); }
.btn { min-height: 52px; display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; padding: 12px 26px; font-size: 1.02rem; box-shadow: 0 1px 0 rgba(6,43,51,.15), 0 6px 16px rgba(31,209,179,.28); transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(6,43,51,.15), 0 10px 22px rgba(31,209,179,.36); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.ghost { box-shadow: none; }
.btn.ghost:hover { box-shadow: none; transform: none; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 56px; align-content: start; }
.hero::before { content: ""; position: absolute; top: -40px; left: 50%; width: 100vw; transform: translateX(-50%); height: 640px; background: radial-gradient(760px 360px at 88% 8%, var(--soft), transparent 72%); z-index: -1; }
.hero > * { grid-column: 1 / -1; }
.hero > .eyebrow, .hero > h1, .hero > p, .hero > .cta-row { grid-column: 1; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 18ch; }
.hero > p[data-e] { width: auto !important; max-width: 56ch; text-align: left !important; color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.hero .hero-card { grid-column: 2; grid-row: 1 / span 4; align-self: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--sh2); }
.hero-card h2 { font-size: 1.7rem; margin-bottom: 14px; }
.hero-card ol { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.hero-card li { counter-increment: p; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-card li::before { content: counter(p); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--accent); font-weight: 700; font-size: .85rem; }
.brand { border-radius: 14px; padding: 22px 18px; margin-inline: -18px; transition: background .15s; }
.brand:hover { background: var(--surface); }
.chip { min-height: 40px; padding: 8px 18px; background: var(--bg); transition: background .15s, border-color .15s; }
.chip[aria-pressed="true"] { box-shadow: var(--sh1); }
.search input { min-height: 48px; border-radius: 12px; padding-inline: 14px; box-shadow: inset 0 1px 2px rgba(7,59,82,.06); }
.grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.prod { background: var(--bg); border-radius: 18px; padding: 14px 14px 16px; box-shadow: var(--sh1); position: relative; transition: box-shadow .18s, transform .18s, border-color .18s; }
.prod:hover { box-shadow: var(--sh2); transform: translateY(-3px); }
.pic { border-radius: 12px; background: linear-gradient(180deg, var(--bg), var(--surface)); }
.prod .b { align-self: flex-start; background: var(--soft); color: var(--accent); padding: 3px 11px; border-radius: 999px; letter-spacing: .08em; }
.prod.in { border-color: var(--cta); box-shadow: 0 0 0 2px var(--cta), var(--sh1); }
.prod.in::after { content: "✓ En tu pedido"; position: absolute; top: 22px; right: 22px; background: var(--cta); color: var(--cta-fg); font-weight: 700; font-size: .75rem; padding: 4px 11px; border-radius: 999px; box-shadow: var(--sh1); }
.sz { min-height: 40px; padding-inline: 16px; }
.qty { flex-wrap: wrap; }
.qty button, .qty input { height: 44px; }
.qty button { width: 44px; border-radius: 12px; }
.qty .add { order: 3; flex: 1 1 100%; min-height: 48px; border-radius: 12px; font-size: 1rem; box-shadow: 0 6px 14px rgba(31,209,179,.26); }
.qty .add:active { transform: translateY(1px); box-shadow: none; }
.pg { border-radius: 12px; min-height: 44px; }
.barra-pedido { display: none; }
.barra-pedido[hidden] { display: none !important; }
.hero-card .btn { width: 100%; justify-content: center; }
.barra-pedido { border: 0; font: inherit; cursor: pointer; text-align: left; }
@media (max-width: 640px) {
  .hero { display: block; } .hero .hero-card { margin-top: 28px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod { padding: 10px; } .prod h3 { font-size: 1.05rem; } .prod .desc, .prod .hint { display: none; }
  .prod.in::after { top: 16px; right: 16px; font-size: .68rem; padding: 3px 8px; }
  .barra-pedido { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; align-items: center; justify-content: space-between; gap: 10px; white-space: nowrap; font-size: .92rem; background: var(--deep); color: var(--deep-fg); border-radius: 16px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(7,59,82,.35); font-weight: 600; text-decoration: none; }
  .barra-pedido span { background: var(--wa); color: var(--wa-fg); border-radius: 12px; padding: 10px 14px; font-weight: 700; }
  .qty { gap: 6px; flex-wrap: nowrap; flex-wrap: wrap; } .qty button { width: 36px; } .qty input { width: 44px; flex: none; padding-inline: 2px; }
  .barra-pedido { font-size: .85rem; padding: 10px 10px 10px 14px; } .barra-pedido span { padding: 9px 11px; }
  body { padding-bottom: 88px; }
}

.novedades { display: grid; gap: 14px; margin: 28px 0 8px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.novedades[hidden] { display: none; }
.novedad { display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface, var(--bg)); box-shadow: var(--sh1); }
a.novedad:hover { box-shadow: var(--sh2); transform: translateY(-1px); }
.novedad img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.novedad img.es-gif { object-fit: contain; background: var(--surface, var(--bg)); }
.novedad > div { padding: 14px 16px; } .novedad h3 { margin: 0 0 4px; } .novedad p { margin: 0; }
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--wa); color: var(--wa-fg); box-shadow: 0 4px 14px rgba(0,0,0,.28); transition: transform .12s; }
.wa-flotante:hover { transform: scale(1.06); } .wa-flotante:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .wa-flotante { bottom: 86px; right: 14px; } }

.presentacion { grid-column: 1 / -1; position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface, var(--bg)); box-shadow: var(--sh1); }
.pres-vista { overflow: hidden; aspect-ratio: 16 / 6; }
.pres-pista { display: flex; height: 100%; transition: transform .7s ease; will-change: transform; }
.pres-foto { flex: 0 0 100%; height: 100%; }
.pres-foto > a, .pres-foto > div { display: block; width: 100%; height: 100%; }
.pres-foto img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--surface, var(--bg)); user-select: none; }
.pres-foto a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.pres-puntos { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgba(7,59,82,.55); }
.pres-punto { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .2s, background .2s; cursor: default; }
.pres-punto[aria-current="true"] { width: 18px; background: #fff; }
.pres-auto .pres-punto { pointer-events: none; }
.pres-quieta .pres-pista { transition: none; }
.pres-quieta .pres-punto { cursor: pointer; width: 12px; height: 12px; }
.pres-quieta .pres-punto[aria-current="true"] { width: 24px; }
.pres-quieta .pres-puntos { gap: 8px; }
@media (max-width: 640px) { .presentacion { border-radius: 12px; } .pres-puntos { bottom: 3px; padding: 3px 6px; gap: 5px; } .pres-punto { width: 6px; height: 6px; } .pres-punto[aria-current="true"] { width: 14px; } }
@media (prefers-reduced-motion: reduce) { .pres-pista { transition: none; } }
html body [data-e="ancho56"][data-e="ancho56"][data-e="ancho56"][data-e="ancho56"] { width: 56%; text-align: justify; }
html body [data-e="ancho56-b25"][data-e="ancho56-b25"][data-e="ancho56-b25"][data-e="ancho56-b25"] { width: 56%; text-align: justify; margin-bottom: 25px; }
html body [data-e="ancho80-centro"][data-e="ancho80-centro"][data-e="ancho80-centro"][data-e="ancho80-centro"] { width: 80%; text-align: center; }
html body [data-e="ancho45"][data-e="ancho45"][data-e="ancho45"][data-e="ancho45"] { width: 45%; text-align: justify; }
html body [data-e="justificado"][data-e="justificado"][data-e="justificado"][data-e="justificado"] { text-align: justify; }
html body [data-e="centrado"][data-e="centrado"][data-e="centrado"][data-e="centrado"] { text-align: center; }
html body [data-e="mt40"][data-e="mt40"][data-e="mt40"][data-e="mt40"] { margin-top: 40px; }
html body [data-e="fila"][data-e="fila"][data-e="fila"][data-e="fila"] { grid-column: 1 / -1; }
