/* Berel Monterrey — limpio y minimalista; el color lo ponen las fotos y las muestras.
   Títulos: Bricolage Grotesque · Texto: Inter */

:root {
  --tinta: #121417;
  --tinta-2: #3a3f47;
  --gris: #737a85;
  --linea: #e8e5e0;
  --fondo: #faf8f5;
  --blanco: #ffffff;
  --rojo: #ea0029;
  --rojo-osc: #c40023;
  --wa: #1fae57;

  --radio: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sombra-alta: 0 2px 6px rgb(18 20 23 / 0.05), 0 30px 60px -24px rgb(18 20 23 / 0.28);

  --f-titulo: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-texto: "Inter", system-ui, -apple-system, sans-serif;
  --ancho: 1320px;
  --enc-alto: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.sin-scroll {
  overflow: hidden;
}
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-titulo);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
p,
dl,
dd {
  margin: 0;
}
svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .contenedor {
    padding: 0 20px;
  }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  padding: 11px 18px;
  font-size: 14px;
}
.btn-rojo {
  background: var(--rojo);
  color: #fff;
}
.btn-rojo:hover {
  background: var(--rojo-osc);
}
.btn-blanco {
  background: #fff;
  color: var(--tinta);
}
.btn-borde {
  border-color: var(--linea);
  background: transparent;
  color: var(--tinta);
}
.btn-borde:hover {
  border-color: var(--tinta);
}
.btn-borde-claro {
  border-color: rgb(255 255 255 / 0.45);
  color: #fff;
}
.btn-borde-claro:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: #fff;
}
.btn-texto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.btn-texto svg {
  transition: transform 0.25s var(--ease);
}
.btn-texto:hover svg,
.promo:hover .btn-texto svg {
  transform: translateX(4px);
}

/* ---------- Encabezado ---------- */
.encabezado {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--enc-alto);
  color: #fff;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.encabezado.solido {
  background: rgb(250 248 245 / 0.9);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  color: var(--tinta);
  box-shadow: 0 1px 0 rgb(18 20 23 / 0.06);
  --enc-alto: 72px;
}
.enc-fila {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Isotipo Berel + "Monterrey" */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo-img {
  height: 44px;
  width: auto;
}
/* Sobre fondo oscuro, la palabra "Berel" va en blanco */
.logo-oscuro,
.encabezado:not(.solido) .logo-claro,
.pie .logo-claro,
.menu-movil .logo-claro {
  display: none;
}
.encabezado:not(.solido) .logo-oscuro,
.pie .logo-oscuro,
.menu-movil .logo-oscuro {
  display: block;
}
.logo-txt {
  font-family: var(--f-titulo);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  gap: 6px;
}
.nav-link {
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-link:hover,
.nav-link.activo {
  opacity: 1;
}
.nav-link.activo {
  font-weight: 600;
}
.enc-acciones {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Botón "Menú" (patrón Subalans): solo en tableta y celular */
.enc-menu {
  display: none;
  border: 0;
  background: none;
  padding: 10px 2px 10px 14px;
  font: inherit;
  font-family: var(--f-titulo);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 1020px) {
  .nav {
    display: none;
  }
  .enc-menu {
    display: inline-flex;
  }
}

/* Tarjeta flotante del menú */
.menu-movil {
  position: fixed;
  z-index: 60;
  top: calc(var(--enc-alto) - 4px);
  right: 16px;
  width: min(290px, calc(100vw - 32px));
  max-height: calc(100svh - var(--enc-alto) - 24px);
  overflow-y: auto;
  padding: 10px;
  background: #fff;
  color: var(--tinta);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgb(10 11 15 / 0.06), 0 24px 48px -16px rgb(10 20 50 / 0.32);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.25s var(--ease);
}
.menu-movil.abierto {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mm-cab {
  padding: 8px 12px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8f99;
}
.mm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--tinta);
}
.mm-item:hover,
.mm-item:active {
  background: #f5f3f0;
}
.mm-item svg {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #b3b7bf;
}
.mm-item.activo {
  color: var(--rojo);
}
.mm-dato {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--gris);
}
.mm-sep {
  height: 1px;
  margin: 6px 12px;
  background: #efece7;
}

/* ---------- Hero (patrón Jademis: imagen grande, poco texto) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #16120f;
  display: flex;
}
.hero-fondo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
.hero::after,
.hero-int::after,
.cierre::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(12 10 8 / 0.72) 0%, rgb(12 10 8 / 0.38) 45%, rgb(12 10 8 / 0) 100%);
}
.hero-contenido {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding-top: var(--enc-alto);
}
/* Etiqueta de sección: texto sobrio */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gris);
}
.hero .eyebrow,
.hero-int .eyebrow,
.color-anio .eyebrow {
  color: rgb(255 255 255 / 0.88);
}
.hero h1 {
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  max-width: 12ch;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  max-width: 520px;
  color: rgb(255 255 255 / 0.86);
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Hero de páginas internas */
.hero-int {
  position: relative;
  color: #fff;
  background: #16120f;
  overflow: hidden;
  padding: calc(var(--enc-alto) + 96px) 0 88px;
}
.hero-int .contenedor {
  position: relative;
  z-index: 1;
}
.hero-int h1 {
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0;
  max-width: 14ch;
}
.hero-int p {
  font-size: 18px;
  color: rgb(255 255 255 / 0.85);
  max-width: 560px;
}

/* Cierre con foto */
.cierre {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #16120f;
  padding: 150px 0;
}
.cierre .contenedor {
  position: relative;
  z-index: 1;
}
.cierre h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.cierre p {
  font-size: 18px;
  color: rgb(255 255 255 / 0.85);
  margin: 16px 0 26px;
}

/* ---------- Secciones ---------- */
.seccion {
  padding: 120px 0;
}
.seccion-sm {
  padding: 72px 0;
}
@media (max-width: 760px) {
  .seccion {
    padding: 80px 0;
  }
  .seccion-sm {
    padding: 48px 0;
  }
  .cierre {
    padding: 100px 0;
  }
}
.seccion-blanca {
  background: #fff;
}
.titulo-sec {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.titulo-sec h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 12px;
}
.titulo-sub {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--gris);
}
.centrado {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.centro-btn {
  text-align: center;
  margin-top: 44px;
}

.revelar {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.revelar.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .revelar {
    opacity: 1;
    transform: none;
  }
  .hero-fondo {
    animation: none;
  }
}

/* ---------- Líneas (foto + nombre) ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio);
  aspect-ratio: 4 / 4.6;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  isolation: isolate;
}
.cat-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s var(--ease);
}
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0) 45%);
}
.cat:hover .cat-img {
  transform: scale(1.05);
}
.cat h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
}
@media (max-width: 900px) {
  .cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat {
    padding: 16px;
  }
  .cat h3 {
    font-size: 18px;
  }
}

/* ---------- Producto (foto + nombre) ---------- */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px 18px;
}
.prod {
  display: flex;
  flex-direction: column;
}
/* Botes sobre la mesa de madera de la tienda (misma foto de fondo para todos).
   Recorte cuadrado anclado abajo: se quita techo y la cara de la mesa queda
   entre el 74 % y el 86 % del alto. Solo la tienda se desenfoca. */
