/* Plaza — centro comercial. Negro, hueso y piedra; el color de cada marca vive solo en su toldo. */
:root {
  --ink: #0e0e0e; --bone: #f7f5f0; --stone: #ece9e3; --tile: #dcd8d0; --tile-2: #d2cdc3;
  --muted: #55524c; --soft: #6b675f; --line: #cfcbc2; --wa: #1f8a5b; --accent: #e4572e;
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sm { font-size: 13px; color: var(--muted); }

/* ---- barra superior ---- */
.demo-note { background: var(--ink); color: #b5b1a8; border-bottom: 1px solid #2a2a2a; text-align: center; padding: 6px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
header.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--bone); }
.top-row { display: flex; align-items: center; gap: 22px; padding-block: 14px; }
.logo { font: 900 24px/1 var(--display); letter-spacing: .18em; text-decoration: none; color: var(--bone); }
.ask-btn { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; background: transparent; border: 1px solid #3a3a3a; color: #9a968e; padding: 11px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-btn:hover { border-color: #6b675f; color: var(--bone); }
.ask-btn svg { flex: none; }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 14px; }
.nav a { text-decoration: none; color: var(--bone); white-space: nowrap; }
.nav a.hot { color: var(--accent); }
.user { font-family: var(--mono); font-size: 12px; color: #b5b1a8; white-space: nowrap; }
.crumbs { background: var(--ink); color: #b5b1a8; border-top: 1px solid #222; }
.crumbs .wrap { display: flex; gap: 10px; align-items: center; padding-block: 10px; font-size: 13px; flex-wrap: wrap; }
.crumbs a { color: var(--bone); text-decoration: none; font-weight: 700; letter-spacing: .1em; }

main { display: block; }

/* ---- inicio ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 48px; align-items: end; padding-block: 72px 48px; }
.hero h1 { font: 900 clamp(44px, 6.2vw, 80px)/.94 var(--display); letter-spacing: -.035em; }
.hero .kicker { margin-bottom: 18px; color: var(--soft); }
.hero p.lead { font-size: 18px; line-height: 1.55; color: #3d3a35; max-width: 44ch; }
.hero-side { display: grid; gap: 18px; padding-bottom: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; border: 1.5px solid var(--ink); padding: 9px 14px; font-weight: 600; font-size: 14px; text-decoration: none; }
.chip:hover, .chip.on { background: var(--ink); color: var(--bone); }

.aisle { padding-block: 24px 56px; }
.aisle-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 34px; }
.aisle-head h2 { font: 800 28px/1.1 var(--display); letter-spacing: -.01em; }
.aisle-head .mono { color: var(--soft); }

/* ---- fachada (estilo A: toldo de rayas con festón) ---- */
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 40px 24px; }
.shop { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.shop:hover { transform: translateY(-4px); }
.sign { background: var(--ink); color: var(--bone); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sign b { font: 800 17px/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.sign span { font-family: var(--mono); font-size: 11px; color: #9a968e; white-space: nowrap; }
.awn { position: relative; height: 44px; background: repeating-linear-gradient(90deg, var(--a) 0 36px, var(--bone) 36px 72px); }
.awn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px;
  background: radial-gradient(circle at 18px 0, var(--a) 17.5px, transparent 18px) 0 0 / 72px 18px repeat-x,
              radial-gradient(circle at 18px 0, #e6e2da 17.5px, transparent 18px) 36px 0 / 72px 18px repeat-x; }
.window { background: var(--bone); border-left: 10px solid var(--ink); border-right: 10px solid var(--ink); padding: 34px 14px 14px; height: 200px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.window .pd { position: relative; background: var(--p, var(--tile)); display: grid; place-items: center; overflow: hidden; }
.window .pd svg { width: 62%; height: auto; }
.window .pd:nth-child(1) { height: 96px; } .window .pd:nth-child(2) { height: 132px; } .window .pd:nth-child(3) { height: 78px; }
.sill { height: 10px; background: var(--ink); }
.shop-meta { padding: 14px 2px 0; display: grid; gap: 4px; }
.shop-meta b { font-weight: 600; font-size: 15px; }

/* ---- tarjeta de producto ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.card-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-t h3 { font: 600 16px/1.35 var(--body); }
.price { font: 800 19px/1.1 var(--display); white-space: nowrap; }

/* ---- el "video" en bucle ---- */
.loop { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c, #1c1c1c); display: grid; place-items: center; }
.loop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); pointer-events: none; }
.tag svg { width: 9px; animation: none; }
.loop > svg { width: 50%; height: auto; z-index: 1; animation: show 7s ease-in-out infinite; }
.loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
@keyframes show { 0%,100% { transform: rotate(-5deg) scale(.96); } 50% { transform: rotate(6deg) scale(1.08) translateY(-3%); } }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; background: var(--ink); color: var(--bone); padding: 5px 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.offer-tag { position: absolute; bottom: 14px; left: 12px; z-index: 2; background: var(--bone); color: var(--ink); padding: 6px 10px; font-size: 12px; font-weight: 700; }
.cap { position: absolute; left: 14px; right: 14px; bottom: 22px; z-index: 2; background: rgba(14,14,14,.82); color: var(--bone); font-size: 16px; font-weight: 600; padding: 12px 14px; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.2); z-index: 2; }
.bar i { display: block; height: 100%; background: var(--bone); transform-origin: left; animation: run 21s linear infinite; }
@keyframes run { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- dentro de la tienda ---- */
.store-hero { background: var(--ink); color: var(--bone); }
.store-hero .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-block: 44px 36px; }
.store-hero h1 { font: 900 clamp(52px, 9vw, 96px)/.9 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.store-hero p { margin-top: 14px; font-size: 18px; color: #cfcbc2; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stats b { display: block; font: 800 34px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stats span { font-family: var(--mono); font-size: 11px; color: #9a968e; letter-spacing: .08em; text-transform: uppercase; }
.store-page { background: var(--bone); min-height: 60vh; }
.store-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 56px 32px; }

/* ---- página del producto ---- */
.pdp-page { background: var(--bone); }
.pdp { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-block: 40px 96px; }
.pdp-media { flex: 1 1 440px; min-width: 0; }
.pdp-media { position: sticky; top: 84px; }
.pdp-media .loop { width: 100%; }
.pdp-info { flex: 1 1 480px; min-width: 0; display: grid; gap: 24px; }
.pdp-info h1 { font: 900 clamp(34px, 4.4vw, 52px)/.98 var(--display); letter-spacing: -.025em; }
.pdp-price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pdp-price b { font: 900 44px/1 var(--display); }
.pill { background: var(--ink); color: var(--bone); padding: 6px 10px; font-size: 13px; font-weight: 700; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { border: 0; background: var(--ink); color: var(--bone); padding: 17px 18px; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn:hover { background: #2a2a2a; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: #18714a; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }
.block { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 10px; }
.block > .mono { color: var(--muted); }
.seller { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; background: transparent; border: 1px solid var(--line); padding: 14px 16px; }
.seller.on { border: 2px solid var(--ink); padding: 13px 15px; }
.seller .nm { display: grid; gap: 3px; }
.seller .nm b { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.rec { color: var(--wa); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; margin-left: 6px; }
.tabs { display: flex; gap: 22px; flex-wrap: wrap; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 6px; font-weight: 700; font-size: 15px; color: var(--soft); }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.feed { display: grid; gap: 14px; }
.q { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #d8d4cc; }
.who { font-size: 12px; color: var(--muted); font-weight: 600; }
.q .qq { font-size: 16px; font-weight: 600; }
.a { font-size: 15px; line-height: 1.5; color: #3d3a35; padding-left: 14px; border-left: 2px solid var(--ink); }
.a .who { display: block; margin-bottom: 2px; }
.verified { color: var(--wa); font-weight: 700; }
.stars { letter-spacing: 2px; }
form.line { display: flex; gap: 8px; }
form.line input { flex: 1; min-width: 0; border: 1.5px solid var(--ink); background: #fff; padding: 14px; font-size: 15px; }
form.line .btn { padding: 14px 18px; font-size: 15px; }

/* ---- formularios y paneles ---- */
.form { background: var(--bone); border: 1.5px solid var(--ink); padding: 22px; display: grid; gap: 14px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; }
input, select, textarea { border: 1.5px solid var(--ink); background: #fff; padding: 12px 14px; width: 100%; border-radius: 0; }
.check { display: grid !important; grid-template-columns: 22px minmax(0,1fr); gap: 10px; align-items: start; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; }
.note { background: #f3e6c9; color: #6a4a00; padding: 10px 12px; font-weight: 600; font-size: 13px; }
.err { background: #f5d9d3; color: #8a1c0b; padding: 10px 12px; font-weight: 600; font-size: 13px; }
.ok { color: var(--wa); font-weight: 700; }
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(14,14,14,.6); display: grid; justify-items: end; }
.sheet { background: var(--bone); width: min(480px, 100%); height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 20px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) 20px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sheet-head h2 { font: 800 24px/1.1 var(--display); }
.link-btn { background: none; border: 0; font-weight: 700; text-decoration: underline; padding: 6px 2px; }
.summary { border: 1.5px solid var(--ink); padding: 14px; display: grid; gap: 4px; }
.chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.msg { max-width: 88%; padding: 11px 14px; background: #fff; border: 1px solid var(--line); }
.msg.me { align-self: flex-end; background: var(--ink); border-color: var(--ink); color: var(--bone); }
.pick { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border: 1.5px solid var(--ink); background: var(--bone); color: var(--ink); text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 44px 32px; }
  .nav { display: none; }
  .top-row { gap: 14px; }
  .btns { grid-template-columns: 1fr; }
  .pdp { gap: 28px; padding-top: 20px; }
  .pdp-media { position: static; }
}
@media (prefers-reduced-motion: reduce) { .loop > svg, .bar i { animation: none; } .shop { transition: none; } }

/* ---- red social: cabecera, pestañas, feed vertical ---- */
.acc-btn { background: transparent; border: 1px solid #3a3a3a; color: var(--bone); padding: 10px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.acc-btn:hover { border-color: #6b675f; }
.pv-only { display: none; color: var(--accent); }
.is-preview .pv-only { display: inline; }
.ftabs { display: flex; justify-content: center; gap: 28px; background: var(--ink); padding: 4px 16px 10px; position: sticky; top: 62px; z-index: 15; }
.ftab { color: #8f8b83; text-decoration: none; font-weight: 700; font-size: 15px; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.ftab.on { color: var(--bone); border-bottom-color: var(--bone); }
body.on-feed { background: var(--ink); overflow: hidden; }
body.on-feed .site-foot { display: none; }
.reels { height: calc(100dvh - 128px); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; max-width: 520px; margin: 0 auto; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: var(--c, #161616); color: #fff; }
.reel-media { position: absolute; inset: 0; display: grid; place-items: center; }
.reel-media > svg { width: 46%; animation: show 7s ease-in-out infinite; }
.fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-media img.fill { object-fit: contain; background: #fff; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 48%, rgba(0,0,0,.82)); pointer-events: none; }
.reel-tag { top: 14px; left: 14px; }
.reel-info { position: absolute; left: 16px; right: 84px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 3; display: grid; gap: 10px; }
.reel-store { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 15px; }
.reel-store b { letter-spacing: .06em; text-transform: uppercase; }
.reel-store.dark { color: var(--ink); }
.reel-title { color: #fff; text-decoration: none; font: 800 24px/1.1 var(--display); letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.reel-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.reel-price b { font: 900 30px/1 var(--display); }
.reel-price .pill { background: #fff; color: var(--ink); }
.reel-price .mono { color: #ddd; font-size: 11px; }
.reel-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reel-btns .btn { padding: 14px 12px; font-size: 15px; }
.reel-btns .btn:not(.wa) { background: #fff; color: var(--ink); }
.reel-acts { position: absolute; right: 10px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.act { background: none; border: 0; color: #fff; display: grid; justify-items: center; gap: 2px; font-weight: 700; font-size: 12px; padding: 0; filter: drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
.act.liked { color: #ff3b5c; }
.act.liked span { color: #fff; }
.act-av { position: relative; display: block; text-decoration: none; }
.follow-dot { margin-top: -26px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; line-height: 22px; padding: 0; }
.follow-dot.on { background: #fff; color: var(--ink); }
.news-reel { background: var(--ink); display: grid; align-items: center; }
.news-reel::after { display: none; }
.news-in { padding: 32px 92px 32px 24px; display: grid; gap: 16px; }
.news-in .mono { color: var(--accent); }
.news-in h2 { font: 900 clamp(34px, 8vw, 48px)/.98 var(--display); letter-spacing: -.02em; }
.news-in p { font-size: 17px; color: #cfcbc2; }
.btn.ghost-l { background: transparent; border: 1.5px solid var(--bone); color: var(--bone); justify-self: start; }

/* avatares */
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--a); color: #fff; display: inline-grid; place-items: center; font: 800 13px/1 var(--display); letter-spacing: .04em; overflow: hidden; border: 2px solid #fff; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av.md { width: 48px; height: 48px; font-size: 16px; }
.av.xl { width: 112px; height: 112px; font-size: 38px; border-width: 3px; }

/* perfil de tienda tipo Instagram */
.wrap.narrow { max-width: 940px; }
.profile { background: var(--ink); color: var(--bone); }
.prof-head { display: flex; gap: 36px; align-items: center; padding-block: 40px 30px; flex-wrap: wrap; }
.prof-main { flex: 1; min-width: 240px; display: grid; gap: 12px; }
.prof-main h1 { font: 900 clamp(34px, 6vw, 56px)/.95 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.prof-main p { color: #cfcbc2; font-size: 16px; }
.prof-stats { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: #cfcbc2; }
.prof-stats b { color: var(--bone); font-weight: 800; }
.prof-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.prof-btns .btn { padding: 12px 22px; font-size: 15px; }
.prof-btns .btn:not(.wa):not(.ghost) { background: var(--bone); color: var(--ink); }
.prof-btns .btn.ghost { color: var(--bone); border-color: #6b675f; }
.profile .awn { margin-bottom: 18px; }
.ptabs { display: flex; justify-content: center; gap: 40px; border-top: 1px solid var(--line); margin-top: 26px; }
.ptab { background: none; border: 0; border-top: 2px solid transparent; margin-top: -1px; padding: 14px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.ptab.on { color: var(--ink); border-top-color: var(--ink); }
.igrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding-bottom: 80px; }
.icell { position: relative; aspect-ratio: 3 / 4; background: var(--c, #222); overflow: hidden; display: grid; place-items: center; }
.icell img.fill { object-fit: cover; }
.icell > svg { width: 50%; }
.icell-l { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; font-size: 13px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.icell-l svg { width: 16px; height: 16px; }
.loop.photo { background: #fff; }
.loop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.loop.photo::after { background: none; }
.window .pd.img { background: #fff; }
.window .pd.img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.thumb { padding: 0; border: 1.5px solid var(--line); background: #fff; aspect-ratio: 1; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.desc { font-size: 15px; line-height: 1.6; color: #3d3a35; white-space: pre-line; }

/* noticias */
.news-list { display: grid; gap: 18px; padding-block: 28px 80px; }
.news-card { background: var(--bone); border: 1.5px solid var(--ink); padding: 22px; display: grid; gap: 12px; }
.news-by { display: flex; align-items: center; gap: 10px; }
.news-by .av { border-color: var(--ink); }
.news-card h2 { font: 800 26px/1.1 var(--display); }
.news-acts { display: flex; justify-content: space-between; align-items: center; }
.news-acts .reel-acts { position: static; flex-direction: row; gap: 18px; }
.news-acts .act { color: var(--ink); filter: none; grid-auto-flow: column; align-items: center; gap: 6px; }
.news-acts .act svg { width: 22px; height: 22px; }
.news-acts .act.liked { color: #d1173a; }
.news-acts .act.liked span { color: var(--ink); }
.link { font-weight: 700; }

/* buscador */
.pick-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pthumb { flex: none; width: 46px; height: 46px; background: var(--c, #222); overflow: hidden; display: grid; place-items: center; }
.pthumb svg { width: 60%; }

/* documentos legales y pie */
.doc { padding-block: 40px 80px; display: grid; gap: 14px; }
.doc h1 { font: 900 36px/1.05 var(--display); }
.doc h2 { font: 800 19px/1.2 var(--display); margin-top: 10px; }
.doc p { line-height: 1.6; color: #3d3a35; }
.site-foot { border-top: 2px solid var(--ink); padding-block: 22px 40px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.site-foot a { color: var(--muted); }
.pad { padding-block: 48px; }

@media (max-width: 760px) {
  .ftabs { top: 58px; }
  .reels { height: calc(100dvh - 122px); }
  .prof-head { gap: 20px; padding-block: 28px 22px; }
  .av.xl { width: 84px; height: 84px; font-size: 28px; }
  .acc-btn { max-width: 110px; padding: 10px; }
  .reel-title { font-size: 21px; }
}

/* ---- sala del producto ---- */
body.on-room { background: var(--ink); }
body.on-room .site-foot { display: none; }
.room { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--bone); }
.stage { position: relative; overflow: hidden; background: #050505; height: 72vh; }
.stage-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(.55) saturate(1.2); }
.stage-media { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .9s ease; transform: scale(1.02); }
.slide.on { opacity: 1; animation: drift 7.6s ease-in-out infinite alternate; }
video.slide { object-fit: cover; animation: none; transform: none; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1.5%); } }
.room-shape { position: absolute; inset: 0; display: grid; place-items: center; background: var(--c); }
.room-shape svg { width: 44%; animation: show 7s ease-in-out infinite; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 52%, rgba(0,0,0,.78)); z-index: 1; }
.stage-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.stage-back { color: #fff; text-decoration: none; font-size: 22px; font-weight: 700; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(0,0,0,.45); }
.stage-store { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 14px; background: rgba(0,0,0,.45); padding: 4px 12px 4px 4px; }
.stage-store b { letter-spacing: .08em; text-transform: uppercase; }
.tag.static { position: static; margin-left: auto; }
.tag.live { background: #e0242f; }
.tag.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.stage-low { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3; display: grid; gap: 10px; }
.stage-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #fff; border-top: 1px solid rgba(255,255,255,.25); padding-top: 10px; }
.stage-title b { font: 800 19px/1.15 var(--display); }
.stage-title span { font: 900 22px/1 var(--display); white-space: nowrap; }
.ticker { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.tk { display: grid; gap: 4px; color: #fff; font-size: 14px; line-height: 1.35; animation: rise .5s ease; }
.tk > span { background: rgba(14,14,14,.62); padding: 7px 10px; justify-self: start; max-width: 100%; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tk b { font-weight: 700; margin-right: 4px; }
.tk .tk-a { background: rgba(247,245,240,.94); color: var(--ink); border-left: 4px solid var(--a); margin-left: 14px; }
.tk.hint { background: rgba(14,14,14,.62); padding: 8px 10px; justify-self: start; }
.typing i { animation: blink 1s infinite; font-style: normal; } .typing i:nth-child(3) { animation-delay: .2s; } .typing i:nth-child(4) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.room-side { display: grid; gap: 18px; align-content: start; padding: 0 20px 150px; min-width: 0; }
.awn.thin { height: 22px; margin: 0 -20px 6px; background: repeating-linear-gradient(90deg, var(--a) 0 24px, var(--bone) 24px 48px); }
.awn.thin::after { bottom: -10px; height: 10px; background: radial-gradient(circle at 12px 0, var(--a) 11px, transparent 12px) 0 0 / 48px 10px repeat-x, radial-gradient(circle at 36px 0, var(--bone) 11px, transparent 12px) 0 0 / 48px 10px repeat-x; }
.room-head { display: grid; gap: 10px; padding-top: 12px; }
.room-head h1 { font: 900 clamp(28px, 4vw, 40px)/1 var(--display); letter-spacing: -.02em; }
.room-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.room-price b { font: 900 36px/1 var(--display); }
.counter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); }
.cnt { background: transparent; border: 0; border-right: 1.5px solid var(--ink); padding: 10px 4px 8px; display: grid; justify-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.cnt:last-child { border-right: 0; }
.cnt:hover { background: var(--stone); }
.cnt-n { display: inline-flex; align-items: center; gap: 6px; font: 800 17px/1 var(--display); }
.cnt-n svg { width: 20px; height: 20px; }
.cnt-n .av { border-color: var(--ink); width: 24px; height: 24px; font-size: 9px; }
.cnt-l { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.cnt.on, .cnt.liked { background: var(--ink); color: var(--bone); }
.cnt.on .cnt-l, .cnt.liked .cnt-l { color: #b5b1a8; }
.cnt.on svg, .cnt.liked svg { color: #ff3b5c; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.desc-w { display: grid; gap: 4px; justify-items: start; }
.qa-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.qa-head h2 { font: 800 22px/1.1 var(--display); }
.live-dot { color: var(--wa); display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); animation: blink 1.4s infinite; }
.rv-h { margin-top: 8px; }
.room-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; }
.ask { display: flex; gap: 6px; }
.ask input { flex: 1; min-width: 0; background: #1c1c1c; border: 1px solid #3a3a3a; color: var(--bone); padding: 12px; font-size: 15px; }
.ask input::placeholder { color: #8f8b83; }
.ask .btn { padding: 12px 16px; font-size: 14px; background: var(--bone); color: var(--ink); }
.buy-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; }
.buy-row .btn { padding: 14px 10px; font-size: 15px; }
.btn.light { background: var(--bone); color: var(--ink); }
.btn.light:hover { background: #fff; }
.reel-media { text-decoration: none; }

@media (min-width: 900px) {
  .room { grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: minmax(0, 1fr) auto; height: calc(100vh - 104px); }
  .stage { grid-row: 1 / 3; height: auto !important; }
  .room-side { overflow-y: auto; padding-bottom: 24px; }
  .room-bar { position: static; grid-column: 2; }
  .stage-low { left: 24px; right: 24px; bottom: 24px; }
  .stage-title b { font-size: 26px; } .stage-title span { font-size: 30px; }
  .tk { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .slide.on, .tk, .typing i, .live-dot::before, .tag.live::before { animation: none; } }
