/* 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: #F1E8D6;
  --paper-2: #E8DFCB;
  --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; }

/* ===== 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-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; }
.line .ctl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.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; }
.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; }
.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: 72px 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: 72px; height: 72px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; }
.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; }
.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: 72px 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; }
/* "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; }
