/*
 * Baby Shower: vista pública, galería de diseños, hoja "pruébala" y página de cada diseño.
 * Usa los colores de .bsp / .bsp-scope (templates/includes/_premium_sheet_css.html).
 * Prefijo bsx- para no chocar con la guía (bsg-) ni con las tarjetas (bsp-).
 */
.bsx-panel { background:rgba(255,255,255,.82); border:1px solid #E6DEF5; border-radius:20px; padding:clamp(16px,3vw,28px);
    margin-bottom:18px; color:var(--ink); box-shadow:0 10px 30px rgba(46,42,59,.10); }
.bsx-crumbs { font-size:.85rem; color:var(--muted); margin:4px 0 12px; }
.bsx-crumbs a { color:var(--muted); text-decoration:underline; }
.bsx-h1 { font-size:clamp(1.9rem, 4.6vw, 2.75rem); line-height:1.08; font-weight:800; margin:0 0 10px; color:var(--ink); text-wrap:balance; }
.bsx-h2 { font-size:clamp(1.35rem, 3vw, 1.75rem); line-height:1.15; font-weight:800; margin:0 0 6px; color:var(--ink); }
.bsx-h3 { font-size:1.05rem; font-weight:800; margin:0 0 4px; color:var(--ink); }
.bsx-sub { color:var(--muted); margin:0 0 16px; max-width:62ch; font-size:1.02rem; }
.bsx-row { display:flex; gap:10px; flex-wrap:wrap; }
.bsx-center { justify-content:center; }
.bsx-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 20px; border-radius:999px;
    border:2px solid transparent; font-weight:800; text-decoration:none; cursor:pointer; font-size:.95rem; font-family:inherit; }
