/* La Pica Studios — Tienda
   Mismos tokens y tipografia que index.html. Minimalismo tipo Obra:
   rejilla de producto limpia, toda la informacion plegada en acordeones. */
:root {
  --ink: #16233A;
  --ink-soft: #5A6474;
  --paper: #FFFFFF;
  --paper-2: #F1F2F4;
  --hairline: rgba(22, 35, 58, 0.18);
  --hairline-2: rgba(22, 35, 58, 0.10);
  --naranja: #E8722A;
  --slab: 'Alfa Slab One', Georgia, serif;
  --sans: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --radius: 24px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 500; line-height: 1.5; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
a, button, select, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===== Header (igual al del home) ===== */
.top { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; }
.brand img { width: 48px; height: auto; flex: none; }
.links { display: flex; align-items: center; gap: 28px; list-style: none; }
.links a { text-decoration: none; font-size: 1.05rem; min-height: 44px; display: inline-flex; align-items: center; transition: opacity .2s; }
.links a:hover { opacity: .6; }
.lang { display: inline-flex; gap: 2px; font-size: .9rem; letter-spacing: .06em; }
.lang button { padding: 6px 7px; opacity: .45; transition: opacity .2s; }
.lang button.on { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 1.05rem; }
.cart-btn .count { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .links li.l { display: none; }
  .links { gap: 14px; }
  .brand span { display: none; }
  .brand img { width: 40px; }
}

/* ===== Cabecera de la tienda ===== */
.shop-head { padding: 40px 0 56px; border-bottom: 1px solid var(--hairline); }
.shop-head h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
.shop-head p { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; color: var(--ink-soft); max-width: 44ch; margin-top: 18px; }
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 28px; padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.45); max-width: 44rem; }
.welcome[hidden] { display: none; }
.shop-head .welcome p { font-family: var(--sans); font-size: 1rem; line-height: 1.4; color: var(--ink); margin: 0; max-width: none; }
.welcome .btn-line { white-space: nowrap; }
.dz-total .wel { font-size: .85rem; color: var(--ink-soft); }

/* ===== Rejilla de productos ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; padding: 64px 0 40px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; gap: 40px; } }
.tile { display: block; text-decoration: none; }
.tile .ph { background: var(--paper-2); border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.tile:hover .ph img { transform: scale(1.035); }
.tile .nm { margin-top: 18px; font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.tile .pr { margin-top: 6px; font-size: .95rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.soon { opacity: .45; pointer-events: none; }
.soon .nm::after { content: " · pronto"; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--ink-soft); }

/* ===== Pagina de producto ===== */
.back { display: inline-flex; align-items: center; gap: 8px; padding: 28px 0 0; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .6; }
.back:hover { opacity: 1; }
.pdp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 0.9fr); grid-template-rows: auto 1fr; gap: 24px 48px; align-items: start; padding: 32px 0 80px; }
@media (max-width: 1040px) { .pdp { grid-template-columns: 1fr; gap: 36px; } }
.pdp h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.03em; }
.pdp .sub { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink-soft); margin-top: 14px; }

.gal { display: grid; gap: 14px; }
.gal .main { background: var(--paper-2); border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; }
.gal .main img { width: 100%; height: 100%; object-fit: cover; }
.gal .thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gal .thumbs button { width: 66px; height: 66px; border-radius: 10px; overflow: hidden; background: var(--paper-2); opacity: .5; transition: opacity .2s; }
.gal .thumbs button.on, .gal .thumbs button:hover { opacity: 1; }
.gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buybox .price { font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.buybox .unit { font-size: .95rem; color: var(--ink-soft); margin-top: 4px; font-variant-numeric: tabular-nums; }
.buybox .lab { margin-top: 30px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.packs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.packs button { min-width: 62px; min-height: 52px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: 8px; font-weight: 700; font-size: 1.05rem; transition: border-color .2s, background .2s; }
.packs button:hover { border-color: var(--ink); }
.packs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.packs button small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .04em; color: var(--ink-soft); }
.add { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; margin-top: 24px; padding: 0 22px; background: var(--ink); color: var(--paper); border-radius: 8px; font-weight: 500; font-size: 1.02rem; letter-spacing: .02em; transition: opacity .2s, transform .15s; }
.add:hover { opacity: .86; }
.add:active { transform: translateY(1px); }
.fine { margin-top: 14px; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.fine b { font-weight: 700; color: var(--ink); }

/* ===== Acordeones ===== */
.acc { margin-top: 40px; border-top: 1px solid var(--hairline); }
.acc details { border-bottom: 1px solid var(--hairline); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 500; font-size: 1.3rem; line-height: 1; opacity: .6; }
.acc details[open] summary::after { content: "–"; }
.acc .in { padding: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); }
.acc .in ul { list-style: none; }
.acc .in li { position: relative; padding-left: 18px; margin-bottom: 7px; }
.acc .in li::before { content: "·"; position: absolute; left: 4px; }
.acc .in p + p { margin-top: 12px; }
.acc .ben li { margin-bottom: 12px; }
.acc .ben li b { color: var(--ink); }

/* ===== Carrito ===== */
.overlay { position: fixed; inset: 0; background: rgba(22,35,58,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 20; }
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--paper); z-index: 21; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .32s cubic-bezier(.4,0,.2,1); box-shadow: -12px 0 40px rgba(22,35,58,.12); }
body.cart-open .drawer { transform: none; }
.drawer { box-shadow: none; } body.cart-open .drawer { box-shadow: -12px 0 40px rgba(22,35,58,.12); }   /* cerrado no deja una franja gris en el borde derecho (5 nov 2026) */
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--hairline); }
.drawer-head h2 { font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.drawer-head button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .92rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 26px; }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--hairline-2); align-items: start; }
.line img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.line .t { font-weight: 700; font-size: .98rem; }
.line .v { font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }
/* Reorden (8 oct 2026): miniatura = arte real de la TapCard (entera, sin recortar) y una linea que dice de cual es. */
.line.reorder img { object-fit: contain; background: #fff; border: 1px solid var(--line, rgba(22,35,58,.12)); }
.line .v.re { display: flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }
.line .v.re .i { width: 14px; height: 14px; flex: none; }
.line .ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.line .acts { display: flex; align-items: center; gap: 14px; flex-basis: 100%; }
.line .ed { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 6px; color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; }
.line .ed .i { width: 15px; height: 15px; flex: none; }
.line .ed:hover { background: var(--ink); color: #fff; }
.line .qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hairline); border-radius: 6px; }
.line .qty button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.line .qty span { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; font-size: .92rem; }
.line .rm { font-size: .85rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.line .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.empty svg { width: 30px; height: 30px; margin: 0 auto 14px; }
.drawer-foot { border-top: 1px solid var(--hairline); padding: 22px 26px calc(22px + env(safe-area-inset-bottom)); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.15rem; }
.total .a { font-variant-numeric: tabular-nums; }
.drawer-foot .fine { margin-top: 8px; }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 8px; font-size: 1.02rem; transition: opacity .2s; }
.btn-solid:hover { opacity: .86; }
.btn-solid:disabled { opacity: .35; cursor: default; }
.err { display: none; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: .88rem; color: #A32B1E; }
.err.show { display: flex; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: .94rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 30; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

footer.shop { margin-top: 90px; padding: 0 0 40px; font-size: .95rem; color: var(--ink-soft); }
footer.shop .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--hairline); padding-top: 28px; }
footer.shop a { color: inherit; text-decoration: none; }
footer.shop a:hover { color: var(--ink); }

/* Colocacion de la ficha de producto.
   El orden del DOM es: titulo, galeria, compra, acordeones — que es el orden
   correcto en movil. En escritorio se recoloca a tres columnas. */
.pdp > .pdp-title { grid-column: 1; grid-row: 1; }
.pdp > .gal { grid-column: 2; grid-row: 1 / span 2; }
.pdp > .buybox { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
.pdp > .acc { grid-column: 1; grid-row: 2; margin-top: 30px; align-self: start; }
@media (max-width: 1040px) {
  .pdp > .pdp-title, .pdp > .gal, .pdp > .buybox, .pdp > .acc { grid-column: 1; grid-row: auto; }
  .pdp > .acc { margin-top: 12px; }
}

/* ===== Botones secundarios / enlaces ===== */
.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 8px; font-size: 1rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.lnk { font-size: .92rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.lnk:hover { color: var(--ink); }
.lnk.big { font-size: 1rem; margin-top: 6px; }
a.btn-solid { text-decoration: none; }

/* ===== Formularios ===== */
.f { display: grid; gap: 14px; }
.f label { display: grid; gap: 6px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.f input, .f textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 14px; width: 100%; }
.f input:focus, .f textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.f textarea { resize: vertical; min-height: 110px; font-family: var(--serif); font-size: 1.05rem; }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .f .two { grid-template-columns: 1fr; } }
.f .row, .acct-box .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.f .btn-solid { margin-top: 4px; width: auto; min-width: 200px; }
.f .lab { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.f .as { font-size: .95rem; color: var(--ink-soft); }
.f .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { font-size: .92rem; min-height: 1em; margin-top: 2px; }
.msg.bad { color: #A32B1E; }
.msg.ok { color: #2E6B4A; }
.msg small a { word-break: break-all; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--hairline); margin-bottom: 22px; }
.tabs button { padding: 12px 18px 12px 0; margin-right: 18px; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .45; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { opacity: 1; border-bottom-color: var(--ink); }
.alt { margin-top: 18px; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; padding: 0 20px; background: #fff; border: 1px solid var(--hairline); border-radius: 8px; text-decoration: none; font-weight: 500; transition: border-color .2s; }
.g-btn:hover { border-color: var(--ink); }
.g-btn svg { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--hairline); }

/* ===== Cuenta ===== */
.account { padding: 24px 0 80px; }
.acct-box { max-width: 460px; }
.acct-box h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 26px; }
.acct-box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.acct-box .sub { font-family: var(--serif); color: var(--ink-soft); margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; padding: 22px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-bottom: 26px; font-size: .98rem; }
.kv dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); align-self: center; }
.kv dd svg { width: 18px; height: 18px; stroke: #2E6B4A; }

/* ===== Puerta (modal) ===== */
.gate { position: fixed; inset: 0; z-index: 40; background: rgba(22,35,58,.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate[hidden] { display: none; }
.gate-box { position: relative; width: min(440px, 100%); max-height: 92vh; overflow: auto; background: var(--paper); border-radius: 16px; padding: 30px 28px 26px; box-shadow: 0 30px 80px rgba(22,35,58,.3); }
.gate-box .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; opacity: .6; }
.gate-box .x:hover { opacity: 1; }
.gate-box h3 { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin-right: 32px; }
.gate-box .sub { font-family: var(--serif); color: var(--ink-soft); margin: 8px 0 22px; }
.gate-box .choices { display: grid; gap: 10px; }
.gate-box .choices[hidden] { display: none; }
.gate-box .choices .btn-solid { margin: 0; }
.gate-box .choices .lnk.big { justify-self: center; }
.gate-box .tabs { margin-top: 4px; }
body.gate-open { overflow: hidden; }

/* ===== Resenas ===== */
.reviews { margin-top: 40px; padding-top: 44px; border-top: 1px solid var(--hairline); }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rev-head h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.rev-sum { display: flex; align-items: center; gap: 12px; margin-top: 10px; min-height: 22px; color: var(--ink-soft); font-size: .95rem; }
.stars { display: inline-flex; gap: 2px; }
.stars i, .pick button { display: inline-flex; }
.stars svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; opacity: .35; }
.stars i.on svg { fill: var(--naranja); stroke: var(--naranja); opacity: 1; }
.pick { display: flex; gap: 4px; margin-top: -4px; }
.pick button { width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; }
.pick svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; opacity: .4; transition: opacity .15s, transform .15s; }
.pick button:hover svg { opacity: .8; transform: scale(1.08); }
.pick button.on svg { fill: var(--naranja); stroke: var(--naranja); opacity: 1; }
.rev-form { margin-top: 28px; padding: 26px; background: rgba(255,255,255,.55); border: 1px solid var(--hairline-2); border-radius: 16px; max-width: 640px; }
.rev-form[hidden] { display: none; }
.rev-list { margin-top: 26px; display: grid; gap: 0; max-width: 760px; }
.rev { padding: 22px 0; border-top: 1px solid var(--hairline-2); }
.rev:first-child { border-top: 0; }
.rev-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rev-top .who { font-weight: 700; font-size: .98rem; }
.rev-top .dt { color: var(--ink-soft); font-size: .88rem; }
.rev-top .del { margin-left: auto; font-size: .85rem; }
.rev p { margin-top: 10px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.rev-empty { margin-top: 8px; font-family: var(--serif); color: var(--ink-soft); font-size: 1.05rem; }
.soon-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--hairline); border-radius: 999px; font-size: .68rem; letter-spacing: .1em; font-weight: 500; text-transform: uppercase; color: var(--ink-soft); }
.soon .nm::after { content: none; }
.soon .pr { font-family: var(--serif); text-transform: none; letter-spacing: 0; }

/* ===== Diseñador (/disena) =====
   Misma gramatica que la ficha: etiquetas en mayusculas, hairlines, un solo boton solido.
   Izquierda el formulario, derecha la tarjeta en vivo (en movil, la tarjeta va arriba). */
.dz { padding: 28px 0 80px; }
.dz-head h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.03em; }
.dz-head .sub { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink-soft); margin-top: 12px; max-width: 52ch; }
.dz-empty { padding: 40px 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink-soft); }
.dz-empty a { color: var(--ink); }
.dz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 24px 72px; margin-top: 36px; align-items: start; }
@media (max-width: 960px) { .dz-grid { grid-template-columns: 1fr; gap: 28px; } .dz-prev { order: -1; } }

