/* =============================================================================
   CATALOKO · Estilos de las plantillas (assets/plantillas.js)
   El Clásico no usa nada de este archivo. Inspirado en glass-ui:
   hardware oscuro con luz neón, cristal esmerilado y la División Artisan.
   ========================================================================== */

/* ---------- Comunes ---------- */
.font-tpl { font-family: var(--tpl-font, inherit); }
.logo-grande #storeHeader > div > div:first-child { height: 4.75rem; }
.logo-xl #storeHeader > div > div:first-child { height: 5.5rem; }
.logo-grande #categorySection { top: 8rem; }
.logo-xl #categorySection { top: 8.75rem; }
@media (min-width: 768px) {
  .logo-grande #categorySection { top: 4.75rem; }
  .logo-xl #categorySection { top: 5.5rem; }
}
[class*="tpl-"] #categoryChips { padding-block: .15rem; }
.tpl-empty { border-color: currentColor; opacity: .75; }
.tpl-nophoto { background: rgb(148 163 184 / .15); color: rgb(100 116 139); }
.tpl-count { margin-left: .25rem; font-size: .72em; opacity: .65; font-variant-numeric: tabular-nums; }

.fav-heart { display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 9999px; background: rgb(255 255 255 / .92); color: rgb(51 65 85); box-shadow: 0 2px 10px -2px rgb(15 23 42 / .25); backdrop-filter: blur(6px); transition: transform .15s ease, color .15s ease; }
.fav-heart:hover { color: rgb(var(--accent)); }
.fav-heart:active { transform: scale(.9); }
.fav-heart.is-on { color: #e11d48; --heart-fill: currentColor; }
:is(.fav-heart, .nx-seg, .nx-hold, .nx-ghost, .nx-step button, .vt-seg, .vt-cta, .bq-tab, .bq-btn, .bq-quick, .bq-link, .mk-pill, .mk-add, .mk-step button, .mk-plus, .mk-wa, .ed-tab, .ed-add, .ed-cta):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
glass-product-card:focus-visible, artisan-popout-card:focus-visible { outline: 3px solid rgb(var(--primary)); outline-offset: 4px; border-radius: 28px; }

/* Cinta de texto en movimiento */
.tk { overflow: hidden; white-space: nowrap; }
.tk-track { display: inline-flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; animation: tk-move 38s linear infinite; }
.tk-track > span { flex-shrink: 0; }
.tk-sep { opacity: .55; font-size: .7em; }
@keyframes tk-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } }

/* Barra inferior market-pill-nav (solo celular) */
.pn-dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; justify-content: center; padding: 0 .75rem max(.75rem, env(safe-area-inset-bottom)); pointer-events: none; }
.pn-dock > * { pointer-events: auto; width: 100%; max-width: 360px; }
@media (min-width: 768px) { .pn-dock { display: none !important; } }

/* =============================================================================
   NEÓN
   ========================================================================== */