.prod-img,
.detalle-img {
  position: relative;
  aspect-ratio: 1;
  container-type: size;
  border-radius: var(--radio);
  background: #e9e2d6 url("../assets/fondos/tienda-mesa.jpg") center bottom / 100% auto no-repeat;
  overflow: hidden;
  isolation: isolate;
  /* Safari: el desenfoque del fondo ignora el redondeado sin este recorte */
  clip-path: inset(0 round var(--radio));
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}
.prod-img {
  margin-bottom: 16px;
}
.prod-img::before,
.detalle-img::before {
  content: "";
  position: absolute;
  inset: -10px -10px 0;
  z-index: -1;
  background: url("../assets/fondos/tienda-mesa.jpg") center bottom / calc(100% - 0px) auto no-repeat;
  filter: blur(2.5px) brightness(1.02);
  -webkit-mask-image: linear-gradient(180deg, #000 67%, transparent 74%);
  mask-image: linear-gradient(180deg, #000 67%, transparent 74%);
}
/* Grupo de botes centrado, apoyado en la mesa */
.botes {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 17cqh;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  transition: transform 0.6s var(--ease);
}
.botes::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6%;
  right: -6%;
  bottom: -2.4cqh;
  height: 5cqh;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(40 22 8 / 0.42), rgb(40 22 8 / 0));
}
.bote {
  display: block;
  height: 58cqh;
  max-width: 74cqw;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 6px 6px rgb(40 22 8 / 0.25));
}
.bote.cubeta {
  height: 61cqh;
  max-width: 62cqw;
}
/* El galón va adelante: un poco encimado sobre la cubeta y apenas más abajo */
.bote.galon {
  position: relative;
  z-index: 1;
  height: 38cqh;
  max-width: 45cqw;
  margin-left: -10cqw;
  margin-bottom: -2.5cqh;
}
.prod:hover .botes {
  transform: translateX(-50%) translateY(-4px);
}
.prod-cat {
  font-size: 13px;
  color: var(--gris);
}
.prod h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 2px;
}

.carrusel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carrusel::-webkit-scrollbar {
  display: none;
}
.carrusel > * {
  scroll-snap-align: start;
}
@media (min-width: 1100px) {
  .carrusel {
    grid-auto-columns: calc((100% - 54px) / 4);
  }
}
.flechas {
  display: flex;
  gap: 8px;
}
.flecha {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--linea);
  background: #fff;
  color: var(--tinta);
  display: grid;
  place-items: center;
  transition: border-color 0.2s;
}
.flecha:hover {
  border-color: var(--tinta);
}

