/* ===== Base ===== */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --brand: #2563eb;
  --brand-ink: #ffffff;
  --brand-soft: #eff6ff;
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #dc2626;
  --bad-soft: #fee2e2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, .18);
  --c: #2563eb;
  --c-ink: #ffffff;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 14px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--bg-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.danger { color: var(--bad); border-color: #fecaca; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--bg-3); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--ink-2);
}
.icon-btn:hover { background: var(--bg-3); }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.icon-btn.danger:hover { color: var(--bad); background: var(--bad-soft); }

/* ===== Formularios ===== */
.field { display: grid; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field-hint { font-size: 12px; color: var(--muted); }
.field-error { font-size: 12px; color: var(--bad); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.input-affix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.input-affix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.input-affix input { border: 0 !important; box-shadow: none !important; min-width: 0; }
.input-affix span { display: flex; align-items: center; padding: 0 12px; background: var(--bg-3); color: var(--muted); font-size: 14px; white-space: nowrap; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-error { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bad-soft); color: #991b1b; font-size: 14px; }
.search { position: relative; flex: 1; min-width: 180px; }
.search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; }
.search input { padding-left: 38px !important; }

/* ===== Imagen ===== */
.img-input { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px dashed var(--line-2); }
.img-input.square { aspect-ratio: 1; max-width: 260px; }
.img-input.wide { aspect-ratio: 3 / 1; }
.img-input.logo { aspect-ratio: 1; max-width: 140px; }
.img-input img { width: 100%; height: 100%; object-fit: cover; }
.img-input.logo img { object-fit: contain; background: #fff; }
.img-empty {
  width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 4px; padding: 12px; color: var(--muted); text-align: center;
}
.img-empty span { font-weight: 600; color: var(--ink-2); font-size: 14px; }
.img-empty small { font-size: 11px; }
.img-empty .ico { width: 28px; height: 28px; }
.img-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.img-actions { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 6px; }
.img-actions .btn { background: rgba(255, 255, 255, .95); }

/* ===== Varios ===== */
.spinner { display: inline-block; width: 22px; height: 22px; border: 2.5px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.big { width: 34px; height: 34px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-pad { display: grid; place-items: center; padding: 60px 0; }
.boot-loader { min-height: 100vh; display: grid; place-items: center; }
.toast {
  position: fixed; left: 50%; top: max(16px, env(safe-area-inset-top)); transform: translateX(-50%); z-index: 100; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px;
  box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); animation: toast-in .2s ease-out;
}
.toast.error { background: var(--bad); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -10px); } }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-3); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: #166534; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: #991b1b; }
.badge.info { background: var(--brand-soft); color: #1d4ed8; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: 16px; margin-bottom: 4px; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 48px 16px; text-align: center; color: var(--muted); }
.empty strong { color: var(--ink); font-size: 16px; }
.notfound { min-height: 80vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.notfound h1 { font-size: 64px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; }
.alert .ico { margin-top: 1px; }
.alert.warn { background: var(--warn-soft); color: #78350f; }
.alert.bad { background: var(--bad-soft); color: #7f1d1d; }
.alert.info { background: var(--brand-soft); color: #1e3a8a; }
.alert.ok { background: var(--ok-soft); color: #14532d; }
.alert .grow { flex: 1; }
.pre { white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--bg-3); padding: 12px; border-radius: var(--radius-sm); margin: 0; }

/* ===== Modal ===== */
.modal-bg { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.modal {
  background: #fff; width: 100%; max-height: 92vh; display: flex; flex-direction: column;
  border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg); animation: slide-up .2s ease-out;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 640px) {
  .modal-bg { align-items: center; padding: 24px; }
  .modal { max-width: 520px; border-radius: 20px; }
  .modal.wide { max-width: 760px; }
}

/* ===== Tablas ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ======================================================================
   Sitio de la plataforma
   ====================================================================== */
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.site-nav .links { display: flex; align-items: center; gap: 6px; }
.site-nav .hide-sm { display: none; }
@media (min-width: 720px) { .site-nav .hide-sm { display: inline-flex; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { padding: 48px 0 56px; background: radial-gradient(1000px 500px at 85% -10%, #dbeafe 0%, transparent 60%), radial-gradient(700px 400px at -10% 110%, #ede9fe 0%, transparent 60%); overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 90px; } .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Teléfono de muestra */
.phone { width: 290px; max-width: 100%; margin: 0 auto; border-radius: 40px; padding: 12px; background: #0f172a; box-shadow: 0 30px 80px rgba(15, 23, 42, .3); transform: rotate(2deg); }
.phone .screen { border-radius: 30px; overflow: hidden; background: #fff; height: 540px; display: flex; flex-direction: column; }
.phone .p-head { padding: 26px 16px 16px; background: linear-gradient(135deg, #f97316, #db2777); color: #fff; }
.phone .p-logo { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-weight: 800; color: #db2777; margin-bottom: 10px; }
.phone .p-head b { display: block; font-size: 17px; }
.phone .p-head small { opacity: .9; font-size: 12px; }
.phone .p-chips { display: flex; gap: 6px; padding: 12px 12px 4px; }
.phone .p-chips span { padding: 5px 10px; border-radius: 999px; background: var(--bg-3); font-size: 11px; font-weight: 600; }
.phone .p-chips span:first-child { background: #db2777; color: #fff; }
.phone .p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px; flex: 1; }
.phone .p-item { border-radius: 12px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.phone .p-item i { display: block; aspect-ratio: 1; }
.phone .p-item b { display: block; font-size: 11px; padding: 6px 8px 0; }
.phone .p-item small { display: block; font-size: 11px; padding: 0 8px 8px; color: #db2777; font-weight: 700; }
.phone .p-cart { margin: 0 12px 14px; padding: 12px; border-radius: 14px; background: #22c55e; color: #fff; font-weight: 700; font-size: 13px; text-align: center; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { display: flex; gap: 14px; padding: 18px; }
.feature .ico { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.feature h4 { font-size: 15px; margin-bottom: 3px; }
.feature p { font-size: 14px; color: var(--muted); }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 18px; }
.plan .price { margin: 12px 0 4px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan li .ico { width: 18px; height: 18px; color: var(--ok); }
.plan.selectable { cursor: pointer; text-align: left; font: inherit; transition: border-color .15s; }
.plan.selectable:hover { border-color: var(--line-2); }
.plan.selectable.on { border: 2px solid var(--brand); background: var(--brand-soft); }
.plan.compact { padding: 16px; }
.plan.compact .price { font-size: 26px; margin: 6px 0 0; }
.plan.compact ul { margin: 10px 0 0; gap: 6px; }

.pay-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 16px; color: var(--ink-2); font-size: 14px; }
.cta-band { text-align: center; padding: 64px 16px; background: var(--ink); color: #fff; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.cta-band p { color: #cbd5e1; margin: 10px 0 24px; }
.site-foot { padding: 28px 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* Autenticación */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--bg-2); }
.auth-box { width: 100%; max-width: 440px; }
.auth-box.wide { max-width: 760px; }
.auth-box .brand { justify-content: center; margin-bottom: 24px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .auth-card { padding: 32px; } }
.auth-card h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.auth-card > p { color: var(--muted); margin: 6px 0 22px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--brand); font-weight: 600; text-decoration: none; }
.slug-state { font-size: 12px; font-weight: 600; }
.slug-state.ok { color: var(--ok); }
.slug-state.bad { color: var(--bad); }
.steps-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-dots i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.steps-dots i.on { background: var(--brand); }

/* ======================================================================
   Panel (cliente y superadmin)
   ====================================================================== */
.app { min-height: 100vh; background: var(--bg-2); }
.app-side { display: none; }
.app-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 58px; padding: 0 12px 0 16px; background: #fff; border-bottom: 1px solid var(--line); }
.app-top .brand { font-size: 16px; }
.app-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.app-tabs a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 10.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.app-tabs a.on { color: var(--brand); }
.app-main { padding: 20px 16px 96px; max-width: 1040px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.page-head p { color: var(--muted); margin-top: 2px; font-size: 14px; }
@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 248px 1fr; }
  .app-top, .app-tabs { display: none; }
  .app-side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 20px 14px; background: #fff; border-right: 1px solid var(--line); }
  .app-side .brand { padding: 0 8px; margin-bottom: 24px; }
  .app-side nav { display: grid; gap: 2px; }
  .app-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; }
  .app-side nav a:hover { background: var(--bg-3); }
  .app-side nav a.on { background: var(--brand-soft); color: var(--brand); }
  .app-side nav a .count { margin-left: auto; }
  .app-side .side-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
  .app-side .who { padding: 0 8px; font-size: 13px; }
  .app-side .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-main { padding: 32px 40px 48px; }
}
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; }
.app-tabs a { position: relative; }
.app-tabs a .count { position: absolute; top: 4px; left: calc(50% + 6px); }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat small { font-size: 12px; color: var(--muted); }

.link-card { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.link-card .url { font-size: clamp(17px, 3vw, 22px); font-weight: 700; word-break: break-all; }
.link-card .btn { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
.link-card .btn:hover { background: rgba(255, 255, 255, .16); }
.link-card .btn.wa { background: #22c55e; border-color: #22c55e; }
.checklist { display: grid; gap: 2px; }
.checklist a, .checklist div { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.checklist a:hover { background: var(--bg-3); }
.checklist i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; }
.checklist .done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.checklist .done span { color: var(--muted); text-decoration: line-through; }
.checklist i .ico { width: 14px; height: 14px; }
.progress { height: 8px; border-radius: 8px; background: var(--bg-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand); border-radius: 8px; }

/* Lista de productos del panel */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar select { width: auto; min-width: 150px; }
.plist { display: grid; gap: 8px; }
.pitem { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pitem.off { opacity: .6; }
.pitem .thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--bg-3); flex-shrink: 0; display: grid; place-items: center; color: var(--muted); }
.pitem .info { flex: 1; min-width: 0; }
.pitem .info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.pitem .info small { color: var(--muted); font-size: 13px; }
.pitem .acts { display: flex; align-items: center; gap: 2px; }
.switch { position: relative; width: 40px; height: 24px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .15s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch input:checked + i { background: var(--ok); }
.switch input:checked + i::after { transform: translateX(16px); }
.catrow { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.catrow .name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; }
.catrow input { height: 36px !important; }
.colors { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.colors button { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.colors button.on { box-shadow: 0 0 0 2px var(--ink); }
.colors input[type=color] { width: 40px; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; padding: 2px; background: #fff; cursor: pointer; }
.tabs-mini { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs-mini button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.tabs-mini button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-3); }
.sum b { font-size: 22px; }
.section-title { font-size: 15px; font-weight: 700; margin: 28px 0 12px; }
.pay-item { display: grid; gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.proof-img { max-height: 60vh; margin: 0 auto; border-radius: var(--radius-sm); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ======================================================================
   Catálogo público
   ====================================================================== */
.cat { min-height: 100vh; background: var(--bg-2); padding-bottom: 100px; }
.cat-hero { position: relative; background: var(--c); color: var(--c-ink); }
.cat-hero.has-banner { background-size: cover; background-position: center; color: #fff; }
.cat-hero.has-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .65)); }
.cat-hero .inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 36px 16px 28px; display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.cat-hero.has-banner .inner { padding-top: 120px; }
.cat-logo { width: 76px; height: 76px; border-radius: 18px; background: #fff; object-fit: contain; padding: 6px; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); flex-shrink: 0; }
.cat-logo.letter { display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--c); padding: 0; }
.cat-hero .text { flex: 1; min-width: 220px; }
.cat-hero h1 { font-size: clamp(24px, 5vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.cat-hero p { margin-top: 6px; opacity: .92; max-width: 640px; font-size: 15px; }
.cat-contacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cat-contacts a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); }
.cat-contacts .ico { width: 16px; height: 16px; }
.cat-bar { position: sticky; top: 0; z-index: 15; background: rgba(248, 250, 252, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-bar .inner { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: grid; gap: 10px; }
.cat-bar .search input { height: 44px; border-radius: 12px; background: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.chips button.on { background: var(--c); border-color: var(--c); color: var(--c-ink); }
.cat-body { max-width: 1120px; margin: 0 auto; padding: 18px 16px; }
.cat-group { margin-bottom: 28px; }
.cat-group h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.pgrid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 960px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pcard { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .ph { aspect-ratio: 1; background: var(--bg-3); display: grid; place-items: center; color: var(--line-2); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .ph .ico { width: 36px; height: 36px; }
.pcard .bd { padding: 10px 12px 12px; display: grid; gap: 4px; flex: 1; align-content: start; }
.pcard .nm { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pr { font-weight: 800; color: var(--c); font-size: 15px; }
.pcard .pr.ask { font-weight: 600; color: var(--muted); font-size: 13px; }
.pcard .incart { position: absolute; }
.pdetail .ph { border-radius: var(--radius); overflow: hidden; background: var(--bg-3); aspect-ratio: 1; margin: -4px 0 16px; }
.pdetail .ph img { width: 100%; height: 100%; object-fit: cover; }
.pdetail h2 { font-size: 20px; font-weight: 800; }
.pdetail .pr { font-size: 22px; font-weight: 800; color: var(--c); margin-top: 6px; }
.pdetail .desc { margin-top: 12px; color: var(--ink-2); white-space: pre-line; font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.qty button { width: 40px; height: 42px; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-3); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.qty.sm button { width: 32px; height: 32px; }
.qty.sm span { min-width: 26px; font-size: 14px; }
.cat .btn.primary { background: var(--c); border-color: var(--c); color: var(--c-ink); }
.cat .check input { accent-color: var(--c); }
.cart-fab {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30;
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px;
  background: #16a34a; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 10px 30px rgba(22, 163, 74, .4); white-space: nowrap;
}
.cart-fab b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: #fff; color: #16a34a; font-size: 13px; }
.wa-fab { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #22c55e; color: #fff; box-shadow: 0 8px 24px rgba(34, 197, 94, .45); }
.wa-fab .ico { width: 28px; height: 28px; }
.cart-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line .noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--bg-3); flex-shrink: 0; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .info b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-line .info small { color: var(--muted); }
.btn.wa { background: #16a34a; border-color: #16a34a; color: #fff; }
.cat-foot { text-align: center; padding: 30px 16px; font-size: 13px; color: var(--muted); }
.cat-foot a { font-weight: 600; color: var(--ink-2); }
.cat-off { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; background: var(--bg-2); }
.cat-off .ico { width: 44px; height: 44px; color: var(--muted); }
.cat-off h1 { font-size: 22px; }
.pitem { min-width: 0; }
.pitem .acts { flex-shrink: 0; }
@media (max-width: 600px) {
  .pitem .acts .reorder { display: none; }
  .pitem .acts .icon-btn { width: 34px; }
}

.pdetail .pr .old { font-size: 15px; font-weight: 500; color: var(--muted); }

/* ======================================================================
   Plantilla: Minimal Store
   ====================================================================== */
.ms {
  --ms-bg: #ffffff; --ms-soft: #f7f7f7; --ms-ink: #111111; --ms-ink-2: #686868; --ms-line: #eaeaea;
  --ms-black: #080808; --ms-red: #e53935; --ms-gold: #b8915a; --ms-beige: #f3ece3;
  min-height: 100vh; background: var(--ms-bg); color: var(--ms-ink); padding-bottom: 24px;
}
.ms a { text-decoration: none; color: inherit; }
.ms-cart, .ms-card-img, .ms-card-name, .ms-add, .ms-foot li button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ms-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .ms-wrap { padding: 0 48px; } }

/* Encabezado */
.ms-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ms-line); }
.ms-head-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cart" "search search" "nav nav"; align-items: center; gap: 10px 16px; padding-top: 12px; padding-bottom: 10px; }
.ms-brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 19px; letter-spacing: -.01em; text-transform: uppercase; }
.ms-brand img { height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.ms-brand .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.ms-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-search { grid-area: search; position: relative; display: block; }
.ms-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #333; }
.ms-search input { width: 100%; height: 40px; padding: 0 16px 0 40px; border: 1px solid transparent; border-radius: 999px; background: #f2f2f2; font-size: 13px; outline: none; }
.ms-search input:focus { background: #fff; border-color: #cfcfcf; }
.ms-nav { grid-area: nav; display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.ms-nav::-webkit-scrollbar { display: none; }
.ms-nav a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; color: #222; }
.ms-nav a:hover { color: #000; }
.ms-nav .ico { width: 16px; height: 16px; }
.ms-cart { grid-area: cart; position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.ms-cart .ico { width: 26px; height: 26px; stroke-width: 1.7; }
.ms-cart b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ms-black); color: #fff; font-size: 10px; display: grid; place-items: center; }
@media (min-width: 900px) {
  .ms-head-in { grid-template-columns: minmax(max-content, 260px) minmax(200px, 400px) 1fr auto; grid-template-areas: "brand search nav cart"; height: 74px; padding-top: 0; padding-bottom: 0; gap: 36px; }
  .ms-brand span { overflow: visible; }
  .ms-nav { justify-content: flex-end; gap: 24px; overflow: visible; }
}

/* Banner principal */
.ms-hero { position: relative; background: #f2f2f0; overflow: hidden; }
.ms-hero-img { position: relative; height: 230px; }
.ms-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ms-hero-text { position: relative; padding: 28px 0 32px; }
.ms-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #777; margin-bottom: 14px; }
.ms-hero h1 { font-size: clamp(32px, 7vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; color: var(--ms-ink); max-width: 520px; }
.ms-hero p { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--ms-ink-2); max-width: 400px; }
.ms-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; margin-top: 24px; padding: 0 22px; border-radius: 999px; background: var(--ms-black); color: #fff !important; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .15s; }
.ms-btn:hover { transform: translateY(-1px); }
.ms-btn .ico { width: 16px; height: 16px; }
.ms-btn.sm { height: 38px; margin-top: 18px; padding: 0 18px; font-size: 13px; }
.ms-benefits { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.ms-benefits li { display: flex; align-items: center; gap: 10px; max-width: 150px; font-size: 11.5px; line-height: 1.35; color: #333; }
.ms-benefits .ico { width: 26px; height: 26px; stroke-width: 1.5; flex-shrink: 0; }
@media (min-width: 900px) {
  .ms-hero { min-height: 360px; display: flex; align-items: center; }
  .ms-hero > .ms-wrap { width: 100%; }
  .ms-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; }
  .ms-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f2f2f0 0%, rgba(242, 242, 240, .6) 14%, rgba(242, 242, 240, 0) 34%); }
  .ms-hero-text { padding: 44px 0; max-width: 46%; }
  .ms-benefits { flex-wrap: nowrap; width: max-content; max-width: 620px; gap: 30px; }
  .ms-benefits li { max-width: 140px; }
  .ms-hero:not(.has-img) .ms-hero-text { max-width: 640px; }
  .ms-hero h1 { font-size: 46px; }
}

/* Categorías */
.ms-cats { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 26px 20px 10px; margin: 0 -20px; }
.ms-cats::-webkit-scrollbar { display: none; }
.ms-cat { display: grid; justify-items: center; align-content: start; gap: 10px; width: 78px; flex-shrink: 0; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.25; }
.ms-cat-img { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--ms-soft); overflow: hidden; transition: box-shadow .15s; }
.ms-cat:hover .ms-cat-img { box-shadow: 0 0 0 2px var(--ms-ink); }
.ms-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.ms-cat-img b { font-size: 24px; font-weight: 700; color: #999; }
.ms-cat-img .ico { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .ms-cats { padding: 30px 0 6px; margin: 0; gap: 34px; }
  .ms-cats.spread { justify-content: space-between; gap: 12px; }
  .ms-cat { width: 90px; }
}

/* Secciones y tarjetas */
.ms-section { padding-top: 34px; }
.ms-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ms-section-head h2 { font-size: clamp(21px, 3.4vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.ms-section-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; color: #222; }
.ms-section-head .ico { width: 15px; height: 15px; }
.ms-count { font-size: 13px; color: var(--ms-ink-2); }
.ms-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) {
  .ms-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .ms-row > :nth-child(n+6) { display: none; }
}
.ms-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--ms-line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s; }
.ms-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.ms-card-img { position: relative; display: grid !important; place-items: center; width: 100%; aspect-ratio: 6 / 5; padding: 10px !important; background: #fff !important; color: #cfcfcf !important; }
.ms-card-img img { width: 100%; height: 100%; object-fit: contain; }
.ms-card-img .ico { width: 34px; height: 34px; }
.ms-off { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; background: var(--ms-red); color: #fff; font-size: 11px; font-weight: 700; }
.ms-card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 12px; }
.ms-card-name { text-align: left; font-size: 13px !important; font-weight: 600; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ms-price { display: flex; flex-direction: column; justify-content: flex-end; min-height: 38px; margin-top: auto; }
.ms-price s { font-size: 11px; color: #a0a0a0; }
.ms-price b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ms-price .ask { font-size: 13px; color: var(--ms-ink-2); font-weight: 500; }
.ms-card-actions { display: flex; gap: 8px; margin-top: 6px; }
.ms-add { display: grid !important; place-items: center; width: 40px; height: 34px; flex-shrink: 0; border: 1px solid var(--ms-line) !important; border-radius: 6px; }
.ms-add:hover { border-color: var(--ms-ink) !important; }
.ms-add .ico { width: 18px; height: 18px; stroke-width: 1.8; }
.ms-ask { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 34px; padding: 0 8px; border-radius: 6px; background: var(--ms-black); color: #fff !important; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ms-ask .ico { width: 15px; height: 15px; }
@media (max-width: 380px) { .ms-ask { font-size: 0; gap: 0; } .ms-ask .ico { width: 18px; height: 18px; } }

/* Banner promocional */
.ms-promo { position: relative; display: block; margin-top: 30px; border-radius: 8px; overflow: hidden; background: var(--ms-beige); }
.ms-promo-img { height: 180px; }
.ms-promo-img img { width: 100%; height: 100%; object-fit: cover; }
.ms-promo-text { position: relative; padding: 24px 22px 28px; }
.ms-gold { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ms-gold); margin-bottom: 8px; }
.ms-promo h2 { font-size: clamp(28px, 6vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.ms-promo p { margin-top: 8px; font-size: 16px; color: #555; max-width: 380px; }
.ms-seal { position: absolute; top: 14px; right: 14px; display: grid; place-content: center; justify-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #d4b07a, #b8915a); color: #fff; box-shadow: 0 6px 20px rgba(184, 145, 90, .35); text-transform: uppercase; }
.ms-seal small { font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.ms-seal b { font-size: 26px; line-height: 1; font-weight: 800; }
@media (min-width: 900px) {
  .ms-promo { min-height: 200px; display: flex; align-items: center; }
  .ms-promo-img { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: auto; }
  .ms-promo-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ms-beige) 0%, rgba(243, 236, 227, .55) 16%, rgba(243, 236, 227, 0) 38%); }
  .ms-promo-text { padding: 34px 48px; max-width: 50%; }
  .ms-seal { top: 50%; right: 12%; transform: translateY(-50%); width: 108px; height: 108px; }
  .ms-seal b { font-size: 32px; }
}

/* Lista */
.ms-list { min-height: 50vh; }
.ms-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ms-ink-2) !important; margin-bottom: 10px; }
.ms-back .ico { width: 16px; height: 16px; }
.ms-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px -20px 18px; padding: 0 20px; }
.ms-chips::-webkit-scrollbar { display: none; }
.ms-chips a { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ms-line); font-size: 13px; font-weight: 500; }
.ms-chips a.on { background: var(--ms-black); border-color: var(--ms-black); color: #fff; }

/* Pie */
.ms-foot { margin-top: 48px; background: #f6f6f6; border-top: 1px solid var(--ms-line); }
.ms-foot-in { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
@media (min-width: 900px) { .ms-foot-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.ms-foot-brand p { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ms-ink-2); max-width: 300px; }
.ms-foot h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.ms-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ms-foot li a, .ms-foot li button { font-size: 12.5px !important; color: var(--ms-ink-2) !important; text-align: left; }
.ms-foot li a:hover, .ms-foot li button:hover { color: var(--ms-ink) !important; }
.ms-contact { margin-top: 14px !important; }
.ms-contact a { display: inline-flex; align-items: center; gap: 8px; }
.ms-contact .ico { width: 15px; height: 15px; }
.ms-social { display: flex; gap: 14px; }
.ms-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ms-ink); border: 1px solid #dedede; }
.ms-social a:hover { background: var(--ms-ink); color: #fff; border-color: var(--ms-ink); }
.ms-social .ico { width: 17px; height: 17px; }
.ms-made { padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--ms-line); font-size: 12px; color: #999; }
.ms-made a { color: #666 !important; font-weight: 600; }
.ms-info { white-space: pre-line; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ms-wa { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
.ms-wa .ico { width: 30px; height: 30px; }
@media (max-width: 899px) { .ms { padding-bottom: 84px; } }
.ms .btn.primary { background: var(--ms-black); border-color: var(--ms-black); color: #fff; }

/* Selector de plantillas (panel) */
.tpl-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tpl { display: grid; gap: 4px; padding: 10px 10px 12px; text-align: left; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer; font: inherit; }
.tpl:hover { border-color: var(--muted); }
.tpl.on { border: 2px solid var(--brand); padding: 9px 9px 11px; background: var(--brand-soft); }
.tpl b { font-size: 14px; margin-top: 6px; }
.tpl small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.tpl-prev { display: grid; gap: 4px; height: 92px; padding: 6px; border-radius: 8px; background: #f1f5f9; overflow: hidden; }
.tpl-prev i { display: block; border-radius: 3px; background: #fff; }
.tpl-prev.classic { grid-template-rows: 34px 1fr; grid-template-columns: repeat(3, 1fr); }
.tpl-prev.classic i:first-child { grid-column: 1 / -1; background: var(--brand); }
.tpl-prev.minimal { grid-template-rows: 8px 30px 1fr; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); }
.tpl-prev.minimal i:nth-child(1) { grid-column: 1 / -1; background: #111; height: 4px; width: 40%; margin-top: 2px; }
.tpl-prev.minimal i:nth-child(2) { grid-column: 1 / -1; background: linear-gradient(90deg, #f2f2f0 45%, #d6d3cd); }
.tpl-prev.minimal i:nth-child(3), .tpl-prev.minimal i:nth-child(4) { border: 1px solid #eaeaea; }
@media (max-width: 639px) { .ms-row > :last-child:nth-child(odd) { display: none; } }

/* Tienda: detalles compartidos por Minimal Store y Furniture & Home */
.ms { --ms-accent: var(--ms-ink); }
.ms-brand-name { display: grid; min-width: 0; line-height: 1.05; }
.ms-brand-name small { font-size: 8.5px; font-weight: 600; letter-spacing: .32em; color: var(--ms-ink-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-hero h1 em, .ms-promo h2 em { font-style: normal; color: var(--ms-accent); }
.ms-nav a.on { color: var(--ms-accent); font-weight: 600; }

/* ======================================================================
   Plantilla: Furniture & Home (variante cálida de la tienda)
   ====================================================================== */
.ms.fh {
  --ms-ink: #171717; --ms-ink-2: #68615b; --ms-line: #eae5df; --ms-soft: #f5efe7;
  --ms-black: #92521f; --ms-accent: #92521f; --ms-gold: #92521f; --ms-beige: #f5efe7;
  --fh-dark: #663a1d; --fh-cream: #ede0d0;
}
.fh .ms-brand > .ico { color: var(--ms-accent); }
.fh .ms-brand-name small { color: var(--ms-accent); }
.fh .ms-search input { background: #f6f3ef; }
.fh .ms-nav .ico { color: var(--ms-ink); }
.fh .ms-nav a.on .ico { color: var(--ms-accent); }
.fh .ms-btn:hover, .fh .ms-ask:hover { background: var(--fh-dark); }
.fh .ms-eyebrow { color: var(--ms-accent); letter-spacing: .22em; }
.fh .ms-hero { background: #f3ebe1; }
.fh .ms-hero h1 { font-size: clamp(34px, 7.5vw, 50px); line-height: 1.02; max-width: 420px; }
.fh .ms-hero p { color: #4f4842; }
.fh .ms-section-head a .ico { color: var(--ms-accent); }
.fh .ms-cat-img { box-shadow: 0 0 0 1px var(--ms-line); }
.fh .ms-cat:hover .ms-cat-img { box-shadow: 0 0 0 2px var(--ms-accent); }
.fh .ms-card { border-radius: 6px; }
.fh .ms-card-img { padding: 0 !important; aspect-ratio: 4 / 3; background: var(--ms-soft) !important; }
.fh .ms-card-img img { object-fit: cover; }
.fh .ms-chips a.on { background: var(--ms-accent); border-color: var(--ms-accent); }
.fh .ms-seal { background: radial-gradient(circle at 30% 30%, #a8662f, #7d4519); box-shadow: 0 6px 20px rgba(102, 58, 29, .3); }
.fh .ms-foot { background: #f7f1ea; border-top-color: var(--ms-line); }
.fh .ms-social a { border-color: transparent; }
.fh .ms-cart b { background: var(--ms-accent); }
@media (min-width: 900px) {
  /* La foto ocupa todo el banner y el texto queda sobre la parte clara. */
  .fh .ms-hero { min-height: 365px; }
  .fh .ms-hero-img { width: 100%; }
  .fh .ms-hero-img::after { background: linear-gradient(90deg, rgba(245, 239, 231, .96) 0%, rgba(245, 239, 231, .82) 30%, rgba(245, 239, 231, 0) 52%); }
  .fh .ms-hero-text { max-width: 42%; padding: 40px 0; }
  .fh .ms-promo-img { width: 100%; }
  .fh .ms-promo-img::after { background: linear-gradient(90deg, rgba(245, 239, 231, .97) 0%, rgba(245, 239, 231, .85) 32%, rgba(245, 239, 231, 0) 55%); }
  .fh .ms-promo { min-height: 200px; }
  .fh .ms-seal { right: 5%; top: 30%; }
}

/* Vista previa en el selector del panel */
.tpl-prev.furniture { grid-template-rows: 8px 30px 1fr; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); }
.tpl-prev.furniture i:nth-child(1) { grid-column: 1 / -1; background: #92521f; height: 4px; width: 40%; margin-top: 2px; }
.tpl-prev.furniture i:nth-child(2) { grid-column: 1 / -1; background: linear-gradient(90deg, #f5efe7 35%, #c8a27c); }
.tpl-prev.furniture i:nth-child(3), .tpl-prev.furniture i:nth-child(4) { background: #e7d8c6; }

/* La foto no define la altura de la tarjeta: todas quedan iguales sea cual sea su proporción. */
.ms-card-img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.fh .ms-card-img img { inset: 0; width: 100%; height: 100%; }
@media (min-width: 900px) {
  .fh .ms-hero-img::after { background: linear-gradient(90deg, rgba(245, 239, 231, .97) 0%, rgba(245, 239, 231, .93) 32%, rgba(245, 239, 231, .55) 46%, rgba(245, 239, 231, 0) 62%); }
  .fh .ms-promo-img::after { background: linear-gradient(90deg, rgba(245, 239, 231, .98) 0%, rgba(245, 239, 231, .92) 36%, rgba(245, 239, 231, .5) 50%, rgba(245, 239, 231, 0) 64%); }
  .fh .ms-promo-text { max-width: 58%; }
}

/* Cantidad editable, escalas por volumen y datos mayoristas en la ficha (compartido) */
.qty input { width: 52px; height: 42px; border: 0; text-align: center; font: inherit; font-weight: 700; background: #fff; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 2px solid var(--line-2); outline-offset: -2px; }
.qty.sm input { width: 42px; height: 32px; font-size: 14px; }
.pd-sku { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.pd-meta .in { color: #16845b; font-weight: 600; }
.pd-meta .out { color: #b42318; font-weight: 600; }
.tiers { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tiers th { text-align: left; padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-2); }
.tiers td { padding: 8px 12px; border-top: 1px solid var(--line); }
.tiers td:last-child, .tiers th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tiers tr.on td { background: #eef4ff; font-weight: 700; }

/* ======================================================================
   Plantilla: Mayorista Pro
   ====================================================================== */
.mp {
  --mp-bg: #ffffff; --mp-soft: #f4f6f8; --mp-blue: #155eef; --mp-blue-2: #0f4fd1; --mp-navy: #12305a;
  --mp-green: #16845b; --mp-ink: #17202a; --mp-ink-2: #667085; --mp-line: #e4e7ec; --mp-red: #d92d20;
  min-height: 100vh; background: var(--mp-bg); color: var(--mp-ink); font-variant-numeric: tabular-nums;
}
.mp a { text-decoration: none; color: inherit; }
.mp button { font: inherit; color: inherit; }
.mp-cart, .mp-card-img, .mp-card-name, .mp-thumb, .mp-cat, .mp-promo, .mp-foot li button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.mp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .mp-wrap { padding: 0 40px; } }

/* Botones */
.mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--mp-blue); background: var(--mp-blue); color: #fff !important; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.mp-btn:hover { background: var(--mp-blue-2); border-color: var(--mp-blue-2); }
.mp-btn .ico { width: 17px; height: 17px; }
.mp-btn.sm { height: 38px; padding: 0 14px; font-size: 13px; }
.mp-btn.light { background: #fff; border-color: #fff; color: var(--mp-navy) !important; }
.mp-btn.light:hover { background: #eef4ff; border-color: #eef4ff; }
.mp-btn.outline { background: transparent; border-color: rgba(255, 255, 255, .55); }
.mp-btn.outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.mp-btn.ghost { background: #fff; border-color: var(--mp-line); color: var(--mp-ink) !important; }
.mp-btn.ghost:hover { border-color: var(--mp-ink-2); }

/* Encabezado */
.mp-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mp-line); }
.mp-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand acts" "search search" "nav nav"; align-items: center; gap: 10px 12px; padding-top: 10px; padding-bottom: 8px; }
.mp-brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; }
.mp-brand img { height: 38px; width: auto; max-width: 120px; object-fit: contain; }
.mp-mark { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; background: var(--mp-blue); color: #fff; font-weight: 800; font-size: 18px; }
.mp-brand-name { display: grid; min-width: 0; line-height: 1.1; }
.mp-brand-name > span { font-weight: 800; font-size: 17px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-brand-name small { font-size: 11px; color: var(--mp-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-search { grid-area: search; position: relative; display: block; }
.mp-search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--mp-ink-2); }
.mp-search input { width: 100%; height: 42px; padding: 0 14px 0 38px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-soft); font-size: 14px; outline: none; color: var(--mp-ink); }
.mp-search input:focus { background: #fff; border-color: var(--mp-blue); box-shadow: 0 0 0 3px rgba(21, 94, 239, .12); }
.mp-nav { grid-area: nav; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; }
.mp-nav::-webkit-scrollbar { display: none; }
.mp-nav a { padding: 6px 8px; border-radius: 6px; font-size: 13.5px; font-weight: 500; white-space: nowrap; color: #344054; }
.mp-nav a:hover { color: var(--mp-blue); background: #eef4ff; }
.mp-head-acts { grid-area: acts; display: flex; align-items: center; gap: 6px; }
.mp-head-wa span { display: none; }
.mp-head-wa { width: 40px; padding: 0 !important; }
.mp-cart { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; }
.mp-cart:hover { background: var(--mp-soft); }
.mp-cart .ico { width: 24px; height: 24px; }
.mp-cart b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--mp-blue); color: #fff; font-size: 10px; display: grid; place-items: center; }
@media (min-width: 1000px) {
  .mp-head-in { grid-template-columns: auto minmax(220px, 1fr) auto auto; grid-template-areas: "brand search nav acts"; height: 72px; padding-top: 0; padding-bottom: 0; gap: 24px; }
  .mp-brand-name > span { max-width: 240px; }
  .mp-nav { margin: 0; }
  .mp-head-wa { width: auto; padding: 0 14px !important; }
  .mp-head-wa span { display: inline; }
}

/* Banner principal */
.mp-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--mp-navy) 0%, #173f7a 55%, var(--mp-blue) 120%); color: #fff; }
.mp-hero-img { position: relative; height: 200px; }
.mp-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 48, 90, 0) 40%, var(--mp-navy) 100%); }
.mp-hero-text { position: relative; padding: 26px 0 30px; }
.mp-eyebrow { display: inline-block; padding: 5px 10px; border-radius: 6px; background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.mp-hero h1 { font-size: clamp(30px, 7vw, 48px); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; max-width: 560px; }
.mp-hero h1 em { font-style: normal; color: #9ec2ff; }
.mp-hero p { margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 470px; }
.mp-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mp-facts { list-style: none; margin: 26px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: rgba(255, 255, 255, .85); }
.mp-facts li { display: flex; align-items: center; gap: 8px; }
.mp-facts b { font-size: 18px; color: #fff; }
.mp-facts .ico { width: 20px; height: 20px; color: #9ec2ff; }
@media (max-width: 520px) { .mp-hero-btns .mp-btn { flex: 1 1 100%; } }
@media (min-width: 900px) {
  .mp-hero { min-height: 400px; display: flex; align-items: center; }
  .mp-hero > .mp-wrap { width: 100%; }
  .mp-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; height: auto; }
  .mp-hero-img::after { background: linear-gradient(90deg, var(--mp-navy) 0%, rgba(18, 48, 90, .7) 18%, rgba(18, 48, 90, 0) 45%); }
  .mp-hero-text { max-width: 50%; padding: 52px 0; }
  .mp-hero:not(.has-img) .mp-hero-text { max-width: 700px; }
}

/* Secciones */
.mp-section { padding-top: 36px; scroll-margin-top: 150px; }
@media (min-width: 1000px) { .mp-section { scroll-margin-top: 84px; } }
.mp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mp-section-head h2 { font-size: clamp(21px, 3.2vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.mp-count { font-size: 13px; color: var(--mp-ink-2); white-space: nowrap; }

/* Categorías */
.mp-cats { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .mp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mp-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.mp-cat { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid var(--mp-line) !important; border-radius: 10px; background: #fff !important; transition: border-color .15s, box-shadow .15s; }
.mp-cat:hover { border-color: var(--mp-blue) !important; box-shadow: 0 4px 14px rgba(21, 94, 239, .08); }
.mp-cat-img { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; background: var(--mp-soft); overflow: hidden; color: var(--mp-ink-2); }
.mp-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-cat-img b { font-size: 18px; color: var(--mp-blue); }
.mp-cat-img .ico { width: 22px; height: 22px; }
.mp-cat-txt { display: grid; min-width: 0; line-height: 1.25; }
.mp-cat-txt b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-cat-txt small { font-size: 12px; color: var(--mp-ink-2); }

/* Banner promocional */
.mp-promo { position: relative; display: block; width: 100%; border-radius: 12px; overflow: hidden; background: linear-gradient(110deg, var(--mp-blue) 0%, #2f6ff3 60%, #5b8ef7 100%) !important; color: #fff; }
.mp-promo-img { display: block; height: 170px; }
.mp-promo-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-promo-text { position: relative; display: grid; justify-items: start; gap: 6px; padding: 22px 20px 24px; }
.mp-promo .mp-eyebrow { margin-bottom: 4px; }
.mp-promo-title { font-size: clamp(24px, 5vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.mp-promo-title em { font-style: normal; color: #d9e6ff; }
.mp-promo-p { font-size: 15px; color: rgba(255, 255, 255, .88); max-width: 420px; }
.mp-promo .mp-btn { margin-top: 12px; }
.mp-seal { position: absolute; top: 12px; right: 12px; display: grid; place-content: center; justify-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--mp-blue); box-shadow: 0 8px 24px rgba(18, 48, 90, .25); text-transform: uppercase; }
.mp-seal small { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: var(--mp-navy); }
.mp-seal b { font-size: 24px; line-height: 1; font-weight: 800; }
@media (min-width: 900px) {
  .mp-promo { min-height: 210px; display: flex; align-items: center; }
  .mp-promo-img { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; height: auto; }
  .mp-promo-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--mp-blue) 0%, rgba(21, 94, 239, .55) 22%, rgba(21, 94, 239, 0) 50%); }
  .mp-promo-text { max-width: 52%; padding: 32px 40px; }
  .mp-seal { top: 50%; right: 8%; transform: translateY(-50%); width: 104px; height: 104px; }
  .mp-seal b { font-size: 30px; }
}

/* Herramientas del catálogo */
.mp-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 12px; margin-bottom: 14px; border: 1px solid var(--mp-line); border-radius: 10px; background: var(--mp-soft); }
.mp-selects { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; flex: 1 1 100%; }
@media (min-width: 760px) { .mp-selects { flex: 0 1 460px; } }
.mp-select { display: grid; gap: 4px; min-width: 0; }
.mp-select span { font-size: 11.5px; font-weight: 600; color: var(--mp-ink-2); }
.mp-select select { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; font: inherit; font-size: 13.5px; color: var(--mp-ink); }
.mp-select select:focus { outline: none; border-color: var(--mp-blue); }
.mp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.mp-chips::-webkit-scrollbar { display: none; }
.mp-chips button { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; height: 38px; padding: 0 12px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.mp-chips button.on { border-color: var(--mp-blue); background: #eef4ff; color: var(--mp-blue); }
.mp-chips .ico { width: 14px; height: 14px; }
.mp-views { display: flex; border: 1px solid var(--mp-line); border-radius: 8px; overflow: hidden; background: #fff; margin-left: auto; }
.mp-views button { display: grid; place-items: center; width: 40px; height: 36px; border: 0; background: none; cursor: pointer; color: var(--mp-ink-2); }
.mp-views button.on { background: var(--mp-navy); color: #fff; }
.mp-views .ico { width: 17px; height: 17px; }
.mp-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: -4px 0 14px; font-size: 13px; color: var(--mp-ink-2); }
.mp-active b { color: var(--mp-ink); }
.mp-active button { border: 0; background: none; padding: 0; color: var(--mp-blue); font-weight: 600; cursor: pointer; }

/* Tarjetas */
.mp-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 680px) { .mp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .mp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.mp-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--mp-line); border-radius: 10px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.mp-card:hover { border-color: #cfd4dc; box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }
.mp-card-img { position: relative; display: block !important; width: 100%; aspect-ratio: 4 / 3; background: #fff !important; color: #d0d5dd; border-bottom: 1px solid var(--mp-line) !important; }
.mp-card-img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.mp-card-img > .ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; }
.mp-off { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px; background: var(--mp-red); color: #fff; font-size: 11px; font-weight: 700; }
.mp-card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 12px; }
.mp-meta { font-size: 11.5px; color: var(--mp-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mp-sku { font-weight: 600; color: #475467; }
.mp-card-name { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mp-card-name:hover { color: var(--mp-blue); }
.mp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 6px; padding-top: 2px; }
.mp-pr { display: grid; align-content: start; min-width: 0; padding: 7px 9px; border-radius: 8px; background: var(--mp-soft); line-height: 1.2; }
.mp-pr small { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mp-ink-2); }
.mp-pr b { font-size: 16px; font-weight: 800; margin-top: 2px; overflow-wrap: anywhere; }
.mp-pr s { font-size: 11.5px; color: #98a2b3; }
.mp-pr span { font-size: 11.5px; color: var(--mp-ink-2); }
.mp-pr.ws { background: #eef4ff; }
.mp-pr.ws small, .mp-pr.ws b { color: var(--mp-blue); }
.mp-ask-price { font-size: 13.5px; font-weight: 600; color: var(--mp-ink-2); }
.mp-steps { list-style: none; margin: 0; padding: 6px 9px; display: grid; gap: 3px; border: 1px dashed var(--mp-line); border-radius: 8px; font-size: 12px; }
.mp-steps li { display: flex; justify-content: space-between; gap: 8px; color: var(--mp-ink-2); }
.mp-steps b { color: var(--mp-ink); font-weight: 700; }
.mp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-min, .mp-stock { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.mp-min { background: #fff4e5; color: #93370d; }
.mp-stock.in { background: #e7f6ef; color: var(--mp-green); }
.mp-stock.out { background: #fef0ef; color: #b42318; }
.mp-card-actions { display: grid; gap: 6px; margin-top: auto; padding-top: 4px; }
.mp-buy { display: flex; gap: 6px; }
.mp-buy .qty { flex-shrink: 0; border-radius: 8px; border-color: var(--mp-line); }
.mp-buy .qty button { width: 28px; }
.mp-buy .qty input { width: 38px; }
.mp-add { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--mp-blue); color: #fff !important; font-size: 13px; font-weight: 600; cursor: pointer; }
.mp-add:hover { background: var(--mp-blue-2); }
.mp-add .ico { width: 17px; height: 17px; flex-shrink: 0; }
.mp-ask { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: var(--mp-ink) !important; white-space: nowrap; }
.mp-ask:hover { border-color: var(--mp-green); color: var(--mp-green) !important; }
.mp-ask .ico { width: 16px; height: 16px; color: var(--mp-green); }
.mp-ask.icon { width: 34px; padding: 0; flex-shrink: 0; }
@media (max-width: 400px) {
  .mp-card-body { padding: 10px; }
  .mp-add span { display: none; }
  .mp-pr b { font-size: 15px; }
}

/* Vista de lista: columnas alineadas para comparar precios */
.mp-table { border: 1px solid var(--mp-line); border-radius: 10px; overflow: hidden; background: #fff; }
.mp-tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "prod prod prod" "detal mayor min" "acts acts acts"; gap: 8px 12px; padding: 12px; border-top: 1px solid var(--mp-line); align-items: center; }
.mp-tr:first-child, .mp-th + .mp-tr { border-top: 0; }
.mp-th { display: none; }
.mp-td-prod { grid-area: prod; display: flex; align-items: center; gap: 12px; min-width: 0; }
.mp-td-prod > div { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.mp-td-prod .mp-card-name { min-height: 0; }
.mp-thumb { display: grid !important; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border: 1px solid var(--mp-line) !important; border-radius: 8px; background: #fff !important; color: #d0d5dd; overflow: hidden; }
.mp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.mp-thumb .ico { width: 22px; height: 22px; }
.mp-td { display: grid; align-content: center; line-height: 1.25; font-size: 13px; }
.mp-td::before { content: attr(data-label); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mp-ink-2); }
.mp-td b { font-size: 15px; font-weight: 800; }
.mp-td s { font-size: 11.5px; color: #98a2b3; }
.mp-td small { font-size: 11.5px; color: var(--mp-ink-2); }
.mp-td.ws b { color: var(--mp-blue); }
.mp-td:nth-child(2) { grid-area: detal; }
.mp-td:nth-child(3) { grid-area: mayor; }
.mp-td:nth-child(4) { grid-area: min; }
.mp-dash { color: #98a2b3; }
.mp-td-acts { grid-area: acts; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
@media (max-width: 899px) { .mp-td-acts .qty { margin-right: auto; } }
.mp-td-acts .qty { border-radius: 8px; border-color: var(--mp-line); }
.mp-td-acts .qty button { width: 28px; }
.mp-td-acts .qty input { width: 40px; }
.mp-td-acts .mp-add { flex: 0 0 auto; width: 36px; padding: 0; }
@media (min-width: 900px) {
  .mp-tr { grid-template-columns: minmax(0, 1fr) 120px 140px 80px 210px; grid-template-areas: none; gap: 16px; padding: 10px 16px; }
  .mp-tr > * { grid-area: auto !important; }
  .mp-th { display: grid; padding-top: 10px; padding-bottom: 10px; background: var(--mp-soft); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mp-ink-2); }
  .mp-td::before { content: none; }
  .mp-tr:hover:not(.mp-th) { background: #fafbfc; }
}

.mp-more { display: flex; justify-content: center; margin-top: 22px; }

/* Pie */
.mp-foot { margin-top: 56px; background: var(--mp-navy); color: rgba(255, 255, 255, .78); }
.mp-foot-in { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
@media (min-width: 680px) { .mp-foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mp-foot-in { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; } }
.mp-foot .mp-brand-name > span { color: #fff; }
.mp-foot .mp-mark { background: #fff; color: var(--mp-navy); }
.mp-foot-brand p { margin-top: 12px; font-size: 13px; line-height: 1.6; max-width: 320px; }
.mp-foot h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.mp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mp-foot li a, .mp-foot li button { font-size: 13px; color: rgba(255, 255, 255, .78) !important; }
.mp-foot li a:hover, .mp-foot li button:hover { color: #fff !important; }
.mp-contact a { display: inline-flex; align-items: flex-start; gap: 8px; overflow-wrap: anywhere; }
.mp-contact .ico { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.mp-social { display: flex; gap: 10px; }
.mp-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; }
.mp-social a:hover { background: var(--mp-blue); }
.mp-social .ico { width: 17px; height: 17px; }
/* Margen inferior para que el botón flotante de WhatsApp no tape el pie. */
.mp-made { padding-top: 16px; padding-bottom: 84px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: rgba(255, 255, 255, .55); }
@media (min-width: 900px) { .mp-made { padding-bottom: 22px; padding-right: 90px; } }
.mp-made a { color: #fff !important; font-weight: 600; }
.mp-wa { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff !important; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
.mp-wa .ico { width: 29px; height: 29px; }
.mp .btn.primary { background: var(--mp-blue); border-color: var(--mp-blue); color: #fff; }

/* Vista previa en el selector del panel */
.tpl-prev.mayorista { grid-template-rows: 8px 30px 1fr; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); }
.tpl-prev.mayorista i:nth-child(1) { grid-column: 1 / -1; background: #155eef; height: 4px; width: 40%; margin-top: 2px; }
.tpl-prev.mayorista i:nth-child(2) { grid-column: 1 / -1; background: linear-gradient(90deg, #12305a 50%, #155eef); }
.tpl-prev.mayorista i:nth-child(3), .tpl-prev.mayorista i:nth-child(4) { grid-column: span 2; background: #f4f6f8; border: 1px solid #e4e7ec; }

/* ======================================================================
   Landing de la plataforma (misma paleta que gabrielvolcan.site)
   ====================================================================== */
.lp {
  --l-bg: #0a0a0a; --l-surface: #111111; --l-surface-2: #171717;
  --l-ink: #f5f5f5; --l-ink-2: #a3a3a3; --l-ink-3: #737373;
  --l-line: rgba(255, 255, 255, .08); --l-line-2: rgba(255, 255, 255, .14);
  --l-accent: #3b82f6; --l-accent-strong: #2563eb; --l-accent-hover: #1d4ed8; --l-accent-2: #93c5fd;
  --l-serif: "Instrument Serif", Georgia, serif;
  min-height: 100vh; background: var(--l-bg); color: var(--l-ink); overflow-x: clip;
}
.lp a { color: inherit; text-decoration: none; }
.lp em { font-family: var(--l-serif); font-style: italic; font-weight: 400; color: var(--l-ink-2); letter-spacing: -.01em; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .lp-wrap { padding: 0 32px; } }

/* Botones */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.lp-btn .ico { width: 17px; height: 17px; }
.lp-btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.lp-btn.lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.lp-btn.primary { background: var(--l-accent-strong); color: #fff; box-shadow: 0 8px 28px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255, 255, 255, .15); }
.lp-btn.primary:hover { background: var(--l-accent-hover); transform: translateY(-1px); }
.lp-btn.outline { border-color: var(--l-line-2); color: var(--l-ink); background: rgba(255, 255, 255, .02); }
.lp-btn.outline:hover { border-color: rgba(59, 130, 246, .5); background: rgba(59, 130, 246, .06); }
.lp-btn.ghost { color: var(--l-ink-2); }
.lp-btn.ghost:hover { color: var(--l-ink); background: rgba(255, 255, 255, .05); }

/* Navegación */
.lp-nav { position: sticky; top: 0; z-index: 30; background: rgba(10, 10, 10, .78); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--l-line); }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.lp .brand { color: var(--l-ink); white-space: nowrap; font-size: 17px; }
.lp .brand img { border-radius: 8px; box-shadow: 0 0 0 1px var(--l-line-2); }
.lp-nav-links { display: none; gap: 28px; }
.lp-nav-links a { font-size: 14px; color: var(--l-ink-2); transition: color .15s; }
.lp-nav-links a:hover { color: var(--l-ink); }
.lp-nav-cta { display: flex; align-items: center; gap: 4px; }
@media (min-width: 900px) { .lp-nav-links { display: flex; } }
@media (max-width: 400px) { .lp .brand { font-size: 15px; } .lp-nav-cta .ghost { padding: 0 8px; } }

/* Hero */
.lp-hero { position: relative; padding: 56px 0 72px; background:
  radial-gradient(900px 520px at 80% -10%, rgba(37, 99, 235, .24), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(59, 130, 246, .08), transparent 60%); }
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--l-line) 1px, transparent 1px), linear-gradient(90deg, var(--l-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(700px 420px at 70% 20%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(700px 420px at 70% 20%, #000 0%, transparent 75%); opacity: .5; pointer-events: none; }
.lp-hero-in { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .lp-hero { padding: 88px 0 104px; } .lp-hero-in { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--l-line-2); background: rgba(255, 255, 255, .03); font-size: 12.5px; font-weight: 500; color: var(--l-ink-2); }
.lp-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--l-accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.lp-hero h1 { margin: 22px 0 18px; font-size: clamp(38px, 6.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.lp-hero h1 em { display: block; color: var(--l-accent-2); font-size: 1.08em; line-height: 1; }
.lp-lead { font-size: 17.5px; line-height: 1.6; color: var(--l-ink-2); max-width: 520px; }
.lp-lead b { color: var(--l-ink); font-weight: 600; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; font-size: 13.5px; color: var(--l-ink-2); }
.lp-proof li { display: inline-flex; align-items: center; gap: 7px; }
.lp-proof .ico { width: 16px; height: 16px; color: var(--l-accent); }
@media (max-width: 520px) { .lp-cta .lp-btn { flex: 1 1 100%; } }

.lp-hero-visual { position: relative; padding: 0 0 40px; max-width: 620px; margin: 0 auto; width: 100%; }
.lp-browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--l-line-2); background: var(--l-surface); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--l-line); background: var(--l-surface-2); }
.lp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.lp-browser-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: 11px; color: var(--l-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.lp-phone { position: absolute; right: -6px; bottom: 0; width: 31%; min-width: 120px; border-radius: 26px; padding: 6px; background: #1a1a1a; border: 1px solid var(--l-line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(37, 99, 235, .25); }
.lp-phone img { display: block; width: 100%; aspect-ratio: 375 / 760; object-fit: cover; object-position: top; border-radius: 20px; }
.lp-toast { position: absolute; left: 4%; bottom: 8px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(23, 23, 23, .92); border: 1px solid var(--l-line-2); backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: lp-float 5s ease-in-out infinite; }
.lp-toast > .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #25d366; color: #fff; }
.lp-toast b { display: block; font-size: 13px; }
.lp-toast small { font-size: 12px; color: var(--l-ink-2); }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .lp-toast { animation: none; } .lp-browser { transform: none; } }

/* Franja de rubros */
.lp-strip { border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); background: var(--l-surface); }
.lp-strip .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; }
.lp-strip span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--l-ink-3); }
.lp-strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; }
.lp-strip li { font-size: 14px; color: var(--l-ink-2); }

/* Secciones */
.lp-section { padding: 88px 0; scroll-margin-top: 40px; }
@media (min-width: 1000px) { .lp-section { padding: 112px 0; } }
.lp-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.lp-head.left { margin: 0 0 28px; text-align: left; }
.lp-kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--l-accent); }
.lp-head h2, .lp-founder h2, .lp-final h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; }
.lp-head em, .lp-founder h2 em, .lp-final h2 em { font-size: 1.08em; }
.lp-head p { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: var(--l-ink-2); }

/* Pasos */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--l-line); border: 1px solid var(--l-line); border-radius: 16px; overflow: hidden; }
@media (min-width: 800px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-steps li { padding: 32px 28px; background: var(--l-bg); }
.lp-steps span { display: block; font-family: var(--l-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--l-accent-2); margin-bottom: 22px; }
.lp-steps h3, .lp-feature h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.lp-steps p, .lp-feature p { font-size: 14.5px; line-height: 1.6; color: var(--l-ink-2); }

/* Plantillas */
.lp-tpls { display: grid; gap: 18px; }
@media (min-width: 800px) { .lp-tpls { grid-template-columns: repeat(3, 1fr); } }
.lp-tpl { border: 1px solid var(--l-line); border-radius: 16px; overflow: hidden; background: var(--l-surface); transition: border-color .2s, transform .2s; }
.lp-tpl:hover { border-color: rgba(59, 130, 246, .45); transform: translateY(-3px); }
.lp-tpl-img { aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--l-line); background: #fff; }
.lp-tpl-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.lp-tpl:hover .lp-tpl-img img { transform: scale(1.03); }
.lp-tpl-body { padding: 20px 22px 22px; }
.lp-tpl-body h3 { font-size: 17px; font-weight: 600; }
.lp-tpl-body p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--l-ink-2); }
.lp-tpl-body small { display: block; margin-top: 12px; font-size: 12px; color: var(--l-ink-3); }

/* Pedido por WhatsApp */
.lp-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .lp-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--l-ink); }
.lp-checks .ico { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: rgba(59, 130, 246, .14); color: var(--l-accent-2); }
.lp-chat { max-width: 420px; width: 100%; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--l-line-2); background: #0b141a; box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 80px rgba(37, 211, 102, .08); }
.lp-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #202c33; }
.lp-chat-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #3b4a54; color: #cfd8dc; }
.lp-chat-av .ico { width: 18px; height: 18px; }
.lp-chat-head b { display: block; font-size: 14px; color: #e9edef; }
.lp-chat-head small { font-size: 12px; color: #8696a0; }
.lp-chat-body { padding: 22px 16px 26px; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .03), transparent 50%), #0b141a; }
.lp-bubble { position: relative; margin-left: auto; max-width: 88%; padding: 10px 12px 22px; border-radius: 12px 0 12px 12px; background: #005c4b; color: #e9edef; font-size: 14px; line-height: 1.5; }
.lp-bubble p + p { margin-top: 8px; }
.lp-bubble time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: rgba(233, 237, 239, .6); }

/* Funciones */
.lp-features { display: grid; gap: 1px; background: var(--l-line); border: 1px solid var(--l-line); border-radius: 16px; overflow: hidden; }
@media (min-width: 640px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature { padding: 30px 28px; background: var(--l-bg); transition: background .2s; }
.lp-feature:hover { background: var(--l-surface); }
.lp-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 10px; border: 1px solid var(--l-line-2); background: rgba(59, 130, 246, .08); color: var(--l-accent-2); }
.lp-ico .ico { width: 19px; height: 19px; }

/* Planes */
.lp-plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 860px) { .lp-plans { grid-template-columns: repeat(3, 1fr); } }
.lp .plan { padding: 28px; border-radius: 18px; background: var(--l-surface); border: 1px solid var(--l-line); }
.lp .plan.featured { border: 1px solid rgba(59, 130, 246, .55); background: linear-gradient(180deg, rgba(37, 99, 235, .14), var(--l-surface) 55%); box-shadow: 0 30px 80px rgba(37, 99, 235, .16); }
.lp .plan .tag { left: 28px; background: var(--l-accent-strong); }
.lp .plan h3 { font-size: 16px; font-weight: 600; color: var(--l-ink-2); }
.lp .plan .price { font-size: 46px; font-weight: 700; letter-spacing: -.04em; color: var(--l-ink); }
.lp .plan .price small { color: var(--l-ink-3); }
.lp .plan ul { border-top: 1px solid var(--l-line); padding-top: 18px; }
.lp .plan li { color: var(--l-ink-2); }
.lp .plan li .ico { color: var(--l-accent); }
.lp .plan .btn { height: 44px; border-radius: 10px; background: transparent; border-color: var(--l-line-2); color: var(--l-ink); font-weight: 600; }
.lp .plan .btn:hover { border-color: rgba(59, 130, 246, .5); background: rgba(59, 130, 246, .06); }
.lp .plan .btn.primary { background: var(--l-accent-strong); border-color: var(--l-accent-strong); color: #fff; }
.lp .plan .btn.primary:hover { background: var(--l-accent-hover); filter: none; }
.lp-pay { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; color: var(--l-ink-3); }
.lp-pay b { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--l-line); font-weight: 500; color: var(--l-ink-2); }

/* Preguntas */
.lp-faq-wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .lp-faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.lp-faq { display: grid; border-top: 1px solid var(--l-line); }
.lp-faq details { border-bottom: 1px solid var(--l-line); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--l-line-2); font-size: 16px; color: var(--l-ink-2); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); color: var(--l-accent-2); border-color: rgba(59, 130, 246, .5); }
.lp-faq details p { padding: 0 40px 22px 0; font-size: 15px; line-height: 1.65; color: var(--l-ink-2); }

/* Founder */
.lp-founder-sec { border-top: 1px solid var(--l-line); background: radial-gradient(800px 400px at 15% 50%, rgba(37, 99, 235, .1), transparent 70%); }
.lp-founder { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .lp-founder { grid-template-columns: 380px 1fr; gap: 72px; } }
.lp-founder-photo { position: relative; max-width: 380px; width: 100%; margin: 0 auto; }
.lp-founder-photo::before { content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: linear-gradient(160deg, rgba(147, 197, 253, .6), rgba(255, 255, 255, .05) 40%, rgba(37, 99, 235, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1; }
.lp-founder-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.lp-role { margin: 14px 0 22px; font-size: 14px; font-weight: 500; color: var(--l-accent-2); }
.lp-founder-text > p:not(.lp-role) { font-size: 16.5px; line-height: 1.7; color: var(--l-ink-2); max-width: 600px; }
.lp-founder-text > p + p { margin-top: 14px; }
.lp-founder-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Cierre y pie */
.lp-final { padding: 96px 0; text-align: center; border-top: 1px solid var(--l-line); background: radial-gradient(700px 320px at 50% 0%, rgba(37, 99, 235, .28), transparent 70%); }
.lp-final p { margin: 14px 0 30px; font-size: 16.5px; color: var(--l-ink-2); }
.lp-foot { border-top: 1px solid var(--l-line); }
.lp-foot-in { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 28px; }
@media (min-width: 800px) { .lp-foot-in { grid-template-columns: 1fr auto; align-items: start; } }
.lp-foot-in p { margin-top: 12px; font-size: 14px; color: var(--l-ink-3); max-width: 340px; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--l-ink-2); }
.lp-foot-links a:hover { color: var(--l-ink); }
.lp-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--l-line); font-size: 13px; color: var(--l-ink-3); }
.lp-foot-bottom a { color: var(--l-ink-2); }
.lp-foot-bottom a:hover { color: var(--l-ink); }
