/* =====================================================================
   TRACKMAR 07 "Noche + Tienda" · marco.css
   Lo que une los dos mundos (se carga último):
   tokens, reset global, header único, barra de tienda, cine a sangre, caras,
   reproductor con capítulos, ficha partida y retoques de la tienda clara.
   ===================================================================== */

:root {
  --y: #fee505;
  --wa: #25d366;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --head: 72px;
  --shopbar: 48px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 520px) { :root { --head: 64px; } }

/* el mundo oscuro */
.th-noche {
  --bg: #0b0b0c; --bg-1: #101011; --bg-2: #151514; --bg-3: #1c1b19;
  --line: rgba(255, 250, 235, .08); --line-2: rgba(255, 250, 235, .14);
  --text: #f2f0eb; --muted: #a29e95; --dim: #8a867d;
  --y-08: rgba(254, 229, 5, .08); --y-16: rgba(254, 229, 5, .16); --y-35: rgba(254, 229, 5, .35);
  --r: 4px;
  color: var(--text); font: 400 17px/1.6 var(--f-body);
}
main.th-noche { background: var(--bg); }

/* el mundo claro: mismas familias tipográficas que Noche */
.th-tienda {
  --y-d: #e8d000; --ink: #0e0e0e; --ink-2: #1b1b1b; --ink-3: #2a2a2a;
  --bg: #f5f5f3; --bg-2: #ebebea; --line: #e3e3e0; --line-2: #cfcfcc;
  --tx: #141414; --muted: #4b4f58; --muted-2: #6a6e76;
  --wa-d: #1da851; --ok: #157f3b;
  --fd: var(--f-display); --fb: var(--f-body); --fm: var(--f-mono);
  --r: 8px; --r-lg: 14px;
  --sh: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 20px -8px rgba(0, 0, 0, .14);
  --sh-lg: 0 20px 60px -20px rgba(0, 0, 0, .35);
  color: var(--tx); font: 400 16px/1.5 var(--f-body); font-variant-numeric: tabular-nums;
}
main.th-tienda { background: #fff; }

/* ---------------------------------------------------------- reset global */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 24px); }
html.no-scroll { overflow: hidden; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
.pg-dark { background: #0b0b0c; }
.pg-light { background: #fff; }
.pg-light, html:has(.pg-light) { scroll-padding-top: calc(var(--head) + var(--shopbar) + 20px); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* grano de película, sólo en las páginas oscuras enteras */
.pg-dark:not(.pg-ficha)::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- header único */
.th-noche .hdr .wrap { gap: 18px; }
.th-noche .hdr.is-fixed { background: #0b0b0c; backdrop-filter: none; -webkit-backdrop-filter: none; }
.th-noche .hdr-logo { flex: none; }
.th-noche .nav { min-width: 0; }
.th-noche .nav a { padding: 10px 11px; white-space: nowrap; }
.th-noche .nav a.nav-shop { color: #000; background: var(--y); font-weight: 600; border-radius: 40px; padding: 8px 16px; margin: 2px 6px 2px 0; }
.th-noche .nav a.nav-shop::after { display: none; }
.th-noche .nav a.nav-shop:hover { box-shadow: 0 0 26px -4px var(--y-35); color: #000; }
.th-noche .hdr-bag {
  flex: none; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px;
  border: 1px solid var(--line-2); border-radius: 40px; font: 500 14px/1 var(--f-body); color: var(--text); transition: border-color .2s, color .2s;
}
.th-noche .hdr-bag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.th-noche .hdr-bag:hover { border-color: var(--y); color: var(--y); }
.bag-n { min-width: 22px; height: 22px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--text); font: 500 12px/1 var(--f-mono); }
.th-noche .hdr-bag.has-items { border-color: var(--y-35); }
.th-noche .hdr-bag.has-items .bag-n { background: var(--y); color: #000; }
.th-noche .hdr-bag.bump, .shopbar-q.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.th-noche .mnav a.mnav-l.mnav-shop { color: var(--y); }
.th-noche .mnav a.mnav-l.mnav-shop span { color: var(--y); }
@media (max-width: 1180px) { .hdr-bag-l { display: none; } .th-noche .nav a { padding: 10px 9px; font-size: 14px; } }
@media (max-width: 1020px) {
  .hdr-bag { margin-left: auto; }
  .th-noche .burger { margin-left: 0; }
  .hdr-bag-l { display: inline; }
}
@media (max-width: 420px) { .hdr-bag-l { display: none; } }

/* ---------------------------------------------------------- barra de la tienda */
.pg-light main { position: relative; }
.shopbar {
  position: sticky; top: var(--head); z-index: 70; margin-top: var(--head); height: var(--shopbar);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid #e3e3e0; color: #141414; font: 400 14px/1 var(--f-body);
}
.shopbar-in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 20px; }
.shopbar-t { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1 var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -.01em; text-decoration: none; color: #000; }
.shopbar-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 1.5px #000; }
.shopbar-nav { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.shopbar-nav::-webkit-scrollbar { display: none; }
.shopbar-nav a { flex: none; padding: 8px 10px; color: #4b4f58; text-decoration: none; border-radius: 20px; transition: color .15s, background .15s; }
.shopbar-nav a:hover { color: #000; }
.shopbar-nav a[aria-current="page"] { color: #000; background: #efefec; font-weight: 600; }
.shopbar-q { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; border: 0; border-radius: 20px; background: #0e0e0e; color: #fff; font: 600 13.5px/1 var(--f-body); cursor: pointer; }
.shopbar-q b { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--y); color: #000; font: 500 12px/1 var(--f-mono); }
@media (max-width: 760px) {
  .shopbar-in { gap: 10px; padding: 0 0 0 var(--gut); }
  .shopbar-t { display: none; }
  .shopbar-nav { margin-left: -10px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); padding-right: 16px; }
  .shopbar-q { margin-right: var(--gut); }
}

/* ---------------------------------------------------------- WhatsApp flotante */
.th-noche .wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s, bottom .2s;
}
.th-noche .wa-float.on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), bottom .2s; }
.th-noche .wa-float.on.dodge { opacity: 0; visibility: hidden; }
.th-noche .wa-float svg { width: 30px; height: 30px; }
.th-noche .wa-float .wa-tip { position: absolute; right: 70px; white-space: nowrap; background: #fff; color: #000; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 3px; opacity: 0; transform: translateX(6px); transition: .25s var(--ease); pointer-events: none; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4); }
.th-noche .wa-float:hover .wa-tip { opacity: 1; transform: none; }
.th-noche .wa-float:hover { transform: scale(1.06); }
body.has-cmp .wa-float { bottom: 92px; }
body.has-cmp main { padding-bottom: 84px; }
@media (max-width: 999px) { body.has-sticky .wa-float { display: none; } }
@media (max-width: 520px) { .th-noche .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; } .wa-float svg { width: 26px; height: 26px; } .th-noche .ftr { padding-bottom: 96px; } }

/* ---------------------------------------------------------- cine a sangre */
.cine { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #000; isolation: isolate; }
.cine-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cine-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, var(--bg) 0%, rgba(11, 11, 12, .2) 22%, rgba(11, 11, 12, .1) 46%, rgba(11, 11, 12, .82) 80%, var(--bg) 100%),
  linear-gradient(90deg, rgba(11, 11, 12, .72) 0%, rgba(11, 11, 12, .1) 62%); }
.cine-in { padding-top: calc(var(--head) + 64px); }
.cine-in .lead { color: #e2dfd8; margin-top: 18px; }
.th-noche h2.cine-t { font-size: clamp(3.4rem, 11.4vw, 11rem); line-height: .9; letter-spacing: -.04em; margin-top: 22px; }
.cine-t em { font-style: normal; color: var(--y); text-shadow: 0 0 80px rgba(254, 229, 5, .35); }
.cine-play { display: inline-flex; align-items: center; gap: 18px; margin-top: 32px; text-align: left; }
.cine-ring { flex: none; width: clamp(68px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: #000; box-shadow: 0 0 0 10px rgba(254, 229, 5, .16), 0 0 70px rgba(254, 229, 5, .4); transition: transform .35s var(--ease), box-shadow .35s; }
.cine-ring svg { width: 34%; height: 34%; margin-left: 6%; }
.cine-play:hover .cine-ring { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(254, 229, 5, .14), 0 0 100px rgba(254, 229, 5, .5); }
.cine-pl b { display: block; font: 700 clamp(1.15rem, 1.8vw, 1.5rem)/1.15 var(--f-display); font-stretch: 110%; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.cine-pl small { display: block; margin-top: 6px; font: 500 12.5px/1.2 var(--f-mono); color: #c9c5bc; }
.cine-foot { display: flex; align-items: flex-end; gap: 24px; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 40px); }
.cine-caps { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(255, 250, 235, .22); }
.cine-caps button { width: 100%; display: block; padding: 14px 14px 6px 0; text-align: left; position: relative; }
.cine-caps button::before { content: ""; position: absolute; left: 0; right: 14px; top: -1px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); box-shadow: 0 0 10px var(--y); }
.cine-caps button:hover::before, .cine-caps button:focus-visible::before { transform: scaleX(1); }
.cc-t { display: block; font: 500 12px/1 var(--f-mono); color: var(--y); margin-bottom: 8px; }
.cc-n { display: block; font-size: 14.5px; line-height: 1.25; color: #f2f0eb; }
.th-noche .cine-loop-tg { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 40px; font: 500 12px/1 var(--f-mono); color: #d7d4cd; background: rgba(11, 11, 12, .4); white-space: nowrap; }
.th-noche .cine-loop-tg svg { width: 12px; height: 12px; }
.th-noche .cine-loop-tg:hover { border-color: var(--y); color: var(--y); }
@media (max-width: 860px) {
  .cine { min-height: 0; }
  .cine-in { padding-top: 34vw; }
  .cine-shade { background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 11, 12, .62) 24%, rgba(11, 11, 12, .66) 70%, var(--bg) 100%); }
  .cine-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .cine-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; column-gap: 14px; }
  .cine-caps button { padding: 11px 0; border-top: 1px solid rgba(255, 250, 235, .22); min-height: 44px; }
  .cine-caps button::before { display: none; }
  .cine-loop-tg { align-self: flex-start; }
}

/* ---------------------------------------------------------- las caras */
.caras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.th-noche .cara { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); text-align: left; isolation: isolate; transition: border-color .3s; }
.th-noche .cara img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; filter: saturate(.85); transition: transform 1.2s var(--ease), filter .5s; }
.th-noche .cara::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 48%, rgba(11, 11, 12, .92) 92%); }
.th-noche .cara:hover { border-color: var(--y-35); }
.th-noche .cara:hover img { transform: scale(1.04); filter: none; }
.cara-tm { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px 6px 7px; border-radius: 40px; background: var(--y); color: #000; font: 500 12px/1 var(--f-mono); }
.cara-tm svg { width: 11px; height: 11px; }
.cara-b { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.cara-b b { display: block; font: 700 clamp(1.05rem, 1.7vw, 1.45rem)/1.1 var(--f-display); font-stretch: 110%; font-variation-settings: "wdth" 110; letter-spacing: -.015em; }
.cara-b small { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.3; color: #cfcbc2; }
@media (max-width: 860px) { .caras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cara-b { left: 12px; right: 12px; bottom: 12px; } }

/* ---------------------------------------------------------- reproductor con capítulos */
.vm { position: fixed; inset: 0; z-index: 130; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s; }
.vm.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.vm-bg { position: absolute; inset: 0; background: rgba(5, 5, 6, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vm-panel { position: relative; max-width: 1400px; height: 100%; margin: 0 auto; padding: clamp(14px, 2.4vw, 32px) var(--gut); display: flex; flex-direction: column; gap: 16px; pointer-events: none; }
.vm-panel > * { pointer-events: auto; }
.vm-hd { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vm-hd h2 { font-size: clamp(1.3rem, 2.4vw, 2rem); margin-top: 8px; }
.th-noche .vm-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.th-noche .vm-x svg { width: 18px; height: 18px; }
.th-noche .vm-x:hover { border-color: var(--y); color: var(--y); }
.vm-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.vm-player { background: #000; border-radius: var(--r); overflow: hidden; }
.vm-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; max-height: calc(100vh - 130px); }
.vm-idx { max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.vm-idx h3 { font: 500 11.5px var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.vm-idx ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vm-idx button { width: 100%; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 10px 6px 6px; text-align: left; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.vm-idx button:hover { border-color: var(--y-35); }
.vm-idx button[aria-current="true"] { border-color: var(--y); background: var(--y-08); }
.vm-idx img { width: 76px; height: 48px; object-fit: cover; border-radius: 2px; }
.vm-ct b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.vm-ct small { display: block; font-size: 12.5px; line-height: 1.25; color: var(--muted); margin-top: 2px; }
.vm-tm { font: 500 12px var(--f-mono); color: var(--y); }
.vm-note { margin-top: 10px; font-size: 13px; color: var(--dim); }
@media (max-width: 900px) {
  .vm-panel { overflow-y: auto; height: 100%; }
  .vm-body { grid-template-columns: minmax(0, 1fr); flex: none; }
  .vm-idx { max-height: none; overflow: visible; }
}

/* póster clickeable (Nosotros) */
.th-noche button.video { display: block; width: 100%; padding: 0; }

/* ---------------------------------------------------------- inicio: ajustes */
.th-noche .hero-model a { white-space: nowrap; }
.que { row-gap: 28px; }
.th-noche .sec-head .link-arrow { justify-self: start; white-space: nowrap; }
@media (min-width: 761px) { .th-noche .sec-head .link-arrow { justify-self: end; } }
.th-noche .svc .link-arrow { position: relative; }

/* ---------------------------------------------------------- CTA: de la noche a la tienda clara */
.shop-cta { position: relative; background: #fff; color: #141414; padding: clamp(64px, 9vw, 130px) 0; border-radius: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0 0; margin-top: clamp(32px, 5vw, 72px); }
.shop-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.shop-cta-k { display: inline-flex; align-items: center; gap: 9px; font: 500 13px/1 var(--f-mono); color: #4b4f58; }
.th-noche .shop-cta h2 { color: #000; margin: 18px 0 18px; font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.shop-cta p { color: #4b4f58; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.5; max-width: 44ch; }
.shop-cta p b { color: #000; font-weight: 600; }
.shop-cta-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.th-noche .shop-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 40px; background: #0e0e0e; color: #fff; font: 600 16px/1 var(--f-body); white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.th-noche .shop-btn svg { width: 18px; height: 18px; }
.th-noche .shop-btn:hover { background: #2a2a2a; transform: translateY(-1px); }
.th-noche .shop-link { font-weight: 600; font-size: 15px; color: #000; border-bottom: 2px solid var(--y); padding-bottom: 2px; }
.th-noche .shop-link:hover { border-color: #000; }
.shop-peek { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.th-noche .peek { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 190px; padding: 16px; background: #f5f5f3; border-radius: 16px; color: #141414; overflow: hidden; transition: background .2s; }
.th-noche .peek:first-child { grid-row: span 2; }
.th-noche .peek:hover { background: #ededea; }
.th-noche .peek img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.th-noche .peek span b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.th-noche .peek span small { display: block; font-size: 12.5px; color: #4b4f58; margin-top: 2px; line-height: 1.3; }
@media (max-width: 900px) {
  .shop-cta-in { grid-template-columns: minmax(0, 1fr); }
  .shop-peek { grid-template-rows: auto; }
  .peek:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
  .peek { min-height: 170px; }
}
@media (max-width: 520px) { .th-noche .shop-btn { width: 100%; justify-content: center; } .peek { padding: 12px; } }

/* ---------------------------------------------------------- ficha: arriba Noche, abajo tienda */
.fx-top { position: relative; background: var(--bg); padding: calc(var(--head) + 26px) 0 clamp(24px, 3vw, 44px); overflow: hidden; isolation: isolate; }
.fx-top::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 32% 42%, rgba(254, 229, 5, .08), transparent 70%); }
.fx-word { position: absolute; z-index: -1; left: 50%; top: 96px; transform: translateX(-50%); font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(5rem, 22vw, 21rem); letter-spacing: -.05em; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 250, 235, .06); user-select: none; pointer-events: none; }
.fx-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; margin-top: 20px; }
.fx-gal, .fx-side { min-width: 0; }
.th-noche .gal-main.fx-stage { background: radial-gradient(70% 60% at 50% 60%, #1e1d18 0%, #0c0c0c 80%); border: 0; }
.th-noche .gal-main.fx-stage.is-cut { background: transparent; overflow: visible; }
.th-noche .gal-main.fx-stage.is-plate { background: radial-gradient(80% 70% at 50% 45%, #f4f2ec 0%, #cdc9c0 100%); }
.fx-side { display: grid; gap: 18px; }
.th-noche .fx-side h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.02; overflow-wrap: anywhere; }
.fx-actions { display: grid; gap: 10px; }
.fx-actions .btn { width: 100%; --bh: 56px; white-space: normal; text-align: center; line-height: 1.15; }
.th-noche .add-btn .when-on { display: none; }
.th-noche .add-btn .when-off, .th-noche .add-btn.is-on .when-on { display: inline-flex; align-items: center; gap: 8px; }
.th-noche .add-btn.is-on .when-off { display: none; }
.th-noche .add-btn svg { width: 18px; height: 18px; }
.th-noche .btn-y.add-btn.is-on { background: transparent; color: var(--y); box-shadow: inset 0 0 0 1px var(--y); }
.fx-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14.5px; color: #d7d4cd; }
.fx-links a, .fx-cmp { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.fx-links a:hover, .fx-cmp:hover { color: var(--y); }
.fx-links svg { width: 16px; height: 16px; flex: none; }
.fx-cmp input { width: 16px; height: 16px; margin: 0; accent-color: var(--y); }
.fx-mini { font-size: 14px; color: var(--muted); }
.th-noche .keyspecs.fx-specs { margin-top: clamp(24px, 3.4vw, 44px); }
.th-noche .fx-specs > div { padding-top: clamp(20px, 3vw, 32px); padding-bottom: clamp(12px, 2vw, 20px); }
.th-noche .fx-specs .big { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.fx-bottom { background: #fff; position: relative; border-radius: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) 0 0; margin-top: -14px; z-index: 1; padding-top: 22px; }
.fx-bottom .wrap { position: relative; }
.fx-shopline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 0 18px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.fx-shopline .link-btn { margin-left: auto; color: #000; font-weight: 600; }
.th-tienda .fx-cta { position: static; }
@media (min-width: 1000px) { .th-tienda .fx-cta { position: sticky; top: calc(var(--head) + 20px); } }
@media (max-width: 960px) {
  .fx-grid { grid-template-columns: minmax(0, 1fr); }
  .fx-word { top: 84px; }
}
@media (max-width: 760px) {
  .th-noche .fx-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .th-noche .fx-specs > div, .th-noche .fx-specs > div + div { padding: 16px 8px 8px 0; border-bottom: 0; border-left: 0; }
  .th-noche .fx-specs .big { font-size: clamp(1.5rem, 7.4vw, 2.6rem); white-space: normal; overflow-wrap: anywhere; }
  .th-noche .fx-specs .big small { display: block; margin: 4px 0 0; vertical-align: 0; }
  .th-noche .fx-specs .big-lab { font-size: 10.5px; }
}

/* ---------------------------------------------------------- tienda clara */
.th-tienda .wrap { max-width: var(--wrap); padding-left: var(--gut); padding-right: var(--gut); }
.th-tienda h1, .th-tienda .h1, .th-tienda .h2, .th-tienda .hero-h1 { font-variation-settings: "wdth" 118; }
.th-tienda :focus-visible { outline: 2px solid #000; outline-offset: 2px; box-shadow: 0 0 0 4px var(--y); }
.th-tienda .sr { position: absolute !important; }
.th-tienda .link-btn { font-family: inherit; }

/* hero del buscador: claro, a lo tienda */
.th-tienda .hero { background: linear-gradient(180deg, #f5f5f3 0%, #f5f5f3 72%, var(--bg) 100%); color: var(--tx); overflow: hidden; }
.th-tienda .hero-in { position: relative; padding-block: clamp(30px, 4.6vw, 64px) clamp(22px, 3vw, 40px); }
.th-tienda .hero-h1 { position: relative; font-size: clamp(32px, 4.3vw, 62px); max-width: none; color: #000; letter-spacing: -.025em; }
.th-tienda .hero-h1 mark { display: inline-block; background: var(--y); color: #000; padding: .02em .14em .06em; margin-top: .08em; }
.th-tienda .hero-sub { color: var(--muted); max-width: 46ch; font-size: clamp(15.5px, 1.4vw, 18px); position: relative; }
.th-tienda .hero-stats { color: var(--muted); position: relative; }
.th-tienda .hero-stats b { color: #000; font-weight: 700; }
.shop-k { display: inline-flex; align-items: center; gap: 9px; font: 500 13px/1 var(--f-mono); color: var(--muted); margin-bottom: 14px; }
.hero-shot { position: absolute; right: var(--gut); top: clamp(14px, 2vw, 30px); width: 38%; height: clamp(220px, 19.4vw, 280px); pointer-events: none; }
.hero-shot img { width: 100%; height: 100%; object-fit: contain; object-position: right center; filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .2)); }
.th-tienda .console { position: relative; margin-top: clamp(22px, 3.4vw, 44px); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .3); }
.th-tienda .results { background: var(--bg); padding-top: 26px; }
@media (max-width: 899px) { .hero-shot { display: none; } }

/* cabeceras de página: claras con foto que se funde */
.th-tienda .phead { background: var(--bg); }
.th-tienda .phead--dark { background: var(--bg); color: var(--tx); border-bottom: 1px solid var(--line); }
.th-tienda .phead--dark .lede { color: var(--muted); }
.th-tienda .phead--dark .crumbs { color: var(--muted); }
.th-tienda .phead--img .phead-bg { left: 34%; }
.th-tienda .phead--img .phead-bg img { opacity: 1; }
.th-tienda .phead--img .phead-bg::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(245, 245, 243, .55) 38%, rgba(245, 245, 243, 0) 80%); }
.th-tienda .phead .h1 { max-width: 15ch; }
.th-tienda .phead--img .lede { max-width: 46ch; }
.th-tienda .phead .hero-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-family: var(--f-mono); font-size: 13px; max-width: 60ch; }
.th-tienda .phead .hero-stats span { background: rgba(245, 245, 243, .78); padding: 1px 4px; border-radius: 3px; }
@media (max-width: 760px) {
  .th-tienda .phead--img .phead-bg { left: 0; }
  .th-tienda .phead--img .phead-bg::after { background: linear-gradient(180deg, rgba(245, 245, 243, .86) 0%, rgba(245, 245, 243, .94) 100%); }
}

/* catálogo */
.th-tienda .cat-side { top: calc(var(--head) + var(--shopbar) + 18px); max-height: calc(100vh - var(--head) - var(--shopbar) - 36px); }
.th-tienda .cat-side.is-open { z-index: 95; top: 0; max-height: none; }
.th-tienda .cat-bar { position: static; }
.th-tienda .cards { align-items: stretch; }
.th-tienda .card { border-radius: var(--r-lg); }
.th-tienda .card-actions { flex-wrap: wrap; gap: 4px 8px; }
.th-tienda .card-actions .add-btn { flex: 1 1 100%; }
.th-tienda .cards.is-list .card-actions { flex-wrap: nowrap; }
.th-tienda .cards.is-list .card-actions .add-btn { flex: 0 1 auto; }
@media (max-width: 560px) {
  .th-tienda .card-actions { flex-wrap: nowrap; }
  .th-tienda .card-actions .add-btn { flex: none; width: 100%; white-space: normal; min-height: 40px; }
  .th-tienda .card-actions .add-btn svg { display: none; }
}
.toast { z-index: 120; }
.th-tienda .toast { top: calc(var(--head) + var(--shopbar) + 12px); }
.pg-dark .th-tienda .toast { top: calc(var(--head) + 12px); }
.th-tienda .cmpbar { z-index: 85; }

/* textos y cajas de la cotización */
.tm-shell { font: 400 16px/1.5 var(--f-body); }
.th-tienda .qform-note a { font-weight: 600; }
.th-tienda .drawer-hd h2, .th-tienda .modal-panel h2 { font-family: var(--f-display); }

/* cotización dentro de la ficha en mobile */
@media (max-width: 999px) { .fx-bottom { padding-bottom: 12px; } }
.th-tienda .sec { padding-block: clamp(48px, 6vw, 80px); }
.th-noche img { height: auto; }
.th-noche .hero-stage .machine, .th-noche .hero-bg img, .th-noche .svc img, .th-noche .phero-bg img, .th-noche .gal-main img, .th-noche .gal-thumbs img,
.th-noche .scard-img img, .th-noche .split-media img, .th-noche .tl-img img, .th-noche .video img, .th-noche .cara img { height: 100%; }
.th-noche .svc.cut img { height: 60%; }
.th-noche .gal-main.is-cut img { height: 78%; }
@media (max-width: 620px) { .th-noche .svc.cut img { height: 42%; } }
.th-noche .hero-stage .machine { height: 89%; }