/* ---------- Selector de colores (abanico, como Jademis) ---------- */
.fam-circulos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.fam-circulo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  outline: 1px solid rgb(18 20 23 / 0.1);
  outline-offset: 2px;
  transition: transform 0.25s var(--ease);
}
.fam-circulo:hover {
  transform: scale(1.1);
}
.fam-circulo.activo {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
  transform: scale(1.1);
}
.abanico-marco {
  position: relative;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 28px;
}
.abanico-marco .flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.abanico-marco .flecha.izq {
  left: 28px;
}
.abanico-marco .flecha.der {
  right: 28px;
}
.abanico {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 66px 10px;
  scrollbar-width: none;
}
.abanico::-webkit-scrollbar {
  display: none;
}
.tira {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  animation: tiraEntra 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 35ms);
}
@keyframes tiraEntra {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.chip {
  width: 150px;
  height: 74px;
  border: 0;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  font-size: 11px;
  line-height: 1.25;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.chip:hover {
  transform: scale(1.06);
  z-index: 1;
  box-shadow: 0 12px 24px -10px rgb(0 0 0 / 0.35);
  border-radius: 6px;
}
.chip b {
  font-weight: 600;
  display: block;
}
.chip.claro {
  color: var(--tinta);
  box-shadow: inset 0 0 0 0.5px rgb(18 20 23 / 0.05);
}
.chip.claro span {
  color: rgb(18 20 23 / 0.55);
}
.chip.oscuro {
  color: #fff;
}
.chip.oscuro span {
  color: rgb(255 255 255 / 0.72);
}
@media (max-width: 1020px) {
  .abanico-marco {
    padding: 0;
  }
  .abanico {
    justify-content: flex-start;
    padding: 6px 20px 10px;
    scroll-padding: 0 20px;
    gap: 8px;
    scroll-snap-type: x mandatory;
  }
  .tira {
    scroll-snap-align: start;
  }
  .chip {
    width: 112px;
    height: 64px;
    font-size: 10px;
  }
  .abanico-marco .flecha {
    display: none;
  }
  .fam-circulo {
    width: 28px;
    height: 28px;
  }
  .fam-circulos {
    gap: 9px;
  }
}

/* Panel del color elegido */
.panel-color {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  width: min(380px, calc(100vw - 40px));
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--sombra-alta), 0 0 0 1px rgb(0 0 0 / 0.04);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.panel-color.abierto {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.panel-muestra {
  height: 180px;
  position: relative;
}
.panel-muestra .cerrar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgb(255 255 255 / 0.9);
  display: grid;
  place-items: center;
}
.panel-cuerpo {
  padding: 22px 24px 24px;
}
.panel-cuerpo h3 {
  font-size: 26px;
}
.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0 18px;
  font-size: 13.5px;
  color: var(--gris);
}
.panel-meta b {
  color: var(--tinta);
  font-weight: 600;
}
.panel-vecinos {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.panel-vecinos button {
  flex: 1;
  height: 32px;
  border: 0;
  border-radius: 8px;
}
.panel-vecinos button.activo {
  outline: 2px solid var(--tinta);
  outline-offset: 2px;
}
.panel-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.panel-acciones .btn {
  padding: 12px 18px;
  font-size: 14px;
}

/* ---------- Buscador y filtros ---------- */
.buscador {
  position: relative;
  max-width: 440px;
  width: 100%;
}
.buscador svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gris);
}
.buscador input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--tinta);
  outline: none;
  transition: border-color 0.2s;
}
.buscador input:focus {
  border-color: var(--tinta);
}
.resultados-color {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.resultados-color .chip {
  width: 100%;
  border-radius: 12px;
  height: 92px;
}
/* Filtros: pestañas de texto con línea fina, sin pastillas */
.pestanas {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 6px;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--linea);
  scrollbar-width: none;
}
.pestanas::-webkit-scrollbar {
  display: none;
}
.pestana {
  position: relative;
  flex-shrink: 0;
  line-height: 1.4;
  border: 0;
  background: none;
  padding: 0 0 16px;
  font-size: 15.5px;
  color: var(--gris);
  white-space: nowrap;
  transition: color 0.2s;
}
.pestana:hover {
  color: var(--tinta);
}
.pestana sup {
  line-height: 0;
  font-size: 11px;
  margin-left: 3px;
  color: #a3a8b0;
}
.pestana.activa {
  color: var(--tinta);
  font-weight: 600;
}
.pestana.activa::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--rojo);
}
.fila-der {
  display: flex;
  align-items: center;
  gap: 32px;
}
.segmento {
  display: flex;
  gap: 20px;
}
.segmento button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 15px;
  color: var(--gris);
  transition: color 0.2s;
}
.segmento button:hover,
.segmento button.activa {
  color: var(--tinta);
}
.segmento button.activa {
  font-weight: 600;
}
.buscador-linea {
  max-width: 260px;
}
.buscador-linea svg {
  left: 0;
}
.buscador-linea input {
  border: 0;
  border-bottom: 1px solid var(--linea);
  border-radius: 0;
  background: transparent;
  padding: 10px 0 10px 28px;
}
@media (max-width: 760px) {
  .fila-der {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
  .buscador-linea {
    max-width: 160px;
  }
}
.barra-filtros {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}
.barra-filtros .fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.conteo {
  font-size: 14px;
  color: var(--gris);
}
.etiqueta-sec {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 14px;
}

/* ---------- Esqueletos de carga ---------- */
.esqueleto {
  background: linear-gradient(90deg, #eeeae4 0%, #f7f4f0 50%, #eeeae4 100%);
  background-size: 200% 100%;
  animation: brillo 1.3s linear infinite;
  border-radius: var(--radio);
}
@keyframes brillo {
  to {
    background-position: -200% 0;
  }
}
.esq-prod {
  aspect-ratio: 0.8;
}
.esq-tira {
  width: 150px;
  height: 370px;
  border-radius: 14px;
  flex-shrink: 0;
}
@media (max-width: 1020px) {
  .esq-tira {
    width: 112px;
    height: 320px;
  }
}

/* ---------- Promociones ---------- */
.promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio);
  min-height: 380px;
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.promo-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s var(--ease);
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.45) 55%, rgb(0 0 0 / 0.05) 100%);
}
.promo:hover .promo-img {
  transform: scale(1.04);
}
.promo-etq {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.85);
}
.promo h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 10px 0 8px;
}
.promo p {
  color: rgb(255 255 255 / 0.85);
  max-width: 42ch;
  font-size: 15px;
}
.promo-pie {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  font-size: 13.5px;
  color: rgb(255 255 255 / 0.75);
}
.promo-pie .btn-texto {
  color: #fff;
  font-size: 14px;
}
@media (max-width: 900px) {
  .promos {
    grid-template-columns: 1fr;
  }
  .promo {
    min-height: 340px;
    padding: 24px;
  }
}

