/* ═══════════════ Kapella Shop · tienda ═══════════════
   Paleta del manual de marca. Mobile primero; escritorio se expande desde 720px. */
:root {
  --lila: #B887D8;
  --lavanda: #EAD5FA;
  --lila-claro: #F8EEFF;
  --violeta: #713A91;
  --ciruela: #4A2856;
  --blanco: #fff;
  --borde: #DEC6F1;
  --borde-fuerte: #CDA9E8;
  --ok: #2E8B57;
  --error: #B3261E;
  --sombra: 0 6px 22px rgba(113, 58, 145, .13);
  --sombra-s: 0 2px 10px rgba(113, 58, 145, .10);
  --r: 22px;
  --wrap: 1180px;
  --pad: clamp(14px, 4.2vw, 28px);
  --hh: 58px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --script: 'Kaushan Script', 'Segoe Script', cursive;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + 22px);
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ciruela);
  background: var(--lila-claro);
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button, a, [role="button"], summary { touch-action: manipulation; }
button, .btn, .chip, .iconbtn, .pkg { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, select, textarea { font: inherit; font-size: 16px; color: inherit; }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }

.ic { width: 24px; height: 24px; flex: none; }
.ic.inl { display: inline; width: .95em !important; height: .95em !important; vertical-align: -.12em; }
.mo { display: inline; }
.de { display: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--violeta); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }

/* ───────── Barra superior ───────── */
.topbar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 30;
  height: var(--hh); margin: calc(env(safe-area-inset-top, 0px) + 8px) 10px calc(var(--hh) * -1);
  margin-top: 8px;
  display: grid; grid-template-columns: 52px 1fr 52px; align-items: center;
  background: rgba(255, 255, 255, .96); border-radius: 20px; box-shadow: var(--sombra-s);
  padding-inline: 4px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.iconbtn {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--violeta);
  transition: transform .12s var(--ease), background-color .15s;
}
.iconbtn:active { transform: scale(.92); background: var(--lila-claro); }
.brand { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--violeta); min-width: 0; }
.brand .crown { width: 26px; height: 20px; margin-top: -8px; margin-right: -6px; }
.brand .heart { width: 16px; height: 16px; margin-top: 8px; }
.brand-name { font-family: var(--script); font-size: 1.55rem; line-height: 1; white-space: nowrap; }
.topnav { display: none; }
.cartbtn .badge {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  background: var(--violeta); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
  border: 2px solid #fff;
}
.cartbtn .badge.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }

.announce { margin: calc(var(--hh) + 14px) var(--pad) -4px; padding: 8px 14px; text-align: center; font-size: 13px; font-weight: 500; color: var(--violeta); background: var(--lavanda); border-radius: 14px; position: relative; z-index: 2; }
.announce:not([hidden]) + main .hero { padding-top: 24px; }

