/* Casa Roble · tienda en línea — diseño premium, pensado primero para celular. */
:root {
  --ivory: #FAF8F4; --sand: #F1ECE4; --stone: #E4DCD0; --ink: #16130f; --ink2: #3d362f; --muted: #857b70;
  --gold: #a8853f; --gold-l: #d9bf8a; --sale: #8a3a28; --ok: #3d6b52;
  --serif: "Cormorant Garamond", Baskerville, Georgia, serif; --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; letter-spacing: .01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: 0; }
.eyebrow { display: inline-block; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-l); font-weight: 500; }
.eyebrow.dark { color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 0; padding: 14px 26px; font: inherit; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.btn.light { background: var(--ivory); color: var(--ink); } .btn.light:hover { background: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); } .btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.dark { background: var(--ink); color: var(--ivory); } .btn.dark:hover { background: #2b2620; }
.btn.gold { background: var(--gold); color: #fff; } .btn.gold:hover { background: #95752f; }
.btn.block { width: 100%; padding: 16px; } .btn:disabled { opacity: .4; cursor: not-allowed; }

/* encabezado, portada y beneficios: ver «Rediseño 2026» al final */

/* bloques */
.block { padding-top: 44px; }
.block-head { text-align: center; margin-bottom: 30px; } .block-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 8px; font-weight: 400; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; text-align: left; border-bottom: 1px solid var(--stone); padding-bottom: 16px; margin-bottom: 0; }
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.space { position: relative; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; cursor: pointer; border: 0; padding: 0; font: inherit; text-align: left; color: var(--ink); }
.space img { position: absolute; inset: 7% 8% 26%; width: 84%; height: 67%; object-fit: contain; transition: transform .6s ease; }
.space:hover img { transform: scale(1.05); }
.space .lbl { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--stone); padding-top: 10px; }
.space .lbl b { font-family: var(--serif); font-size: 22px; font-weight: 500; } .space .lbl em { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* colección */
.catalog { padding-bottom: 80px; scroll-margin-top: 80px; }
.search { border: 0; border-bottom: 1px solid var(--ink2); background: transparent; padding: 10px 2px; font: inherit; font-size: 14px; width: min(320px, 100%); outline: none; }
.chips { display: flex; gap: 6px 18px; flex-wrap: wrap; padding: 20px 0 8px; }
.chip { border: 0; border-bottom: 1px solid transparent; background: none; padding: 5px 0; font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--muted); }
.chip:hover { color: var(--ink); } .chip.on { color: var(--ink); border-color: var(--ink); } .chip.sale { color: var(--sale); } .chip.sale.on { border-color: var(--sale); }
.chip em { font-style: normal; font-size: 10.5px; margin-left: 4px; opacity: .7; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 22px; padding-top: 22px; }
.sec-title { grid-column: 1 / -1; font-size: 30px; font-weight: 400; margin: 26px 0 -8px; }
.card { display: flex; flex-direction: column; background: transparent; }
.card .im { position: relative; aspect-ratio: 4 / 3; background: var(--sand); cursor: pointer; overflow: hidden; }
.card .im img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: transform .6s ease; }
.card:hover .im img { transform: scale(1.03); }
.off { position: absolute; top: 12px; left: 12px; background: var(--sale); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 4px 9px; z-index: 2; }
.card .in { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .code { font-size: 10.5px; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; }
.card .nm { font-family: var(--serif); font-size: 21px; line-height: 1.15; cursor: pointer; }
.card .sp { font-size: 12.5px; color: var(--muted); font-weight: 300; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-size: 16px; font-weight: 500; letter-spacing: .02em; } .price s { color: #a39a90; font-weight: 300; font-size: 13px; margin-right: 6px; } .price .now { color: var(--sale); }
.add { background: none; color: var(--ink); border: 1px solid var(--ink); padding: 8px 14px; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.add:hover { background: var(--ink); color: var(--ivory); }
.avail { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; } .avail.yes { color: var(--ok); } .avail.no { color: var(--muted); }
.loading, .empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }

/* ventanas */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-bg { position: absolute; inset: 0; background: rgba(22,19,15,.55); }
.sheet-box { position: absolute; background: var(--ivory); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.prod-sheet { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1020px, 94vw); max-height: 92vh; padding: 34px; }
.side { right: 0; top: 0; bottom: 0; width: min(460px, 100vw); padding: 28px 24px calc(26px + env(safe-area-inset-bottom)); }
.x { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sand); font-size: 24px; line-height: 1; cursor: pointer; z-index: 3; color: var(--ink); }
.pd { display: grid; grid-template-columns: 1.2fr 1fr; gap: 38px; }
.pd-main { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.pd-main img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumbs button { width: 66px; height: 66px; border: 1px solid transparent; background: var(--sand); padding: 4px; cursor: pointer; } .pd-thumbs button.on { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd .code { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pd h3 { font-size: 36px; line-height: 1.08; font-weight: 400; margin: 8px 0 12px; }
.pd .price { font-size: 22px; }
.pd dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 14px; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); font-weight: 300; } .pd dt { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; } .pd dd { margin: 0; }
.pd .desc { font-size: 14.5px; color: var(--ink2); line-height: 1.7; white-space: pre-wrap; font-weight: 300; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink2); } .qty button { width: 38px; height: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); } .qty span { min-width: 30px; text-align: center; font-weight: 500; }
.ends { color: var(--sale); font-size: 12px; letter-spacing: .08em; margin-top: 6px; }
.help { font-size: 13px; color: var(--muted); margin-top: 16px; font-weight: 300; } .help a { color: var(--ink); }

/* carrito */
.side h3 { font-size: 32px; font-weight: 400; margin-bottom: 14px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--stone); }
.line .im { position: relative; width: 72px; height: 72px; background: var(--sand); } .line .im img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.line .ln-mad { color: #5B6450; font-weight: 600; letter-spacing: .02em; margin: 2px 0 1px; }
.line b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.15; } .line small { color: var(--muted); font-size: 11.5px; display: block; letter-spacing: .04em; }
.line .rm { border: 0; background: none; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: 0; }
.line .qty button { width: 30px; height: 30px; } .line .pr { text-align: right; font-weight: 500; font-size: 14px; } .line .pr s { display: block; color: #a39a90; font-weight: 300; font-size: 12px; }
.tot { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; font-weight: 300; } .tot.save { color: var(--ok); font-weight: 500; }
.tot.big { font-size: 19px; font-weight: 500; border-top: 1px solid var(--stone); margin-top: 8px; padding-top: 12px; }
.box { background: var(--sand); padding: 16px; margin: 16px 0; font-size: 13.5px; }
.box label { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.inp { width: 100%; border: 1px solid var(--stone); border-radius: 0; padding: 12px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.inp:focus { outline: none; border-color: var(--ink2); }
.ship-ok { color: var(--ok); font-weight: 500; } .ship-bad { color: var(--sale); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .form-grid .full { grid-column: 1 / -1; }
.form-grid .note { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 5px; }
.pay { border: 1px solid var(--stone); padding: 13px 14px; margin: 8px 0; display: flex; gap: 12px; align-items: center; cursor: pointer; font-size: 14px; background: #fff; } .pay.on { border-color: var(--ink); } .pay small { display: block; color: var(--muted); font-size: 12px; font-weight: 300; }
.pay input { accent-color: var(--ink); }
.note { font-size: 12.5px; color: var(--muted); line-height: 1.55; font-weight: 300; }
.back { border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 0; margin-bottom: 12px; }

/* pie */
.foot { background: #0f0d0a; color: #b9b0a4; padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; font-weight: 300; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 34px; }
.foot h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); font-weight: 500; margin-bottom: 14px; }
.foot p { margin: 0; line-height: 1.8; } .foot a { color: #e9e2d7; text-decoration: none; } .foot a:hover { color: var(--gold-l); }
.foot-logo { height: 38px; margin-bottom: 14px; } .foot [data-foot-cats] a, .foot [data-contact] a, .foot [data-contact] span { display: block; line-height: 1.9; }
.foot-legal { margin-top: 42px; padding-top: 20px; border-top: 1px solid #2a251f; font-size: 11.5px; color: #7d7468; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--ivory); padding: 13px 22px; font-size: 13px; letter-spacing: .06em; z-index: 80; box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* menús desplegables de categorías agrupadas */
.dd { position: relative; display: inline-block; }
.top-dd { border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; padding: 6px 0; cursor: pointer; white-space: nowrap; }
.car { font-size: 9px; margin-left: 4px; opacity: .6; }
.dd-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 230px; background: var(--ivory); border: 1px solid var(--stone); box-shadow: 0 16px 34px rgba(22,19,15,.12); padding: 8px; text-transform: none; letter-spacing: .01em; }
.dd.open .dd-menu { display: block; }
.dd-menu button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); text-align: left; padding: 10px 12px; cursor: pointer; }
.dd-menu button:hover { background: var(--sand); } .dd-menu button:first-child { font-weight: 500; border-bottom: 1px solid var(--stone); }
.dd-menu em { font-style: normal; color: var(--muted); font-size: 12px; }

/* lupa (sólo en la ficha) */
[data-zoom] { overflow: hidden; }
[data-zoom] img { transition: transform .15s ease-out; will-change: transform; }
@media (hover: hover) and (pointer: fine) { [data-zoom] { cursor: zoom-in; } }
[data-zoom].zooming img { transition: transform .05s linear; }
[data-zoom].zooming .off { opacity: 0; }

@media (max-width: 900px) {
  .spaces { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; } .announce { font-size: 10px; letter-spacing: .16em; }
  .block { padding-top: 54px; }
  .spaces { grid-template-columns: 1fr 1fr; gap: 10px; } .space .lbl { left: 12px; right: 12px; bottom: 10px; } .space .lbl b { font-size: 17px; line-height: 1.1; } .space .lbl em { font-size: 10px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .card .nm { font-size: 17px; } .card .sp { display: none; } .card .row { flex-direction: column; align-items: stretch; } .add { width: 100%; }
  .prod-sheet { top: auto; bottom: 0; transform: translateX(-50%); width: 100vw; max-height: 94vh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .pd { grid-template-columns: 1fr; gap: 18px; } .pd h3 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}

/* código de broker */
.promo-row { display: flex; gap: 8px; } .promo-row .inp { flex: 1; text-transform: uppercase; } .promo-row .btn { padding: 0 18px; }
.promo-on { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; } .promo-on small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- 6 oct 2026: filtros, imagen ilustrativa, WhatsApp flotante, aceptación y páginas de información ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: -6px 0 18px; }
.sel { appearance: none; -webkit-appearance: none; border: 1px solid var(--stone); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23857b70'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 9px 32px 9px 12px; font: inherit; font-size: 13px; color: var(--ink2); border-radius: 0; cursor: pointer; }
.sel:focus { outline: 1px solid var(--gold); }
.tools .count { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.card .im { position: relative; } .card .im img:not([src]) { visibility: hidden; }
.ilus { position: absolute; left: 8px; bottom: 8px; background: rgba(250,248,244,.9); color: var(--ink2); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; pointer-events: none; }
.pd-main { position: relative; }
.share { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.accept { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink2); line-height: 1.5; margin: 6px 0 12px; cursor: pointer; }
.accept input { margin-top: 3px; accent-color: var(--ink); } .accept a { color: var(--ink); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); } .wa-float svg { width: 30px; height: 30px; }
.foot-links { margin-top: 12px !important; } .foot-links a { display: block; }
.foot-legal a { color: inherit; }
.foot-legal { line-height: 1.7; }
.px-aviso { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; z-index: 90; background: #16130f; color: #F3F0ED; font-size: 13px; line-height: 1.5; padding: 14px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.px-aviso a { color: inherit; }
.px-aviso button { margin-left: 8px; font: inherit; font-weight: 700; background: #F3F0ED; color: #16130f; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.doc { max-width: 780px; padding-top: 46px; padding-bottom: 70px; }
.doc .eyebrow { margin-bottom: 8px; } .doc h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; margin: 0 0 8px; color: var(--ink); }
.doc .upd { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.doc h2 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 34px 0 10px; color: var(--ink); }
.doc h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin: 22px 0 6px; color: var(--ink); }
.doc p, .doc li { font-size: 15px; line-height: 1.75; color: var(--ink2); font-weight: 300; } .doc ul { padding-left: 20px; } .doc a { color: var(--ink); }
.doc .back { display: block; width: fit-content; margin-bottom: 26px; text-decoration: none; }
.doc details { border-bottom: 1px solid var(--stone); padding: 16px 0; } .doc summary { cursor: pointer; font-family: var(--serif); font-size: 21px; color: var(--ink); list-style: none; }
.doc summary::-webkit-details-marker { display: none; } .doc summary::after { content: "+"; float: right; color: var(--gold); } .doc details[open] summary::after { content: "–"; }
.doc details p { margin: 10px 0 0; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--stone); } .doc-nav a { text-decoration: none; color: var(--ink2); }
@media (max-width: 640px) { .doc h1 { font-size: 34px; } .tools .count { width: 100%; margin-left: 0; } .sel { flex: 1 1 45%; } .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; } }

/* 7 oct 2026: datos de factura en el proceso de compra */
.fac-toggle { margin: 16px 0 4px; font-size: 14px; } .fac-toggle b { font-weight: 600; color: var(--ink); }
.fac-grid { margin-top: 8px; padding: 14px; background: #fff; border: 1px solid var(--stone); }
.fac-grid select.inp { appearance: auto; }
.fac-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); font-weight: 300; }
/* 7 oct 2026: botón de muebles a medida en la portada */
.wa-medida { display: inline-flex; align-items: center; gap: 9px; text-transform: none; letter-spacing: .02em; }
.wa-medida svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 640px) { .wa-medida { width: 100%; justify-content: center; text-align: center; white-space: normal; line-height: 1.35; } }
.wa-medida-pd { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; background: transparent; color: var(--ink); border: 1px solid var(--ink); text-transform: none; letter-spacing: .02em; text-decoration: none; white-space: normal; text-align: center; line-height: 1.35; }
.wa-medida-pd:hover { background: var(--ink); color: var(--ivory); } .wa-medida-pd svg { width: 17px; height: 17px; flex: none; }
/* 7 oct 2026: descargar catálogo en PDF */
.head-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cat-dl { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cat-dl svg { width: 16px; height: 16px; }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); } .btn.outline:hover { background: var(--ink); color: var(--ivory); }
.btn.sm { padding: 9px 14px; font-size: 11px; }
@media (max-width: 640px) { .head-tools { width: 100%; justify-content: stretch; } .head-tools > * { flex: 1 1 100%; } .cat-dl { justify-content: center; } }
/* Datos para transferencia (cuenta elegida en el ERP) */
.bank { border: 1px solid var(--stone); background: #fbfaf8; padding: 12px 14px; margin: 4px 0 8px; font-size: 13.5px; }
.bank-h { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.bank-row { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--stone); flex-wrap: wrap; }
.bank-row:last-of-type { border-bottom: 0; }
.bank-row span { width: 72px; flex: none; color: var(--muted); font-size: 12px; }
.bank-row b { font-weight: 500; letter-spacing: .02em; word-break: break-all; flex: 1; }
.bank-alt { margin-top: 10px; font-size: 13px; } .bank-alt summary { cursor: pointer; text-align: center; color: var(--muted); text-decoration: underline; list-style: none; }


/* ---------- Tu espacio con IA ---------- */
.esp-promo { background: var(--sand); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.esp-promo-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 64px 20px; }
.esp-promo h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 400; margin: 8px 0 12px; line-height: 1.08; }
.esp-promo p { color: var(--ink2); font-weight: 300; line-height: 1.65; margin: 0 0 22px; max-width: 560px; }
.esp-promo .note { display: block; margin-top: 12px; }
.esp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.esp-steps li { display: flex; align-items: center; gap: 16px; background: var(--ivory); border: 1px solid var(--stone); padding: 16px 18px; }
.esp-steps b { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--gold); width: 26px; text-align: center; line-height: 1; }
.esp-steps span { font-size: 15px; color: var(--ink2); }
.esp-try { margin-top: 10px; gap: 10px; } .esp-try svg { width: 18px; height: 18px; }
body:not(.esp-on) .esp-try { display: none; }