/* ---------- Color del año ---------- */
.color-anio {
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  color: #fff;
  background: var(--c);
}
.color-anio-txt {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.color-anio h2 {
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.color-anio p {
  font-size: 18px;
  max-width: 36ch;
  color: rgb(255 255 255 / 0.9);
  margin-bottom: 8px;
}
.color-anio-foto {
  background-size: cover;
  background-position: center;
}
@media (max-width: 900px) {
  .color-anio {
    grid-template-columns: 1fr;
  }
  .color-anio-txt {
    padding: 40px 26px;
  }
  .color-anio-foto {
    min-height: 280px;
  }
}

/* ---------- Detalle de producto ---------- */
.detalle {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: calc(var(--enc-alto) + 40px);
}
.detalle-img {
  position: sticky;
  top: calc(var(--enc-alto) + 20px);
  border-radius: 28px;
  transition: background-color 0.5s;
}

/* Color elegido: muestra de pintura sobre la foto */
.muestra-elegida {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  width: 132px;
  height: 92px;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 11px;
  line-height: 1.3;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.4);
}
.muestra-elegida[hidden] {
  display: none;
}
.muestra-elegida b {
  font-size: 12.5px;
  font-weight: 600;
}
.migas {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gris);
  margin-bottom: 20px;
}
.migas a:hover {
  color: var(--tinta);
}
.detalle h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.detalle-desc {
  font-size: 17.5px;
  color: var(--tinta-2);
  margin: 18px 0 28px;
  max-width: 54ch;
}
.beneficios {
  list-style: none;
  padding: 0;
  margin: -8px 0 28px;
  display: grid;
  gap: 8px;
}
.beneficios li {
  font-size: 15.5px;
  color: var(--tinta-2);
  padding-left: 18px;
  position: relative;
}
.beneficios li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rojo);
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--linea);
  margin-bottom: 30px;
}
.spec {
  padding: 15px 0;
  border-bottom: 1px solid var(--linea);
}
.spec:nth-child(odd) {
  padding-right: 16px;
}
.spec small {
  display: block;
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 2px;
}
.spec b {
  font-weight: 600;
  font-size: 15.5px;
}
.mini-colores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.mini-colores {
  padding: 6px 4px;
}
.mini-colores button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  outline: 1px solid rgb(0 0 0 / 0.08);
  outline-offset: 2px;
  transition: transform 0.2s var(--ease);
}
.mini-colores button:hover {
  transform: scale(1.1);
}
.mini-colores button.activo {
  outline: 2px solid var(--tinta);
}
.color-elegido {
  font-size: 14px;
  color: var(--gris);
  margin-bottom: 28px;
}
.color-elegido b {
  color: var(--tinta);
}
.detalle-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px) {
  .detalle {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detalle-img {
    position: relative;
    top: 0;
  }
}

/* ---------- Contacto ---------- */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
.datos > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--linea);
}
.datos > div:first-child {
  border-top: 1px solid var(--linea);
}
.datos dt {
  font-size: 14px;
  color: var(--gris);
  padding-top: 4px;
}
.datos dd a {
  font-family: var(--f-titulo);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 0.2s;
}
.datos dd a:hover {
  color: var(--rojo);
}
.datos dd a span {
  display: block;
  font-family: var(--f-texto);
  font-size: 15px;
  font-weight: 400;
  color: var(--gris);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .datos > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.horario-bloque {
  margin-top: 44px;
}
.horarios {
  font-size: 15px;
}
.horarios div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.horarios div span:first-child {
  color: var(--gris);
}
.tarjeta h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
}
.campos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.campo {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.campo.ancho {
  grid-column: span 2;
}
@media (max-width: 560px) {
  .campos {
    grid-template-columns: 1fr;
  }
  .campo.ancho {
    grid-column: auto;
  }
}
.campo label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tinta-2);
}
.campo input,
.campo select,
.campo textarea {
  font: inherit;
  font-size: 15px;
  color: var(--tinta);
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--linea);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.campo textarea {
  min-height: 130px;
  resize: vertical;
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--tinta);
}
.campo .error {
  font-size: 13px;
  color: var(--rojo);
  display: none;
}
.campo.invalido input,
.campo.invalido textarea {
  border-color: var(--rojo);
}
.campo.invalido .error {
  display: block;
}
.envio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.envio small {
  font-size: 13px;
  color: var(--gris);
  flex-basis: 100%;
}
.mapa {
  border: 0;
  width: 100%;
  height: 440px;
  border-radius: var(--radio);
}

