/* InPlace · tienda en línea. Sistema visual basado en tiendas de gama alta (Ferm Living, HAY, Muuto, IKEA RD):
   una grotesk neutra (Instrument Sans) + serif solo para titulares grandes (Instrument Serif),
   superficies cálidas, líneas finas, esquinas casi rectas, el coral del logo solo como acento. */
:root {
  color-scheme: light;
  --brand: #F05454;
  --brand-deep: #D63A3A;
  --ink: #262626;
  --ink-2: #3A3A3A;
  --muted: #6B6B6B;
  --faint: #9A9A96;
  --bg: #FBFAF7;
  --surface: #F3F1EC;
  --surface-2: #ECE9E2;
  --line: #DEDBD5;
  --green: #3F8F5B;
  --amber: #C98A1B;
  --wa: #25D366;
  --sans: 'Instrument Sans', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --maxw: 1360px;
  --pad: 48px;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 900px) { :root { --pad: 20px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.overline { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- barra del demo (Socius) ---------- */
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 8px var(--pad); background: #161514; color: #D9D5CF; font-size: 12.5px; }
.demo-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.35); padding: 2px 7px; border-radius: var(--r); }
.demo-txt { flex: 1; min-width: 0; }
.demo-links { display: flex; gap: 20px; margin-left: auto; }
.demo-links a { white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; transition: border-color .2s; }
.demo-links a:hover { border-color: #fff; }
.demo-links a.cta { color: #7BE3A1; border-color: rgba(123,227,161,.5); }
@media (max-width: 980px) { .demo-txt { display: none; } }
@media (max-width: 420px) { .demo-links { gap: 14px; font-size: 12px; } }

.promo-strip { text-align: center; font-size: 13px; color: var(--muted); padding: 9px var(--pad); border-bottom: 1px solid var(--line); background: var(--bg); }
.promo-strip b { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) { .promo-strip { font-size: 12px; } }

/* ---------- encabezado ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251,250,247,.94); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 34px; height: 34px; }
.logo .wm { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.logo .wm small { display: none; }
.search { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 0 2px; transition: border-color .2s; }
.search:focus-within { border-color: var(--ink); }
.search svg { color: var(--muted); width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; outline: none; font-size: 14px; }
.search input::placeholder { color: var(--faint); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--line); padding: 6px; z-index: 50; max-height: 70vh; overflow: auto; box-shadow: 0 18px 40px rgba(38,38,38,.08); }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 8px; }
.suggest a:hover { background: var(--bg); }
.suggest img { width: 52px; height: 52px; object-fit: contain; background: var(--surface); mix-blend-mode: multiply; }
.suggest b { font-weight: 500; font-size: 14px; display: block; }
.suggest small { display: block; color: var(--muted); font-size: 13px; }
.hdr-actions { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.icon-btn .lbl { display: none; }
.icon-btn .count { position: absolute; top: -6px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 600; }
.only-m { display: none; }
.depts { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; height: 48px; align-items: stretch; }
.depts::-webkit-scrollbar { display: none; }
.depts a { display: flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.depts a:hover { color: var(--ink); border-color: var(--ink); }
.depts a.on { color: var(--ink); border-color: var(--brand); }
.depts a.sale { color: var(--brand-deep); }
@media (max-width: 900px) {
  .only-m { display: inline-flex; }
  .hdr-in { height: auto; flex-wrap: wrap; gap: 0 18px; padding-top: 14px; padding-bottom: 10px; }
  .search { order: 5; flex-basis: 100%; max-width: none; margin-top: 10px; }
  .depts { display: none; }
  .logo .wm { font-size: 20px; }
}

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: var(--r); font-size: 15px; font-weight: 500; letter-spacing: .005em; white-space: nowrap; transition: background .25s var(--ease), color .25s, border-color .25s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand-deep); }
.btn-brand { background: var(--brand-deep); color: #fff; }
.btn-brand:hover { background: #BE2F2F; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-wa { border: 1px solid var(--ink); color: var(--ink); }
.btn-wa:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { background: var(--surface-2); color: var(--faint); pointer-events: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 500; font-size: 14px; }
.link:hover { text-decoration-color: var(--brand); }

/* ---------- portada ---------- */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.hero-track { position: relative; overflow: hidden; height: min(78vh, 760px); min-height: 460px; background: var(--surface); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 8s linear; }
.hero-slide.on img { transform: scale(1); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,250,247,.88) 0%, rgba(251,250,247,.6) 32%, rgba(251,250,247,0) 58%); pointer-events: none; }
.hero-copy { position: absolute; left: 48px; bottom: 64px; max-width: 520px; display: flex; flex-direction: column; gap: 18px; color: var(--ink); z-index: 2; }
.hero-copy .kicker { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero-copy h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5.4vw, 78px); line-height: 1; letter-spacing: -0.025em; }
.hero-copy p { font-size: 16px; color: var(--ink-2); max-width: 420px; }
.hero-copy .btn { align-self: flex-start; }
.hero-dots { position: absolute; right: 48px; bottom: 64px; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 14px; position: relative; }
.hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(38,38,38,.25); transition: background .3s; }
.hero-dots button.on::after { background: var(--ink); }
/* celular: la foto arriba, enfocada en el producto, y el texto debajo (sin taparla) */
@media (max-width: 760px) {
  .hero { padding: 0; }
  .hero-track { height: auto; min-height: 0; display: grid; background: var(--bg); }
  .hero-slide { position: relative; grid-area: 1 / 1; }
  .hero-slide img { height: auto; aspect-ratio: 4 / 3.4; object-position: var(--fx, 50%) 60%; }
  .hero-veil { display: none; }
  .hero-copy { position: static; max-width: none; padding: 24px var(--pad) 36px; gap: 14px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-dots { left: var(--pad); right: auto; bottom: auto; top: calc((100vw / 4 * 3.4) - 26px); }
  .perks { margin: 0; }
}

.perks { max-width: calc(var(--maxw) - 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-bottom: 1px solid var(--line); }
@media (max-width: 1360px) { .perks { margin: 0 var(--pad); } }
.perk { display: flex; gap: 14px; align-items: center; justify-content: center; min-height: 96px; padding: 20px 24px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { width: 22px; height: 22px; color: var(--ink); }
.perk b { display: block; font-weight: 500; font-size: 14px; line-height: 1.35; }
.perk span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
@media (max-width: 1100px) { .perks { grid-template-columns: repeat(2, minmax(0,1fr)); } .perk { justify-content: flex-start; } .perk:nth-child(3) { border-left: 0; } .perk:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .perk { padding: 16px 12px; gap: 10px; min-height: 0; } .perk span { display: none; } }

.sec { max-width: var(--maxw); margin: 96px auto 0; padding: 0 var(--pad); }
@media (max-width: 760px) { .sec { margin-top: 64px; } }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-hd h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; }
.sec-hd h2.serif { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.005em; }
.sec-hd p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 520px; }
.sec-hd .side { display: flex; gap: 20px; align-items: center; flex: none; }

.dept-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px 24px; }
.dept-card { display: flex; flex-direction: column; gap: 14px; }
.dept-card .ph { aspect-ratio: 4/5; background: var(--surface); overflow: hidden; }
.dept-card .ph img { width: 100%; height: 100%; object-fit: contain; padding: 14%; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.dept-card:hover .ph img { transform: scale(1.04); }
.dept-card b { font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.dept-card b::after { content: '→'; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.dept-card:hover b::after { transform: translateX(4px); color: var(--ink); }
@media (max-width: 900px) { .dept-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 12px; } }

/* espacios con puntos */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px 24px; }
.room { display: flex; flex-direction: column; gap: 16px; }
.room-ph { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--surface); }
.room-ph img.bg { width: 100%; height: 100%; object-fit: cover; }
.room-cap { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.room-cap h3 { font-size: 19px; font-weight: 500; max-width: 440px; }
.room-cap p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.hot { position: absolute; z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 6px rgba(0,0,0,.18); display: grid; place-items: center; transition: transform .2s; }
.hot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.hot:hover { transform: scale(1.15); }
.hot-card { position: absolute; z-index: 5; width: 240px; background: #fff; padding: 10px 12px; display: flex; gap: 12px; align-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.hot-card img { width: 52px; height: 52px; object-fit: contain; background: var(--surface); mix-blend-mode: multiply; }
.hot-card b { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
.hot-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .rooms { grid-template-columns: minmax(0,1fr); gap: 40px; } .room-cap { flex-direction: column; align-items: flex-start; } }

/* carrusel */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 620px) { .rail { grid-auto-columns: 70%; gap: 12px; } }
.rail-nav { display: flex; gap: 6px; }
.rail-nav button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s; }
.rail-nav button:hover { border-color: var(--ink); }
@media (max-width: 620px) { .rail-nav { display: none; } }

