/* Antojo de Amor · catálogo (base visual: rifa kevinci.site, paleta del logo) */
:root {
  --ink: #4a2318;
  --ink-2: #7a4f42;
  --ink-3: #a98a80;
  --bg: #fff4f7;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(226, 79, 129, 0.2);
  --pink: #e8497f;
  --pink-2: #ff8fb4;
  --pink-soft: #ffe3ec;
  --choco: #5a2a1c;
  --grad: linear-gradient(100deg, #ff7aa6 0%, #e23f78 55%, #b8325f 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 122, 166, 0.16), rgba(226, 63, 120, 0.12));
  --shadow-lg: 0 34px 70px -34px rgba(170, 52, 96, 0.5);
  --shadow-md: 0 16px 38px -22px rgba(170, 52, 96, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(170, 52, 96, 0.4);
  --r-lg: 22px;
  --r-md: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Pacifico", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }

/* Fondo con orbes */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #fff6f2 0%, #ffeef4 55%, #fff7ef 100%); }
.bg-orbs::before, .bg-orbs::after, .bg-orbs i { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.85; }
.bg-orbs::before { width: 62vmax; height: 62vmax; left: -22vmax; top: -18vmax; background: radial-gradient(circle at 40% 40%, #ffc9dc, rgba(255, 201, 220, 0) 68%); }
.bg-orbs::after { width: 56vmax; height: 56vmax; right: -20vmax; top: 6vmax; background: radial-gradient(circle at 50% 50%, #ffe0c4, rgba(255, 224, 196, 0) 68%); }
.bg-orbs i { width: 60vmax; height: 60vmax; left: 10vmax; bottom: -30vmax; background: radial-gradient(circle at 50% 50%, #ffd3e6, rgba(255, 211, 230, 0) 68%); }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid rgba(226, 63, 120, 0.5); outline-offset: 2px; border-radius: 10px; }

/* Vidrio */
.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border-radius: var(--r-lg);
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 15px/1.1 var(--font); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: #fff; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.99); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(226, 63, 120, 0.8); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-wa { color: #fff; background: linear-gradient(135deg, #2fd57b, #12a35a); box-shadow: 0 14px 30px -14px rgba(18, 163, 90, 0.8); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* Página */
.page { width: 100%; max-width: 640px; margin: 0 auto; padding: 22px 16px 120px; }

/* Portada */
.hero { text-align: center; padding: 4px 0; }
.brand { width: 180px; height: auto; margin: 0 auto 10px; border-radius: 50%; filter: drop-shadow(0 18px 26px rgba(170, 52, 96, 0.3)); }
.eyebrow { display: flex; justify-content: center; margin-bottom: 10px; }
.eyebrow span { padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); }
.hero h1 { font-size: clamp(34px, 10vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; color: var(--choco); }
.hero h1 .script { font-family: var(--script); font-weight: 400; font-size: 1.45em; letter-spacing: 0; line-height: 1.2; padding: 0 0.12em; }
.hero .sub { margin-top: 8px; font-size: clamp(16px, 4.4vw, 20px); font-weight: 700; color: var(--ink-2); }
.product { max-width: 480px; margin: 22px auto 22px; padding: 10px; border-radius: 30px; }
.product img { width: 100%; height: auto; border-radius: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-cta .btn { flex: 1 1 230px; max-width: 360px; }

/* Datos */
.facts { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; margin-top: 22px; padding: 14px 6px; }
.fact { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 4px 6px; font-size: 13.5px; }
.fact strong { font-weight: 800; line-height: 1.2; }
.fact small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.fact-mid { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.fact-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--pink); }
.fact-ico svg { width: 21px; height: 21px; }

/* Sabores */
.flavors { margin-top: 38px; }
.flavors > h2, .gallery > h2 { text-align: center; font-size: clamp(26px, 7vw, 34px); font-weight: 800; color: var(--choco); }
.hint { margin-top: 6px; text-align: center; font-size: 14.5px; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.card { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.card-img { position: relative; aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; top: 10px; left: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--pink); font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; box-shadow: var(--shadow-sm); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 14px; }
.card h3 { font-size: 17px; font-weight: 800; color: var(--choco); }
.card p { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); flex: 1; }
.qty { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 5px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.qty-btn { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--pink-soft); color: var(--pink); font: 800 22px/1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 0.12s ease; }
.qty-btn[data-step="1"] { background: var(--grad); color: #fff; }
.qty-btn:active { transform: scale(0.92); }
.qty-val { font-size: 18px; font-weight: 800; min-width: 2ch; text-align: center; }
.card.is-on { box-shadow: 0 0 0 2.5px var(--pink), var(--shadow-md); }

/* Caja de mini pavés */
.box { position: relative; margin-top: 46px; padding: 34px 22px 24px; text-align: center; border-radius: 30px; }
.box-tag { position: absolute; top: -17px; left: 50%; transform: translateX(-50%) rotate(-2deg); padding: 8px 24px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; white-space: nowrap; box-shadow: 0 10px 22px -10px rgba(226, 63, 120, 0.9); }
.box h2 { font-size: clamp(26px, 7.4vw, 36px); font-weight: 800; color: var(--choco); }
.box-sub { margin-top: 8px; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 22px; padding: 0; }
.checks li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.checks li::before { content: "✓"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }

/* Cómo pedir */
.how { margin-top: 26px; padding: 24px 20px; }
.how h2 { font-size: 22px; font-weight: 800; color: var(--choco); }
.how ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.how li { display: flex; gap: 14px; align-items: flex-start; }
.step-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }
.how strong { display: block; font-size: 15.5px; }
.how p { margin-top: 2px; font-size: 14px; color: var(--ink-2); }

/* Galería */
.gallery { margin-top: 38px; }
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.gallery-row img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-sm); border: 3px solid #fff; }

/* Contacto */
.about { margin-top: 30px; padding: 24px 20px; }
.about-head { display: flex; align-items: center; gap: 14px; }
.about-avatar { width: 72px; height: 72px; border-radius: 50%; box-shadow: var(--shadow-sm); flex: none; }
.about-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.about h2 { font-size: 24px; font-weight: 800; color: var(--choco); }
.about-tag { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.about-slogan { margin: 16px 0 18px; font-family: var(--script); font-size: clamp(22px, 6vw, 28px); line-height: 1.35; color: var(--choco); }

/* Publicidad kevinci.site */
.promo { position: relative; margin-top: 40px; padding: 2.5px; border-radius: 34px; background: linear-gradient(115deg, #ff6fa5, #ffd35a, #4fd1ff, #a56bff, #ff6fa5); background-size: 320% 320%; animation: promo-flow 9s linear infinite; box-shadow: 0 34px 60px -30px rgba(70, 50, 170, 0.75); }
.promo-in { position: relative; overflow: hidden; padding: 30px 22px 26px; border-radius: 32px; text-align: center; color: #fff; background: radial-gradient(120% 100% at 0% 0%, #2d2278 0%, #151046 55%, #0b0a2e 100%); }
.promo-in::before, .promo-in::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.promo-in::before { width: 260px; height: 260px; right: -90px; top: -90px; background: rgba(255, 111, 165, 0.45); }
.promo-in::after { width: 240px; height: 240px; left: -90px; bottom: -110px; background: rgba(79, 139, 255, 0.45); }
.promo-in > * { position: relative; z-index: 1; }
.promo-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; }
.promo-badge svg { width: 15px; height: 15px; color: #ffd35a; }
.promo-kicker { margin-top: 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.promo h2 { margin: 8px auto 0; max-width: 460px; font-size: clamp(26px, 7.4vw, 36px); font-weight: 800; line-height: 1.12; }
.promo-hl { background: linear-gradient(100deg, #ff8fb8, #ffd35a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.promo-text { max-width: 480px; margin: 14px auto 0; font-size: 14.5px; line-height: 1.55; font-weight: 500; color: rgba(255, 255, 255, 0.84); }
.promo-text strong { color: #fff; font-weight: 800; }
.promo-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 16px 0 0; padding: 0; }
.promo-tags li { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.92); }
.promo-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; width: 100%; max-width: 360px; padding: 17px 26px; border-radius: 999px; font: 800 16.5px/1 var(--font); text-decoration: none; color: #1a1250; background: linear-gradient(100deg, #ffd35a, #ff9ec4); box-shadow: 0 18px 36px -14px rgba(255, 160, 120, 0.85); transition: transform 0.15s ease, filter 0.15s ease; }
.promo-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.promo-btn svg { width: 20px; height: 20px; flex: none; }
.promo-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; transform: skewX(-20deg); background: rgba(255, 255, 255, 0.55); animation: promo-shine 3.6s ease-in-out infinite; }
.promo-url { margin-top: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
@keyframes promo-flow { 0% { background-position: 0% 50%; } 100% { background-position: 320% 50%; } }
@keyframes promo-shine { 0%, 55% { left: -80px; } 100% { left: 120%; } }

/* Pie */
.foot { margin-top: 34px; text-align: center; }
.foot-line { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.foot-phone { display: inline-block; margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; color: var(--pink); }
.foot-credit { margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.foot-credit a { color: var(--ink-2); font-weight: 700; }

/* Barra de pedido */
.selbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); animation: bar-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1); }
.selbar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.selbar-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.selbar-info strong { font-size: 16px; font-weight: 800; }
.selbar-info span { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes bar-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* WhatsApp flotante */
.wa-float { position: fixed; z-index: 40; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2fd57b, #12a35a); box-shadow: 0 14px 30px -10px rgba(18, 163, 90, 0.85); transition: transform 0.15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
body.has-order .wa-float { display: none; }

@media (min-width: 720px) {
  .page { padding-top: 36px; }
  .brand { width: 210px; }
  .grid { gap: 18px; }
  .card-body { padding: 16px 18px 18px; }
}
@media (max-width: 380px) {
  .grid { gap: 10px; }
  .card-body { padding: 12px 10px; }
  .card h3 { font-size: 15.5px; }
  .card p { font-size: 12.5px; }
  .qty-btn { width: 34px; height: 34px; }
  .facts { font-size: 12.5px; }
}
