/* Integra Muebles · Tienda: encabezado con megamenú de estilos, catálogo con foto de producto y ventana de producto.
   Se carga después de explorar.css y solo sobrescribe lo necesario. Colores del logo: amarillo #fcc500 y gris #85847f. */
:root { --gris: #85847f; --gris-c: #f4f3ef; --lin: rgba(27, 26, 23, .12); }

/* ---------- Franja superior y barra ---------- */
.util { background: var(--gris-c); font-size: .75rem; }
.util .wrap { justify-content: space-between; min-height: 36px; }
.util-l { color: var(--mute); }
.util-a { padding-block: 8px; font-weight: 600; }
.top { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--lin); }
.top-in { gap: 6px; min-height: 68px; }
.logo { margin-right: 0; flex: none; }
.logo img { width: 98px; }
@media (min-width: 62em) {
  .nav { position: static; transform: none; display: block; margin: 0 auto 0 22px; align-self: stretch; }
  .nav ul { height: 100%; gap: 0; }
  .nav li { display: flex; }
}
.nav-b { position: relative; min-height: 68px; padding: 0 15px; border-radius: 0; background: none !important; color: var(--ink) !important; font-weight: 600; font-size: .9375rem; }
.nav-b::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 4px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--out); }
.nav-b[aria-expanded="true"]::after, .nav-b[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav-b:hover::after { transform: scaleX(1); } }
.nav-b:focus-visible { outline-offset: -3px; }
.sel-b { border-width: 1.5px; font-size: .875rem; }
.btn-f { min-height: 40px; padding: 0 18px; font-size: .875rem; }
@media (max-width: 71.99em) { .btn-f { display: none; } }