/* ───────── Portada ───────── */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--hh) + 20px); overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #F1E1FB 0%, #F8EEFF 100%); }
.blob { position: absolute; background: #fff; border-radius: 50%; opacity: .75; filter: blur(.5px); }
.blob.b1 { width: 380px; height: 300px; left: -140px; bottom: -80px; border-radius: 62% 38% 55% 45%; }
.blob.b2 { width: 360px; height: 240px; right: -120px; top: 28%; border-radius: 40% 60% 45% 55%; opacity: .6; }
.blob.b3 { width: 520px; height: 200px; left: 30%; bottom: -120px; border-radius: 50%; opacity: .9; }
.deco { position: absolute; color: var(--lila); }
.deco.sp { width: 20px; height: 20px; opacity: .85; }
.deco.s1 { left: 6%; top: 41%; width: 16px; height: 16px; } .deco.s2 { left: 36%; top: 17%; width: 26px; height: 26px; }
.deco.s3 { right: 7%; top: 20%; width: 14px; height: 14px; } .deco.s4 { left: 44%; bottom: 14%; width: 22px; height: 22px; }
.deco.ht { width: 34px; height: 34px; color: var(--lila); opacity: .8; }
.deco.h1 { left: 9%; top: 15%; width: 38px; height: 38px; transform: rotate(-12deg); }
.deco.h2 { left: 28%; bottom: 20%; width: 30px; height: 30px; transform: rotate(14deg); }
.deco.h3 { right: 3%; top: 10%; width: 40px; height: 40px; color: var(--violeta); opacity: .55; transform: rotate(10deg); }
.deco.gem-o { left: 3%; top: 25%; width: 62px; height: 62px; color: var(--lila); opacity: .75; stroke-width: 1; transform: rotate(-8deg); }

.hero-in { position: relative; width: min(100%, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: end; min-height: 372px; padding-inline: var(--pad) 0; }
.hero-copy { align-self: center; padding: 0 var(--pad) 26px 4px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--violeta); }
.hero-crown { width: 44px; height: 34px; margin-bottom: -6px; color: var(--violeta); }
.hero-logo { position: relative; display: flex; flex-direction: column; align-items: center; font-family: var(--script); font-weight: 400; line-height: .9; background: linear-gradient(120deg, #9C5FC4, #713A91 70%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline: .1em; }
.hero-logo .l1 { font-size: clamp(2.8rem, 13.6vw, 6.4rem); }
.hero-logo .l2 { font-size: clamp(2.6rem, 12.8vw, 5.8rem); margin: -.08em 0 0 .7em; }
.hero-logo .hero-heart { position: absolute; right: -8px; bottom: 30%; width: 26px; height: 26px; color: var(--violeta); -webkit-text-fill-color: initial; }
.hero-tag { margin: 10px 0 16px; font-weight: 500; font-size: clamp(.8rem, 3.65vw, 1.12rem); line-height: 1.4; color: var(--ciruela); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; transition: transform .12s var(--ease), box-shadow .2s, background-color .2s; white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.96); }
.btn-primary { background: linear-gradient(135deg, #A878CC, #8A52B2); color: #fff; box-shadow: 0 8px 18px rgba(113, 58, 145, .28); }
.btn-ghost { border: 1.8px solid var(--violeta); color: var(--violeta); background: rgba(255, 255, 255, .55); }
.btn-soft { background: var(--lavanda); color: var(--violeta); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ───────── Beneficios ───────── */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); background: #EBDCF8; border-radius: 20px; position: relative; z-index: 1; margin-top: -1px; }
.hero + .wrap { margin-top: -2px; }
.perks li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; text-align: center; color: var(--violeta); }
.perks li + li { border-left: 1.5px solid rgba(113, 58, 145, .25); }
.perks .ic { width: 30px; height: 30px; }
.perks strong { display: block; font-size: 12.5px; line-height: 1.25; font-weight: 600; color: var(--violeta); }
.perks small .ic { width: .95em; height: .95em; }
.perks small { display: none; font-size: 12px; color: #8E6BA3; line-height: 1.3; }

/* ───────── Secciones ───────── */
.sec { padding-top: 30px; }
.sec-title { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--script); font-weight: 400; font-size: clamp(1.45rem, 6.4vw, 2.1rem); color: var(--violeta); margin-bottom: 18px; line-height: 1.2; }
.sec-title::before, .sec-title::after { content: ""; flex: 1 1 0; max-width: 220px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--lila)); }
.sec-title::after { background: linear-gradient(270deg, transparent, var(--lila)); }
.sec-title .ic { width: 24px; height: 24px; flex: none; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); justify-content: flex-start; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; background: #fff; color: var(--violeta); border: 1.5px solid var(--borde); scroll-snap-align: start; transition: background-color .15s, color .15s, transform .12s var(--ease); }
.chip:active { transform: scale(.95); }
.chip[aria-selected="true"] { background: var(--violeta); color: #fff; border-color: var(--violeta); }

/* ───────── Paquetes ───────── */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pkg {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1.5px solid var(--borde); border-radius: 20px;
  padding: 14px 6px 10px; min-width: 0; transition: transform .14s var(--ease), border-color .2s, box-shadow .2s, background-color .2s; color: var(--ciruela);
}
.pkg:active { transform: scale(.96); }
.pkg .art { position: relative; width: 100%; height: 58px; display: grid; place-items: center; margin-bottom: 6px; }
.pkg .art svg.item { width: 58px; height: 54px; filter: drop-shadow(0 4px 6px rgba(30, 80, 190, .25)); }
.pkg .sp { position: absolute; color: var(--lila); width: 12px; height: 12px; }
.pkg .sp.a { left: 8%; top: 6px; } .pkg .sp.b { left: 4%; bottom: 8px; width: 9px; height: 9px; } .pkg .sp.c { right: 6%; top: 18px; } .pkg .sp.d { right: 12%; bottom: 2px; width: 9px; height: 9px; }
.pkg .amt { font-weight: 700; font-size: 1.28rem; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pkg .name { font-weight: 600; font-size: 13.5px; line-height: 1.2; min-height: 1.2em; }
.pkg .sub { font-size: 11px; line-height: 1.2; color: var(--violeta); font-weight: 600; min-height: 14px; margin: 1px 0 6px; }
.pkg .price { width: 100%; min-height: 36px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(180deg, #BE91DC, #AC7BCF); color: #fff; font-weight: 700; font-size: 1.02rem; letter-spacing: .005em; }
.pkg .tag { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--violeta); color: #fff; font-size: 12px; font-weight: 700; display: none; place-items: center; box-shadow: 0 2px 6px rgba(74, 40, 86, .3); }
.pkg.on { border-color: var(--violeta); background: #FCF7FF; box-shadow: 0 0 0 1.5px var(--violeta), var(--sombra); }
.pkg.on .tag { display: grid; animation: pop .35s var(--ease); }
.pkg.out { opacity: .55; }
.pkg.out .price { background: #D9CCE3; color: #6b5878; font-size: .86rem; }
.pkg[disabled] { pointer-events: none; }
.skel { height: 190px; border-radius: 20px; background: linear-gradient(100deg, #f1e4fa 30%, #fbf5ff 50%, #f1e4fa 70%); background-size: 300% 100%; animation: sh 1.4s linear infinite; }
@keyframes sh { to { background-position: -150% 0; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 28px 12px; color: var(--violeta); }

.howbar { display: none; }

/* ───────── Cómo comprar ───────── */
.steps { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr; align-items: stretch; gap: 4px; }
.steps .arr { align-self: center; }
.steps li:not(.arr) {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 6px 14px; min-height: 126px;
  background: linear-gradient(180deg, #F0E2FB, #EBD9F8); border-radius: 24px; color: var(--violeta);
}
.steps .n { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--violeta); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--lila-claro); }
.steps li .ic { width: 34px; height: 34px; }
.steps p { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--ciruela); }
.steps .arr { display: grid; place-items: center; color: var(--violeta); }
.steps .arr .ic { width: 20px; height: 20px; }

/* ───────── Confianza ───────── */
.trust { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 20px 16px; border-radius: 24px; background: linear-gradient(100deg, #EAD5FA, #F1E2FB); color: var(--violeta); overflow: hidden; }
.trust .shield { width: 62px; height: 62px; flex: none; stroke-width: 1.5; }
.trust > div { position: relative; z-index: 1; padding-right: 44px; }
.trust strong { display: block; font-family: var(--script); font-weight: 400; font-size: 1.32rem; line-height: 1.15; }
.trust small { display: block; font-size: 12.5px; color: var(--ciruela); margin-top: 3px; line-height: 1.35; }
.trust .sp { position: absolute; color: var(--violeta); opacity: .55; }
.trust .t1 { right: 74px; top: 14px; width: 14px; height: 14px; } .trust .t2 { right: 14px; bottom: 12px; width: 11px; height: 11px; }
.trust-gem { position: absolute; right: -8px; top: 50%; width: 70px; height: 66px; transform: translateY(-50%) rotate(14deg); opacity: .55; filter: saturate(.35) hue-rotate(35deg) brightness(1.25); }

/* ───────── Preguntas ───────── */
.faqs { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.faqs details { background: #fff; border: 1.5px solid var(--borde); border-radius: 999px; transition: border-radius .2s; }
.faqs details[open] { border-radius: 22px; box-shadow: var(--sombra-s); }
.faqs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; min-height: 48px; cursor: pointer; font-weight: 500; font-size: 14px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary .ic { width: 20px; height: 20px; color: var(--violeta); transition: transform .25s var(--ease); }
.faqs details[open] summary .ic { transform: rotate(180deg); }
.faqs .ans { padding: 0 18px 16px; font-size: 14px; line-height: 1.6; color: #5b3a68; }

/* ───────── Pie ───────── */
.foot { position: relative; margin-top: 54px; color: #fff; }
.foot-wave { position: absolute; left: 0; right: 0; top: -34px; width: 100%; height: 36px; color: #B58AD6; }
.foot-in { position: relative; background: linear-gradient(180deg, #B58AD6, #A878CC); padding: 18px var(--pad) calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; }
.foot-logo { display: inline-flex; align-items: center; gap: 4px; font-family: var(--script); font-size: 1.9rem; line-height: 1; }
.foot-logo .ic { width: 18px; height: 18px; }
.vr { width: 1.5px; height: 38px; background: rgba(255, 255, 255, .45); }
.foot-social { display: flex; align-items: center; gap: 12px; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.foot-social a:active { background: rgba(255, 255, 255, .22); }
.foot-social .ic { width: 24px; height: 24px; }
.handle { font-size: 12.5px; font-weight: 500; }
.foot-thanks { font-size: 12px; font-weight: 500; text-align: center; }

/* ───────── Barra del pedido ───────── */
.cartbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; pointer-events: none; }
.cartbar button { pointer-events: auto; width: min(100%, 560px); min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 18px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #7E45A0, #5A2D75); box-shadow: 0 12px 30px rgba(74, 40, 86, .38); animation: rise .4s var(--ease); transition: transform .12s var(--ease); }
.cartbar button:active { transform: scale(.98); }
@keyframes rise { from { transform: translateY(120%); } }
.cb-l, .cb-r { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.cb-l .ic { width: 22px; height: 22px; }
.cb-r strong { font-size: 1.1rem; }
.cb-go { display: inline-flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, .2); border-radius: 14px; padding: 10px 12px 10px 14px; font-weight: 600; }
.cb-go .ic { width: 16px; height: 16px; }
body.has-cartbar { padding-bottom: 86px; }

/* ───────── Menú y hoja ───────── */
dialog { color: var(--ciruela); border: 0; padding: 0; background: #fff; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(74, 40, 86, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer { margin: 0; width: min(320px, 86vw); height: 100dvh; border-radius: 0 26px 26px 0; padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 20px; background: var(--lila-claro); }
.drawer[open] { animation: slideR .32s var(--ease); }
@keyframes slideR { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 12px; color: var(--violeta); }
.drawer nav { display: grid; gap: 4px; }
.drawer nav a, .drawer nav button { text-align: left; padding: 14px 14px; border-radius: 14px; font-weight: 500; font-size: 16px; }
.drawer nav a:active, .drawer nav button:active { background: var(--lavanda); }

.sheet { margin: auto 0 0; width: 100%; max-height: 94dvh; border-radius: 28px 28px 0 0; flex-direction: column; background: #fff; overflow: hidden; }
.sheet[open] { display: flex; animation: sheetIn .38s var(--ease); }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
.sheet-grab { width: 42px; height: 4px; border-radius: 4px; background: var(--borde); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 4px 22px; flex: none; }
.sheet-head h2 { font-family: var(--script); font-weight: 400; font-size: 1.6rem; color: var(--violeta); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; align-content: start; }

.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--borde); border-radius: 18px; background: #fff; }
.line .th { width: 46px; height: 44px; display: grid; place-items: center; background: var(--lila-claro); border-radius: 12px; }
.line .th svg { width: 34px; height: 32px; }
.line b { display: block; font-size: 14px; line-height: 1.25; }
.line small { color: var(--violeta); font-weight: 600; font-size: 13px; }
.qty { display: inline-flex; align-items: center; background: var(--lila-claro); border-radius: 999px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--violeta); border-radius: 50%; }
.qty button:active { background: var(--lavanda); }
.qty button .ic { width: 16px; height: 16px; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 13.5px; color: var(--violeta); }
.field label small { font-weight: 400; color: #8e6ba3; }
.input { width: 100%; min-height: 50px; padding: 0 16px; border: 1.8px solid var(--borde); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--violeta); box-shadow: 0 0 0 4px rgba(184, 135, 216, .3); }
.input.bad { border-color: var(--error); }
.hint { font-size: 12.5px; min-height: 18px; color: #8e6ba3; line-height: 1.4; }
.hint.ok { color: var(--ok); font-weight: 600; }
.hint.bad { color: var(--error); font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sum { display: grid; gap: 6px; padding: 14px 16px; background: var(--lila-claro); border-radius: 18px; }
.sum div { display: flex; justify-content: space-between; font-size: 14px; }
.sum .tot { font-weight: 700; font-size: 1.2rem; padding-top: 6px; border-top: 1.5px dashed var(--borde-fuerte); color: var(--ciruela); }
.note { font-size: 12.5px; color: #7b5a8a; display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; }
.note .ic { width: 16px; height: 16px; flex: none; color: var(--violeta); }
.err { padding: 12px 14px; border-radius: 14px; background: #FDECEA; color: var(--error); font-size: 13.5px; font-weight: 500; }
.center { text-align: center; }
.big-ok { width: 74px; height: 74px; margin: 6px auto 0; color: var(--violeta); }
.bigcode { font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; color: var(--violeta); }
.timeline { display: grid; gap: 0; padding-left: 4px; }
.timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 18px; font-size: 14px; color: #a28ab2; }
.timeline li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; border: 2.5px solid var(--borde-fuerte); background: #fff; flex: none; z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: 0; width: 2px; background: var(--borde); }
.timeline li.done { color: var(--ciruela); }
.timeline li.done::before { background: var(--violeta); border-color: var(--violeta); }
.timeline li.now { color: var(--violeta); font-weight: 600; }
.timeline li.now::before { border-color: var(--violeta); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(113, 58, 145, .18); } }
.mini { padding: 12px 14px; border: 1.5px solid var(--borde); border-radius: 16px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.link { color: var(--violeta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: rot .7s linear infinite; }
.spin.dark { border-color: var(--lavanda); border-top-color: var(--violeta); }
@keyframes rot { to { transform: rotate(360deg); } }

.toasts { position: fixed; z-index: 90; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 74px); display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 14px; }
.toast { background: var(--ciruela); color: #fff; padding: 11px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(74, 40, 86, .35); animation: toastIn .35s var(--ease); max-width: 100%; text-align: center; }
@keyframes toastIn { from { transform: translateY(-14px); opacity: 0; } }

/* ═══════════ Tablet y escritorio ═══════════ */
@media (min-width: 720px) {
  :root { --hh: 68px; }
  body { font-size: 16px; }
  .mo { display: none; } .de { display: inline; }
  .topbar { margin-inline: auto; width: min(100% - 40px, var(--wrap)); grid-template-columns: 56px 1fr 56px; padding-inline: 8px; }
  .brand-name { font-size: 1.85rem; }
  .brand .crown { width: 30px; height: 23px; }
  .hero { padding-top: calc(var(--hh) + 40px); }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; padding-inline: var(--pad); }
  .hero-copy { padding-bottom: 40px; }
  .hero-crown { width: 64px; height: 48px; }
  .hero-logo .l1 { font-size: clamp(5rem, 9vw, 7.6rem); } .hero-logo .l2 { font-size: clamp(4.6rem, 8.2vw, 7rem); }
  .hero-logo .hero-heart { width: 40px; height: 40px; right: -26px; bottom: 10%; }
  .hero-tag { font-size: 1.3rem; margin: 16px 0 22px; }
  .btn { min-height: 52px; padding-inline: 30px; font-size: 16px; }
  .deco.gem-o { width: 110px; height: 110px; left: 5%; top: 22%; }
  .deco.h1 { width: 52px; height: 52px; } .deco.sp { width: 28px; height: 28px; }

  .perks { border-radius: 26px; padding-block: 6px; }
  .perks li { flex-direction: row; justify-content: center; text-align: left; gap: 16px; padding: 18px 12px; }
  .perks .ic { width: 42px; height: 42px; stroke-width: 1.4; }
  .perks strong { font-size: 16px; } .perks small { display: block; font-size: 13px; }

  .sec { padding-top: 46px; }
  .sec-title { font-size: 2.4rem; margin-bottom: 26px; gap: 18px; }
  .chips { justify-content: center; margin-inline: 0; padding-inline: 0; }
  .pkgs { grid-template-columns: repeat(auto-fill, minmax(150px, 176px)); justify-content: center; gap: 16px; }
  .pkg { padding: 20px 10px 14px; border-radius: 24px; }
  .pkg .art { height: 84px; margin-bottom: 10px; }
  .pkg .art svg.item { width: 82px; height: 76px; }
  .pkg .sp { width: 16px; height: 16px; } .pkg .sp.b, .pkg .sp.d { width: 12px; height: 12px; }
  .pkg .amt { font-size: 1.7rem; } .pkg .name { font-size: 14px; } .pkg .sub { font-size: 12px; min-height: 18px; }
  .pkg .price { min-height: 44px; font-size: 1.15rem; }
  .skel { height: 238px; }

  .howbar { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 26px; background: linear-gradient(100deg, #EAD5FA, #EFDFFA); border-radius: 26px; color: var(--violeta); }
  .howbar .pad { width: 56px; height: 56px; stroke-width: 1.4; }
  .howbar-t { flex: 1; display: grid; }
  .howbar-t strong { font-size: 1.3rem; font-weight: 700; color: var(--ciruela); line-height: 1.2; }
  .howbar-t small { font-size: 14px; color: var(--ciruela); }
  .steps { max-width: 860px; margin-inline: auto; grid-template-columns: 1fr 40px 1fr 40px 1fr; }
  .steps li:not(.arr) { min-height: 170px; padding-top: 30px; gap: 10px; border-radius: 28px; }
  .steps li .ic { width: 48px; height: 48px; } .steps p { font-size: 15px; }
  .steps .n { width: 32px; height: 32px; font-size: 15px; top: -16px; }
  .steps .arr .ic { width: 28px; height: 28px; }
  .trust { margin-top: 46px; padding: 28px 36px; border-radius: 30px; gap: 22px; }
  .trust .shield { width: 84px; height: 84px; } .trust strong { font-size: 2.1rem; } .trust small { font-size: 15px; }
  .trust > div { padding-right: 0; } .trust-gem { width: 130px; height: 124px; right: 40px; } .trust .t1 { right: 190px; width: 18px; height: 18px; } .trust .t2 { right: 40px; width: 12px; height: 12px; }
  .faqs summary { padding: 15px 26px; font-size: 15.5px; min-height: 56px; } .faqs .ans { padding: 0 26px 20px; }

  .foot { margin-top: 70px; } .foot-wave { height: 54px; top: -52px; }
  .foot-in { padding-block: 26px; gap: 18px 40px; } .foot-logo { font-size: 2.4rem; } .vr { height: 48px; }
  .handle { font-size: 14px; } .foot-thanks { font-size: 14px; }

  /* La hoja pasa a ser una ventana centrada */
  .sheet { margin: auto; width: min(560px, 94vw); max-height: 90dvh; border-radius: 30px; box-shadow: 0 30px 80px rgba(74, 40, 86, .35); }
  .sheet[open] { animation: dlgIn .35s var(--ease); }
  @keyframes dlgIn { from { transform: translateY(18px) scale(.97); opacity: 0; } }
  .sheet-grab { display: none; }
  .sheet-head { padding: 22px 24px 4px 30px; }
  .sheet-body { padding: 8px 30px 30px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .cartbar { padding-bottom: 22px; }
  body.has-cartbar { padding-bottom: 96px; }
}

@media (min-width: 960px) {
  .topbar { grid-template-columns: 1fr auto 1fr; }
  #menuBtn { display: none; }
  .brand { grid-column: 2; }
  .topnav { display: flex; grid-column: 1; grid-row: 1; gap: 4px; padding-left: 14px; order: -1; }
  .topnav a, .topnav button { white-space: nowrap; padding: 9px 14px; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--violeta); }
  .cartbtn { justify-self: end; grid-column: 3; }
  .pkgs { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: none; }
  .pkgs:has(> :nth-child(7)) { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .pkgs:not(:has(> :nth-child(7))) { grid-template-columns: repeat(auto-fit, minmax(150px, 176px)); }
}
@media (hover: hover) and (pointer: fine) {
  .pkg:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--borde-fuerte); }
  .btn-primary:hover { box-shadow: 0 12px 24px rgba(113, 58, 145, .36); transform: translateY(-1px); }
  .btn-ghost:hover { background: var(--violeta); color: #fff; }
  .iconbtn:hover, .chip:hover { background: var(--lavanda); }
  .chip[aria-selected="true"]:hover { background: var(--violeta); }
  .topnav a:hover, .topnav button:hover { background: var(--lila-claro); }
  .faqs summary:hover { color: var(--violeta); }
}
@media (max-width: 359px) {
  .pkg .amt { font-size: 1.1rem; } .pkg .price { font-size: .9rem; min-height: 34px; } .brand-name { font-size: 1.35rem; }
  .perks strong { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Los avisos viven en la capa superior (popover) para quedar por encima de las hojas modales. */
.toasts[popover] { position: fixed; inset: auto; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 74px); margin: 0; width: auto; height: auto; padding: 0 14px; border: 0; background: none; overflow: visible; color: inherit; }

/* ───────── Kapella cobra vida: animación de beso (WebP con transparencia) que termina quieta ─────────
   La caja es el personaje; la animación es más grande para que los corazones salgan fuera de la caja. */
.hero-girl { --gh: 330px; position: relative; align-self: end; justify-self: start; margin-left: -6%; height: var(--gh); aspect-ratio: 0.6217; filter: drop-shadow(0 10px 18px rgba(113, 58, 145, .18)); cursor: pointer; z-index: 1; }
.girl-anim { position: absolute; left: -69.7%; top: -9.8%; width: 241.38%; height: 110.26%; max-width: none; pointer-events: none; }
@media (min-width: 720px) { .hero-girl { --gh: 540px; margin-left: 4%; justify-self: center; } }

/* ───────── Bienvenida ───────── */
.welcome { margin: auto; width: min(430px, 94vw); max-height: 94dvh; border-radius: 32px; background: linear-gradient(180deg, #F1E1FB 0%, #FBF5FF 55%, #fff 100%); overflow: hidden auto; overscroll-behavior: contain; position: relative; box-shadow: 0 30px 80px rgba(74, 40, 86, .4); }
.welcome[open] { display: flex; flex-direction: column; animation: dlgIn2 .5s var(--ease); }
@keyframes dlgIn2 { from { transform: translateY(24px) scale(.95); opacity: 0; } }
.w-close { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(255, 255, 255, .8); }
.w-art { position: relative; height: 230px; display: grid; place-items: end center; overflow: hidden; flex: none; background: radial-gradient(60% 70% at 50% 100%, #fff 0%, rgba(255, 255, 255, 0) 70%); }
.w-art img { height: 118%; width: auto; max-width: none; object-fit: contain; margin-bottom: -2%; filter: drop-shadow(0 8px 14px rgba(113, 58, 145, .2)); }
.w-art .deco { color: var(--lila); }
.w-art .w1 { left: 12%; top: 24%; width: 22px; height: 22px; } .w-art .w2 { right: 14%; top: 40%; width: 16px; height: 16px; } .w-art .w3 { right: 10%; top: 12%; width: 34px; height: 34px; transform: rotate(12deg); }
.w-copy { padding: 6px 22px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.w-crown { width: 34px; height: 26px; color: var(--violeta); margin-bottom: -4px; }
.w-copy h2 { font-family: var(--script); font-weight: 400; font-size: 1.85rem; line-height: 1.15; color: var(--violeta); }
.w-copy p { font-size: 14px; color: var(--ciruela); max-width: 32ch; }
.w-links { width: 100%; display: grid; gap: 8px; margin: 4px 0 2px; }
.w-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 16px 6px 8px; border-radius: 999px; background: #fff; border: 1.5px solid var(--borde); font-weight: 600; font-size: 14.5px; color: var(--violeta); text-align: left; transition: transform .12s var(--ease), border-color .2s; }
.w-link:active { transform: scale(.97); }
.w-link .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--violeta); color: #fff; flex: none; }
.w-link .ico .ic { width: 20px; height: 20px; }
.w-link.wa .ico { background: #2BAF66; } .w-link.ig .ico { background: linear-gradient(135deg, #B887D8, #E1578F); }
.w-link small { display: block; font-weight: 400; font-size: 12px; color: #8E6BA3; }
.w-link .ic.go { margin-left: auto; width: 18px; height: 18px; }
@media (min-width: 760px) {
  .welcome { width: min(780px, 94vw); }
  .welcome[open] { flex-direction: row; align-items: stretch; }
  .w-art { width: 44%; height: auto; min-height: 420px; }
  .w-art img { height: 104%; }
  .w-copy { width: 56%; padding: 38px 34px; align-content: center; }
  .w-copy h2 { font-size: 2.2rem; } .w-copy p { font-size: 15px; }
}
@media (hover: hover) and (pointer: fine) { .w-link:hover { border-color: var(--borde-fuerte); transform: translateY(-1px); } }

/* ───────── Reseñas ───────── */
.rev-sum { text-align: center; margin: -6px 0 16px; font-weight: 600; color: var(--violeta); }
.stars { display: inline-flex; gap: 1px; color: #F2B33D; letter-spacing: 1px; font-size: 1.05em; line-height: 1; }
.stars i { font-style: normal; } .stars i.off { color: #E3D0F3; }
.revs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 14px; margin-inline: calc(var(--pad) * -1); scrollbar-width: none; scroll-padding-inline: var(--pad); }
.revs::-webkit-scrollbar { display: none; }
.rev { flex: 0 0 min(78%, 300px); scroll-snap-align: start; background: #fff; border: 1.5px solid var(--borde); border-radius: 22px; padding: 16px 16px 14px; display: grid; gap: 8px; align-content: start; }
.rev p { font-size: 14px; line-height: 1.5; color: var(--ciruela); }
.rev footer { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--violeta); }
.rev footer .av { width: 30px; height: 30px; border-radius: 50%; background: var(--lavanda); display: grid; place-items: center; font-weight: 700; }
@media (min-width: 720px) { .revs { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; } .rev { flex: 0 1 calc(33.33% - 10px); min-width: 250px; } }
.rate { display: grid; gap: 10px; padding: 16px; background: var(--lila-claro); border-radius: 20px; }
.rate h3 { font-family: var(--script); font-weight: 400; font-size: 1.35rem; color: var(--violeta); text-align: center; }
.rate-stars { display: flex; justify-content: center; gap: 4px; }
.rate-stars button { font-size: 2rem; line-height: 1; color: #DBC6EA; padding: 4px 6px; transition: transform .12s var(--ease), color .12s; }
.rate-stars button.on { color: #F2B33D; } .rate-stars button:active { transform: scale(1.2); }
.rate textarea.input { min-height: 84px; padding: 12px 16px; resize: vertical; }
.w-art { place-items: start center; }
.w-art img { height: 330px; width: auto; margin: 22px 0 0; }
@media (min-width: 760px) { .w-art { min-height: 440px; } .w-art img { height: 560px; margin-top: 26px; } }