/* Unidades: que se esta disenando */
.dz-units { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.dz-units .lab, .dz-form .lab, .dz-prev .lab { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.seg button { min-height: 42px; padding: 0 16px; border: 1px solid var(--hairline); border-radius: 8px; font-size: .95rem; transition: border-color .2s; }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg button.num { min-width: 42px; padding: 0 12px; font-variant-numeric: tabular-nums; }
.seg button.num.ok::after { content: "✓"; margin-left: 6px; font-size: .8em; color: #2E6B4A; }
/* Anadir mas desde el disenador (8 oct 2026) */
/* Resumen final antes de Stripe (8 oct 2026): el mismo cajon del carrito */
.dz-review-bg { position: fixed; inset: 0; background: rgba(22,35,58,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 30; }
.dz-review .drawer { z-index: 31; }
body.review-open .dz-review-bg { opacity: 1; pointer-events: auto; }
body.review-open .dz-review .drawer { transform: none; }
body.review-open { overflow: hidden; }
.dz-review .rv-sub { color: var(--ink-soft); font-size: .92rem; margin: 10px 0 4px; }
.dz-review .rv-th { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; background: var(--paper-2); border-radius: 8px; padding: 4px; }
.dz-review .rv-th svg { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 1px 2px rgba(22,35,58,.18)); }
.dz-review .btn-line { width: 100%; margin-top: 10px; }
/* Reorden: nota arriba del disenador */
.dz-re-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 14px; background: rgba(255,255,255,.6); border: 1px solid var(--hairline); border-radius: 8px; font-size: .92rem; max-width: 640px; }
.dz-re-note .i { width: 16px; height: 16px; flex: none; margin-top: 3px; }
/* Logo propio del centro y color del icono */
.dz-cdrop { margin-top: 12px; }
/* Pagina del contacto (16 oct 2026, tipo Linktree): frase, lista de enlaces y tema — en /disena y en Editar contacto (cuenta) */
.cl-bio textarea { width: 100%; resize: vertical; min-height: 64px; font-family: var(--sans); }
.cl .cl-h { margin: -4px 0 12px; }
.cl-list { display: grid; gap: 10px; }
.cl-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; padding: 10px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.5); }
.cl-main { display: grid; gap: 8px; min-width: 0; }
.cl-row select, .cl-row input { width: 100%; min-height: 46px; }
.cl-acts { display: flex; flex-direction: column; gap: 4px; }
.cl-acts button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hairline-2); border-radius: 8px; color: var(--ink-soft); transition: color .2s, border-color .2s; }
.cl-acts button:hover:not(:disabled) { color: var(--ink); border-color: var(--ink); }
.cl-acts button:disabled { opacity: .3; cursor: default; }
.cl-row .err { grid-column: 1 / -1; margin: 0; }
.cl-row .err:empty { display: none; }
.cl-add { margin-top: 2px; }
.cl-theme #cThemeSeg button { display: inline-flex; align-items: center; gap: 8px; }
.cl-sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--hairline); flex: none; }
.cl-sw-claro { background: var(--paper); }
.cl-sw-oscuro { background: var(--ink); }
.cl-sw-tarjeta { background: linear-gradient(135deg, var(--paper) 50%, var(--naranja) 50%); }
.dz-cpage-see { width: 100%; }
.dz-cpage-see[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.pn-ce .cl-row input, .pn-ce .cl-row select { min-height: 44px; }
.pn-ce .cl-row select { font: inherit; font-size: 1rem; padding: 0 36px 0 12px; border: 1px solid rgba(22,35,58,.25); border-radius: 8px; background: #fff; color: inherit; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.pn-ce .cl-bio textarea { width: 100%; font: inherit; font-size: 1rem; padding: 10px 14px; border: 1px solid rgba(22,35,58,.25); border-radius: 8px; background: #fff; color: inherit; resize: vertical; min-height: 64px; }
.pn-ce .cl-acts button { width: 36px; height: 36px; }
.pn-ce .hint { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.dz-cdrop .got img { max-width: 48px; max-height: 48px; }
.swatches .sw.same { width: auto; padding: 0 10px; font-size: .82rem; border-radius: 999px; }
.dz-more { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.dz-qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--paper); }
.dz-qty button { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.dz-qty button:disabled { opacity: .35; }
.dz-qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.btn-line.dz-addbtn { min-height: 40px; padding: 0 14px 0 10px; gap: 6px; font-size: .92rem; }
.dz-addbtn .i { width: 16px; height: 16px; }
.dz-addmenu { flex-basis: 100%; }
.dz-addmenu .seg { margin-top: 8px; }
.dz-same { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }

/* Formulario */
.dz-form { max-width: 560px; }
.dz-sec { padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.dz-sec:first-child { padding-top: 0; }
.dz-sec .lab { display: block; margin-bottom: 12px; }
.dz-sec label.check { display: flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.dz-sec label.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.dz-sec .hint { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }
.dz-sec .hint code { background: rgba(255,255,255,.7); padding: 1px 6px; border-radius: 4px; font-size: .86em; }
.dz-sec input[type=text], .dz-sec input[type=url], .dz-sec input[type=tel], .dz-sec input[type=email], .dz-sec input[type=search], .dz-sec select, .dz-sec textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 14px; width: 100%; }
.dz-sec input:focus, .dz-sec select:focus, .dz-sec textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.dz-sec input.bad { border-color: #A32B1E; }
.dz-sec select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.dz-sec textarea { min-height: 80px; resize: vertical; font-family: var(--serif); font-size: 1.02rem; }
.dz-sec .stack { display: grid; gap: 12px; }
.dz-sec .err { margin-top: 10px; }
.dz-sec .err.show { display: flex; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--hairline); border-right: 0; border-radius: 8px 0 0 8px; background: var(--paper-2); color: var(--ink-soft); font-size: .95rem; white-space: nowrap; }
.prefix input { border-radius: 0 8px 8px 0 !important; }
.guide { margin-top: 10px; font-size: .92rem; }
.guide summary { display: inline; cursor: pointer; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide ol { margin: 10px 0 0 18px; display: grid; gap: 6px; color: var(--ink); }
.guide code { background: rgba(255,255,255,.7); padding: 1px 6px; border-radius: 4px; font-size: .86em; }

/* Logo */
.drop { display: block; border: 1px dashed var(--hairline); border-radius: 8px; padding: 18px 16px; background: rgba(255,255,255,.55); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--ink); background: #fff; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .dt { display: block; font-weight: 700; }
.drop .dd { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }
.drop .got { display: flex; align-items: center; gap: 14px; }
.drop .got img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--hairline-2); border-radius: 6px; }
.drop .got .nm { font-weight: 700; font-size: .95rem; word-break: break-all; }
.drop .got .lnk { display: inline-block; margin-top: 4px; }
.dz-logo-alt { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.dz-logo-alt button { font-size: .92rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.dz-logo-alt button[aria-pressed="true"] { color: var(--ink); text-decoration: none; font-weight: 700; }

/* Vista previa */
.dz-prev { position: sticky; top: 20px; }
@media (max-width: 960px) { .dz-prev { position: static; } }
.dz-stage { display: grid; place-items: center; padding: 28px 16px; background: var(--paper-2); border-radius: 16px; min-height: 320px; }
.dz-stage svg { max-width: 100%; height: auto; filter: drop-shadow(0 20px 26px rgba(22,35,58,.22)); }
.dz-stage svg.cartel { width: 280px; }
/* 13 oct 2026: la Card se veia chiquita al lado del cartel; en computadora va mas grande (en el movil, como antes) */
.dz-stage svg.tv { width: 270px; }
.dz-stage svg.th { width: 410px; }
@media (max-width: 960px) { .dz-stage svg.tv { width: 220px; } .dz-stage svg.th { width: 330px; } }
.dz-prev .lab { display: block; margin-top: 18px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 0; display: grid; place-items: center; transition: transform .15s; }
.sw i { display: block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(22,35,58,.15); }
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed="true"] { border-color: var(--ink); }
.sw.custom { width: auto; padding: 0 6px 0 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.sw.custom input[type=color] { width: 26px; height: 26px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.sw.custom span { font-size: .82rem; color: var(--ink-soft); }
.dz-prev .seg { margin-top: 10px; }
.dz-prev .seg button { min-height: 36px; padding: 0 12px; font-size: .88rem; }
.dz-prev .dest { margin-top: 16px; font-size: .9rem; color: var(--ink-soft); word-break: break-all; line-height: 1.45; }
.dz-prev .dest b { color: var(--ink); }
.dz-prev .fine { margin-top: 14px; }

/* Pie: total + boton */
.dz-foot { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dz-foot .sum { font-size: .98rem; color: var(--ink-soft); }
.dz-foot .sum b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dz-foot .btn-solid { width: auto; min-width: 240px; margin: 0; padding: 0 26px; }
.dz-foot .err { width: 100%; }
/* Total (pie del disenador) */
.dz-total { display: grid; gap: 8px; }
/* Diseno ya pagado: vista de solo lectura */
.dz-locked { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.dz-locked figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.dz-locked svg { width: 220px; height: auto; filter: drop-shadow(0 16px 22px rgba(22,35,58,.2)); }
.dz-locked figcaption { font-size: .85rem; color: var(--ink-soft); }
.line .deal { margin-top: 8px; font-size: .86rem; color: var(--ink); }
.line .deal .lnk { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); }

.seg button[disabled] { opacity: .4; cursor: not-allowed; }
.dz-search { margin-bottom: 12px; }
.dz-cats { margin-top: 0; }
.dz-cats button { font-weight: 600; }
.dz-dests { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--hairline); }
.dz-dests:empty { display: none; }
.dz-sec input[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
.dz-prev .hint { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }

/* ===== TapCard Engraved ===== */
/* Extras en la ficha: "Añadir QR" / "Añadir nombre" */
.addons { display: grid; gap: 10px; margin-top: 22px; }
.addon { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; text-align: left; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 8px; transition: border-color .2s, background .2s; }
.addon:hover { border-color: var(--ink); }
.addon[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: rgba(255,255,255,.5); }
.addon .ck { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--hairline); display: inline-flex; align-items: center; justify-content: center; }
.addon[aria-pressed="true"] .ck { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.addon .ck svg.i { width: 14px; height: 14px; stroke-width: 2; }
.addon .tx .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.addon .tx b { font-weight: 700; font-size: .98rem; }
.addon .tx small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.4; color: var(--ink-soft); }
.addon .pp { font-weight: 700; font-size: .9rem; white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 2px; }
.line.addon-line .plus { width: 62px; display: flex; justify-content: center; padding-top: 2px; color: var(--ink-soft); }
.line.addon-line .ctl { margin-top: 6px; }

/* Diseñador de la grabada */
.eng-stage { display: grid; gap: 14px; padding: 26px 18px; background: var(--paper-2); border-radius: 16px; justify-items: center; }
.eng-stage figure { margin: 0; width: 100%; max-width: 400px; display: grid; gap: 8px; justify-items: center; }
.eng-stage canvas, .eng-stage svg { width: 100%; height: auto; border-radius: 3.5% / 5.5%; filter: drop-shadow(0 16px 22px rgba(22,35,58,.2)); }
.eng-stage figcaption { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.eng-stage .busy { width: 100%; max-width: 400px; aspect-ratio: 85.6 / 54; border-radius: 12px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.35) 0 12px, rgba(255,255,255,.15) 12px 24px); display: grid; place-items: center; font-size: .88rem; color: var(--ink-soft); }
.eng-checks { list-style: none; display: grid; gap: 6px; margin-top: 16px; font-size: .9rem; }
.eng-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; line-height: 1.4; }
.eng-checks li svg.i { width: 16px; height: 16px; margin-top: 2px; stroke-width: 2; }
.eng-checks li.ok { color: var(--ink); }
.eng-checks li.ok svg.i { color: #2E7D4F; }
.eng-checks li.warn { color: #8A4A0F; }
.eng-checks li.warn svg.i { color: #D2791C; }
.eng-checks li.bad { color: #A32B1E; }
.eng-checks li small { color: var(--ink-soft); }
.eng-marks { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .88rem; }
.eng-marks label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.eng-marks input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.eng-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--ink-soft); margin-top: 8px; }
.eng-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.eng-extra { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px dashed var(--hairline); border-radius: 8px; background: rgba(255,255,255,.45); }
.eng-extra p { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
.eng-extra p b { color: var(--ink); display: block; font-size: .98rem; }
.eng-extra .btn-line { width: auto; min-height: 40px; margin: 0; padding: 0 16px; white-space: nowrap; }
.eng-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.eng-on .lnk { font-size: .88rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.eng-approve { display: grid; gap: 10px; }
.eng-approve label.check { align-items: flex-start; line-height: 1.4; }
.eng-approve label.check input { margin-top: 2px; flex: none; }
.dz-sec .seg button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 860px) { .eng-stage { padding: 18px 12px; } }
.eng-approve label.check[hidden] { display: none; }
#engBack, #engFront { width: 100%; }

/* ===== Panel de metricas (/cuenta y /admin) — assets/tienda/panel-view.js, panel.js =====
   Misma gramatica que el resto: hairlines, etiquetas en mayusculas, un solo boton solido. Tap = azul noche, scan = naranja. */
.pn { padding: 0 0 40px; }
.pn:empty { display: none; }
.pn-head { padding: 24px 0 0; }
.pn-head h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.03em; }
.pn-head .sub { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; color: var(--ink-soft); margin-top: 10px; }
.pn-tabs { display: flex; border-bottom: 1px solid var(--hairline); margin-top: 30px; overflow-x: auto; scrollbar-width: none; }
.pn-tabs button { padding: 12px 0; margin-right: 26px; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .45; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.pn-tabs button[aria-selected="true"] { opacity: 1; border-bottom-color: var(--ink); }
.pn-tabs .n { font-weight: 500; letter-spacing: 0; opacity: .7; }
.pn-intro { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.5; color: var(--ink-soft); max-width: 62ch; margin-top: 26px; }
.pn-lede { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.45; max-width: 60ch; margin-top: 22px; text-wrap: pretty; }
.pn-note { font-family: var(--serif); color: var(--ink-soft); font-size: .98rem; line-height: 1.5; max-width: 62ch; margin-top: 12px; }
.pn-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 26px 0 0; }
.pn-seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pn-seg button { min-height: 40px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: 8px; font-size: .92rem; transition: border-color .2s; }
.pn-seg button:hover { border-color: var(--ink); }
.pn-seg button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pn-only { font-size: .95rem; color: var(--ink-soft); }
.pn-only b { color: var(--ink); }
.pn-alerts { list-style: none; margin-top: 22px; border-top: 1px solid var(--hairline); }
.pn-alerts li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--hairline-2); font-size: .98rem; line-height: 1.45; }
.pn-alerts .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--ink-soft); }
.pn-alerts .bad .dot { background: #A32B1E; } .pn-alerts .warn .dot { background: var(--naranja); }
.pn-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-top: 26px; }
.pn-kpi { padding: 20px 18px 20px 0; min-width: 0; }
.pn-kpi + .pn-kpi { padding-left: 18px; border-left: 1px solid var(--hairline-2); }
.pn-kpi .lab, .pn-cities .lab, .pn-tc .lab { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pn-kpi .v { font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.1; margin-top: 8px; }
.pn-kpi .v small { font-size: .55em; color: var(--ink-soft); }
.pn-kpi .s { font-size: .86rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.35; }
.pn-split { display: flex; gap: 2px; height: 6px; margin-top: 8px; border-radius: 3px; overflow: hidden; }
.pn-split i:first-child { background: var(--ink); } .pn-split i:last-child { flex: 1; background: var(--naranja); }
.pn .up { color: #2E6B4A; } .pn .down { color: #A32B1E; }
@media (max-width: 1000px) { .pn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pn-kpi, .pn-kpi + .pn-kpi { padding: 16px 12px 16px 0; border-left: 0; border-bottom: 1px solid var(--hairline-2); } .pn-kpi:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--hairline-2); } }
.pn-sec { padding-top: 44px; }
.pn-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pn-h h2, .pn-h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.1; }
.pn-h2 { margin-top: 40px; margin-bottom: 14px; }
.pn-h p { font-family: var(--serif); color: var(--ink-soft); font-size: 1rem; margin-top: 6px; }
.pn-legend { display: flex; gap: 16px; font-size: .88rem; color: var(--ink-soft); }
.pn-legend i { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: 4px; }
.pn-legend i.tap { background: var(--ink); } .pn-legend i.scan { background: var(--naranja); }
.pn-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
.pn-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 960px) { .pn-cols, .pn-cols3 { grid-template-columns: minmax(0, 1fr); gap: 8px; } .pn-cols > div + div, .pn-cols3 > div + div { padding-top: 32px; } }
.pn svg { display: block; width: 100%; height: auto; overflow: visible; }
.pn svg text, .pn-heat text { fill: var(--ink-soft); font: 12px var(--sans); }
.pn-line .grid { stroke: var(--hairline-2); } .pn-line .l-tap { fill: none; stroke: var(--ink); stroke-width: 2; } .pn-line .l-scan { fill: none; stroke: var(--naranja); stroke-width: 2; }
.pn-line .d-tap { fill: var(--ink); stroke: var(--paper); stroke-width: 2; } .pn-line .d-scan { fill: var(--naranja); stroke: var(--paper); stroke-width: 2; }
.pn-line .xl { stroke: var(--ink-soft); stroke-dasharray: 3 3; }
.pn-scroll { overflow-x: auto; }
.pn-heat { min-width: 520px; max-width: 760px; }
.pn-big { font-size: 1.05rem; color: var(--ink-soft); } .pn-big .num { font-weight: 700; font-size: 2rem; color: var(--ink); letter-spacing: -0.02em; margin-right: 6px; }
.pn-hb { display: grid; gap: 12px; }
.pn-hr { display: grid; grid-template-columns: minmax(96px, 150px) 1fr 48px; gap: 12px; align-items: center; font-size: .95rem; }
.pn-hr small { display: block; font-size: .78rem; color: var(--ink-soft); }
.pn-ht { height: 10px; background: var(--paper-2); border-radius: 0 4px 4px 0; }
.pn-hf { height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.pn-hf.mut { background: rgba(22,35,58,.35); }
.pn-hr .num { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pn-cities { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.pn-table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .95rem; }
.pn-table th { text-align: left; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--hairline); }
.pn-table td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--hairline-2); vertical-align: middle; }
.pn-table .r { text-align: right; } .pn-table .num { font-variant-numeric: tabular-nums; }
.pn-table td .sm { display: block; font-size: .8rem; color: var(--ink-soft); }
.pn-table td.pn-sp { width: 100px; color: var(--ink); }
.pn-cardlink { text-align: left; text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 4px; }
.pn-cardlink:hover { text-decoration-color: var(--ink); }
.pn svg.pn-spark { width: 90px; flex: none; }
.pn-st { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; white-space: nowrap; color: var(--ink-soft); }
.pn-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pn-st.ok { color: #2E6B4A; } .pn-st.warn { color: #B8621B; } .pn-st.bad { color: #A32B1E; }
.pn-said { list-style: none; display: grid; gap: 14px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; color: var(--ink-soft); max-width: 66ch; }
.pn-said li { padding-left: 18px; position: relative; }
.pn-said li::before { content: "·"; position: absolute; left: 4px; color: var(--ink); }
.pn-said b { font-family: var(--sans); font-weight: 700; color: var(--ink); }
.pn-foot { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.pn-foot .btn-solid { width: auto; margin: 0; padding: 0 22px; }
.pn-tip { position: fixed; pointer-events: none; background: var(--ink); color: var(--paper); font-size: .85rem; line-height: 1.4; padding: 8px 12px; border-radius: 8px; z-index: 60; max-width: 240px; }
.pn-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--hairline); border-radius: 999px; font-size: .68rem; letter-spacing: .1em; font-weight: 500; text-transform: uppercase; color: var(--ink-soft); vertical-align: 2px; }
/* Tus TapCards */
.pn-order { margin-top: 34px; }
.pn-order-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.pn-order-h b { font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.pn-order-h span { font-size: .9rem; color: var(--ink-soft); }
.pn-tc { display: grid; grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.5fr); gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hairline-2); }
.pn-tc .ph { width: 96px; height: 104px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; }
/* Arte real de la TapCard: mientras carga (o si falla) se ve el dibujito; al tocar/clic se agranda. */
.pn-tc .ph.art { position: relative; border: 0; padding: 6px; cursor: zoom-in; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.pn-tc .ph.art img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; opacity: 0; transition: opacity .2s; filter: drop-shadow(0 1px 2px rgba(22,35,58,.18)); }
.pn-tc .ph.art.loaded img { opacity: 1; }
.pn-tc .ph.art.loaded .mini { visibility: hidden; }
@media (hover: hover) { .pn-tc .ph.art:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(22,35,58,.14); } }
.pn-tc .ph.art:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pn-zoom { position: fixed; inset: 0; z-index: 80; background: rgba(22,35,58,.6); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.pn-zoom .box { background: var(--paper, #FFFFFF); border-radius: 16px; padding: 20px; display: grid; gap: 14px; justify-items: center; max-width: min(92vw, 560px); max-height: 92vh; cursor: default; }
.pn-zoom .box img { width: min(84vw, 460px); height: auto; max-height: 74vh; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(22,35,58,.22)); }
.pn-zoom .row { display: flex; gap: 12px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%; font-size: .95rem; }
.pn .pn-tc .ph svg { width: auto; height: 50px; max-width: 60px; }
.pn-tc .t { font-weight: 700; } .pn-tc .d, .pn-tc .code { font-size: .86rem; color: var(--ink-soft); margin-top: 2px; }
/* Reordenar (8 oct 2026) */
.pn-re { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .84rem; }
.btn-line.pn-re { min-height: 0; height: auto; padding: 6px 12px 6px 10px; border-radius: 6px; line-height: 1.2; }
.pn-re .i { width: 14px; height: 14px; }
.lnk.pn-re { padding: 0; margin-top: 6px; }
.pn-odc { display: flex; flex-direction: column; align-items: stretch; }
.pn-odc .lnk.pn-re { align-self: center; }
.pn-edit { margin-left: 6px; font-size: .86rem; }
.pn-tc .m { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pn-tc .m .big { font-weight: 700; font-size: 1.25rem; }
.pn-tc .where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; }
.pn-tc .where .lab { grid-column: 1 / -1; font-size: .72rem; }
.pn-tc select, .pn-tc input { font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 10px 12px; width: 100%; }
.pn-tc select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 34px; }
.pn-tc select.empty { border-color: var(--naranja); color: var(--ink-soft); }
.pn-tc select:focus, .pn-tc input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
@media (max-width: 900px) { .pn-tc { grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; } .pn-tc .m, .pn-tc .where { grid-column: 2; } }
@media (max-width: 520px) { .pn-tc .where { grid-template-columns: 1fr; } }
.pn-form { max-width: 620px; margin-top: 22px; }
.pn-form select { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 14px; width: 100%; }
.pn-check { display: flex !important; align-items: center; gap: 10px; text-transform: none !important; letter-spacing: 0 !important; font-size: .98rem !important; color: var(--ink) !important; cursor: pointer; }
.pn-check input { width: 18px !important; height: 18px; accent-color: var(--ink); }
.pn .kv { max-width: 620px; }
.pn .row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
/* Diseñador: pedido de regalo (solo con sesión de /admin) */
.dz-gift { width: 100%; margin-top: 18px; padding: 16px; border: 1px dashed var(--hairline); border-radius: 8px; background: rgba(255,255,255,.4); }
.dz-gift .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.dz-gift select { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; min-width: 240px; flex: 1; }
/* Solo admin · Para un cliente (27 oct 2026): enlace de pago o regalo */
.dz-admin input[type=email], .dz-admin input[type=text] { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; min-width: 200px; flex: 1; }
.dz-admin .pl-disc { border: 0; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.dz-admin .pl-disc legend { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.dz-admin .pl-disc label, .dz-admin .pl-opts label { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; min-height: 44px; cursor: pointer; }
.dz-admin .pl-disc #plCode { min-width: 160px; flex: 0 1 200px; text-transform: uppercase; }
.dz-admin .pl-opts { align-items: center; justify-content: space-between; }
.dz-admin .pl-opts select { min-width: 0; flex: none; }
.dz-admin .row .btn-solid, .dz-admin .row .btn-line { width: auto; margin: 0; flex: 1 1 220px; }
.pl-wrap { padding: 32px; max-width: 800px; } @media (max-width: 600px) { .pl-wrap { padding: 20px 16px; } }
.pl-done { max-width: 720px; }
.pl-done .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pl-done .row .btn-solid, .pl-done .row .btn-line { width: auto; margin: 0; flex: 1 1 200px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.pl-done #plUrl { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; flex: 3 1 320px; min-width: 0; }
.pl-done .fine { margin-top: 14px; }
/* "Ubicar tocando": pagina de /t/ para el dueno + aviso en Tus TapCards */
.pn-mode { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--naranja); font-weight: 700; }
.pn-loc { padding-block: 18px 60px; max-width: 640px; }
.pn-loc h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.6rem, 9vw, 4rem); letter-spacing: -0.03em; line-height: 1; margin-top: 6px; }
.pn-loc .sub { font-family: var(--serif); color: var(--ink-soft); font-size: 1.1rem; margin-top: 10px; }
.pn-loc .lab { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 26px; }
.pn-saved { padding: 14px 16px; border-radius: 10px; background: #DDEFE2; color: #1F4D34; font-size: 1rem; line-height: 1.4; margin-top: 8px; }
.pn-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pn-places label { position: relative; display: block; cursor: pointer; }
.pn-places input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pn-places span { display: flex; align-items: center; justify-content: center; min-height: 58px; border: 1px solid var(--hairline); border-radius: 10px; background: rgba(255,255,255,.6); font-size: 1.08rem; font-weight: 700; transition: background .15s, border-color .15s; }
.pn-places label:hover span { border-color: var(--ink); }
.pn-places input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pn-places input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pn-loc .pn-save { width: 100%; min-height: 56px; margin-top: 18px; font-size: 1.08rem; }
.pn-loc .pn-save2 { width: 100%; min-height: 52px; margin-top: 10px; font-size: 1rem; }
.pn-locform input[type=text] { width: 100%; margin-top: 8px; font: inherit; font-size: 1.05rem; padding: 14px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; }
.pn-progress { margin-top: 22px; font-size: .95rem; color: var(--ink-soft); }
.pn-locacts { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.pn-locate { margin-top: 24px; padding: 18px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.45); display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; align-items: center; }
.pn-locate.on { border-color: var(--naranja); background: #FBEBDD; }
.pn-locate b { display: block; font-size: 1.05rem; }
.pr-legacy { margin: 12px 0 4px; }
.pr-acct { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .9rem; color: var(--ink-soft); margin: 6px 0 2px; }
.pr-acct b { color: var(--ink); }
.pr-mv { display: inline-flex; gap: 8px; align-items: center; }
.pr-mv select { font: inherit; padding: 4px 8px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; max-width: 240px; }
.pn-locate p { font-family: var(--serif); color: var(--ink-soft); font-size: 1rem; line-height: 1.45; margin-top: 4px; }
.pn-locate .qr { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.pn-locate .qr svg { width: 110px; height: 110px; background: #fff; padding: 6px; border-radius: 8px; flex: none; }
.pn-locate .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pn-locate .btn-solid { width: auto; margin: 0; padding: 0 20px; }
@media (max-width: 620px) { .pn-locate { grid-template-columns: 1fr; } }

/* Cartel Engraved (Counter Stand Engraved): el cartel con el logo grabado arriba y el sticker del QR abajo, en su sitio. */
.eng-stage.is-stand figure { max-width: 330px; }
.eng-stand { position: relative; }
.eng-stand canvas { border-radius: 4% / 2.9% !important; }
.eng-stand .busy { aspect-ratio: 75 / 102.5 !important; align-items: start; padding-top: 16%; border: 1px solid rgba(22,35,58,.12); }
.eng-stand .stk { position: absolute; line-height: 0; }
.eng-stage .eng-stand .stk svg { filter: none; border-radius: 4.8% / 5.3%; box-shadow: 0 0 0 .5px rgba(22,35,58,.18), 0 1px 2px rgba(22,35,58,.12); }
.eng-colors button { display: inline-flex; align-items: center; gap: 8px; }
.eng-colors .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(22,35,58,.25); display: inline-block; }
.eng-colors button[disabled] { opacity: .5; cursor: not-allowed; }
.eng-colors small { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

/* Detalle de pedido en /cuenta › Pedidos */
.pn-ref { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pn-od .box { width: min(92vw, 620px); max-width: none; justify-items: stretch; overflow: auto; text-align: left; gap: 16px; }
.pn-od .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pn-od h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 0; }
.pn-od h3 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 0; }
.pn-od .x { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 4px; }
.pn-od .kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: .95rem; }
.pn-od .kv dt { color: var(--ink-soft); }
.pn-od .kv dd { margin: 0; }
.pn-od .pn-odgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.pn-od .pn-odgrid .art { display: grid; gap: 6px; justify-items: center; border: 0; background: var(--paper-2); border-radius: 10px; padding: 10px 8px; cursor: zoom-in; font: inherit; font-size: .8rem; color: var(--ink); }
.pn-od .pn-odgrid .art img { width: 100%; height: 120px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(22,35,58,.18)); }
@media (hover: hover) { .pn-od .pn-odgrid .art:hover img { transform: scale(1.05); transition: transform .18s; } }
.pn-zoom:not(.pn-od) { z-index: 90; }
/* Editar contacto (13 oct 2026) */
.pn-ce .box { justify-items: stretch; width: min(92vw, 480px); overflow-y: auto; gap: 6px; text-align: left; }
.pn-ce h2 { margin: 0; font-size: 1.3rem; }
.pn-ce .d { margin: 0 0 8px; opacity: .8; font-size: .92rem; }
.pn-ce .lab { margin-top: 8px; }
.pn-ce input { width: 100%; box-sizing: border-box; min-height: 48px; font: inherit; font-size: 1rem; padding: 0 14px; border: 1px solid rgba(22,35,58,.25); border-radius: 8px; background: #fff; color: inherit; }
.pn-ce input:focus { outline: 2px solid var(--ink, #16233A); outline-offset: 1px; }
.pn-ce .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.pn-ce .acts button { min-height: 48px; height: 48px; width: 100%; margin: 0; padding: 0 12px; box-sizing: border-box; }
.pn-ce .box { padding-bottom: 24px; }
.pn-ce .ce-test { justify-self: center; margin-top: 6px; font-size: .92rem; }
.pn-ce details { margin-top: 8px; }
.pn-ce summary { cursor: pointer; }
.pn-ce .err { color: #A32B1E; min-height: 1.2em; margin: 4px 0 0; }

.pn-od .box { align-content: start; grid-auto-rows: max-content; }
.pn-od .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pn-od .row .btn-solid { width: auto; padding: 14px 22px; }
.pn-od .kv dt { text-transform: none; letter-spacing: 0; font-size: .95rem; }

/* Sitio de pruebas (staging) */
.stg-bar { position: sticky; top: 0; z-index: 100; background: #C9423A; color: #fff; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em; padding: 6px 12px; }

/* TapCard gratis de bienvenida + aviso de envio */
.welcome .wel-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.welcome .wel-pick .btn-solid { width: auto; padding: 12px 18px; }
#cartItems .line.gift .p { color: #2E7D4F; font-weight: 700; }
#cartItems .ship-hint { font-size: .85rem; color: var(--ink-soft); margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.5); }

/* Pop-up de la TapCard gratis (/tapcard, 5 s, sin sesion) */
.gift-pop { position: fixed; inset: 0; z-index: 60; background: rgba(22,35,58,.55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: gpIn .25s ease; }
@keyframes gpIn { from { opacity: 0; } to { opacity: 1; } }
.gift-pop .gp-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); width: min(880px, 100%); max-height: 92vh; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(22,35,58,.35); }
.gift-pop .gp-ph { background: var(--paper-2); }
.gift-pop .gp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift-pop .gp-tx { width: auto; max-height: 92vh; overflow: auto; border-radius: 0; box-shadow: none; padding: 34px 32px 24px; }
.gift-pop .gp-k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.gift-pop h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.05; }
.gift-pop h3 em { font-style: normal; color: #D9631E; }   /* acento naranja de la paleta (antes verde) */
.gift-pop .gp-no { text-align: center; margin: 14px 0 0; }
.gift-pop .gp-no .lnk { color: var(--ink-soft); }
@media (max-width: 720px) {
  .gift-pop .gp-box { grid-template-columns: 1fr; }
  .gift-pop .gp-ph { height: 120px; }
  .gift-pop .gp-tx { padding: 24px 20px 18px; max-height: calc(92vh - 120px); }
}

/* ATH Móvil: dos secciones (Business / personal) */
.ath-box { border: 1px solid var(--hairline); border-radius: 10px; padding: 16px; background: rgba(255,255,255,.35); margin-bottom: 12px; }
.ath-box.on { border-color: var(--ink); background: rgba(255,255,255,.7); }
.dz-sec .ath-box .ath-h { color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.ath-box .ath-on { font-weight: 500; color: var(--ink-soft); letter-spacing: .06em; }
.ath-box .ath-or2 { font-size: .86rem; color: var(--ink-soft); margin: 12px 0 8px; }
#athInfo:empty { display: none; }
/* Cuenta Básico: lo que trae Pro, "Próximamente" (8 oct 2026) */
.pn-pro { margin-top: 28px; border: 1px dashed var(--hairline); border-radius: 14px; padding: 18px 20px; }
.pn-pro-list { margin: 4px 0 16px; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink-soft); }
.pn-pro-ok { margin: 0; font-weight: 500; }

/* ===== Leyes de UX (8 oct 2026) ===== */
/* Fitts: idioma con area de toque de 44px */
.lang button { min-height: 44px; min-width: 36px; }
/* Jakob: en el movil "Cuenta" no desaparece: queda como el icono de persona de siempre, junto al carrito */
@media (max-width: 860px) {
  .links li.l:has(#accountLink) { display: list-item; list-style: none; }
  #accountLink { font-size: 0; width: 40px; justify-content: center; }
  #accountLink::before { content: ""; width: 24px; height: 24px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.2-4 4.3-6 8-6s6.8 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.2-4 4.3-6 8-6s6.8 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat; }
}
/* Von Restorff: la oferta resalta en la puerta sin cambiar el orden de los botones */
.chip { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--naranja); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; vertical-align: 1px; }
/* Zeigarnik: pedido a medias */
.resume { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 24px 0 8px; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 12px; background: rgba(255,255,255,.55); }
.resume[hidden] { display: none; }
.resume p { font-size: .98rem; line-height: 1.4; margin: 0; }
.resume .btn-solid { width: auto; min-height: 44px; margin: 0; padding: 0 22px; }
/* Fitts: barra fija abajo en el movil (ficha y disenador) cuando el boton principal no se ve */
.pdp-bar, .dz-bar { display: none; }
@media (max-width: 860px) {
  .pdp-bar, .dz-bar { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--hairline); box-shadow: 0 -8px 24px rgba(22,35,58,.08); transform: translateY(110%); transition: transform .25s; }
  .pdp-bar.show, .dz-bar.show { transform: none; }
  .pdp-bar .add { margin: 0; min-height: 52px; }
  .dz-bar .sum { flex: 1; font-size: .95rem; color: var(--ink-soft); margin: 0; }
  .dz-bar .sum b { color: var(--ink); }
  .dz-bar .btn-solid { width: auto; min-height: 52px; margin: 0; padding: 0 26px; }
  body.cart-open .pdp-bar, body.gate-open .pdp-bar, body.review-open .dz-bar, body.gate-open .dz-bar { transform: translateY(110%); }
}
/* Goal-Gradient: pasos del pedido */
.steps { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 22px 0 0; padding: 0; font-size: .88rem; color: var(--ink-soft); }
.steps li, .steps a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.steps .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--hairline); display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700; }
.steps .n svg.i { width: 14px; height: 14px; }
.steps li.done { color: var(--ink); }
.steps li.done .n { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.now .n { border: 2px solid var(--ink); }
.drawer .steps { margin: 4px 0 14px; }
/* Hick / Miller: en el movil se llena primero lo que hace falta (nombre, logo, que abre) y despues los colores */
@media (max-width: 960px) {
  .dz-prev:has(> .dz-ctl) { display: contents; }
  .dz-prev:has(> .dz-ctl) > .dz-stage { order: -1; }
  .dz-prev > .dz-ctl { order: 1; }
}
.dz-namecol { margin-top: 18px; }
.dz-namecol > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; margin: 0; }
.dz-namecol > summary::-webkit-details-marker { display: none; }
.dz-namecol > summary::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--ink); }
.dz-namecol[open] > summary::after { content: "−"; }
.dz-namecol .cur { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(22,35,58,.2); display: inline-block; }
.dz-prev .dz-namecol > summary.lab { display: flex; margin-top: 0; }
.dz-panel .dz-namecol { margin-top: 0; }
.dz-panel .dz-namecol > summary.lab { display: flex; margin-bottom: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.dz-panel .dz-namecol[open] > summary.lab { margin-bottom: 4px; }
@media (max-width: 420px) { .steps { gap: 6px 12px; font-size: .8rem; } .steps .n { width: 22px; height: 22px; } .steps li, .steps a { gap: 6px; } }
/* Jakob (8 oct 2026): carrito como icono con numero, como en cualquier tienda */
.cart-btn { position: relative; width: 44px; justify-content: center; }
.cart-btn svg.i { width: 26px; height: 26px; }
.cart-btn .count { position: absolute; top: 2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--naranja); color: #fff; font-size: .74rem; font-weight: 700; line-height: 20px; text-align: center; }
.cart-btn .count.zero { display: none; }
/* Vista previa pegada en el movil (8 oct 2026) */
.dz-minipv { display: none; }
@media (max-width: 960px) {
  .dz-minipv { display: grid; place-items: center; position: fixed; top: 12px; right: 12px; z-index: 21; width: 86px; height: 104px; padding: 6px; background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 12px; box-shadow: 0 10px 28px rgba(22,35,58,.22); opacity: 0; transform: translateY(-8px) scale(.96); pointer-events: none; transition: opacity .2s, transform .2s; }
  .dz-minipv.show { opacity: 1; transform: none; pointer-events: auto; }
  .dz-minipv svg { max-width: 100%; max-height: 100%; width: auto !important; height: auto; filter: drop-shadow(0 4px 8px rgba(22,35,58,.2)); }
  body.stg .dz-minipv { top: 40px; }
  body.review-open .dz-minipv, body.gate-open .dz-minipv { opacity: 0; pointer-events: none; }
}
/* Carrito (8 oct 2026): ahorro en naranja */
.line .v.save { color: #B4531B; font-weight: 700; }   /* naranja oscuro: contraste AA sobre el papel */

/* Modo admin de /disena (13 oct 2026): resumen de un cambio de pedido. */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.dz-review .btn-line.danger-line { color: #B3261E; border-color: rgba(179,38,30,.45); }
.dz-review .drawer-foot .btn-line { margin-top: 8px; width: 100%; }
.dz-review #chFoot { max-height: 62vh; overflow-y: auto; }

/* Foto de perfil y foto del contacto (13 oct 2026) */
.pn-head-ph { display: flex; align-items: center; gap: 18px; }
.pn-av { position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--paper-2, #E8DFCF); display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(22,35,58,.15); }
.pn-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pn-av > span { font-size: 1.6rem; font-weight: 700; color: var(--ink, #16233A); }
.pn-av i { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink, #16233A); color: #fff; display: grid; place-items: center; border: 2px solid var(--paper, #F1E8D6); }
.pn-av i svg.i { width: 14px; height: 14px; }
.pn-av:focus-within { outline: 2px solid var(--ink, #16233A); outline-offset: 3px; }
.pn-ce .ce-ph { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.pn-ce .ce-ph .av { width: 64px; height: 64px; border-radius: 50%; background: #fff center/cover no-repeat; border: 1px solid rgba(22,35,58,.2); display: grid; place-items: center; font-size: 1.4rem; color: rgba(22,35,58,.5); flex: none; }
.pn-ce .ce-ph .btn-line { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; cursor: pointer; }
.pn-ce .ce-ph { flex-wrap: wrap; }

/* Editor de la TapCard (14 oct 2026): tocar y arrastrar */
/* ---------- Editor visual (editor.js, 15 oct 2026): riel + panel + lienzo ---------- */
.dz-ed { display: grid; grid-template-columns: 84px 340px minmax(0, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--hairline); border-radius: 16px; background: #fff; overflow: hidden; min-height: 640px; }
.dz-ed.panel-closed { grid-template-columns: 84px minmax(0, 1fr); }   /* el panel va display:none: el lienzo pasa a la 2.ª columna */
.dz-ed.panel-closed .dz-panel { display: none; }
.dz-rail { display: flex; flex-direction: column; gap: 2px; padding: 10px 6px; border-right: 1px solid var(--hairline-2); background: #fff; }
.dz-rail button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; font-size: .72rem; font-weight: 600; color: var(--ink); min-height: 60px; }
.dz-rail button svg.i { width: 24px; height: 24px; }
.dz-rail button:hover { background: var(--paper); }
.dz-rail button[aria-pressed="true"] { background: var(--paper-2); color: var(--naranja); }
.dz-panel { border-right: 1px solid var(--hairline-2); padding: 14px 18px 24px; overflow-y: auto; max-height: calc(100vh - 80px); position: sticky; top: 0; background: #fff; }
.dz-ph { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.dz-ph button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--ink-soft); }
.dz-ph button:hover { background: var(--paper); color: var(--ink); }
.dz-ed .dz-form { max-width: none; }
.dz-ed .dz-sec { padding: 18px 0; }
.dz-stagecol { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--paper-2); top: 0; }
.dz-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--hairline-2); }
.dz-topbar .grp { display: flex; align-items: center; gap: 8px; }
.dz-topbar .grp .lab { margin: 0; font-size: .72rem; }
.dz-topbar .seg { margin-top: 0; gap: 4px; }
.dz-topbar .seg button { min-height: 34px; padding: 0 12px; font-size: .86rem; }
.dz-topbar .grp > button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.dz-topbar .grp > button:hover { background: var(--paper); }
.dz-topbar .grp > button:disabled { opacity: .3; cursor: default; background: none; }
.dz-zoom { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 2px; padding: 2px; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; font-size: .8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; box-shadow: 0 4px 12px rgba(22,35,58,.12); }
.dz-zoom button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; }
.dz-zoom button:hover { background: var(--paper); }
.dz-zoom span { min-width: 44px; text-align: center; }
.dz-topbar .hint { font-size: .8rem; color: var(--ink-soft); max-width: 260px; margin: 0; }
.dz-ctx { display: flex; flex-wrap: nowrap; overflow-x: auto; align-items: center; gap: 8px 14px; height: 56px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--hairline-2); font-size: .9rem; margin: 0; }
.dz-ctx b { font-weight: 700; }
.dz-ctx .hint { margin: 0; font-size: .86rem; color: var(--ink-soft); white-space: nowrap; }
.dz-ctx > * { flex: none; }
.dz-ctx .hint.kb { margin-left: auto; font-size: .78rem; }
.dz-ctx .num { display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: 8px; }
.dz-ctx .num button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; }
.dz-ctx .num span { min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; font-size: .86rem; border-left: 1px solid var(--hairline); border-right: 1px solid var(--hairline); line-height: 34px; }
.dz-ctx .seg { margin-top: 0; gap: 4px; }
.dz-ctx .seg button { min-height: 34px; padding: 0 12px; font-size: .86rem; }
.dz-ctx .swatches.mini { margin: 0; gap: 4px; }
.dz-ctx .swatches.mini .sw { width: 26px; height: 26px; }
.dz-ctx .swatches.mini .sw i { width: 18px; height: 18px; }
.dz-ctx .lnk { font-size: .86rem; }
.dz-ctx .ib { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hairline); border-radius: 8px; }
.dz-ctx .dz-reset { margin-left: auto; min-height: 36px; padding: 0 12px; font-size: .86rem; }
.dz-canvaswrap { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dz-canvas.dz-stage { flex: 1; display: grid; place-items: center; padding: 28px 24px 56px; border-radius: 0; min-height: 420px; overflow: auto; background: var(--paper-2); }
.dz-cv { position: relative; width: calc(var(--base, 340px) * var(--zoom, 1)); max-width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }
.dz-cv > svg { width: 100% !important; height: auto; display: block; filter: drop-shadow(0 20px 26px rgba(22,35,58,.22)); }
.dz-cv [data-el], .dz-cv [data-item] { cursor: grab; }
.dz-ov { position: absolute; inset: 0; pointer-events: none; }
.dz-ov > * { position: absolute; }
.dz-qrbox { border: 2px dashed rgba(22,35,58,.35); border-radius: 6px; visibility: hidden; }
.dz-ov.dragging .dz-qrbox, .dz-qrbox.on { visibility: visible; }
.dz-qrbox.on { border-color: var(--naranja); border-style: solid; }
.dz-qrbox span { position: absolute; right: -2px; top: -2px; display: inline-flex; align-items: center; gap: 3px; background: var(--ink); color: #fff; font-size: .62rem; font-weight: 700; padding: 2px 6px; border-radius: 0 4px 0 6px; }
.dz-qrbox span svg.i { width: 10px; height: 10px; stroke: #fff; stroke-width: 2; }
.dz-sel { border: 2px solid var(--naranja); box-shadow: 0 0 0 1px rgba(255,255,255,.7); border-radius: 3px; }
.dz-hd { position: absolute; width: 12px; height: 12px; background: #fff; border: 2px solid var(--naranja); border-radius: 50%; pointer-events: auto; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.dz-hd.nw { left: -7px; top: -7px; cursor: nwse-resize; } .dz-hd.se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.dz-hd.ne { right: -7px; top: -7px; cursor: nesw-resize; } .dz-hd.sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.dz-hd.n, .dz-hd.s { left: calc(50% - 9px); width: 18px; height: 8px; border-radius: 4px; cursor: ns-resize; } .dz-hd.n { top: -5px; } .dz-hd.s { bottom: -5px; }
.dz-hd.w, .dz-hd.e { top: calc(50% - 9px); width: 8px; height: 18px; border-radius: 4px; cursor: ew-resize; } .dz-hd.w { left: -5px; } .dz-hd.e { right: -5px; }
.dz-guide { pointer-events: none; }
.dz-guide.v { top: 0; bottom: 0; width: 0; border-left: 1.5px dashed var(--naranja); }
.dz-guide.h { left: 0; right: 0; height: 0; border-top: 1.5px dashed var(--naranja); }
.dz-mini { display: flex; gap: 2px; padding: 3px; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; box-shadow: 0 6px 16px rgba(22,35,58,.18); pointer-events: auto; z-index: 3; white-space: nowrap; }
.dz-mini button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; }
.dz-mini button:hover { background: var(--paper); }
.dz-mini button::before { content: ""; width: 17px; height: 17px; background-repeat: no-repeat; background-size: contain; }
.dz-mini .ic-hide::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 10.6A3 3 0 0 0 13.4 13.4M6.5 6.6C4 8.2 2 12 2 12s3.5 6 10 6c1.6 0 3-.3 4.3-.9M9.9 5.2A10 10 0 0 1 12 5c6.5 0 10 7 10 7s-.9 1.6-2.6 3.3'/%3E%3C/svg%3E"); }
.dz-mini .ic-fwd::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E"); }
.dz-mini .ic-back::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.dz-mini .ic-one::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3C/svg%3E"); }
.dz-mini .ic-menu::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='1.4'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Ccircle cx='18' cy='12' r='1.4'/%3E%3C/svg%3E"); }
.dz-qrbox span::before { content: ""; width: 10px; height: 10px; background-repeat: no-repeat; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.dz-menu { position: fixed; z-index: 60; min-width: 220px; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; box-shadow: 0 12px 30px rgba(22,35,58,.2); padding: 6px; }
.dz-menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 12px; border-radius: 7px; font-size: .92rem; text-align: left; }
.dz-menu button:hover { background: var(--paper); }
.dz-menu kbd { font: inherit; font-size: .78rem; color: var(--ink-soft); }
.dz-layers { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--hairline-2); }
.dz-layers li { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--hairline-2); }
.dz-layers li.on { background: var(--paper); }
.dz-layers li.hid .pick { opacity: .45; }
.dz-layers li.lk { color: var(--ink-soft); }
.dz-layers .pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-size: .92rem; text-align: left; }
.dz-layers .pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-layers .acts { display: flex; gap: 0; }
.dz-layers .acts button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; color: var(--ink-soft); }
.dz-layers .acts button:hover { background: var(--paper-2); color: var(--ink); }
.dz-layers .acts button:disabled { opacity: .25; cursor: default; background: none; }
.dz-stagecol .dest, .dz-stagecol .fine { padding: 0 20px; }
.dz-stagecol .dest { margin-top: 14px; }
.dz-stagecol .fine { margin-bottom: 18px; }
#bgSw .sw[data-low="1"] i { opacity: .35; }
.dz-tpls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dz-tpl { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--paper); text-align: center; }
.dz-tpl:hover { border-color: var(--ink); }
.dz-tpl.on { border: 2px solid var(--naranja); padding: 7px; }
.dz-tpl .th { display: block; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.dz-tpl .th svg { max-width: 100%; max-height: 100%; width: auto !important; height: 100%; border-radius: 6px; filter: drop-shadow(0 4px 8px rgba(22,35,58,.18)); }
.dz-tpl .th svg.th { height: auto; width: 100% !important; }
.dz-tpl .nm { font-size: .8rem; font-weight: 700; }
.dz-bigbtn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--paper); font-weight: 700; font-size: 1rem; }
.dz-bigbtn:hover { border-color: var(--ink); }
.dz-styles { display: grid; gap: 8px; margin-top: 10px; }
.dz-style { display: block; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; }
.dz-style:hover { border-color: var(--ink); }
.dz-style span { display: block; line-height: 1.15; }
.dz-style.title span { font-size: 1.35rem; } .dz-style.sub span { font-size: 1.05rem; } .dz-style.body span { font-size: .92rem; } .dz-style.fancy span { font-size: 1.2rem; }
.dz-style small { display: block; font-size: .72rem; color: var(--ink-soft); margin-top: 3px; }
.dz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dz-chips .chip { border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600; }
.dz-chips .chip:hover { border-color: var(--ink); }
.dz-grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.dz-grid6 button { aspect-ratio: 1; border: 1px solid var(--hairline-2); border-radius: 8px; display: grid; place-items: center; padding: 8px; color: var(--ink); }
.dz-grid6 button:hover { border-color: var(--ink); background: var(--paper); }
.dz-grid6 svg { width: 100%; height: 100%; }
.dz-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.dz-thumbs button { aspect-ratio: 1; border: 1px solid var(--hairline-2); border-radius: 8px; padding: 4px; background: #fff; display: grid; place-items: center; }
.dz-thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dz-uselogo { width: 100%; margin-top: 10px; min-height: 42px; font-size: .92rem; }
.dz-ctx .dz-ittext { font: inherit; font-size: .9rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 6px 10px; width: 170px; min-width: 120px; color: var(--ink); background: #fff; }
.dz-ctx select { font: inherit; font-size: .86rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 6px 28px 6px 10px; background: #fff; color: var(--ink); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 16px; }
.dz-ctx .seg.al button { min-width: 34px; padding: 0 8px; }
.dz-ctx .hint.warn { color: #A32B1E; white-space: normal; max-width: 260px; font-size: .78rem; line-height: 1.2; }
.dz-ctx .lnk[aria-pressed="true"] { color: var(--naranja); }
.dz-mini .ic-dup::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E"); }
.dz-mini .ic-trash::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E"); }

@media (max-width: 960px) {
  /* Celular (fase 5): lienzo arriba, barra de herramientas debajo, el formulario de siempre, y los paneles como hoja fija abajo. */
  .dz-ed, .dz-ed.panel-closed { display: block; min-height: 0; border: 0; background: none; overflow: visible; }
  .dz-ed .dz-rail { display: none; }
  .dz-ed .dz-panel:not(.sheet) { border: 1px solid var(--hairline); border-radius: 16px; max-height: none; position: static; }
  .dz-ed.m .dz-stagecol { border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
  .dz-ed.m .dz-form { max-width: none; padding-top: 8px; }
  .dz-cv { --base: var(--mbase, 240px) !important; }
  .dz-ctx .hint.kb { display: none; }
  .dz-topbar { gap: 8px 12px; padding: 8px 12px; }
  .dz-topbar .grp .lab { display: none; }
  .dz-canvas.dz-stage { padding: 20px 16px 48px; min-height: 0; }
  .dz-mstrip { background: #fff; border-top: 1px solid var(--hairline-2); }
  .dz-tools { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 8px 2px; scrollbar-width: none; }
  .dz-tools::-webkit-scrollbar { display: none; }
  .dz-tools button { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 10px; font-size: .66rem; font-weight: 600; color: var(--ink); }
  .dz-tools button svg.i { width: 22px; height: 22px; }
  .dz-tools button[aria-pressed="true"] { background: var(--paper-2); color: var(--naranja); }
  .dz-mstrip .dz-ctx { height: auto; min-height: 56px; border-bottom: 0; }
  .dz-mstrip .dz-edit:not(.dz-ctx) { display: flex; align-items: center; min-height: 40px; padding: 4px 14px 10px; font-size: .82rem; margin: 0; }
  .dz-mstrip .dz-edit .hint { margin: 0; font-size: .78rem; color: var(--ink-soft); }
  .dz-mstrip .dz-reset { margin: 0; }
  .dz-panel.sheet { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 40; height: 55vh; max-height: none; border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(22,35,58,.22); background: #fff; padding: 6px 16px calc(16px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; transition: height .2s; }
  .dz-panel.sheet.tall { height: 90vh; }
  .dz-panel.sheet .dz-ph { position: sticky; top: 0; background: #fff; z-index: 1; padding: 4px 0 6px; flex-wrap: wrap; }
  .dz-panel.sheet .hnd { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--hairline); margin: 0 auto 8px; flex: 0 0 100%; order: -1; padding: 0; min-height: 0; }
  .dz-panel.sheet .hnd::after { content: ""; display: block; height: 24px; margin-top: -14px; }   /* zona para agarrar mas grande */
  .dz-ed.m.sheet-open .dz-mstrip { padding-bottom: 0; }
  .dz-ed.m .dz-mini { display: none; }   /* en el celular sus acciones van en la barra de abajo y en el menu (mantener presionado / ⋯) */
  .dz-menu { min-width: 240px; }
}
@media (pointer: coarse) {
  .dz-hd { width: 18px; height: 18px; }
  .dz-hd.nw { left: -10px; top: -10px; } .dz-hd.se { right: -10px; bottom: -10px; } .dz-hd.ne { right: -10px; top: -10px; } .dz-hd.sw { left: -10px; bottom: -10px; }
  .dz-hd.n, .dz-hd.s { left: calc(50% - 13px); width: 26px; height: 10px; } .dz-hd.n { top: -6px; } .dz-hd.s { bottom: -6px; }
  .dz-hd.w, .dz-hd.e { top: calc(50% - 13px); width: 10px; height: 26px; } .dz-hd.w { left: -6px; } .dz-hd.e { right: -6px; }
}

/* Engraved en el editor (fase 6): la zona del grabado punteada y la vista realista + chequeos debajo del lienzo */
.dz-zone { border: 1.5px dashed rgba(201,66,58,.55); border-radius: 4px; pointer-events: none; }
.dz-ov.dragging .dz-zone { border-color: var(--naranja); }
#engExtra { display: grid; gap: 14px; padding: 18px 20px 0; }
#engExtra .eng-stage { padding: 18px 14px; }
#engExtra figure { max-width: 320px; }
.dz-ed.m #engExtra { padding: 12px 12px 0; }

/* ---------- /tapcard = el editor a pantalla completa (15 oct 2026) ---------- */
body.dz-full { background: var(--paper); }
.dz-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; padding: 0 22px; background: #fff; border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 30; }
.dz-top .dz-top-l { display: flex; align-items: center; gap: 22px; min-width: 0; }
.dz-top .brand { font-size: .92rem; letter-spacing: .12em; }
.dz-top .brand img { width: 40px; }
.dz-top .dz-back { padding: 0; opacity: .7; font-size: .82rem; }
.dz-top .dz-back:hover { opacity: 1; }
.dz-top-title { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-top .links { gap: 18px; }
.dz-top .links a { font-size: .95rem; }
.dz-top-act:empty { display: none; }
.dz-main { padding: 0; }
.dz-full .dz { margin: 0; padding: 0; }
.dz-note { margin: 0; padding: 10px 22px; font-size: .9rem; color: var(--ink-soft); background: var(--paper-2); border-bottom: 1px solid var(--hairline); }
.dz-app { display: flex; flex-direction: column; min-height: calc(100vh - 64px); }
.dz-full .dz-ed { flex: 1; min-height: 0; margin: 0; border: 0; border-radius: 0; }
.dz-full .dz-ed.m { min-height: 0; }
.dz-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 22px; background: #fff; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.dz-bottom .dz-units { margin: 0; padding: 0; border: 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dz-bottom .dz-units > .lab { display: none; }
.dz-bottom .dz-units > p { margin: 0; }
.dz-bottom .dz-more, .dz-bottom .dz-same, .dz-bottom #numSeg { margin-top: 0; }
.dz-bottom .dz-addmenu { position: absolute; bottom: 56px; left: 0; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(22,35,58,.14); z-index: 5; }
.dz-bottom .dz-more { position: relative; }
.dz-bottom .dz-foot { margin: 0; flex-wrap: nowrap; }
.dz-bottom .dz-foot .fine { display: none; }
.dz-bottom .dz-foot .btn-solid { min-height: 48px; padding: 0 28px; margin: 0; }
.dz-bottom .dz-total .sum { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.dz-bottom .dz-gift { width: 100%; }
body.dz-picking #backLink { display: none; }
@media (min-width: 961px) {
  body.dz-full { overflow: hidden; height: 100vh; display: flex; flex-direction: column; }
  body.dz-full .stg-bar, body.dz-full .promo-bar { flex: none; }
  body.dz-full .dz-top { flex: none; position: static; }
  body.dz-full .dz-main { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  body.dz-full .dz-main > .dz { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; }
  .dz-app { flex: 1; height: auto; min-height: 0; }
  body.dz-full .dz-pick { overflow-y: auto; }
  .dz-full .dz-ed { min-height: 0; overflow: hidden; }
  .dz-full .dz-ed .dz-panel { max-height: none; height: 100%; position: static; overflow-y: auto; }
  .dz-full .dz-ed .dz-stagecol { min-height: 0; overflow-y: auto; }
  .dz-full .dz-ed .dz-stagecol > * { flex: none; }   /* nada se aplasta: la columna del lienzo hace scroll */
  .dz-full .dz-ed .dz-canvas.dz-stage { flex: none; height: calc(100vh - 340px); min-height: 380px; }   /* lo demas (Abre:, la vista realista de la Engraved) baja con scroll */
  .dz-full .dz-bar { display: none !important; }
}
@media (max-width: 960px) {
  .dz-top { height: 56px; padding: 0 14px; gap: 10px; position: static; }   /* en el celular no se pega: no tapa el lienzo */
  .dz-top-title { display: none; }
  .dz-top .brand span { display: none; }
  .dz-top .links { gap: 10px; }
  .dz-top .links li.l { display: none; }
  .dz-app { min-height: 0; }
  .dz-full .dz-ed { margin: 0 12px; }
  .dz-bottom { flex-direction: column; align-items: stretch; padding: 14px 16px 90px; }
  .dz-bottom .dz-units { display: block; }
  .dz-bottom .dz-units > .lab { display: block; }
  .dz-bottom .dz-units > p { margin-top: 8px; }
  .dz-bottom .dz-more, .dz-bottom .dz-same { margin-top: 14px; }
  .dz-bottom .dz-addmenu { position: static; box-shadow: none; }
  .dz-bottom .dz-foot { margin-top: 10px; flex-wrap: wrap; }
  .dz-bottom .dz-foot .fine { display: block; }
}
/* Paso "Tamano" */
.dz-pick { max-width: 980px; margin: 0 auto; padding: 48px 22px 60px; }
.dz-pick h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.dz-pick .sub { font-family: var(--serif); color: var(--ink-soft); font-size: 1.1rem; margin-top: 10px; max-width: 56ch; }
.dz-pick-back { margin: 0 0 18px; }
.dz-finish { margin-top: 24px; }
.dz-pick > .hint { margin-top: 8px; }
.dz-pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.dz-tile { display: grid; grid-template-rows: auto 1fr; text-align: left; border: 1.5px solid var(--hairline); border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.dz-tile:hover, .dz-tile:focus-visible { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,35,58,.12); }
.dz-tile .ph { display: block; aspect-ratio: 4 / 3; background: var(--paper-2); }
.dz-tile .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dz-tile .tx { display: grid; gap: 6px; padding: 16px 18px 18px; }
.dz-tile .tx b { font-size: 1.25rem; letter-spacing: -0.01em; }
.dz-tile .tx small { color: var(--ink-soft); font-size: .88rem; line-height: 1.35; }
.dz-tile .pr { margin-top: 4px; font-weight: 700; }
.dz-tile .pr i { font-style: normal; font-weight: 500; color: var(--ink-soft); margin-left: 8px; font-size: .85rem; }
.dz-pick .fine { margin-top: 26px; }
@media (max-width: 640px) { .dz-pick { padding: 28px 16px 40px; } .dz-pick-grid { grid-template-columns: 1fr; } }
/* Plantillas por destino (15 oct 2026): tres por fila, miniatura pequena */
.dz-dests { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.dz-dests .dz-tpl .nm { font-size: .72rem; padding: 6px 4px 8px; line-height: 1.2; }
.dz-dests .dz-tpl .th { padding: 6px; min-height: 60px; }
.dz-legal { font-size: .72rem; color: var(--ink-soft); padding: 6px 22px; background: #fff; border-top: 1px solid var(--hairline-2); text-align: center; }
.dz-legal a { color: inherit; }
.dz-welcome { margin: 14px 22px 0; }
@media (min-width: 961px) { body.dz-full .dz-legal { flex: none; } body.dz-full .dz-welcome { flex: none; } }
@media (max-width: 960px) { .dz-legal { padding: 10px 16px 100px; } .dz-welcome { margin: 12px 12px 0; } }

/* ---------- Inicio de /tapcard al estilo Canva (15 oct 2026) ---------- */
/* El inicio lleva la barra de arriba del site (caballo + La Pica Studios -> /, Cuenta, ES/EN, carrito), sin el titulo ni "<- Inicio". */
body.dz-home .dz-top-title, body.dz-home #backLink { display: none; }
body.dz-home .dz-top .brand span { display: inline; }
body.dz-home .dz-legal, body.dz-home .promo-bar { display: none; }
@media (min-width: 961px) {
  body.dz-home .hm-rail { height: calc(100vh - 64px); }                 /* debajo de la barra de arriba (64 px) */
  body.dz-home.stg .hm-rail { height: calc(100vh - 94px); }             /* + la franja de staging (30 px); en el celular el riel es la barra de abajo: sin alto fijo */
}
.hm { display: grid; grid-template-columns: 92px minmax(0, 1fr); min-height: 100vh; background: var(--paper); flex: none; }   /* flex: none: dentro de .dz (flex en columna) no se encoge, asi el riel pegado (sticky) tiene todo el alto del contenido y no se va al hacer scroll */
.hm-rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; background: #fff; border-right: 1px solid var(--hairline-2); }
.hm-rail button, .hm-rail .hm-avatar { width: 72px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 12px; font-size: .72rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.hm-rail button svg, .hm-rail .hm-avatar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-rail button:hover { background: var(--paper); }
.hm-rail button[aria-pressed="true"] { background: var(--paper-2); color: var(--naranja); }
.hm-rail button.c { margin-bottom: 10px; }
.hm-rail button.c svg { width: 40px; height: 40px; padding: 8px; border-radius: 999px; background: var(--naranja); color: #fff; stroke-width: 2.2; }
.hm-rail-b { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; width: 100%; }
.hm-rail-b #hmBell { width: 48px; }
.hm-avatar { width: 40px !important; height: 40px; padding: 0 !important; border-radius: 999px !important; background: var(--ink); color: #fff !important; font-weight: 700; font-size: 1rem !important; justify-content: center; }
.hm-avatar.in { background: var(--paper-2); color: var(--ink) !important; }
.hm-pop { position: absolute; left: 80px; bottom: 56px; width: 260px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 16px; box-shadow: 0 14px 40px rgba(22,35,58,.16); z-index: 20; font-size: .88rem; }
.hm-pop b { display: block; margin-bottom: 6px; }
.hm-pop p { margin: 0; color: var(--ink-soft); }
.hm-main { padding: 0 40px 60px; max-width: 1240px; width: 100%; min-width: 0; margin: 0 auto; }
.hm-hero { text-align: center; padding: 54px 0 28px; margin: 0 -40px; background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); border-radius: 0 0 28px 28px; }
.hm-hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.05; }
.hm-tabs { display: inline-flex; margin-top: 20px; }
.hm-tabs button { display: inline-flex; align-items: center; gap: 7px; }
.hm-tabs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hm-search { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 20px auto 0; padding: 0 18px; min-height: 58px; background: #fff; border: 1.5px solid var(--hairline); border-radius: 999px; box-shadow: 0 10px 30px rgba(22,35,58,.08); }
.hm-search:focus-within { border-color: var(--ink); }
.hm-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; opacity: .6; }
.hm-search input { flex: 1; min-height: 56px; border: 0; background: none; font: inherit; font-size: 1.05rem; outline: none; }
.hm-prods { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 34px 0 10px; }
.hm-prod { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: 16px; text-align: center; }
.hm-prod:hover { background: #fff; }
.hm-prod .ic { width: 70px; height: 70px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.hm-prod .ic.card { background: #2F6FDB; } .hm-prod .ic.standeng { background: #7A1F3D; } .hm-prod .ic.cardeng { background: #1D7A5E; }
.hm-prod .ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hm-prod .ic.ph { width: 104px; height: 104px; background: #fff; overflow: hidden; border: 1px solid var(--hairline-2); box-shadow: 0 6px 18px rgba(22,35,58,.12); transition: transform .18s ease, box-shadow .18s ease; }
.hm-prod .ic.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-prod:hover .ic.ph { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 28px rgba(22,35,58,.18); }
.hm-prod { width: 170px; }
.hm-prod b { font-size: .92rem; line-height: 1.15; }
.hm-prod small { font-size: .74rem; color: var(--ink-soft); line-height: 1.3; }
.hm-sec { margin-top: 40px; }
.hm-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hm-h h2 { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.hm-hr { display: flex; align-items: center; gap: 16px; }
.hm-sec h3 { font-family: var(--sans); font-size: 1rem; margin: 22px 0 10px; }
.hm-row { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.hm-row.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); overflow: visible; }
.hm-tile { display: flex; flex-direction: column; gap: 4px; text-align: left; scroll-snap-align: start; }
.hm-tile .th { display: grid; place-items: center; aspect-ratio: 1; background: #fff; border: 1px solid var(--hairline-2); border-radius: 14px; padding: 14px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.hm-tile:hover .th { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22,35,58,.12); }
.hm-tile .th svg, .hm-tile .th img { max-width: 100%; max-height: 100%; width: auto !important; height: 100%; border-radius: 6px; filter: drop-shadow(0 4px 8px rgba(22,35,58,.14)); }
.hm-tile .th svg.th, .hm-tile .th svg.cartel { height: 100%; }
.hm-tile b { margin-top: 6px; font-size: .9rem; }
.hm-tile small { font-size: .76rem; color: var(--ink-soft); }
.hm-fine { margin-top: 40px; text-align: center; }
@media (max-width: 960px) {
  .hm { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hm-main { min-width: 0; max-width: none; }
  .hm-rail { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; flex-direction: row; justify-content: space-around; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); border-right: 0; border-top: 1px solid var(--hairline-2); z-index: 30; }
  .hm-rail button, .hm-rail .hm-avatar { width: auto; min-width: 56px; padding: 6px 4px; font-size: .66rem; }
  .hm-rail button.c { margin: 0; } .hm-rail button.c svg { width: 34px; height: 34px; padding: 7px; }
  .hm-rail-b { margin: 0; width: auto; flex-direction: row; }
  .hm-avatar { width: 34px !important; min-width: 0; height: 34px; }
  .hm-pop { left: auto; right: 0; bottom: 60px; }
  .hm-main { padding: 0 16px 110px; }
  .hm-hero { margin: 0 -16px; padding: 30px 16px 22px; }
  .hm-search { min-height: 50px; } .hm-search input { min-height: 48px; }
  .hm-prods { gap: 4px; padding: 22px 0 6px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .hm-prod { width: 124px; flex: none; }
  .hm-prod .ic { width: 58px; height: 58px; }
  .hm-row { grid-auto-columns: 150px; }
}
.hm-blank { text-align: center; color: var(--ink-soft); max-width: 60ch; margin: 26px auto -10px; font-size: .95rem; }

/* ---------- Plantillas bloqueadas (15 oct 2026): panel Diseno + lienzo, sin riel; el lienzo es solo vista previa ---------- */
.dz-ed.locked { grid-template-columns: 84px 380px minmax(0, 1fr); }
.dz-ed.locked.norail { grid-template-columns: 380px minmax(0, 1fr); }
.dz-ed.locked.panel-closed { grid-template-columns: 84px minmax(0, 1fr); }
.dz-ed.locked .dz-cv { cursor: default; }
.dz-ed.locked .dz-ov { pointer-events: none; }
.dz-fixed { margin: 0; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper); font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.dz-fixed b { font-weight: 700; }
.dz-fixed .lnk { margin-left: auto; font-size: .86rem; }
@media (max-width: 960px) { .dz-ed.m.locked .dz-stagecol { margin-bottom: 12px; } }

/* ---------- Menu de la cuenta desde el avatar (15 oct 2026, como Canva) ---------- */
body.dz-home .dz-top .links li.l:has(#accountLink) { display: none !important; }   /* "Cuenta" sobra: esta en el avatar del riel (tambien el icono de persona del celular) */
.hm-rail .hm-avatar, .hm-rail .hm-avatar:hover { background: var(--ink); min-width: 0; margin: 0; }
.hm-rail .hm-avatar.in, .hm-rail .hm-avatar.in:hover { background: var(--paper-2); }
.hm-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hm-avatar.on { box-shadow: 0 0 0 2px var(--naranja); }
.hm-menu { position: absolute; left: 80px; bottom: 0; width: 300px; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 8px; box-shadow: 0 18px 50px rgba(22,35,58,.18); z-index: 60; text-align: left; }
.hm-menu-g { padding: 6px 0; }
.hm-menu-g + .hm-menu-g { border-top: 1px solid var(--hairline-2); }
.hm-rail .hm-menu button, .hm-rail .hm-menu a[role=menuitem] { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit; margin: 0; }
.hm-rail .hm-menu button:hover, .hm-rail .hm-menu a[role=menuitem]:hover { background: var(--paper); }
.hm-rail .hm-menu svg { width: 20px; height: 20px; padding: 0; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: none; color: inherit; border-radius: 0; }
.hm-rail .hm-menu .seg button { width: auto; }
.hm-rail { z-index: 25; }
.hm-menu .hm-menu-h { padding: 10px 12px 12px; }
.hm-menu .hm-menu-h .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; flex: none; overflow: hidden; }
.hm-menu .hm-menu-h .av.in { background: var(--paper-2); color: var(--ink); }
.hm-menu .hm-menu-h .av img { width: 100%; height: 100%; object-fit: cover; }
.hm-menu .hm-menu-h b { display: block; font-size: 1rem; }
.hm-menu .hm-menu-h small { display: block; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.hm-menu-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; font-size: .95rem; font-weight: 500; }
.hm-menu-lang > span:first-child { display: flex; align-items: center; gap: 12px; }
.hm-menu-lang .seg { margin: 0; gap: 4px; }
.hm-menu-lang .seg button { width: auto; min-height: 34px; padding: 0 12px; font-size: .82rem; border: 1px solid var(--hairline); border-radius: 8px; }
.hm-menu-lang .seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 960px) { .hm-menu { position: fixed; left: 8px; right: 8px; bottom: 84px; width: auto; } }

/* ---------- Proyectos (15 oct 2026, como Canva): panel de la izquierda, carpetas, recientes, disenos ---------- */
.hm-pj, .hm-ct { padding-top: 34px; }
.pj-head h1, .hm-ct .pn-head h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.pj-search { margin-top: 18px; max-width: 720px; }
.pj-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pj-filters .seg { margin: 0; }
.pj-newf { display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 42px; padding: 0 16px; margin: 0; }
.pj-newf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.pj-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; margin-top: 26px; }
.pj-nav { display: flex; flex-direction: column; gap: 2px; align-self: start; position: sticky; top: 80px; }
.pj-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: .95rem; font-weight: 500; color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit; }
.pj-nav button:hover { background: rgba(255,255,255,.6); }
.pj-nav button[aria-pressed="true"] { background: #fff; font-weight: 700; }
.pj-nav button i { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--ink-soft); }
.pj-nav button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pj-nav button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-nav .lab { margin: 18px 12px 6px; }
.pj-nav .hint { margin: 0 12px; font-size: .82rem; }
.pj-main > .hm-sec:first-child { margin-top: 0; }
.pj-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pj-folder { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--hairline-2); border-radius: 12px; text-align: left; transition: box-shadow .18s; }
.pj-folder:hover { box-shadow: 0 10px 24px rgba(22,35,58,.1); }
.pj-folder svg { width: 28px; height: 28px; flex: none; fill: #FBEBDD; stroke: var(--naranja); stroke-width: 1.6; }
.pj-folder b { display: block; font-size: .95rem; } .pj-folder small { color: var(--ink-soft); font-size: .78rem; }
.pj-fact { display: flex; gap: 14px; font-size: .86rem; }
.pj-back { font-size: inherit; font-weight: inherit; }
.pj-login { padding: 22px 24px; background: #fff; border: 1px solid var(--hairline-2); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pj-login p { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.pj-login .btn-solid { width: auto; margin: 0; padding: 0 22px; }
.hm-tile { position: relative; }
.hm-tile .th .ph { color: var(--ink-soft); } .hm-tile .th .ph svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; filter: none; }
.hm-tile.star b::before { content: "★ "; color: var(--naranja); }
.pj-dots { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--hairline-2); display: grid; place-items: center; font-weight: 700; line-height: 1; opacity: 0; transition: opacity .15s; z-index: 2; }
.hm-tile:hover .pj-dots, .hm-tile:focus-within .pj-dots { opacity: 1; }
@media (pointer: coarse) { .pj-dots { opacity: 1; } }
.pj-menu { position: absolute; top: 40px; right: 8px; width: 210px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(22,35,58,.16); z-index: 5; text-align: left; display: grid; }
.pj-menu button { padding: 9px 12px; border-radius: 8px; font-size: .9rem; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink); font-family: inherit; }
.pj-menu button:hover { background: var(--paper); }
.pj-menu .lab { margin: 8px 12px 2px; font-size: .68rem; }
/* La cuenta dentro del inicio */
.hm-ct .account { padding: 0 0 40px; }
.hm-ct .pn-head { padding-top: 0; }
.pn-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.pn-plan { padding: 22px 24px; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; }
.pn-plan.cur { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pn-plan.pro { background: linear-gradient(160deg, #FBEBDD, #fff 60%); }
.pn-plan h2 { font-family: var(--sans); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.pn-plan p { font-family: var(--serif); color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }
.pn-plan .pn-tag { margin: 12px 0 0; }
@media (max-width: 960px) {
  .pj-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pj-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .pj-nav button { width: auto; padding: 8px 12px; background: #fff; border: 1px solid var(--hairline-2); }
  .pj-nav .lab { width: 100%; margin: 10px 0 0; } .pj-nav .hint { width: 100%; }
}

/* Plantillas: Card vertical u horizontal (15 oct 2026) */
.hm-fmtwrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hm-fmtwrap .seg { margin: 0; }
.hm-orient button { font-size: .86rem; }
.hm-tile .th svg.th { width: 100% !important; height: auto; max-height: none; aspect-ratio: 1011 / 638; }

/* ---------- Mismo look que el home (15 oct 2026, noche) ----------
   /disena usaba otro "sitio": barra blanca con linea, riel blanco, naranja de acento, hero con degradado.
   Ahora comparte con el home: barra crema sin linea (mismo contenedor, logo y enlaces), azul noche como color principal,
   un solo fondo crema y los mismos titulos. El naranja queda solo para el lienzo (guias y agarraderas) y la insignia del carrito. */
:root { --dz-top-h: 64px; }
.dz-top { background: var(--paper); border-bottom: 1px solid var(--hairline-2); }
body.dz-home .dz-top { border-bottom: 0; }
.dz-top .brand { font-size: 1.05rem; letter-spacing: .14em; }
.dz-top .brand img { width: 48px; }
.dz-top .links { gap: 28px; }
.dz-top .links a { font-size: 1.05rem; }
@media (min-width: 961px) {
  body.dz-home { --dz-top-h: 88px; }
  body.dz-home .dz-top { height: var(--dz-top-h); padding-inline: max(32px, calc((100vw - 1240px) / 2 + 32px)); }
  body.dz-home .hm-rail { height: calc(100vh - var(--dz-top-h)); }
  body.dz-home.stg .hm-rail { height: calc(100vh - var(--dz-top-h) - 30px); }
}
.hm-rail { background: var(--paper); border-right: 1px solid var(--hairline-2); }
.hm-rail button:hover { background: var(--paper-2); }
.hm-rail button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); }
.hm-rail button.c svg { background: var(--ink); color: var(--paper); }
.hm-avatar.on { box-shadow: 0 0 0 2px var(--ink); }
.pj-folder svg { stroke: var(--ink); fill: var(--paper-2); }
.hm-hero { background: none; border-radius: 0; padding: 64px 0 28px; }
.hm-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1.02; }
.hm-lede { font-family: var(--serif); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.35; color: var(--ink-soft); max-width: 36ch; margin: 14px auto 0; }
@media (max-width: 960px) { .dz-top .brand { font-size: .9rem; letter-spacing: .1em; white-space: nowrap; } .dz-top .brand img { width: 40px; } }
/* El inicio de /disena absorbe la tienda (15 oct 2026, noche): banner de TapCard gratis y pedido a medias, centrados bajo el titulo. */
.hm-hero .welcome, .hm-hero .resume { max-width: 44rem; margin: 22px auto 0; text-align: left; }
.hm-hero .welcome p, .hm-hero .resume p { font-family: var(--sans); font-size: 1rem; color: var(--ink); max-width: none; margin: 0; }
.hm-hero { padding: 44px 0 20px; }
.hm-prods { padding: 22px 0 6px; }
.hm-sec { margin-top: 28px; }
/* Inicio de /disena: las tarjetas de producto, grandes y cuadradas (15 oct 2026, noche) — la foto entera, sin recorte de circulo. */
.hm-prods { gap: 28px; padding: 36px 0 12px; }
.hm-prod { width: 280px; padding: 0; gap: 12px; border-radius: 20px; }
.hm-prod:hover { background: none; }
.hm-prod .ic.ph { width: 100%; height: auto; aspect-ratio: 1; border-radius: 20px; }
.hm-prod b { font-size: 1.1rem; }
.hm-prod small { font-size: .84rem; }
.hm-hero { padding: 44px 0 4px; }
@media (max-width: 960px) {
  .hm-prods { gap: 14px; padding: 22px 0 6px; }
  .hm-prod { width: min(62vw, 240px); flex: none; }
  .hm-prod .ic.ph { width: 100%; height: auto; }
}
/* Pop-up de TapCard gratis, version sutil (15 oct 2026, noche): tarjeta chica en la esquina, sin oscurecer la pagina ni bloquearla. */
.gift-pop { inset: auto 20px 20px auto; width: min(360px, calc(100vw - 32px)); padding: 0; background: none; display: block; pointer-events: none; animation: gpUp .45s ease; }
.gift-pop .gp-box { pointer-events: auto; grid-template-columns: 1fr; width: 100%; max-height: none; border: 1px solid var(--hairline-2); border-radius: 16px; box-shadow: 0 18px 50px rgba(22,35,58,.22); }
.gift-pop .gp-ph { height: 92px; }
.gift-pop .gp-tx { max-height: 62vh; padding: 18px 18px 12px; }
.gift-pop .gp-k { padding-right: 40px; }   /* que la X no tape el texto (sin foto, la X queda junto al titulo) */
.gift-pop h3 { font-size: 1.35rem; }
.gift-pop .sub { font-size: .9rem; margin-top: 6px; }
.gift-pop .gp-no { margin-top: 8px; font-size: .88rem; }
@keyframes gpUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .gift-pop { inset: auto 12px 78px 12px; width: auto; } }
.gift-pop.gp-compact #popForms { display: none; }
.gift-pop.gp-compact .gp-ph { height: 64px; }
.gift-pop:not(.gp-compact) .gp-claim { display: none; }
.gift-pop .gp-claim { width: 100%; min-height: 44px; margin-top: 12px; }
/* Vista de un producto en /disena (15 oct 2026, noche): foto, packs, cantidad y plantillas */
.hm-pv { padding-top: 24px; }
.pv-back { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; opacity: .7; }
.pv-back:hover { opacity: 1; }
.pv { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 22px; }
.pv-ph { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--paper-2); box-shadow: 0 10px 30px rgba(22,35,58,.12); }
.pv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-info h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.04; }
.pv-sub { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-soft); margin-top: 8px; }
.pv-how { font-family: var(--sans); font-size: 1rem; margin: 26px 0 10px; }
.pv-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pv-pack { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 14px 16px; background: #fff; border: 1.5px solid var(--hairline); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.pv-pack:hover { border-color: var(--ink); }
.pv-pack[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pv-pack b { font-size: .98rem; }
.pv-pack .pr { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pv-pack small { font-size: .78rem; color: var(--ink-soft); min-height: 1.2em; }
.pv-qty { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.pv-total { font-size: 1.05rem; }
.pv-total b { font-size: 1.6rem; letter-spacing: -0.02em; margin-left: 6px; font-variant-numeric: tabular-nums; }
.pv-ship { margin-top: 14px; }
.pv-start { width: auto; padding: 0 32px; margin-top: 28px; }
.hm-pv .hm-h .hint { margin-top: 4px; }
@media (max-width: 860px) { .pv { grid-template-columns: 1fr; gap: 22px; } .pv-ph { max-width: 300px; } }
/* En el editor: "Seguir comprando" junto a "Ir a pagar" */
.dz-bottom .dz-foot { gap: 10px; }
.dz-bottom .dz-foot #keepShop { min-height: 48px; padding: 0 20px; }
/* Resenas de la marca TapCard en el inicio de /disena (15 oct 2026, noche) */
html { scroll-behavior: smooth; }
.rev-top-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .95rem; color: var(--ink-soft); text-decoration: none; }
.rev-top-link[hidden] { display: none; }
.rev-top-link:hover { color: var(--ink); }
.hm-main .reviews { margin-top: 56px; padding-top: 40px; }
.hm-main .rev-head h2 { font-size: 1.5rem; letter-spacing: -0.02em; }

/* Filtros de Plantillas (15 oct 2026): debajo del titulo, a la izquierda (no al otro lado de la pantalla). */
.hm-h:has(.hm-fmtwrap), .hm-h:has(> .hm-orient) { flex-direction: column; align-items: flex-start; gap: 14px; }
.hm-h .hm-fmtwrap { gap: 10px 24px; }

/* Editor en crema, igual que el home de TapCard (15 oct 2026): sin franjas blancas (riel, panel, lienzo, barra de abajo y enlaces legales). */
.dz-ed, .dz-rail, .dz-panel, .dz-stagecol, .dz-bottom, .dz-legal { background: var(--paper); }
.dz-rail button:hover { background: var(--paper-2); }
.dz-rail button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); }
.dz-ph button:hover { background: var(--paper-2); }
.dz-canvas.dz-stage, .dz-stage { background: var(--paper); }

/* El pop-up de la TapCard gratis solo en el home de TapCard: si pasas al editor, se esconde (15 oct 2026). */
body:not(.dz-home) .gift-pop { display: none; }

/* Capas (15 oct 2026): el carrito y "Revisa tu pedido" siempre por encima de la barra de arriba (z 30), del riel/barra de
   abajo del celular (z 30) y de la hoja del editor (z 40). Antes la barra tapaba el "Cerrar" del carrito y de la revision. */
.overlay { z-index: 45; }
.drawer { z-index: 46; }
.dz-review-bg { z-index: 47; }
.dz-review .drawer { z-index: 48; }
.gate { z-index: 55; }
.toast { z-index: 70; }

/* Business Card (16 oct 2026): si el campo sale impreso o solo va en el contacto que se guarda */
.ctag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .02em; text-transform: none; vertical-align: 1px; color: var(--ink-soft); background: rgba(22,35,58,.06); }
.ctag.on { color: #fff; background: var(--ink); }
/* Revision (16 oct 2026): Editar diseño por diseño y lista de cada TapCard cuando son distintas */
.dz-review .rv-ed { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 32px; padding: 0 11px; border: 1px solid var(--ink); border-radius: 6px; color: var(--ink); font-size: .82rem; font-weight: 600; background: none; }
.dz-review .rv-ed .i { width: 14px; height: 14px; flex: none; }
.dz-review .rv-ed:hover { background: var(--ink); color: #fff; }
.dz-review .rv-ds { margin-top: 10px; display: grid; gap: 10px; }
.dz-review .rv-d { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center; }
.dz-review .rv-d .rv-ed { grid-column: 2; margin-top: 4px; justify-self: start; }
.dz-review .rv-d .v { margin: 0; }
.dz-review .rv-th.sm { width: 44px; height: 44px; padding: 3px; grid-row: span 2; }
/* Plantillas sobre la foto del producto (16 oct 2026) */
.hm-tile .th.mk { position: relative; display: block; padding: 0; background: var(--paper-2); }
.hm-tile .th.mk .mk-bg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; max-height: none; object-fit: cover; border-radius: 0; filter: none; }
.hm-tile .th.mk .mk-ref { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; transform-origin: 0 0; transform: scale(var(--k, .24)); pointer-events: none; }
.hm-tile .th.mk .mk-face { position: absolute; left: 0; top: 0; transform-origin: 0 0; mix-blend-mode: multiply; }
.hm-tile .th.mk .mk-face svg { display: block; width: 100% !important; height: 100% !important; max-width: none; max-height: none; aspect-ratio: auto; border-radius: 0; filter: none; }
/* Barra de abajo en celulares estrechos (16 oct 2026, con Métricas): los botones se reparten el ancho y nada se corta */
@media (max-width: 420px) {
  .hm-rail { gap: 0; padding-left: 4px; padding-right: 4px; }
  .hm-rail > button { min-width: 0; flex: 1 1 0; padding: 6px 2px; }
  .hm-rail-b { flex: none; gap: 2px; }
  .hm-rail-b #hmBell { width: 40px; min-width: 0; }
}
/* Panel Estilo (16 oct 2026): sin "Mas opciones" desplegable, en grupos QR / Tarjeta */
#more.dz-style > summary { display: none; }
#more.dz-style > .stack { margin-top: 0 !important; }
#more.dz-style .dz-sub { font-size: 1rem; font-weight: 700; margin: 10px 0 -4px; padding-top: 14px; border-top: 1px solid var(--hairline-2); }
#more.dz-style .dz-sub:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
#more.dz-style { border: 0; padding: 0; background: none; }
.dz-sec.dz-off { display: none !important; }   /* el riel bloqueado quita hidden al cambiar de panel */
.hm-tile .th.mk .mk-face img { display: block; width: 100% !important; height: 100% !important; max-width: none; max-height: none; border-radius: 0; filter: none; object-fit: fill; }
/* Fotos en las resenas (16 oct 2026) */
.rev-ph { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rev-ph button { width: 88px; height: 88px; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--hairline-2); background: var(--paper-2); }
.rev-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rev-up { margin: 4px 0 14px; }
.rev-up .lab { margin-bottom: 8px; }
.rev-up-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rev-up-row:empty { display: none; }
.rev-up-row span { position: relative; width: 72px; height: 72px; }
.rev-up-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.rev-up-row button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; padding: 0; }
.rev-up-row button .i { width: 14px; height: 14px; stroke: currentColor; }
.rev-add { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; cursor: pointer; }
.rev-add .i { width: 16px; height: 16px; }
.rev-up .hint { margin-top: 6px; }
.rev-lb { position: fixed; inset: 0; z-index: 90; background: rgba(10,16,28,.88); display: grid; place-items: center; padding: 24px; }
.rev-lb img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 10px; object-fit: contain; }
.rev-lb button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.rev-lb button .i { width: 22px; height: 22px; stroke: currentColor; }

/* Mis TapCards › Pedidas (16 oct 2026): la lista de la cuenta dentro de la vista del riel; sin pestanas en la cuenta */
.pj-head.cardsv .pj-search, .pj-head.cardsv .pj-filters { display: none; }
.pj-cards .pn-pane { margin-top: 0; }
.pn-page { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(255,255,255,.55); }
.pn-page b { font-size: 1.02rem; }
.pn-page p { margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; max-width: 52ch; }
.pn-page .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.pn-page .btn-solid { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; }
.pn-page .btn-line { min-height: 48px; }
@media (max-width: 900px) { .pn-page { grid-column: 1 / -1; } .pn-page .acts { width: 100%; } .pn-page .acts > * { flex: 1; justify-content: center; } }
.pn .pn-page svg.i { display: inline-block; width: 18px; height: 18px; }
.pn .pn-page .acts > * { width: auto; margin: 0; }
@media (max-width: 900px) { .pn .pn-page .acts > * { flex: 1; } }

/* Perfil (16 oct 2026, riel): la pagina de la Business Card — formulario + vista previa en un telefono */
.pf { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 8px; }
.pf-which { margin: 0 0 22px; }
.pn-ce-inline .box { display: grid; gap: 6px; max-width: none; max-height: none; padding: 0; background: none; border-radius: 0; justify-items: stretch; }
.pn-ce-inline .lab { margin-top: 10px; }
.pn-ce-inline input:not([type=file]):not([type=checkbox]) { width: 100%; min-height: 48px; font: inherit; font-size: 1rem; padding: 0 14px; border: 1px solid rgba(22,35,58,.25); border-radius: 8px; background: #fff; color: inherit; box-sizing: border-box; }
.pn-ce-inline .cl-row select { font: inherit; font-size: 1rem; padding: 0 36px 0 12px; border: 1px solid rgba(22,35,58,.25); border-radius: 8px; background: #fff; color: inherit; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316233A' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.pn-ce-inline .cl-bio textarea { width: 100%; font: inherit; font-size: 1rem; padding: 10px 14px; border: 1px solid rgba(22,35,58,.25); border-radius: 8px; background: #fff; color: inherit; resize: vertical; min-height: 64px; box-sizing: border-box; }
.pn-ce-inline .acts { position: sticky; bottom: 0; display: flex; justify-content: flex-end; padding: 14px 0; margin-top: 10px; background: linear-gradient(transparent, var(--paper) 30%); }
.pn-ce-inline .acts .btn-solid { min-width: 180px; min-height: 52px; }
.pf-prev { position: sticky; top: 24px; }
.pf-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pf-phone { border: 10px solid #16233A; border-radius: 40px; overflow: hidden; height: min(720px, calc(100vh - 160px)); background: #FFFFFF; box-shadow: 0 18px 40px rgba(22,35,58,.18); }
.pf-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.pf-none { max-width: 560px; }
.pf-none p { color: var(--ink-soft); margin: 8px 0 20px; }
@media (max-width: 980px) { .pf { grid-template-columns: 1fr; } .pf-prev { position: static; order: -1; } .pf-phone { height: 440px; max-width: 320px; margin: 0 auto; } .pn-ce-inline .acts { bottom: 70px; } }
@media (max-width: 980px) { .pn-ce-inline .acts { position: static; background: none; } .pn-ce-inline .acts .btn-solid { width: 100%; } }

/* Diseno de la pagina del contacto (16 oct 2026): colores propios, iconos de un color, forma de los botones */
.cl-theme .cl-sub { margin: 12px 0 8px; font-size: .9rem; }
.cl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cl-col { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px 6px 6px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; cursor: pointer; font-size: .95rem; }
.cl-col input[type=color] { flex: none; width: 36px; height: 36px; padding: 0; border: 1px solid var(--hairline); border-radius: 8px; background: none; cursor: pointer; }
.cl-col input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.cl-col input[type=color]::-webkit-color-swatch { border: 0; border-radius: 7px; }
.cl-brand { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: .95rem; }
#cShapeSeg button { display: inline-flex; align-items: center; gap: 8px; }
.cl-shp { width: 22px; height: 12px; border: 1.6px solid currentColor; flex: none; }
.cl-shp-pill { border-radius: 999px; } .cl-shp-square { border-radius: 3px; }
@media (max-width: 420px) { .cl-cols { grid-template-columns: 1fr; } }
.pn-ce .cl-col input[type=color], .pn-ce-inline .cl-col input[type=color] { width: 36px; min-height: 0; height: 36px; padding: 0; border-radius: 8px; flex: none; }
.pn-ce .cl-brand input[type=checkbox], .pn-ce-inline .cl-brand input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; margin: 0; accent-color: var(--ink); }
.pn-ce .cl-col span, .pn-ce .cl-brand { white-space: normal; }

/* Ver una TapCard pedida en grande (16 oct 2026): el arte con su QR, sobre blanco para escanearlo */
.hm-view .box { background: #fff; padding: 24px; gap: 14px; max-width: min(94vw, 640px); }
.hm-view .box img { width: min(86vw, 560px); max-height: 66vh; filter: none; }
.hm-view-h { text-align: center; margin: 0; line-height: 1.35; } .hm-view-h small { color: var(--ink-soft); font-size: .9rem; }
.hm-view .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hm-view .row > * { min-height: 46px; }

/* ---------- Guia "¿Que quieres lograr?" + mas pedidas + plegado de poca demanda (19 oct 2026) ---------- */
.gd-goals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 920px; margin: 26px auto 0; padding: 0 24px; text-align: left; }
.gd-goal { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 14px; min-height: 76px; background: #fff; border: 1.5px solid var(--hairline-2); border-radius: 16px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.gd-goal:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,35,58,.10); }
.gd-goal .ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.gd-goal .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gd-goal b { font-size: .95rem; line-height: 1.2; align-self: end; text-align: left; }
.gd-goal small { font-size: .76rem; color: var(--ink-soft); line-height: 1.3; align-self: start; text-align: left; }
.gd-goal b:only-of-type { align-self: center; }
.gd-goal.other { background: transparent; border-style: dashed; border-color: var(--hairline); }
.hm-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--naranja); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; box-shadow: 0 4px 10px rgba(232,114,42,.3); }
.hm-tile .th { position: relative; }
.hm-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; }
.hm-feat .th { border-radius: 18px; }
.hm-feat b { font-size: 1.15rem; margin-top: 10px; }
.hm-feat small { font-size: .86rem; }
.hm-prodsec .hm-prods { padding-top: 6px; justify-content: flex-start; }
.hm-more { margin-top: 26px; border-top: 1px solid var(--hairline-2); padding-top: 14px; }
.hm-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: .98rem; }
.hm-more > summary::-webkit-details-marker { display: none; }
.hm-more > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.hm-more[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.hm-more > .hm-row { margin-top: 10px; }
.gd-steps { margin: 18px 0 0; }
.gd-head { margin-top: 34px; }
.gd-kick { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.gd-q { font-family: var(--sans); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; }
.gd-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin-top: 26px; }
.gd-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 54px 22px 22px; background: #fff; border: 1.5px solid var(--hairline-2); border-radius: 18px; min-height: 180px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.gd-opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22,35,58,.12); }
.gd-opt .hm-badge { top: 14px; left: auto; right: 14px; }
.gd-opt .ic { position: absolute; top: 16px; left: 22px; width: 30px; height: 30px; color: var(--ink); }
.gd-opt .ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gd-opt b { font-size: 1.15rem; line-height: 1.2; }
.gd-opt small { font-size: .86rem; color: var(--ink-soft); }
.gd-rec { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.gd-big .th { aspect-ratio: 1; border-radius: 20px; box-shadow: 0 10px 30px rgba(22,35,58,.12); }
.gd-big:hover .th { transform: none; }
.gd-why { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; margin-top: 16px; max-width: 52ch; }
.gd-alts { flex-wrap: wrap; }
.gd-go { width: auto; padding: 0 34px; margin-top: 26px; }
.gd-goh { margin-top: 10px; }
.gd-all { display: inline-block; margin-top: 18px; font-size: .92rem; }
.dz-next { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 24px 24px; }
.dz-next .btn-solid { width: 100%; margin-top: 8px; }
.dz-next .lnk { font-size: .88rem; min-height: 40px; }
.dz-ed.m .dz-next, .dz-ed.norail .dz-next { display: none; }
@media (max-width: 960px) {
  .gd-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px; margin-top: 20px; }
  .gd-goal { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 12px 10px; min-height: 68px; }
  .gd-goal .ic { width: 34px; height: 34px; border-radius: 10px; } .gd-goal .ic svg { width: 20px; height: 20px; }
  .gd-goal b { font-size: .86rem; } .gd-goal small { font-size: .7rem; }
  .hm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hm-feat b { font-size: .95rem; } .hm-feat small { font-size: .74rem; }
  .gd-opts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gd-opt { min-height: 0; padding: 50px 18px 18px; }
  .gd-rec { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gd-go { width: 100%; }
}

/* Precios rapidos en el inicio (20 oct 2026): foto del producto + desde + packs */
.hm-prices { max-width: 920px; margin: 26px auto 0; padding: 0 24px; }
.hm-pcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-pc { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--hairline-2); border-radius: 16px; padding: 10px; color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.hm-pc:hover { border-color: var(--ink); }
.hm-pc:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hm-pc img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; display: block; }
.hm-pc-t { display: grid; gap: 2px; }
.hm-pc-t b { font-size: 1.05rem; }
.hm-pc-p { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; margin: 2px 0; }
.hm-pc-p small { font-size: .8rem; font-weight: 500; color: var(--ink-soft); margin-right: 5px; }
.hm-pc-k { font-size: .8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hm-pc-go { justify-self: start; font-size: .82rem; font-weight: 600; margin-top: 6px; border-bottom: 1.5px solid var(--ink); }
.hm-pc-k span { white-space: nowrap; }
.hm-pfine { margin: 10px 0 0; font-size: .78rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 720px) { .hm-prices { padding: 0 16px; } .hm-pcs { grid-template-columns: 1fr; gap: 10px; } .hm-pc { grid-template-columns: 88px minmax(0, 1fr); } .hm-pc img { width: 88px; height: 88px; } }

/* Sobre la TapCard: desplegables encima de las resenas (20 oct 2026) */
.hm-about { max-width: 760px; margin-left: auto; margin-right: auto; }
.hm-about h2 { margin-bottom: 12px; }
.hm-about details { border-top: 1px solid var(--hairline-2); }
.hm-about details:last-child { border-bottom: 1px solid var(--hairline-2); }
.hm-about summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 14px 0; font-weight: 700; font-size: 1rem; }
.hm-about summary::-webkit-details-marker { display: none; }
.hm-about summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease-out; }
.hm-about details[open] summary svg { transform: rotate(180deg); }
.hm-about summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ab-in { padding: 0 0 18px; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.ab-in p { margin: 0; }
.ab-in a { text-underline-offset: 3px; }
.ab-b { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ab-b li { position: relative; padding-left: 26px; }
.ab-b li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.ab-n { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .hm-about summary svg { transition: none; } }

/* ===== Encuadrar la foto (21 oct 2026) ===== */
.ph-crop { z-index: 70; }
.ph-crop .gate-box { width: min(420px, 100%); }
.phc-stage { position: relative; width: min(300px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 12px; overflow: hidden; cursor: grab; touch-action: none; user-select: none; background: var(--paper-2); }
.phc-stage:active { cursor: grabbing; }
.phc-stage canvas { display: block; width: 100%; height: 100%; }
.phc-mask { position: absolute; inset: 0; pointer-events: none; border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.phc-stage.round .phc-mask { inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(22,35,58,.45), inset 0 0 0 2px rgba(255,255,255,.9); }
.phc-zoom { display: flex; align-items: center; gap: 10px; margin: 18px auto 0; width: min(300px, 100%); }
.phc-zoom button { width: 44px; height: 44px; flex: none; border: 1px solid var(--hairline); border-radius: 50%; font-size: 1.3rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.phc-zoom button:hover { border-color: var(--ink); }
.phc-zoom input { flex: 1; accent-color: var(--ink); min-height: 44px; }
.phc-act { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.phc-act > span { flex: 1; }
.phc-act .btn-solid, .phc-act .btn-line { width: auto; min-height: 48px; margin: 0; padding: 0 22px; }
/* Cambiar plantilla de un pedido ya hecho (21 oct 2026) */
.dz-swap { z-index: 70; align-items: flex-start; overflow: auto; }
.dz-swap .gate-box { width: min(760px, 100%); max-height: none; margin: 4vh 0; }
.dz-swap .dz-tpls { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.dz-swap .lab { margin-top: 26px !important; }

/* Orientacion en el lienzo, solo /admin (23 oct 2026): mismo estilo que el zoom, abajo a la izquierda */
.dz-orbar { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 2px; padding: 2px; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; font-size: .8rem; box-shadow: 0 4px 12px rgba(22,35,58,.08); z-index: 2; }
.dz-orbar button { min-height: 32px; padding: 0 12px; border-radius: 7px; color: var(--ink-soft); font-weight: 600; }
.dz-orbar button:hover { background: var(--paper); }
.dz-orbar button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.dz-swap .sw-or { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 10px; }
.dz-swap .sw-or .lab { margin: 0 !important; }

/* 10% primera compra (27 oct 2026): linea del descuento en el carrito y en "Revisa tu pedido" */
.drawer-foot .disc { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .92rem; margin-bottom: 8px; }
.drawer-foot .disc.on .a { color: #2F6B3A; font-weight: 700; }
.drawer-foot .disc.hint { color: var(--ink-soft); }
.drawer-foot .disc.hint .lnk, .drawer-foot .disc.code .lnk { font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.drawer-foot .disc .rv-code { display: flex; gap: 8px; flex: 1; }
.drawer-foot .disc .rv-code input { font: inherit; font-size: .95rem; padding: 8px 10px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; flex: 1; min-width: 0; text-transform: uppercase; }
.drawer-foot .disc .rv-code .btn-line { width: auto; margin: 0; min-height: 40px; padding: 0 14px; }
.drawer-foot .total .a s, #cartTotal s, #rvTotal s { font-weight: 500; color: var(--ink-soft); font-size: .85em; margin-right: 4px; }

/* Panel lateral "Para un cliente" (solo admin, 27 oct 2026): se abre/cierra y no le quita espacio al lienzo cerrado */
.dz-ed { position: relative; }
.dz-adm-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: 380px; margin: 0; z-index: 25; overflow-y: auto; border: 0; border-left: 1px solid var(--hairline); border-radius: 0; background: #fff; padding: 14px 18px 24px; box-shadow: -12px 0 30px rgba(22,35,58,.08); }
.dz-adm-sheet[hidden] { display: none; }
.dz-adm-sheet .adm-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dz-adm-sheet .adm-hd .lab { font-weight: 700; font-size: 1rem; }
.dz-adm-x { flex: none; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dz-adm-x:hover { background: var(--paper-2); }
.dz-adm-sheet .row { flex-direction: column; align-items: stretch; }
.dz-adm-sheet .row.pl-opts { flex-direction: row; align-items: center; }
.dz-adm-sheet input[type=email], .dz-adm-sheet input[type=text], .dz-adm-sheet select { min-width: 0; width: 100%; flex: none; }
.dz-adm-sheet .pl-opts select { width: auto; }
.dz-adm-sheet .row .btn-solid, .dz-adm-sheet .row .btn-line { flex: none; width: 100%; }
.dz-ed.adm-open .dz-stagecol { padding-right: 380px; }   /* la tarjeta se centra en lo que queda libre: el panel no la tapa */
.dz-bottom .dz-foot #plOpen { width: auto; min-height: 48px; margin: 0; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.dz-bottom .dz-foot #plOpen.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#plOpen .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); display: inline-block; margin-left: 4px; }
@media (max-width: 960px) {
  .dz-adm-sheet { position: fixed; inset: 0; width: auto; z-index: 60; border-left: 0; padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); }
  .dz-ed.adm-open .dz-stagecol { padding-right: 0; }
}

/* ---------- Tarjeta digital (29 oct 2026): Comparte tu tarjeta (Perfil) + QR a pantalla completa ---------- */
.sc { display: flex; gap: 24px; align-items: center; background: #FFFFFF; border: 1px solid rgba(22,35,58,.12); border-radius: 16px; padding: 20px; margin: 0 0 28px; }
.sc-qr { flex: none; width: 132px; height: 132px; padding: 10px; background: #FFFFFF; border: 1px solid rgba(22,35,58,.12); border-radius: 12px; cursor: zoom-in; }
.sc-qr svg { width: 100%; height: 100%; display: block; }
.sc-body { flex: 1; min-width: 0; }
.sc-body h2 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 4px; }
.sc-p { color: var(--ink-soft); margin: 0 0 10px; font-size: .98rem; }
.sc-small { font-size: .9rem; margin-top: -4px; }
.sc-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 4px; overflow-wrap: anywhere; }
.sc-link .lab { width: 100%; margin: 0; }
.sc-link a { font-weight: 700; color: var(--ink); }
.sc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sc-acts .btn-solid, .sc-acts .btn-line { width: auto; min-height: 46px; margin: 0; padding: 0 18px; gap: 8px; }
.sc-acts svg { width: 20px; height: 20px; flex: none; }
.sc-hf .lab { display: block; margin-bottom: 6px; }
.sc-hrow { display: flex; align-items: center; border: 1px solid rgba(22,35,58,.3); border-radius: 8px; background: #FFFFFF; overflow: hidden; max-width: 460px; }
.sc-hrow span { padding: 0 2px 0 12px; color: var(--ink-soft); white-space: nowrap; font-size: .95rem; }
.sc-hrow input { flex: 1; min-width: 0; border: 0; padding: 12px 12px 12px 0; font: inherit; background: transparent; color: var(--ink); }
.sc-hrow:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.sc-hint { font-size: .88rem; color: var(--ink-soft); margin: 6px 0 0; }
.sc-full { position: fixed; inset: 0; z-index: 400; background: #FFFFFF; display: grid; place-items: center; padding: 16px; }
.sc-full-in { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #16233A; }
.sc-full-qr { width: min(78vw, 62vh, 460px); aspect-ratio: 1; }
.sc-full-qr svg { width: 100%; height: 100%; display: block; }
.sc-full b { font-size: 1.4rem; margin-top: 10px; }
.sc-full p { color: #5A6474; margin: 0 0 8px; }
.pf-verify { color: var(--ink-soft); margin: 0 0 12px; }
.pf-mates { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; color: var(--ink-soft); font-size: .98rem; }
.pf-mates .pn-re { min-height: 40px; padding: 0 14px 0 10px; gap: 6px; white-space: nowrap; }
.pf-mates > span { flex: 1 1 260px; }
.pf-split { flex-basis: 100%; font-size: .95rem; }
.pf-split summary { cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; width: max-content; }
.pf-split p { margin: 6px 0 8px; }
.pf-split .lnk { display: block; margin: 6px 0; text-align: left; }
.pf-or { margin: 18px 0 0; }
.pf-none .btn-solid { width: auto; padding: 0 26px; }
@media (max-width: 640px) {
  .sc { flex-direction: column; align-items: stretch; text-align: left; padding: 16px; gap: 14px; }
  .sc-qr { width: 120px; height: 120px; align-self: center; }
  .sc-acts .btn-solid, .sc-acts .btn-line { flex: 1 1 calc(50% - 10px); padding: 0 10px; gap: 6px; white-space: nowrap; font-size: .96rem; }
  .sc-acts .btn-solid { flex-basis: 100%; }
}

/* Tarjeta digital gratis: anuncio en el inicio de /disena (29 oct 2026) */
.hm-dg { max-width: 872px; margin: 14px auto 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 18px 20px; text-align: left; }
.hm-dg-ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.hm-dg-ic svg { width: 28px; height: 28px; stroke: currentColor; fill: none; }
.hm-dg-k { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #E8722A; color: #fff; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.hm-dg h2 { font-size: 1.2rem; line-height: 1.2; margin: 0 0 4px; color: var(--paper); }
.hm-dg p { margin: 0; font-size: .95rem; opacity: .82; }
.hm-dg .btn-solid { width: auto; margin: 0; padding: 0 22px; background: var(--paper); color: var(--ink); white-space: nowrap; }
@media (max-width: 720px) { .hm-dg { margin: 12px 16px 0; grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; padding: 16px; } .hm-dg-ic { width: 44px; height: 44px; align-self: start; } .hm-dg .btn-solid { grid-column: 1 / -1; width: 100%; } }

/* Miniaturas sin fondo (4 nov 2026): solo la tarjeta flotando sobre blanco, con sombra suave (estilo carrusel). */
.hm-tile .th, .hm-feat .th, .gd-big .th { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 8% !important; overflow: visible; }
.hm-tile:hover .th { box-shadow: none; transform: translateY(-3px); }
.hm-tile .th > svg, .hm-tile .th > img { padding: 0 !important; background: none !important; border-radius: 0; filter: drop-shadow(0 8px 18px rgba(22,35,58,.16)) drop-shadow(0 1px 3px rgba(22,35,58,.10)); }
.hm-tile .th > svg.th { width: 100% !important; height: auto !important; }
.hm-tile .th > svg:not(.th) { height: 100% !important; width: auto !important; }
/* En la ficha del producto, la tarjeta horizontal no deja espacio vacio arriba y abajo (en el celular empujaba el titulo). */
.gd-big .th:has(> svg.th) { aspect-ratio: auto !important; padding: 6% 4% !important; }

/* Espaciado por proximidad (4 nov 2026): el nombre va pegado a su tarjeta (≈10 px) y lejos de la siguiente seccion (≈40 px);
   los titulos de categoria mas grandes que el nombre de cada plantilla, para que no se confundan. */
.hm-tile:not(.hm-feat) .th:has(> svg.th) { aspect-ratio: auto !important; padding: 6px 6px 2px !important; }
.hm-tile .th:has(> svg:not(.th)) { padding: 4% !important; }
.hm-feat .th { place-items: end center !important; }
.hm-tile { gap: 2px; }
.hm-tile b { margin-top: 10px; font-size: .95rem; }
.hm-sec h3 { font-size: 1.2rem; margin: 36px 0 8px; }
/* Precios del inicio: el arte de la TapCard, sin la foto en madera */
.hm-pc-art { width: 112px; height: 112px; display: grid; place-items: center; }
.hm-pc-art svg { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 6px 12px rgba(22,35,58,.16)) drop-shadow(0 1px 2px rgba(22,35,58,.10)); }
.hm-pc-art svg.th { width: 100%; }
.hm-pc-art svg:not(.th) { height: 100%; }
@media (max-width: 720px) { .hm-pc-art { width: 88px; height: 88px; } }

/* El badge "Más pedida" va sobre la esquina, sin tapar el arte de la tarjeta */
.hm-tile .hm-badge { top: -9px; left: -6px; box-shadow: 0 2px 6px rgba(22,35,58,.18); }
.hm-row { padding-top: 14px; }

/* ===== Inicio híbrido (4 nov 2026, B + C): "TapCard" grande, TapCards en 3D, objetivos en pastillas, productos,
   "Una para cada cosa" y "Cómo funciona". El anaranjado solo en el botón principal (regla 60-30-10). ===== */
.hm-main.hx { max-width: 1168px; }
.hx-hero { margin: 0 !important; background: none !important; padding: 56px 0 32px !important; text-align: center; }
.hx-big { margin: 0; font-family: var(--sans); font-weight: 800 !important; font-size: clamp(4.4rem, 10vw, 8rem) !important; letter-spacing: -0.05em !important; line-height: .9 !important; }
.hx-tag { margin: 12px 0 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.hx-cta { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.hx-go { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: #D9631E; color: #fff; font-weight: 700; font-size: 1.15rem; border: 0; cursor: pointer; }
.hx-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-go:hover { background: #C4561A; }
.hx-go:focus-visible, .hx-pill:focus-visible, .hx-each-t:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hx-tpl { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.hx-3d { position: relative; max-width: 1040px; margin: 8px auto 0; aspect-ratio: 1040 / 540; border-radius: 32px; background: var(--paper-2); perspective: 1400px; perspective-origin: 50% -30%; overflow: hidden; touch-action: pan-y; cursor: grab; }
.hx-3d-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(0deg) rotateY(-6deg); transition: transform .25s ease-out; }
.hx-c { position: absolute; display: block; transform-style: preserve-3d; }
.hx-c svg { display: block; height: 100%; width: auto; }
/* 5 nov 2026: piezas en 3D de verdad. Cada pieza es una placa con grosor (--t): cara de frente, de atras y cuatro cantos. */
.hx-slab { --t: 12px; }
.hx-f { position: relative; display: block; height: 100%; background: #FFFFFF; }
.hx-e { position: absolute; display: block; backface-visibility: hidden; }
.hx-bk { inset: 0; background: #ECEEF1; transform: translateZ(calc(var(--t) * -1)) rotateY(180deg); }
.hx-tp { left: 0; right: 0; bottom: 100%; height: var(--t); background: #F4F5F7; transform-origin: bottom; transform: rotateX(90deg); }
.hx-bt { left: 0; right: 0; top: 100%; height: var(--t); background: #C9CDD4; transform-origin: top; transform: rotateX(-90deg); }
.hx-l { top: 0; bottom: 0; right: 100%; width: var(--t); background: #DCDFE4; transform-origin: right; transform: rotateY(-90deg); }
.hx-r { top: 0; bottom: 0; left: 100%; width: var(--t); background: #D3D6DC; transform-origin: left; transform: rotateY(90deg); }
/* Stand: la tarjeta va metida en el marco (borde blanco alrededor) y la pata sale por detras, apoyada en la mesa. */
.hx-std .hx-f { padding: 3.2% 3.2% 4.4%; box-sizing: border-box; }
.hx-std .hx-ins { display: block; height: 100%; box-shadow: 0 0 0 1px rgba(22,35,58,.07), inset 0 0 0 1px rgba(22,35,58,.04); }
.hx-std .hx-ins svg { height: 100%; }
.hx-ft { left: 0; right: 0; top: calc(100% - var(--t)); height: var(--fd); background: linear-gradient(180deg, #E9EBEE, #F7F8F9); transform-origin: top; transform: translateZ(calc(var(--t) * -1)) rotateX(-90deg); }
.hx-fe { left: 0; right: 0; top: calc(100% - var(--t)); height: var(--t); background: #D7DADF; transform: translateZ(calc(var(--t) * -1 - var(--fd))); }
.hx-ft, .hx-fl, .hx-fr { backface-visibility: visible; }
.hx-fl, .hx-fr { top: calc(100% - var(--t)); height: var(--t); width: var(--fd); background: #D9DCE1; }
.hx-fl { left: 0; transform-origin: left; transform: translateZ(calc(var(--t) * -1)) rotateY(90deg); }
.hx-fr { right: 0; transform-origin: right; transform: translateZ(calc(var(--t) * -1)) rotateY(-90deg); }
.hx-sh { position: absolute; left: -12%; right: -12%; top: calc(100% - 2px); height: 62%; transform-origin: top; transform: translateZ(14px) rotateX(-90deg) translateZ(-1px); background: radial-gradient(closest-side, rgba(22,35,58,.30), rgba(22,35,58,.10) 60%, transparent); filter: blur(6px); pointer-events: none; }
.hx-std { --fd: 118px; transform-origin: 50% 100%; }
.hx-c1 { left: 20%; top: 8%; height: 64%; transform: translateZ(-40px) rotateY(24deg) rotateX(9deg); }
.hx-c2 { left: 58%; top: 12%; height: 58%; transform: translateZ(-110px) rotateY(-26deg) rotateX(9deg); }
/* Business: de frente, mirando al que la ve. */
.hx-c3 { --t: 6px; left: 35%; top: 46%; width: 29%; transform: translateZ(120px) rotateX(-4deg) rotateY(-12deg) rotateZ(-4deg); }
.hx-c3 .hx-f { border-radius: 10px; overflow: hidden; box-shadow: 0 30px 40px -12px rgba(22,35,58,.35), 0 8px 14px -6px rgba(22,35,58,.18); }
.hx-c3 .hx-bk, .hx-c3 .hx-e { border-radius: 0; }
.hx-c3 svg { width: 100%; height: auto; }
.hx-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(22,35,58,.12); font-size: .85rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.hx-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-goals, .hx-each, .hx-how, .hm-main.hx > .hm-prices, .hm-main.hx > .hm-dg { max-width: 1040px; margin-left: auto; margin-right: auto; }
.hx-goals { margin-top: 56px; text-align: left; }
.hx-goals h2 { margin: 0 0 16px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.hx-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(22,35,58,.16); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; transition: border-color .15s; }
.hx-pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hx-pill:hover { border-color: var(--ink); }
.hx-pill.other { border-style: dashed; color: var(--ink-soft); }
.hm-main.hx > .hm-prices { margin-top: 56px; padding: 0; }
.hm-main.hx > .hm-prices .hm-pcs { gap: 24px; }
.hm-main.hx > .hm-prices .hm-pc { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 20px; border-width: 1px; }
.hm-main.hx > .hm-prices .hm-pc-art { width: 200px; height: 180px; }
.hx-each { margin-top: 88px; text-align: center; }
.hx-each h2 { margin: 0 0 32px; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.hx-each-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.hx-each-t { display: flex; flex-direction: column; align-items: center; gap: 14px; background: none; border: 0; padding: 4px; color: var(--ink); font: inherit; cursor: pointer; }
.hx-each-a { display: block; height: 190px; transition: transform .15s; }
.hx-each-a svg { display: block; height: 100%; width: auto; filter: drop-shadow(0 10px 16px rgba(22,35,58,.15)); }
.hx-each-t:hover .hx-each-a { transform: translateY(-3px); }
.hx-each-t b { font-size: 1.05rem; }
.hx-all { display: inline-block; margin-top: 28px; font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.hx-how { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--hairline-2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: left; }
.hx-how div { display: flex; flex-direction: column; gap: 6px; }
.hx-how span { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.hx-how b { font-size: 1.15rem; }
.hx-how small { font-size: 1rem; color: var(--ink-soft); }
.hm-main.hx > .hm-dg { margin-top: 64px; }
@media (prefers-reduced-motion: reduce) { .hx-3d-in, .hx-each-a { transition: none; } }
@media (max-width: 720px) {
  .hx-hero { padding: 36px 0 24px !important; }
  .hx-cta { gap: 18px; }
  .hx-3d { aspect-ratio: auto; height: 420px; border-radius: 24px; perspective: 1000px; }
  .hx-slab { --t: 8px; }
  .hx-std { --fd: 70px; }
  .hx-c1 { left: 9%; top: 6%; height: 52%; }
  .hx-c2 { left: 49%; top: 9%; height: 47%; }
  .hx-c3 { --t: 4px; left: 21%; top: 47%; width: 58%; transform: translateZ(50px) rotateX(-4deg) rotateY(-12deg) rotateZ(-4deg); }
  .hx-dims { display: none; }
  .hx-goals { margin-top: 44px; }
  .hx-goals h2 { font-size: 1.4rem; }
  .hx-pill { min-height: 44px; padding: 0 14px; font-size: .95rem; }
  .hm-main.hx > .hm-prices { margin-top: 44px; }
  .hm-main.hx > .hm-prices .hm-pc { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .hm-main.hx > .hm-prices .hm-pc-art { width: 120px; height: 120px; }
  .hx-each { margin-top: 56px; }
  .hx-each-row { display: flex; overflow-x: auto; gap: 16px; margin: 0 -16px; padding: 4px 16px 12px; scroll-snap-type: x proximity; }
  .hx-each-t { flex-shrink: 0; scroll-snap-align: start; }
  .hx-each-a { height: 160px; }
  .hx-how { margin-top: 48px; grid-template-columns: 1fr; gap: 20px; }
}
/* Tarjeta digital gratis (4 nov 2026): sin el ribbon azul oscuro — gris claro como el resto del inicio, botón azul redondo. */
.hm-dg { background: var(--paper-2); color: var(--ink); border-radius: 20px; padding: 22px 24px; }
.hm-dg-ic { background: #fff; }
.hm-dg h2 { color: var(--ink); }
.hm-dg p { color: var(--ink-soft); opacity: 1; }
.hm-dg .btn-solid { background: var(--ink); color: #fff; border-radius: 999px; min-height: 48px; }
.hm-dg .btn-solid:hover { background: #0B1424; }
/* Mis TapCards (4 nov 2026): la Business horizontal que llega como imagen (/art) va arriba, pegada a su nombre, igual que las demas. */
.hm-tile .th.th-h { aspect-ratio: auto !important; padding: 6px 6px 2px !important; }
.hm-tile .th.th-h > img { width: 100% !important; height: auto !important; aspect-ratio: 1011 / 638; object-fit: contain; }

/* ===== Diseño de la página digital (4 nov 2026, fácil como Linktree): galería de temas y botones dibujados ===== */
.cl-thms { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.cl-thm { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px; border: 0; background: none; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; border-radius: 16px; }
.cl-thm .cl-mini { outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s, transform .15s; }
.cl-thm:hover .cl-mini { transform: translateY(-2px); }
.cl-thm[aria-pressed="true"] .cl-mini { outline-color: var(--ink); }
.cl-thm[aria-pressed="true"] .cl-thm-l { text-decoration: underline; text-underline-offset: 4px; }
.cl-thm:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cl-thm-l { text-align: center; line-height: 1.2; }
.cl-mini { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 78px; height: 132px; padding: 12px 8px 0; border-radius: 14px; border: 1px solid rgba(22,35,58,.14); box-sizing: border-box; overflow: hidden; }
.cl-mini i { display: block; flex: none; }
.cl-mini-av { width: 20px; height: 20px; border-radius: 50%; }
.cl-mini-nm { width: 34px; height: 4px; border-radius: 2px; opacity: .85; }
.cl-mini-pri { width: 58px; height: 11px; margin: 2px 0 2px; }
.cl-mini-b { width: 58px; height: 15px; display: flex !important; align-items: center; gap: 4px; padding: 0 4px; box-sizing: border-box; }
.cl-mini-b u, .cl-opt-b u { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.cl-mini-b s, .cl-opt-b s { display: block; height: 3px; width: 24px; border-radius: 2px; }
.cl-mini-b.c, .cl-opt-b.c { justify-content: center; position: relative; }
.cl-mini-b.c u, .cl-opt-b.c u { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); }
.cl-thm.cus .cl-mini::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#E8722A, #F5C542, #2E7D4F, #2563C8, #7B2FE0, #E8722A); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cl-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cl-opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 8px; border: 1.5px solid var(--hairline); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.cl-opt:hover { border-color: rgba(22,35,58,.4); }
.cl-opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cl-opt-d { display: grid; place-items: center; width: 100%; height: 44px; border-radius: 9px; border: 1px solid rgba(22,35,58,.08); }
.cl-opt-b { display: flex !important; align-items: center; gap: 5px; width: 76%; height: 24px; padding: 0 7px; box-sizing: border-box; }
.cl-opt-b u { width: 11px; height: 11px; }
.cl-opt-b s { width: 40%; height: 4px; }
.cl-opt-b.c u { left: 7px; }
@media (max-width: 420px) { .cl-thms { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cl-mini { width: 72px; height: 122px; } }
.cl-theme #cThemeSeg.cl-thms .cl-thm { display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* Página digital (4 nov 2026): foto en cada enlace, fondo y letra */
.cl-ph { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cl-ph-b { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px dashed var(--hairline); border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; background: #fff; }
.cl-ph-b:hover { border-color: rgba(22,35,58,.45); color: var(--ink); }
.cl-ph-b .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cl-ph-b.has { padding: 0; border: 0; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(22,35,58,.16); }
.cl-ph-b.has img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-ph-b.busy, .cl-bgup.busy { opacity: .5; pointer-events: none; }
.cl-ph-x { font-size: .88rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl-opts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cl-aa { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.cl-opt-d .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cl-bg2 { margin-top: 10px; }
.cl-bgup { margin-top: 10px; display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.cl-ph-err:empty { display: none; }
@media (max-width: 420px) { .cl-opts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Editar tocando la vista previa: el campo que se abrió parpadea un momento */
.ce-hl { animation: ceHl 1.4s ease-out; border-radius: 10px; }
@keyframes ceHl { 0%, 35% { box-shadow: 0 0 0 3px rgba(217,99,30,.55); } 100% { box-shadow: 0 0 0 3px rgba(217,99,30,0); } }
.cl-row .cl-ph { grid-column: 1; grid-row: 2; margin-top: 0; }
.cl-row .cl-acts { grid-column: 2; grid-row: 1 / span 2; }
.pf-tap { margin: -4px 0 10px; font-size: .85rem; }

/* ===== TapCard como marca propia (5 nov 2026, tapcardpr.com) ===== */
/* Logo horizontal: las tres TapCards reales, sin circulo (Guillermo, 5 nov 2026) + "TapCard" en Barlow 800 (el mismo del inicio). */
.tc-brand { gap: 10px; text-transform: none; letter-spacing: -0.045em !important; font-weight: 800; font-size: 1.5rem !important; line-height: 1; }
.tc-brand img { width: auto !important; height: 44px; }
@media (max-width: 860px) { .brand.tc-brand span { display: inline; } .brand.tc-brand { font-size: 1.3rem !important; gap: 8px; } .brand.tc-brand img { width: auto !important; height: 38px; } .dz-top .tc-brand { font-size: 1.3rem !important; gap: 8px; } .dz-top .tc-brand img { width: 36px !important; height: 36px; } }
/* Caballo de La Pica de un solo color (toma el color del texto). */
.lp-horse { display: inline-block; width: 2.1em; height: .88em; flex: none; background: currentColor; -webkit-mask: url(/assets/marca/caballo.svg) center / contain no-repeat; mask: url(/assets/marca/caballo.svg) center / contain no-repeat; }
.dz-legal .lp-co { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.dz-legal .lp-co:hover { color: var(--ink); }
.dz-legal .lp-sep { margin: 0 6px; }
.tc-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 72px 0 0; padding: 40px 0 48px; border-top: 1px solid var(--hairline); text-align: center; color: var(--ink-soft); font-size: .92rem; }
.tc-foot a { color: inherit; text-decoration: none; }
.tc-foot a:hover { color: var(--ink); }
.tc-co { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; font-weight: 600; font-size: 1rem; }
.tc-co .lp-horse { font-size: 1.25rem; }
.tc-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.tc-legal a { min-height: 32px; display: inline-flex; align-items: center; }
.tc-contact { margin: 0; }
.tc-foot small { font-size: .8rem; }
/* Celular, dentro del disenador (con "< Inicio" visible): solo el arte del logo, sin la palabra, para que no se monte con Inicio y la cuenta. */
@media (max-width: 860px) { .dz-top-l:has(.dz-back:not([hidden])) .tc-brand span { display: none; } }