/* tarjeta de producto */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 48px 24px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 12px; } }
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pc .ph { position: relative; aspect-ratio: 4/5; background: var(--surface); overflow: hidden; margin-bottom: 14px; }
.pc .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.pc .ph img.alt { opacity: 0; }
.pc:hover .ph img.alt { opacity: 1; }
.pc:hover .ph img.main.has-alt { opacity: 0; }
.pc:hover .ph img { transform: scale(1.03); }
.pc .flag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.pc .flag.sale { color: var(--brand-deep); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); opacity: .7; transition: opacity .2s; }
.fav:hover { opacity: 1; }
.fav svg { width: 19px; height: 19px; }
.fav.on { opacity: 1; }
.fav.on svg { fill: var(--brand); stroke: var(--brand); }
.pc h3 { font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc .price { margin-top: 4px; font-size: 14px; color: var(--muted); }
.price .now.sale { color: var(--brand-deep); }
.price s { color: var(--faint); font-size: .92em; }
.price small { font-size: inherit; color: var(--muted); }
.sw { display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.sw { gap: 2px; margin-left: 0; }
.sw [data-cv] { width: 22px; height: 22px; border-radius: 50%; border: 1px solid transparent; padding: 4px; background-clip: content-box; transition: border-color .2s; position: relative; }
.sw [data-cv]::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw [data-cv]:hover { border-color: var(--line); }
.sw [data-cv].on { border-color: var(--ink); }
.pc .ph img.main { transition: opacity .3s var(--ease), transform .8s var(--ease); }
.sw small { font-size: 12px; color: var(--muted); margin-left: 4px; }
.pc .soldout { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pc.is-out .ph img { opacity: .5; }

.avail { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.avail::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.avail.low::before { background: var(--amber); }
.avail.out::before { background: var(--faint); }
.avail.order::before { background: #8C8C8C; }

/* ---------- listado ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 0; }
.crumbs a:hover { color: var(--ink); }
.plp-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: end; margin-top: 24px; }
.plp-head h1 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.025em; }
.plp-head p { font-size: 15px; color: var(--muted); max-width: 520px; }
.plp-banner { margin-top: 32px; aspect-ratio: 21/7; overflow: hidden; background: var(--surface); }
.plp-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .plp-head { grid-template-columns: minmax(0,1fr); gap: 12px; } .plp-banner { aspect-ratio: 16/9; } }
.subnav { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; margin-top: 36px; border-bottom: 1px solid var(--line); }
.subnav::-webkit-scrollbar { display: none; }
.subnav button { font-size: 15px; color: var(--muted); padding: 0 0 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.subnav button:hover { color: var(--ink); }
.subnav button.on { color: var(--ink); font-weight: 500; border-color: var(--brand); }
.toolbar { position: sticky; top: var(--hdr-h, 120px); z-index: 20; background: rgba(251,250,247,.95); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tool { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.tool svg { width: 18px; height: 18px; }
.tool.check::before { content: ''; width: 14px; height: 14px; border: 1px solid var(--ink); border-radius: var(--r); box-sizing: border-box; }
.tool.check.on::before { background: var(--ink); box-shadow: inset 0 0 0 2px var(--bg); }
.toolbar select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center; padding: 0 20px 0 0; font-size: 14px; font-weight: 500; cursor: pointer; }
.toolbar .count { margin-left: auto; font-size: 13px; color: var(--muted); }
.active-f { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.active-f button { font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); display: inline-flex; gap: 8px; align-items: center; background: #fff; }
.active-f button::after { content: '×'; font-size: 15px; line-height: 1; color: var(--muted); }
.plp-body { margin-top: 40px; }
.empty { text-align: center; padding: 90px 20px; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--muted); }

.fpanel { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); }
.fpanel.open { transform: none; }
.fgroup { border-bottom: 1px solid var(--line); padding: 20px 0; }
.fgroup h4 { font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.fopts { display: flex; flex-direction: column; gap: 12px; }
.fopts label { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.fopts input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.fopts .n { margin-left: auto; color: var(--faint); font-size: 13px; }
.fcolors { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.fcolors label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.fcolors input { position: absolute; opacity: 0; pointer-events: none; }
.fcolors i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.fcolors input:checked + i { outline-color: var(--ink); }
.price-range { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.price-range input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 8px 0; outline: none; }
.price-range input:focus { border-color: var(--ink); }

/* ---------- producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 72px; margin-top: 20px; }
@media (max-width: 960px) { .pdp { grid-template-columns: minmax(0,1fr); gap: 28px; } }
.gal { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; align-self: start; position: sticky; top: calc(var(--hdr-h, 120px) + 24px); }
.gal-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gal-thumbs button { aspect-ratio: 4/5; background: var(--surface); overflow: hidden; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.gal-thumbs button.on { outline-color: var(--ink); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.gal-thumbs img.room { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.gal-main { position: relative; aspect-ratio: 4/5; background: var(--surface); overflow: hidden; }
.gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.gal-main img.room { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.gal-arrows { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.gal-arrows button { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; }
@media (max-width: 960px) {
  .gal { position: static; grid-template-columns: minmax(0,1fr); }
  .gal-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gal-thumbs button { width: 60px; flex: none; }
}
.buy { display: flex; flex-direction: column; padding-top: 4px; }
.buy h1 { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.buy .price { margin-top: 12px; font-size: 20px; font-weight: 500; color: var(--ink); }
.buy .price s { font-size: 14px; font-weight: 400; }
.buy .ref { margin-top: 6px; font-size: 13px; color: var(--faint); }
.opt { margin-top: 32px; }
.opt-hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 14px; }
.opt-hd span { color: var(--muted); }
.opt-hd b { font-weight: 500; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; padding: 3px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .2s; position: relative; }
.swatch:hover { outline-color: var(--line); }
.swatch.on { outline-color: var(--ink); }
.swatch.out::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--muted); transform: rotate(45deg); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.size { padding: 12px 10px; font-size: 13.5px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.size:hover { background: #fff; }
.size.on { background: var(--ink); color: #fff; }
.size small { display: block; font-size: 12px; opacity: .7; }
.buy-ctas { display: grid; gap: 10px; margin-top: 32px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn-dark { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); height: 52px; }
.qty button { width: 40px; height: 100%; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-size: 15px; font-weight: 500; }
.fav-big { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; flex: none; }
.fav-big.on svg { fill: var(--brand); stroke: var(--brand); }
.buy .avail { margin-top: 22px; }
.store-av { margin-top: 6px; font-size: 13px; color: var(--muted); padding-left: 18px; }
.rows { margin-top: 32px; border-top: 1px solid var(--line); }
.row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }
.row b { display: block; font-size: 14px; font-weight: 500; }
.row span { font-size: 13px; color: var(--muted); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 24px; font-size: 15px; color: var(--ink-2); }
.acc .body p + p { margin-top: 10px; }
.specs { margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { font-weight: 500; }
.specs dd { margin: 0; color: var(--ink-2); text-align: right; }
.note { font-size: 13px; color: var(--muted); }

/* ---------- tiendas ---------- */
.stores { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
@media (max-width: 860px) { .stores { grid-template-columns: minmax(0,1fr); } }
.store { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.store iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: var(--surface); filter: grayscale(.4) contrast(.95); }
.store .bd { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.store h3 { font-size: 22px; font-weight: 500; }
.store dl { display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
.store dt { color: var(--muted); }
.store dd { margin: 0; }
.store .acts { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 56px; margin-top: 28px; align-items: start; }
@media (max-width: 900px) { .co { grid-template-columns: minmax(0,1fr); gap: 32px; } }
.co-step { padding: 28px 0; border-top: 1px solid var(--line); }
.co-step h3 { font-size: 18px; font-weight: 500; margin-bottom: 20px; display: flex; gap: 14px; align-items: baseline; }
.co-step h3 i { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 400; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0,1fr); } }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: #fff; outline: none; transition: border-color .2s; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field input:disabled { background: var(--surface); }
.choices { display: grid; border: 1px solid var(--line); background: #fff; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; cursor: pointer; border-bottom: 1px solid var(--line); transition: background .2s; }
.choice:last-child { border-bottom: 0; }
.choice input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.choice:has(input:checked) { background: var(--bg); }
.choice b { font-weight: 500; display: block; font-size: 15px; }
.choice small { font-size: 13px; color: var(--muted); }
.choice .r { margin-left: auto; font-size: 14px; white-space: nowrap; }
.summary { background: var(--surface); padding: 28px; position: sticky; top: calc(var(--hdr-h, 120px) + 24px); }
.summary h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.sline { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sline img { width: 56px; height: 70px; object-fit: contain; background: #fff; mix-blend-mode: multiply; }
.sline .t { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.sline .t b { color: var(--ink); font-weight: 500; display: block; font-size: 14px; }
.sline .r { font-size: 14px; white-space: nowrap; }
.totals { display: grid; gap: 8px; margin: 18px 0 22px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals div span:first-child { color: var(--muted); }
.totals .grand { font-size: 18px; font-weight: 500; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals .grand span:first-child { color: var(--ink); }
.ok-box { max-width: 620px; margin: 64px auto 0; }
.ok-box .overline { color: var(--green); }
.ok-box h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 60px); margin-top: 12px; }
.ok-box > p { margin-top: 14px; color: var(--ink-2); }
.ok-card { border-top: 1px solid var(--line); margin-top: 32px; }

/* ---------- paneles laterales ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(22,21,20,.35); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; z-index: 70; top: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slideR .4s var(--ease); }
.drawer.right { right: 0; }
.drawer.left { left: 0; animation-name: slideL; width: min(360px, 88%); }
@keyframes slideR { from { transform: translateX(100%); } }
@keyframes slideL { from { transform: translateX(-100%); } }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.drawer-hd h3 { font-size: 18px; font-weight: 500; }
.drawer-bd { flex: 1; overflow: auto; padding: 4px 28px; }
.drawer-ft { padding: 22px 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-ft .row2 { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; }
.cline { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cline img { width: 88px; height: 110px; background: var(--surface); object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.cline .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.cline .t b { color: var(--ink); font-weight: 500; font-size: 14px; }
.cline .ln { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--ink); font-size: 14px; }
.cline .qty { height: 36px; }
.cline .qty button { width: 32px; }
.menu-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.menu-list a::after { content: '→'; color: var(--muted); }

/* ---------- WhatsApp y avisos ---------- */
.wa-fab { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.16); transition: transform .25s var(--ease); }
.wa-fab svg { width: 28px; height: 28px; stroke: none; }
.wa-fab span { display: none; }
.wa-fab:hover { transform: translateY(-2px); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 20px; font-size: 14px; display: flex; gap: 18px; align-items: center; animation: up .35s var(--ease); max-width: calc(100% - 32px); }
.toast a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@keyframes up { from { transform: translate(-50%, 16px); opacity: 0; } }
.wa-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.wa-card { position: relative; width: min(400px, 100%); background: #fff; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.2); animation: up2 .4s var(--ease); }
@keyframes up2 { from { transform: translateY(20px); opacity: 0; } }
.wa-x { position: absolute; right: 12px; top: 14px; color: #fff; z-index: 2; }
.wa-top { background: #075E54; color: #fff; display: flex; gap: 12px; align-items: center; padding: 16px 18px; }
.wa-top img { width: 38px; height: 38px; border-radius: 50%; }
.wa-top b { display: block; font-weight: 500; }
.wa-top small { font-size: 12px; opacity: .85; }
.wa-body { background: #EFEAE2; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.wa-bub { align-self: flex-end; max-width: 85%; background: #D9FDD3; color: #111B21; border-radius: 8px 8px 2px 8px; padding: 7px 10px 5px; font-size: 14px; }
.wa-bub.them { align-self: flex-start; background: #fff; border-radius: 8px 8px 8px 2px; }
.wa-bub small { display: block; text-align: right; font-size: 11px; color: #667781; }
.wa-note { font-size: 13px; color: var(--muted); padding: 18px 20px 4px; }
.wa-card .btn { margin: 14px 20px 20px; width: calc(100% - 40px); }

/* ---------- banners y combos ---------- */
.banner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); background: var(--surface); }
.banner img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.banner .txt { padding: 64px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.banner h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.8vw, 54px); line-height: 1.02; }
.banner p { color: var(--ink-2); max-width: 420px; }
.banner .btn { align-self: flex-start; }
@media (max-width: 760px) { .banner { grid-template-columns: minmax(0,1fr); } .banner .txt { padding: 32px 24px; } .banner img { min-height: 0; aspect-ratio: 4/3; } }
.bundles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
@media (max-width: 1000px) { .bundles { grid-template-columns: minmax(0,1fr); } }
.bundle { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.bundle h3 { font-size: 18px; font-weight: 500; }
.b-items { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.b-items a { aspect-ratio: 4/5; background: var(--surface); overflow: hidden; }
.b-items img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; transition: transform .5s var(--ease); }
.b-items a:hover img { transform: scale(1.05); }
.bundle ul { display: grid; font-size: 14px; }
.bundle li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bundle li span { color: var(--ink-2); }
.bundle li b { font-weight: 400; white-space: nowrap; }
.b-ft { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.b-ft small { display: block; font-size: 13px; color: var(--muted); }
.b-ft b { display: block; font-size: 20px; font-weight: 500; line-height: 1; margin-top: 6px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 4px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-grid a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ---------- pie ---------- */
.ftr { margin-top: 120px; border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 40px; }
.ftr h4 { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ftr li { margin-bottom: 10px; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr .tag { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; margin: 20px 0 10px; max-width: 320px; }
.ftr .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.pay-logos { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .ftr-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 960px) { .gal-main { aspect-ratio: 1; } .gal-thumbs button { aspect-ratio: 1; } }
.room-cap .link { white-space: nowrap; flex: none; }

/* el texto y el botón terminan en la misma línea de abajo */
.b-ft .btn { height: 40px; }
.b-ft > div { display: flex; flex-direction: column; justify-content: flex-end; }
.b-ft b { margin-bottom: -2px; }
.store .acts { align-items: center; }
.store .acts .link { display: inline-flex; align-items: center; height: 40px; line-height: 1; }
.b-ft b { white-space: nowrap; }
