/* Mambo Kings — estilos del sitio. Paleta: negro profundo + dorado de la corona. */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --card: #171717;
  --line: #292929;
  --text: #f5f5f5;
  --muted: #a1a1a1;
  --gold: #e8b84b;
  --gold-2: #d49a10;
  --gold-light: #f7d27a;
  --wa: #25d366;
  --radius: 10px;
  --max: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip: el menú y el carrito esperan escondidos a la derecha; sin esto el celular ensancha la página
   para mostrarlos y todo se ve más pequeño. clip (no hidden) para que el encabezado siga fijo al bajar. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; transition: transform .15s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-2)); color: #111; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Pantalla de bienvenida (réplica de la del sitio anterior). Solo se ve si el script del <body> pone html.splash-on */
.splash { display: none; }
html.splash-on { overflow: hidden; }
html.splash-on .splash { display: flex; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; overflow: hidden; background: #050505; transition: opacity 1.1s ease-in-out .5s; }
.splash.leaving { opacity: 0; pointer-events: none; }
.splash-bg { position: absolute; inset: 0; transform: scale(1.12); animation: splash-zoom 5s ease-out forwards; }
.splash-bg img { width: 100%; height: 100%; object-fit: cover; }
.splash-bg::before, .splash-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.splash-bg::before { background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(0,0,0,.35) 0%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.92) 100%); }
.splash-bg::after { background: radial-gradient(ellipse 55% 45% at 50% 48%, rgba(232,184,75,.08) 0%, transparent 65%); }
@keyframes splash-zoom { to { transform: scale(1); } }

