/* Sello — plataforma para marcas personales · DIYFOMO */
:root {
  --ink: #17132A; --ink-2: #241E3D; --ink-3: #322A52;
  --bg: #F6F2EC; --bg-2: #EEE7DC; --paper: #FFFFFF; --cream: #FBF8F3;
  --muted: #6A6578; --faint: #9C97A8;
  --line: rgba(23, 19, 42, .1); --line-2: rgba(23, 19, 42, .18);
  --accent: #FF5A36; --accent-d: #D63E1C; --accent-l: #FFE3DA; --violet: #6B4EFF; --violet-l: #ECE8FF;
  --ok: #2F8F5B; --ok-l: #E1F3E8; --warn: #B8741A; --warn-l: #FBEFD9; --info: #3C6FD8; --info-l: #E3ECFB; --bad: #C2412D;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --r: 16px; --sh: 0 1px 2px rgba(23, 19, 42, .04), 0 14px 34px -20px rgba(23, 19, 42, .28);
  --ease: cubic-bezier(.22, .9, .32, 1);
  --b1: #24493F; --b2: #F5EEE3; --b3: #E07A5F; --b4: #E9D8C4; --bft: "Fraunces", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 14.5px/1.55 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; color: inherit; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; opacity: .4; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }
svg { display: block; }

/* ===== Estructura ===== */
.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 18px; padding: 22px 14px 18px; background: var(--ink); color: #DCD8E6; overflow-y: auto; z-index: 40; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand .b-ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 4.4 3.4; }
.brand .b-fill { fill: #FBF8F3; }
.brand span { font: 800 25px/1 var(--display); color: #fff; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 4px; font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #9C95B4; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.modes a { text-align: center; padding: 8px 4px; border-radius: 9px; font: 600 12px var(--body); color: #B7B1C8; transition: background .2s, color .2s; }
.modes a:hover { color: #fff; }
.modes a.on { background: #fff; color: var(--ink); }
.side-nav { display: grid; gap: 2px; }
.side-nav .grp { margin: 12px 10px 4px; font: 700 10px var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(220, 216, 230, .42); }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; font: 500 13.5px var(--body); color: #D2CDE0; transition: background .2s, color .2s; }
.side-nav a i { width: 18px; text-align: center; font-style: normal; color: #FF9A80; }
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a.on { background: rgba(255, 90, 54, .16); color: #fff; }
.side-nav a .n { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--accent); color: #fff; font: 700 11px var(--body); text-align: center; }
.side-foot { margin-top: auto; display: grid; gap: 10px; padding: 14px 8px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.who { display: flex; align-items: center; gap: 10px; font: 600 13px var(--body); color: #fff; }
.who small { display: block; font: 500 11.5px var(--body); color: #9C95B4; }
.who-av { width: 38px; height: 38px; flex: none; }
.side-foot .link { justify-self: start; font: 600 12px var(--body); color: #FF9A80; }
.side-foot .link:hover { text-decoration: underline; }
.made { font-size: 11.5px; color: rgba(220, 216, 230, .5); }
.made a { color: #FF9A80; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 14px 32px; background: rgba(246, 242, 236, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-title { min-width: 0; flex: 1; }
.top-title small { display: block; font: 600 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-d); }
.top-title h1 { font-size: 27px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-acts { display: flex; gap: 8px; flex: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 11px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: var(--ink); flex: none; }
.burger span { width: 18px; height: 1.6px; background: #fff; }
.view { padding: 26px 32px 64px; display: grid; gap: 22px; align-content: start; outline: none; max-width: 1320px; width: 100%; }
.view.fade { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.scrim { position: fixed; inset: 0; background: rgba(23, 19, 42, .5); z-index: 35; }
.app.public { grid-template-columns: minmax(0, 1fr); }
.app.public .side, .app.public .top { display: none; }
.app.public .view { padding: 0; max-width: none; display: block; }

/* ===== Piezas ===== */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 20px 22px; min-width: 0; }
.card.soft { background: var(--bg-2); box-shadow: none; border-color: transparent; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h2 { font-size: 20px; }
.card-h h3 { font-size: 16px; }
.card-h a, .card-h .lnk { font: 600 12.5px var(--body); color: var(--accent-d); white-space: nowrap; }
.h3 { font-size: 20px; margin-top: 6px; }
.kicker { font: 700 10.5px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-d); }
.lead { font: 400 17px/1.55 var(--body); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.ok { color: var(--ok); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 16px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--paper); font: 600 13.5px var(--body); color: var(--ink); white-space: nowrap; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(255, 90, 54, .8); }
.btn.primary:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 34px; padding: 6px 12px; font-size: 12.5px; border-radius: 9px; }
.btn.danger { color: var(--bad); }
.lnk { font: 600 12.5px var(--body); color: var(--accent-d); }
.lnk:hover { text-decoration: underline; }
.icon-b { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; }
.icon-b:hover:not(:disabled) { border-color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; background: var(--bg-2); font: 600 11px var(--body); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-l); color: var(--ok); }
.pill.warn { background: var(--warn-l); color: var(--warn); }
.pill.info { background: var(--info-l); color: var(--info); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper); font: 600 12.5px var(--body); color: var(--muted); transition: all .2s; }
.chip small { margin-left: 3px; color: var(--faint); font-weight: 600; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on small { color: #B7B1C8; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg-2); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1; padding: 9px 12px; border-radius: 10px; font: 600 13px var(--body); color: var(--muted); white-space: nowrap; }
.tabs button small { color: var(--faint); margin-left: 3px; }
.tabs button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(23, 19, 42, .1); }
.tabs.big { margin-bottom: 0; justify-self: start; }
.tabs.big button { flex: none; padding: 9px 18px; }
.subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.subtabs button { padding: 8px 12px; font: 600 12.5px var(--body); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.subtabs button.on { color: var(--ink); border-color: var(--accent); }
.note { font-size: 12.5px; color: var(--muted); padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 12px; }
.opt-l { font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.empty { display: grid; place-items: center; gap: 10px; text-align: center; padding: 48px 20px; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.empty span { font-size: 28px; color: var(--accent); }
.empty p { max-width: 52ch; }
.thinking { display: flex; align-items: center; gap: 5px; padding: 18px 0; color: var(--muted); font-weight: 500; }
.thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dot 1s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; } .thinking i:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
@keyframes dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.toc { margin: 0; padding-left: 20px; display: grid; gap: 5px; }
.toc li::marker { color: var(--accent); font-weight: 700; }
.toc.big { gap: 10px; font-size: 15px; }
.toc li.lock { opacity: .5; }

/* Formularios */
.form { display: grid; gap: 12px; }
.form label, .fl { display: grid; gap: 5px; font: 600 12.5px var(--body); color: var(--muted); margin-bottom: 12px; }
.form label { margin: 0; }
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), select, textarea { width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); font: 400 14px var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-l); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tg { display: flex; align-items: center; gap: 10px; font: 500 13.5px var(--body); cursor: pointer; margin-top: 6px; }
.tg input { position: absolute; opacity: 0; }
.tg span { width: 38px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.tg span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.tg input:checked + span { background: var(--ok); }
.tg input:checked + span::after { transform: translateX(16px); }
.tg input:focus-visible + span { outline: 2.5px solid var(--violet); outline-offset: 2px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; cursor: pointer; font-weight: 600; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-l); }
.radio input { accent-color: var(--accent); }

/* Modal y aviso */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(23, 19, 42, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); overflow-y: auto; }
.modal-box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--paper); border-radius: 20px; padding: 28px; box-shadow: 0 30px 80px -20px rgba(23, 19, 42, .5); animation: pop .3s var(--ease); }
.modal-box.wide { width: min(860px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); display: grid; place-items: center; z-index: 2; }
.modal-x:hover { background: var(--bg-2); color: var(--ink); }
.m-title { font-size: 25px; margin: 6px 0 16px; padding-right: 30px; }
.gen { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.gen .btn { margin-top: 14px; justify-self: start; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 120; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ===== Ecosistema ===== */
.hero-hub { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; border-radius: 28px; background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.hero-hub::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 54, .35), transparent 65%); }
.hh-copy { position: relative; }
.hh-copy .kicker { color: #FF9A80; }
.hero-hub h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.hero-hub h2 em { font-style: normal; color: var(--accent); }
.hero-hub .lead { color: #C9C3D8; margin-top: 16px; }
.hero-hub .btn { border-color: rgba(255, 255, 255, .25); background: transparent; color: #fff; }
.hero-hub .btn:hover { border-color: #fff; }
.hero-hub .btn.primary { background: var(--accent); border-color: var(--accent); }
.hero-hub .btn.ghost { border-color: transparent; }
.hh-art { position: relative; height: 380px; }
.hh-av { position: absolute; left: 4%; top: 6%; width: 46%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
.hh-cv { position: absolute; right: 6%; top: 0; width: 38%; transform: rotate(5deg); animation: float 7s ease-in-out infinite .5s; }
.hh-mk { position: absolute; left: 24%; bottom: -2%; width: 50%; border-radius: 20px; background: rgba(255, 255, 255, .95); padding: 6px; transform: rotate(-3deg); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.hh-chip { position: absolute; padding: 8px 13px; border-radius: 99px; background: #fff; color: var(--ink); font: 600 12.5px var(--body); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); white-space: nowrap; }
.hh-chip.c1 { left: 0; bottom: 30%; }
.hh-chip.c2 { right: 0; bottom: 14%; background: var(--accent); color: #fff; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .25s var(--ease), border-color .2s; }
.step:hover { transform: translateY(-3px); border-color: var(--accent); }
.step span { font: 800 13px var(--display); color: var(--accent); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 13.5px; }
.step b { font-size: 12.5px; color: var(--accent-d); margin-top: 4px; }

/* ===== Inicio ===== */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { padding: 18px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh); display: grid; gap: 4px; }
.kpi:first-child { background: var(--ink); color: #fff; border-color: transparent; }
.kpi small { font: 600 12px var(--body); color: var(--muted); }
.kpi:first-child small { color: #B7B1C8; }
.kpi b { font: 800 28px/1.1 var(--display); letter-spacing: -.02em; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi span.up { color: var(--ok); font-weight: 600; }
.kpi:first-child span.up { color: #7FE0A6; }
.kpi span.down { color: var(--bad); font-weight: 600; }
.bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; height: 200px; align-items: end; padding-bottom: 20px; position: relative; }
.bar { height: 100%; display: flex; align-items: flex-end; position: relative; }
.bar i { display: block; width: 100%; border-radius: 4px 4px 2px 2px; background: var(--ink-3); opacity: .82; transition: opacity .2s, background .2s; }
.bar:hover i { opacity: 1; background: var(--accent); }
.bar.today i { background: var(--accent); opacity: 1; }
.bar small { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--faint); white-space: nowrap; }
.me-card { text-align: center; display: grid; align-content: start; justify-items: center; background: linear-gradient(180deg, var(--b4), var(--paper) 60%); }
.me-av { width: 120px; margin-bottom: 10px; }
.me-card h3 { font-size: 20px; }
.list { display: grid; }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); min-width: 0; }
.li:last-child { border-bottom: 0; }
a.li:hover { background: var(--cream); }
.rank { width: 22px; font: 800 15px var(--display); color: var(--faint); text-align: center; flex: none; }
.li-th, .cl-th, .th-th, .ups-th, .lz-th { display: block; }
.li-th { width: 40px; flex: none; }
.li-b { flex: 1; min-width: 0; }
.li-b b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-b small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-r { font-weight: 700; text-align: right; white-space: nowrap; }
.li-r small { display: block; font-weight: 400; font-size: 11.5px; color: var(--faint); }
.ini { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--violet-l); color: var(--violet); font: 700 12px var(--body); flex: none; vertical-align: middle; }
.todo { display: grid; gap: 8px; }
.td { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); transition: border-color .2s; }
.td:hover { border-color: var(--ink); }
.td i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-2); flex: none; }
.td.warn i { background: var(--warn-l); color: var(--warn); }
.td.gold i { background: var(--accent-l); color: var(--accent-d); }
.td b { display: block; font-weight: 600; font-size: 13.5px; }
.td small { color: var(--muted); font-size: 12px; }

/* ===== Estudio de avatar ===== */
.studio { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
.stage { position: sticky; top: 92px; display: grid; gap: 14px; justify-items: center; background: radial-gradient(circle at 50% 30%, var(--paper), var(--bg-2)); }
.stage-av { width: min(300px, 100%); aspect-ratio: 1; filter: drop-shadow(0 18px 24px rgba(23, 19, 42, .18)); }
.stage-av svg { width: 100%; height: 100%; }
.dirty { color: var(--muted); }
.dirty.on { color: var(--warn); font-weight: 600; }
.dirty.on::before { content: "● "; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); align-items: end; }
.uses > div { display: grid; gap: 6px; justify-items: center; }
.uses small { font-size: 11px; color: var(--muted); }
.uses .ig { width: 64px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #F9CE34, #EE2A7B, #6228D7, #F9CE34); }
.uses .ig svg { border-radius: 50%; background: #fff; }
.uses .wa { width: 70px; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.uses .cvm { width: 60px; }
.panel { padding: 16px 20px 22px; }
.opt-g { margin-bottom: 18px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts button { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); font: 600 12.5px var(--body); color: var(--muted); transition: all .15s; }
.opts button:hover { color: var(--ink); border-color: var(--ink); }
.opts button.on { border-color: var(--accent); background: var(--accent-l); color: var(--accent-d); }
.opts.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.opts.thumbs button { display: grid; justify-items: center; gap: 4px; padding: 8px 4px 6px; font-size: 11.5px; }
.opts.thumbs span { width: 60px; height: 60px; }
.sw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw button, .sw-custom { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); transition: transform .15s, box-shadow .15s; }
.sw button:hover { transform: scale(1.08); }
.sw button.on { box-shadow: 0 0 0 2.5px var(--ink); }
.sw-custom { display: grid; place-items: center; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); color: #fff; font-weight: 700; cursor: pointer; position: relative; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vcard { position: relative; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); transition: all .2s var(--ease); }
.vcard:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh); }
.vcard span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 4px 10px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 11px var(--body); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.vcard:hover span, .vcard:focus-visible span { opacity: 1; }
.drop { display: grid; place-items: center; gap: 4px; min-height: 180px; margin: 14px 0; border: 2px dashed var(--line-2); border-radius: 16px; cursor: pointer; text-align: center; color: var(--muted); transition: border-color .2s, background .2s; overflow: hidden; }
.drop:hover { border-color: var(--accent); background: var(--accent-l); }
.drop span { font-size: 28px; color: var(--accent); }
.drop b { color: var(--ink); }
.drop img { max-height: 240px; width: auto; border-radius: 10px; }
.ph-res { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.ph-res div { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.ph-res small { color: var(--muted); margin-right: 4px; }
.ph-res i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.kit-i { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.kit-i span { width: 86px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .12)); }
.kit-i b { font-size: 12.5px; }
.ig-mock { margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.ig-top { display: flex; align-items: center; gap: 12px; }
.ig-top b { display: block; }
.ig-top small { color: var(--muted); font-size: 12px; }
.ig-av { width: 62px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #F9CE34, #EE2A7B, #6228D7, #F9CE34); flex: none; }
.ig-av svg { border-radius: 50%; background: #fff; }
.ig-hl { display: flex; gap: 14px; margin-top: 14px; overflow-x: auto; }
.ig-hl span { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.ig-hl i { width: 54px; height: 54px; border-radius: 50%; padding: 2px; border: 1px solid var(--line-2); display: block; }

/* ===== Portadas (unidades de contenedor: escalan a cualquier tamaño) ===== */
.cv { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 3px 8px 8px 3px; background: var(--c2); color: var(--c1); box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 16px 26px -14px rgba(23, 19, 42, .45); font-family: var(--body); text-align: left; }
.cv::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 5%; background: linear-gradient(90deg, rgba(0, 0, 0, .14), rgba(255, 255, 255, .12) 60%, transparent); pointer-events: none; }
.cv h4 { font-family: var(--ft); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; position: relative; }
.cv p { position: relative; }
.cv-k { font: 600 3.6cqw var(--body); letter-spacing: .18em; text-transform: uppercase; }
.cv-a { display: flex; align-items: center; gap: 3cqw; font: 600 4cqw/1.2 var(--body); position: absolute; }
.cv-a small { display: block; font-weight: 400; opacity: .7; font-size: 3.4cqw; }
.cv-av { width: 15cqw; flex: none; }
.cv.editorial .cv-band { display: flex; justify-content: space-between; padding: 6cqw 8cqw; background: var(--c1); color: var(--c2); }
.cv.editorial .cv-dot { position: absolute; right: -14cqw; top: 26cqw; width: 52cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c3); opacity: .9; }
.cv.editorial h4 { font-size: 12cqw; padding: 0 9cqw; margin-top: 24cqw; max-width: 92%; }
.cv.editorial p { font-size: 4.6cqw; padding: 0 9cqw; margin-top: 5cqw; opacity: .78; line-height: 1.35; }
.cv.editorial .cv-a { left: 9cqw; bottom: 8cqw; }
.cv.bold { background: var(--c3); color: #fff; }
.cv.bold .cv-shape { position: absolute; left: -15cqw; bottom: -36cqw; width: 140cqw; height: 80cqw; background: var(--c1); transform: rotate(-14deg); }
.cv.bold .cv-k { display: block; padding: 8cqw 8cqw 0; opacity: .85; }
.cv.bold h4 { font-family: var(--display); font-size: 14cqw; font-weight: 800; text-transform: uppercase; line-height: .94; padding: 0 8cqw; margin-top: 10cqw; letter-spacing: -.03em; }
.cv.bold p { font-size: 4.8cqw; padding: 0 8cqw; margin-top: 5cqw; line-height: 1.3; }
.cv.bold .cv-a { left: 8cqw; bottom: 8cqw; color: var(--c2); }
.cv.minimal::before { content: ""; position: absolute; inset: 5cqw; border: 1px solid var(--c1); opacity: .25; }
.cv.minimal { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12%; }
.cv.minimal .cv-k { position: absolute; top: 12cqw; left: 0; right: 0; opacity: .7; }
.cv.minimal .cv-line { display: block; width: 14cqw; height: 1cqw; background: var(--c3); margin-bottom: 7cqw; }
.cv.minimal h4 { font-size: 11cqw; font-weight: 600; }
.cv.minimal p { font-size: 4.4cqw; margin-top: 5cqw; opacity: .7; line-height: 1.35; }
.cv.minimal .cv-a { bottom: 11cqw; left: 50%; transform: translateX(-50%); }
.cv.avatar { background: var(--c1); color: var(--c2); text-align: center; }
.cv.avatar .cv-k { display: block; padding-top: 8cqw; color: var(--c3); }
.cv.avatar .cv-big { display: block; width: 56cqw; margin: 7cqw auto 0; }
.cv.avatar h4 { font-size: 10cqw; padding: 0 8cqw; margin-top: 7cqw; }
.cv.avatar p { font-size: 4.2cqw; padding: 0 10cqw; margin-top: 4cqw; opacity: .78; line-height: 1.35; }
.cv.avatar .cv-a { left: 0; right: 0; justify-content: center; bottom: 7cqw; font-size: 3.8cqw; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.cv.xs { border-radius: 2px 4px 4px 2px; box-shadow: 0 4px 8px -4px rgba(23, 19, 42, .4); }
.cv.lg { max-width: 380px; margin: 0 auto; }

/* Tarjeta genérica de producto y merch */
.tile { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 8px; background: var(--c1); color: var(--c2); padding: 10% 9%; display: flex; flex-direction: column; box-shadow: 0 16px 26px -14px rgba(23, 19, 42, .45); }
.tile i { font-style: normal; width: 22cqw; height: 22cqw; border-radius: 30%; background: var(--c3); color: #fff; display: grid; place-items: center; font-size: 11cqw; }
.tile b { margin-top: auto; font: 700 4cqw var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--c3); }
.tile span { font: 700 9.5cqw/1.05 var(--ft); margin-top: 3cqw; letter-spacing: -.01em; }
.tile em { position: absolute; right: -6cqw; top: 6cqw; width: 44cqw; opacity: .95; }
.tile.k-plantilla { background: var(--c4); color: var(--c1); }
.tile.k-gratis { background: var(--c3); }
.tile.k-gratis i { background: var(--c1); }
.tile.k-gratis b { color: var(--c2); }
.tile.xs { border-radius: 4px; box-shadow: none; justify-content: center; align-items: center; padding: 0; }
.tile.xs b, .tile.xs span, .tile.xs em { display: none; }
.tile.xs i { width: 56cqw; height: 56cqw; font-size: 30cqw; }
.mk-wrap { width: 100%; border-radius: 14px; background: var(--bg, var(--b4)); }
.mk { width: 100%; height: auto; }

/* ===== Ebooks ===== */
.ebgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ebc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ebc-cv { display: block; padding: 26px 34px 22px; background: var(--bg-2); transition: background .3s; }
.ebc-cv:hover { background: var(--b4); }
.ebc-cv .cv { transition: transform .35s var(--ease); }
.ebc-cv:hover .cv { transform: translateY(-4px) rotate(-1deg); }
.ebc-b { padding: 16px 18px 18px; display: grid; gap: 8px; }
.ebc-b h3 { font-size: 17px; }
.ebc-st { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.ebc-st b { color: var(--ink); }
.ebc.new { align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px; border: 2px dashed var(--line-2); background: transparent; box-shadow: none; min-height: 320px; transition: border-color .2s, background .2s; }
.ebc.new:hover { border-color: var(--accent); background: var(--accent-l); }
.ebc.new span { font-size: 30px; color: var(--accent); }
.ebc.new b { font: 700 18px var(--display); }
.ebc.new small { color: var(--muted); max-width: 26ch; }
.editor { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.chs { position: sticky; top: 92px; }
.chs ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.chs button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 9px; font: 500 13px/1.35 var(--body); color: var(--muted); }
.chs button span { font: 700 12px var(--display); color: var(--faint); width: 16px; flex: none; padding-top: 1px; }
.chs button:hover { background: var(--cream); color: var(--ink); }
.chs button.on { background: var(--accent-l); color: var(--ink); font-weight: 600; }
.chs button.on span { color: var(--accent-d); }
.ch-ed { display: grid; gap: 12px; }
.ch-title { font: 700 26px/1.2 var(--display) !important; border: 0 !important; padding: 4px 0 !important; box-shadow: none !important; letter-spacing: -.01em; }
.ch-body { min-height: 380px; font: 400 16px/1.75 Georgia, "Fraunces", serif !important; padding: 16px 18px !important; background: var(--cream) !important; }
.cv-ed { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
.cv-prev { position: sticky; top: 92px; padding: 24px; border-radius: var(--r); background: var(--bg-2); }
.tpl-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.tpl-pick button { display: grid; gap: 6px; padding: 8px; border-radius: 12px; border: 1.5px solid var(--line); font: 600 12px var(--body); color: var(--muted); }
.tpl-pick button.on { border-color: var(--accent); color: var(--ink); background: var(--accent-l); }
.pal-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pal-pick button { display: flex; align-items: center; gap: 3px; padding: 6px 12px 6px 6px; border-radius: 99px; border: 1.5px solid var(--line); font: 600 12px var(--body); }
.pal-pick i { width: 18px; height: 18px; border-radius: 50%; }
.pal-pick span { margin-left: 5px; }
.pal-pick button.on { border-color: var(--ink); }
.sale-ed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr); gap: 22px; align-items: start; }
.shop-prev { max-width: 300px; padding: 16px; border-radius: var(--r); background: var(--c2); }

/* ===== Productos ===== */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pc { padding: 0; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .25s var(--ease), border-color .2s; }
.pc:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pc-th { aspect-ratio: 4 / 3.6; display: grid; place-items: center; background: var(--bg-2); padding: 16px; }
.pc-th > .cv, .pc-th > .tile { width: 52%; }
.pc-th > .mk-wrap { width: 100%; background: transparent; }
.pc-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-b h3 { font-size: 16px; }
.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.idea { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); transition: all .2s; }
.idea:hover { border-color: var(--accent); background: var(--accent-l); }
.idea b { font: 700 15px var(--display); }
.idea span { font-size: 12.5px; color: var(--muted); }
.idea small { font-weight: 600; color: var(--accent-d); }

/* ===== Merch ===== */
.m-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.m-it { flex: none; width: 170px; display: grid; gap: 4px; padding: 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); }
.m-it span { border-radius: 10px; background: var(--b4); }
.m-it b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-it small { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.m-it.on { border-color: var(--accent); box-shadow: var(--sh); }
.merch-ed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.m-stage { background: var(--bg); display: grid; gap: 10px; text-align: center; position: sticky; top: 92px; }
.m-stage #m-prev { max-width: 520px; margin: 0 auto; width: 100%; }
.merch-ed .card .chips { margin-bottom: 14px; }
.merch-ed .sw { margin-bottom: 14px; }
.cost { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }

/* ===== Lanzamientos ===== */
.lz-head { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.lz-sel { display: grid; grid-template-columns: minmax(200px, 1fr) 140px auto; gap: 12px; align-items: end; flex: 1; }
.lz-sel .fl { margin: 0; }
.lz-th { width: 74px; flex: none; }
.lz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.lz { display: grid; gap: 8px; align-content: start; }
.lz-top { display: flex; justify-content: space-between; align-items: center; }
.lz-day { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); }
.lz-day b { font: 800 24px var(--display); color: var(--ink); }
.lz-f { font: 600 12px var(--body); color: var(--violet); }
.lz h3 { font-size: 16px; }
.lz-c { font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--cream); border-left: 3px solid var(--accent); }
.lz .lnk { justify-self: start; }
.ph-expectativa { background: var(--violet-l); color: var(--violet); }
.ph-valor { background: var(--info-l); color: var(--info); }
.ph-lanzamiento { background: var(--accent); color: #fff; }
.ph-pruebasocial { background: var(--ok-l); color: var(--ok); }
.ph-objeciones { background: var(--warn-l); color: var(--warn); }
.ph-cierre { background: var(--ink); color: #fff; }

/* ===== Ventas ===== */
.tbl-card { padding: 18px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td small { display: block; font-size: 11.5px; color: var(--faint); }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl tr.new td { background: var(--accent-l); }
.tbl tr:hover td { background: var(--cream); }
.src { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 16px; }
.src div { padding: 12px 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); display: grid; gap: 2px; }
.src b { font: 800 22px var(--display); }
.src small { color: var(--muted); }
.src i { display: block; height: 4px; border-radius: 4px; background: var(--accent); margin-top: 6px; }

/* ===== Mi marca ===== */
.brand-ed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 380px); gap: 22px; align-items: start; }
.phone { position: sticky; top: 92px; border-radius: 36px; padding: 12px; background: var(--ink); box-shadow: var(--sh); }
.phone .shop { border-radius: 26px; overflow: hidden; min-height: 0; }
.shop.mini .sh-hero { padding: 34px 18px 22px; }
.shop.mini .sh-av { width: 96px; }
.shop.mini h1 { font-size: 24px; }
.sh-mini-l { display: grid; gap: 8px; margin-top: 18px; width: 100%; }
.sh-mini-l span { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--c1); color: var(--c2); font-size: 13px; font-weight: 600; text-align: left; }

/* ===== Tienda pública ===== */
.shop { --sh-r: 18px; background: var(--c2); color: var(--c1); min-height: 100vh; font-family: var(--body); }
.shop h1, .shop h2, .shop h3 { font-family: var(--ft); letter-spacing: -.015em; }
.demo-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 20px; background: var(--ink); color: #DCD8E6; font-size: 12.5px; }
.demo-bar a { color: #FF9A80; font-weight: 600; white-space: nowrap; }
.sh-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px max(20px, calc((100% - 1100px) / 2)); background: color-mix(in srgb, var(--c2) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--c1) 10%, transparent); }
.sh-brand { display: flex; align-items: center; gap: 10px; font: 700 17px var(--ft); }
.sh-brand span { width: 36px; }
.sh-links { display: flex; gap: 4px; margin-left: auto; }
.sh-links button { padding: 8px 12px; border-radius: 99px; font: 600 13px var(--body); }
.sh-links button:hover { background: color-mix(in srgb, var(--c1) 8%, transparent); }
.sh-cart { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--c1); color: var(--c2); font: 600 13px var(--body); }
.cc { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: color-mix(in srgb, var(--c2) 25%, transparent); display: inline-grid; place-items: center; font-size: 11.5px; }
.cc.on { background: var(--c3); color: #fff; }
.sh-hero { display: grid; justify-items: center; text-align: center; padding: 56px 20px 40px; background: radial-gradient(ellipse at 50% 0%, var(--c4), transparent 70%); }
.sh-av { width: 150px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .18)); }
.sh-hero h1 { font-size: clamp(32px, 5vw, 46px); margin-top: 16px; }
.sh-role { font: 600 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--c3); margin-top: 8px; }
.sh-bio { max-width: 46ch; margin-top: 12px; font-size: 16px; opacity: .82; }
.sh-soc { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; }
.sh-soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--c1) 20%, transparent); }
.sh-soc a:hover { background: var(--c1); color: var(--c2); }
.sh-soc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh-soc span { margin-left: 6px; opacity: .7; }
.sh-feat { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1060px; margin: 10px auto 0; padding: 44px; border-radius: 28px; background: var(--c1); color: var(--c2); }
.sh-feat-cv .cv { transform: rotate(-3deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }
.sh-k { display: inline-block; font: 700 11px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--c3); }
.sh-feat h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; }
.sh-lead { font-size: 16px; opacity: .85; margin-top: 12px; max-width: 54ch; }
.sh-ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; }
.sh-ul li { display: flex; gap: 10px; }
.sh-ul li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c3); color: #fff; font-size: 11px; display: grid; place-items: center; margin-top: 1px; }
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 99px; background: var(--c3); color: #fff; font: 700 14px var(--body); border: 1.5px solid var(--c3); transition: transform .15s, filter .2s; white-space: nowrap; }
.sh-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.sh-btn.ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.sh-btn.sm { min-height: 34px; padding: 6px 14px; font-size: 12.5px; }
.sh-btn.full { width: 100%; }
.sh-btn:disabled { opacity: .8; transform: none; }
.sh-proof { margin-top: 14px; font-size: 13px; opacity: .75; }
.sh-mag { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(260px, 380px); gap: 22px; align-items: center; max-width: 1060px; margin: 28px auto 0; padding: 22px 28px; border-radius: 22px; background: var(--c4); }
.sh-mag-av { width: 80px; }
.sh-mag h3 { font-size: 22px; }
.sh-mag p { font-size: 14px; opacity: .8; margin-top: 4px; }
.sh-mag-f { display: flex; gap: 8px; }
.sh-mag-f input { border-radius: 99px !important; border-color: transparent !important; min-height: 46px !important; padding: 0 18px !important; }
.sh-ok { font-size: 14px; padding: 14px 18px; border-radius: 14px; background: var(--c2); }
.sh-ok a { color: var(--c3); font-weight: 600; }
.sh-sec { max-width: 1060px; margin: 0 auto; padding: 52px 20px 0; }
.sh-sec h2 { font-size: 30px; margin-bottom: 20px; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.sp { display: flex; flex-direction: column; border-radius: var(--sh-r); background: color-mix(in srgb, #fff 55%, var(--c2)); border: 1px solid color-mix(in srgb, var(--c1) 8%, transparent); overflow: hidden; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.sp:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); }
.sp-th { position: relative; aspect-ratio: 4 / 4.2; display: grid; place-items: center; padding: 18px; background: color-mix(in srgb, var(--c4) 55%, transparent); }
.sp-th > .cv, .sp-th > .tile { width: 58%; }
.sp-th > .mk-wrap { background: transparent; }
.sp-tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: var(--c3); color: #fff; font: 700 11px var(--body); }
.sp-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sp-b small { font: 700 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--c3); }
.sp-b h3 { font-size: 18px; }
.sp-b p { font-size: 13px; opacity: .72; }
.sp-f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.sp-f b { font-size: 16px; }
.sp-f s { font-weight: 400; font-size: 12.5px; opacity: .55; }
.sp-add { width: 40px; height: 40px; border-radius: 50%; background: var(--c1); color: var(--c2); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: transform .2s, background .2s; }
.sp-add:hover { background: var(--c3); transform: scale(1.08); }
.sh-rev { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sh-rev figure { margin: 0; padding: 22px; border-radius: var(--sh-r); background: color-mix(in srgb, #fff 55%, var(--c2)); border: 1px solid color-mix(in srgb, var(--c1) 8%, transparent); }
.sh-rev p { color: var(--c3); letter-spacing: 2px; }
.sh-rev blockquote { margin: 8px 0 12px; font: 500 17px/1.45 var(--ft); }
.sh-rev figcaption { font-size: 13px; font-weight: 600; }
.sh-rev figcaption span { font-weight: 400; opacity: .65; }
.sh-foot { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 60px 20px 40px; margin-top: 40px; font-size: 13px; }
.sh-foot-av { width: 64px; }
.sh-foot p { opacity: .75; }
.sh-foot .made { color: inherit; font-size: 12px; }
.sh-foot .made a { color: var(--c3); font-weight: 600; }
.thanks { display: grid; justify-items: center; text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 20px 80px; }
.th-av { width: 150px; }
.thanks h1 { font-size: 40px; margin-top: 14px; }
.th-items { display: grid; gap: 10px; width: 100%; margin-top: 24px; }
.th-i { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, #fff 60%, var(--c2)); text-align: left; }
.th-th { width: 44px; flex: none; }
.th-i > span:nth-child(2) { flex: 1; min-width: 160px; }
.th-i b { display: block; }
.th-i small { font-size: 12.5px; opacity: .7; }

/* Detalle de producto */
.det { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; color: var(--c1); }
.det-th { display: grid; place-items: center; padding: 22px; border-radius: 18px; background: var(--c4); position: sticky; top: 0; }
.det-th > .cv, .det-th > .tile { width: 78%; }
.det-th > .mk-wrap { background: transparent; }
.det h2 { font: 700 28px/1.1 var(--ft); margin-top: 6px; }
.det .sh-ul { margin-bottom: 0; }
.det-rev { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--c3); background: color-mix(in srgb, var(--c4) 45%, transparent); border-radius: 0 12px 12px 0; font: 500 15px/1.45 var(--ft); }
.det-rev span { font: 600 12.5px var(--body); opacity: .7; }

/* Carrito */
.cart-scrim { position: fixed; inset: 0; background: rgba(23, 19, 42, .45); z-index: 60; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 70; background: var(--c2, #fff); color: var(--c1, var(--ink)); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); visibility: hidden; }
.cart.open { transform: none; visibility: visible; }
.cart-h { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid color-mix(in srgb, var(--c1, #000) 10%, transparent); }
.cart-h h2 { font: 700 22px var(--ft, var(--display)); }
.cart-h .modal-x { position: static; }
#cart-body { flex: 1; overflow-y: auto; padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-l { display: grid; gap: 10px; }
.cl { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: color-mix(in srgb, #fff 60%, var(--c2, #fff)); }
.cl-th { width: 52px; flex: none; }
.cl-b { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cl-b b { font-size: 14px; }
.cl-b small { font-size: 12px; opacity: .65; }
.cl-r { text-align: right; font-weight: 700; display: grid; gap: 2px; justify-items: end; }
.cl-r .lnk { color: inherit; opacity: .6; font-weight: 500; font-size: 12px; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-weight: 600; font-size: 13px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c1, #000) 25%, transparent); }
.ups { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--c3, var(--accent)); }
.ups-th { width: 44px; flex: none; }
.ups > span:nth-child(2) { flex: 1; min-width: 0; font-size: 13px; }
.ups b { display: block; }
.ups small { font-size: 12px; opacity: .7; }
.cart-t { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: auto; border-top: 1px solid color-mix(in srgb, var(--c1, #000) 10%, transparent); font-size: 15px; }
.cart-t b { font: 800 24px var(--display); }
.cart-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 50px 0; opacity: .85; }
.cart-empty span { width: 110px; }

/* Pago */
.ck { color: var(--c1); }
.pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pay label { cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay span { display: grid; gap: 2px; height: 100%; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: 13px; color: var(--ink); }
.pay small { font-weight: 400; font-size: 11.5px; color: var(--muted); }
.pay input:checked + span { border-color: var(--c3); background: color-mix(in srgb, var(--c3) 10%, #fff); }
.pay input:focus-visible + span { outline: 2.5px solid var(--violet); outline-offset: 2px; }
.ck-sum { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--cream); font-size: 13.5px; color: var(--ink); }
.ck-sum div { display: flex; justify-content: space-between; gap: 12px; }
.ck-sum .t { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-weight: 800; font-size: 16px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Lector */
.reader { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: rgba(14, 11, 26, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.rd-top { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.rd-top b { flex: 1; font: 600 14px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-top span { font-size: 13px; opacity: .7; }
.rd-top .modal-x { position: static; color: #fff; }
.rd-top .modal-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.rd-prog { height: 3px; background: rgba(255, 255, 255, .12); }
.rd-prog i { display: block; height: 100%; background: var(--c3); transition: width .3s var(--ease); }
.rd-stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; min-height: 0; }
.rd-nav { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 28px; line-height: 1; flex: none; }
.rd-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
.rd-page { height: min(80vh, 760px); aspect-ratio: 2 / 3; max-width: calc(100vw - 160px); overflow-y: auto; background: var(--c2); color: var(--c1); border-radius: 4px 10px 10px 4px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); animation: pop .3s var(--ease); }
.pg { padding: 12% 11%; font: 400 15.5px/1.75 Georgia, "Fraunces", serif; }
.pg h2 { font: 700 28px/1.12 var(--ft); margin: 8px 0 22px; }
.pg p + p { margin-top: 14px; }
.pg .kicker { color: var(--c3); font-family: var(--body); }
.pg p.first::first-letter { float: left; font: 700 54px/.9 var(--ft); color: var(--c3); margin: 4px 8px 0 0; }
.pg .toc { font-family: var(--body); margin-top: 16px; }
.pg .toc li::marker { color: var(--c3); }
.pg-cv { padding: 0; height: 100%; }
.pg-cv .cv { height: 100%; border-radius: 0; box-shadow: none; }
.pg.end { height: 100%; display: grid; align-content: center; justify-items: center; text-align: center; gap: 12px; font-family: var(--body); }
.pg.end h2 { margin: 0; }
.end-av { width: 120px; }

/* Impresión del ebook (Descargar PDF) */
#print { display: none; }
@media print {
  @page { size: A5; margin: 18mm 16mm; }
  @page :first { margin: 0; }
  body { background: #fff; }
  .app, .cart, .cart-scrim, .reader, .modal, .toast, .skip { display: none !important; }
  #print { display: block; color: var(--c1); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pp { break-after: page; font: 400 11pt/1.65 Georgia, serif; }
  .pp h2 { font: 700 20pt/1.15 var(--ft); margin: 6pt 0 14pt; }
  .pp p + p { margin-top: 9pt; }
  .pp .kicker { color: var(--c3); }
  .pp-cv .cv { width: 148mm; height: 210mm; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .pp-cv .cv::after { display: none; }
  .pp-legal { margin-top: 30pt; font-size: 8pt; opacity: .6; }
}

/* ===== Adaptable ===== */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .stage { position: static; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); justify-items: stretch; align-items: center; }
  .stage-av { grid-row: span 3; }
  .uses { border-top: 0; padding-top: 0; }
}
@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .app.open .side { transform: none; }
  .burger { display: flex; }
  .top { padding: 12px 16px; }
  .top-title h1 { font-size: 21px; }
  .top-acts .btn span { display: none; }
  .view { padding: 18px 16px 56px; }
  .hero-hub { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .hh-art { height: 300px; }
  .g2, .g3, .g-main { grid-template-columns: minmax(0, 1fr); }
  .editor, .cv-ed, .sale-ed, .merch-ed, .brand-ed { grid-template-columns: minmax(0, 1fr); }
  .chs, .cv-prev, .m-stage, .phone { position: static; }
  .cv-prev .cv.lg { max-width: 260px; }
  .phone { max-width: 380px; }
  .sh-feat { grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 10px 16px 0; padding: 28px 22px; }
  .sh-feat-cv { width: 100%; max-width: 220px; margin: 0 auto; }
  .sh-mag { grid-template-columns: auto minmax(0, 1fr); margin: 24px 16px 0; padding: 20px; }
  .sh-mag-f { grid-column: 1 / -1; }
  .det { grid-template-columns: minmax(0, 1fr); }
  .det-th { position: static; max-width: 280px; }
  .lz-head { flex-direction: column-reverse; align-items: stretch; }
  .lz-th { display: none; }
}
@media (max-width: 640px) {
  .top { flex-wrap: wrap; }
  .top-acts { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .top-acts:empty { display: none; }
  .ch-title { font-size: 20px !important; }
  .ch-body { min-height: 300px; }
  .steps, .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi b { font-size: 24px; }
  .stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .stage-av { width: 220px; grid-row: auto; }
  .vgrid, .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f2, .pay, .ideas, .lz-sel { grid-template-columns: minmax(0, 1fr); }
  .bars { gap: 2px; height: 160px; }
  .bar small { font-size: 9px; }
  .modal { padding: 10px; align-items: end; }
  .modal-box { padding: 22px 18px; border-radius: 20px 20px 14px 14px; }
  .hh-chip { display: none; }
  .sh-nav { gap: 10px; padding: 10px 16px; }
  .sh-links { display: none; }
  .sh-cart { margin-left: auto; }
  .sh-brand { font-size: 15px; }
  .sh-mag-f { flex-direction: column; }
  .sh-sec { padding: 40px 16px 0; }
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sp-b h3 { font-size: 15px; }
  .sp-b p { display: none; }
  .sp-th { padding: 12px; }
  .demo-bar { padding: 8px 16px; font-size: 11.5px; }
  .demo-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rd-stage { padding: 10px 6px; gap: 6px; }
  .rd-nav { width: 36px; height: 36px; font-size: 22px; }
  .rd-page { max-width: calc(100vw - 96px); height: auto; max-height: 78vh; aspect-ratio: auto; min-height: 60vh; }
  .pg { padding: 32px 22px; font-size: 15px; }
  .pg-cv { padding: 0; }
  .tabs.big { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