.bsx-btn:hover { text-decoration:none; filter:brightness(.97); }
.bsx-btn-main { background:var(--lilac); color:#fff; box-shadow:0 6px 18px rgba(124,92,214,.32); }
.bsx-btn-main:hover { color:#fff; }
.bsx-btn-line { background:#fff; color:var(--ink); border-color:#E3E0EA; }
.bsx-btn-line:hover { color:var(--ink); }
.bsx-btn-wa { background:#25D366; color:#fff; }
.bsx-btn-wa:hover { color:#fff; }
.bsx-block { width:100%; }

/* Hero */
.bsx-hero { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:28px; align-items:center; }
.bsx-trust { list-style:none; padding:0; margin:16px 0 0; display:grid; gap:6px; color:var(--muted); }
.bsx-trust li::before { content:"✓"; color:var(--ok); font-weight:800; margin-right:8px; }
.bsx-hero-art { display:flex; justify-content:center; }
.bsx-hero-inv { width:min(300px, 78vw); border-radius:14px; box-shadow:0 20px 44px rgba(80,40,110,.22); transform:rotate(-2deg); }
@media (max-width:760px) { .bsx-hero { grid-template-columns:minmax(0,1fr); } .bsx-hero-art { order:-1; } }

/* Pasos */
.bsx-steps { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; margin-top:14px; padding:0; list-style:none; }
.bsx-step { background:#fff; border:1px solid #E6DEF5; border-radius:16px; padding:16px; }
.bsx-step .n { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--lilac-soft); color:var(--lilac);
    font-weight:800; margin-bottom:8px; }
.bsx-step p { margin:0; color:var(--muted); }
@media (max-width:700px) { .bsx-steps { grid-template-columns:minmax(0,1fr); } }

/* Galería */
.bsx-filters { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0; }
.bsx-filters button, .bsx-fxpick button { min-height:42px; padding:0 16px; border-radius:999px; border:1px solid #DCD3F0; background:#fff;
    color:var(--ink); font-weight:700; cursor:pointer; font-family:inherit; font-size:.95rem; }
.bsx-filters button[aria-pressed="true"], .bsx-fxpick button[aria-pressed="true"] { background:var(--lilac); border-color:var(--lilac); color:#fff; }
.bsx-gal { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
@media (max-width:900px) { .bsx-gal { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:600px) { .bsx-gal { grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; } }
.bsx-card { display:block; background:#fff; border:1px solid #E4DCF3; border-radius:16px; padding:8px; color:inherit; text-decoration:none;
    transition:transform .15s, box-shadow .15s; }
.bsx-card:hover { color:inherit; text-decoration:none; transform:translateY(-2px); box-shadow:0 10px 24px rgba(80,40,110,.12); }
.bsx-card[hidden] { display:none; }
.bsx-th { position:relative; display:grid; place-items:center; aspect-ratio:3 / 5; background:#F4EFFB; border-radius:10px; overflow:hidden; }
.bsx-inv { position:relative; display:block; width:100%; overflow:hidden; }
.bsx-inv.is-tall { width:auto; height:100%; }
.bsx-badge { position:absolute; left:8px; top:8px; z-index:3; background:rgba(255,255,255,.92); color:var(--lilac); font-size:.72rem;
    font-weight:800; border-radius:999px; padding:2px 8px; }
.bsx-card b { display:block; font-size:.92rem; line-height:1.25; margin:8px 4px 2px; }
.bsx-card small { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:0 4px 4px; color:var(--muted); font-size:.8rem; }
.bsx-tag { border-radius:999px; padding:1px 8px; font-weight:700; font-size:.78rem; }
.bsx-tag.nino { background:#E4EFFB; color:#2F6CB0; }
.bsx-tag.nina { background:#FCE6EF; color:#B24A7A; }
.bsx-tag.neutral { background:#EEEAF7; color:#6A57B0; }
.bsx-empty { grid-column:1 / -1; text-align:center; color:var(--muted); padding:20px; margin:0; }

/* Lo que reciben los invitados */
.bsx-guest { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:28px; align-items:center; }
@media (max-width:760px) { .bsx-guest { grid-template-columns:minmax(0,1fr); } }
.bsx-phone { width:min(280px, 80vw); margin:0 auto; border:10px solid #2E2A3B; border-radius:34px; background:#FDF8FB;
    padding:12px 10px 16px; box-shadow:0 18px 40px rgba(46,42,59,.25); }
.bsx-phone p.hi { margin:0 0 6px; text-align:center; font-weight:800; }
.bsx-phone .bsx-inv { border-radius:10px; }
.bsx-pbtn { display:flex; gap:6px; margin-top:8px; }
.bsx-pbtn span { flex:1; text-align:center; border-radius:999px; padding:6px 4px; font-size:.75rem; font-weight:800; }
.bsx-feat { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.bsx-feat li { background:#fff; border:1px solid #E6DEF5; border-radius:14px; padding:12px 14px; }
.bsx-feat p { margin:0; color:var(--muted); }

/* Tabla Gratis / Premium */
.bsx-plans { width:100%; border-collapse:collapse; background:#fff; border-radius:14px; overflow:hidden; margin-top:12px; }
.bsx-plans th, .bsx-plans td { padding:11px 12px; border-bottom:1px solid #F0EBF8; text-align:left; vertical-align:top; }
.bsx-plans th { background:var(--lilac-soft); font-size:.9rem; }
.bsx-plans td:nth-child(n+2), .bsx-plans th:nth-child(n+2) { text-align:center; width:22%; }
.bsx-plans .s { display:block; color:var(--muted); font-size:.85rem; }
.bsx-plans .i { width:22px; height:22px; }
.bsx-plans .yes { color:var(--ok); }
.bsx-plans .no { color:#C9C3D6; }
.bsx-plans .price { font-weight:800; color:var(--lilac); white-space:nowrap; }

/* Hoja "pruébala" */
.bsx-try { border:0; border-radius:22px; padding:0; width:min(860px, 94vw); max-height:92vh; background:var(--paper); color:var(--ink);
    box-shadow:0 30px 70px rgba(30,20,50,.35); }
.bsx-try::backdrop { background:rgba(46,42,59,.45); }
.bsx-try-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:22px; padding:22px; overflow:auto; max-height:92vh; }
@media (max-width:700px) { .bsx-try-grid { grid-template-columns:minmax(0,1fr); padding:16px; } .bsx-try-inv { width:min(210px, 62vw); } }
.bsx-try-inv { width:min(320px, 100%); margin:0 auto; border-radius:12px; box-shadow:0 10px 30px rgba(80,40,110,.18); }
.bsx-try-lead { color:var(--muted); margin:0 0 12px; }
.bsx-x { position:absolute; right:12px; top:10px; width:44px; height:44px; border-radius:50%; border:0; background:#fff; font-size:1.5rem;
    line-height:1; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.12); z-index:6; color:var(--ink); }
.bsx-fld { display:grid; gap:4px; margin-bottom:10px; }
.bsx-fld label, .bsx-lbl { font-size:.82rem; font-weight:800; color:var(--muted); }
.bsx-fld input, .bsx-fld select { min-height:44px; border:1px solid #DCD3F0; border-radius:12px; padding:0 12px; font:16px Nunito, sans-serif;
    background:#fff; color:var(--ink); width:100%; }
.bsx-two { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
@media (max-width:520px) { .bsx-two { grid-template-columns:minmax(0,1fr); gap:0; } }
.bsx-fxpick { display:flex; gap:6px; flex-wrap:wrap; }
.bsx-fxpick button { min-height:38px; padding:0 12px; font-size:.88rem; }
.bsx-note { font-size:.82rem; color:var(--muted); margin:8px 0 0; }
.bsx-gate { background:var(--lilac-soft); border-radius:16px; padding:16px; text-align:center; }
.bsx-gate p { margin:0 0 12px; color:var(--muted); }

/* Página de un diseño */
.bsx-detail { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:28px; align-items:start; }
@media (max-width:760px) { .bsx-detail { grid-template-columns:minmax(0,1fr); } }
.bsx-detail-inv { width:min(360px, 86vw); margin:0 auto; border-radius:14px; box-shadow:0 20px 44px rgba(80,40,110,.22); }
.bsx-desc { font-size:1.05rem; margin:0 0 10px; }
.bsx-facts { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 14px; }
.bsx-phrases { list-style:none; padding:0; margin:10px 0 0; display:grid; gap:8px; }
.bsx-phrases li { display:flex; justify-content:space-between; gap:10px; align-items:center; background:#fff; border:1px solid #E6DEF5;
    border-radius:12px; padding:10px 14px; }
.bsx-phrases button { flex:none; min-height:38px; border-radius:999px; border:1px solid #DCD3F0; background:#fff; padding:0 12px;
    font-weight:700; cursor:pointer; font-family:inherit; color:var(--ink); }

/* Panel con sesión */
.bsx-hello { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.bsx-hello .bsx-h1 { margin:0; }
.bsx-stats { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin:14px 0 18px; }
.bsx-stat { background:#fff; border:1px solid #E6DEF5; border-radius:14px; padding:10px 12px; }
.bsx-stat b { display:block; font-size:1.5rem; line-height:1.1; }
.bsx-stat span { color:var(--muted); font-size:.82rem; }
@media (max-width:600px) { .bsx-stats { grid-template-columns:repeat(2, minmax(0,1fr)); } }
.bsx-past { margin-top:16px; }
.bsx-past > summary { cursor:pointer; font-weight:800; color:var(--muted); padding:6px 0; }
.bsx-past > .bsp-grid { margin-top:10px; }

.bsx-toast { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:#2E2A3B; color:#fff; padding:10px 18px;
    border-radius:999px; font-weight:700; z-index:1100; opacity:0; pointer-events:none; transition:opacity .2s; }
.bsx-toast.show { opacity:1; }

@media (prefers-reduced-motion: reduce) { .bsx-card { transition:none; } }