/* ---------- Descargas ---------- */
.descargas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 40px;
}
.descarga {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linea);
}
.descarga-txt {
  flex: 1;
  min-width: 0;
}
.descarga-txt b {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
}
.descarga-txt span {
  font-size: 13px;
  color: var(--gris);
}
.descarga > svg {
  color: var(--gris);
  transition: color 0.2s, transform 0.25s var(--ease);
}
.descarga:hover > svg {
  color: var(--rojo);
  transform: translateY(2px);
}
.catalogos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .catalogos {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
}
.catalogo-portada {
  aspect-ratio: 4 / 3;
  border-radius: var(--radio);
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  transition: transform 0.5s var(--ease);
}
.catalogo:hover .catalogo-portada {
  transform: translateY(-3px);
}
.catalogo b {
  display: block;
  font-family: var(--f-titulo);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.catalogo-pie {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--gris);
}
.catalogo-pie .btn-texto {
  color: var(--tinta);
  font-size: 14px;
}
.catalogo:hover .btn-texto svg {
  transform: translateX(3px);
}

/* ---------- Nosotros ---------- */
.dos-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .dos-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.foto-redonda {
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.texto-grande {
  font-family: var(--f-titulo);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 18px;
}
.texto-grande span {
  color: #a3a8b0;
}

/* ---------- Pie ---------- */
.pie {
  background: var(--tinta);
  color: rgb(255 255 255 / 0.66);
  font-size: 14.5px;
}
.pie-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 60px;
}
.pie .logo {
  color: #fff;
  margin-bottom: 18px;
}
.pie-marca p {
  max-width: 34ch;
}
.pie h4 {
  font-family: var(--f-texto);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.pie-grid > div:not(.pie-marca) a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  transition: color 0.2s;
}
.pie-grid a:hover {
  color: #fff;
}
.pie-redes {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}
.pie-redes a {
  opacity: 0.7;
  transition: opacity 0.2s;
}
.pie-redes a:hover {
  opacity: 1;
}
.pie-redes svg {
  width: 20px;
  height: 20px;
}
.pie-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 32px;
  font-size: 13px;
  color: rgb(255 255 255 / 0.45);
}
/* La línea respeta el margen del contenedor */
.pie-legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
@media (max-width: 640px) {
  .pie-legal::before {
    left: 20px;
    right: 20px;
  }
}
@media (max-width: 900px) {
  .pie-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pie-marca,
  .pie-contacto {
    grid-column: span 2;
  }
}

.wa-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.35);
  transition: transform 0.3s var(--ease);
}
.wa-flotante:hover {
  transform: scale(1.06);
}
.wa-flotante svg {
  width: 28px;
  height: 28px;
}

.vacio {
  text-align: center;
  padding: 60px 20px;
  color: var(--gris);
}
.vacio b {
  display: block;
  font-family: var(--f-titulo);
  font-size: 24px;
  color: var(--tinta);
  margin-bottom: 6px;
}

/* Heros con producto compuesto a la derecha: el texto queda libre.
   En móvil el producto va arriba y el texto abajo. */
.hero-producto .hero-fondo {
  background-position: right 62%;
}
@media (max-width: 760px) {
  .hero-producto {
    padding-top: calc(var(--enc-alto) + 250px);
  }
  .hero-producto {
    background: #2b2018;
  }
  .hero-producto .hero-fondo {
    background-size: 300% auto;
    background-repeat: no-repeat;
    background-position: 96% 0;
    -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 66%);
    mask-image: linear-gradient(180deg, #000 52%, transparent 66%);
  }
  .hero-producto::after {
    background: linear-gradient(0deg, rgb(12 10 8 / 0.82) 0%, rgb(12 10 8 / 0.55) 45%, rgb(12 10 8 / 0) 70%);
  }
}

/* Menú sobre foto: desenfoque ligero para que se lea */
.encabezado:not(.solido) {
  background: linear-gradient(180deg, rgb(12 10 8 / 0.28), rgb(12 10 8 / 0.08));
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  height: calc(var(--enc-alto) + 24px);
}
.encabezado:not(.solido) .enc-fila {
  height: var(--enc-alto);
}

/* =====================================================================
   MÓVIL — diseño propio tipo app (≤ 760 px)
   Barra inferior de navegación, contenido al alcance del pulgar,
   carruseles que se deslizan con el dedo, hojas que suben desde abajo.
   ===================================================================== */

