/* MEISEOL · Portada de /perfumes/ (= meiseol.com): propuesta A «Evolución» (aprobada el 8-11-2026) sobre la propuesta 5
   «Banner + protagonista» (6-11-2026). Solo la carga web/perfumes/index.html y todo cuelga de .phome (el #page de la
   portada, listing.js): los demás listados (colecciones, marcas, búsqueda) no cambian. Piezas de listing-hub.js (la franja de
   ventajas ya es de todas las páginas: .strip en shop.css): .hpromo (presentación, H1), .hhero/.hb/.hs (carrusel con pestañas), .hside/.hrow (los favoritos),
   .hfx (filtros compactos), .hbrands (marcas), .hinfo («Antes de comprar», dentro del listado) y .htrust (garantías).
   Móvil primero; 700 px tableta; 1000 px escritorio (los cortes de listing.css). Regla de la casa: nada se desliza a los
   lados salvo el carrusel. */

.nw { white-space: nowrap; }

/* ───── Presentación: «Perfumes árabes originales» (H1) con las cifras del catálogo ───── */
.phome .hpromo { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 16px; }
.phome .hpromo__t { font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.phome .hpromo__p { margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: #4B4858; }
.phome .hpromo__l, .phome .hpromo__test { display: none; }
.phome .hpromo__test { align-items: center; gap: 6px; padding-bottom: 4px; font-size: 14px; font-weight: 800; color: var(--violet-ink); text-decoration: none; white-space: nowrap; }
.phome .hpromo__test .i { width: 16px; height: 16px; }
.phome .hpromo__spk { width: 13px; height: 13px; }
/* «Pronto · Cosmética coreana…» bajo las cifras (listing-hub.js → soonLine): en el móvil, bloque a lo ancho con la flecha;
   desde la tableta, píldora a la medida del texto con «Ver lo que llega». */
.phome .hpromo__txt { min-width: 0; }
.phome .hsoon {
  margin-top: 12px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px 8px 8px;
  border-radius: 16px; background: var(--tint); color: var(--graphite); text-decoration: none;
}
.phome .hsoon__tag {
  flex: none; padding: 8px 10px 7px; border-radius: 999px; background: var(--lime);
  font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1; text-transform: uppercase;
}
.phome .hsoon__t { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.phome .hsoon__go { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--violet-ink); font-weight: 800; white-space: nowrap; }
.phome .hsoon__go .i { width: 18px; height: 18px; }
.phome .hsoon__gol { display: none; }
.phome .hsoon:hover .hsoon__gol { text-decoration: underline; text-underline-offset: 3px; }

/* ───── Carrusel: en el móvil, a sangre y con el borde del anuncio siguiente a la vista ───── */
.phome .hhero { padding-top: 12px; }
.phome .hhero__grid { padding-inline: 0; }
.phome .hb { position: relative; }
.phome .hb__track {
  display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: 20px; scroll-padding-inline: 20px;
}
.phome .hb__track::-webkit-scrollbar { display: none; }
.phome .hs { position: relative; flex: 0 0 calc(100% - 26px); overflow: hidden; scroll-snap-align: start; padding: 16px 16px 14px; border-radius: 26px; }
/* el antetítulo es texto corrido (puede llevar «desde 21,95 €» sin partir) y el destello va detrás, en línea */
.phome .hs__spk { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; }
.phome .hs__eb { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-ink); }

/* anuncios 1 (campaña) y 2 (marca del mes): mensaje, tres productos en fila (también en el móvil: nada se desliza dentro
   del anuncio) y el botón debajo. En el móvil el mensaje se deshace (display: contents) para poner el botón al final. */
.phome .hs--camp { display: flex; flex-direction: column; padding: 16px 10px 12px; }
.phome .hc__copy { display: contents; }
.phome .hs--camp .hs__eb, .phome .hc__t, .phome .hc__p { padding-inline: 6px; }
.phome .hc__t { margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.phome .hc__p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin-top: 6px; font-size: 13px; line-height: 1.42; color: #3A3746;
}
/* las tarjetas miden lo que su contenido: si otro anuncio es más alto, el hueco queda encima del botón, no dentro de ellas */
.phome .hs--camp .ht__list { order: 2; flex: none; margin: 12px 0 10px; }
.phome .hc__cta { order: 3; align-self: stretch; min-height: 42px; margin-top: auto; padding: 0 16px; font-size: 13px; }
.phome .hc__cta .i { width: 16px; height: 16px; }
.phome .ht__list { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.phome .ht__it {
  position: relative; display: grid; grid-template-rows: 100px auto; min-width: 0; padding: 12px 9px 10px;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; background: rgba(255, 255, 255, .7); color: var(--graphite);
}
.phome .ht__art { position: relative; display: block; min-height: 0; }
.phome .ht__art > .hcut, .phome .ht__art > .art { position: absolute; left: 50%; bottom: 0; width: auto; max-width: 100%; height: 100%; object-fit: contain; transform: translateX(-50%); }
.phome .hcut { filter: drop-shadow(0 12px 14px rgba(50, 30, 120, .22)); }
.phome .ht__body { display: flex; flex-direction: column; min-width: 0; padding-top: 8px; }
.phome .ht__brand { overflow: hidden; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; white-space: nowrap; text-overflow: ellipsis; text-transform: uppercase; color: var(--violet-ink); }
.phome .ht__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13.5px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.phome .ht__name a { text-decoration: none; }
.phome .ht__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.phome .ht__who { font-size: 11px; color: var(--muted); }
.phome .ht__row { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: auto; padding-top: 6px; }
.phome .ht__price { margin: 0; }
.phome .ht__price .price__now { font-size: 15px; font-weight: 800; }
.phome .ht__add, .phome .hp__plus {
  position: relative; z-index: 1; display: grid; place-items: center; height: 34px; padding: 0; border: 0; border-radius: 999px;
  background: var(--graphite); color: var(--milk); cursor: pointer; transition: background .2s;
}
.phome .ht__add:hover { background: var(--violet); }
.phome .ht__add.is-added { background: var(--ok); }
.phome .ht__add .i, .phome .hp__plus .i { width: 18px; height: 18px; stroke-width: 2.2; }

/* colores: el tema de la colección en el panel (.coll--*, shop.css), en versión suave; graphite, oscuro con brillo ámbar */
.phome .hs--camp.coll--violet { background: radial-gradient(70% 90% at 70% 100%, #fff, rgba(255, 255, 255, 0)), linear-gradient(180deg, #F2EEFF, #E2DAFF); }
.phome .hs--camp.coll--pink { background: radial-gradient(70% 90% at 70% 100%, #fff, rgba(255, 255, 255, 0)), linear-gradient(160deg, #FFF0F6, #FFD3E6); }
.phome .hs--camp.coll--pink .hs__eb { color: #A8275F; }
.phome .hs--camp.coll--ice { background: radial-gradient(70% 90% at 70% 100%, #fff, rgba(255, 255, 255, 0)), linear-gradient(160deg, #F0FAFF, #CDEEFF); }
.phome .hs--camp.coll--ice .hs__eb { color: #1D6890; }
.phome .hs--camp.coll--blue { background: radial-gradient(70% 90% at 70% 100%, #fff, rgba(255, 255, 255, 0)), linear-gradient(160deg, #EFF3FF, #D3DEFF); }
.phome .hs--camp.coll--blue .hs__eb { color: #2E4CC4; }
.phome .hs--camp.coll--lime { background: radial-gradient(70% 90% at 70% 100%, #fff, rgba(255, 255, 255, 0)), linear-gradient(160deg, #F7FCE3, #E6F6A6); }
.phome .hs--camp.coll--lime .hs__eb { color: #4D6400; }
.phome .hs--camp.coll--graphite {
  background: radial-gradient(55% 80% at 88% 10%, rgba(214, 160, 80, .3), rgba(214, 160, 80, 0) 70%),
    radial-gradient(50% 75% at 0% 100%, rgba(118, 87, 255, .42), rgba(118, 87, 255, 0) 70%), #17141F;
  color: var(--milk);
}
.phome .hs--camp.coll--graphite .hs__eb { color: #EBC98C; }
.phome .hs--camp.coll--graphite .hc__p { color: rgba(255, 253, 248, .8); }
.phome .hs--camp.coll--graphite .ht__it { border-color: #fff; background: #fff; }

/* anuncio 3: «Llévate dos». En el móvil, foto arriba. */
.phome .hs--pair { display: flex; flex-direction: column; padding: 0 0 16px; }
.phome .hs--pair { background: radial-gradient(60% 70% at 70% 30%, #fff, rgba(255, 255, 255, 0)), linear-gradient(120deg, #F3FBCF, #E2F5A0); }
.phome .hp__art { order: -1; position: relative; display: flex; align-items: flex-end; justify-content: center; height: 156px; padding: 16px 12px 0; }
.phome .hp__copy { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 10px 18px 0; }
.phome .hs--pair .hs__t { margin-top: 4px; font-size: 25px; }
.phome .hs--pair .hs__p { margin: 6px 0 12px; font-size: 13px; -webkit-line-clamp: 2; }
.phome .hs--pair .hs__eb { color: #4D6400; }
.phome .hp__fast { display: none; }
.phome .hs--pair .hs__cta { align-self: stretch; }
.phome .hp__it { position: relative; display: grid; justify-items: center; gap: 4px; color: var(--graphite); text-decoration: none; }
.phome .hp__cap { display: grid; justify-items: center; padding: 2px 8px; border-radius: 10px; background: rgba(255, 255, 255, .9); font-size: 10.5px; font-weight: 700; line-height: 1.3; text-align: center; font-variant-numeric: tabular-nums; }
.phome .hp__cap b { font-weight: 800; }
.phome .hp__art { gap: 8px; }
.phome .hp__it .hcut { width: auto; max-width: 128px; height: 104px; object-fit: contain; }
.phome .hp__plus { flex: none; align-self: center; width: 30px; height: 30px; margin-bottom: 26px; }
.phome .hp__badge {
  position: absolute; z-index: 3; top: -12px; right: -12px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--graphite); color: var(--lime); font-size: 9.5px; font-weight: 800; line-height: 1.1; text-align: center; transform: rotate(-10deg);
}

/* anuncio de envío gratis (si el ranking no da una pareja que llegue al mínimo) */
.phome .hs--ship { display: flex; flex-direction: column; padding: 22px 20px 20px; }
.phome .hs--ship { background: linear-gradient(140deg, var(--violet) 0%, #6466FF 50%, var(--blue) 100%); color: #fff; }
.phome .hs__copy { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 68%; }
.phome .hs--ship .hs__eb { color: var(--lime); }
.phome .hs__t { margin-top: 8px; font-size: 30px; font-weight: 800; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.phome .hs__p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  margin: 8px 0 16px; font-size: 13px; line-height: 1.45; color: #3A3746;
}
.phome .hs--ship .hs__p { color: rgba(255, 255, 255, .9); }
.phome .hs__cta { margin-top: auto; min-height: 44px; padding: 0 18px; font-size: 13px; }
.phome .hs__deco { position: absolute; z-index: 1; right: -12px; bottom: -12px; width: 50%; height: 62%; }
.phome .hs__bb { position: absolute; }
.phome .hs__deco .hs__bb { left: auto; top: auto; right: 0; bottom: 0; width: 168px; height: 168px; transform: none; }
.phome .hs__truck { position: absolute; right: 46px; bottom: 46px; width: 80px; height: 80px; color: #fff; stroke-width: 1.3; }

/* pestañas con el nombre de cada anuncio (en vez de puntos): debajo en el móvil y la tableta, dentro en el escritorio.
   En el móvil, el nombre corto; si no caben, pasan a otra línea (nunca se deslizan). */
.phome .hb__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px 20px 0; }
.phome .hb__tab {
  min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(27, 27, 27, .06);
  font: inherit; font-size: 12.5px; font-weight: 700; color: #4B4858; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s;
}
.phome .hb__tab:hover { background: rgba(27, 27, 27, .1); }
.phome .hb__tab[aria-current="true"] { background: var(--graphite); color: var(--milk); }
.phome .hb__tl { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.phome .hside { display: none; }

/* ───── Filtros compactos: «Para quién» + familias, sin deslizar a los lados ───── */
.phome .hfx { padding-top: 16px; }
.phome .hfx__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.phome .hfx__title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.phome .hfx__spk { width: 13px; height: 13px; }
.phome .hfx__test { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--violet-ink); text-decoration: none; white-space: nowrap; }
.phome .hfx__test .i { width: 15px; height: 15px; }
.phome .hfx__seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 3px; border: 1px solid rgba(27, 27, 27, .12); border-radius: 999px; background: #fff;
}
.phome .hfx__opt {
  min-height: 36px; padding: 0 6px; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--graphite); white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s;
}
.phome .hfx__opt[aria-pressed="true"] { background: var(--graphite); color: var(--milk); }
.phome .hfx__l { display: none; }
/* en el móvil los botones crecen para llenar cada fila: 4 + 3 en un móvil de 390 px */
.phome .hfx__fams { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.phome .hfx__fam {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 9px;
  border: 1px solid var(--fam-1); border-radius: 999px; background: var(--fam-bg);
  font: inherit; font-size: 12.5px; font-weight: 700; color: var(--graphite); white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.phome .hfx__dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fam-2); }
.phome .hfx__fam[aria-pressed="true"] { border-color: var(--graphite); background: var(--graphite); color: var(--milk); }
.phome .hfx__fam.is-zero:not([aria-pressed="true"]) { opacity: .45; }

/* ───── Marcas: título y «Ver todas» arriba y 6 logotipos en 3 × 2 en el móvil; una fila de 9 en el escritorio ───── */
.phome .hbrands { padding-top: 16px; }
.phome .hbrands__band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t all" "list list"; align-items: center; gap: 8px 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff;
}
.phome .hbrands__t { grid-area: t; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.phome .hbrands__t span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.phome .hbrands__all { grid-area: all; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--violet-ink); text-decoration: none; white-space: nowrap; }
.phome .hbrands__all .i { width: 15px; height: 15px; }
.phome .hbrands__list { grid-area: list; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; }
.phome .hbrands__list > li:nth-child(n+5) { display: none; }
.phome .hbrands__it { display: grid; place-items: center; height: 44px; border-radius: 12px; transition: background .2s; }
.phome .hbrands__it:hover { background: var(--tint); }
/* en gris oscuro, todos iguales; en color al pasar por encima */
.phome .hbrands__it img { display: block; width: var(--lw, 60%); height: auto; max-height: 100%; object-fit: contain; filter: grayscale(1) brightness(.55); transition: filter .2s; }
.phome .hbrands__it:hover img, .phome .hbrands__it:focus-visible img { filter: none; }

/* ───── Resultados: «Todos los perfumes» (H2) con cuántos hay a la venta; «Filtrar» y «Ordenar» en una fila ───── */
.phome .results { padding-top: 22px; }
.phome .results__head { margin-bottom: 10px; }
.phome .results__title { font-size: clamp(21px, 3vw, 32px); }
.phome .results__n { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.phome .results__n strong { color: var(--graphite); }
.phome .toolbar { flex-wrap: nowrap; justify-content: space-between; }
.phome .toolbar__count { display: none; }
@media (max-width: 999.98px) {
  .phome .sort__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 359.98px) { .phome .toolbar { flex-wrap: wrap; } }

/* «Antes de comprar»: siempre en la 3.ª fila de la rejilla, tenga las columnas que tenga (las tarjetas la rodean). En el
   móvil, tres filas cortas; desde la tableta, tres tarjetas con su texto. */
.phome .hinfo { grid-column: 1 / -1; grid-row: 3; padding: 6px 0; }
.phome .hinfo__title { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.phome .hinfo__tspk { width: 13px; height: 13px; }
.phome .hinfo__list { display: grid; gap: 8px; }
.phome .hinfo__it {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 18px; align-items: center; gap: 12px; height: 100%;
  padding: 8px 14px 8px 8px; border-radius: 18px; color: var(--graphite); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s;
}
.phome .hinfo__it:hover { box-shadow: 0 14px 30px -20px rgba(60, 40, 120, .45); }
.phome .hinfo__it--oud { background: #F7EDE3; }
.phome .hinfo__it--test { background: var(--tint); }
.phome .hinfo__it--gift { background: #FFEAF2; }
.phome .hinfo__art { display: grid; place-items: center; width: 52px; height: 52px; }
.phome .hinfo__art .hcut { width: auto; max-width: 100%; height: 48px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(60, 30, 20, .2)); }
.phome .hinfo__spk { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.phome .hinfo__spk .spark, .phome .hinfo__spk svg { width: 22px; height: 22px; }
.phome .hinfo__txt { display: grid; min-width: 0; }
.phome .hinfo__txt b { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.phome .hinfo__s { font-size: 12.5px; color: #4B4858; }
.phome .hinfo__p, .phome .hinfo__cta { display: none; }
.phome .hinfo__go { width: 16px; height: 16px; color: var(--violet-ink); }

@media (max-width: 599.98px) {
  .phome .grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .phome .grid--home .pcard { display: flex; flex-direction: column; }
  .phome .grid--home .pcard__media {
    aspect-ratio: 1 / .95; min-height: 0; padding: 0;
    border-radius: calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0 0;
  }
  .phome .grid--home .pcard__media > .art { bottom: 8%; height: 76%; }
  .phome .grid--home .pcard__media .badges { flex-direction: row; max-width: calc(100% - 50px); }
  .phome .grid--home .pcard__fav { top: 8px; right: 8px; width: 34px; height: 34px; }
  .phome .grid--home .pcard__fav .i { width: 16px; height: 16px; }
  .phome .grid--home .pcard__body { padding: 10px 10px 2px; }
  .phome .grid--home .pcard__brand { font-size: 10px; }
  .phome .grid--home .pcard__name { font-size: 14.5px; }
  .phome .grid--home .pcard__notes {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: 12px;
  }
  .phome .grid--home .pcard__buy { margin-top: auto; gap: 8px; padding: 8px 10px 10px; }
  .phome .grid--home .pcard__row { gap: 2px 8px; }
  .phome .grid--home .pcard__row .price__now { font-size: 16px; }
  .phome .grid--home .pcard__avail { font-size: 11.5px; }
  .phome .grid--home .pcard__actions { flex-direction: column; align-items: stretch; gap: 0; }
  .phome .grid--home .pcard__actions .btn--add { min-height: 42px; padding: 0 8px; letter-spacing: .08em; }
  .phome .grid--home .pcard__actions .btn--add .i { display: inline-block; }
  .phome .grid--home .pcard__size { font-size: 12px; }
  .phome .grid--home .sizes { grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 4px; }
  .phome .grid--home .size { padding: 5px 6px; border-radius: 10px; }
  .phome .grid--home .size__label { font-size: 12px; }
  .phome .grid--home .size__price { font-size: 11px; }
  /* alto reservado de las tarjetas fuera de la pantalla (content-visibility, listing.css): las de 2 por fila */
  .phome #grid > .pcard { contain-intrinsic-size: auto 350px; }
}

/* ───── Colecciones en el móvil: 2 × 2 en cuadrícula (sin carrusel) y «Ver todas» debajo ───── */
@media (max-width: 699.98px) {
  .phome .colls__grid {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .phome .colls__grid > li:nth-child(n+5) { display: none; }
  .phome .coll { min-height: 168px; padding: 14px; border-radius: 20px; }
  .phome .coll__art { top: 8px; right: 0; height: 76px; }
  .phome .coll__body { padding-right: 30px; }
  .phome .coll__count { padding: 4px 8px; font-size: 9.5px; letter-spacing: .12em; }
  .phome .coll__name { font-size: 15px; }
  .phome .coll__tag { display: none; }
  .phome .coll__go { right: 10px; bottom: 10px; width: 30px; height: 30px; }
  .phome .coll__go .i { width: 15px; height: 15px; }
}

/* ───── Garantías: una franja (tira de 4 iconos en el móvil; una línea con detalle en el escritorio) ───── */
.phome .htrust { padding: 8px 0 36px; content-visibility: auto; contain-intrinsic-size: auto 170px; }
.phome .htrust__band {
  padding: 14px 6px 12px; border: 1px solid rgba(118, 87, 255, .12); border-radius: 24px;
  background: linear-gradient(120deg, var(--tint) 0%, #EEF0FF 55%, #E9F6FF 100%);
}
.phome .htrust__title { display: flex; align-items: center; justify-content: center; gap: 7px; padding-bottom: 10px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.phome .htrust__spk { width: 12px; height: 12px; }
.phome .htrust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phome .htrust__list > li + li { border-left: 1px solid rgba(27, 27, 27, .08); }
.phome .htrust__it { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 2px 4px; color: inherit; text-align: center; text-decoration: none; }
.phome .htrust__it:hover b { color: var(--violet-ink); }
.phome .htrust__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--violet); box-shadow: 0 6px 14px -8px rgba(118, 87, 255, .6); }
.phome .htrust__ic .i { width: 17px; height: 17px; }
.phome .htrust__txt b { display: block; font-size: 11px; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.phome .htrust__txt small { display: none; }

/* ───── Tableta ───── */
@media (min-width: 700px) {
  .phome .hpromo { padding-top: 22px; }
  .phome .hpromo__t { font-size: 34px; }
  .phome .hpromo__p { font-size: 15px; }
  .phome .hpromo__l { display: inline; }
  .phome .hpromo__s { display: none; }
  .phome .hsoon { width: max-content; max-width: 100%; margin-top: 14px; min-height: 44px; padding: 6px 18px 6px 6px; border-radius: 999px; }
  .phome .hsoon__tag { padding: 9px 11px 8px; }
  .phome .hsoon__t { flex: 0 1 auto; font-size: 14.5px; line-height: 1.25; }
  .phome .hsoon__go { font-size: 14.5px; }
  .phome .hsoon__go .i { width: 16px; height: 16px; }
  .phome .hsoon__gol { display: inline; }
  .phome .hs--camp { padding: 20px 16px 16px; }
  .phome .hc__t { font-size: 30px; }
  .phome .hc__p { font-size: 14.5px; }
  .phome .hc__cta { align-self: flex-start; margin-left: 6px; }
  .phome .ht__list { gap: 12px; }
  .phome .ht__it { grid-template-rows: 140px auto; padding: 16px 14px 14px; border-radius: 22px; }
  .phome .ht__brand { font-size: 10.5px; }
  .phome .ht__name { font-size: 17px; }
  .phome .ht__who { font-size: 12.5px; }
  .phome .ht__row { flex-direction: row; align-items: center; justify-content: space-between; }
  .phome .ht__price .price__now { font-size: 18px; }
  .phome .ht__add { flex: none; width: 40px; height: 40px; }
  .phome .hb__tl { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
  .phome .hb__ts { display: none; }
  .phome .hp__art { height: 200px; }
  .phome .hp__it .hcut { max-width: 170px; height: 138px; }
  .phome .hs--pair .hs__t, .phome .hs__t { font-size: 36px; }
  .phome .hs__p { font-size: 15px; }
  .phome .hbrands__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .phome .hbrands__list > li:nth-child(5), .phome .hbrands__list > li:nth-child(6) { display: block; }
  .phome .hinfo__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .phome .hinfo__it { grid-template-columns: minmax(0, 1fr) 84px; align-items: center; gap: 12px; padding: 18px 16px 18px 20px; border-radius: 22px; }
  .phome .hinfo__art { order: 2; width: 84px; height: 96px; }
  .phome .hinfo__art .hcut { height: 92px; }
  .phome .hinfo__spk { width: 72px; height: 72px; }
  .phome .hinfo__spk .spark, .phome .hinfo__spk svg { width: 36px; height: 36px; }
  .phome .hinfo__txt { gap: 4px; }
  .phome .hinfo__txt b { font-size: 17px; letter-spacing: -.02em; }
  .phome .hinfo__s, .phome .hinfo__go { display: none; }
  .phome .hinfo__p { display: block; font-size: 13.5px; line-height: 1.4; color: #4B4858; }
  .phome .hinfo__cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 14px; font-weight: 800; color: var(--violet-ink); }
  .phome .hinfo__cta .i { width: 15px; height: 15px; }
}

/* ───── Escritorio ───── */
@media (min-width: 1000px) {
  .phome .hpromo__t { font-size: 40px; }
  .phome .hpromo__p { font-size: 17px; }
  .phome .hpromo__test { display: inline-flex; }
  .phome .hpromo--soon .hpromo__test { padding-bottom: 13px; }

  .phome .hhero { padding-top: 20px; }
  .phome .hhero__grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 20px; padding-inline: 20px; }
  .phome .hb { height: 400px; overflow: hidden; border-radius: 30px; }
  .phome .hb__track { height: 100%; gap: 0; padding: 0; scroll-padding: 0; }
  .phome .hs { flex-basis: 100%; height: 100%; border-radius: 0; }
  .phome .hs__spk { width: 13px; height: 13px; }
  .phome .hs__eb { font-size: 12px; }

  /* campaña y marca del mes: mensaje a la izquierda, productos a la derecha; abajo, sitio para las pestañas */
  .phome .hs--camp { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 22px; padding: 26px 26px 74px 36px; }
  .phome .hc__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; }
  .phome .hs--camp .hs__eb, .phome .hc__t, .phome .hc__p { padding-inline: 0; }
  .phome .hc__t { margin-top: 8px; font-size: 36px; line-height: 1.03; letter-spacing: -.04em; }
  .phome .hc__p { margin-top: 10px; font-size: 15px; -webkit-line-clamp: 4; }
  .phome .hc__cta { align-self: flex-start; min-height: 46px; margin: 18px 0 0; padding: 0 22px; font-size: 14px; }
  .phome .hs--camp .ht__list { margin: 0; gap: 12px; min-height: 0; }
  .phome .ht__it { grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding: 14px 14px 14px; border-radius: 22px; }
  .phome .ht__art > .hcut { max-height: 150px; }
  .phome .ht__name { font-size: 16px; letter-spacing: -.02em; }
  .phome .ht__row { gap: 6px; }
  .phome .ht__price .price__now { font-size: 17px; }
  .phome .ht__add { width: 36px; height: 36px; }
  .phome .ht__add .i { width: 16px; height: 16px; }

  .phome .hs--pair { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); padding: 0; }
  .phome .hp__copy { order: 0; justify-content: center; padding: 34px 0 74px 48px; }
  .phome .hs--pair .hs__t { margin-top: 8px; font-size: 40px; }
  .phome .hs--pair .hs__p { max-width: 34ch; margin: 10px 0 0; font-size: 15.5px; -webkit-line-clamp: 3; }
  .phome .hp__fast { display: block; margin: 8px 0 18px; font-size: 13.5px; color: #3A3746; }
  .phome .hs--pair .hs__cta { align-self: flex-start; margin-top: 0; }
  .phome .hp__art { order: 0; height: auto; gap: 10px; padding: 64px 34px 74px 8px; }
  .phome .hp__cap { padding: 4px 10px; border-radius: 12px; font-size: 12px; }
  .phome .hp__it .hcut { max-width: 148px; height: 136px; }
  .phome .hp__plus { width: 40px; height: 40px; margin-bottom: 40px; }
  .phome .hp__badge { top: -20px; right: -6px; width: 78px; height: 78px; font-size: 12.5px; }
  .phome .hs--ship { flex-direction: row; align-items: center; padding: 40px 52px 74px; }
  .phome .hs__copy { flex: 0 1 auto; max-width: 54%; }
  .phome .hs__t { margin-top: 10px; font-size: 54px; }
  .phome .hs__p { max-width: 42ch; margin: 12px 0 0; font-size: 16px; -webkit-line-clamp: 3; }
  .phome .hs__cta { margin-top: 20px; min-height: 50px; padding: 0 24px; font-size: 14px; }
  .phome .hs__deco { top: 0; right: 3%; bottom: 0; width: 42%; height: 100%; }
  .phome .hs__deco .hs__bb { top: 50%; right: 30px; bottom: auto; width: 290px; height: 290px; transform: translateY(-50%); }
  .phome .hs__truck { top: 50%; right: 100px; bottom: auto; width: 150px; height: 150px; transform: translateY(-50%); }

  /* pestañas dentro del anuncio, abajo a la izquierda; sobre un anuncio oscuro (data-dark), en claro */
  .phome .hb__tabs { position: absolute; z-index: 3; left: 36px; bottom: 20px; justify-content: flex-start; padding: 0; }
  .phome .hb__tab { min-height: 34px; padding: 0 14px; font-size: 13.5px; background: rgba(27, 27, 27, .07); }
  .phome .hb[data-dark="true"] .hb__tab { background: rgba(255, 255, 255, .12); color: rgba(255, 253, 248, .85); }
  .phome .hb[data-dark="true"] .hb__tab:hover { background: rgba(255, 255, 255, .2); }
  .phome .hb[data-dark="true"] .hb__tab[aria-current="true"] { background: var(--milk); color: var(--graphite); }
  .phome .hb[data-dark="true"] :focus-visible { outline-color: var(--milk); }

  .phome .hside { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 12px; border: 1px solid var(--line); border-radius: 30px; background: #fff; }
  .phome .hside__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 6px 4px; }
  .phome .hside__title { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
  .phome .hside__spk { width: 14px; height: 14px; }
  .phome .hside__all { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 800; color: var(--violet-ink); text-decoration: none; white-space: nowrap; }
  .phome .hside__all .i { width: 15px; height: 15px; }
  .phome .hside__list { flex: 1; display: grid; grid-auto-rows: 1fr; }
  /* filas de 96 px como máximo: con marca, nombre en 2 líneas, notas y precio, el panel no pasa del alto del banner (400 px) */
  .phome .hrow { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 4px 8px; border-radius: 18px; transition: background .2s; }
  .phome .hrow:hover { background: var(--tint); }
  .phome .hrow__media { position: relative; display: block; height: 80px; overflow: hidden; border-radius: 16px; }
  .phome .hrow__media > .art { position: absolute; left: 50%; bottom: 7%; height: 80%; transform: translateX(-50%); }
  .phome .hrow__media > .pmedia__img { width: 100%; height: 100%; object-fit: cover; }
  .phome .hrow__media:has(.hcut) { display: grid; place-items: center; padding: 6px; background: var(--tint); }
  .phome .hrow__media > .hcut { width: auto; max-width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(50, 30, 120, .18)); }
  .phome .hside__sub { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .phome .hside--rank .hrow { grid-template-columns: 16px 80px minmax(0, 1fr) auto; gap: 12px; }
  .phome .hrow__n { font-size: 18px; font-weight: 800; color: var(--violet-ink); text-align: center; font-variant-numeric: tabular-nums; }
  .phome .hrow__body { min-width: 0; }
  .phome .hrow__brand { overflow: hidden; font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .16em; white-space: nowrap; text-overflow: ellipsis; text-transform: uppercase; color: var(--violet-ink); }
  .phome .hrow__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
  .phome .hrow__name a { text-decoration: none; }
  .phome .hrow__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .phome .hrow__notes { overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
  .phome .hrow__price { margin-top: 2px; line-height: 1.25; }
  .phome .hrow__price .price__now { font-size: 16px; }
  .phome .hrow__add {
    position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: var(--graphite); color: var(--milk); cursor: pointer; transition: background .2s;
  }
  .phome .hrow__add:hover { background: var(--violet); }
  .phome .hrow__add.is-added { background: var(--ok); }
  .phome .hrow__add .i { width: 20px; height: 20px; stroke-width: 2.2; }

  .phome .hfx { padding-top: 26px; }
  .phome .hfx__head { margin-bottom: 12px; }
  .phome .hfx__title { font-size: 22px; }
  .phome .hfx__spk { width: 15px; height: 15px; }
  .phome .hfx__test { display: none; } /* en el escritorio el test ya está en la presentación */
  .phome .hfx__row { display: flex; align-items: center; gap: 16px; }
  .phome .hfx__seg { flex: none; }
  .phome .hfx__opt { padding: 0 14px; }
  .phome .hfx__s { display: none; }
  .phome .hfx__l { display: inline; }
  .phome .hfx__fams { margin: 0; gap: 6px; }
  .phome .hfx__fam { flex: none; min-height: 38px; padding: 0 11px; font-size: 12.5px; }
  .phome .hfx__dot { display: block; }

  .phome .hbrands { padding-top: 22px; }
  .phome .hbrands__band { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "t list all"; gap: 24px; padding: 12px 26px; border-radius: 22px; }
  .phome .hbrands__t { display: grid; font-size: 19px; line-height: 1.2; }
  .phome .hbrands__t span { font-size: 12.5px; }
  .phome .hbrands__list { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .phome .hbrands__list > li:nth-child(n+7) { display: block; }
  .phome .hbrands__all { font-size: 14px; }

  .phome .results { padding-top: 30px; }
  .phome:not(.phome--filtered) .shop-layout { display: block; }
  .phome:not(.phome--filtered) .shop-layout__side { display: none; }
  .phome:not(.phome--filtered) .toolbar__filter { display: inline-flex; }
  .phome .refine { display: block; }
  .phome:not(.phome--filtered) .grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phome--filtered .grid--home { grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); }
  .phome .hinfo { padding: 10px 0; }
  .phome .hinfo__title { font-size: 22px; }

  .phome .htrust { padding-bottom: 48px; }
  .phome .htrust__band { display: flex; align-items: center; padding: 18px 12px 18px 28px; border-radius: 28px; }
  .phome .htrust__title { flex: none; align-items: flex-start; justify-content: flex-start; width: 170px; padding: 0; font-size: 18px; line-height: 1.2; }
  .phome .htrust__spk { width: 15px; height: 15px; margin-top: 3px; }
  .phome .htrust__list { flex: 1; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); }
  .phome .htrust__list > li { border-left: 1px solid rgba(27, 27, 27, .08); }
  .phome .htrust__it { flex-direction: row; align-items: center; gap: 12px; padding: 4px 16px; text-align: left; }
  .phome .htrust__ic { flex: none; width: 42px; height: 42px; }
  .phome .htrust__ic .i { width: 20px; height: 20px; }
  .phome .htrust__txt b { font-size: 14.5px; text-wrap: wrap; }
  .phome .htrust__txt small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); text-wrap: balance; }
}

/* ───── Escritorio ancho: la página crece hasta 1680 px (styles.css, --wrap-max) y la rejilla pasa a 5 y 6 columnas.
   A 1366 px: 5 tarjetas de ~240 px; a 1920 px: 6 de ~245 px (con el tope de 1180 px eran 4 de 264 px y 370 px vacíos a cada lado). ───── */
@media (min-width: 1360px) {
  .phome .grid--home { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1700px) {
  .phome .grid--home { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (forced-colors: active) {
  .phome .hfx__opt[aria-pressed="true"], .phome .hfx__fam[aria-pressed="true"], .phome .hb__tab[aria-current="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .phome .hfx__fam, .phome .hb__tab { border: 1px solid CanvasText; }
}

/* ───── Portada filtrada (15-11-2026): con una marca, familia, nota o precio elegidos se esconde la presentación, el carrusel, los
   accesos y las marcas (listing.js → .phome--filtered); quedan los chips, el título del listado, los filtros y los productos ───── */
.phome--filtered .hpromo, .phome--filtered .hsoon, .phome--filtered .hhero, .phome--filtered .hquick, .phome--filtered .hbrands { display: none; }
.phome--filtered .hfx { padding-top: 14px; }

/* ───── Accesos rápidos bajo el carrusel: 2 × 2 en el móvil, 4 en fila desde 700 px (nada se desplaza a los lados) ───── */
.phome .hquick { padding-top: 12px; }
.phome .hquick__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; list-style: none; }
.phome .hquick__it {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--graphite);
  transition: border-color .2s, color .2s;
}
.phome .hquick__it .i { flex: none; width: 18px; height: 18px; color: var(--violet-ink); }
.phome .hquick__it:hover { border-color: var(--violet); color: var(--violet-ink); }
@media (min-width: 700px) {
  .phome .hquick { padding-top: 16px; }
  .phome .hquick__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .phome .hquick__it { min-height: 48px; font-size: 14.5px; }
}

/* ───── «Lo que dicen nuestros clientes» (solo con opiniones de sobra; listing-hub.js → homeReviews) ───── */
.phome .hrev { padding: 36px 0 8px; }
.phome .hrev__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.phome .hrev__title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.phome .hrev__spk { width: 16px; height: 16px; }
.phome .hrev__sum { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.phome .hrev__sum > b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--graphite); }
.phome .hrev__sum .cstar { width: 16px; height: 16px; }
.phome .hrev__list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.phome .hrev__it { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.phome .hrev__r { display: flex; }
.phome .hrev__p { margin-top: 8px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.phome .hrev__who { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.phome .hrev__who a { color: var(--graphite); font-weight: 700; text-underline-offset: 3px; }
.phome .hrev__ok { display: inline-flex; align-items: center; gap: 3px; color: var(--ok); }
.phome .hrev__ok .i { width: 14px; height: 14px; }
.phome .hrev__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
@media (min-width: 700px) {
  .phome .hrev { padding-top: 48px; }
  .phome .hrev__title { font-size: 30px; }
  .phome .hrev__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
