/* Pappitas — Landings prediseñadas (Landing master) */
.lm { margin: 0 0 22px; padding: 24px; border-radius: 24px; background: var(--bg-card, #fff); box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 18px 44px -32px rgba(30,20,70,.35);
  display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: center; }
.lm--empty { grid-template-columns: 1fr; }
.lm-h { min-width: 0; }
.lm-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.lm-new { height: 50px; border: 0; border-radius: 14px; background: var(--brand-primary, #7c3aed); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lm-new .icon, .lm-mg-btn .icon { width: 17px; height: 17px; }
.lm-mg-btn { height: 44px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 6%, transparent); color: var(--text-primary, #111); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lm--empty .lm-acts { flex-direction: row; } .lm--empty .lm-new, .lm--empty .lm-mg-btn { padding: 0 18px; }
.lm-k { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-primary, #7c3aed); }
.lm-h h2 { margin: 6px 0 6px; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--text-primary, #111); }
.lm-h p { margin: 0; font-size: 14px; color: var(--text-secondary, #6b7280); }
.lm-manage { width: auto !important; flex: none; padding: 9px 14px !important; font-size: 13px !important; }
.lm-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; margin: 0 -2px; scrollbar-width: thin; }
.lm-card { flex: none; width: 250px; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--bg-card, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 7%, transparent), 0 14px 30px -24px rgba(20,10,50,.5); transition: transform .18s, box-shadow .18s; }
.lm-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 9%, transparent), 0 22px 40px -24px rgba(20,10,50,.55); }
.lm-thumb { position: relative; height: 290px; overflow: hidden; background: #f5f5f7 center/cover no-repeat; }
.lm-thumb iframe { position: absolute; left: 0; top: 0; width: 400px; height: 830px; border: 0; transform: scale(.625); transform-origin: 0 0; pointer-events: none; background: #fff; }
.lm-thumb__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,255,255,.9)); }
.lm-card__b { padding: 12px 14px 14px; }
.lm-card__b b { display: block; font-size: 15px; font-weight: 750; letter-spacing: -.01em; color: var(--text-primary, #111); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-card__b small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-secondary, #6b7280); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-card__a { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.lm-use { flex: 1; height: 40px; border: 0; border-radius: 12px; background: #111; color: #fff; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.lm-use:hover { background: #000; }
.lm-see { flex: none; height: 40px; padding: 0 14px; border-radius: 12px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--text-primary, #111); text-decoration: none; background: color-mix(in srgb, var(--text-primary, #111) 6%, transparent); }
.lm-empty { padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--text-primary, #111) 4%, transparent); font-size: 13.5px; color: var(--text-secondary, #6b7280); }

/* ventana */
body.lm-open { overflow: hidden; }
.lm-modal { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12,8,26,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lm-dlg { position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 26px 24px 22px; border-radius: 26px; background: var(--bg-card, #fff); color: var(--text-primary, #111); box-shadow: 0 40px 100px -30px rgba(10,6,30,.6); }
.lm-dlg--wide { max-width: 560px; }
.lm-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--text-primary, #111) 7%, transparent); color: var(--text-secondary, #6b7280); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lm-x .icon { width: 16px; height: 16px; }
.lm-dlg__h h3 { margin: 4px 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.lm-dlg__h p { margin: 0 0 18px; font-size: 14px; color: var(--text-secondary, #6b7280); line-height: 1.45; }
.lm-photo { position: relative; display: flex; align-items: center; justify-content: center; height: 160px; margin-bottom: 12px; border-radius: 18px; cursor: pointer; background: color-mix(in srgb, var(--text-primary, #111) 4%, transparent) center/cover no-repeat; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-primary, #111) 10%, transparent); }
.lm-photo.has-img { box-shadow: none; }
.lm-photo.is-busy { opacity: .6; }
.lm-photo__e { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.lm-photo__e .icon { width: 26px; height: 26px; color: var(--text-secondary, #6b7280); }
.lm-photo__e b { font-size: 14px; font-weight: 750; } .lm-photo__e small { font-size: 12px; color: var(--text-secondary, #6b7280); }
.lm-photo.has-img .lm-photo__e { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.lm-in, .lm-in[type="number"] { width: 100%; height: 56px; margin-bottom: 10px; padding: 0 16px; border: 0; border-radius: 16px; background: color-mix(in srgb, var(--text-primary, #111) 5%, transparent); color: var(--text-primary, #111); font: inherit; font-size: 17px !important; font-weight: 700 !important; outline: none; box-sizing: border-box; }
.lm-in:focus { box-shadow: inset 0 0 0 2px var(--brand-primary, #7c3aed); }
.lm-price { position: relative; } .lm-price span { position: absolute; left: 16px; top: 17px; font-size: 17px; font-weight: 800; color: var(--text-secondary, #6b7280); } .lm-price .lm-in { padding-left: 32px; }
.lm-go { width: 100%; height: 56px; margin-top: 6px; border: 0; border-radius: 16px; background: #111; color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lm-go:disabled { opacity: .35; cursor: default; }
.lm-go--ghost { background: color-mix(in srgb, var(--text-primary, #111) 6%, transparent); color: var(--text-primary, #111); margin-top: 14px; }
.lm-go .icon { width: 18px; height: 18px; }
.lm-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--text-muted, #9ca3af); }
.lm-mg { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.lm-mrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 4%, transparent); }
.lm-mrow__t { flex: 1; min-width: 0; } .lm-mrow__t b { display: block; font-size: 14px; font-weight: 720; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lm-mrow__t small { font-size: 12px; color: var(--text-secondary, #6b7280); }
.lm-mini { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--bg-card, #fff); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06); color: var(--text-primary, #111); }
.lm-sw { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.lm-sw input { position: absolute; opacity: 0; inset: 0; }
.lm-sw span { position: absolute; inset: 0; border-radius: 999px; background: #d1d5db; transition: background .2s; }
.lm-sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.lm-sw input:checked + span { background: #16a34a; } .lm-sw input:checked + span::after { transform: translateX(18px); }
.lm-chk { margin: 16px 0 0 !important; box-shadow: none !important; border: 1px solid color-mix(in srgb, var(--text-primary, #111) 8%, transparent); }
@media (max-width: 1000px) { .lm { grid-template-columns: 1fr; gap: 18px; } .lm-acts { flex-direction: row; flex-wrap: wrap; } .lm-new, .lm-mg-btn { padding: 0 18px; } }
@media (max-width: 760px) {
  .lm { margin: 0 -4px 18px; padding: 18px 16px; border-radius: 20px; }
  .lm-acts { flex-direction: column; } .lm-new, .lm-mg-btn { width: 100%; }
  .lm-h h2 { font-size: 19px; }
  .lm-card { width: 220px; }
  .lm-thumb { height: 260px; } .lm-thumb iframe { transform: scale(.55); }
  .lm-modal { align-items: flex-end; padding: 0; }
  .lm-dlg { max-width: none; border-radius: 26px 26px 0 0; max-height: 92dvh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

.lm-acts:empty { display: none; }
.lm-card--new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 410px; border: 0; cursor: pointer; font: inherit; color: var(--text-primary, #111);
  background: color-mix(in srgb, var(--text-primary, #111) 3%, var(--bg-card, #fff)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-primary, #111) 10%, transparent); }
.lm-card--new:hover { box-shadow: inset 0 0 0 1.5px var(--brand-primary, #7c3aed); transform: translateY(-2px); }
.lm-plus { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-primary, #7c3aed); color: #fff; margin-bottom: 6px; }
.lm-plus .icon { width: 24px; height: 24px; }
.lm-card--new b { font-size: 16px; font-weight: 800; } .lm-card--new small { font-size: 13px; color: var(--text-secondary, #6b7280); }
@media (max-width: 760px) { .lm-card--new { min-height: 380px; } }

/* Elegir dominio */
.lm-modal--dom { z-index: 4100; }
.lm-doms { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.lm-dom { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-radius: 14px; padding: 14px 16px; background: #f5f5f7; font: inherit; font-size: 15px; cursor: pointer; color: #1d1d1f; transition: background .15s, box-shadow .15s; }
.lm-dom:hover { background: #fff; box-shadow: inset 0 0 0 2px #0071e3; }
.lm-dom .icon { width: 18px; height: 18px; color: #0071e3; }
.lm-dom span { display: flex; flex-direction: column; }
.lm-dom small { font-size: 12px; color: #6e6e73; font-weight: 500; margin-top: 1px; }
.lm-dom--pp { background: linear-gradient(135deg,#f5f3ff,#eef4ff); }
.lm-dom--pp .icon { color: #7c3aed; }

/* Celular: arriba limpio — sin textos de más, directo a los diseños */
@media (max-width: 640px) {
  #page-landing > .page-header { display: none; }
  .lm { margin: 4px 0 16px; padding: 0; gap: 12px; background: none; box-shadow: none; border-radius: 0; }
  .lm-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .lm-h h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; flex: 1; }
  .lm-h p { display: none; }
  .lm-acts { margin: 0; flex-direction: row !important; flex: none; }
  .lm-acts .lm-new, .lm-acts .lm-mg-btn { width: auto !important; height: 36px; padding: 0 12px !important; font-size: 13px; border-radius: 11px; }
  .lm-row { gap: 12px; padding: 2px 2px 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; scrollbar-width: none; }
  .lm-row::-webkit-scrollbar { display: none; }
  .lm-card { width: 72vw; max-width: 280px; }
  .lm-thumb { height: 300px; }
}
/* Al crear una landing: se resalta "Elegí un diseño" */
.lm.lm--focus{animation:lmFocus 2.1s ease-out}
@keyframes lmFocus{0%{box-shadow:0 0 0 0 rgba(124,58,237,.55)}25%{box-shadow:0 0 0 8px rgba(124,58,237,.25)}100%{box-shadow:0 0 0 0 rgba(124,58,237,0)}}

/* ── v7: galería liviana y limpia ── */
.lm { display: block; padding: 18px 20px 20px; border-radius: 20px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 6%, transparent); }
.lm-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lm-h h2 { margin: 0 0 2px; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.lm-h p { font-size: 13px; }
.lm-acts { flex-direction: row; margin-top: 0; flex: none; }
.lm-mg-btn { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.lm-mg-btn .icon { width: 15px; height: 15px; }
.lm-new { height: 38px; padding: 0 14px; border-radius: 11px; font-size: 13.5px; font-weight: 650; }
.lm-row { gap: 14px; padding: 2px 2px 6px; }
.lm-card { width: 176px; border-radius: 16px; background: transparent; box-shadow: none; overflow: visible; }
.lm-card:hover { transform: none; box-shadow: none; }
.lm-thumb { height: 236px; border-radius: 14px; background-color: color-mix(in srgb, var(--text-primary, #111) 4%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 8%, transparent); transition: box-shadow .2s, transform .2s; }
.lm-thumb iframe { width: 390px; height: 524px; transform: scale(.4513); opacity: 0; transition: opacity .35s; }
.lm-thumb.is-ready iframe { opacity: 1; }
.lm-card:hover .lm-thumb { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--brand-primary, #7c3aed), 0 14px 28px -18px rgba(30,20,70,.45); }
.lm-thumb__veil { display: none; }
.lm-thumb__hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding: 12px; background: linear-gradient(180deg, rgba(10,8,20,0) 40%, rgba(10,8,20,.55)); opacity: 0; transition: opacity .2s; }
.lm-card:hover .lm-thumb__hover { opacity: 1; }
.lm-thumb__hover .lm-use { flex: none; width: 100%; height: 36px; border-radius: 10px; font-size: 13px; font-weight: 650; background: #fff; color: #111; }
.lm-thumb__hover .lm-see { height: 28px; padding: 0 10px; border-radius: 8px; gap: 5px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.lm-thumb__hover .lm-see .icon { width: 14px; height: 14px; }
.lm-card__b { padding: 9px 2px 0; }
.lm-card__b b { font-size: 13.5px; font-weight: 650; }
.lm-card__b small { font-size: 12px; }
.lm-use--m { display: none; }
.lm-card--new { min-height: 236px; height: 236px; width: 150px; border-radius: 14px; gap: 2px; background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-primary, #111) 10%, transparent); }
.lm-card--new:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--brand-primary, #7c3aed); }
.lm-card--new b { font-size: 13.5px; font-weight: 650; }
.lm-card--new small { font-size: 12px; color: var(--text-secondary, #6b7280); }
.lm-plus { width: 40px; height: 40px; margin-bottom: 8px; background: color-mix(in srgb, var(--brand-primary, #7c3aed) 12%, transparent); color: var(--brand-primary, #7c3aed); }
.lm-plus .icon { width: 19px; height: 19px; }
@media (hover: none) {
  .lm-thumb__hover { display: none; }
  .lm-use--m { display: block; width: 100%; height: 34px; margin-top: 8px; border-radius: 10px; font-size: 13px; font-weight: 650; }
}
@media (max-width: 760px) {
  .lm { margin: 0 0 16px; padding: 14px 14px 16px; }
  .lm-h { align-items: flex-start; }
  .lm-h h2 { font-size: 16px; }
  .lm-card { width: 150px; }
  .lm-thumb { height: 200px; } .lm-thumb iframe { transform: scale(.3846); }
  .lm-card--new { width: 130px; height: 200px; min-height: 200px; }
}
[data-theme="dark"] .lm-thumb__hover .lm-use { background: #fff; color: #111; }

/* ── v8: tarjetas con forma de plantilla (ventana con su barra), una sola altura ── */
.lm-row { gap: 18px; align-items: flex-start; }
.lm-card, .lm-card--new { width: 188px; height: auto; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; display: block; text-align: left; cursor: default; }
.lm-card--new { cursor: pointer; }
.lm-card:hover, .lm-card--new:hover { transform: none; box-shadow: none; }
.lm-frame { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--bg-card, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 9%, transparent), 0 1px 2px rgba(17,24,39,.05); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.lm-bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 9px; background: color-mix(in srgb, var(--text-primary, #111) 4%, var(--bg-card, #fff)); border-bottom: 1px solid color-mix(in srgb, var(--text-primary, #111) 7%, transparent); }
.lm-bar i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--text-primary, #111) 16%, transparent); }
.lm-thumb { height: 224px; border-radius: 0; box-shadow: none; background-color: #fff; transform: none !important; }
.lm-thumb iframe { width: 390px; height: 1400px; transform: scale(.4821); transition: opacity .35s, top 6s ease-in-out; top: 0; }
.lm-card:hover .lm-thumb iframe { top: -451px; }
.lm-card:hover .lm-frame, .lm-card--new:hover .lm-frame { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 10%, transparent), 0 18px 36px -20px rgba(30,20,70,.45); }
.lm-thumb__hover { justify-content: flex-end; align-items: stretch; flex-direction: row; gap: 6px; padding: 10px; background: none; }
.lm-thumb__hover .lm-use { flex: 1; width: auto; height: 34px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(17,17,24,.88); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); align-self: flex-end; }
.lm-thumb__hover .lm-use:hover { background: #111; }
.lm-thumb__hover .lm-see { flex: none; width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); align-self: flex-end; }
.lm-thumb__hover .lm-see .icon { width: 15px; height: 15px; }
.lm-card__b { display: flex; align-items: center; gap: 8px; height: 34px; padding: 8px 2px 0; }
.lm-card__b b { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--text-primary, #111); }
.lm-card__b small { display: none; }
.lm-frame--new { height: 245px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-primary, #111) 10%, transparent); background: color-mix(in srgb, var(--text-primary, #111) 2%, var(--bg-card, #fff)); }
.lm-frame--new .lm-bar { background: transparent; }
.lm-newin { flex: 1; display: flex; align-items: center; justify-content: center; }
.lm-card--new:hover .lm-frame--new { box-shadow: inset 0 0 0 1.5px var(--brand-primary, #7c3aed), 0 18px 36px -20px rgba(30,20,70,.35); }
.lm-plus { margin: 0; }
.lm-use--m { display: none; }
@media (hover: none) {
  .lm-thumb__hover { display: none; }
  .lm-use--m { display: inline-flex; align-items: center; flex: none; width: auto; height: 26px; margin: 0; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #111; color: #fff; }
}
@media (max-width: 760px) {
  .lm-card, .lm-card--new { width: 150px; }
  .lm-thumb { height: 180px; } .lm-thumb iframe { transform: scale(.3846); }
  .lm-card:hover .lm-thumb iframe { top: 0; }
  .lm-frame--new { height: 201px; }
}
