/* ARREDATO · tienda en línea. Sistema visual tomado de su marca:
   titulares en serif de alto contraste y en mayúsculas espaciadas (como sus artes de Instagram),
   wordmark «arredato» en minúsculas, etiquetas en sans con mucho tracking,
   fondo marfil cálido como su showroom, azul petróleo del logo solo como acento, esquinas rectas. */
:root {
  color-scheme: light;
  --brand: #286581;
  --brand-deep: #1E4F66;
  --ink: #2A2420;
  --ink-2: #4A413A;
  --muted: #7A6F66;
  --faint: #A79C91;
  --bg: #F7F3ED;
  --surface: #EFE9E1;
  --surface-2: #E6DED3;
  --paper: #FCFAF7;
  --line: #E0D7CB;
  --green: #4F7A5A;
  --amber: #B5832A;
  --wa: #25D366;
  --sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --maxw: 1440px;
  --pad: 56px;
  --r: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 900px) { :root { --pad: 16px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 1px solid var(--brand); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.overline { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.caps { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; }

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

/* ---------- encabezado: wordmark centrado ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(247,243,237,.95); backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); height: 84px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; }
.hdr-l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.logo .wm { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: .04em; color: var(--ink); line-height: .9; }
.logo .wm-img { display: block; height: 46px; width: auto; }
.drawer-hd .logo .wm-img { height: 36px; }
.ftr .logo .wm-img { height: 52px; }
.logo small { font-size: 8.5px; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); padding-left: .38em; }
.search { position: relative; width: 100%; max-width: 300px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.search:focus-within { border-color: var(--ink); }
.search svg { color: var(--muted); width: 17px; height: 17px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 9px 0; outline: none; font-size: 13.5px; }
.search input::placeholder { color: var(--faint); }
.suggest { position: absolute; left: 0; width: min(420px, 90vw); top: calc(100% + 10px); background: var(--paper); border: 1px solid var(--line); padding: 6px; z-index: 50; max-height: 70vh; overflow: auto; box-shadow: 0 18px 40px rgba(42,36,32,.08); }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 8px; }
.suggest a:hover { background: var(--bg); }
.suggest img { width: 52px; height: 52px; object-fit: contain; background: var(--surface); mix-blend-mode: multiply; }
.suggest b { font-weight: 500; font-size: 14px; display: block; }
.suggest small { display: block; color: var(--muted); font-size: 13px; }
.hdr-actions { display: flex; gap: 26px; justify-content: flex-end; align-items: center; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.icon-btn .lbl { display: none; }
.icon-btn .count { position: absolute; top: -6px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 10px; letter-spacing: 0; display: grid; place-items: center; font-weight: 600; }
.only-m { display: none; }
.depts { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: flex; justify-content: center; gap: 36px; overflow-x: auto; scrollbar-width: none; height: 46px; align-items: stretch; }
.depts::-webkit-scrollbar { display: none; }
.depts a { display: flex; align-items: center; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.depts a:hover { color: var(--ink); border-color: var(--ink); }
.depts a.on { color: var(--ink); border-color: var(--brand); }
.depts a.sale { color: var(--brand); }
@media (max-width: 1100px) { .depts { justify-content: flex-start; } }
@media (max-width: 900px) {
  .only-m { display: inline-flex; }
  .hdr-in { height: 64px; gap: 8px; }
  .search { display: none; }
  .hide-s { display: none; }
  .depts { display: none; }
  .logo .wm { font-size: 27px; }
  .logo small { font-size: 7.5px; }
  .logo .wm-img { height: 36px; }
  .hdr-actions { gap: 18px; }
}

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

/* ---------- portada: hero partido (texto sobre marfil, foto real del showroom) ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.hero-track { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.5fr); gap: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero-slide.on { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); }
.hero-slide img { grid-column: 2; grid-row: 1; width: 100%; height: min(calc(100svh - 230px), 700px); min-height: 460px; object-fit: cover; object-position: var(--fx, 50%) 55%; transform: scale(1.03); transition: transform 9s linear; }
.hero-slide.on img { transform: scale(1); }
.hero-track { overflow: hidden; }
.hero-veil { display: none; }
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; display: flex; flex-direction: column; gap: 18px; padding: 0 56px 40px 0; }
.hero-copy .kicker { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hero-copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.2vw, 64px); line-height: 1.04; text-transform: uppercase; letter-spacing: .03em; }
.hero-copy p { font-size: 16px; color: var(--ink-2); max-width: 400px; }
.hero-copy .btn { align-self: flex-start; margin-top: 8px; background: var(--brand); color: #fff; }
.hero-copy .btn:hover { background: var(--brand-deep); }
.hero-dots { position: absolute; left: 0; bottom: 0; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 30px; height: 14px; position: relative; }
.hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); transition: background .3s, height .3s; }
.hero-dots button.on::after { background: var(--ink); height: 2px; }
@media (max-width: 760px) {
  .hero { padding: 0; }
  .hero-slide { grid-template-columns: minmax(0,1fr); }
  .hero-slide img { grid-column: 1; grid-row: 1; height: auto; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 26px var(--pad) 36px; gap: 14px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-dots { left: var(--pad); bottom: auto; top: calc((100vw / 4 * 3.4) + 14px); }
  .hero-copy { padding-top: 44px; }
}

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

.sec { max-width: var(--maxw); margin: 112px auto 0; padding: 0 var(--pad); }
@media (max-width: 760px) { .sec { margin-top: 72px; } }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-hd h2 { font-size: clamp(24px, 2.4vw, 34px); }
.sec-hd p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 520px; }
.sec-hd .side { display: flex; gap: 20px; align-items: center; flex: none; }
.intro-sec { text-align: center; max-width: 820px; }
.intro-sec .lede { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; margin-top: 18px; color: var(--ink); }

/* departamentos: lista editorial con la foto al lado */
.dept-list { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: stretch; }
.dept-list ol { border-top: 1px solid var(--line); }
.dept-list li a { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .25s, padding .35s var(--ease); }
.dept-list .n { font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.dept-list .t { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 34px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.dept-list .c { font-size: 13px; color: var(--muted); }
.dept-list a.on, .dept-list a:hover { padding-left: 10px; }
.dept-list a.on .t { color: var(--brand); }
.dept-ph { position: relative; min-height: 420px; background: var(--surface); overflow: hidden; }
.dept-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; animation: fade .5s; }
.dept-ph img.room { object-fit: cover; padding: 0; mix-blend-mode: normal; }
@media (max-width: 900px) { .dept-list { grid-template-columns: minmax(0,1fr); gap: 0; } .dept-ph { display: none; } .dept-list li a { padding: 18px 0; grid-template-columns: 36px minmax(0,1fr); } .dept-list .t { font-size: 22px; } .dept-list a.on .t { color: inherit; } .dept-list a.on { padding-left: 0; } }

/* espacios con puntos */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px 24px; }
.room { display: flex; flex-direction: column; gap: 18px; }
.room.big { grid-column: 1 / -1; }
.room-ph { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--surface); }
.room.big .room-ph { aspect-ratio: 16/8; }
.room-ph img.bg { width: 100%; height: 100%; object-fit: cover; }
.room-cap { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.room-cap h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .05em; }
.room-cap p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.room-cap .link { white-space: nowrap; flex: none; }
.hot { position: absolute; z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(4px); display: grid; place-items: center; transition: transform .2s; }
.hot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.hot:hover { transform: scale(1.15); }
.hot-card { position: absolute; z-index: 5; width: 250px; background: var(--paper); padding: 10px 12px; display: flex; gap: 12px; align-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.hot-card img { width: 54px; height: 54px; object-fit: contain; background: var(--surface); mix-blend-mode: multiply; }
.hot-card b { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
.hot-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .rooms { grid-template-columns: minmax(0,1fr); gap: 44px; } .room.big .room-ph { aspect-ratio: 3/2; } .room-cap { flex-direction: column; align-items: flex-start; } }

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

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

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

/* ---------- listado ---------- */
.crumbs { font-size: 12px; letter-spacing: .04em; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 0; }
.crumbs a:hover { color: var(--ink); }
.plp-head { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.plp-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 56px); text-transform: uppercase; letter-spacing: .04em; }
.plp-head p { font-size: 16px; color: var(--ink-2); max-width: 560px; }
.plp-head p:empty { display: none; }
.plp-banner { margin-top: 36px; aspect-ratio: 21/8; overflow: hidden; background: var(--surface); }
.plp-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .plp-head { gap: 10px; } .plp-banner { aspect-ratio: 16/10; } }
.subnav { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; margin-top: 40px; border-bottom: 1px solid var(--line); }
.subnav::-webkit-scrollbar { display: none; }
.subnav button { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 0 14px; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.subnav button:hover { color: var(--ink); }
.subnav button.on { color: var(--ink); font-weight: 600; border-color: var(--brand); }
.toolbar { position: sticky; top: var(--hdr-h, 130px); z-index: 20; background: rgba(247,243,237,.96); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tool { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.tool svg { width: 18px; height: 18px; }
.tool.check::before { content: ''; width: 14px; height: 14px; border: 1px solid var(--ink); box-sizing: border-box; }
.tool.check.on::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 2px var(--bg); }
.toolbar select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232A2420' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center; padding: 0 20px 0 0; font-size: 13px; font-weight: 500; cursor: pointer; }
.toolbar .count { margin-left: auto; font-size: 13px; color: var(--muted); }
.active-f { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.active-f button { font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); display: inline-flex; gap: 8px; align-items: center; background: var(--paper); }
.active-f button::after { content: '×'; font-size: 15px; line-height: 1; color: var(--muted); }
.plp-body { margin-top: 44px; }
.empty { text-align: center; padding: 90px 20px; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--muted); }

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

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

/* ---------- showroom ---------- */
.showroom { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--surface); }
.sh-ph { height: 600px; overflow: hidden; }
.sh-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.sh-txt { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.sh-txt h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; }
.sh-txt dl, .store dl { display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; margin: 6px 0 0; font-size: 14px; }
.sh-txt dt, .store dt { color: var(--muted); }
.sh-txt dd, .store dd { margin: 0; }
.sh-txt .acts, .store .acts { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.sh-txt .acts .link, .store .acts .link { display: inline-flex; align-items: center; height: 42px; }
@media (max-width: 860px) { .showroom { grid-template-columns: minmax(0,1fr); } .sh-ph { height: auto; aspect-ratio: 4/3; } .sh-txt { padding: 36px 20px 40px; } .sh-txt dl { grid-template-columns: 80px 1fr; } }
.stores { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.stores.one { align-items: stretch; }
.stores.one .store-ph { position: relative; overflow: hidden; background: var(--surface); min-height: 420px; }
.stores.one .store-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .stores { grid-template-columns: minmax(0,1fr); } .stores.one .store-ph { aspect-ratio: 4/3; } }
.store { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.store iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: var(--surface); filter: grayscale(.5) sepia(.15) contrast(.95); }
.store .bd { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.store h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- pre-order ---------- */
.preorder { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; align-items: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 56px 0; }
.preorder .txt { display: flex; flex-direction: column; gap: 18px; }
.preorder h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.preorder p { color: var(--ink-2); max-width: 460px; }
.preorder .btn { align-self: flex-start; }
.pre-items { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.pre-items a { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-2); }
.pre-items .im { aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.pre-items img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10%; }
@media (max-width: 860px) { .preorder { grid-template-columns: minmax(0,1fr); gap: 32px; padding: 40px 0; } .pre-items { gap: 8px; } }

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

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

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

/* ---------- combos ---------- */
.bundles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
@media (max-width: 1000px) { .bundles { grid-template-columns: minmax(0,1fr); } }
.bundle { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.bundle h3 { font-size: 16px; font-weight: 500; }
.b-items { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.b-items a { aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.b-items img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; transition: transform .5s var(--ease); }
.b-items a:hover img { transform: scale(1.05); }
.bundle ul { display: grid; font-size: 14px; }
.bundle li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bundle li span { color: var(--ink-2); }
.bundle li b { font-weight: 400; white-space: nowrap; }
.b-ft { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.b-ft > div { display: flex; flex-direction: column; justify-content: flex-end; }
.b-ft small { display: block; font-size: 12px; color: var(--muted); }
.b-ft b { display: block; font-size: 20px; font-weight: 500; line-height: 1; margin-top: 6px; margin-bottom: -2px; white-space: nowrap; }
.b-ft .btn { height: 42px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 4px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-grid a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ---------- pie ---------- */
.ftr { margin-top: 128px; border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14px; background: var(--surface); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 40px; }
.ftr .logo { align-items: flex-start; }
.ftr-about { color: var(--muted); max-width: 330px; margin-top: 18px; }
.ftr h4 { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ftr li { margin-bottom: 10px; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.pay-logos { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .ftr-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Bodoni Moda sin el tamaño óptico de display: el trazo fino a gran tamaño se leía débil (Luis eligió esta versión, 16-oct) */
.caps, h1, h2, h3 { font-optical-sizing: none; }

/* alineación: una sección dentro de .wrap no suma otro margen lateral */
.wrap .sec { padding-left: 0; padding-right: 0; }
