/* =====================================================================
   EAGLE DUO STORE · Estilos ("Oro y noche")
   Pensado primero para celular; se amplía en tablet y computadora.
   ===================================================================== */
:root {
  --noche: #0B0F1A;
  --noche-2: #10172A;
  --noche-3: #172038;
  --marino: #0E2A55;
  --marino-2: #133B78;
  --oro: #E5C57E;
  --oro-vivo: #F2D484;
  --oro-hondo: #B8892F;
  --champan: #DCD1B8;
  --texto: #ECE6D8;
  --texto-suave: #A9A396;
  --linea: rgba(229, 197, 126, .16);
  --linea-fuerte: rgba(229, 197, 126, .38);
  --verde-wa: #25D366;
  --verde-wa-hondo: #128C4B;
  --rojo: #F06A5E;
  --radio: 20px;
  --sombra: 0 22px 60px rgba(0, 0, 0, .5);
  --serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --cursiva: 'Great Vibes', 'Snell Roundhand', cursive;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cabecera: 72px;
  --oro-degradado: linear-gradient(135deg, #F8E3A3 0%, #E5C57E 35%, #C99A3C 70%, #F2D484 100%);
  --champan-degradado: linear-gradient(180deg, #F1EADA 0%, #E2D8C1 42%, #D3C8AE 64%, #B9AF9A 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cabecera) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--noche); color: var(--texto);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(19, 59, 120, .35), transparent 70%),
    radial-gradient(1px 1px at 20% 30%, rgba(229, 197, 126, .25), transparent 60%),
    radial-gradient(1px 1px at 80% 60%, rgba(229, 197, 126, .18), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font: 700 clamp(30px, 6vw, 48px)/1.1 var(--serif); letter-spacing: .02em;
     background: var(--champan-degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font: 700 19px/1.3 var(--sans); }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 640px) { .contenedor { padding: 0 28px; } }
.contenedor--angosto { max-width: 820px; }
.saltar { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--oro); color: var(--noche); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--oro-vivo); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- Tipografía de marca ---------- */
.cejilla { margin: 0 0 10px; font: 700 12px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--oro); }
.eslogan { margin: 0; font: 400 clamp(30px, 6.4vw, 46px)/1.1 var(--cursiva); color: var(--oro); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.eslogan--chico { font-size: clamp(26px, 5vw, 34px); }
.eslabones { height: .66em; width: auto; vertical-align: middle; position: relative; top: -.06em; filter: drop-shadow(0 .03em .02em rgba(0, 0, 0, .5)); }
.titulo-marca { display: flex; flex-direction: column; align-items: flex-start; }
.titulo-marca__linea {
  font: 700 clamp(34px, 10.6vw, 76px)/1 var(--serif); letter-spacing: .02em; white-space: nowrap;
  background: var(--champan-degradado); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .04em .03em rgba(0, 0, 0, .6));
}
.titulo-marca__store {
  margin-top: .45em; font: 600 clamp(15px, 3.4vw, 26px)/1 var(--serif); letter-spacing: .5em; padding-left: .1em;
  background: linear-gradient(180deg, #EDE5D0, #C9BFA8); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--sans); text-decoration: none; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, filter .2s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.boton:active { transform: scale(.98); }
.boton--oro { background: var(--oro-degradado); color: #1A1406; box-shadow: 0 10px 30px rgba(229, 197, 126, .25); }
.boton--oro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
.boton--oro:hover::after { animation: brillo 1.1s ease; }
.boton--oro:hover { box-shadow: 0 12px 36px rgba(229, 197, 126, .38); }
.boton--wa { background: var(--verde-wa); color: #062B15; }
.boton--wa:hover { filter: brightness(1.06); box-shadow: 0 10px 30px rgba(37, 211, 102, .3); }
.boton--linea { background: transparent; color: var(--oro); box-shadow: inset 0 0 0 1.5px var(--linea-fuerte); }
.boton--linea:hover { background: rgba(229, 197, 126, .08); }
.boton--chico { min-height: 42px; padding: 0 16px; font-size: 15px; }
.boton--grande { min-height: 58px; padding: 0 32px; font-size: 18px; }
.boton--ancho { width: 100%; }
@keyframes brillo { to { transform: translateX(120%); } }

/* ---------- Franja de anuncios ---------- */
.anuncio { background: linear-gradient(90deg, #0A1328, #12305E, #0A1328); border-bottom: 1px solid var(--linea); overflow: hidden; font-size: 13.5px; color: var(--champan); }
.anuncio__pista { display: flex; width: max-content; animation: desfile 38s linear infinite; }
.anuncio__pista span { padding: 9px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.anuncio__pista span::before { content: "✦"; color: var(--oro); font-size: 11px; }
.anuncio:hover .anuncio__pista { animation-play-state: paused; }
@keyframes desfile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .anuncio__pista { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(11, 15, 26, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.cabecera.con-sombra { border-bottom-color: var(--linea); background: rgba(11, 15, 26, .92); }
.cabecera__fila { height: var(--cabecera); display: flex; align-items: center; gap: 14px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.marca__emblema { width: 52px; height: 52px; }
.marca__texto { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.marca__nombre { font: 700 19px/1 var(--serif); letter-spacing: .03em; white-space: nowrap; background: var(--champan-degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marca__store { font: 600 9.5px/1 var(--serif); letter-spacing: .5em; padding-left: .5em; margin-top: 5px; color: var(--champan); }
.menu { display: none; }
.menu a { text-decoration: none; color: var(--champan); font-weight: 600; font-size: 15px; padding: 8px 4px; position: relative; }
.menu a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 1.5px; background: var(--oro); transform: scaleX(0); transition: transform .2s; }
.menu a:hover::after { transform: scaleX(1); }
.cabecera__acciones { display: flex; align-items: center; gap: 8px; }
.boton-pedido { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(229, 197, 126, .1); color: var(--oro); box-shadow: inset 0 0 0 1px var(--linea-fuerte); cursor: pointer; font-weight: 700; font-size: 15px; }
.boton-pedido:hover { background: rgba(229, 197, 126, .16); }
.boton-pedido__texto { display: none; }
.contador { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--oro-degradado); color: #1A1406; font-size: 12.5px; display: inline-grid; place-items: center; font-weight: 800; }
.contador.salta { animation: salto .45s ease; }
@keyframes salto { 40% { transform: scale(1.35); } }
.boton-menu { width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--champan); cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--linea); }
.solo-escritorio { display: none; }
.menu a, .boton-pedido { white-space: nowrap; }
@media (max-width: 1099px) {
  .menu.abierto { display: flex; flex-direction: column; position: absolute; top: var(--cabecera); left: 0; right: 0; background: rgba(11, 15, 26, .98); border-bottom: 1px solid var(--linea); padding: 8px 18px 18px; box-shadow: var(--sombra); }
  .menu.abierto a { padding: 14px 4px; border-bottom: 1px solid rgba(229, 197, 126, .08); font-size: 17px; }
}
@media (min-width: 520px) { .boton-pedido__texto { display: inline; } }
@media (min-width: 760px) { .solo-escritorio { display: inline-flex; } }
@media (min-width: 1100px) {
  .menu { display: flex; gap: 22px; margin: 0 auto; }
  .boton-menu { display: none; }
  .marca { margin-right: 0; }
}

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; padding: 28px 0 56px; }
.portada__brillo { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 72% 42%, rgba(19, 59, 120, .55), transparent 70%),
    radial-gradient(ellipse 40% 40% at 72% 45%, rgba(229, 197, 126, .10), transparent 70%); }
.portada__grid { position: relative; display: grid; gap: 8px; align-items: center; }
.portada__texto { display: flex; flex-direction: column; align-items: flex-start; order: 2; }
.portada .eslogan { margin-top: 14px; }
.portada__intro { margin: 18px 0 0; max-width: 34em; color: var(--champan); font-size: 17px; }
.portada__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.portada__datos { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--texto-suave); font-size: 14.5px; }
.portada__datos li { display: inline-flex; align-items: center; gap: 7px; }
.portada__datos .ico { color: var(--oro); }
.portada__visual { position: relative; order: 1; width: min(68vw, 340px); aspect-ratio: 1; margin: 0 auto 6px; }
.portada__emblema { position: absolute; inset: 6%; width: 88%; height: 88%; animation: flotar 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.aro { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(229, 197, 126, .25); box-shadow: 0 0 80px rgba(19, 59, 120, .45) inset; }
.aro::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--oro); border-right-color: rgba(229, 197, 126, .3); animation: girar 14s linear infinite; }
@keyframes flotar { 50% { transform: translateY(-12px); } }
@keyframes girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .portada__emblema, .aro::before { animation: none; } }
@media (min-width: 960px) {
  .portada { padding: 56px 0 80px; display: flex; align-items: center; }
}
@media (min-width: 960px) and (max-height: 1300px) {
  .portada { min-height: calc(100vh - var(--cabecera) - 40px); }
}
@media (min-width: 960px) {
  .portada__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; }
  .portada__texto { order: 1; }
  .portada__visual { order: 2; width: 100%; max-width: 580px; }
  .titulo-marca__linea { font-size: clamp(44px, 5.4vw, 76px); }
}

/* ---------- Confianza ---------- */
.confianza { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: rgba(16, 23, 42, .6); }
.confianza__grid { display: grid; grid-template-columns: 1fr 1fr; }
.confianza__item { display: flex; gap: 12px; align-items: flex-start; padding: 18px 8px; font-size: 13.5px; color: var(--texto-suave); }
.confianza__item .ico { width: 30px; height: 30px; color: var(--oro); }
.confianza__item b { display: block; color: var(--texto); font-size: 14.5px; margin-bottom: 2px; }
@media (min-width: 900px) { .confianza__grid { grid-template-columns: repeat(4, 1fr); } .confianza__item { padding: 24px 14px; font-size: 14px; } }

/* ---------- Secciones ---------- */
.seccion { padding: 64px 0; position: relative; }
.seccion--oscura { background: linear-gradient(180deg, rgba(14, 42, 85, .22), rgba(11, 15, 26, 0)); border-top: 1px solid var(--linea); }
.seccion__cabeza { text-align: center; margin-bottom: 30px; }
.seccion__sub { margin: 12px auto 0; max-width: 36em; color: var(--texto-suave); }
@media (min-width: 900px) { .seccion { padding: 92px 0; } .seccion__cabeza { margin-bottom: 40px; } }

/* ---------- Categorías ---------- */
.categorias { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.categoria {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; min-height: 128px;
  border-radius: var(--radio); border: 1px solid var(--linea); background: linear-gradient(160deg, var(--noche-3), var(--noche-2));
  text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.categoria::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 197, 126, .14), transparent 70%); transition: transform .3s; }
.categoria:hover { transform: translateY(-4px); border-color: var(--linea-fuerte); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.categoria:hover::after { transform: scale(1.5); }
.categoria .ico { width: 34px; height: 34px; color: var(--oro); }
.categoria b { font-size: 16px; line-height: 1.25; }
.categoria span { font-size: 13px; color: var(--texto-suave); }
@media (min-width: 700px) { .categorias { grid-template-columns: repeat(4, 1fr); gap: 16px; } .categoria { padding: 22px; min-height: 150px; } }

/* ---------- Herramientas del catálogo ---------- */
.herramientas { position: sticky; top: var(--cabecera); z-index: 20; padding: 10px 0 12px; margin: 0 -18px 8px; padding-left: 18px; padding-right: 18px; background: linear-gradient(180deg, rgba(11, 15, 26, .97) 75%, rgba(11, 15, 26, 0)); }
.buscador { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: var(--noche-2); box-shadow: inset 0 0 0 1px var(--linea); }
.buscador:focus-within { box-shadow: inset 0 0 0 1.5px var(--oro); }
.buscador .ico { color: var(--oro); }
.buscador input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.buscador input::placeholder { color: #7D786D; }
.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 15px; border-radius: 999px; border: 0; background: var(--noche-2); color: var(--champan); box-shadow: inset 0 0 0 1px var(--linea); cursor: pointer; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--linea-fuerte); }
.chip[aria-selected="true"] { background: var(--oro-degradado); color: #1A1406; box-shadow: none; }
.resultado { margin: 4px 0 14px; color: var(--texto-suave); font-size: 14px; min-height: 1.4em; }
@media (min-width: 640px) { .herramientas { margin: 0 -28px 8px; padding-left: 28px; padding-right: 28px; } }

/* ---------- Grilla de productos ---------- */
.grilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .grilla { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .grilla { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.producto {
  display: flex; flex-direction: column; border-radius: var(--radio); overflow: hidden; background: var(--noche-2);
  border: 1px solid var(--linea); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.producto:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--linea-fuerte); }
.producto:target { border-color: var(--oro); box-shadow: 0 0 0 2px var(--oro); }
.galeria { position: relative; aspect-ratio: 4 / 5; background: #0A0E18; }
.carril { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carril::-webkit-scrollbar { display: none; }
.carril picture { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.carril img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.flecha { position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(11, 15, 26, .72); color: var(--oro); box-shadow: inset 0 0 0 1px var(--linea); cursor: pointer; opacity: 0; transition: opacity .2s; z-index: 2; }
.flecha--izq { left: 8px; } .flecha--der { right: 8px; }
.galeria:hover .flecha, .galeria:focus-within .flecha { opacity: 1; }
@media (hover: none) { .flecha { opacity: .85; width: 32px; height: 32px; } }
.puntos { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 2px; z-index: 2; }
.puntos button { width: 22px; height: 22px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.puntos button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(236, 230, 216, .45); transition: all .2s; }
.puntos button[aria-current="true"]::before { background: var(--oro); width: 18px; border-radius: 4px; }
.sellos { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.sello { padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--oro-degradado); color: #1A1406; }
.sello--ultimas { background: #F06A5E; color: #2A0805; }
.sello--agotado { background: #3A3F4C; color: #E9E4D8; }
.producto__info { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.producto__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); }
.producto__nombre { font: 700 16.5px/1.3 var(--sans); margin: 0; }
.producto__nombre button { all: unset; cursor: pointer; }
.producto__nombre button:hover { color: var(--oro-vivo); }
.producto__nombre button:focus-visible { outline: 2px solid var(--oro-vivo); outline-offset: 2px; }
.producto__detalle { margin: 0; font-size: 14px; color: var(--texto-suave); line-height: 1.45; }
.variantes-mini { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.variantes-mini span { font-size: 12px; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea); color: var(--champan); }
.variantes-mini span.agotada { color: #6F6B63; text-decoration: line-through; }
.producto__pie { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.precio { font: 700 15px/1.2 var(--sans); color: var(--oro); }
.precio small { display: block; font-weight: 500; font-size: 12.5px; color: var(--texto-suave); margin-top: 2px; }
.producto__botones { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.producto__botones .boton { min-height: 44px; padding: 0 12px; font-size: 14.5px; }
.boton-wa-mini { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-wa); color: #062B15; text-decoration: none; }
.boton-wa-mini .ico { width: 22px; height: 22px; }
@media (max-width: 420px) {
  .producto__info { padding: 12px 11px 13px; }
  .producto__nombre { font-size: 15px; }
  .producto__detalle { font-size: 13px; }
  .producto__botones .boton { font-size: 13.5px; padding: 0 8px; }
  .variantes-mini { display: none; }
}
.vacio { text-align: center; padding: 30px 18px; border-radius: var(--radio); border: 1px dashed var(--linea-fuerte); margin-top: 12px; }
.vacio p { margin: 0 0 8px; color: var(--champan); }
.vacio .boton { margin-top: 10px; }

/* ---------- Pasos ---------- */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: paso; }
.paso { position: relative; padding: 26px 22px; border-radius: var(--radio); background: linear-gradient(160deg, var(--noche-3), var(--noche-2)); border: 1px solid var(--linea); }
.paso__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px; font: 700 24px/1 var(--serif); color: #1A1406; background: var(--oro-degradado); box-shadow: 0 8px 24px rgba(229, 197, 126, .25); }
.paso p { margin: 8px 0 0; color: var(--texto-suave); }
.paso p b { color: var(--texto); }
@media (min-width: 820px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 20px; } .paso { padding: 30px 26px; } }

/* ---------- Envíos y pagos ---------- */
.tarjetas-info { display: grid; gap: 16px; }
.info { padding: 28px 24px; border-radius: var(--radio); border: 1px solid var(--linea); background: var(--noche-2); }
.info__ico { width: 40px; height: 40px; color: var(--oro); margin-bottom: 12px; }
.info h3 { font-size: 21px; margin-bottom: 14px; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--champan); }
.lista-check li .ico { color: var(--oro); margin-top: 3px; }
.lista-check li b { color: var(--texto); }
.info__nota { margin: 16px 0 0; font-size: 14px; color: var(--texto-suave); padding-top: 14px; border-top: 1px solid var(--linea); }
@media (min-width: 820px) { .tarjetas-info { grid-template-columns: 1fr 1fr; gap: 22px; } .info { padding: 34px 32px; } }

/* ---------- Nosotros ---------- */
.nosotros { display: grid; gap: 18px; align-items: center; }
.nosotros__emblema { width: min(78vw, 380px); margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.nosotros__texto p { color: var(--champan); max-width: 34em; }
.nosotros__texto p b { color: var(--oro-vivo); }
.nosotros__texto h2 { margin-bottom: 12px; }
@media (min-width: 900px) { .nosotros { grid-template-columns: .9fr 1.1fr; gap: 50px; } .nosotros__emblema { width: 100%; max-width: 440px; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--linea); background: var(--noche-2); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--linea-fuerte); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 24px; font-weight: 400; color: var(--oro); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 18px; color: var(--champan); }

/* ---------- Llamada final ---------- */
.cta-final { padding: 30px 0 80px; }
.cta-final__caja { text-align: center; padding: 46px 22px; border-radius: 28px; border: 1px solid var(--linea-fuerte); background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(19, 59, 120, .6), transparent 70%), var(--noche-2); }
.cta-final h2 { margin: 6px 0 24px; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--linea); padding: 42px 0 96px; background: #080B14; }
.pie__grid { display: grid; gap: 26px; justify-items: center; text-align: center; }
.pie__marca { display: flex; flex-direction: column; align-items: center; }
.pie__marca .marca__nombre { font-size: 26px; }
.pie__marca .marca__store { font-size: 12px; margin-top: 7px; }
.pie__marca .eslogan { margin-top: 10px; }
.pie__enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.pie__enlaces a { color: var(--texto-suave); text-decoration: none; font-size: 15px; }
.pie__enlaces a:hover { color: var(--oro); }
.pie__redes { display: flex; gap: 12px; }
.pie__redes a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--oro); box-shadow: inset 0 0 0 1px var(--linea-fuerte); transition: background .2s; }
.pie__redes a:hover { background: rgba(229, 197, 126, .1); }
.pie__legal { margin-top: 26px; text-align: center; color: #6F6B63; font-size: 13px; }
@media (min-width: 900px) { .pie__grid { grid-template-columns: 1fr auto 1fr; text-align: left; justify-items: stretch; align-items: center; } .pie__marca { align-items: flex-start; } .pie__redes { justify-content: flex-end; } }

/* ---------- Flotantes ---------- */
.flotante-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-wa); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s; }
.flotante-wa .ico { width: 32px; height: 32px; }
.flotante-wa:hover { transform: scale(1.06); }
.flotante-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: pulso 2.4s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .flotante-wa::before { animation: none; } }
.flotante-pedido { position: fixed; left: 16px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 45; height: 48px; padding: 0 18px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--oro-degradado); color: #1A1406; font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); cursor: pointer; }
.flotante-pedido span { background: #1A1406; color: var(--oro-vivo); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; padding: 0 6px; }
@media (min-width: 900px) { .flotante-pedido { display: none !important; } }

/* ---------- Ventanas (ficha y pedido) ---------- */
dialog { color: var(--texto); padding: 0; border: 0; }
dialog::backdrop { background: rgba(3, 5, 10, .72); backdrop-filter: blur(4px); }
.cerrar { position: absolute; top: 12px; right: 12px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(11, 15, 26, .82); color: var(--champan); box-shadow: inset 0 0 0 1px var(--linea); cursor: pointer; }
.cerrar:hover { color: var(--oro); }
.cerrar--estatico { position: static; }
.ficha { width: min(1040px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto auto 0; border-radius: 26px 26px 0 0; background: var(--noche-2); box-shadow: var(--sombra); overflow: hidden; }
.ficha[open] { animation: subir .3s ease; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }
.ficha__cuerpo { display: grid; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
.ficha__galeria { position: relative; background: #0A0E18; }
.ficha__galeria .galeria { aspect-ratio: 4 / 5; max-height: 62dvh; margin: 0 auto; }
.ficha__galeria .carril img { cursor: default; }
.miniaturas { display: flex; gap: 8px; padding: 10px 14px 14px; overflow-x: auto; scrollbar-width: none; }
.miniaturas button { flex: none; width: 58px; height: 72px; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; opacity: .55; box-shadow: inset 0 0 0 1px var(--linea); transition: opacity .2s; }
.miniaturas button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--oro); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.ficha__info { padding: 22px 20px 30px; display: flex; flex-direction: column; gap: 12px; }
.ficha__info h2 { font: 800 clamp(24px, 4.6vw, 32px)/1.15 var(--sans); background: none; color: var(--texto); }
.ficha__detalle { margin: 0; color: var(--oro); font-weight: 600; }
.ficha__desc { margin: 0; color: var(--champan); }
.ficha__info .lista-check { gap: 8px; }
.ficha__info .lista-check li { font-size: 15px; }
.selector { border: 0; margin: 4px 0 0; padding: 0; }
.selector legend { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.selector__opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 999px; cursor: pointer; font-size: 14.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--linea-fuerte); color: var(--champan); transition: all .15s; }
.opcion input:checked + span { background: var(--oro-degradado); color: #1A1406; box-shadow: none; }
.opcion input:focus-visible + span { outline: 2px solid var(--oro-vivo); outline-offset: 2px; }
.opcion--agotada span { color: #7A766D; text-decoration: line-through; text-decoration-color: rgba(240, 106, 94, .7); }
.opcion--agotada input:checked + span { background: #3A3F4C; color: #E9E4D8; text-decoration: none; }
.cantidad { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea-fuerte); padding: 3px; }
.cantidad button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--oro); cursor: pointer; display: grid; place-items: center; }
.cantidad button:hover { background: rgba(229, 197, 126, .1); }
.cantidad output { min-width: 28px; text-align: center; font-weight: 800; }
.ficha__acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.ficha__acciones .boton { flex: 1 1 200px; }
.ficha__aviso { margin: 0; font-size: 14px; color: var(--texto-suave); }
.compartir { background: transparent; border: 0; color: var(--texto-suave); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-size: 14px; padding: 6px 0; }
.compartir:hover { color: var(--oro); }
@media (min-width: 860px) {
  .ficha { margin: auto; border-radius: 26px; max-height: min(92dvh, 860px); }
  .ficha__cuerpo { grid-template-columns: 1.02fr 1fr; max-height: min(92dvh, 860px); overflow: hidden; }
  .ficha__galeria { display: flex; flex-direction: column; justify-content: center; }
  .ficha__galeria .galeria { max-height: none; width: 100%; }
  .ficha__info { padding: 44px 36px 34px; overflow-y: auto; }
}

/* Mi pedido: cajón lateral */
.pedido { width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; background: var(--noche-2); border-left: 1px solid var(--linea); display: none; flex-direction: column; }
.pedido[open] { display: flex; animation: entrar .28s ease; }
@keyframes entrar { from { transform: translateX(40px); opacity: 0; } }
.pedido__cabeza { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--linea); }
.pedido__cabeza h2 { font-size: 26px; }
.pedido__lista { flex: 1; overflow-y: auto; padding: 8px 18px; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(229, 197, 126, .08); }
.item img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.item b { display: block; font-size: 15px; line-height: 1.3; }
.item small { color: var(--texto-suave); font-size: 13px; }
.item__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.item__ctrl .cantidad button { width: 32px; height: 32px; }
.quitar { border: 0; background: transparent; color: var(--texto-suave); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; }
.quitar:hover { color: var(--rojo); }
.pedido__vacio { text-align: center; padding: 40px 10px; color: var(--texto-suave); }
.pedido__vacio .ico { width: 46px; height: 46px; color: var(--oro); margin-bottom: 10px; }
.pedido__pie { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); display: grid; gap: 14px; background: var(--noche); }
.entrega { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.pedido__pie > * { min-width: 0; }
.campos label { min-width: 0; }
.campos input { width: 100%; min-width: 0; }
.entrega legend { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.entrega label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--champan); cursor: pointer; }
.entrega input { accent-color: var(--oro); width: 18px; height: 18px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campos label { display: grid; gap: 4px; font-size: 13px; color: var(--texto-suave); }
.campos input { height: 42px; border-radius: 12px; border: 0; padding: 0 12px; background: var(--noche-2); box-shadow: inset 0 0 0 1px var(--linea); font-size: 16px; }
.campos input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--oro); }
.pedido__nota { margin: 0; text-align: center; font-size: 13px; color: var(--texto-suave); }

html:has(dialog[open]) { overflow: hidden; }
dialog.sin-dialogo { position: fixed; inset: 0; z-index: 80; display: block; }
.pedido.sin-dialogo { display: flex; left: auto; }
.precio s { opacity: .6; font-weight: 500; margin-left: 4px; }

/* ---------- Aviso emergente ---------- */
.aviso { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); translate: -50% 20px; z-index: 60; max-width: min(92vw, 420px); padding: 13px 18px; border-radius: 14px; background: #1B2338; color: var(--texto); box-shadow: var(--sombra), inset 0 0 0 1px var(--linea-fuerte); font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; text-align: center; }
.aviso.visible { opacity: 1; translate: -50% 0; }

/* ---------- Aparición al desplazarse ---------- */
.js [data-revelar] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-revelar].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-revelar] { opacity: 1; transform: none; transition: none; } }