/* ---------- Megamenú: categorías a la izquierda, estilos a la derecha ---------- */
.mega { background: #fff; border-top: 1px solid var(--lin); border-bottom: 0; box-shadow: 0 44px 60px -40px rgba(27, 26, 23, .4); padding-block: 30px 38px; }
.mega-est { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.mega-esp { grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.mega-h { margin-bottom: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.mega-l { display: flex; flex-direction: column; }
.mega-l a { min-height: 46px; padding: 11px 0 11px 14px; border-radius: 0; position: relative; box-shadow: inset 0 -1px 0 var(--lin); font-size: 1rem; transition: padding .18s var(--out); }
.mega-l a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; background: var(--y); transform: scaleY(0); transition: transform .18s var(--out); }
.mega-l li.on a, .mega-l a:focus-visible { background: none; padding-left: 20px; }
.mega-l li.on a::before, .mega-l a:focus-visible::before { transform: scaleY(1); }
.mega-l .mn { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.mega-l li.on .mn { font-weight: 800; }
.mega-l .mc { font-size: .8125rem; color: var(--mute); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .mega-l a:hover { background: none; padding-left: 20px; } .mega-l a:hover::before { transform: scaleY(1); } }
.mega-rc .textlink { display: inline-block; margin-top: 22px; }
.est-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 22px 20px; }
.est { display: block; text-decoration: none; }
.est-f { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: var(--gris-c); }
.est-f img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; transition: transform .5s var(--out); }
.est-v { padding: 12px; font-weight: 700; text-align: center; color: var(--gris); }
.est-n { display: block; margin-top: 12px; font-size: 1rem; font-weight: 700; line-height: 1.25; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 5px; transition: text-decoration-color .18s; }
.est-c { display: block; margin-top: 2px; font-size: .8125rem; color: var(--mute); }
@media (hover: hover) and (pointer: fine) { .est:hover .est-n { text-decoration-color: var(--y); } .est:hover .est-f img { transform: scale(1.05); } }
.est:focus-visible { outline-offset: 4px; border-radius: 6px; }
.est-solo { max-width: 300px; }
.mega:not([hidden]) .est { animation: est-in .35s var(--out) backwards; }
.mega:not([hidden]) .est:nth-child(2) { animation-delay: .04s; } .mega:not([hidden]) .est:nth-child(3) { animation-delay: .08s; } .mega:not([hidden]) .est:nth-child(4) { animation-delay: .12s; }
@keyframes est-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .mega:not([hidden]) .est { animation: none; } .est-f img { transition: none; } }

/* ---------- Catálogo: título, filtros de estilo y tarjetas con foto ---------- */
.cat .h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
.est-bs { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.est-bs:empty { display: none; }
.est-b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.est-bl { min-width: 54px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--lin); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 600; transition: background-color .16s, border-color .16s, transform .16s var(--out); }
.pill small { color: var(--mute); font-variant-numeric: tabular-nums; }
.pill[aria-pressed="true"] { background: var(--y); border-color: var(--ink); }
.pill:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .pill:hover { border-color: var(--ink); } }
@media (max-width: 47.99em) { .est-b { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding-inline: clamp(16px, 4vw, 40px); } .est-b::-webkit-scrollbar { display: none; } .pill { flex: none; } .est-bl { flex: none; } }
.grid { gap: 34px 22px; }
.card-m.foto { aspect-ratio: 1 / 1; border-radius: 6px; background: var(--gris-c); display: grid; place-items: center; overflow: hidden; }
.card-m.foto img { margin: 0; width: 100%; height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; transition: transform .5s var(--out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-m.foto { transform: none; } .card:hover .card-m.foto img { transform: scale(1.05); } .card:hover .card-t a { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: 4px; } }
.card-c { text-transform: none; letter-spacing: 0; }
.card-t { font-size: 1rem; }
.card-t a { cursor: pointer; }
.card-a { margin-top: 12px; }

/* ---------- Ventana de producto ---------- */
.modal-p { width: min(1120px, 96vw); max-height: 92dvh; border-radius: 18px; }
.fm { display: grid; }
@media (min-width: 52em) { .fm { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .fm-m { position: sticky; top: 0; align-self: start; } }
.fm-m { padding: clamp(14px, 2.4vw, 28px); background: var(--gris-c); }
.g-st { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: #fff; }
.g-st img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.g-st.dark { background-color: var(--plate); padding: clamp(14px, 3vw, 36px); }
.g-th { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 2px; }
.g-th button { flex: none; width: 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.g-th button[aria-pressed="true"] { border-color: var(--ink); }
.g-th img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.g-pl { font-size: .75rem; font-weight: 700; color: var(--ink2); }
.g-pie { margin-top: 10px; }
.g-pie:empty { display: none; }
.fm-b { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.fm-k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); padding-right: 40px; }
.fm-h { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin-top: -8px; overflow-wrap: anywhere; }
.fm-a { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-n { padding: 12px 14px; border-left: 4px solid var(--y); background: var(--gris-c); border-radius: 0 8px 8px 0; color: var(--ink2); }
.fm-d { color: var(--ink2); max-width: 62ch; text-wrap: pretty; }
.fm-t { margin-bottom: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.fm-ul { display: grid; gap: 6px; }
.fm-ul li { position: relative; padding-left: 20px; font-size: .9375rem; }
.fm-ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 1.5px var(--ink); }
.fm .dat { display: grid; gap: 6px; }
.fm .dat div { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; border-bottom: 1px solid var(--lin); font-size: .9375rem; }
.fm .dat dt { color: var(--mute); }
.fm .dat dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 51.99em) { .modal-p { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; } .fm-m { position: static; } }

/* ---------- Menú móvil con categorías y estilos ---------- */
.sheet-full .m-g { border-bottom: 1px solid var(--lin); }
.sheet-full .m-g summary { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.sheet-full .m-g summary::-webkit-details-marker { display: none; }
.sheet-full .m-g summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .2s var(--out); }
.sheet-full .m-g[open] summary::after { rotate: 225deg; translate: 0 3px; }
.sheet-full .m-l li a { min-height: 48px; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; justify-content: space-between; gap: 12px; }
.sheet-full .m-l small { color: var(--mute); font-weight: 500; font-size: .8125rem; }
.sheet-full .m-x { margin-top: 6px; }
.sheet-full .m-x li a { font-size: 1.25rem; font-weight: 800; }
.m-e { padding-block: 8px 18px; }
.m-e .chip small { margin-left: 4px; }

.fm .chips li, .chips li:has(> .chip) { min-height: 0; padding: 0; border: 0; background: none; } /* la pastilla ya es el enlace */
.chips li > .chip { background: #fff; }
.fm .chips li.etq, .chips li.etq { min-height: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .875rem; color: var(--ink2); } /* etiqueta: dato, no botón */
.est-f.ancha img, .card-m.foto.ancha img, .g-st.ancha img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.li-p.foto { background: var(--gris-c); border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.li-p.foto img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; margin: 0; padding: 4px; max-width: 100%; }

/* ---------- Móvil ---------- */
@media (max-width: 47.99em) {
  .miga ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding-inline: clamp(16px, 4vw, 40px); }
  .miga ol::-webkit-scrollbar { display: none; }
  .miga li { flex: none; }
}
@media (max-width: 40em) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card-t { font-size: .9375rem; }
  .card-d { font-size: .8125rem; }
  .card .precio b { font-size: 1.0625rem; }
  .card .precio small { display: block; }
  .card .add { padding: 0 10px; font-size: .875rem; min-height: 42px; }
  .card .add .i { display: none; }
}
.cat > *, .cat-r, .est-bs, .est-b { min-width: 0; }
.cat-r { max-width: 100%; }
.sheet-full .m-e .chips { gap: 8px; }
.sheet-full .m-e li { min-height: 0; padding: 0; border: 0; background: none; }
.sheet-full .m-e .chip { min-height: 40px; padding: 0 14px; font-size: .9375rem; font-weight: 600; letter-spacing: 0; display: inline-flex; }

/* Anchos intermedios (laptop pequeña, tablet horizontal): barra más compacta para que quepa completa */
@media (min-width: 62em) and (max-width: 74.99em) {
  .nav { margin-left: 6px; }
  .nav-b { padding: 0 8px; font-size: .875rem; }
  .nav-b::after { left: 8px; right: 8px; }
  .logo img { width: 88px; }
  .sel-b { padding: 0 10px; gap: 6px; font-size: .8125rem; white-space: nowrap; }
}

/* Foto de colección (escena con varios muebles): llena el recuadro y lleva su etiqueta */
.card-m.foto.col { position: relative; }
.card-m.foto.col img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.col-t { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink2); font-size: .6875rem; font-weight: 700; }

/* Elegir medida u opción de un mismo modelo */
.vars { border: 0; padding: 0; margin: 14px 0; min-width: 0; }
.vars legend { font-weight: 700; font-size: .9375rem; margin-bottom: 8px; padding: 0; }
.vars-l { display: flex; flex-wrap: wrap; gap: 8px; }
.var-b { display: grid; gap: 2px; min-height: 48px; padding: 8px 14px; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-weight: 700; font-size: .9rem; color: inherit; cursor: pointer; }
.var-b small { font-weight: 600; color: var(--mute); }
.var-b[aria-pressed="true"] { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.var-b:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

/* Descripción con formato */
.rico { max-width: 62ch; color: var(--ink2); line-height: 1.6; text-wrap: pretty; }
.rico p { margin: 0 0 12px; }
.rico ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.rico li { position: relative; padding-left: 18px; }
.rico li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #fcc500; }
.rico strong { color: var(--ink, #1b1a17); font-weight: 700; }
.sinfoto { display: grid; place-items: center; width: 100%; height: 100%; min-height: 96px; font-weight: 600; font-size: .875rem; color: var(--mute); }

/* Espacios: nombre y descripción en dos columnas; la descripción baja de renglón y nunca invade la foto */
.mega-esp .mega-l a { display: grid; grid-template-columns: minmax(120px, 12em) minmax(0, 1fr); column-gap: 20px; align-items: center; }
.mega-esp .mega-l .mc { white-space: normal; line-height: 1.45; }
.mega-esp .mega-f { min-width: 0; margin: 0; }
.mega-esp .mega-f img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 68%; }
.esp-f img { object-position: 50% 68%; }
.mega-esp .mega-l .mc { text-align: left; }
.est-f .sinfoto { display: grid; place-items: center; width: 100%; height: 100%; text-align: center; font-size: .8125rem; color: var(--mute); }

/* Espacios: la foto se ve completa (cuadrada), sin cortar cuadros ni escritorio, y cabe en la altura de la ventana */
.mega-esp .mega-f { justify-self: end; width: calc(min(100%, max(320px, 100dvh - 220px), 540px) * .7); }  /* 30% menor, pedido por Ramiro */
.mega-esp .mega-f img { width: 100%; height: auto; aspect-ratio: 1; object-position: 50% 50%; }
@media (min-width: 62em) { .esp-oficina .esp-f { aspect-ratio: 6 / 5; } .esp-juntas .esp-f { aspect-ratio: 6 / 7; } .esp-oficina .esp-f img { object-position: 50% 70%; } }

/* Todas las fotos de producto son de estudio y cuadradas: llenan la tarjeta igual, sea foto propia o de colección (sin margen ni oscurecido) */
.card-m.foto img { object-fit: cover; padding: 0; mix-blend-mode: normal; }

.sel-b { white-space: nowrap; } /* en celulares angostos el botón no se parte en dos renglones */

/* ---- Categorías del inicio ---- */
.fila-ir { display: none; }
/* Celular y tableta: la misma lista, con fotos grandes. */
@media (max-width: 61.99em) {
  .indice .fila { column-gap: 14px; padding: 12px 0; grid-template-rows: 1fr 1fr; row-gap: 4px; }
  .indice .fila-n { align-self: end; }
  .indice .fila-c { align-self: start; }
  .indice .sin .fila-f { background: #fcc500; }
  .indice .fila-n { font-size: clamp(1.3rem, 5.8vw, 2.6rem); line-height: 1.05; }
  .indice .fila-f { width: clamp(150px, 42vw, 300px); aspect-ratio: 4 / 3; border-radius: 14px; background: var(--paper2); }
}
/* Escritorio: un muro de fotos grandes con el nombre encima. */
@media (min-width: 62em) {
  .indice .wrap { max-width: 1600px; padding-inline: clamp(20px, 2.6vw, 44px); }
  .indice .h2 { font-size: clamp(3rem, 5vw, 5.2rem); font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-stretch: 88%; letter-spacing: -.02em; }
  .indice .fila-l { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 25vw, 400px); grid-auto-flow: dense; gap: 16px; }
  .indice .fila-l li { grid-column: span 4; min-width: 0; }
  .indice .fila-l li + li { border-top: 0; }
  .indice .fila-l li.a6 { grid-column: span 6; }
  .indice .fila-l li.a12 { grid-column: span 12; }
  .indice .fila-l li:nth-child(-n+2) { grid-row: span 2; }
  .indice .fila { display: block; height: 100%; padding: 0; overflow: hidden; border-radius: 22px; background: #1d130c; color: #fffaf0; }
  .indice .fila::before { display: none; }
  .indice .fila-f { position: absolute; inset: 0; width: auto; aspect-ratio: auto; border-radius: 0; }
  .indice .fila-f img { object-position: 50% 62%; transition: transform .9s cubic-bezier(.23, 1, .32, 1); }
  .indice .fila::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 11, 6, .88) 0, rgba(18, 11, 6, .5) 24%, rgba(18, 11, 6, 0) 52%); }
  .indice .fila-n, .indice .fila-c { position: absolute; z-index: 1; left: 24px; right: 84px; display: block; }
  .indice .fila-n { bottom: 46px; font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-size: clamp(1.9rem, 2.5vw, 2.8rem); font-stretch: 90%; letter-spacing: -.012em; line-height: 1; text-wrap: balance; transition: transform .45s cubic-bezier(.23, 1, .32, 1); }
  .indice li:nth-child(-n+2) .fila-n { font-size: clamp(3rem, 5vw, 5.4rem); }
  .indice .fila-c { bottom: 20px; font-size: .95rem; font-weight: 600; color: rgba(255, 250, 240, .86); }
  .indice .fila-ir { position: absolute; z-index: 1; right: 20px; bottom: 20px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fcc500; color: #1b1a17; font-size: 30px; line-height: 1; padding-bottom: 4px; transform: scale(.82); opacity: .0; transition: transform .35s cubic-bezier(.2, 1.3, .35, 1), opacity .2s ease; }
  .indice .fila:focus-visible { outline: 3px solid #fcc500; outline-offset: 3px; }
  .indice .fila:focus-visible .fila-ir { opacity: 1; transform: none; }
  .indice .fila:active { transform: scale(.99); }
  /* Sin foto todavía: tarjeta de color de la marca. */
  .indice .sin .fila { background: #fcc500; color: #1b1a17; }
  .indice .sin .fila::after { display: none; }
  .indice .sin .fila-c { color: #1b1a17; }
  .indice .sin .fila-ir { background: #1b1a17; color: #fcc500; }
}
@media (min-width: 62em) and (hover: hover) and (pointer: fine) {
  .indice .fila:hover .fila-f img { transform: scale(1.07); }
  .indice .fila:hover .fila-n { transform: translateY(-4px); }
  .indice .fila:hover .fila-ir { opacity: 1; transform: none; }
}
@media (min-width: 62em) and (hover: none) { .indice .fila-ir { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .indice .revela li { opacity: 0; transform: translateY(44px); transition: opacity .6s ease, transform .85s cubic-bezier(.23, 1, .32, 1); }
  .indice .revela li.visto { opacity: 1; transform: none; }
}

/* ---- Bandas de color del inicio: crema, nogal y amarillo, separadas por un corte en diagonal como el del carrusel ---- */
.indice, .espacios, .dest { --corte: clamp(28px, 5vw, 88px); }
.sec.indice { padding-bottom: clamp(84px, 11vw, 168px); }
.sec.espacios, .sec.dest { position: relative; padding-block: clamp(28px, 4vw, 64px) clamp(84px, 11vw, 168px); }
.sec.dest { padding-bottom: clamp(56px, 8vw, 120px); }
.sec.espacios { background: #1d130c; color: #fdf8ee; }
.sec.dest { background: #fcc500; color: #1b1a17; }
.sec.espacios::before, .sec.dest::before, .sec.espacios::after, .sec.dest::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--corte); background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 100%); pointer-events: none; }
.sec.espacios::after, .sec.dest::after { height: calc(var(--corte) + 12px); background: #fcc500; clip-path: polygon(0 calc(100% - 12px), 100% 0, 100% 12px, 0 100%); }
/* La segunda diagonal va al revés, con filo claro. */
.sec.dest::before { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.sec.dest::after { background: #fffaf0; clip-path: polygon(0 0, 100% calc(100% - 12px), 100% 100%, 0 12px); }
.espacios .wrap, .dest .wrap { max-width: 1600px; }
.espacios .esp h3 { color: #fdf8ee; }
.espacios .esp p { color: rgba(253, 248, 238, .78); }
.espacios .esp-f { background: #2b1d12; }
.espacios :focus-visible { outline-color: #fcc500; }
.dest .sub { color: #3a2f00; }
.dest .card { padding: 10px 10px 14px; border-radius: 20px; background: #fffaf0; box-shadow: 0 22px 40px -28px rgba(60, 42, 0, .55); }
.dest .card-m.foto { border-radius: 12px; }
.dest .card-b { padding-inline: 4px; }
.dest .card-a { margin-top: auto; padding-top: 12px; }
.dest .card { display: flex; flex-direction: column; }
.dest .card-b { flex: 1; }
.dest :focus-visible { outline-color: #1b1a17; }
@media (min-width: 62em) {
  .espacios .wrap, .dest .wrap { padding-inline: clamp(20px, 2.6vw, 44px); }
  .espacios .h2, .dest .h2 { font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-size: clamp(3rem, 5vw, 5.2rem); font-stretch: 88%; letter-spacing: -.02em; }
  .espacios .esp h3 { font-size: 1.7rem; }
  .espacios .esp p { font-size: 1.05rem; }
}
.dest .card-m.foto { display: block; padding: 0; }
.dest .card-m.foto img { width: 100%; height: 100%; margin: 0; }

/* ---- Catálogo: «¿Qué buscas?» y tarjetas grandes y fáciles de leer ---- */
.cat { max-width: 1600px; }
.cat-h { margin: 6px 0 18px; }
.cat .fil-b { display: inline-flex; align-items: center; gap: 8px; }
.bq { margin-bottom: clamp(20px, 3vw, 36px); }
.bq-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bq-cab h2 { font-size: 1rem; font-weight: 700; color: var(--ink2); }
.bq-cab .textlink { border: 0; background: none; padding: 8px 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.bq-l { display: flex; gap: 10px; overflow-x: auto; padding: 3px 3px 10px; margin-inline: -3px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.bq-t { position: relative; flex: none; display: grid; grid-template-columns: 52px auto; grid-template-rows: auto auto; align-content: center; column-gap: 10px; min-height: 68px; padding: 8px 18px 8px 8px; border: 2px solid var(--line); border-radius: 18px; background: #fff; font: inherit; text-align: left; color: var(--ink); cursor: pointer; scroll-snap-align: start; transition: transform .16s ease-out, border-color .18s ease, background-color .18s ease; }
.bq-f { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--paper2); }
.bq-f img { width: 100%; height: 100%; object-fit: cover; }
.bq-f b { font-size: 28px; font-weight: 700; }
.bq-n { align-self: end; font-size: .95rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.bq-c { align-self: start; font-size: .8rem; color: var(--ink2); white-space: nowrap; }
.bq-ok { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1b1a17; color: #fcc500; font-size: 13px; font-weight: 800; transform: scale(0); transition: transform .22s cubic-bezier(.2, 1.4, .35, 1); }
.bq-t[aria-pressed="true"] { border-color: #1b1a17; background: #fcc500; }
.bq-t[aria-pressed="true"] .bq-c { color: #1b1a17; }
.bq-t[aria-pressed="true"] .bq-ok { transform: none; }
.bq-t:active { transform: scale(.97); }
.bq-t:focus-visible { outline: 3px solid #1b1a17; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .bq-t:hover { border-color: #1b1a17; } }
/* Primera visita: las opciones en grande, todas a la vista. */
.bq.grande .bq-cab h2 { font-size: 1.15rem; }
.bq.grande .bq-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: 14px; overflow: visible; }
.bq.grande .bq-t { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 8px 8px 14px; row-gap: 2px; }
.bq.grande .bq-f { grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.bq.grande .bq-n { font-size: clamp(1rem, 1.5vw, 1.2rem); white-space: normal; padding-inline: 6px; }
.bq.grande .bq-c { padding-inline: 6px; white-space: normal; }
.bq.grande .bq-f b { font-size: 56px; }
.gr + .gr { margin-top: clamp(36px, 5vw, 72px); }
.gr-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-bottom: 12px; border-bottom: 3px solid #1b1a17; }
.gr-h h2 { font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 800; font-stretch: 90%; letter-spacing: -.015em; line-height: 1; }
.gr-ver { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #1b1a17; color: #fffaf0; font-weight: 700; text-decoration: none; }
.gr-ver::after { content: " ›"; margin-left: 6px; font-size: 1.2em; }
.gr .grid { margin-top: 20px; }

/* Tarjeta de producto */
.grid, .cat .grid, .gr .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(27, 26, 23, .09), 0 18px 34px -30px rgba(40, 24, 8, .6); transition: box-shadow .25s ease, transform .25s cubic-bezier(.23, 1, .32, 1); }
.card .card-m.foto { display: block; position: relative; padding: 0; margin: 0; aspect-ratio: 1 / 1; border-radius: 0; background: var(--paper2); overflow: hidden; }
.card .card-m.foto img { width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; object-fit: cover; mix-blend-mode: normal; }
.card .card-m:not(.foto) { border-radius: 0; }
.card-b { flex: 1; gap: 6px; padding: 16px 18px 18px; }
.card .card-c { font-size: .8125rem; color: var(--ink2); }
.card .card-t { font-size: 1.1875rem; font-weight: 800; line-height: 1.28; letter-spacing: -.012em; text-wrap: pretty; }
.card .card-d { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--paper2); font-size: .9rem; font-weight: 600; color: var(--ink); }
.card .precio { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.card .precio b { font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; }
.card .precio small { display: inline; font-size: .85rem; color: var(--ink2); }
.card .card-a { margin-top: 10px; padding: 0; }
.card .add { min-height: 52px; border: 2px solid #1b1a17; border-radius: 16px; background: #fcc500; color: #1b1a17; font-size: 1rem; font-weight: 800; }
.card .add .i { display: inline-block; }
.card .add.on { background: #1b1a17; color: #fcc500; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #1b1a17, 0 28px 40px -30px rgba(40, 24, 8, .7); } .card .add:hover { background: #ffd21f; } .card .add.on:hover { background: #33302a; } }
.card .col-t { left: 12px; bottom: 12px; font-size: .75rem; }
.dest .card { padding: 0; background: #fffaf0; }
.dest .card-b { padding: 16px 18px 18px; }
.dest .grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (max-width: 47.99em) {
  .grid, .cat .grid, .gr .grid, .dest .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card .card-m.foto { aspect-ratio: 4 / 3; }
  .card .card-t { font-size: 1.2rem; }
  .card .precio b { font-size: 1.5rem; }
  .card .add { min-height: 52px; font-size: 1rem; padding: 0 16px; }
  .bq-l { margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding-inline: clamp(16px, 4vw, 40px); }
  .bq.grande .bq-l { margin-inline: 0; padding-inline: 0; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .card, .bq-t, .bq-ok { transition: none; } }
@media (min-width: 62em) { .bq:not(.grande) .bq-l { flex-wrap: wrap; overflow: visible; } .bq:not(.grande) .bq-t { min-height: 60px; padding-right: 14px; } .bq:not(.grande) .bq-f { width: 44px; height: 44px; } }

/* ---- Tarjeta con jerarquía: qué es, qué lo distingue, cuánto mide y, abajo, precio y botón ---- */
.card .card-b { padding: 18px 20px 16px; gap: 0; }
.card .card-c { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; color: var(--ink2); }
.card .card-c::before { content: ""; flex: none; width: 22px; height: 4px; border-radius: 2px; background: #fcc500; }
.card .card-t { margin-top: 10px; font-size: 1rem; }
.card .card-t a, .card .card-t a:hover { text-decoration: none; }
.ct-n { display: block; font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-size: 1.75rem; font-weight: 800; font-stretch: 88%; letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; }
.ct-d { display: block; margin-top: 6px; font-size: 1rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--ink2); text-wrap: pretty; }
.card .card-t a:hover .ct-n { text-decoration: underline; text-decoration-color: #fcc500; text-decoration-thickness: 4px; text-underline-offset: 5px; }
.cota { display: flex; margin-top: auto; padding-top: 18px; }
.cota div { position: relative; padding: 10px 18px 0; border-top: 2px solid #1b1a17; }
.cota div:first-child { padding-left: 0; }
.cota div::before { content: ""; position: absolute; left: 0; top: -6px; width: 2px; height: 10px; background: #1b1a17; }
.cota div:last-child::after { content: ""; position: absolute; right: 0; top: -6px; width: 2px; height: 10px; background: #1b1a17; }
.cota dt { font-size: .75rem; font-weight: 600; color: var(--ink2); }
.cota dd { white-space: nowrap; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cota small { font-size: .8rem; font-weight: 600; color: var(--ink2); }
.card .card-b .cota { min-height: 74px; }
.card .card-d { margin-top: auto; border-radius: 12px; }
.card-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 14px; padding: 16px 20px 18px; background: #1d130c; color: #fffaf0; }
.card .card-pie .precio { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; }
.card .card-pie .precio b { font-size: 1.7rem; line-height: 1.1; color: #fffaf0; }
.card .card-pie .precio small { font-size: .75rem; color: rgba(255, 250, 240, .72); }
.card .card-pie .card-a { flex: 1 0 auto; justify-content: flex-end; margin: 0; }
.card .card-pie .add { flex: 0 0 auto; min-height: 50px; padding: 0 20px; border-color: #fcc500; border-radius: 999px; }
.card .card-pie .add.on { background: #fffaf0; border-color: #fffaf0; color: #1b1a17; }
.card .card-pie :focus-visible { outline: 3px solid #fcc500; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .card .card-pie .add.on:hover { background: #fff; } }

/* ---- Página de producto ---- */
h1[tabindex="-1"]:focus { outline: none; } /* el foco que pone la página al navegar no dibuja un marco */
.prod .fi { display: flex; flex-direction: column; gap: 0; }
.prod .fi .card-c, .fm .card-c { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--ink2); }
.prod .fi .card-c::before, .fm .fm-b .card-c::before { content: ""; width: 28px; height: 5px; border-radius: 3px; background: #fcc500; }
.fi-h { margin: 12px 0 0; font-size: 1rem; }
.fi-h .ct-n { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .96; }
.fi-h .ct-d { margin-top: 12px; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.prod .fi .cota { margin-top: 26px; padding: 0; }
.prod .fi .cota div { padding: 10px 26px 0; } .prod .fi .cota div:first-child { padding-left: 0; }
.prod .fi .cota dd { font-size: 2rem; }
.prod .vars { margin-top: 22px; }
.fi-compra { margin-top: 28px; padding: clamp(20px, 2.4vw, 30px); border-radius: 24px; background: #1d130c; color: #fffaf0; }
.fi-compra .precio.big { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.fi-compra .precio.big b { font-size: clamp(2.4rem, 3.6vw, 3.4rem); color: #fffaf0; letter-spacing: -.03em; }
.fi-compra .precio.big small { color: rgba(255, 250, 240, .75); }
.fi-compra .fi-a { margin-top: 18px; }
.fi-compra .add { flex: 1 1 100%; white-space: nowrap; background: #fcc500; border-color: #fcc500; color: #1b1a17; }
.fi-compra .add.on { background: #fffaf0; border-color: #fffaf0; }
.fi-compra .btn.ghost { flex: 1 1 180px; color: #fffaf0; border-color: rgba(255, 250, 240, .5); background: transparent; }
.fi-compra .fi-cotizar { flex: 1 1 100%; justify-content: center; min-height: 60px; border-color: #fcc500; background: #fcc500; color: #1b1a17; font-size: 1.125rem; font-weight: 800; }
.fi-compra .add.sec { min-height: 50px; border-color: rgba(255, 250, 240, .55); background: transparent; color: #fffaf0; font-size: 1rem; }
.fi-compra .add.sec.on { border-color: #fffaf0; background: #fffaf0; color: #1b1a17; }
.fi-compra .enlace-l { flex: 1 1 100%; min-height: 44px; border: 0; background: transparent; color: #fffaf0; font: inherit; font-size: .9375rem; font-weight: 700; text-decoration: underline; text-decoration-color: #fcc500; text-decoration-thickness: 3px; text-underline-offset: 5px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .fi-compra .fi-cotizar:hover { background: #ffd21f; } .fi-compra .add.sec:hover { background: rgba(255, 250, 240, .14); color: #fffaf0; } .fi-compra .add.sec.on:hover { background: #fff; color: #1b1a17; } }
.fi-n { margin-top: 14px; font-size: .875rem; line-height: 1.5; color: rgba(255, 250, 240, .72); }
.fi-compra :focus-visible { outline: 3px solid #fcc500; outline-offset: 3px; }

.sec.det { padding-block: clamp(40px, 6vw, 88px) clamp(80px, 11vw, 160px); border-top: 0; background: #f4eee3; }
.ca { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 62em) { .det .ca { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; } }
.ca-b { padding: clamp(20px, 2.2vw, 30px); border-radius: 22px; background: #fffdf8; }
.ca-t { margin-bottom: 14px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.ca-ul { display: grid; gap: 12px; }
.ca-ul li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; }
.ca-ul li::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fcc500; font-size: 15px; font-weight: 800; }
.ca-inc { background: #fff; box-shadow: inset 0 5px 0 #fcc500; }
.ca-d { font-size: 1.05rem; line-height: 1.65; color: var(--ink2); max-width: 62ch; }
.ca-dl div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ca-dl div:last-child { border-bottom: 0; }
.ca-dl dt { color: var(--ink2); }
.ca-dl dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ca-est { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
.ca-est a { text-underline-offset: 3px; }
.fm .ca { margin-top: 18px; } .fm .ca-b { padding: 16px; background: var(--paper2); box-shadow: none; } .fm .ca-inc { box-shadow: inset 0 4px 0 #fcc500; }

/* «Más como este»: otra banda, en nogal y con el corte diagonal, para que no se confunda con el producto que se está viendo. */
.sec.rel { position: relative; --corte: clamp(28px, 5vw, 80px); padding-block: clamp(20px, 3vw, 48px) clamp(56px, 7vw, 100px); border: 0; background: #1d130c; color: #fffaf0; }
.sec.rel::before, .sec.rel::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--corte); background: #1d130c; clip-path: polygon(0 100%, 100% 0, 100% 100%); pointer-events: none; }
.sec.rel::after { height: calc(var(--corte) + 12px); background: #fcc500; clip-path: polygon(0 calc(100% - 12px), 100% 0, 100% 12px, 0 100%); }
.rel-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.rel-h .sub { margin-top: 6px; color: rgba(255, 250, 240, .75); }
.rel .gr-ver { background: #fcc500; color: #1b1a17; }
.rel .card { color: var(--ink); background: #fffdf8; }
.rel .card-pie { background: #33241a; }
.rel :focus-visible { outline-color: #fcc500; }
.sec.det .h2, .sec.rel .h2 { font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-stretch: 88%; letter-spacing: -.018em; }
@media (min-width: 48em) { .rel .grid.rel-l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 48em) { .rel-l .card:nth-child(n+4) { display: none; } }
/* En celular, los parecidos se deslizan de lado: ocupan una sola fila y se entiende que son otra cosa. */
@media (max-width: 47.99em) {
  .rel .grid.rel-l { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding: 4px clamp(16px, 4vw, 40px) 14px; scroll-padding-inline: clamp(16px, 4vw, 40px); }
  .rel-l .card { flex: 0 0 76%; scroll-snap-align: start; }
  .rel-l .ct-n { font-size: 1.35rem; } .rel-l .ct-d { font-size: .9rem; } .rel-l .cota dd { font-size: 1.05rem; } .rel-l .cota div { padding-inline: 12px; } .rel-l .cota div:first-child { padding-left: 0; }
  .prod .fi .cota dd { font-size: 1.6rem; } .prod .fi .cota div { padding-inline: 18px; }
}
.cota { max-width: 100%; }
.sec.rel .wrap, .rel-l, .rel-l .card, .prod > * { min-width: 0; max-width: 100%; }
.sec.det .wrap, .sec.rel .wrap { width: 100%; max-width: 1320px; }
/* Los textos ocultos (para buscadores y lectores) se quedan dentro de su tarjeta: si no, ensanchan la página. */
.card, .rel-l, .bq-l { position: relative; }
/* La ventana del producto habla igual que su página. */
.fm .fm-b .card-c { margin: 0; }
.fm .fi-h .ct-n { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.fm .fm-b .cota { padding-top: 6px; }
.fm .fm-b .cota dd { font-size: 1.5rem; }
.fm .fi-compra { margin-top: 6px; padding: 20px; }
.fm .fi-compra .precio.big b { font-size: 2.4rem; }
@media (max-width: 64em) { .cota div { padding-inline: 12px; } }

.priv-l { font-size: .875rem; line-height: 1.5; }
.priv-l a { font-weight: 800; text-underline-offset: 3px; }
@media (max-width: 21em) { .logo img { width: 62px; } .top-in { padding-inline: 8px; gap: 4px; } .acts { gap: 0; } .sel-b { padding-inline: 8px; gap: 4px; } .logo img { width: 56px; } }

/* Mueble sin precio, o precios ocultos */
.precio.pedir b{font-size:1.05rem;letter-spacing:0}.precio.big.pedir b{font-size:1.5rem}

/* Promociones y remates */
.sello { display: inline-flex; gap: 6px; align-items: center; width: max-content; max-width: 100%; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 800; line-height: 1.2; }
.sello b { background: var(--y); color: var(--ink); border-radius: 999px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
.sello.remate { background: #9f1d14; color: #fff; }
.card-m { position: relative; }
.card-m > .sello { position: absolute; left: 10px; top: 10px; z-index: 2; max-width: calc(100% - 20px); }
.of-ley { margin: 6px 0 0; font-size: .8125rem; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.of-ley.remate { color: #9f1d14; }
.card-m.dark .of-ley { color: inherit; }
.precio.con-of s { color: var(--mute); font-variant-numeric: tabular-nums; }
.fi-compra > .of-ley { font-size: .9375rem; margin: 0; }
.of-barra { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; padding: 0 12px; background: var(--ink); color: var(--paper); }
.of-barra a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; color: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; }
.of-barra a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--y); }
.of-barra a.remates::before { background: #ff6b5e; }
.of-barra a:hover, .of-barra a[aria-current] { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.of-barra a:focus-visible { outline: 2px solid var(--y); outline-offset: -4px; }
/* la barra superior cabe completa en pantallas de 62 a 90 em */
@media (min-width: 62em) and (max-width: 89.99em) { .nav ul { gap: 0; } .nav-b { padding: 0 8px; font-size: .875rem; } .nav-3d i { display: none; } }
@media (min-width: 62em) and (max-width: 68.99em) { .nav-b { padding: 0 5px; font-size: .8125rem; } #nl-contacto { display: none; } }
.m-of a { font-weight: 800; }
.of-fichas { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 24px; }
.of-ficha { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 22px; background: var(--ink); color: var(--paper); text-decoration: none; }
.of-ficha.remate { background: #9f1d14; color: #fff; }
.of-ficha h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 2rem; line-height: 1.05; margin: 0; text-wrap: balance; }
.of-ficha p { margin: 0; color: inherit; }
.of-ficha > span { margin-top: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.of-cinta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.of-cinta .h2 { margin: 0; }
.of-men { margin: 6px 0 0; max-width: 60ch; }
.of-bloque { padding-block: 32px; }
.of-titulo { padding-top: 32px; }
/* sobre el recuadro oscuro de la ficha */
.fi-compra .sello:not(.remate) { background: var(--paper); color: var(--ink); }
.fi-compra .of-ley.remate { color: #ffb4ab; }
.fi-compra .precio.con-of s { color: inherit; opacity: .75; }
.card-pie .precio.con-of s { color: inherit; opacity: .75; }
/* Remate: listón inclinado en la esquina de la foto, bien visible */
.card-m > .sello.remate { left: -62px; top: 40px; width: 270px; max-width: none; min-height: 66px; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 62px 10px; border-radius: 0; transform: rotate(-45deg); font-size: .9375rem; line-height: 1.15; text-align: center; border-block: 2px solid rgba(255, 255, 255, .75); box-shadow: 0 8px 20px rgba(60, 8, 4, .35); pointer-events: none; }
.card-m > .sello.remate b { order: -1; background: none; color: var(--y); padding: 0; font-size: 1.5rem; line-height: 1; }
@media (max-width: 30em) { .card-m > .sello.remate { left: -68px; top: 34px; font-size: .875rem; min-height: 60px; } .card-m > .sello.remate b { font-size: 1.3125rem; } }
.card-m:has(> .sello.remate) { overflow: hidden; }
/* Las secciones de promociones y remates respiran antes de la banda que sigue */
.sec.of-inicio, .sec.of-remates { padding-bottom: clamp(56px, 8.75vw, 112px); }
.sec.of-inicio:has(+ .of-remates) { padding-bottom: 0; }
.ofertas .of-bloque:last-child { padding-bottom: clamp(56px, 8.75vw, 112px); }

/* El menú de muebles es un enlace a todo lo suyo (2026-11-29). */
@media (min-width: 62em) { .nav li { display: flex; align-items: center; } }
@media (max-width: 25em) { .logo img { width: 74px; } .top-in { padding-inline: 12px; } .acts { gap: 2px; } .acts .ib { width: 40px; min-width: 40px; } }
.sheet-full .m-premium small { color: inherit; }
/* Sillas Premium */
.mega-l a.mega-premium .mn::after { content: "3D"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: #fcc500; color: #1b1a17; font-size: .7rem; font-weight: 800; vertical-align: middle; }
.premium-f { display: grid; grid-template-columns: minmax(0, 220px) 1fr; align-items: center; gap: 22px; padding: 18px; border-radius: 24px; background: #1d130c; color: #fffaf0; text-decoration: none; }
.premium-f img { width: 100%; height: auto; border-radius: 16px; background: #f3ede2; }
.premium-f b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.premium-f small { display: block; margin-top: 6px; font-size: .95rem; line-height: 1.45; color: rgba(255, 250, 240, .82); }
.premium-f:focus-visible, .pill-premium:focus-visible { outline: 3px solid #fcc500; outline-offset: 3px; }
a.pill-premium { display: inline-flex; align-items: center; gap: 8px; border-color: #1d130c; background: #1d130c; color: #fcc500; text-decoration: none; }
a.pill-premium small { color: rgba(255, 250, 240, .82); }

/* Cartelera fija (2026-11-29): si no cabe, se recorre por dentro. */
@media (min-width: 62em) { .mega { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; } }

/* Subcategorías sobre los resultados (2026-11-30): se navega tocando la foto; sustituyen a los filtros. */
.sub-nav { display: flex; gap: 12px; overflow-x: auto; padding: 3px 3px 12px; margin: 0 -3px 14px; scroll-snap-type: x proximity; }
.sub-t { flex: 0 0 148px; display: grid; gap: 4px; align-content: start; padding: 8px 8px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--lin); text-decoration: none; color: var(--ink); scroll-snap-align: start; transition: box-shadow .18s var(--out), transform .18s var(--out); }
.sub-t:active { transform: scale(.98); }
.sub-t[aria-current="page"] { box-shadow: inset 0 0 0 3px var(--ink); background: #fff6d1; }
@media (hover: hover) and (pointer: fine) { .sub-t:hover { box-shadow: inset 0 0 0 2px var(--ink); } }
.sub-f { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #f4f4f2; }
.sub-f img { width: 100%; height: 100%; object-fit: cover; }
.sub-t.premium .sub-f img { object-fit: contain; }
.sub-n { font-weight: 700; font-size: .875rem; line-height: 1.25; padding: 4px 4px 0; }
.sub-t small { padding: 0 4px; color: var(--mute); font-size: .75rem; }
@media (max-width: 40em) { .sub-t { flex-basis: 128px; } }

/* Producto sin foto: una frase de comodidad en el mismo espacio de la foto, para no mover el acomodo */
.sinfoto-frase { position: relative; display: grid; align-content: center; justify-items: start; gap: 14px; width: 100%; height: 100%; min-height: 96px; padding: clamp(14px, 8%, 30px); text-align: left; }
.sinfoto-frase::before { content: ""; width: 44px; height: 5px; border-radius: 3px; background: #fcc500; }
.sinfoto-frase .sf-t { font-weight: 800; font-size: clamp(1.05rem, 2.2vw + .35rem, 1.7rem); line-height: 1.15; letter-spacing: -.02em; color: #1d130c; text-wrap: balance; }
.est-f .sinfoto-frase, .mini-p .sinfoto-frase { min-height: 0; padding: 8px; gap: 6px; justify-items: center; align-content: center; }
.est-f .sinfoto-frase .sf-t { font-size: .8125rem; font-weight: 700; text-align: center; }
.mini-p .sinfoto-frase .sf-t { display: none; }
.mini-p .sinfoto-frase::before { width: 22px; height: 4px; }