@media (max-width: 760px) {
  :root {
    --enc-alto: 60px;
    --radio: 18px;
  }
  body {
    font-size: 15.5px;
  }
  .prod:hover .botes {
    transform: translateX(-50%);
  }
  .btn:hover,
  .cat:hover .cat-img,
  .promo:hover .promo-img {
    transform: none;
  }
  .btn:active {
    transform: scale(0.97);
  }

  /* ---------- Encabezado: solo marca ---------- */
  .encabezado,
  .encabezado.solido {
    --enc-alto: 60px;
  }
  .logo-img {
    height: 34px;
  }
  .logo-txt {
    font-size: 20px;
  }
  .encabezado:not(.solido) {
    height: calc(var(--enc-alto) + 20px);
  }


  /* WhatsApp flotante más chico, sobre el contenido */
  .wa-flotante {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .enc-acciones {
    display: flex;
  }
  .enc-acciones .btn {
    display: none;
  }

  /* ---------- Hero: texto al alcance del pulgar ---------- */
  .hero {
    min-height: 100svh;
  }
  .hero-contenido {
    justify-content: flex-end;
    gap: 16px;
    padding-bottom: 92px;
  }
  .hero::after {
    background: linear-gradient(0deg, rgb(12 10 8 / 0.82) 0%, rgb(12 10 8 / 0.45) 50%, rgb(12 10 8 / 0.1) 100%);
  }
  .hero h1 {
    font-size: 44px;
    line-height: 1;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
  }
  .hero-ctas .btn {
    justify-content: center;
    padding: 16px 12px;
  }

  /* Hero de páginas internas: más corto */
  .hero-int {
    padding: calc(var(--enc-alto) + 70px) 0 34px;
  }
  .hero-int h1 {
    font-size: 36px;
    margin: 10px 0 10px;
  }
  .hero-int p {
    font-size: 15.5px;
  }
  .hero-int.hero-producto {
    padding-top: calc(var(--enc-alto) + 210px);
  }

  /* ---------- Secciones ---------- */
  .seccion {
    padding: 56px 0;
  }
  .seccion-sm {
    padding: 28px 0;
  }
  .titulo-sec {
    margin-bottom: 22px;
    align-items: flex-end;
    flex-wrap: nowrap;
  }
  .titulo-sec h2 {
    font-size: 30px;
    margin-top: 6px;
  }
  .titulo-sec .btn-texto {
    font-size: 14px;
    flex-shrink: 0;
  }
  .titulo-sec.centrado {
    align-items: center;
  }
  .promo-pie {
    font-size: 12.5px;
  }
  .promo-pie .btn-texto {
    white-space: nowrap;
  }
  .titulo-sec .flechas {
    display: none;
  }
  .centro-btn .btn {
    width: 100%;
    justify-content: center;
  }
  .centro-btn {
    margin-top: 26px;
  }
  .eyebrow {
    font-size: 13.5px;
  }

  /* Carruseles que se deslizan con el dedo (asoma la siguiente tarjeta) */
  .promos,
  .cats,
  .carrusel {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    margin: 0 -20px;
    padding: 0 20px 4px;
    gap: 12px;
    scrollbar-width: none;
  }
  .promos::-webkit-scrollbar,
  .cats::-webkit-scrollbar {
    display: none;
  }
  .promos > *,
  .cats > *,
  .carrusel > * {
    scroll-snap-align: start;
  }
  .promos {
    grid-auto-columns: 86%;
  }
  .promo {
    min-height: 420px;
    padding: 22px;
  }
  .promo h3 {
    font-size: 26px;
  }
  .promo p {
    font-size: 14.5px;
  }
  .cats {
    grid-auto-columns: 44%;
  }
  .cat {
    aspect-ratio: 3 / 4;
    padding: 14px;
  }
  .cat h3 {
    font-size: 17px;
  }
  .carrusel {
    grid-auto-columns: 62%;
  }

  /* Página de promociones: lista vertical, no carrusel */
  body[data-pagina="promociones"] .promos {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  /* ---------- Selector de colores ---------- */
  /* Círculos repartidos en el ancho, centrados; el anillo del activo no se corta */
  .fam-circulos {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 4px;
    overflow: visible;
    padding: 8px 20px;
    margin-bottom: 18px;
  }
  .fam-circulo {
    width: 100%;
    max-width: 34px;
    height: auto;
    aspect-ratio: 1;
  }
  .fam-circulo.activo {
    outline-offset: 2px;
    transform: scale(1.08);
  }

  /* Panel de color = hoja desde abajo */
  .panel-color {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 60;
  }
  .panel-muestra {
    height: 140px;
  }
  .panel-acciones {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .panel-acciones .btn {
    justify-content: center;
    padding: 15px 16px;
  }

  /* ---------- Color del año ---------- */
  .color-anio {
    border-radius: 22px;
    min-height: 0;
  }
  .color-anio-txt {
    padding: 30px 22px 26px;
    gap: 12px;
  }
  .color-anio h2 {
    font-size: 44px;
  }
  .color-anio p {
    font-size: 15.5px;
  }
  .color-anio-foto {
    min-height: 220px;
  }

  /* ---------- Cierre ---------- */
  .cierre {
    padding: 72px 0 40px;
  }
  .cierre::after {
    background: linear-gradient(0deg, rgb(12 10 8 / 0.82), rgb(12 10 8 / 0.3));
  }
  .cierre h2 {
    font-size: 36px;
  }
  .cierre .hero-ctas {
    grid-template-columns: 1fr;
  }

  /* ---------- Pie compacto ---------- */
  .pie-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 44px;
    padding-bottom: 20px;
  }
  .pie-grid > div:nth-child(2),
  .pie-grid > div:nth-child(3) {
    display: none;
  }
  .pie-marca,
  .pie-contacto {
    grid-column: auto;
  }
  .pie-contacto h4 {
    display: none;
  }
  .pie-grid > div.pie-contacto a {
    padding: 13px 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }
  .pie-legal {
    font-size: 12px;
    padding-bottom: 24px;
  }
  .pie-legal span:last-child {
    display: none;
  }

  /* ---------- Catálogo: dos columnas ---------- */
  .productos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }
  .prod-img {
    margin-bottom: 10px;
    border-radius: 14px;
    clip-path: inset(0 round 14px);
  }
  .prod-cat {
    font-size: 11.5px;
  }
  .prod h3 {
    font-size: 15.5px;
    letter-spacing: -0.01em;
  }
  .pestanas {
    gap: 22px;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .pestana {
    font-size: 15px;
    padding-bottom: 13px;
  }
  .barra-filtros {
    gap: 16px;
    margin-bottom: 24px;
  }
  .barra-filtros .fila {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }
  .fila-der {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }
  .buscador,
  .buscador-linea {
    max-width: none;
  }
  .buscador-linea input {
    border: 1px solid var(--linea);
    border-radius: 14px;
    background: #fff;
    padding: 13px 14px 13px 44px;
  }
  .buscador-linea svg {
    left: 15px;
  }
  .segmento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 3px;
    border-radius: 12px;
    background: #efebe5;
  }
  .segmento button {
    padding: 9px 0;
    border-radius: 9px;
    font-size: 14px;
  }
  .segmento button.activa {
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
  }

  /* ---------- Detalle de producto ---------- */
  .detalle {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--enc-alto) + 12px);
    gap: 22px;
  }
  .detalle > * {
    min-width: 0;
  }
  .detalle-img {
    border-radius: 20px;
    clip-path: inset(0 round 20px);
    margin: 0 -8px;
  }
  .migas {
    margin-bottom: 10px;
    font-size: 13px;
  }
  .detalle h1 {
    font-size: 34px;
  }
  .detalle-desc {
    font-size: 16px;
    margin: 12px 0 22px;
  }
  .specs {
    grid-template-columns: 1fr 1fr;
  }
  .mini-colores {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: -6px -20px 4px;
    padding: 10px 24px;
    scrollbar-width: none;
  }
  .mini-colores::-webkit-scrollbar {
    display: none;
  }
  .mini-colores button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .detalle-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .detalle-ctas .btn {
    justify-content: center;
    padding: 13px 10px;
    font-size: 14px;
  }
  .detalle-ctas .btn-rojo {
    grid-column: 1 / -1;
    padding: 16px;
    font-size: 15px;
  }

  /* ---------- Contacto ---------- */
  .contacto-grid {
    gap: 40px;
  }
  .datos > div {
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 16px 0;
    align-items: center;
  }
  .datos dt {
    grid-column: 1;
    padding: 0;
    font-size: 13px;
  }
  .datos dd {
    grid-column: 1;
  }
  .datos dd a {
    font-size: 19px;
  }
  .tarjeta {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .tarjeta h2 {
    font-size: 30px;
  }
  .envio .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
  }
  .mapa {
    height: 320px;
  }

  /* iOS no hace zoom si el texto del campo es de 16 px o más */
  input,
  select,
  textarea,
  .buscador input,
  .campo input,
  .campo select,
  .campo textarea {
    font-size: 16px;
  }

  /* ---------- Fichas y catálogos ---------- */
  .descarga {
    padding: 15px 0;
  }
  .catalogos {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  /* ---------- Nosotros ---------- */
  .texto-grande {
    font-size: 25px;
  }
  .foto-redonda {
    border-radius: 20px;
  }
}