.tpl-neon { --neon: 255 106 0; --nx-bg: #0d0d11; --nx-card: linear-gradient(180deg, #17171c 0%, #0f0f13 100%); color: #f1f1f4; font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif; color-scheme: dark; }
.tpl-neon #storeHeader { border-color: rgb(255 255 255 / .06); background: rgb(13 13 17 / .78); }
.tpl-neon #storeHeader .text-slate-900 { color: #fff; }
.tpl-neon #storeHeader .input { border: 1px solid rgb(255 255 255 / .07); background: linear-gradient(180deg, #0b0b0e, #141419); color: #fff; box-shadow: inset 0 4px 10px rgb(0 0 0 / .7); }
.tpl-neon #storeHeader .input::placeholder { color: rgb(255 255 255 / .35); }
.tpl-neon #storeHeader .input:focus { border-color: rgb(var(--neon) / .5); box-shadow: inset 0 4px 10px rgb(0 0 0 / .7), 0 0 0 3px rgb(var(--neon) / .18); }
.tpl-neon #headerCartBtn { border: 1px solid rgb(var(--neon) / .45); background: linear-gradient(180deg, #141419, #0b0b0e); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 18px rgb(var(--neon) / .18); }
.tpl-neon #cartBadge { background: rgb(var(--neon)); color: #0d0d11; box-shadow: 0 0 10px rgb(var(--neon) / .8); }
.tpl-neon #categorySection > div { background: rgb(13 13 17 / .82); }
.tpl-neon footer { border-color: rgb(255 255 255 / .06); background: #09090c; color: rgb(255 255 255 / .6); }
.tpl-neon footer :is(.text-slate-900) { color: #fff; }
.tpl-neon footer :is(p, .text-slate-500, .text-slate-600, .text-slate-400) { color: rgb(255 255 255 / .5); }
.tpl-neon footer .border-slate-100 { border-color: rgb(255 255 255 / .06); }
.tpl-neon footer a.btn { border-color: rgb(255 255 255 / .1); background: #141419; color: #fff; }
.tpl-neon footer a.text-primary { color: rgb(var(--neon)); }
.tpl-neon #catalogTitle { font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.tpl-neon #catalogTitle::before { content: ''; display: inline-block; width: 1.5rem; height: 2px; margin-right: .6rem; vertical-align: middle; background: rgb(var(--neon)); box-shadow: 0 0 8px rgb(var(--neon)); }
.tpl-neon #storeProductCount { color: rgb(255 255 255 / .4); }
.tpl-neon .tpl-empty { color: rgb(255 255 255 / .6); }
.tpl-neon .tpl-nophoto { background: #0b0b0e; color: rgb(255 255 255 / .35); }

.nx-hero { position: relative; display: grid; gap: 1.25rem; overflow: hidden; border-radius: 32px; border: 1px solid rgb(255 255 255 / .07); padding: 1.5rem; background:
  radial-gradient(circle at 92% 0%, rgb(var(--neon) / .22), transparent 45%),
  radial-gradient(rgb(255 255 255 / .05) 1px, transparent 1.4px) 0 0 / 14px 14px,
  linear-gradient(180deg, #16161b, #0e0e12); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 60px -20px rgb(0 0 0 / .8); }
@media (min-width: 768px) { .nx-hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 2.5rem; } }
.nx-status { display: inline-flex; align-items: center; gap: .55rem; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .08); background: #0b0b0e; padding: .35rem .8rem; font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .65); box-shadow: inset 0 2px 6px rgb(0 0 0 / .6); }
.nx-led { width: .5rem; height: .5rem; border-radius: 9999px; background: rgb(var(--neon)); box-shadow: 0 0 6px rgb(var(--neon)), 0 0 14px rgb(var(--neon) / .7); animation: nx-blink 2.4s ease-in-out infinite; }
@keyframes nx-blink { 50% { opacity: .35; } }
.nx-ring { border-radius: 9999px; padding: 5px; background: repeating-conic-gradient(rgb(255 255 255 / .16) 0 4deg, rgb(0 0 0 / .4) 4deg 8deg); box-shadow: 0 0 0 1px rgb(var(--neon) / .45), 0 0 26px rgb(var(--neon) / .35); }
.nx-ring .tpl-logo { box-shadow: 0 0 0 3px #0d0d11; }
.nx-title { font-size: clamp(1.9rem, 7vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 22px rgb(var(--neon) / .25); }
.nx-slogan { margin-top: .9rem; max-width: 34rem; font-size: 1rem; line-height: 1.55; color: rgb(255 255 255 / .62); }
.nx-stats { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.nx-stats > div { min-width: 0; border-radius: 16px; border: 1px solid rgb(255 255 255 / .06); background: #0b0b0e; padding: .55rem .9rem; box-shadow: inset 0 3px 8px rgb(0 0 0 / .6); }
.nx-stats dt { font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .4); }
.nx-stats dd { margin-top: .1rem; max-width: 14rem; font-size: .95rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.nx-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; border: 1px solid rgb(255 255 255 / .08); background: #000; box-shadow: inset 0 0 0 6px #0b0b0e, 0 0 0 1px rgb(var(--neon) / .25), 0 0 40px -6px rgb(var(--neon) / .35); }
.nx-screen img { opacity: .92; }
.nx-screen::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgb(255 255 255 / .08), transparent 30%), repeating-linear-gradient(0deg, rgb(0 0 0 / .12) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 40px rgb(0 0 0 / .65); }

/* Botón tipo glass-hold-btn: pista oscura + rejilla de puntos + perilla estriada */
.nx-hold { position: relative; display: inline-flex; align-items: center; gap: .55rem; height: 3rem; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .07); padding: 0 .3rem 0 1rem; background: linear-gradient(180deg, #0b0b0e, #16161b); color: #fff; box-shadow: inset 0 4px 10px rgb(0 0 0 / .75), inset 0 -1px 3px rgb(255 255 255 / .04), 0 8px 20px -8px rgb(0 0 0 / .7); transition: box-shadow .3s, border-color .3s, transform .15s; }
.nx-hold:hover { border-color: rgb(var(--neon) / .45); box-shadow: inset 0 4px 10px rgb(0 0 0 / .75), 0 0 22px rgb(var(--neon) / .22); }
.nx-hold:active { transform: scale(.98); }
.nx-hold-txt { display: flex; min-width: 0; flex: 1; flex-direction: column; text-align: left; line-height: 1.05; }
.nx-hold-txt b { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nx-hold-txt small { margin-top: .2rem; font-size: .55rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .4); }
.nx-dots { width: 1.35rem; height: .9rem; flex-shrink: 0; background-image: radial-gradient(rgb(var(--neon) / .55) 1px, transparent 1.35px); background-size: 5px 5px; opacity: .8; }
.nx-hold:hover .nx-dots { filter: drop-shadow(0 0 3px rgb(var(--neon))); opacity: 1; }
.nx-knob { display: inline-flex; height: 2.35rem; width: 2.35rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; color: #fff; border: 1px solid rgb(var(--neon) / .65);
  background: repeating-linear-gradient(135deg, rgb(0 0 0 / .45) 0 2px, transparent 2px 5px), radial-gradient(circle at 35% 30%, rgb(var(--neon) / .75), rgb(var(--neon) / .25) 60%, #160b05 100%);
  box-shadow: 0 0 14px rgb(var(--neon) / .45), inset 0 1px 1px rgb(255 255 255 / .3), inset 0 -3px 6px rgb(0 0 0 / .45); }
.nx-hold-lg { height: 3.6rem; padding-left: 1.3rem; }
.nx-hold-lg .nx-knob { height: 2.9rem; width: 2.9rem; }
.nx-hold-lg .nx-hold-txt b { font-size: .85rem; text-shadow: 0 0 10px rgb(var(--neon) / .8); }
.nx-ghost { display: inline-flex; height: 3rem; align-items: center; border-radius: 9999px; padding: 0 1.2rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .75); border: 1px solid rgb(255 255 255 / .12); transition: color .2s, border-color .2s; }
.nx-ghost:hover { color: #fff; border-color: rgb(255 255 255 / .3); }

/* Selector de categorías tipo glass-toggle */
.nx-track { display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .07); padding: .3rem; background: linear-gradient(180deg, #0b0b0e, #141419); box-shadow: inset 0 5px 12px rgb(0 0 0 / .85), inset 0 -2px 6px rgb(255 255 255 / .04); }
.nx-seg { display: inline-flex; flex-shrink: 0; align-items: center; gap: .45rem; border-radius: 9999px; border: 1px solid transparent; padding: .55rem 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: rgb(255 255 255 / .45); transition: color .3s, background .35s, box-shadow .35s, border-color .35s; }
.nx-seg:hover { color: rgb(255 255 255 / .85); }
.nx-seg-n { font-size: .65rem; font-weight: 800; opacity: .7; font-variant-numeric: tabular-nums; }
.nx-seg.is-on { color: #fff; border-color: rgb(var(--neon) / .55); background: linear-gradient(145deg, rgb(var(--neon) / .55) 0%, rgb(var(--neon) / .22) 100%); text-shadow: 0 0 8px rgb(255 255 255 / .6), 0 0 16px rgb(var(--neon)); box-shadow: inset 0 1px 1px rgb(255 255 255 / .25), inset 0 -3px 8px rgb(0 0 0 / .4), 0 0 22px rgb(var(--neon) / .3); }

.nx-section-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.nx-section-head h2 { font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.nx-section-head h2::before { content: ''; display: inline-block; width: 1.5rem; height: 2px; margin-right: .6rem; vertical-align: middle; background: rgb(var(--neon)); box-shadow: 0 0 8px rgb(var(--neon)); }
.nx-section-head span { font-size: .7rem; font-weight: 800; color: rgb(255 255 255 / .35); }
.nx-rail { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
.nx-mini { display: flex; width: 15rem; flex-shrink: 0; scroll-snap-align: start; align-items: center; gap: .75rem; border-radius: 22px; border: 1px solid rgb(255 255 255 / .07); padding: .5rem .9rem .5rem .5rem; background: var(--nx-card); transition: border-color .25s; }
.nx-mini:hover { border-color: rgb(var(--neon) / .45); }
.nx-mini-img { height: 3.75rem; width: 3.75rem; flex-shrink: 0; overflow: hidden; border-radius: 16px; background: #0b0b0e; }

.nx-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; border: 1px solid rgb(255 255 255 / .07); padding: .55rem .55rem .7rem; background: var(--nx-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 18px 40px -22px rgb(0 0 0 / .9); transition: border-color .3s, box-shadow .3s; }
.nx-card:hover { border-color: rgb(255 255 255 / .14); }
.nx-card.is-on { border-color: rgb(var(--neon) / .5); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 0 28px -6px rgb(var(--neon) / .45); }
.nx-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 20px; background: #0b0b0e; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.nx-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 26px rgb(0 0 0 / .55); }
.nx-badge { position: absolute; left: .5rem; top: .5rem; z-index: 1; border-radius: 9999px; border: 1px solid rgb(var(--neon) / .6); background: rgb(13 13 17 / .75); padding: .15rem .55rem; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 0 8px rgb(var(--neon)); backdrop-filter: blur(6px); }
.nx-heart { position: absolute; right: .5rem; top: .5rem; z-index: 1; height: 2rem; width: 2rem; background: rgb(13 13 17 / .7); color: rgb(255 255 255 / .85); border: 1px solid rgb(255 255 255 / .12); box-shadow: none; }
.nx-heart.is-on { color: rgb(var(--neon)); filter: drop-shadow(0 0 6px rgb(var(--neon))); }
.nx-micro { font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .38); }
.nx-digits { font-weight: 800; color: rgb(var(--neon)); text-shadow: 0 0 12px rgb(var(--neon) / .55); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.nx-card .nx-hold { height: 2.75rem; padding-left: .85rem; }
.nx-card .nx-knob { height: 2.15rem; width: 2.15rem; }
.nx-card .nx-hold-txt small { display: none; }
.nx-card .nx-hold { padding-left: .9rem; }
.nx-step { display: flex; width: 100%; justify-content: space-between; }
.nx-step button { display: inline-flex; height: 2.15rem; width: 2.15rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .1); background: linear-gradient(145deg, #27272d, #17171b); color: #fff; box-shadow: 0 3px 8px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .08); }
.nx-step button:last-child { border-color: rgb(var(--neon) / .6); background: repeating-linear-gradient(135deg, rgb(0 0 0 / .45) 0 2px, transparent 2px 5px), radial-gradient(circle at 35% 30%, rgb(var(--neon) / .75), rgb(var(--neon) / .25) 60%, #160b05); box-shadow: 0 0 12px rgb(var(--neon) / .45); }
.nx-lcd { min-width: 2rem; text-align: center; font-size: 1.05rem; font-weight: 800; color: #fff; text-shadow: 0 0 8px rgb(var(--neon)), 0 0 16px rgb(var(--neon) / .7); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .nx-led { animation: none; } }

/* Detalle y pedido en oscuro */
.tpl-neon #productDetailModal > div, .tpl-neon #cartDrawer > div { background: #111115; color: #f1f1f4; }
.tpl-neon #productDetailModal .bg-slate-50 { background: #0b0b0e; }
.tpl-neon #productDetailModal .bg-white, .tpl-neon #cartDrawer .bg-white { background: #16161b; }
.tpl-neon #productDetailModal :is(.text-slate-900, .text-slate-700), .tpl-neon #cartDrawer :is(.text-slate-900, .text-slate-800, .text-slate-700) { color: #fff; }
.tpl-neon #productDetailModal .text-slate-600, .tpl-neon #cartDrawer :is(.text-slate-500, .text-slate-600, .text-slate-400) { color: rgb(255 255 255 / .55); }
.tpl-neon #productDetailModal :is(.border-slate-100, .border-slate-200), .tpl-neon #cartDrawer :is(.border-slate-100, .border-slate-200) { border-color: rgb(255 255 255 / .08); }
.tpl-neon #detailPriceVal { color: rgb(var(--neon)); text-shadow: 0 0 14px rgb(var(--neon) / .55); }
.tpl-neon #productDetailModal .btn-primary { border: 1px solid rgb(var(--neon) / .6); background: linear-gradient(145deg, rgb(var(--neon) / .55), rgb(var(--neon) / .25)); color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; box-shadow: 0 0 22px rgb(var(--neon) / .3); }
.tpl-neon #detailCatBadge { background: rgb(var(--neon) / .15); color: rgb(var(--neon)); }
.tpl-neon #productDetailModal .icon-btn, .tpl-neon #cartDrawer .icon-btn { color: #fff; }

/* =============================================================================
   VITRINA GLASS
   ========================================================================== */
.tpl-vitrina #storeHeader { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .5); }
.tpl-vitrina footer { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .45); backdrop-filter: blur(18px); }
.tpl-vitrina #categorySection > div { background: transparent; backdrop-filter: none; }
.tpl-vitrina #heroContainer { position: relative; }
[class*="tpl-"] #storeContent { overflow-x: clip; }
.vt-cover { position: absolute; inset: -2rem -1rem auto; height: 34rem; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4); opacity: .55; transform: scale(1.1); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.vt-panel { position: relative; overflow: hidden; border-radius: 36px; border: 1px solid rgb(255 255 255 / .7); padding: 1.6rem; background: linear-gradient(145deg, rgb(255 255 255 / .62), rgb(255 255 255 / .28)); backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 30px 60px -30px rgb(15 23 42 / .35); }
.vt-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 0% 0%, rgb(255 255 255 / .55), transparent 50%); }
@media (min-width: 768px) { .vt-panel { padding: 2.4rem; } }
.vt-logo .tpl-logo { box-shadow: 0 0 0 4px rgb(255 255 255 / .75), 0 16px 34px -14px rgb(15 23 42 / .5); }
.vt-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgb(15 23 42 / .5); }
.vt-title { margin-top: .3rem; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: #0f172a; }
.vt-soft { color: rgb(15 23 42 / .62); }
.vt-chip { display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .8); background: rgb(255 255 255 / .45); padding: .45rem .95rem; font-size: .8rem; font-weight: 600; color: #1e293b; backdrop-filter: blur(10px); }
.vt-cta { display: inline-flex; align-items: center; border-radius: 9999px; background: #0f172a; padding: .55rem 1.1rem; font-size: .8rem; font-weight: 700; color: #fff; box-shadow: 0 10px 24px -10px rgb(15 23 42 / .6); transition: transform .15s; }
.vt-cta:hover { transform: translateY(-1px); }
.vt-seg-wrap { display: inline-flex; gap: .25rem; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .75); padding: .3rem; background: rgb(255 255 255 / .38); backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 10px 30px -18px rgb(15 23 42 / .4); }
.vt-seg { flex-shrink: 0; border-radius: 9999px; padding: .5rem 1.05rem; font-size: .84rem; font-weight: 600; color: rgb(15 23 42 / .62); transition: background .25s, color .25s, box-shadow .25s; }
.vt-seg:hover { color: #0f172a; }
.vt-seg.is-on { background: #fff; color: #0f172a; box-shadow: 0 4px 14px -4px rgb(15 23 42 / .3); }
.vt-grid { display: grid; gap: 1.75rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); justify-items: center; }
.tpl-vitrina #catalogTitle { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.tpl-v-calido .vt-cta { background: #6b3f28; }
.tpl-v-calido .vt-panel { background: linear-gradient(145deg, rgb(255 250 243 / .7), rgb(255 244 230 / .32)); }
.tpl-v-calido .vt-title { color: #3b2416; }
/* Oscuro */
.tpl-vitrina.tpl-dark { color: #fff; color-scheme: dark; }
.tpl-vitrina.tpl-dark #storeHeader { border-color: rgb(255 255 255 / .08); background: rgb(11 14 21 / .6); }
.tpl-vitrina.tpl-dark :is(#storeHeader, footer) .text-slate-900, .tpl-vitrina.tpl-dark #catalogTitle { color: #fff; }
.tpl-vitrina.tpl-dark #storeProductCount { color: rgb(255 255 255 / .55); }
.tpl-vitrina.tpl-dark #storeHeader .input { border-color: rgb(255 255 255 / .1); background: rgb(255 255 255 / .07); color: #fff; }
.tpl-vitrina.tpl-dark footer { border-color: rgb(255 255 255 / .08); background: rgb(11 14 21 / .6); color: rgb(255 255 255 / .65); }
.tpl-vitrina.tpl-dark footer :is(p, .text-slate-500, .text-slate-600, .text-slate-400) { color: rgb(255 255 255 / .55); }
.tpl-vitrina.tpl-dark footer a.btn { border-color: rgb(255 255 255 / .12); background: rgb(255 255 255 / .06); color: #fff; }
.tpl-vitrina.tpl-dark footer a.text-primary { color: #fff; text-decoration: underline; }
.tpl-vitrina.tpl-dark footer .border-slate-100 { border-color: rgb(255 255 255 / .08); }
.tpl-vitrina.tpl-dark .vt-panel { border-color: rgb(255 255 255 / .12); background: linear-gradient(145deg, rgb(255 255 255 / .12), rgb(255 255 255 / .03)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 30px 60px -30px #000; }
.tpl-vitrina.tpl-dark .vt-panel::before { background: radial-gradient(120% 80% at 0% 0%, rgb(255 255 255 / .1), transparent 50%); }
.tpl-vitrina.tpl-dark .vt-title { color: #fff; }
.tpl-vitrina.tpl-dark :is(.vt-kicker, .vt-soft) { color: rgb(255 255 255 / .6); }
.tpl-vitrina.tpl-dark .vt-chip { border-color: rgb(255 255 255 / .14); background: rgb(255 255 255 / .07); color: #fff; }
.tpl-vitrina.tpl-dark .vt-cta { background: #fff; color: #0f172a; }
.tpl-vitrina.tpl-dark .vt-seg-wrap { border-color: rgb(255 255 255 / .12); background: rgb(255 255 255 / .06); box-shadow: none; }
.tpl-vitrina.tpl-dark .vt-seg { color: rgb(255 255 255 / .6); }
.tpl-vitrina.tpl-dark .vt-seg.is-on { background: #fff; color: #0f172a; }
.tpl-vitrina.tpl-dark .vt-cover { opacity: .4; }
.tpl-vitrina.tpl-dark .tpl-empty { color: rgb(255 255 255 / .7); }

/* =============================================================================
   ARTESANAL (División Artisan)
   ========================================================================== */
.tpl-artesanal { --tpl-font: 'Fraunces', Georgia, serif; color: #1C1612; }
.tpl-artesanal :is(h1, h2, h3) { font-family: var(--tpl-font); }
.tpl-artesanal #storeHeader { border-color: rgb(28 22 18 / .06); background: rgb(250 248 245 / .9); }
.tpl-artesanal #searchDesktopWrap, .tpl-artesanal #searchMobileWrap { display: none !important; }
.tpl-artesanal #headerCartBtn { background: #C8996B; color: #fff; }
.tpl-artesanal #categorySection > div { background: rgb(250 248 245 / .94); }
.tpl-artesanal #categoryChips > artisan-category-pills { flex: 1; min-width: 0; }
.tpl-artesanal footer { border-color: rgb(28 22 18 / .06); background: #F3F1EE; }
.tpl-artesanal footer a.text-primary { color: #8a5a35; }
.tpl-artesanal #catalogTitle { color: #1C1612; font-size: 1.6rem; }
.tpl-artesanal #storeProductCount { color: #8B8178; }
.ar-hero { position: relative; min-height: 15rem; overflow: hidden; border-radius: 32px 32px 50% 50% / 32px 32px 16% 16%; background: linear-gradient(160deg, #6b4423 0%, #3a2414 100%); }
.ar-hero-img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.ar-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(28 22 18 / .25) 0%, rgb(58 36 20 / .55) 55%, rgb(42 26 14 / .9) 100%); }
.ar-logo { position: relative; z-index: 2; margin: -3.5rem auto 0; width: fit-content; }
.ar-logo .tpl-logo { box-shadow: 0 0 0 6px #faf8f5, 0 18px 36px -14px rgb(28 22 18 / .55); }
.ar-grid { padding-top: 4.5rem; }
.ar-heart { position: absolute; right: .1rem; top: .35rem; z-index: 5; height: 2.1rem; width: 2.1rem; background: #fff; color: #8B8178; }
.ar-qty { position: absolute; left: .2rem; top: .5rem; z-index: 5; display: inline-flex; height: 1.6rem; min-width: 1.6rem; align-items: center; justify-content: center; border-radius: 9999px; background: #C8996B; padding: 0 .4rem; font-size: .75rem; font-weight: 800; color: #fff; box-shadow: 0 0 0 3px #faf8f5; }
.ar-dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; padding: .75rem 1rem max(.9rem, env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, #faf8f5 40%); }
.ar-detail { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgb(28 22 18 / .45); backdrop-filter: blur(4px); }
@media (min-width: 768px) { .ar-detail { align-items: center; padding: 1.5rem; } }
.ar-sheet { width: 100%; max-width: 30rem; max-height: 94vh; overflow-y: auto; border-radius: 32px 32px 0 0; background: #FAF8F5; animation: sheetUp .3s cubic-bezier(.2,.8,.2,1) both; }
@media (min-width: 768px) { .ar-sheet { border-radius: 32px; } }
.ar-sheet artisan-curved-hero { display: block; }
.ar-thumb { height: 3.5rem; width: 3.5rem; flex-shrink: 0; overflow: hidden; border-radius: 9999px; border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.ar-thumb.is-on { border-color: #C8996B; opacity: 1; }

/* =============================================================================
   BOUTIQUE
   ========================================================================== */
.tpl-boutique { --tpl-font: 'Bodoni Moda', 'Playfair Display', Georgia, serif; font-family: 'Jost', Inter, system-ui, sans-serif; color: #1d1a16; }
.tpl-boutique :is(h1, h2, h3) { font-family: var(--tpl-font); font-weight: 500; }
#tplTopbar .bq-ticker { background: #1d1a16; color: #f4efe7; padding: .55rem 0; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.tpl-boutique #storeHeader { border-color: rgb(29 26 22 / .1); background: rgb(251 249 246 / .92); }
.tpl-boutique #headerCartBtn { border-radius: 0; background: #1d1a16; color: #fff; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.tpl-boutique #storeHeader .input { border-radius: 0; border-color: transparent; border-bottom-color: rgb(29 26 22 / .25); background: transparent; }
.tpl-boutique #heroContainer { max-width: none; padding: 0; }
.bq-hero { position: relative; min-height: 78vh; overflow: hidden; background: #2a241d; }
@media (min-width: 768px) { .bq-hero { min-height: 82vh; } }
.bq-hero.is-plain { min-height: 50vh; background: radial-gradient(70% 90% at 50% 0%, rgb(var(--primary) / .45), transparent 70%), repeating-linear-gradient(135deg, rgb(255 255 255 / .04) 0 1px, transparent 1px 16px), #231e18; }
.bq-hero-img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; animation: bq-zoom 18s ease-out both; }
@keyframes bq-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bq-hero-img { animation: none; } }
.bq-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 16 12 / .15) 0%, rgb(20 16 12 / .2) 40%, rgb(20 16 12 / .78) 100%); }
.bq-logo .tpl-logo { box-shadow: 0 0 0 1px rgb(255 255 255 / .6), 0 0 0 7px rgb(255 255 255 / .12); }
.bq-eyebrow { font-family: 'Jost', sans-serif; font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.bq-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.8rem; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.bq-btn-light { background: #fff; color: #1d1a16; }
.bq-btn-light:hover { background: #f1ebe2; }
.bq-btn-line { border: 1px solid rgb(255 255 255 / .7); color: #fff; }
.bq-btn-line:hover { background: rgb(255 255 255 / .12); }
.bq-btn-dark { background: #1d1a16; color: #fff; }
.bq-btn-dark:hover { background: rgb(var(--primary)); color: rgb(var(--on-primary)); }
.bq-link { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; }
.bq-select { margin: 4rem auto 0; display: grid; max-width: 72rem; gap: 2rem; padding: 0 1rem; align-items: center; }
@media (min-width: 640px) { .bq-select { padding: 0 1.5rem; } }
@media (min-width: 768px) { .bq-select { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.bq-select-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #ece6dd; }
.bq-select-img img { transition: transform 1.2s ease; }
.bq-select-img:hover img { transform: scale(1.04); }
.tpl-boutique #categorySection { margin-top: 3.5rem; }
.tpl-boutique #categorySection > div { background: rgb(251 249 246 / .94); border-block: 1px solid rgb(29 26 22 / .08); }
.tpl-boutique #categoryChips { justify-content: safe center; gap: .25rem; }
.bq-tab { position: relative; flex-shrink: 0; margin: 0 .8rem; padding: .7rem 0; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #8a7d6c; transition: color .2s; }
.bq-tab sup { margin-right: .35rem; font-size: .55rem; letter-spacing: .05em; }
.bq-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s; }
.bq-tab:hover, .bq-tab.is-on { color: #1d1a16; }
.bq-tab.is-on::after { transform: scaleX(1); }
.tpl-boutique #catalogGridSection > div:first-child { flex-direction: column; align-items: center; gap: .35rem; margin-bottom: 2rem; text-align: center; }
.tpl-boutique #catalogTitle { font-size: 2.2rem; }
.tpl-boutique #storeProductCount { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #8a7d6c; }
.bq-media { position: relative; display: block; aspect-ratio: 3 / 4; width: 100%; overflow: hidden; background: #ece6dd; }
.bq-img-a, .bq-img-b { transition: opacity .6s ease, transform 1.2s ease; }
.bq-img-b { position: absolute; inset: 0; opacity: 0; }
.bq-card:hover .bq-media.has-two .bq-img-b { opacity: 1; }
.bq-card:hover .bq-img-a { transform: scale(1.04); }
.bq-tag { position: absolute; left: .7rem; top: .7rem; background: rgb(251 249 246 / .92); padding: .25rem .6rem; font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.bq-heart { position: absolute; right: .6rem; top: .6rem; height: 2.1rem; width: 2.1rem; background: rgb(251 249 246 / .9); color: #1d1a16; box-shadow: none; }
.bq-quick { position: absolute; inset-inline: .6rem; bottom: .6rem; min-height: 2.6rem; background: rgb(251 249 246 / .94); font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #1d1a16; backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s, background .2s, color .2s; }
.bq-quick:hover { background: #1d1a16; color: #fff; }
.bq-card:hover .bq-quick, .bq-quick:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .bq-quick { opacity: 1; transform: none; font-size: .58rem; letter-spacing: .12em; } }
.tpl-boutique footer { border-color: rgb(29 26 22 / .1); background: #1d1a16; color: rgb(255 255 255 / .7); }
.tpl-boutique footer .text-slate-900 { color: #fff; }
.tpl-boutique footer :is(p, .text-slate-500, .text-slate-600, .text-slate-400) { color: rgb(255 255 255 / .55); }
.tpl-boutique footer .border-slate-100 { border-color: rgb(255 255 255 / .1); }
.tpl-boutique footer a.btn { border-radius: 0; border-color: rgb(255 255 255 / .25); background: transparent; color: #fff; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.tpl-boutique footer a.text-primary { color: #f4efe7; text-decoration: underline; }

/* =============================================================================
   MERCADO
   ========================================================================== */
.tpl-mercado { --tpl-font: 'Nunito', system-ui, sans-serif; font-family: var(--tpl-font); background-color: #f4f6f8; }
.tpl-mercado :is(h1, h2, h3) { font-family: var(--tpl-font); }
.tpl-mercado #storeHeader { border: 0; background: rgb(var(--primary)); color: rgb(var(--on-primary)); }
.tpl-mercado #storeHeader .text-slate-900 { color: rgb(var(--on-primary)); }
.tpl-mercado #storeHeader .input { border: 0; background: #fff; font-weight: 700; }
.tpl-mercado #headerCartBtn { background: #fff; color: rgb(var(--primary)); font-weight: 900; }
.tpl-mercado #cartBadge { background: rgb(var(--accent)); color: rgb(var(--on-accent)); }
.tpl-mercado #storeHeader .btn-soft { background: rgb(255 255 255 / .18); color: rgb(var(--on-primary)); }
.mk-hero { overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / .05), 0 18px 40px -24px rgb(15 23 42 / .35); }
.mk-band { position: relative; height: 7.5rem; overflow: hidden; background: radial-gradient(circle at 85% 20%, rgb(255 255 255 / .25), transparent 40%), linear-gradient(120deg, rgb(var(--primary)), rgb(var(--accent))); }
@media (min-width: 640px) { .mk-band { height: 10rem; } }
.mk-logo { position: relative; z-index: 2; margin-top: -3.25rem; width: fit-content; flex-shrink: 0; overflow: hidden; background: #fff; padding: .35rem; box-shadow: 0 10px 24px -12px rgb(15 23 42 / .5); }
@media (min-width: 640px) { .mk-logo { margin-top: -4rem; } }
.mk-info { border-radius: 9999px; background: #f1f5f9; padding: .4rem .75rem; color: #334155; }
.mk-info-p { background: rgb(var(--primary) / .1); color: rgb(var(--primary)); }
.mk-wa { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 18px; background: #16a34a; padding: .8rem 1.2rem; font-size: .85rem; font-weight: 900; color: #fff; box-shadow: 0 10px 20px -10px rgb(22 163 74 / .7); }
.mk-rail { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .1rem .75rem; }
.mk-tile { width: 9.5rem; flex-shrink: 0; scroll-snap-align: start; border-radius: 22px; background: #fff; padding: .5rem .5rem .6rem; box-shadow: 0 1px 2px rgb(15 23 42 / .05), 0 10px 24px -18px rgb(15 23 42 / .4); }
@media (min-width: 768px) { .mk-tile { width: 11.5rem; } }
.mk-plus { display: inline-flex; height: 2rem; width: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 12px; background: rgb(var(--primary)); color: rgb(var(--on-primary)); }
.tpl-mercado #categorySection > div { background: rgb(244 246 248 / .94); }
.mk-pill { display: inline-flex; flex-shrink: 0; align-items: center; border-radius: 9999px; background: #fff; padding: .6rem 1.05rem; font-size: .86rem; font-weight: 800; color: #334155; box-shadow: 0 1px 2px rgb(15 23 42 / .06), 0 6px 16px -10px rgb(15 23 42 / .35); transition: background .15s, color .15s; }
.mk-pill.is-on { background: rgb(var(--primary)); color: rgb(var(--on-primary)); }
.tpl-mercado #catalogTitle { font-size: 1.3rem; font-weight: 900; }
.mk-row { display: flex; align-items: center; gap: .85rem; border-radius: 26px; border: 2px solid transparent; background: #fff; padding: .6rem .8rem .6rem .6rem; box-shadow: 0 1px 2px rgb(15 23 42 / .05), 0 12px 28px -22px rgb(15 23 42 / .45); transition: border-color .2s; }
.mk-row.is-on { border-color: rgb(var(--primary) / .4); }
.mk-heart { height: 2rem; width: 2rem; background: #f1f5f9; box-shadow: none; }
.mk-add { display: inline-flex; align-items: center; gap: .3rem; border-radius: 14px; background: rgb(var(--primary)); padding: .55rem .85rem; font-size: .8rem; font-weight: 900; color: rgb(var(--on-primary)); box-shadow: 0 8px 18px -10px rgb(var(--primary) / .9); }
.mk-step { display: inline-flex; align-items: center; gap: .1rem; border-radius: 14px; background: rgb(var(--primary)); color: rgb(var(--on-primary)); padding: .2rem; box-shadow: 0 8px 18px -10px rgb(var(--primary) / .9); }
.mk-step button { display: inline-flex; height: 2rem; width: 2rem; align-items: center; justify-content: center; border-radius: 11px; transition: background .15s; }
.mk-step button:hover { background: rgb(255 255 255 / .2); }
.mk-step span { min-width: 1.6rem; text-align: center; font-weight: 900; font-variant-numeric: tabular-nums; }

/* =============================================================================
   EDITORIAL
   ========================================================================== */
.tpl-editorial { --tpl-font: 'Space Grotesk', system-ui, sans-serif; --ink: 17 17 17; font-family: var(--tpl-font); color: rgb(var(--ink)); }
.tpl-editorial :is(h1, h2, h3) { font-family: var(--tpl-font); }
.ed-mono { font-family: 'Space Mono', ui-monospace, monospace; }
.tpl-editorial #storeHeader { border-bottom: 2px solid rgb(var(--ink)); background: rgb(244 241 234 / .94); }
.tpl-editorial #storeHeader .input { border: 2px solid rgb(var(--ink)); border-radius: 0; background: #fff; }
.tpl-editorial #headerCartBtn { border-radius: 0; border: 2px solid rgb(var(--ink)); background: rgb(var(--ink)); color: #fff; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.ed-meta { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgb(var(--ink)); padding-bottom: .5rem; font-family: 'Space Mono', monospace; font-size: .7rem; text-transform: uppercase; }
.ed-title { min-width: 0; max-width: 100%; font-size: clamp(2.4rem, 11.5vw, 8.5rem); font-weight: 700; line-height: .88; letter-spacing: -.05em; text-transform: uppercase; overflow-wrap: break-word; }
.ed-rule { border-top: 2px solid rgb(var(--ink)); }
.ed-cta { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ed-cta:hover { color: rgb(var(--primary)); }
.ed-banner { position: relative; aspect-ratio: 16 / 9; max-height: 34rem; width: 100%; border: 2px solid rgb(var(--ink)); }
@media (min-width: 768px) { .ed-banner { aspect-ratio: 21 / 9; } }
.ed-banner figcaption { position: absolute; left: 0; bottom: 0; background: rgb(var(--ink)); padding: .3rem .6rem; font-family: 'Space Mono', monospace; font-size: .65rem; text-transform: uppercase; color: #fff; }
.ed-ticker { margin: 2rem -1rem 0; border-block: 2px solid rgb(var(--ink)); background: rgb(var(--primary)); color: rgb(var(--on-primary)); padding: .7rem 0; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
@media (min-width: 640px) { .ed-ticker { margin-inline: -1.5rem; } }
.tpl-editorial #categorySection > div { background: rgb(244 241 234 / .95); }
.ed-tab { flex-shrink: 0; border: 2px solid rgb(var(--ink)); background: #fff; padding: .5rem .85rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; transition: background .15s, color .15s; }
.ed-tab:hover { background: rgb(var(--ink) / .06); }
.ed-tab.is-on { background: rgb(var(--ink)); color: #fff; }
.tpl-editorial #catalogGridSection > div:first-child { border-bottom: 2px solid rgb(var(--ink)); padding-bottom: .5rem; }
.tpl-editorial #catalogTitle { font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; }
.tpl-editorial #storeProductCount { font-family: 'Space Mono', monospace; text-transform: uppercase; color: rgb(var(--ink)); font-size: .72rem; }
.ed-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ed-grid { grid-template-columns: repeat(3, 1fr); } .ed-card.is-big { grid-column: span 2; grid-row: span 2; } .ed-card.is-big .ed-media { aspect-ratio: auto; height: 100%; min-height: 26rem; } .ed-card.is-big > div:first-child { flex: 1; display: flex; } }
.ed-card:not(.is-big) { align-self: start; }
.ed-card { display: flex; flex-direction: column; border: 2px solid rgb(var(--ink)); background: #fff; transition: box-shadow .2s, transform .2s; }
.ed-card:hover { box-shadow: 6px 6px 0 rgb(var(--ink)); transform: translate(-2px, -2px); }
.ed-media { display: block; aspect-ratio: 1; width: 100%; overflow: hidden; border-bottom: 2px solid rgb(var(--ink)); background: #e9e5dc; }
.ed-num { position: absolute; left: 0; top: 0; background: #fff; border-right: 2px solid rgb(var(--ink)); border-bottom: 2px solid rgb(var(--ink)); padding: .25rem .55rem; font-family: 'Space Mono', monospace; font-size: .75rem; font-weight: 700; }
.ed-sale { position: absolute; left: 0; bottom: 2px; background: rgb(var(--primary)); padding: .25rem .6rem; font-size: .8rem; font-weight: 700; color: rgb(var(--on-primary)); }
.ed-heart { position: absolute; right: 0; top: 0; height: 2.6rem; width: 2.6rem; border-radius: 0; border-left: 2px solid rgb(var(--ink)); border-bottom: 2px solid rgb(var(--ink)); background: #fff; box-shadow: none; backdrop-filter: none; }
.ed-add { display: flex; justify-content: space-between; gap: .5rem; border-top: 2px solid rgb(var(--ink)); background: rgb(var(--ink)); color: #fff; padding: .85rem 1rem; text-align: left; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; transition: background .15s, color .15s; }
.ed-add:hover { background: rgb(var(--primary)); color: rgb(var(--on-primary)); }
.tpl-editorial footer { border-top: 2px solid rgb(var(--ink)); background: #f4f1ea; }
.tpl-editorial footer a.btn { border-radius: 0; border: 2px solid rgb(var(--ink)); }
@media (prefers-reduced-motion: reduce) { .ed-card:hover { transform: none; } }

/* Neón: botones flotantes, pie del pedido y campos en oscuro */
.tpl-neon :is(#productDetailModal, #cartDrawer) .bg-white\/90 { background: rgb(13 13 17 / .82); color: #fff; border: 1px solid rgb(255 255 255 / .14); }
.tpl-neon #cartDrawer :is(.bg-slate-50, .bg-slate-50\/80) { background: #0b0b0e; }
.tpl-neon #cartDrawer .input { border-color: rgb(255 255 255 / .1); background: #16161b; color: #fff; }
.tpl-neon #cartDrawer .input::placeholder { color: rgb(255 255 255 / .35); }
.tpl-neon #cartDrawer .text-slate-300 { color: rgb(255 255 255 / .35); }
.tpl-neon #cartDrawer .hover\:bg-slate-200\/70:hover { background: rgb(255 255 255 / .08); }
.tpl-neon #productDetailModal .bg-slate-50 { border-color: rgb(255 255 255 / .1); }
.tpl-neon #productDetailModal .inline-flex.rounded-full { background: #0b0b0e; }
.tpl-neon #productDetailModal .hover\:bg-slate-200\/70:hover { background: rgb(255 255 255 / .08); }

/* Detalle y pedido con el estilo de cada plantilla */
.tpl-boutique :is(#productDetailModal, #cartDrawer) :is(.btn-primary, .btn-whatsapp) { border-radius: 0; background: #1d1a16; color: #fff; font-family: 'Jost', sans-serif; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; }
.tpl-boutique #productDetailModal > div, .tpl-editorial #productDetailModal > div { border-radius: 0; }
.tpl-editorial :is(#productDetailModal, #cartDrawer) :is(.btn-primary, .btn-whatsapp) { border-radius: 0; background: rgb(17 17 17); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.tpl-editorial #detailCatBadge, .tpl-boutique #detailCatBadge { border-radius: 0; background: transparent; padding: 0; color: #6b6257; letter-spacing: .16em; }
.tpl-artesanal :is(#cartDrawer) .btn-whatsapp { background: #C8996B; }
.tpl-mercado #productDetailModal .btn-primary { border-radius: 16px; font-weight: 900; }

/* Barra flotante del pedido según la plantilla */
.tpl-boutique #floatingCartBar button { border-radius: 0; background: #1d1a16; color: #fff; font-family: 'Jost', sans-serif; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.tpl-editorial #floatingCartBar button { border-radius: 0; border: 2px solid rgb(17 17 17); background: rgb(17 17 17); text-transform: uppercase; box-shadow: 6px 6px 0 rgb(var(--primary)); }
.tpl-neon #floatingCartBar button { border: 1px solid rgb(var(--neon) / .5); background: linear-gradient(180deg, #16161b, #0b0b0e); color: #fff; box-shadow: 0 0 24px rgb(var(--neon) / .25); }
.tpl-neon #floatingCartTotal { color: rgb(var(--neon)); text-shadow: 0 0 10px rgb(var(--neon) / .6); }
.tpl-vitrina #floatingCartBar button { border: 1px solid rgb(255 255 255 / .6); background: rgb(15 23 42 / .82); backdrop-filter: blur(16px); }

/* Neón: opciones de entrega y pago del pedido */
.tpl-neon #cartDrawer .bg-white\/70 { background: #111115; }
.tpl-neon #cartDrawer .border-primary { border-color: rgb(var(--neon)); box-shadow: 0 0 14px rgb(var(--neon) / .25); }
.tpl-neon #cartDrawer .text-primary { color: rgb(var(--neon)); }
.tpl-neon #cartDrawer .bg-amber-50 { background: rgb(245 158 11 / .14); color: rgb(253 230 138); }
.tpl-neon #cartSendBar { background: #111115; border-color: rgb(255 255 255 / .08); }
.tpl-neon #cartDrawer .text-emerald-700 { color: rgb(110 231 183); }