.splash-curtain { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 10; background: #050505; animation: splash-open 1s cubic-bezier(.76,0,.24,1) .6s forwards; }
.splash-curtain-l { left: 0; transform-origin: left center; }
.splash-curtain-r { right: 0; transform-origin: right center; }
@keyframes splash-open { to { transform: scaleX(0); } }
.splash-close { position: absolute; left: 0; right: 0; height: 51%; z-index: 30; background: #050505; transform: scaleY(0); transition: transform .55s cubic-bezier(.76,0,.24,1); }
.splash-close-t { top: 0; transform-origin: top center; }
.splash-close-b { bottom: 0; transform-origin: bottom center; }
.splash.closing .splash-close { transform: scaleY(1); }

.splash-content { position: relative; z-index: 20; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; width: 100%; user-select: none; }
.splash-logo { height: clamp(110px, 22vw, 430px); width: auto; max-width: 88vw; object-fit: contain; filter: drop-shadow(0 0 60px rgba(232,184,75,.65)) drop-shadow(0 0 20px rgba(232,184,75,.4)) drop-shadow(0 2px 8px rgba(0,0,0,.8)); opacity: 0; transform: translateY(24px) scale(.8); animation: splash-logo 1.1s cubic-bezier(.22,1,.36,1) .65s forwards; }
@keyframes splash-logo { to { opacity: 1; transform: none; } }
.splash-line { display: block; width: 160px; height: 1px; margin-bottom: 32px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0; transform: scaleX(0); animation: splash-line 1.2s ease-in-out 1.5s forwards; }
.splash-line-b { margin: 32px 0 40px; animation-delay: 1.6s; }
@keyframes splash-line { to { opacity: 1; transform: scaleX(1); } }
.splash-tagline { margin: 20px 0 0; font-size: .68rem; font-weight: 300; text-transform: uppercase; letter-spacing: .42em; color: rgba(232,184,75,.75); opacity: 0; transform: translateY(10px); animation: splash-up .9s ease-out 1.7s forwards; }
@keyframes splash-up { to { opacity: 1; transform: none; } }

.splash-enter { position: relative; border: 0; padding: 0; background: none; border-radius: 99px; opacity: 0; transform: translateY(18px); animation: splash-up .8s ease-out 1.85s forwards; }
.splash-ping { position: absolute; inset: 0; border-radius: 99px; background: rgba(232,184,75,.14); animation: splash-ping 2.4s cubic-bezier(0,0,.2,1) infinite; pointer-events: none; }
@keyframes splash-ping { 75%, 100% { transform: scale(1.5); opacity: 0; } }
.splash-btn { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 56px; border-radius: 99px; border: 1px solid rgba(232,184,75,.7); color: var(--gold); background: rgba(232,184,75,.07); backdrop-filter: blur(12px); font-weight: 600; font-size: .875rem; text-transform: uppercase; letter-spacing: .28em; box-shadow: 0 0 32px rgba(232,184,75,.2), inset 0 0 20px rgba(232,184,75,.04); transition: transform .3s, background .3s; }
.splash-btn svg { transition: transform .3s; }
.splash-enter:hover .splash-btn { transform: scale(1.05); background: rgba(232,184,75,.14); }
.splash-enter:hover .splash-btn svg { transform: translateX(6px); }
.splash-enter:active .splash-btn { transform: scale(.95); }
.splash-enter:focus { outline: none; }
.splash-enter:focus-visible .splash-btn { outline: 2px solid var(--gold); outline-offset: 4px; }

.splash-foot { position: absolute; bottom: 28px; z-index: 20; margin: 0; font-size: .58rem; text-transform: uppercase; letter-spacing: .35em; color: rgba(232,184,75,.25); opacity: 0; animation: splash-fade 1.4s ease 2.1s forwards; }
@keyframes splash-fade { to { opacity: 1; } }
.splash-corner { position: absolute; z-index: 20; width: 36px; height: 36px; border: 0 solid rgba(232,184,75,.3); pointer-events: none; opacity: 0; animation: splash-fade 1.4s ease 1.5s forwards; }
.splash-corner.tl { top: 20px; left: 20px; border-top-width: 1px; border-left-width: 1px; }
.splash-corner.tr { top: 20px; right: 20px; border-top-width: 1px; border-right-width: 1px; }
.splash-corner.bl { bottom: 20px; left: 20px; border-bottom-width: 1px; border-left-width: 1px; }
.splash-corner.br { bottom: 20px; right: 20px; border-bottom-width: 1px; border-right-width: 1px; }
@media (prefers-reduced-motion: reduce) {
  .splash-bg, .splash-curtain, .splash-logo, .splash-line, .splash-tagline, .splash-enter, .splash-foot, .splash-corner { animation-duration: .01s !important; animation-delay: 0s !important; }
  .splash-ping { animation: none; }
}

/* Barra superior y promoción */
.topbar { background: linear-gradient(90deg, var(--gold-2), var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, var(--gold-2)); color: #111; text-align: center; font-size: .8rem; font-weight: 700; padding: .55em 1em; letter-spacing: .01em; }
.promo { background: linear-gradient(90deg, #1a1405, #2a1f06, #1a1405); color: var(--text); font-size: .88rem; }
.promo .container { display: flex; align-items: center; justify-content: center; gap: .8em; padding-top: .55em; padding-bottom: .55em; flex-wrap: wrap; text-align: center; }
.promo strong { color: var(--gold); }
.promo a { background: var(--gold); color: #111; padding: .25em .9em; border-radius: 99px; font-weight: 700; font-size: .8rem; }
.promo-close { background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; padding: 0 .3em; }
.promo[hidden] { display: none; }

/* Encabezado */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }
.logo small { display: none; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: .92rem; font-weight: 500; color: #ddd; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); color: var(--text); }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: #111; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[data-zero="true"] { display: none; }
.menu-btn { display: none; }

/* Héroe */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, rgba(10,10,10,.55) 50%, rgba(0,0,0,.1) 75%, rgba(0,0,0,0) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
@media (min-width: 961px) { .hero-bg { left: auto; width: 64%; object-position: 15% 25%; } }
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 80px; }
.hero-content { max-width: 560px; }
.eyebrow { display: inline-block; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
.hero h1 .gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.12rem; color: #d4d4d4; max-width: 480px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Franja de confianza */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(232,184,75,.1); color: var(--gold); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }

/* Secciones */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--muted); }

/* Colección */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter { background: #1a1a1a; border: 1px solid var(--line); color: #a1a1a1; padding: .55em 1.2em; border-radius: 99px; font-size: .88rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: rgba(232,184,75,.6); color: var(--gold); }
.filter.active { background: var(--gold); border-color: var(--gold); color: #111; box-shadow: 0 6px 18px rgba(232,184,75,.25); }

/* Tarjetas de producto: foto cuadrada grande, insignia dorada, botón píldora con brillo dorado.
   Al pasar el mouse la tarjeta se eleva, la foto se acerca y aparece "Ver detalles". */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.product:hover { transform: translateY(-6px); border-color: rgba(232,184,75,.5); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(232,184,75,.15), 0 10px 40px -10px rgba(232,184,75,.25); }
.product-media { position: relative; aspect-ratio: 1; background: #e8e9eb; overflow: hidden; cursor: pointer; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.product:hover .product-media img { transform: scale(1.06); }
/* brillo diagonal que cruza la foto al pasar el mouse */
.product-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s ease; pointer-events: none; }
.product:hover .product-media::after { transform: translateX(120%); }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; z-index: 1; }
.badge { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #111; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .45em 1em; border-radius: 99px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.badge-off { background: #111; color: var(--gold); border: 1px solid rgba(232,184,75,.6); margin-left: auto; }
.badge-low { position: absolute; left: 12px; bottom: 12px; background: rgba(17,17,17,.85); color: #ffd27a; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: .4em .85em; border-radius: 99px; backdrop-filter: blur(4px); }
.product-view { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px; border: 0; border-radius: 10px; background: rgba(12,12,14,.82); backdrop-filter: blur(6px); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; z-index: 1; }
.product:hover .product-view, .product-view:focus-visible { opacity: 1; transform: none; }
.product:hover .badge-low { opacity: 0; }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-cat { color: var(--gold); font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.product-name { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 2px 0 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 10px; }
.price strong { color: var(--gold); font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.price del { color: #7a7a7a; font-size: .9rem; }
.card-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.card-sizes span { min-width: 30px; text-align: center; font-size: .7rem; font-weight: 700; color: #bdbdbd; border: 1px solid #333; border-radius: 6px; padding: 3px 6px; }
.card-sizes span.out { color: #555; text-decoration: line-through; border-color: #262626; }
.product .btn { margin-top: auto; }
.product[hidden] { display: none; }
/* Botón píldora dorado (tarjetas y ventana de producto) */
.btn-pill { border-radius: 99px; padding: 14px 18px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #111; box-shadow: 0 10px 26px rgba(232,184,75,.28); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(232,184,75,.42); filter: brightness(1.05); }
.btn-pill:active { transform: scale(.98); }
.btn-pill:disabled { background: #2a2a2a; color: #777; box-shadow: none; transform: none; cursor: not-allowed; }
/* Aparición escalonada al bajar (main.js agrega .reveal solo si hay JavaScript) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s; }
.reveal.in:hover { transition-delay: 0s; }
@media (hover: none) { .product-view { display: none; } .product:hover { transform: none; } }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; position: relative; }
.step-num { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.step-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(232,184,75,.1); color: var(--gold); display: grid; place-items: center; margin: 14px 0 18px; }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* Edición limitada */
.limited { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.limited-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(232,184,75,.35); box-shadow: 0 30px 80px -30px rgba(232,184,75,.35); }
.limited-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.limited-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); }
.limited-card figcaption strong { display: block; color: var(--gold); letter-spacing: .15em; font-size: .85rem; }
.limited h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.limited p { color: #ccc; font-size: 1.08rem; }

/* Reseñas */
.rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; color: var(--muted); }
.rating strong { color: var(--text); font-size: 1.4rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 10px 0 18px; color: #ddd; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-2)); color: #111; font-weight: 700; display: grid; place-items: center; }
.review figcaption span { display: block; color: var(--muted); font-size: .82rem; }

/* Historia */
.story { position: relative; overflow: hidden; }
.story-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(10,10,10,.6) 50%, var(--bg)); z-index: 1; }
.story .container { position: relative; z-index: 2; text-align: center; max-width: 820px; }
/* Anton tiene un solo grosor: con font-weight alto el navegador la engruesa a la fuerza y se ve empastada */
.story h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; line-height: 1.02; letter-spacing: .01em; margin: 10px 0 0; }
.story h2::after { content: ""; display: block; width: 64px; height: 2px; margin: 26px auto 24px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.story p { color: #d9d9d9; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; max-width: 640px; margin: 0 auto 30px; font-weight: 400; letter-spacing: .005em; }
.story p strong { color: var(--gold-light); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.stat { border: 1px solid rgba(232,184,75,.3); background: rgba(0,0,0,.5); border-radius: 14px; padding: 22px 10px; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Preguntas frecuentes */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: rgba(232,184,75,.4); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.contact-list .trust-icon { width: 42px; height: 42px; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a:hover { color: var(--gold); }
.contact-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.perk { border: 1px dashed rgba(232,184,75,.4); border-radius: 12px; padding: 16px 18px; }
.perk strong { display: block; color: var(--gold); }
.perk span { color: var(--muted); font-size: .88rem; }
.order-card { background: radial-gradient(circle at 30% 0%, rgba(232,184,75,.18), transparent 60%), var(--card); border: 1px solid rgba(232,184,75,.4); border-radius: 18px; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.order-card h3 { font-size: 1.9rem; font-weight: 800; }
.order-card p { color: #ccc; }
.map-links { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.map-links a { font-size: .85rem; border: 1px solid var(--line); border-radius: 99px; padding: .4em 1em; color: #ccc; }
.map-links a:hover { border-color: var(--gold); color: var(--gold); }

/* Pie de página */
.footer { border-top: 1px solid var(--line); background: #070707; padding: 64px 0 0; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer img { height: 56px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--text); font-size: .95rem; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 0; text-align: center; font-size: .82rem; }
.footer-bottom a { color: var(--gold); }

/* Botones flotantes */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.floating a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .15s; }
.floating a:hover { transform: scale(1.08); }
.floating svg { width: 26px; height: 26px; }
.f-wa { background: var(--wa); }
.f-ig { background: linear-gradient(135deg, #f09433, #dc2743 50%, #bc1888); }
.f-call { background: var(--gold); color: #111 !important; }

/* Panel del carrito y ventana de producto */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); z-index: 90; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 10px; }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; }
.total span:last-child { color: var(--gold); }
.ship-note { color: var(--muted); font-size: .82rem; margin: 0; }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: #e8e9eb; }
.cart-item h4 { margin: 0; font-size: .95rem; }
.cart-item small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
.qty button { background: none; border: 0; color: var(--text); width: 30px; height: 30px; }
.qty span { min-width: 24px; text-align: center; font-size: .9rem; }
.cart-item .remove { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; }
.cart-item .line-price { color: var(--gold); font-weight: 600; text-align: right; display: block; margin-bottom: 6px; }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal-box { pointer-events: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; width: min(880px, 100%); max-height: 92vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; opacity: 0; transform: scale(.96); transition: .25s; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal:not(.open) .modal-box { pointer-events: none; }
.modal-box > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; background: #e8e9eb; }
.modal-info { padding: 34px 30px; display: flex; flex-direction: column; }
.modal-info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; margin: 6px 0 10px; }
.modal-info .price strong { font-size: 1.7rem; }
.modal-info p { color: #ccc; }
.modal-box > img { transition: transform .6s; }
.muted-inline { text-transform: none; letter-spacing: 0; color: #777; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .btn-pill { flex: 1; }
.qty-pick { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 0 4px; }
.qty-pick button { width: 36px; height: 44px; background: none; border: 0; color: var(--text); font-size: 1.1rem; }
.qty-pick span { min-width: 22px; text-align: center; font-weight: 700; }
.size { min-height: 46px; border-radius: 10px; }
.size.active { box-shadow: 0 6px 16px rgba(232,184,75,.3); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,.6); }
.sizes-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.size { min-width: 48px; padding: .55em .8em; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); font-weight: 600; }
.size:hover { border-color: var(--gold); }
.size.active { background: var(--gold); border-color: var(--gold); color: #111; }
.size-hint { color: #f08a8a; font-size: .85rem; min-height: 1.3em; margin: -8px 0 10px; }
.modal-actions { display: grid; gap: 10px; margin-top: auto; }
.sku { color: #666; font-size: .78rem; margin-top: 14px; }

/* Aviso flotante: escondido del todo cuando no se usa (con textos largos de 2 líneas antes asomaba por abajo) */
.toast { pointer-events: none; position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; visibility: hidden; background: var(--gold); color: #111; font-weight: 600; padding: .75em 1.3em; border-radius: 18px; z-index: 100; transition: transform .25s, opacity .25s, visibility 0s .25s; box-shadow: 0 10px 30px rgba(0,0,0,.5); width: max-content; max-width: calc(100vw - 32px); text-align: center; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .25s, opacity .25s; }

/* Carrito: código, totales y formulario de pedido */
.drawer-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-view[hidden] { display: none; }
.drawer-head h3 { flex: 1; margin: 0 10px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn { padding: .6em 1em; }
.code-msg { margin: 0; font-size: .82rem; min-height: 1.1em; color: var(--muted); }
.code-msg.ok { color: #7bd88f; }
.code-msg.bad { color: #f08a8a; }
.totals { display: grid; gap: 4px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; color: #ccc; }
.totals .disc { color: #7bd88f; }
.totals .grand { font-size: 1.15rem; font-weight: 700; color: var(--text); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.totals .grand span:last-child { color: var(--gold); }
.totals .note { color: var(--muted); font-size: .8rem; }
input, select, textarea { font: inherit; color: var(--text); background: #0d0d0d; border: 1px solid var(--line); border-radius: 8px; padding: .7em .85em; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.checkout legend { font-weight: 700; margin-bottom: 12px; color: var(--gold); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.checkout label { display: grid; gap: 6px; font-size: .88rem; color: #ccc; }
.checkout label small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; }
.pay-opt { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--gold); background: rgba(232,184,75,.06); }
.pay-opt input { width: auto; margin-top: 4px; accent-color: var(--gold); }
.pay-opt span { display: grid; gap: 2px; }
.pay-opt strong { color: var(--text); }
.pay-opt[hidden] { display: none !important; }
.form-error { color: #f08a8a; font-size: .88rem; min-height: 1.2em; margin: 10px 0 0; }
.ship-note a { color: var(--gold); }
.sold-out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.size small { display: block; font-size: .65rem; font-weight: 500; color: inherit; opacity: .8; }

/* Estado del pedido */
.order-page { max-width: 720px; margin: 0 auto; padding: 56px 20px 90px; }
.order-card2 { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-bottom: 20px; }
.order-card2 h2 { font-size: 1.3rem; margin-bottom: 14px; }
.status-pill { display: inline-block; padding: .3em .9em; border-radius: 99px; font-size: .8rem; font-weight: 700; background: rgba(232,184,75,.15); color: var(--gold); }
.status-pill.ok { background: rgba(37,211,102,.15); color: #6fe39a; }
.status-pill.bad { background: rgba(240,138,138,.15); color: #f08a8a; }
.breb-box { border: 1px dashed var(--gold); border-radius: 14px; padding: 20px; text-align: center; margin: 16px 0; }
.breb-key { font-size: 1.9rem; font-weight: 800; color: var(--gold); letter-spacing: .02em; word-break: break-all; }
.breb-amount { font-size: 1.4rem; font-weight: 700; }
.copy { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: .3em .9em; font-size: .8rem; margin-left: 6px; }
.steps-list { padding-left: 1.2em; color: #ccc; }
.steps-list li { margin-bottom: 6px; }
.upload { display: grid; gap: 10px; margin-top: 16px; }
/* Selector de archivo propio (el nativo sale cortado en celular: «Seleccionar archivo Ningú…nado») */
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-pick { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border: 1.5px dashed var(--gold); border-radius: 14px; color: var(--gold-light); font-weight: 600; cursor: pointer; overflow-wrap: anywhere; }
.file-pick svg { width: 22px; height: 22px; flex: none; }
.file-input:focus-visible + .file-pick { outline: 2px solid var(--gold); outline-offset: 2px; }
.file-pick.has-file { border-style: solid; background: rgba(232,184,75,.08); color: var(--text); }
/* La página del pedido ya tiene su botón de WhatsApp: el flotante tapaba las instrucciones de pago */
body:has([data-order-root]) .floating { display: none; }
.order-lines { list-style: none; padding: 0; margin: 0 0 14px; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: #ddd; }

/* Páginas internas */
.page-hero { padding: 90px 0 60px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(232,184,75,.14), transparent 60%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.page-body { max-width: 820px; margin: 0 auto; padding: 64px 20px 90px; }
.page-body h2 { font-size: 1.35rem; color: var(--gold); margin-top: 36px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li { color: #d4d4d4; }
.updated { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 10px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.value h3 { color: var(--gold); font-size: 1.1rem; }
.value p { margin: 0; color: var(--muted); }
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.care .value ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.care .value li { margin-bottom: 6px; color: var(--muted); }
.cta-band { text-align: center; background: var(--card); border: 1px solid rgba(232,184,75,.35); border-radius: 18px; padding: 40px 24px; margin-top: 48px; }
.cta-band h2 { color: var(--text); margin-top: 0; }

/* Adaptable */
@media (max-width: 960px) {
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 85%); background: var(--bg-2); border-left: 1px solid var(--line); flex-direction: column; padding: 90px 28px; gap: 22px; transform: translateX(100%); transition: transform .3s; z-index: 70; }
  .nav.open { transform: none; }
  .nav a { font-size: 1.1rem; }
  .menu-btn { display: grid; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .products, .reviews { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .limited, .contact { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .container { padding: 0 16px; }
  .logo img { height: 38px; }
  .hero { min-height: 78vh; }
  .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.65)), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
  .hero-ctas .btn { flex: 1; }
  .trust .container { grid-template-columns: 1fr; padding: 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .product-view { display: none; }
  .reviews, .values, .care, .contact-perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-info { padding: 24px 20px; }
  .floating a { width: 52px; height: 52px; }
  .floating .f-ig, .floating .f-call { display: none; }
}
/* Celular: una tarjeta grande por fila, como una vitrina (en 2 columnas la foto y el precio quedaban apretados) */
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; gap: 20px; }
  .product-body { padding: 18px 18px 20px; }
  .modal { padding: 0; place-items: end center; }
  .modal-box { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .modal-box > img { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