/* Guía de deslizamiento del abanico (solo móvil) */
.abanico-guia {
  display: none;
}
@media (max-width: 1020px) {
  /* Tiras del mismo alto: los chips se reparten el espacio y todas cierran con radio */
  .abanico {
    align-items: stretch;
    gap: 8px;
  }
  .tira {
    width: calc((100vw - 56px) / 2.45);
    height: 352px;
    border-radius: 16px;
  }
  .tira .chip {
    width: 100%;
    height: auto;
    flex: 1;
    min-height: 0;
    padding: 9px 11px;
    font-size: 11px;
  }
  .tira .chip:hover {
    transform: none;
    border-radius: 0;
    box-shadow: none;
  }
  .esq-tira {
    width: calc((100vw - 56px) / 2.45);
    height: 352px;
  }
  /* Desvanecido en la orilla mientras haya más tiras */
  .abanico.hay-der {
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
  .abanico.hay-izq.hay-der {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 82%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 82%, transparent);
  }
  .abanico.hay-izq:not(.hay-der) {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%);
    mask-image: linear-gradient(90deg, transparent, #000 6%);
  }
  .abanico-guia {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 0;
  }
  .guia-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--linea);
    background: #fff;
    color: var(--tinta);
    display: grid;
    place-items: center;
  }
  .guia-btn svg {
    width: 16px;
    height: 16px;
  }
  .abanico-progreso {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: #ece8e2;
    overflow: hidden;
  }
  .abanico-progreso span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--tinta);
    transition: width 0.2s;
  }
}