.esp-box { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1240px, 96vw); height: min(900px, 94vh); padding: 26px 30px 18px; display: flex; flex-direction: column; }
.esp-atras { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 8px 14px; border: 1px solid var(--stone); border-radius: 999px; background: #fff; font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); cursor: pointer; } .esp-atras:hover { border-color: var(--ink); color: var(--ink); }
.esp-head .esp-atras + .eyebrow { display: block; }
.esp-head h3 { font-size: 30px; font-weight: 400; margin: 4px 0 14px; }
.esp-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; }
.esp-stage { min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.esp-panel { min-height: 0; overflow-y: auto; border-left: 1px solid var(--stone); padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.esp-panel h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; }
.esp-panel h4 span { color: var(--muted); letter-spacing: .05em; text-transform: none; font-weight: 400; }
.esp-panel textarea { resize: vertical; min-height: 60px; font-size: 14px; }
.esp-panel label.note { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.esp-drop { flex: 1; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--gold-l); background: var(--sand); cursor: pointer; text-align: center; padding: 30px; transition: background .2s; }
.esp-drop:hover { background: #ebe4d9; } .esp-drop svg { width: 54px; height: 54px; color: var(--gold); }
.esp-drop b { font-family: var(--serif); font-size: 26px; font-weight: 400; } .esp-drop span { color: var(--muted); font-size: 14px; }
.esp-tips { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.esp-view { position: relative; background: var(--sand); display: flex; align-items: center; justify-content: center; min-height: 260px; }
.esp-cmp { position: relative; max-width: 100%; user-select: none; -webkit-user-select: none; }
.esp-cmp img { display: block; max-width: 100%; max-height: calc(min(900px, 94vh) - 410px); width: auto; margin: 0 auto; }
.esp-cmp img.antes { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.esp-cmp:not(.solo)::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.esp-cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.esp-cmp .tag { position: absolute; top: 12px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; background: rgba(22,19,15,.62); color: #fff; padding: 5px 9px; pointer-events: none; }
.esp-cmp .tag.a { left: 12px; } .esp-cmp .tag.d { right: 12px; }
.esp-busy { position: absolute; inset: 0; background: rgba(250,248,244,.86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.esp-busy b { font-family: var(--serif); font-size: 24px; font-weight: 400; } .esp-busy small { color: var(--muted); }
.spin { width: 38px; height: 38px; border: 2px solid var(--stone); border-top-color: var(--gold); border-radius: 50%; animation: espgira 1s linear infinite; }
@keyframes espgira { to { transform: rotate(360deg); } }
.esp-cap { margin: 0; font-size: 12px; color: var(--muted); text-align: center; font-style: italic; }
.esp-acc { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.esp-vers, .esp-fotos { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-bottom: 4px; }
.esp-vers .lbl, .esp-fotos .lbl { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); flex: none; width: 74px; }
.esp-vers button, .esp-fotos .ft button:first-child { position: relative; flex: none; width: 74px; height: 56px; padding: 0; border: 1px solid var(--stone); background: var(--sand); cursor: pointer; overflow: hidden; }
.esp-vers button img, .esp-fotos .ft img { width: 100%; height: 100%; object-fit: cover; }
.esp-vers button.on, .esp-fotos .ft.on button:first-child { outline: 2px solid var(--gold); outline-offset: 1px; }
.esp-vers em { position: absolute; left: 0; right: 0; bottom: 0; font-style: normal; font-size: 10px; background: rgba(22,19,15,.6); color: #fff; padding: 1px 0; }
.esp-fotos .ft { position: relative; flex: none; }
.esp-fotos .ft .rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.esp-fotos .ft.add { width: 74px; height: 56px; border: 1px dashed var(--gold-l); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink2); cursor: pointer; text-align: center; }
.esp-sel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.esp-sel li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--stone); background: #fff; padding: 6px 8px; min-width: 0; max-width: 100%; }
.esp-sel .tx em .cu { font-style: normal; font-size: 11px; color: var(--muted); }
/* Visualiza tu espacio: puntos sobre cada mueble del paquete */
.esp-pts { display: flex; justify-content: center; }
.esp-pts-in { position: relative; display: inline-block; line-height: 0; max-width: 100%; }
.esp-pts-in > img { display: block; max-width: 100%; max-height: calc(min(900px, 94vh) - 410px); width: auto; }
.esp-hs { z-index: 2; } .esp-hs.on i { background: var(--gold); } .esp-hs.on i::after { background: #fff; }
.esp-hs-pop { position: absolute; z-index: 3; width: 250px; transform: translate(18px, -16px); background: var(--ivory); box-shadow: 0 14px 40px rgba(22,19,15,.28); padding: 12px 14px 10px; line-height: 1.35; display: grid; grid-template-columns: 46px 1fr; gap: 2px 10px; align-items: center; }
.esp-hs-pop.izq { transform: translate(calc(-100% - 18px), -16px); } .esp-hs-pop.arr { transform: translate(18px, calc(-100% + 16px)); } .esp-hs-pop.izq.arr { transform: translate(calc(-100% - 18px), calc(-100% + 16px)); }
.esp-hs-pop .th { grid-row: span 2; width: 46px; height: 46px; background: var(--sand); } .esp-hs-pop .th img { width: 100%; height: 100%; object-fit: contain; }
.esp-hs-pop b { font-family: var(--serif); font-weight: 500; font-size: 17px; padding-right: 16px; } .esp-hs-pop small { color: var(--muted); font-size: 12px; }
.esp-hs-pop .bt { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 8px; } .esp-hs-pop .bt .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
.esp-hs-pop .ln { grid-column: 1 / -1; border: 0; background: none; padding: 6px 0 0; font: inherit; font-size: 12px; text-decoration: underline; color: var(--ink2); cursor: pointer; text-align: left; }
.esp-hs-pop .x { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.esp-pts-ayuda { position: absolute; left: 10px; bottom: 10px; line-height: 1.3; font-size: 11px; letter-spacing: .08em; background: rgba(22,19,15,.62); color: #fff; padding: 5px 9px; pointer-events: none; }
.esp-mk .esp-pts-in canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.esp-mk-panel { margin-top: 12px; display: grid; gap: 8px; } .esp-mk-panel .tools { display: flex; gap: 8px; flex-wrap: wrap; } .esp-mk-panel .tools .btn { flex: 1; }
.esp-mk-panel textarea { border-color: #7B3FF2; } .esp-mk-panel .note { margin: 0; }
.esp-acc [data-esp-mk] { order: -1; }
.eb-pq figure.ver { cursor: zoom-in; } .eb-pq figure.ver img { transition: transform .6s; } .eb-pq figure.ver:hover img { transform: scale(1.03); }
.eb-esp h4 .eb-ok { order: 3; font: 600 11px var(--eb-tx); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--eb); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.eb-res-fin { position: sticky; bottom: -34px; margin: 30px -30px -34px; padding: 16px 30px 20px; background: var(--eb-dd); color: var(--eb-arena); display: flex; align-items: center; gap: 18px; box-shadow: 0 -10px 30px rgba(40,46,34,.25); z-index: 4; }
.eb-res-fin .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .eb-res-fin .eb-ey { color: rgba(238,230,217,.75); }
.eb-res-fin b { font: 400 24px var(--eb-tit); letter-spacing: .02em; } .eb-res-fin small { font-size: 12px; opacity: .8; }
.eb-res-fin .btn { flex: none; border-radius: 999px; background: var(--eb-arena); color: var(--eb-dd); border-color: var(--eb-arena); padding-left: 22px; padding-right: 22px; } .eb-res-fin .btn:hover { background: #fff; }
@media (max-width: 760px) { .eb-res-fin { flex-direction: column; align-items: stretch; margin: 24px -16px -28px; padding: 14px 16px 18px; bottom: -28px; } .eb-res-fin b { font-size: 19px; } .eb-res-fin small, .eb-res-fin .eb-ey { display: none; } .eb-res-fin { gap: 10px; } }
.esp-pk-head h4.cb span { display: block; margin-top: 3px; }
@media (max-width: 760px) { .esp-pts-in > img { max-height: 62vh; } .esp-hs-pop, .esp-hs-pop.izq, .esp-hs-pop.arr, .esp-hs-pop.izq.arr { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; transform: none; } .esp-hs-pop .bt .btn { font-size: 10.5px; } .esp-pts-ayuda { display: none; } }
.esp-q { display: inline-flex; align-items: center; gap: 0; margin-top: 4px; border: 1px solid var(--stone); width: max-content; } .esp-q button { width: 28px; height: 26px; border: 0; background: #fff; font: inherit; font-size: 15px; cursor: pointer; } .esp-q button:disabled { opacity: .35; cursor: default; } .esp-q b { min-width: 26px; text-align: center; font-size: 13px; font-weight: 600; }
.esp-sel li.empty { color: var(--muted); font-size: 13px; justify-content: center; padding: 18px; background: transparent; border-style: dashed; }
.esp-sel .th, .esp-pk .th { width: 52px; height: 52px; flex: none; background: var(--sand); }
.esp-sel .th img, .esp-pk .th img { width: 100%; height: 100%; object-fit: contain; }
.esp-sel .tx, .esp-pk .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; overflow: hidden; } .esp-sel .tx > *, .esp-pk .tx > * { min-width: 0; max-width: 100%; }
.esp-sel .tx b { font-weight: 500; font-size: 14px; cursor: pointer; } .esp-sel .tx small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esp-sel .tx em { font-style: normal; font-size: 13px; }
.esp-sel .rm { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--stone); background: var(--ivory); color: var(--ink2); font: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; cursor: pointer; }
.esp-sel .rm:hover { border-color: var(--sale); color: var(--sale); } .esp-sel .rm svg { width: 14px; height: 14px; }
.esp-chg { color: var(--gold); margin: 0; }
.esp-rest { font-size: 12.5px; color: var(--muted); margin: 0; text-align: center; } .esp-rest.no { color: var(--sale); }
.esp-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--stone); padding-top: 12px; margin-top: 4px; }
.esp-total b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.esp-panel .help { margin-top: 2px; text-align: center; }
.esp-pk-head { display: flex; justify-content: space-between; align-items: center; } .esp-pk-head h4 { display: block; }
.esp-pk-tools { display: grid; gap: 8px; } .esp-pk-tools .sel { width: 100%; }
.esp-pk { display: grid; gap: 6px; overflow-y: auto; min-height: 0; flex: 1; align-content: start; }
.esp-pk .pk { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--stone); background: #fff; padding: 6px 8px; cursor: pointer; font: inherit; color: inherit; }
.esp-pk .pk b { font-weight: 400; font-size: 13.5px; } .esp-pk .pk small { color: var(--muted); font-size: 12px; }
.esp-pk .pk.on { border-color: var(--gold); background: #fbf6ec; }
.esp-pk .ck { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--stone); display: flex; align-items: center; justify-content: center; flex: none; color: var(--ink2); }
.esp-pk .pk.on .ck { background: var(--gold); border-color: var(--gold); color: #fff; }
.esp-priv { margin: 12px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; font-weight: 300; } .esp-priv a { color: var(--ink2); }
@media (max-width: 900px) {
  .esp-promo-in { grid-template-columns: 1fr; gap: 28px; padding: 48px 20px; }
  .esp-box { top: auto; bottom: 0; transform: translateX(-50%); width: 100vw; height: 96vh; padding: 20px 16px calc(14px + env(safe-area-inset-bottom)); overflow-y: auto; display: block; }
  .esp-head h3 { font-size: 25px; padding-right: 40px; }
  .esp-grid { display: block; }
  .esp-stage { overflow: visible; }
  .esp-panel { overflow: visible; border-left: 0; padding-left: 0; border-top: 1px solid var(--stone); padding-top: 16px; margin-top: 14px; }
  .esp-cmp img { max-height: 62vh; }
  .esp-drop { min-height: 240px; }
  .esp-pk { max-height: 55vh; }
}

/* Modo Entrebosques (armado de paquetes) */
.esp-eb { display: grid; gap: 10px; max-height: 62vh; overflow-y: auto; }
.esp-eb h4 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.esp-eb-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.esp-eb-g button { padding: 0; font: inherit; border: 1px solid var(--stone); background: #fff; cursor: pointer; text-align: left; }
.esp-eb-g button.on { outline: 2px solid var(--gold); outline-offset: 1px; }
.esp-eb-g img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.esp-eb-g span { display: block; font-size: 12px; padding: 5px 7px; color: var(--ink2); }
.esp-eb h4 small { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.esp-eb h5 { margin: 4px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.esp-eb .note { margin: 0; font-size: 13px; color: var(--muted); }
.esp-eb-mas summary { cursor: pointer; font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Entrebosques de Mayakoba: botón verde y apartado de paquetes (Manual de Imagen de Entre Bosques) ---------- */
/* Top Luxury (títulos del manual de Entre Bosques), armada del subconjunto del manual con los acentos compuestos.
   Lo que no trae (¿ ? , % $) lo pone Marcellus, letra por letra. */
@font-face { font-family: "EB Titulos"; src: url(/entrebosques/marca/eb-titulos.woff2?v=1) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { --eb: #757F64; --eb-d: #5B6450; --eb-dd: #464E3C; --eb-cafe: #615246; --eb-piedra: #B7B1A9; --eb-arena: #EEE6D9; --eb-r: #A8341F; --eb-tit: "EB Titulos", "Marcellus", var(--serif); --eb-tx: "Mulish", var(--sans); }
.nav-eb { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 26px 0 16px; border-radius: 999px; border: 1px solid rgba(238,230,217,.4); font: 400 14px var(--eb-tit); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: var(--eb-arena); background: radial-gradient(120% 170% at 15% 0%, #8E987C 0%, var(--eb) 42%, var(--eb-d) 100%); box-shadow: 0 3px 12px rgba(70,78,60,.35), inset 0 1px 0 rgba(255,255,255,.16); cursor: pointer; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.nav-eb[hidden] { display: none; }
.nav-eb::after { content: ""; position: absolute; top: -20%; left: -60%; width: 40%; height: 140%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(238,230,217,.32) 50%, transparent); transform: skewX(-20deg); animation: eb-luz 6s ease-in-out 2s infinite; }
.nav-eb::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(117,127,100,.55); animation: eb-halo 6s ease-out 2.4s infinite; }
.nav-eb:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(70,78,60,.45), 0 0 0 4px rgba(117,127,100,.2), inset 0 1px 0 rgba(255,255,255,.16); }
.eb-hoja { width: 22px; height: 22px; flex: none; display: block; transform-origin: 6% 94%; animation: eb-brota 1.7s cubic-bezier(.45,0,.15,1) .3s both, eb-viento 5.5s ease-in-out 2.4s infinite; }
.nav-eb:hover .eb-hoja { animation: eb-viento 1.5s ease-in-out infinite; }
@keyframes eb-brota { from { clip-path: circle(0% at 4% 96%); transform: rotate(-12deg) scale(.85); } to { clip-path: circle(150% at 4% 96%); transform: none; } }
@keyframes eb-viento { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-5deg) skewX(3deg); } 62% { transform: rotate(2deg); } }
@keyframes eb-luz { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes eb-halo { 0% { box-shadow: 0 0 0 0 rgba(117,127,100,.5); } 40%, 100% { box-shadow: 0 0 0 12px rgba(117,127,100,0); } }
@media (prefers-reduced-motion: reduce) { .nav-eb::after, .nav-eb::before { display: none; } .eb-hoja { animation: none; } }
.top-in .nav-eb { margin-right: 12px; }
@media (max-width: 760px) { .nav-eb { padding: 0; width: 42px; justify-content: center; } .nav-eb span { display: none; } .top-in .nav-eb { margin-right: 6px; } }

.eb-box { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1240px, 96vw); height: min(900px, 94vh); padding: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--eb-arena); color: var(--eb-cafe); font-family: var(--eb-tx); }
.eb-box h3, .eb-box h4 { font-family: var(--eb-tit); font-weight: 400; color: var(--eb-dd); letter-spacing: .01em; }
.eb-body { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 30px 34px; }
@keyframes eb-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.eb-ey { display: block; font: 400 12.5px var(--eb-tit); letter-spacing: .28em; text-transform: uppercase; color: var(--eb); }
.esp-eb-mad .sw { width: 12px; height: 12px; border-radius: 50%; background: var(--veta); box-shadow: 0 0 0 2px #FBF8F3, 0 0 0 3px var(--veta); }
.eb-madchip { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid rgba(97,82,70,.2); border-radius: 999px; background: #FBF8F3; cursor: pointer; font: inherit; color: var(--eb-cafe); transition: border-color .2s; }
.eb-madchip:hover { border-color: var(--eb); } .eb-madchip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.eb-madchip span { display: flex; flex-direction: column; text-align: left; line-height: 1.15; } .eb-madchip small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; } .eb-madchip b { font-family: var(--eb-tit); font-weight: 400; font-size: 19px; color: var(--eb-dd); }
.eb-madchip em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--eb); margin-left: 6px; }
.eb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.eb-chip { font: 600 11px var(--eb-tx); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border: 1px solid rgba(97,82,70,.22); border-radius: 999px; background: #FBF8F3; color: var(--eb-cafe); cursor: pointer; }
.eb-chip:hover { border-color: var(--eb); }
.eb-chip.on { background: var(--eb-cafe); color: var(--eb-arena); border-color: var(--eb-cafe); }
.eb-chip.on.t-recomendado { background: var(--eb-dd); border-color: var(--eb-dd); } .eb-chip.on.t-vendido { background: var(--gold); border-color: var(--gold); color: #fff; } .eb-chip.on.t-vecinos { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.eb-pronto { margin: 0; padding: 18px; border: 1px dashed rgba(97,82,70,.3); border-radius: 16px; color: var(--eb-cafe); opacity: .85; font-size: 14px; text-align: center; }
.eb-esp { margin-top: 26px; } .eb-esp h4 { font-size: 25px; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; } .eb-esp h4::after { content: ""; flex: 1; height: 1px; background: rgba(97,82,70,.18); }
.eb-pqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.eb-pq { background: #FBF8F3; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(97,82,70,.08); }
.eb-pq figure { position: relative; margin: 0; aspect-ratio: 3/2; background: var(--eb-piedra); overflow: hidden; } .eb-pq figure img { width: 100%; height: 100%; object-fit: cover; }
.eb-tags { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 75%; }
.eb-tag { font: 600 10.5px var(--eb-tx); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; line-height: 1.35; }
.eb-tag.t-recomendado { background: var(--eb-dd); color: var(--eb-arena); } .eb-tag.t-vendido { background: var(--gold); color: #fff; } .eb-tag.t-vecinos { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); } .eb-tag.t-precio { background: var(--eb-r); color: #fff; }
.eb-tag.t-cero { background: rgba(251,248,243,.92); color: var(--eb-dd); }
.eb-cero { border: 1.5px dashed rgba(117,127,100,.45); background: transparent; box-shadow: none; } .eb-cero figure img { filter: saturate(.92); }
.eb-cero-tx { padding: 14px 16px 0; } .eb-cero-tx b { font: 400 19px var(--eb-tit); color: var(--eb-dd); } .eb-cero-tx p { margin: 4px 0 0; font-size: 13.5px; color: var(--eb-cafe); line-height: 1.5; }
.eb-esp .eb-pronto + .eb-pqs { margin-top: 12px; }
.eb-ej { position: absolute; right: 10px; bottom: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(22,19,15,.65); color: #fff; padding: 4px 7px; }
.eb-items { list-style: none; margin: 0; padding: 14px 16px 4px; display: grid; gap: 8px; }
.eb-items li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.eb-items .th { width: 46px; height: 46px; flex: none; background: #fff; border-radius: 8px; overflow: hidden; } .eb-items .th img { width: 100%; height: 100%; object-fit: contain; }
.eb-items .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; } .eb-items .tx b { font-weight: 600; font-size: 14px; color: var(--eb-dd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .eb-items .tx small { color: var(--eb-cafe); opacity: .8; font-size: 12px; }
.eb-items em { font-style: normal; font-size: 13px; white-space: nowrap; }
.eb-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 16px 0; font-size: 13px; }
.eb-tot b { font-size: 16px; font-weight: 600; } .eb-tot b.tach { opacity: .6; text-decoration: line-through; font-weight: 400; }
.eb-tot.eb { color: var(--eb-r); } .eb-tot.eb b { font-size: 20px; } .eb-tot small { display: block; color: var(--eb-cafe); opacity: .75; font-size: 11px; }
.eb-acc { display: grid; gap: 8px; padding: 14px 16px 16px; margin-top: auto; }
.eb-acc .btn { border-radius: 999px; } .eb-btn { background: var(--eb); color: var(--eb-arena); border-color: var(--eb); } .eb-btn:hover { background: var(--eb-dd); border-color: var(--eb-dd); }
/* Banners de cada paso (portada del manual: foto + franja verde translúcida) */
.eb-esp h4, .eb-cero-tx b, .eb-madchip b { letter-spacing: .03em; }
.esp-madnote { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #EEE6D9; color: #464E3C; font-size: 13px; line-height: 1.4; } .esp-madnote img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.esp-eb-mad { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--stone); }
.esp-eb-mad > span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.esp-eb-mad button { display: flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border: 1px solid var(--stone); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.esp-eb-mad button img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.esp-eb-mad button.on { border-color: #757F64; background: #757F64; color: #EEE6D9; }
@media (max-width: 760px) { .eb-pqs { grid-template-columns: 1fr; } }

/* =====================================================================================================
   Rediseño 2026 (propuesta visual de Casa Roble, 27 oct 2026): editorial y cálido, madera protagonista,
   acento oliva. Sólo transform/opacity en animaciones; todo respeta prefers-reduced-motion.
   ===================================================================================================== */
:root {
  --ivory: #FAF8F4; --cream: #F3EEE6; --sand: #EEE7DC; --stone: #E2D9CC; --ink: #1B1712; --ink2: #3D362F; --muted: #7F756A;
  --olive: #3F4733; --olive-2: #565F45; --walnut: #6B4630; --gold: #A8853F; --gold-l: #D9BF8A;
  --r: 2px; --t-fast: .18s; --t-med: .32s; --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1360px;
}
body { background: var(--ivory); }
.wrap { max-width: var(--max); padding: 0 32px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ar { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease); }
a:hover > .ar, button:hover > .ar, .btn:hover .ar, .lnk:hover .ar { transform: translateX(4px); }
.btn { border-radius: var(--r); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn:active { transform: translateY(1px); }
.btn svg:not(.ar) { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn.dark { background: var(--ink); } .btn.dark:hover { background: var(--olive); }
.btn.light { background: var(--ivory); color: var(--ink); } .btn.light:hover { background: #fff; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink2); padding-bottom: 4px; border-bottom: 1px solid var(--stone); transition: color var(--t-fast), border-color var(--t-fast); white-space: nowrap; }
.lnk:hover { color: var(--ink); border-color: var(--gold); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 400; line-height: 1.08; }
.sec-head .eyebrow { margin-bottom: 6px; }

/* encabezado */
.announce { background: var(--ink); color: var(--gold-l); text-align: center; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; padding: 8px 12px; }
.top { position: sticky; top: 0; z-index: 40; background: rgba(250,248,244,.96); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--stone); transition: box-shadow var(--t-med); }
.top.bajo { box-shadow: 0 8px 24px rgba(27,23,18,.07); }
.top-in { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { flex: none; } .brand img { height: 34px; width: auto; }
.tagline { flex: 1; margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink2); }
.top-acts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.top-in > .btn { margin-left: auto; }
.ic { display: inline-grid; place-items: center; position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background var(--t-fast); }
.ic:hover { background: var(--sand); } .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
.cart-btn span { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--ivory); font-size: 10.5px; display: grid; place-items: center; }
.cart-btn.late { animation: late .5s var(--ease); }
@keyframes late { 0% { transform: scale(1); } 35% { transform: scale(1.18); } 100% { transform: scale(1); } }
.top-cats { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px clamp(14px, 1.6vw, 26px); max-width: var(--max); margin: 0 auto; padding: 0 32px 12px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink2); border: 0; }
.top-cats a, .top-dd { position: relative; padding: 6px 0; text-decoration: none; white-space: nowrap; }
.top-cats a::after, .top-dd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.top-cats a:hover::after, .top-dd:hover::after, .dd.open .top-dd::after { transform: scaleX(1); }
.dd-menu { border-radius: var(--r); }
.dd.open .dd-menu { animation: baja var(--t-fast) var(--ease); }
@keyframes baja { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.top-in .nav-eb { margin-right: 6px; }

/* portada */
.hero { background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(360px, .82fr) 1.5fr; max-width: 1600px; margin: 0 auto; }
.hero-tx { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 56px 48px max(32px, calc((min(100vw, 1600px) - var(--max)) / 2 + 32px)); }
.hero-tx h1 { font-size: clamp(46px, 5.2vw, 76px); line-height: .98; font-weight: 400; letter-spacing: -.01em; margin: 14px 0 18px; }
.hero-tx p { margin: 0 0 28px; max-width: 380px; color: var(--ink2); font-size: 16px; line-height: 1.65; font-weight: 300; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--ink2); text-decoration: none; }
.hero-wa svg:first-child { width: 18px; height: 18px; color: #2f8f55; } .hero-wa:hover { color: var(--ink); }
.hero-wa .ar { width: 14px; height: 14px; }
.hero-tx > * { animation: sube .7s var(--ease) both; } .hero-tx > :nth-child(2) { animation-delay: .08s; } .hero-tx > :nth-child(3) { animation-delay: .16s; } .hero-tx > :nth-child(4) { animation-delay: .24s; } .hero-tx > :nth-child(5) { animation-delay: .32s; }
@keyframes sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.hero-sl { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s .55s; }
.hero-sl.on { opacity: 1; visibility: visible; transition: opacity .55s ease; }
.hero-sl picture, .hero-sl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-sl img { transform: scale(1.035); transition: transform 7s ease-out; }
.hero-sl.on img { transform: scale(1); }
.hero-sl figcaption { position: absolute; left: 22px; bottom: 20px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #fff; background: rgba(27,23,18,.45); padding: 6px 10px; border-radius: var(--r); }
.hs { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; transform: translate(-14px, -14px); padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.hs i { width: 28px; height: 28px; border-radius: 50%; background: rgba(250,248,244,.95); box-shadow: 0 2px 10px rgba(27,23,18,.2); display: grid; place-items: center; flex: none; position: relative; transition: transform var(--t-fast); }
.hs i::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.hs i::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #fff; opacity: 0; animation: hs-pulso 2.8s ease-out infinite; }
@keyframes hs-pulso { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.hs span { background: var(--ivory); padding: 9px 14px; box-shadow: 0 8px 22px rgba(27,23,18,.14); line-height: 1.3; white-space: nowrap; border-radius: var(--r); opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); }
.hs.izq { flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -14px); } .hs.izq span { transform: translateX(6px); }
.hs.main span, .hs:hover span, .hs:focus-visible span { opacity: 1; transform: none; }
.hs:hover i { transform: scale(1.12); }
.hs span b { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.hs span em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.hero-nav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%; background: rgba(250,248,244,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(27,23,18,.14); transition: background var(--t-fast), transform var(--t-fast); }
.hero-nav:hover { background: #fff; transform: scale(1.06); } .hero-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-nav.prev { left: 18px; } .hero-nav.next { right: 18px; }
.hero-dots { position: absolute; left: 50%; bottom: 20px; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.6); cursor: pointer; transition: width var(--t-med) var(--ease), background var(--t-fast); }
.hero-dots button.on { width: 26px; background: #fff; }
.hero-nota { max-width: var(--max); margin: 0 auto; padding-top: 8px; padding-bottom: 8px; text-align: right; font-size: 11px; color: var(--muted); }

/* beneficios */
.values { background: var(--ivory); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.values-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.values-in > div { display: flex; align-items: center; gap: 14px; padding: 4px 22px; border-left: 1px solid var(--stone); } .values-in > div:first-child { border-left: 0; padding-left: 0; }
.values-in svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--walnut); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.values-in p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.values-in b { font-family: var(--serif); font-size: 19px; font-weight: 500; } .values-in span { color: var(--muted); font-size: 12.5px; font-weight: 300; }

/* categorías */
.cats-sec { padding-top: 64px; }
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border: 0; padding: 0; background: var(--sand); cursor: pointer; border-radius: var(--r); color: #fff; text-align: left; font: inherit; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,23,18,0) 55%, rgba(27,23,18,.55)); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile span { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; }
.cat-tile b { font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; }
.cat-tile i { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
.cat-tile:hover i { background: #fff; color: var(--ink); } .cat-tile:hover .ar { transform: translateX(2px); }
.cat-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-more button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--stone); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: var(--ink2); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.cat-more button:hover { border-color: var(--ink2); } .cat-more em { font-style: normal; font-size: 11.5px; color: var(--muted); }

/* tu espacio con IA */
.ia { margin-top: 72px; background: var(--sand); }
.ia-in { display: grid; grid-template-columns: .9fr 1.25fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.ia-tx h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 400; line-height: 1.06; margin: 10px 0 22px; }
.ia-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.ia-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ia-steps svg { width: 26px; height: 26px; flex: none; margin-top: 2px; fill: none; stroke: var(--walnut); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ia-steps span { font-size: 14px; color: var(--muted); line-height: 1.5; } .ia-steps b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.ia-tx .note { margin-top: 14px; max-width: 420px; }
.ia-cmp { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); user-select: none; -webkit-user-select: none; box-shadow: 0 20px 50px rgba(27,23,18,.12); }
.ia-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ia-cmp img.antes { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ia-cmp .bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ia-cmp .bar i { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(27,23,18,.2); }
.ia-cmp .bar svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ia-cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ia-cmp .tag { position: absolute; top: 14px; z-index: 1; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgba(27,23,18,.55); color: #fff; padding: 5px 9px; border-radius: var(--r); pointer-events: none; }
.ia-cmp .tag.a { left: 14px; } .ia-cmp .tag.d { right: 14px; }

/* piezas favoritas y colección */
.feat { padding-top: 72px; }
.feat-grid { grid-template-columns: repeat(4, 1fr); padding-top: 0; }
.block { padding-top: 72px; }
.row-head { border-bottom: 1px solid var(--stone); padding-bottom: 18px; margin-bottom: 0; }
.block-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.search-w { position: relative; display: inline-flex; align-items: center; }
.search-w svg { position: absolute; left: 0; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.search-w .search { padding-left: 28px; }
.grid { gap: 44px 22px; }
.card .im { aspect-ratio: 1 / .92; background: #F2EDE5; border-radius: var(--r); }
.card .im img { transition: transform .5s var(--ease); }
.card:hover .im img { transform: scale(1.03); }
.card .code { display: flex; align-items: center; gap: 8px; }
.card .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--w); box-shadow: 0 0 0 1px rgba(27,23,18,.12); }
.card .nm { font-size: 21px; transition: color var(--t-fast); } .card .nm:hover { color: var(--walnut); }
.card .ver { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0 0 3px; border: 0; border-bottom: 1px solid var(--stone); background: none; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); cursor: pointer; }
.card .ver:hover { color: var(--ink); border-color: var(--gold); } .card .ver .ar { width: 13px; height: 13px; }
.add { border-radius: var(--r); transition: background var(--t-fast), color var(--t-fast); }
.chips { padding-top: 22px; }

/* asesoría */
.advice-w { padding-top: 80px; padding-bottom: 80px; }
.advice { display: flex; align-items: center; gap: 28px; padding: 34px 44px; background: var(--olive); color: var(--cream); border-radius: var(--r); position: relative; overflow: hidden; }
.advice::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%); pointer-events: none; }
.advice-wa { width: 44px; height: 44px; flex: none; color: var(--gold-l); }
.advice > div { flex: 1; } .advice h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; margin: 0 0 6px; color: #fff; }
.advice p { margin: 0; color: #D7D2C4; font-weight: 300; font-size: 14.5px; line-height: 1.6; max-width: 620px; }
.advice .btn { flex: none; }

/* pie */
.foot { background: var(--cream); color: var(--ink2); border-top: 1px solid var(--stone); }
.foot h4 { color: var(--ink); } .foot a { color: var(--ink2); } .foot a:hover { color: var(--walnut); }
.foot-legal { border-top-color: var(--stone); color: var(--muted); }
.foot-brand p { color: var(--muted); max-width: 280px; }

/* aparición al hacer scroll */
.rv-on [data-rv] { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rv-on [data-rv].in { opacity: 1; transform: none; }
.rv-on .cat-tiles .cat-tile { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv-on [data-rv].in .cat-tile { opacity: 1; transform: none; } .rv-on [data-rv].in .cat-tile:nth-child(2) { transition-delay: .08s; } .rv-on [data-rv].in .cat-tile:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .hero-tx > *, .cart-btn.late { animation: none; } .hs i::before { animation: none; }
  .hero-sl, .hero-sl img, .cat-tile img, .card .im img, .dd-menu { transition: none; } .hero-sl img { transform: none; }
}

/* tableta */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1.3fr; }
  .hero-tx { padding: 40px 32px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .ia-in { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .tagline { display: none; }
  .top-in { gap: 10px; padding-top: 10px; padding-bottom: 10px; } .brand img { height: 30px; }
  .top-cats { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 18px; background: var(--ivory); border-bottom: 1px solid var(--stone); box-shadow: 0 18px 30px rgba(27,23,18,.1); max-height: calc(100vh - 120px); overflow-y: auto; font-size: 13px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s var(--t-fast); }
  .top.menu-on .top-cats { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-fast), transform var(--t-fast); }
  .top-cats > a, .top-cats > .dd { border-bottom: 1px solid var(--stone); } .top-cats a, .top-dd { display: flex; justify-content: space-between; width: 100%; padding: 14px 0; }
  .top-cats a::after, .top-dd::after { display: none; }
  .top-cats .dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 10px; min-width: 0; background: transparent; }
  .top-cats .dd.open .dd-menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tx { order: 2; align-items: stretch; text-align: left; padding: 26px 20px 22px; }
  .hero-tx > .eyebrow { align-self: flex-start; }
  .hero-tx h1 br { display: none; } .hero-tx h1 { font-size: 40px; margin: 10px 0 10px; } .hero-tx p { margin-bottom: 20px; }
  .hero-btns .btn { flex: 1 1 100%; padding: 15px; }
  .hero-wa { justify-content: center; }
  .hero-stage { order: 1; }
  .hero-nota { text-align: left; padding: 0 20px 10px; }
  .hero-nav { width: 36px; height: 36px; margin-top: -18px; } .hero-nav.prev { left: 10px; } .hero-nav.next { right: 10px; }
  .hs span b { font-size: 10px; } .hs span em { font-size: 11.5px; } .hs span { padding: 7px 10px; }
  .hs:not(.main) span { display: none; } .hs i { width: 24px; height: 24px; }
  .values-in { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .values-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .cats-sec { padding-top: 48px; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat-tile span { left: 12px; right: 12px; bottom: 12px; } .cat-tile b { font-size: 11px; letter-spacing: .18em; } .cat-tile i { width: 28px; height: 28px; } .cat-tile .ar { width: 13px; height: 13px; }
  .ia { margin-top: 52px; } .ia-in { padding-top: 44px; padding-bottom: 44px; }
  .feat { padding-top: 52px; } .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .advice { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 16px; } .advice .btn { width: 100%; }
  .advice-w { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; } .hero-sl figcaption { display: none; }
  .top-cats { padding-left: 16px; padding-right: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .announce { font-size: 9.5px; letter-spacing: .14em; }
  .hero-nota { font-size: 10.5px; }
  .values-in > div { padding: 2px 8px 2px 0; border-left: 0; gap: 10px; } .values-in svg { width: 24px; height: 24px; } .values-in b { font-size: 16px; } .values-in span { font-size: 11.5px; }
  .cat-tiles { grid-template-columns: 1fr 1fr 1fr; } .cat-tile { aspect-ratio: 3 / 4; }
  .cat-tile i { display: none; }
  .ia-steps span { font-size: 13px; }
  .card .ver { display: none; }
  .feat-grid { gap: 26px 12px; }
}
/* páginas de información (Nosotros, políticas): columna de lectura */
.wrap.doc { max-width: 820px; padding-top: 46px; padding-bottom: 80px; }
.top-in > .btn.dark { margin-left: auto; }
@media (max-width: 1440px) { .top-cats { letter-spacing: .1em; font-size: 10.5px; gap: 4px 18px; } }

/* ---------- Entrebosques · rediseño 2026 ("Tu casa. Tu modelo. Tu madera.", 28 oct 2026) ----------
   Página completa dentro de la hoja: portada, barra de pasos fija y 4 pasos en una sola lectura.
   Se usa la marca de Entre Bosques (verde, café, arena, Top Luxury) sobre el marfil de Casa Roble. */
.ebx .eb-box { inset: 0; left: 0; top: 0; transform: none; width: 100%; height: 100%; border-radius: 0; background: #F7F3EC; }
.ebx-top { flex: none; display: flex; align-items: center; gap: 14px; padding: 12px clamp(16px, 4vw, 48px); background: #FBF8F3; border-bottom: 1px solid rgba(97,82,70,.14); }
.ebx-cr { height: 30px; width: auto; } .ebx-eb { height: 30px; width: auto; } .ebx-x { color: var(--eb-piedra); font-size: 18px; }
.ebx-top .x { position: static; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; background: var(--eb-arena); color: var(--eb-dd); font-size: 22px; }
.ebx-top .x:hover { background: var(--eb-piedra); }
.ebx-body { padding: 0; scroll-behavior: auto; }
.ebx-pag { --pad: clamp(16px, 4vw, 48px); }
.ebx-ey { display: block; font: 400 13px var(--eb-tit); letter-spacing: .42em; text-transform: uppercase; color: var(--eb); }

/* portada */
.ebx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 380px; background: #2F3527; color: var(--eb-arena); overflow: hidden; }
.ebx-hero-tx { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: 48px var(--pad); }
.ebx-hero-tx::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(47,53,39,.97), rgba(47,53,39,.92)), url(/entrebosques/texturas/follaje.webp) center / cover; }
.ebx-hero .ebx-ey { color: rgba(238,230,217,.75); }
.ebx-hero h2 { font: 400 clamp(36px, 4.2vw, 60px) / 1.05 var(--eb-tit); letter-spacing: .01em; margin: 14px 0 16px; color: #F4EEE4; }
.ebx-hero p { margin: 0 0 28px; max-width: 470px; font-size: 16px; line-height: 1.6; color: rgba(238,230,217,.85); }
.ebx-ben { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ebx-ben li { display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 12.5px; line-height: 1.35; color: rgba(238,230,217,.9); border-left: 1px solid rgba(238,230,217,.22); }
.ebx-ben li:first-child { padding-left: 0; border-left: 0; }
.ebx-ben svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.ebx-hero-f { position: relative; margin: 0; min-height: 300px; overflow: hidden; }
.ebx-hero-f img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ebx-hero-f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,53,39,.55), rgba(47,53,39,0) 30%, rgba(30,26,20,0) 70%, rgba(30,26,20,.35)); }
.ebx-hero-logo { position: absolute; z-index: 1; right: 6%; top: 50%; width: min(150px, 24%); transform: translateY(-50%); filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }

/* barra de pasos */
.ebx-prog { position: sticky; top: 0; z-index: 6; background: rgba(251,248,243,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(97,82,70,.14); }
.ebx-prog ol { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); }
.ebx-prog button { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 6px; border: 0; background: none; font: 400 16px var(--eb-tit); letter-spacing: .02em; color: var(--eb-cafe); cursor: pointer; }
.ebx-prog button:disabled { cursor: default; opacity: .45; }
.ebx-prog button::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; background: var(--eb-dd); transform: scaleX(0); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.ebx-prog .on button { color: var(--eb-dd); } .ebx-prog .on button::after { transform: scaleX(1); }
.ebx-prog i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(97,82,70,.35); font: 600 12px var(--eb-tx); font-style: normal; transition: background .3s, color .3s, border-color .3s; }
.ebx-prog .on i { background: var(--eb-dd); border-color: var(--eb-dd); color: var(--eb-arena); }
.ebx-prog .ok i { background: var(--eb); border-color: var(--eb); color: #fff; }
.ebx-prog i svg, .chk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ebx-prog button:not(:disabled):hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* pasos */
.ebx-paso { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; max-width: 1240px; margin: 0 auto; padding: 38px var(--pad); border-bottom: 1px solid rgba(97,82,70,.12); scroll-margin-top: 70px; transition: opacity .45s; }
.ebx-paso-tx h3 { font: 400 30px / 1.15 var(--eb-tit); color: var(--eb-dd); margin: 0 0 10px; letter-spacing: .01em; }
.ebx-paso-tx h3 span { color: var(--eb); }
.ebx-paso-tx p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--eb-cafe); }
.ebx-paso-tx .ebx-nota { margin-top: 14px; display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--eb-arena); font-size: 12.5px; color: var(--eb-dd); }
.ebx-paso.bloq .ebx-paso-c { opacity: .42; filter: saturate(.6); pointer-events: none; }
.chk { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #FBF8F3; color: var(--eb-dd); border: 1.5px solid var(--eb-dd); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .35s cubic-bezier(.3,1.5,.5,1); }
.on > .ph .chk, .on .ph .chk { opacity: 1; transform: none; }

/* 1 · modelos */
.ebx-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ebx-mod { position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid rgba(97,82,70,.16); border-radius: 6px; overflow: hidden; background: #FBF8F3; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .3s; }
.ebx-mod:hover { box-shadow: 0 14px 30px rgba(70,78,60,.16); transform: translateY(-2px); }
.ebx-mod.on { border-color: var(--eb-dd); box-shadow: 0 0 0 1.5px var(--eb-dd), 0 14px 30px rgba(70,78,60,.16); }
.ebx-mod .ph, .ebx-niv .ph { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--eb-piedra); }
.ebx-mod .ph img, .ebx-niv .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ebx-mod:hover .ph img, .ebx-niv:not(:disabled):hover .ph img { transform: scale(1.04); }
.ebx-mod .tx { display: flex; flex-direction: column; gap: 2px; padding: 14px 40px 14px 16px; }
.ebx-mod b { font: 400 22px var(--eb-tit); color: var(--eb-dd); letter-spacing: .02em; }
.ebx-mod small { font-size: 12.5px; color: var(--eb-cafe); opacity: .85; }
.ebx-mod .ir { position: absolute; right: 16px; bottom: 18px; font-size: 22px; line-height: 1; color: var(--eb-dd); transition: transform .3s; }
.ebx-mod:hover .ir { transform: translateX(4px); }

/* 2 · maderas */
.ebx-mads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ebx-mad { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 6px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ebx-mad .ph { position: relative; display: block; width: 100%; aspect-ratio: 16 / 5; margin-bottom: 10px; border-radius: 4px; overflow: hidden; background: var(--veta); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .3s, box-shadow .3s; }
.ebx-mad .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ebx-mad:hover .ph img { transform: scale(1.06); }
.ebx-mad:hover .ph { box-shadow: 0 10px 24px rgba(97,82,70,.22); }
.ebx-mad.on .ph { outline-color: var(--eb-dd); }
.ebx-mad b { font: 400 22px var(--eb-tit); color: var(--eb-dd); letter-spacing: .02em; }
.ebx-mad small { font-size: 12.5px; color: var(--eb-cafe); opacity: .85; }
.ebx-mad .chk { top: 50%; margin-top: -15px; }

/* 3 · niveles */
.ebx-nivs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ebx-niv { position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid rgba(97,82,70,.16); border-radius: 6px; overflow: hidden; background: #FBF8F3; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .3s; }
.ebx-niv:not(:disabled):hover { box-shadow: 0 14px 30px rgba(70,78,60,.16); transform: translateY(-2px); }
.ebx-niv.on { border-color: var(--eb-dd); box-shadow: 0 0 0 1.5px var(--eb-dd), 0 14px 30px rgba(70,78,60,.16); }
.ebx-niv:disabled { cursor: default; }
.ebx-niv.pronto .ph img { filter: grayscale(.65) brightness(.8); }
.ebx-pronto { position: absolute; inset: 0; display: grid; place-items: center; font: 400 15px var(--eb-tit); letter-spacing: .32em; text-transform: uppercase; color: #fff; background: rgba(47,53,39,.38); }
.ebx-niv .tx { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.ebx-niv b { font: 400 22px var(--eb-tit); color: var(--eb-dd); letter-spacing: .02em; }
.ebx-niv p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--eb-cafe); }
.ebx-niv .ebx-inc { font-size: 12px; color: var(--eb); }
.ebx-niv .ebx-desde b { font: 600 15px var(--eb-tx); color: var(--eb-dd); }
.ebx-pronto-t { font-style: italic; opacity: .8; }
.ebx-btn-l { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 14px; border: 1px solid var(--eb-dd); font: 600 11px var(--eb-tx); letter-spacing: .16em; text-transform: uppercase; color: var(--eb-dd); transition: background .25s, color .25s; }
.ebx-niv:not(:disabled):hover .ebx-btn-l, .ebx-niv.on .ebx-btn-l { background: var(--eb-dd); color: var(--eb-arena); }
.ebx-btn-l.inact { border-color: rgba(97,82,70,.3); color: rgba(97,82,70,.6); }
.ebx-pag .ar { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.ebx-niv:not(:disabled):hover .ar { transform: translateX(3px); }

/* 4 · qué incluye y solicitud */
.ebx-det-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ebx-det-h b { display: block; margin-top: 6px; font: 400 26px var(--eb-tit); color: var(--eb-dd); }

/* pie */
.ebx-pie { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.1fr 2fr auto; align-items: center; gap: 28px; padding: 32px var(--pad); background: #EFE8DC; }
.ebx-pie::before { content: ""; position: absolute; left: -40px; top: -30px; width: 240px; height: 240px; z-index: -1; background: url(/entrebosques/marca/simbolo-verde.svg) center / contain no-repeat; opacity: .07; }
.ebx-pie-tx b { display: block; font: 400 28px var(--eb-tit); color: var(--eb-dd); margin-bottom: 6px; }
.ebx-pie-tx p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--eb-cafe); }
.ebx-ben.claro li { color: var(--eb-cafe); border-color: rgba(97,82,70,.2); }
.ebx-pie-acc { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ebx-pie-acc .btn { gap: 10px; border-radius: 3px; padding-left: 26px; padding-right: 26px; background: #2F3527; border-color: #2F3527; }
.ebx-pie-acc a { font-size: 12.5px; color: var(--eb-dd); }

/* entrada */
.ebx-pag.entra .ebx-hero-tx > * { animation: eb-entra .7s cubic-bezier(.2,.7,.2,1) both; }
.ebx-pag.entra .ebx-hero-tx > :nth-child(2) { animation-delay: .08s; } .ebx-pag.entra .ebx-hero-tx > :nth-child(3) { animation-delay: .16s; } .ebx-pag.entra .ebx-hero-tx > :nth-child(4) { animation-delay: .26s; }
.ebx-pag.entra .ebx-hero-f img:first-child { animation: ebx-foto 1.4s cubic-bezier(.2,.7,.2,1) both; }
.ebx-pag.entra .ebx-mods > * { animation: eb-entra .6s cubic-bezier(.2,.7,.2,1) .2s both; } .ebx-pag.entra .ebx-mods > :nth-child(2) { animation-delay: .28s; } .ebx-pag.entra .ebx-mods > :nth-child(3) { animation-delay: .36s; }
@keyframes eb-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ebx-foto { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ebx-pag.entra *, .ebx-pag.entra .ebx-hero-f img:first-child { animation: none !important; }
  .ebx-mod, .ebx-niv, .ebx-mod .ph img, .ebx-niv .ph img, .ebx-mad .ph img, .chk, .ebx-prog button::after { transition: none; }
}
@media (max-width: 1100px) {
  .ebx-paso { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ebx-ben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; } .ebx-ben li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ebx-pie { grid-template-columns: 1fr; }
  .ebx-pie-acc { align-items: flex-start; }
}
@media (max-width: 760px) {
  .ebx-hero { grid-template-columns: 1fr; }
  .ebx-hero-f { order: -1; min-height: 210px; aspect-ratio: 16 / 9; }
  .ebx-hero-tx { padding: 26px 18px 28px; }
  .ebx-hero-logo { width: 96px; }
  .ebx-top { gap: 8px; padding: 10px 12px; } .ebx-cr { height: 24px; } .ebx-eb { height: 22px; min-width: 0; flex: 0 1 auto; } .ebx-top .x { flex: none; width: 38px; height: 38px; }
  .ebx-prog ol { padding: 0 4px; }
  .ebx-prog button { flex-direction: column; gap: 4px; min-height: 64px; font-size: 12px; line-height: 1.15; text-align: center; }
  .ebx-prog button span { display: none; } .ebx-prog .on button span { display: block; }
  .ebx-paso { padding: 26px 16px; scroll-margin-top: 76px; } .ebx-paso-tx h3 { font-size: 25px; }
  .ebx-mods, .ebx-nivs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .ebx-mods::-webkit-scrollbar, .ebx-nivs::-webkit-scrollbar { display: none; }
  .ebx-mod, .ebx-niv { flex: 0 0 78%; scroll-snap-align: start; }
  .ebx-mads { gap: 10px; } .ebx-mad .ph { aspect-ratio: 4 / 3; } .ebx-mad b { font-size: 18px; } .ebx-mad small { font-size: 11.5px; }
  .ebx-mad .chk { top: 8px; margin-top: 0; right: 8px; width: 26px; height: 26px; }
  .ebx-pie { padding: 26px 16px calc(26px + env(safe-area-inset-bottom)); }
  .ebx-ben li { font-size: 12px; }
}
/* Visualiza tu espacio (paquete prediseñado): sólo ver la foto */
.ebx-ver { position: absolute; inset: 0; z-index: 20; display: grid; grid-template-rows: auto 1fr auto; background: #1E1A15; color: var(--eb-arena); opacity: 0; transition: opacity .3s; }
.ebx-ver.on { opacity: 1; }
.ebx-ver-top { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 32px); }
.ebx-ver-top p { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ebx-ver-top b { font: 400 24px var(--eb-tit); letter-spacing: .02em; color: #F4EEE4; } .ebx-ver-top span { font-size: 12.5px; letter-spacing: .08em; opacity: .75; }
.ebx-ver-top .x { position: static; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(238,230,217,.14); color: #fff; font-size: 22px; }
.ebx-ver-img { position: relative; min-height: 0; cursor: zoom-out; }
.ebx-ver-img img { position: absolute; inset: 8px clamp(8px, 3vw, 32px); width: calc(100% - 2 * clamp(8px, 3vw, 32px)); height: calc(100% - 16px); object-fit: contain; }
.ebx-ver-pie { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.ebx-ver-pie .btn { border-radius: 999px; padding-left: 20px; padding-right: 20px; }
.ebx-ver-pie .btn.outline { color: var(--eb-arena); border-color: rgba(238,230,217,.55); background: transparent; } .ebx-ver-pie .btn.outline:hover { background: rgba(238,230,217,.12); }
@media (prefers-reduced-motion: reduce) { .ebx-ver { transition: none; } }

/* Resumen de compra de Entrebosques: al final del paso 4 (no fijo) */
.ebx-carro { padding: 30px var(--pad) 40px; border-bottom: 1px solid rgba(97,82,70,.12); animation: eb-entra .45s cubic-bezier(.2,.7,.2,1) both; }
.ebx-carro-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(230px, auto) minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 16px 18px 16px 24px; border-radius: 10px; background: #2F3527; color: var(--eb-arena); box-shadow: 0 14px 34px rgba(30,34,24,.22); }
.ebx-carro-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ebx-carro-tx .ebx-ey { font-size: 11px; letter-spacing: .3em; color: rgba(238,230,217,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebx-carro-tx b { font: 400 25px / 1.15 var(--eb-tit); letter-spacing: .02em; color: #F4EEE4; white-space: nowrap; } .ebx-carro-tx b i { font-style: normal; opacity: .5; }
.ebx-carro-tx small { font-size: 12px; color: #E9C9A0; white-space: nowrap; }
.ebx-carro-esp { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid rgba(238,230,217,.18); display: flex; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.ebx-carro-esp li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; border: 1px solid rgba(238,230,217,.22); font-size: 12px; color: rgba(238,230,217,.6); white-space: nowrap; }
.ebx-carro-esp li span { width: 14px; height: 14px; border-radius: 50%; border: 1px dashed rgba(238,230,217,.4); }
.ebx-carro-esp li.ok { background: rgba(238,230,217,.12); border-color: rgba(238,230,217,.35); color: #F4EEE4; }
.ebx-carro-esp li svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: var(--eb); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ebx-carro-acc { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ebx-comprar { gap: 10px; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--eb-arena); border-color: var(--eb-arena); color: #2F3527; font-weight: 600; white-space: nowrap; }
.ebx-comprar:hover { background: #fff; border-color: #fff; }
.ebx-cotiza { gap: 8px; min-height: 40px; padding: 0 22px; border-radius: 999px; background: transparent; border-color: rgba(238,230,217,.45); color: var(--eb-arena); font-weight: 500; font-size: 13px; white-space: nowrap; }
.ebx-cotiza:hover { background: rgba(238,230,217,.12); border-color: var(--eb-arena); color: #fff; }
.ebx-cotiza svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ebx-cotiza:disabled { opacity: .6; cursor: wait; }
@media (max-width: 1100px) { .ebx-carro-in { grid-template-columns: minmax(0, 1fr) auto; } .ebx-carro-esp { grid-column: 1 / -1; grid-row: 2; padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(238,230,217,.15); } }
@media (max-width: 600px) {
  .ebx-carro { padding: 22px 16px 28px; }
  .ebx-carro-in { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; }
  .ebx-carro-esp { display: none; }
  .ebx-carro-tx b { font-size: 21px; } .ebx-carro-tx small { white-space: normal; }
  .ebx-comprar, .ebx-cotiza { width: 100%; }
  .ebx-carro-acc { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .ebx-carro { animation: none; } }
/* Carrito con paquetes de Entrebosques: envío e instalación incluidos (sin código postal) */
.box.eb-incl { border-left: 3px solid #757F64; background: #F4F1EA; } .box.eb-incl b { color: #464E3C; font-weight: 600; }
.promo-on .rm { flex: none; border: 1px solid var(--stone); border-radius: 2px; background: transparent; color: var(--ink2); font: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; cursor: pointer; } .promo-on .rm:hover { border-color: var(--sale); color: var(--sale); }
/* Paquetes de Entrebosques en el carrito y resumen del pedido */
.line.paq .im { background: #EEE6D9; } .line.paq b { font-family: var(--serif, inherit); }
.ped-res { border: 1px solid var(--stone); background: #fff; }
.ped-l { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--stone); font-size: 14px; } .ped-l:first-child { border-top: 0; }
.ped-l span { display: flex; flex-direction: column; min-width: 0; } .ped-l b { font-weight: 600; } .ped-l small { color: var(--muted); font-size: 12px; } .ped-l em { font-style: normal; white-space: nowrap; font-weight: 600; }
.eb-btn .eb-quitar { display: block; font-size: 9.5px; letter-spacing: .14em; opacity: .75; margin-top: 2px; }
.eb-acc .eb-btn { flex-direction: column; gap: 0; }
/* Ficha: mismo fondo que la tarjeta para que la foto no se vea en un recuadro */
.pd-main, .pd-thumbs button { background: #F2EDE5; border-radius: var(--r); }
/* Ficha técnica abierta encima de Entrebosques: queda sobre esa ventana y sin botones de compra */
.sheet[data-product].sobre { z-index: 70; }
.sheet[data-product].sobre .pd-acc, .sheet[data-product].sobre .esp-try, .sheet[data-product].sobre .wa-medida-pd { display: none !important; }
.eb-items li[data-eb-ficha] { cursor: pointer; transition: background var(--t-fast, .2s); }
.eb-items li[data-eb-ficha]:hover b { text-decoration: underline; text-underline-offset: 3px; }
/* ---------- Entre Bosques · Ciudad Mayakoba: branding nuevo (Drive de la marca, 29 oct 2026) ----------
   Verde #757F64, crema #EEE6D9, dorado y cobre como acentos. Sólo cambia la imagen; el proceso sigue igual. */
:root { --eb-oro: #C9A962; --eb-oro-c: #E4CF8E; --eb-cobre: #B97A3C; --eb-fondo: #3E4535; }
/* botón Entre Bosques del encabezado */
.nav-eb { border-color: rgba(228,207,142,.55); background: radial-gradient(120% 170% at 15% 0%, #8E987C 0%, var(--eb) 45%, #5B6450 100%); box-shadow: 0 3px 12px rgba(70,78,60,.35), inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(228,207,142,.12); }
.nav-eb::after { background: linear-gradient(100deg, transparent, rgba(228,207,142,.38) 50%, transparent); }
.nav-eb:hover { box-shadow: 0 8px 22px rgba(70,78,60,.45), 0 0 0 4px rgba(201,169,98,.22), inset 0 1px 0 rgba(255,255,255,.18); }
/* barra superior y portada */
.ebx-top { border-bottom-color: rgba(117,127,100,.22); }
.ebx-eb { height: 26px; }
.ebx-hero { background: var(--eb-fondo); }
.ebx-hero-tx::before { background: radial-gradient(90% 120% at 0% 0%, rgba(117,127,100,.55), transparent 60%), linear-gradient(90deg, rgba(62,69,53,.97), rgba(62,69,53,.93)), url(/entrebosques/texturas/follaje.webp) center / cover; }
.ebx-hero-tx::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 300px; height: 300px; z-index: -1; pointer-events: none; background: url(/entrebosques/marca/2026/simbolo-crema.webp) center / contain no-repeat; opacity: .07; }
.ebx-hero .ebx-ey { color: var(--eb-oro-c); letter-spacing: .38em; }
.ebx-hero .ebx-ey::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 14px; background: linear-gradient(90deg, var(--eb-oro), transparent); }
.ebx-ben li svg { color: var(--eb-oro-c); }
.ebx-hero-logo { width: 150px; }
/* barra de pasos */
.ebx-prog .on i { background: var(--eb); border-color: var(--eb); color: #fff; box-shadow: 0 0 0 4px rgba(117,127,100,.18); }
.ebx-prog .ok i { background: var(--eb-d); border-color: var(--eb-d); }
.ebx-prog button::after { background: var(--eb); }
.ebx-paso-tx h3 span { color: var(--eb); }
.chk { color: var(--eb); border-color: var(--eb); }
/* marco que ilumina el paso que toca (sólo pasos 1 a 3) */
.ebx-paso { position: relative; }
.ebx-paso > * { position: relative; z-index: 1; }
.ebx-paso::before { content: ""; position: absolute; inset: 14px calc(var(--pad) - 20px); border-radius: 20px; border: 1.5px solid transparent; background: transparent; pointer-events: none; opacity: 0; transition: opacity .6s ease, border-color .6s ease, background .6s ease, box-shadow .6s ease; }
.ebx-paso.toca::before { opacity: 1; border-color: var(--eb); background: linear-gradient(180deg, rgba(117,127,100,.10), rgba(117,127,100,.04)); box-shadow: 0 0 0 4px rgba(117,127,100,.14), 0 14px 40px -12px rgba(91,100,80,.35); animation: ebx-brilla 3.2s ease-in-out infinite; }
.ebx-paso.toca .ebx-paso-tx h3 { color: var(--eb-d); }
.ebx-paso.toca .ebx-paso-tx h3 span { color: var(--eb); }
@keyframes ebx-brilla { 0%, 100% { box-shadow: 0 0 0 4px rgba(117,127,100,.12), 0 14px 40px -12px rgba(91,100,80,.30); } 50% { box-shadow: 0 0 0 8px rgba(117,127,100,.22), 0 18px 50px -10px rgba(91,100,80,.42); } }
@media (max-width: 760px) { .ebx-paso::before { inset: 8px 6px; border-radius: 16px; } .ebx-eb { height: 18px; } }
@media (prefers-reduced-motion: reduce) { .ebx-paso.toca::before { animation: none; } }
/* pie */
.ebx-pie { border-top: 1px solid rgba(201,169,98,.35); }
.ebx-pie::before { background-image: url(/entrebosques/marca/2026/simbolo-verde.webp); }

/* Entrebosques · 3 o 4 recámaras (Origen y Serena) y vista de cada render Premium (29 oct 2026) */
.ebx-rec { margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(117,127,100,.35); border-radius: 12px; background: rgba(117,127,100,.06); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ebx-rec b { font-family: var(--eb-tit); font-weight: 400; font-size: 18px; color: var(--eb-dd); }
.ebx-rec-op { display: flex; gap: 8px; }
.ebx-rec-op button { font: inherit; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--eb); background: #fff; color: var(--eb-dd); cursor: pointer; transition: background .2s, color .2s; }
.ebx-rec-op button:hover { background: rgba(117,127,100,.12); }
.ebx-rec-op button.on { background: var(--eb); color: #fff; }
.eb-pq figure { position: relative; }
.eb-vista { position: absolute; left: 10px; top: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(22,19,15,.6); color: #fff; padding: 4px 8px; border-radius: 3px; }
@media (max-width: 640px) { .ebx-rec { padding: 14px; } .ebx-rec-op { width: 100%; } .ebx-rec-op button { flex: 1; } }

/* Entre Bosques · galería de vistas de un mismo espacio (2 nov 2026): miniaturas bajo la foto y flechas en la vista grande */
.eb-gal { display: flex; gap: 8px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; }
.eb-gal::-webkit-scrollbar { display: none; }
.eb-gal button { flex: 1 1 0; min-width: 84px; display: flex; flex-direction: column; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--eb-cafe, #615246); font: 500 10.5px/1.2 Mulish, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.eb-gal img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; border: 2px solid transparent; opacity: .72; transition: opacity .2s, border-color .2s; }
.eb-gal button:hover img { opacity: 1; }
.eb-gal button.on img { opacity: 1; border-color: var(--eb-verde, #757F64); }
.eb-gal button.on span { color: var(--eb-verde, #757F64); font-weight: 700; }
.eb-gal button:focus-visible { outline: 2px solid var(--eb-verde, #757F64); outline-offset: 2px; border-radius: 8px; }
.ebx-ver-mov { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(238,230,217,.16); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.ebx-ver-mov:hover { background: rgba(238,230,217,.3); }
.ebx-ver-mov.prev { left: clamp(10px, 3vw, 40px); } .ebx-ver-mov.next { right: clamp(10px, 3vw, 40px); }
.ebx-ver-n { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; letter-spacing: .1em; color: #F4EEE4; background: rgba(22,19,15,.55); padding: 4px 10px; border-radius: 999px; z-index: 2; }

/* Entre Bosques · pantalla del código de broker (obligatorio para entrar, 2 nov 2026) */
.ebx-puerta { min-height: 100%; display: grid; place-items: center; padding: 40px var(--pad, 20px); background: linear-gradient(180deg, rgba(47,53,39,.94), rgba(47,53,39,.97)), url(/entrebosques/texturas/follaje.webp) center / cover; color: var(--eb-arena); }
.ebx-puerta-in { width: min(520px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ebx-puerta-logo { width: min(260px, 70%); height: auto; margin-bottom: 8px; }
.ebx-puerta h2 { margin: 0; font: 400 clamp(24px, 4vw, 32px)/1.15 var(--eb-tit); letter-spacing: .02em; color: #F4EEE4; }
.ebx-puerta p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(238,230,217,.86); }
.ebx-puerta-f { width: 100%; margin-top: 10px; text-align: left; }
.ebx-puerta-f label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238,230,217,.75); margin-bottom: 8px; }
.ebx-puerta-row { display: flex; gap: 10px; }
.ebx-puerta-row .inp { flex: 1; min-width: 0; height: 50px; border-radius: 999px; padding: 0 20px; border: 1px solid rgba(238,230,217,.45); background: rgba(255,255,255,.96); color: #1E1A15; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; }
.ebx-puerta-row .inp:focus { outline: 2px solid #C9A962; outline-offset: 2px; }
.ebx-puerta-row .btn { height: 50px; border-radius: 999px; padding: 0 24px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.ebx-puerta-row .btn .ar { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ebx-puerta-err { margin-top: 10px !important; padding: 10px 14px; border-radius: 10px; background: rgba(168,52,31,.18); color: #FFD9CF !important; font-size: 14px !important; }
.ebx-puerta-wa { margin-top: 6px; font-size: 13.5px; color: #E4CF8E; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .ebx-puerta-row { flex-direction: column; } .ebx-puerta-row .inp { flex: none; width: 100%; } .ebx-puerta-row .btn { justify-content: center; } }
/* Descargar cotización en el carrito (2 nov 2026) */
.cot-dl { margin-top: 8px; gap: 8px; }
.cot-dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cot-dl:disabled { opacity: .6; cursor: wait; }

/* =====================================================================================================
   Revisión de diseño (Impeccable, 3 nov 2026): contraste AA, letra mínima de 12 px, foco visible, ficha con barra
   fija en celular, carrito ordenado, pago sólo SPEI con tranquilidad y la sección "Paquetes de muebles".
   No toca Entre Bosques (tiene su propia marca).
   ===================================================================================================== */
:root { --muted: #6A6157; --gold-tx: #7A5D26; }
.eyebrow.dark { color: var(--gold-tx); }
.announce { font-size: 12px; }
.top-cats { font-size: 12px; }
.top-cats .top-paq { color: var(--gold-tx); font-weight: 500; }
.chip em { font-size: 12px; opacity: 1; color: var(--muted); }
.card .code { font-size: 11.5px; flex-wrap: wrap; }
.card .mad { display: inline-flex; align-items: center; gap: 5px; letter-spacing: .08em; }
.card .sola { font-size: 12px; color: var(--walnut); font-weight: 500; }
.avail { font-size: 11.5px; }
.hero-nota { font-size: 12px; }
.hs span b { font-size: 12px; } .hs span em { font-size: 13px; }
.hs::after { content: ""; position: absolute; left: -8px; top: -8px; width: 44px; height: 44px; }
.hs.izq::after { left: auto; right: -8px; }
.hero-dots button { box-sizing: content-box; padding: 8px 4px; background-clip: content-box; }
.ia-cmp .tag { font-size: 11.5px; }
.form-grid .note, .bank-h, .back, .line .rm { font-size: 12px; }
.inp:focus, .sel:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--ink2); }
.ilus-pie { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.sec-sub { margin: 8px 0 0; max-width: 560px; color: var(--ink2); font-size: 15px; line-height: 1.6; font-weight: 300; }
.empty .btn { margin: 14px 4px 0; }
.ver-mas { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: -10px; padding: 12px 22px; border: 1px solid var(--ink2); border-radius: var(--r); background: none; font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.ver-mas:hover { background: var(--ink); color: var(--ivory); }
/* aviso con "Ver carrito" */
.toast { display: flex; align-items: center; gap: 14px; }
.toast-ver { border: 0; border-left: 1px solid rgba(250,248,244,.3); background: none; color: var(--gold-l); font: inherit; font-weight: 500; padding: 6px 0 6px 14px; cursor: pointer; text-decoration: underline; }
/* ficha */
.pd .code { font-size: 12px; }
.pd-acc { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.aviso-mesa { margin: 14px 0 0; padding: 12px 14px; background: var(--sand); border-left: 3px solid var(--walnut); font-size: 14px; line-height: 1.5; color: var(--ink2); }
.pd-barra { display: none; }
.help { font-size: 13.5px; line-height: 1.7; }
/* carrito */
.codigos { margin: 14px 0 6px; border-top: 1px solid var(--stone); padding-top: 12px; }
.codigos summary { cursor: pointer; font-size: 14px; color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; list-style: none; padding: 6px 0; }
.codigos summary::-webkit-details-marker { display: none; }
.cart-fin { background: var(--ivory); }
.ped-l { justify-content: flex-start; } .ped-l span { flex: 1; }
.ped-im { flex: none; position: relative; width: 48px; height: 48px; background: var(--sand); overflow: hidden; }
.ped-im img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }
/* pago */
.bank-quien { margin: 8px 0 0; padding: 9px 11px; background: var(--sand); font-size: 12.5px; line-height: 1.5; color: var(--ink2); }
.tranquilo { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; padding: 12px 14px; border: 1px solid #c9dccf; background: #f1f7f2; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.tranquilo svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tranquilo b { color: var(--ink); }
/* paquetes de muebles */
.paq-sec { padding-top: 72px; scroll-margin-top: 90px; }
.pq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 34px 22px; }
.pq-card { display: flex; flex-direction: column; }
.pq-im { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; background: var(--sand); border-radius: var(--r); cursor: pointer; }
.pq-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pq-card:hover .pq-im img { transform: scale(1.03); }
.pq-off { position: absolute; top: 12px; left: 12px; background: var(--sale); color: #fff; font-size: 12px; letter-spacing: .08em; padding: 4px 9px; }
.pq-in { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; }
.pq-in .code { display: flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pq-in .mad { display: inline-flex; align-items: center; gap: 5px; }
.pq-in .nm { align-self: flex-start; padding: 0; border: 0; background: none; font-family: var(--serif); font-size: 23px; line-height: 1.15; text-align: left; color: var(--ink); cursor: pointer; }
.pq-in .nm:hover { color: var(--walnut); }
.pq-main { aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; border-radius: var(--r); }
.pq-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-paq .pd-thumbs button { width: 96px; height: 54px; padding: 0; } .pd-paq .pd-thumbs img { object-fit: cover; }
.pq-h { margin: 22px 0 8px; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink2); }
.pq-items { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--stone); }
.pq-items button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid var(--stone); background: none; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.pq-items button:hover b { color: var(--walnut); }
.pq-items i { flex: none; position: relative; width: 52px; height: 52px; background: var(--sand); }
.pq-items i img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.pq-items span { flex: 1; display: flex; flex-direction: column; min-width: 0; } .pq-items b { font-weight: 500; font-size: 14.5px; } .pq-items small { color: var(--muted); font-size: 12px; }
.pq-items em { font-style: normal; font-size: 13.5px; white-space: nowrap; }
.line.paq .im img:not([data-thumb]) { inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-btns .btn.outline { flex: 1 1 calc(50% - 5px); padding: 13px 10px; }
}
@media (max-width: 640px) {
  .announce { font-size: 11px; letter-spacing: .1em; }
  .card .sp { display: none; }
  .card .avail { font-size: 11px; letter-spacing: .06em; }
  .pq-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { width: 46px; height: 46px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); } .wa-float svg { width: 26px; height: 26px; }
  /* ficha: precio y "Agregar" fijos abajo; el bloque normal de compra se oculta para no duplicarlo */
  .prod-sheet { padding-bottom: 0; }
  .pd-barra { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--ivory); border-top: 1px solid var(--stone); box-shadow: 0 -8px 20px rgba(27,23,18,.08); }
  .pd-barra span { display: flex; flex-direction: column; } .pd-barra b { font-size: 18px; font-weight: 500; } .pd-barra b s { display: none; } .pd-barra small { font-size: 12px; color: var(--muted); }
  .pd-barra .btn { flex: none; padding: 14px 18px; }
  .prod-sheet .pd-acc .btn { display: none; }
  .pd-paq .pd-acc { display: none; }
  /* carrito: total y "Continuar" fijos abajo */
  .cart-fin { position: sticky; bottom: calc(-26px - env(safe-area-inset-bottom)); z-index: 3; margin: 0 -24px; padding: 10px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--stone); box-shadow: 0 -8px 20px rgba(27,23,18,.07); }
}
.pq-in .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--w); box-shadow: 0 0 0 1px rgba(27,23,18,.12); }

/* Carrito: foto y nombre abren la ficha técnica encima (3 nov 2026) */
button.im[data-cart-ficha] { display: block; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.line .ln-ficha { display: block; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.line .ln-ficha:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button.im[data-cart-ficha]:hover img { opacity: .85; }

/* Medidas de una misma pieza: selector en la ficha (3 nov 2026) */
.medidas { margin: 16px 0 4px; }
.medidas-tx { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.medidas > div { display: flex; flex-wrap: wrap; gap: 8px; }
.medidas button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--stone); background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color var(--t-fast, .15s); }
.medidas button small { font-size: 12px; color: var(--muted); }
.medidas button:hover { border-color: var(--ink); }
.medidas button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.price .desde { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .02em; }

/* Telas de los tapizados: selector en la ficha (3 nov 2026) */
.telas { margin: 16px 0 6px; padding: 14px; border: 1px solid var(--stone); background: var(--ivory, #faf8f4); }
.telas.falta { border-color: var(--sale, #a33); box-shadow: inset 0 0 0 1px var(--sale, #a33); }
.telas-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.telas-h .medidas-tx { margin: 0; }
.telas-sel { font-size: 14px; color: var(--ink); font-weight: 500; text-align: right; }
.telas-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.telas-tabs button { flex: 1; min-height: 44px; border: 1px solid var(--stone); background: transparent; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.telas-tabs button small { font-size: 12px; color: var(--muted); }
.telas-tabs button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.telas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px 8px; }
.telas-grid button { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink2, var(--ink)); }
.telas-grid img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(27,23,18,.15); transition: box-shadow var(--t-fast, .15s); }
.telas-grid span { font-size: 12px; line-height: 1.2; text-align: center; }
.telas-grid button:hover img { box-shadow: 0 0 0 2px var(--stone); }
.telas-grid button.on img { box-shadow: 0 0 0 2px var(--ivory, #fff), 0 0 0 4px var(--ink); }
.telas-grid button.on span { font-weight: 600; color: var(--ink); }
.telas-grid button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.telas-falta { margin: 10px 0 0; font-size: 13px; color: var(--sale, #a33); font-weight: 500; }
.telas-nota { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.line .ln-tela { display: flex !important; align-items: center; gap: 6px; color: var(--ink2, var(--ink)) !important; font-weight: 500; margin: 2px 0 1px; }
.line .ln-tela img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(27,23,18,.15); }
.telas-tex { margin: -2px 0 12px; font-size: 13px; line-height: 1.45; color: var(--ink2, var(--ink)); }
.telas-tex b { font-weight: 600; color: var(--ink); }
.telas-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.telas-grid img { width: 60px; height: 60px; }

/* Paquetes de muebles · propuesta C "escaparate por espacio" (3 nov 2026) */
.pqr-list { display: grid; gap: 34px; }
.pqr-esp { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 -8px; padding-bottom: 10px; border-bottom: 1px solid var(--stone); font-family: var(--serif); font-size: 28px; font-weight: 500; }
.pqr-esp small { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pqr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pqr-main { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.pqr-main img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .6s ease; }
.pqr-main:hover img { transform: scale(1.02); }
.pqr-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pqr-thumbs button { width: 92px; aspect-ratio: 16 / 10; padding: 0; border: 1px solid transparent; background: var(--sand); cursor: pointer; overflow: hidden; opacity: .75; }
.pqr-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pqr-thumbs button.on, .pqr-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.pqr-info { padding-top: 4px; }
.pqr-ey { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-tx, #7A5D26); font-weight: 500; }
.pqr-info h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.05; font-weight: 500; margin: 6px 0 14px; }
.pqr-lbl { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.pqr-wts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pqr-wt { min-height: 44px; border: 1px solid var(--stone); background: transparent; padding: 8px; font: inherit; color: var(--ink); cursor: pointer; text-align: center; transition: border-color var(--t-fast, .15s); }
.pqr-wt i { display: block; height: 40px; border-radius: 3px; margin-bottom: 8px; }
.pqr-wt b { display: block; font-size: 14px; font-weight: 500; } .pqr-wt small { display: block; font-size: 12px; color: var(--muted); }
.pqr-wt:hover { border-color: var(--ink); } .pqr-wt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pqr-its { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.pqr-its button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--ink); text-align: left; cursor: pointer; }
.pqr-its button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pqr-its i { flex: none; position: relative; width: 44px; height: 44px; background: var(--sand); overflow: hidden; }
.pqr-its i img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.pqr-its em { font-style: normal; font-weight: 600; }
.pqr-buy { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--stone); }
.pqr-pr s { display: block; color: var(--muted); font-size: 14px; } .pqr-pr .now { font-size: 26px; font-weight: 500; color: var(--sale); }
.pqr-pr em { display: block; font-style: normal; font-size: 13px; color: #2F6B3F; font-weight: 500; margin-top: 2px; }
.pqr-acts { display: flex; align-items: center; gap: 16px; }
.pqr-acts .lnk { border: 0; background: none; font: inherit; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--ink); }
@media (max-width: 860px) {
  .pqr { grid-template-columns: 1fr; gap: 16px; }
  .pqr-esp { font-size: 24px; }
  .pqr-its { grid-template-columns: 1fr; }
  .pqr-acts { width: 100%; } .pqr-acts .btn { flex: 1; }
}

/* Entre Bosques · paquete protagonista y "desde cero" en franja (3 nov 2026) */
.eb-pqs.uno { grid-template-columns: 1fr; }
.eb-pqs.uno .eb-pq-ok { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.eb-pqs.uno .eb-pq-ok > figure.ver { aspect-ratio: auto; height: 100%; min-height: 420px; min-width: 0; }
.eb-pqs.uno .eb-pq-ok > figure.ver img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eb-pq-side { display: flex; flex-direction: column; min-width: 0; padding-bottom: 6px; }

.eb-pq-ok > figure.ver { position: relative; }
.eb-rec { position: absolute; left: 14px; top: 14px; background: var(--eb-verde, #5B6A4E); color: #fff; font: 600 11px/1 Mulish, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.eb-cinta { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 14px; padding: 10px; border: 1.5px dashed rgba(117,127,100,.45); border-radius: 16px; }
.eb-cinta img { width: 170px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; opacity: .9; }
.eb-cinta b { font: 400 19px var(--eb-tit); color: var(--eb-dd); letter-spacing: .03em; }
.eb-cinta p { margin: 4px 0 0; font-size: 13.5px; color: var(--eb-cafe); line-height: 1.5; }
.eb-cinta .btn { white-space: nowrap; min-height: 44px; }
@media (max-width: 860px) {
  .eb-pqs.uno .eb-pq-ok { display: flex; }
  .eb-pqs.uno .eb-pq-ok > figure.ver { min-height: 0; height: auto; aspect-ratio: 3/2; }
  .eb-pqs.uno .eb-pq-side .eb-items { grid-template-columns: 1fr; }
  .eb-cinta { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .eb-cinta img { display: none; }
  .eb-cinta .btn { justify-self: center; }
  .eb-rec { font-size: 10px; padding: 6px 9px; }
}
/* Paso 4 a todo el ancho: el texto arriba y los paquetes ocupan también el espacio de la columna izquierda (3 nov 2026) */
.ebx-paso[data-eb-paso-n="4"] { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ebx-paso[data-eb-paso-n="4"] .ebx-paso-tx { max-width: 640px; }
.ebx-paso[data-eb-paso-n="4"] .eb-pqs.uno .eb-pq-ok { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.ebx-paso[data-eb-paso-n="4"] .eb-pqs.uno .eb-pq-ok > figure.ver { min-height: 520px; }
/* Paquete del espacio como la propuesta B (Alejandro, 3 nov 2026): el render completo arriba (sin recortar; al tocarlo se
   sigue abriendo en grande), debajo sus vistas, lo que incluye en dos columnas, el precio y los botones. "Desde cero" sigue
   en la franja de abajo. */
.ebx-paso[data-eb-paso-n="4"] .eb-pqs.uno .eb-pq-ok { display: flex; flex-direction: column; }
.ebx-paso[data-eb-paso-n="4"] .eb-pqs.uno .eb-pq-ok > figure.ver { aspect-ratio: auto; height: auto; min-height: 0; }
.ebx-paso[data-eb-paso-n="4"] .eb-pqs.uno .eb-pq-ok > figure.ver img { position: static; display: block; width: 100%; height: auto; object-fit: initial; }
/* El render se ve completo a su proporción; el bloque de cada espacio no pasa de 1120 px para que no quede gigante. */
.ebx-paso[data-eb-paso-n="4"] .eb-esp { max-width: 1120px; margin-left: auto; margin-right: auto; }
.ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-gal { padding: 12px 18px 0; }
.ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-gal img { aspect-ratio: 16 / 7; }
.ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; padding: 16px 18px 6px; }
.ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-tot, .ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-acc { padding-left: 18px; padding-right: 18px; }
@media (max-width: 860px) { .ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-items { grid-template-columns: 1fr; } .ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-gal img { aspect-ratio: 3 / 2; } }
.ebx-paso[data-eb-paso-n="4"] .eb-pq-side .eb-gal button { flex: 0 1 190px; }

/* Perilla del comparador antes/después en Tu espacio (igual a la de la portada), también al amueblar desde cero en Entre Bosques (4 nov 2026). */
.esp-cmp:not(.solo)::before { content: ""; position: absolute; z-index: 1; top: 50%; left: var(--x); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1712' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 14px rgba(27,23,18,.2); }

/* ---------- Paquetes de muebles · propuesta A (5 nov 2026) ----------
   Título en banda oscura con fotos de los paquetes y sello de ahorro; se despliega al tocarlo. Dentro, una fila deslizable
   por espacio con tarjetas compactas que abren la ficha completa del paquete. */
.paq-sec { padding-top: 56px; }
.paq-h2 { margin: 0; font: inherit; }
.paq-toggle { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 34px; border: 0; cursor: pointer; text-align: left; color: #F3EEE6; font: inherit; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 160% at 0% 0%, #2a241d 0%, #16130f 55%); box-shadow: inset 0 0 0 1px rgba(201,169,98,.35); transition: box-shadow .4s, transform .4s; }
.paq-toggle::before { content: ""; position: absolute; left: 34px; right: 34px; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #C9A458, #F3E2AE, #C9A458, transparent); transform: scaleX(.25); transform-origin: 0 50%; opacity: .8; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.paq-toggle::after { content: ""; position: absolute; top: -30%; left: -40%; width: 30%; height: 160%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(243,226,174,.12) 50%, transparent); transform: skewX(-18deg); animation: paq-brillo 7s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes paq-brillo { 0%, 70% { left: -40%; } 100% { left: 130%; } }
.paq-toggle:hover { box-shadow: inset 0 0 0 1px rgba(201,169,98,.7), 0 18px 40px -20px rgba(22,19,15,.55); }
.paq-toggle:hover::before, .paq-sec.abierta .paq-toggle::before { transform: scaleX(1); }
.paq-toggle:focus-visible { outline: 2px solid #C9A458; outline-offset: 3px; }
.paq-tx { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.paq-ey { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #E2C27A; font-weight: 500; }
.paq-tt { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 500; color: #fff; }
.paq-badge { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #2A1C06; padding: 7px 13px; border-radius: 999px; background: linear-gradient(135deg, #C9A458 0%, #E6CB86 35%, #F3E2AE 50%, #E6CB86 65%, #C9A458 100%); box-shadow: 0 3px 10px rgba(201,164,88,.35); }
.paq-badge b { font-weight: 700; }
.paq-sub { font-size: 14.5px; line-height: 1.55; color: #CFC6B8; max-width: 52ch; }
.paq-der { display: flex; align-items: center; gap: 22px; flex: none; }
.paq-stack { display: flex; }
.paq-stack img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 2px solid #16130f; box-shadow: 0 0 0 1px rgba(201,169,98,.55); margin-left: -18px; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.paq-stack img:first-child { margin-left: 0; }
.paq-toggle:hover .paq-stack img:nth-child(1) { transform: translateX(-6px); } .paq-toggle:hover .paq-stack img:nth-child(2) { transform: translateX(-2px); }
.paq-toggle:hover .paq-stack img:nth-child(3) { transform: translateX(2px); } .paq-toggle:hover .paq-stack img:nth-child(4) { transform: translateX(6px); }
.paq-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.paq-n { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #a99f91; }
.paq-ver { display: flex; align-items: center; white-space: nowrap; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #E2C27A; }
.paq-ver-c, .paq-sec.abierta .paq-ver-a { display: none; } .paq-sec.abierta .paq-ver-c { display: inline; }
.paq-chev { position: absolute; right: 34px; top: 50%; display: none; }
.paq-cta .paq-ver::after { content: ""; display: inline-block; width: 34px; height: 34px; margin-left: 12px; border-radius: 50%; border: 1px solid rgba(226,194,122,.6); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23E2C27A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .5s cubic-bezier(.16,1,.3,1), background-color .3s; }
.paq-sec.abierta .paq-cta .paq-ver::after { transform: rotate(180deg); }
.paq-toggle:hover .paq-ver::after { background-color: rgba(226,194,122,.14); }
/* despliegue */
.paq-cuerpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.16,1,.3,1); }
.paq-in { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(-10px); transition: opacity .5s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.paq-sec.abierta .paq-cuerpo { grid-template-rows: 1fr; }
.paq-sec.abierta .paq-in { opacity: 1; transform: none; transition-delay: .12s; }
.paq-sueltas { display: inline-flex; margin: 26px 0 4px; }
/* filas y tarjetas */
.paq-sec .pqr-list { display: block; padding-top: 6px; }
.pqc-fila { margin-top: 30px; }
.pqc-fh { display: flex; align-items: baseline; gap: 16px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--stone); }
.pqc-fh h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; }
.pqc-n { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.pqc-fl { display: flex; gap: 8px; }
.pqc-fl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--stone); background: #fff; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; transition: border-color .25s, background .25s; }
.pqc-fl button:hover { border-color: var(--ink); background: var(--sand); }
.pqc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.pqc-track::-webkit-scrollbar { display: none; }
.pqc { scroll-snap-align: start; background: #fff; border: 1px solid var(--stone); display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.pqc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(22,19,15,.45); }
.pqc-im { position: relative; display: block; padding: 0; border: 0; background: var(--sand); cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3; }
.pqc-im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.pqc:hover .pqc-im img { transform: scale(1.05); }
.pqc-vis { position: absolute; right: 10px; bottom: 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; background: rgba(22,19,15,.62); color: #fff; padding: 4px 8px; }
.pqc-tx { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pqc-tx h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; }
.pqc-tx h4 button { all: unset; cursor: pointer; } .pqc-tx h4 button:hover { text-decoration: underline; text-underline-offset: 4px; }
.pqc-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.pqc-mds { display: flex; gap: 4px; }
.pqc-md { width: 22px; height: 22px; padding: 2px; border-radius: 50%; border: 1px solid transparent; background: none; cursor: pointer; }
.pqc-md i { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pqc-md.on { border-color: var(--ink); }
.pqc-pie { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 12px; flex-wrap: wrap; }
.pqc-pr s { display: block; font-size: 12px; color: var(--muted); }
.pqc-pr .now { font-size: 19px; font-weight: 500; color: var(--sale); }
.pqc-ver { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-tx, #7A5D26); cursor: pointer; }
.pqc-ver .ar { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s; }
.pqc-ver:hover .ar { transform: translateX(4px); }
@media (max-width: 960px) { .pqc-track { grid-auto-columns: calc((100% - 18px) / 2); } .paq-stack img { width: 52px; height: 52px; } }
@media (max-width: 640px) {
  .paq-toggle { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 20px; }
  .paq-toggle::before { left: 20px; right: 20px; }
  .paq-der { width: 100%; justify-content: space-between; }
  .paq-cta { align-items: flex-end; }
  .paq-stack img { width: 46px; height: 46px; margin-left: -14px; }
  .pqc-track { grid-auto-columns: 78%; gap: 12px; }
  .pqc-fl { display: none; }
}
@media (prefers-reduced-motion: reduce) { .paq-toggle::after { animation: none; } .paq-cuerpo, .paq-in { transition: none; } }

/* Menú superior por espacio (5 nov 2026): un solo renglón; los desplegables de cada espacio muestran sus categorías y
   subcategorías con su número de piezas. */
.top-cats { flex-wrap: nowrap; gap: clamp(22px, 3vw, 46px); }
.top-cats .dd-menu.mega { min-width: 250px; padding: 10px 0; }
.top-cats .dd-menu.mega button { display: flex; justify-content: space-between; gap: 16px; width: 100%; }
.top-cats .dd-menu.mega .mg-g { font-weight: 500; margin-top: 4px; }
.top-cats .dd-menu.mega .mg-s { padding-left: 30px; font-size: .95em; color: var(--muted); }
.top-cats .dd-menu.mega .mg-s:hover { color: var(--ink); }
.top-cats .dd-menu.mega button + .mg-g, .top-cats .dd-menu.mega .mg-s + button:not(.mg-s) { border-top: 1px solid var(--stone); margin-top: 6px; padding-top: 12px; }
@media (max-width: 900px) { .top-cats { flex-wrap: wrap; } }
.top-cats .dd-menu.mega button:first-child:not(.mg-g) { font-weight: 400; border-bottom: 0; }
.top-cats .dd-menu.mega .mg-g:first-child { margin-top: 0; }

/* ---------- Tu espacio, con IA: titular arriba; antes/después + teléfono animado abajo (6 nov 2026) ---------- */
.ia-in { display: block; padding-top: 80px; padding-bottom: 88px; }
.ia-cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: end; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid rgba(22, 19, 15, .12); }
.ia-tx h2 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1.06; margin: 14px 0 0; max-width: 17ch; }
.ia-pasos .ia-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 26px; }
.ia-pasos .ia-steps li { flex-direction: column; gap: 10px; }
.ia-pasos .ia-steps svg { margin-top: 0; }
.ia-pasos .ia-steps span { font-size: 13px; } .ia-pasos .ia-steps b { font-size: 14.5px; margin-bottom: 2px; }
.ia-pasos .ia-acc { display: flex; align-items: center; gap: 24px; }
.ia-pasos .note { margin: 0; max-width: 360px; font-size: 12px; line-height: 1.5; }
.ia-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
.ia-fig { margin: 0; }
.ia-cap { margin-top: 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ia-cap b { font-weight: 500; color: var(--ink2); }
.ia-fig-cmp .ia-cmp { aspect-ratio: 3 / 2; box-shadow: 0 30px 70px -28px rgba(27, 23, 18, .35); }

/* Teléfono (misma animación que tienda.casaroble.com.mx/inicio/) */
.ia-ph { width: 100%; max-width: 300px; margin: 0 auto; border: 10px solid var(--ink); border-radius: 42px; background: #F1EDE4; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .38); font-family: var(--sans); color: var(--ink); }
.ia-ph-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px 9px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ia-ph-top span:last-child { font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: none; }
.ia-room { position: relative; aspect-ratio: 4 / 5; margin: 0 10px; border-radius: 14px; background: #F1EDE4; overflow: hidden; border: 1px solid #E1DBD2; }
.ia-room svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ia-room svg path { fill: none; stroke: #2A2622; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ia-ph-tag { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 10.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; opacity: 0; }
.ia-room .pc { position: absolute; opacity: 0; transform: translate3d(0, -26px, 0); }
.ia-room .sweep { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243, 240, 237, 0) 0%, rgba(255, 255, 255, .75) 50%, rgba(243, 240, 237, 0) 100%); transform: translate3d(-100%, 0, 0); opacity: 0; }
.ia-room .msg { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; background: #fff; font-size: 11px; font-weight: 500; padding: 7px 12px; border-radius: 99px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); opacity: 0; }
.ia-ph-chips { display: flex; gap: 7px; padding: 11px 10px 0; }
.ia-ph-chip { flex: 1; min-width: 0; background: #fff; border-radius: 11px; padding: 5px; opacity: 0; transform: translate3d(0, 14px, 0); position: relative; }
.ia-ph-chip img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #F1EDE4; border-radius: 7px; display: block; }
.ia-ph-chip b { display: block; font-size: 10px; font-weight: 600; line-height: 1.25; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ia-ph-chip span { display: block; font-size: 9.5px; color: var(--muted); }
.ia-ph-chip i { position: absolute; top: 9px; right: 9px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 10px/17px var(--sans); text-align: center; font-style: normal; }
.ia-ph-buy { margin: 11px 10px 12px; display: flex; justify-content: center; align-items: center; min-height: 44px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translate3d(0, 10px, 0); }
@keyframes iaDraw { to { stroke-dashoffset: 0; } }
@keyframes iaUp { to { opacity: 1; transform: none; } }
@keyframes iaFade { to { opacity: 1; } }
@keyframes iaSweep { 0% { opacity: 0; transform: translate3d(-100%, 0, 0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate3d(100%, 0, 0); } }
@keyframes iaBlink { 0%, 100% { opacity: 0; } 12%, 88% { opacity: 1; } }
.ia-fig-ph.play .ia-room svg path { animation: iaDraw 1.4s cubic-bezier(.6, 0, .3, 1) forwards; }
.ia-fig-ph.play .ia-room svg path:nth-child(n+5) { animation-delay: .25s; } .ia-fig-ph.play .ia-room svg path:nth-child(n+9) { animation-delay: .5s; }
.ia-fig-ph.play .ia-ph-tag { animation: iaFade .5s .3s forwards; }
.ia-fig-ph.play .ia-ph-chip { animation: iaUp .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.ia-fig-ph.play .ia-ph-chip:nth-child(1) { animation-delay: 1.5s; } .ia-fig-ph.play .ia-ph-chip:nth-child(2) { animation-delay: 1.8s; } .ia-fig-ph.play .ia-ph-chip:nth-child(3) { animation-delay: 2.1s; }
.ia-fig-ph.play .ia-room .sweep { animation: iaSweep 1.4s 2.7s ease-in-out forwards; }
.ia-fig-ph.play .ia-room .msg { animation: iaBlink 1.6s 2.6s forwards; }
.ia-fig-ph.play .ia-room .pc { animation: iaUp .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.ia-fig-ph.play .ia-room .p1 { animation-delay: 3.7s; } .ia-fig-ph.play .ia-room .p2 { animation-delay: 3.95s; } .ia-fig-ph.play .ia-room .p3 { animation-delay: 4.2s; }
.ia-fig-ph.play .ia-ph-buy { animation: iaUp .6s 4.9s cubic-bezier(.2, .7, .2, 1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .ia-room svg path { stroke-dashoffset: 0; } .ia-room .pc, .ia-ph-chip, .ia-ph-buy, .ia-ph-tag { opacity: 1; transform: none; } .ia-fig-ph * { animation: none !important; }
}

@media (max-width: 1100px) {
  .ia-cab { grid-template-columns: 1fr; gap: 32px; }
  .ia-tx h2 { max-width: 20ch; }
  .ia-stage { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; }
}
@media (max-width: 900px) {
  .ia-in { padding-top: 56px; padding-bottom: 64px; }
  .ia-cab { padding-bottom: 36px; margin-bottom: 36px; }
  .ia-tx h2 { max-width: none; }
  .ia-stage { grid-template-columns: 1fr; gap: 48px; }
  .ia-ph { max-width: min(320px, 84vw); }
}
@media (max-width: 640px) {
  .ia-pasos .ia-steps { grid-template-columns: 1fr; gap: 14px; }
  .ia-pasos .ia-steps li { flex-direction: row; gap: 14px; }
  .ia-pasos .ia-acc { flex-direction: column; align-items: stretch; gap: 14px; }
  .ia-pasos .ia-acc .btn { width: 100%; justify-content: center; }
}

/* Recámaras pendientes: la caja respira para llamar la atención (Alejandro, 30 nov 2026) */
.ebx-rec.pide { border-color: var(--eb); background: rgba(117,127,100,.12); animation: ebx-brilla 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ebx-rec.pide { animation: none; box-shadow: 0 0 0 4px rgba(117,127,100,.2); } }
/* Descripción con lista (equipamientos llave en mano) */
.desc-lista p { margin: 0 0 8px; }
.desc-lista ul { margin: 6px 0 0; padding-left: 18px; }
.desc-lista li { font-size: 13px; line-height: 1.45; margin: 3px 0; }
.desc-lista .desc-nota { margin-top: 10px; font-size: 11.5px; color: #8a8076; }