/* La tarjeta se toca completa: los botes no se seleccionan, arrastran ni abren menú de imagen */
.prod,
.cat,
.promo {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}
.botes,
.bote,
.prod-img img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.prod:active .prod-img {
  opacity: 0.92;
}

/* Filas que se deslizan de lado: nunca se mueven hacia arriba/abajo por dentro */
.abanico,
.pestanas,
.carrusel,
.mini-colores {
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}
@media (max-width: 760px) {
  .promos,
  .cats {
    overflow-y: hidden;
    overscroll-behavior-x: contain;
  }
  body[data-pagina="promociones"] .promos {
    overflow: visible;
  }
}
@media (max-width: 1020px) {
  .abanico {
    padding-bottom: 14px;
  }
}

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px 28px;
}
.blog-tarjeta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-tarjeta-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radio);
  background: #ddd center / cover;
  margin-bottom: 8px;
  transition: transform 0.6s var(--ease);
}
.blog-tarjeta:hover .blog-tarjeta-img {
  transform: scale(1.02);
}
.blog-tarjeta h3 {
  font-family: var(--f-titulo);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.blog-tarjeta p {
  color: var(--tinta-2);
  margin: 0;
  line-height: 1.55;
}
.blog-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--rojo);
}
.blog-meta {
  font-size: 13px;
  color: var(--gris);
}
.hero-articulo h1 {
  max-width: 22ch;
  font-size: clamp(36px, 4.6vw, 64px);
}
.hero-articulo .migas {
  color: rgb(255 255 255 / 0.75);
  margin: 0;
}
.hero-articulo .migas a:hover {
  color: #fff;
}
.hero-int .blog-meta-claro {
  font-size: 14px;
  color: rgb(255 255 255 / 0.75);
}
.articulo {
  display: grid;
  grid-template-columns: 260px minmax(0, 720px);
  gap: 72px;
  justify-content: center;
}
.articulo-lado {
  position: sticky;
  top: calc(var(--enc-alto) + 24px);
  align-self: start;
  font-size: 14px;
}
.articulo-lado h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gris);
  margin: 0 0 12px;
}
.articulo-lado ol {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 10px;
}
.articulo-lado ol a {
  color: var(--tinta-2);
  line-height: 1.35;
}
.articulo-lado ol a:hover {
  color: var(--rojo);
}
.compartir {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.compartir h4 {
  width: 100%;
  margin-bottom: 4px;
}
.compartir a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--linea);
  display: grid;
  place-items: center;
}
.compartir a:hover {
  border-color: var(--tinta);
}
.compartir svg {
  width: 18px;
  height: 18px;
}
.prosa {
  font-size: 18px;
  line-height: 1.7;
  color: var(--tinta-2);
}
.prosa p {
  margin: 0 0 1.1em;
}
.prosa .entrada {
  font-size: 22px;
  line-height: 1.5;
  color: var(--tinta);
  margin-top: 0;
}
.prosa h2 {
  font-family: var(--f-titulo);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tinta);
  margin: 48px 0 12px;
  scroll-margin-top: calc(var(--enc-alto) + 24px);
}
.prosa ul {
  padding-left: 22px;
}
.prosa li {
  margin-bottom: 8px;
}
.prosa b {
  color: var(--tinta);
}
.articulo-cierre {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radio);
  background: var(--fondo);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.articulo-cierre p {
  margin: 0;
  max-width: 44ch;
  color: var(--tinta);
}
@media (max-width: 960px) {
  .articulo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .articulo-lado {
    position: static;
  }
  .articulo-lado ol {
    margin-bottom: 20px;
  }
  .prosa {
    font-size: 17px;
  }
  .prosa .entrada {
    font-size: 19px;
  }
  .prosa h2 {
    font-size: 25px;
  }
}

/* ---------- MANO DE OBRA ---------- */
.servicios {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--linea);
}
.servicio {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--linea);
}
.servicio-num {
  font-family: var(--f-titulo);
  font-size: 15px;
  color: var(--gris);
}
.servicio h3 {
  font-family: var(--f-titulo);
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.servicio p {
  margin: 0;
  color: var(--tinta-2);
  max-width: 62ch;
}
.pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.paso b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rojo);
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}
.paso h3 {
  font-family: var(--f-titulo);
  font-size: 22px;
  margin: 0 0 6px;
}
.paso p {
  margin: 0;
  color: var(--tinta-2);
}
.nota-cobertura {
  margin: 40px 0 0;
  color: var(--gris);
}
@media (max-width: 760px) {
  .servicio {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }
  .servicio h3 {
    font-size: 22px;
  }
  .servicio .btn-texto {
    justify-self: start;
    margin-top: 6px;
  }
  .pasos {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
