/* =============================================================
   HOME — composiciones editoriales
   ============================================================= */

/* ─────────── Hero principal (variante A: editorial asimétrico) */

.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero__copy { position: relative; padding-bottom: 32px; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(3rem, 6.4vw, 6.25rem);
  letter-spacing: -.018em;
  margin-bottom: 28px;
}
.hero h1 em { color: var(--c-verde-salvia); font-style: italic; }
.hero__lead { margin-bottom: 36px; max-width: 48ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__since {
  margin-top: 48px;
  display: flex; align-items: center; gap: 12px;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-grafito-soft);
}
.hero__since b { color: var(--c-verde-botanico); font-weight: 700; }

.hero__visual {
  position: relative;
}
.hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}
.hero__photo--inset {
  position: absolute;
  width: 42%;
  aspect-ratio: 3 / 4;
  bottom: -32px; left: -56px;
  border: 8px solid var(--bg);
  z-index: 2;
}
.hero__sprig {
  position: absolute;
  top: -40px; right: -30px;
  width: 200px;
  opacity: .9;
  pointer-events: none;
  transform: rotate(-12deg);
  z-index: 1;
}
.hero__badge {
  position: absolute;
  bottom: 28px; right: -16px;
  background: var(--c-blanco);
  padding: 18px 22px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.2);
  z-index: 3;
}
.hero__badge-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--c-verde-botanico);
  font-weight: 500;
  line-height: 1;
}
.hero__badge-txt {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-grafito-soft);
  line-height: 1.3;
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo--inset { display: none; }
  .hero__badge { right: 8px; }
  .hero__sprig { width: 130px; right: -16px; top: -16px; }
}

/* ─────────── Hero variante B (full bleed con franja de marca) */

.hero-b { display: none; padding: 0; position: relative; }
.hero-b.is-on { display: block; }
.hero-b__media {
  height: 92vh;
  min-height: 640px;
  position: relative;
}
.hero-b__photo { position: absolute; inset: 0; border-radius: 0; overflow: hidden; }
.hero-b__photo .imgph__img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-b__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(31,42,36,.55) 0%, rgba(31,42,36,.32) 38%, rgba(31,42,36,.10) 65%, transparent 92%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.10) 100%);
}
.hero-b__copy {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(60px, 8vw, 120px);
}
.hero-b__inner { max-width: 720px; color: var(--c-blanco); }
.hero-b__inner .eyebrow { color: var(--c-verde-mint); }
.hero-b__inner h1 { color: var(--c-blanco); margin-bottom: 24px; }
.hero-b__inner h1 em { color: var(--c-verde-mint); }
.hero-b__inner .lead { color: rgba(255,255,255,.88); margin-bottom: 28px; }
/* Override "Más de 20 años": en hero-b el <b> debe ser blanco/mint, no verde botánico oscuro */
.hero-b__inner .hero__since { color: rgba(255,255,255,.92) !important; }
.hero-b__inner .hero__since b { color: #fff !important; font-weight: 700; }
.hero-b__inner .hero__since .dot { background: rgba(255,255,255,.55) !important; }

/* ─────────── Hero variante C (split + tipografía gigante) */

.hero-c { display: none; }
.hero-c.is-on { display: block; }
.hero-c__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}
.hero-c__left {
  background: var(--c-verde-botanico);
  color: var(--c-blanco);
  padding: var(--pad);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-c__left .eyebrow { color: var(--c-verde-mint); margin-bottom: 28px; }
.hero-c__left h1 { color: var(--c-blanco); font-size: clamp(3.25rem, 7vw, 6.5rem); margin-bottom: 28px; }
.hero-c__left h1 em { color: var(--c-verde-mint); }
.hero-c__left .lead { color: rgba(255,255,255,.86); margin-bottom: 32px; }
.hero-c__left .btn--ghost { color: var(--c-blanco); border-color: rgba(255,255,255,.4); }
.hero-c__left .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: white; }
.hero-c__sprig-w { position: absolute; top: 40px; right: 40px; width: 160px; opacity: .25; filter: brightness(0) invert(1); }
.hero-c__right { position: relative; }
.hero-c__photo { position: absolute; inset: 0; border-radius: 0; }

@media (max-width: 880px) {
  .hero-c__inner { grid-template-columns: 1fr; }
  .hero-c__right { aspect-ratio: 4/3; position: relative; }
}

/* Hero-b CTA móvil — full-width, más grande y con scrim para que el botón
   "Comprar online" destaque sobre la foto (auditoría 9-jun-2026).
   Desktop NO se toca. */
@media (max-width: 760px) {
  .hero-b__copy { padding-bottom: clamp(32px, 10vw, 60px); }
  .hero-b .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-b .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero-b .hero__ctas .btn--primary { font-size: 1.05rem; padding: 16px 24px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.55); }
  .hero-b__overlay {
    background:
      linear-gradient(180deg, rgba(31,42,36,.18) 0%, rgba(31,42,36,.18) 38%, rgba(31,42,36,.74) 100%),
      linear-gradient(100deg, rgba(31,42,36,.5) 0%, rgba(31,42,36,.22) 60%, transparent 92%);
  }
}

/* =============================================================
   Marquee bar (mensajes clave)
   ============================================================= */

.marquee {
  border-top: 1px solid var(--c-linea);
  border-bottom: 1px solid var(--c-linea);
  padding: 18px 0;
  background: var(--c-blanco);
  overflow: hidden;
}
.marquee__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 2.4vw, 36px);
  flex-wrap: nowrap;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(.74rem, .9vw, .85rem); font-weight: 500;
  color: var(--c-grafito);
  white-space: nowrap;
  flex-shrink: 1;
}
.marquee__item .lucide {
  width: 17px; height: 17px; color: var(--c-verde-botanico);
  stroke-width: 1.6; flex-shrink: 0;
}
@media (max-width: 880px) {
  /* Móvil: los items envuelven centrados, sin scroll horizontal (auditoría 9-jun-2026) */
  .marquee__inner { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
  .marquee__item { font-size: .8rem; }
}

/* =============================================================
   Servicios (editorial grid)
   ============================================================= */

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
.services-head__title h2 { margin-top: 18px; }
.services-head__title h2 em { color: var(--c-verde-salvia); font-style: italic; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  background: var(--c-blanco);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -28px rgba(31,42,36,.25); }
.service__media { aspect-ratio: 4 / 3; }
.service__body { padding: 28px 28px 32px; }
.service__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-crema);
  color: var(--c-verde-botanico);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service__icon .lucide { width: 20px; height: 20px; stroke-width: 1.6; }
.service h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; margin: 0 0 18px; }

/* Layout asimétrico de servicios */
.service:nth-child(1) { grid-column: span 7; }
.service:nth-child(2) { grid-column: span 5; }
.service:nth-child(3) { grid-column: span 4; }
.service:nth-child(4) { grid-column: span 4; }
.service:nth-child(5) { grid-column: span 4; }
/* Tarjeta destacada (WhatsApp): ancho completo con imagen + texto en paralelo — evita el hueco a la derecha (10-jun-2026) */
.service:nth-child(6) { grid-column: span 12; flex-direction: row; align-items: stretch; }
.service:nth-child(6) .service__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 340px; }
.service:nth-child(6) .service__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 56px); }

@media (max-width: 880px) {
  .service { grid-column: span 12 !important; }
  .service:nth-child(6) { flex-direction: column; }                                  /* la destacada vuelve a apilarse en móvil */
  .service:nth-child(6) .service__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .services-head { grid-template-columns: 1fr; }
}

/* =============================================================
   María (presentación)
   ============================================================= */

.maria {
  background: var(--c-crema);
  position: relative;
  overflow: hidden;
}
.maria__sprig {
  position: absolute; left: -40px; top: 80px; width: 220px;
  opacity: .55; transform: rotate(180deg);
}
.maria__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.maria__photo { aspect-ratio: 4/5; border-radius: 4px; }
.maria__copy h2 { margin: 18px 0 24px; }
.maria__quote {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  font-style: italic;
  color: var(--c-grafito);
  border-left: 2px solid var(--c-verde-salvia);
  padding-left: 24px;
  margin: 28px 0 32px;
  max-width: 48ch;
}
.maria__sign {
  display: flex; align-items: center; gap: 14px;
  font-size: .82rem; color: var(--ink-soft);
  margin-bottom: 32px;
}
.maria__sign b { font-family: var(--ff-display); font-size: 1.35rem; color: var(--c-verde-botanico); font-weight: 500; }
.maria__creds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--c-linea);
  padding-top: 28px;
}
.maria__cred { font-size: .82rem; color: var(--ink-soft); }
.maria__cred b { display: block; font-family: var(--ff-display); font-size: 1.6rem; color: var(--c-verde-botanico); font-weight: 500; line-height: 1; margin-bottom: 6px; }

@media (max-width: 880px) {
  .maria__inner { grid-template-columns: 1fr; }
  .maria__creds { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   Categorías (carrusel editorial)
   ============================================================= */

.cats-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.cats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat {
  background: var(--c-blanco);
  border-radius: var(--radius);
  padding: 24px 18px 22px;
  text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
  border: 1px solid transparent;
}
.cat:hover { background: var(--c-crema); border-color: var(--c-linea); transform: translateY(-2px); }
.cat__media {
  aspect-ratio: 1;
  margin-bottom: 14px;
  border-radius: 8px;
}
.cat__name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--c-verde-botanico);
  font-weight: 500;
}
.cat__count { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 880px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   Consejo (artículos editorial)
   ============================================================= */

.consejo { background: var(--c-blanco); }
.articles {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.article { display: flex; flex-direction: column; }
.article__media { aspect-ratio: 16/10; border-radius: var(--radius); margin-bottom: 22px; }
.article__cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--c-verde-salvia); margin-bottom: 10px; }
.article h3 {
  font-size: 1.6rem; line-height: 1.15;
  margin-bottom: 12px;
}
.article--lead .article__media { aspect-ratio: 4/5; }
.article--lead h3 { font-size: 2.1rem; }
.article p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 14px; }
.article__meta { font-size: .74rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: auto; }

@media (max-width: 880px) {
  .articles { grid-template-columns: 1fr; }
}

/* =============================================================
   Compra online — banda
   ============================================================= */

.online-band {
  background: var(--c-verde-botanico);
  color: var(--c-blanco);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.online-band .sprig-bg {
  position: absolute; right: -30px; bottom: -30px; width: 320px;
  opacity: .15; filter: brightness(0) invert(1);
}
.online-band .eyebrow { color: var(--c-verde-mint); }
.online-band h2 { color: var(--c-blanco); margin: 12px 0 20px; }
.online-band h2 em { color: var(--c-verde-mint); }
.online-band .lead { color: rgba(255,255,255,.86); }
.online-band__features { display: grid; gap: 14px; margin-top: 24px; }
.online-band__feature { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.online-band__feature .lucide { width: 18px; height: 18px; color: var(--c-verde-mint); flex-shrink: 0; margin-top: 2px; }
/* The mockup image already includes its own ambient background, so the
   container does not impose aspect-ratio, border-radius nor crop — the
   image determines its own height. */
.online-band__phone { width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: auto; background: transparent; }
.online-band__phone.imgph--filled { border: 0; background: transparent; }
.online-band__phone .imgph__img {
  position: relative; inset: auto;
  width: 100%; height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 880px) {
  .online-band { grid-template-columns: 1fr; }
  .online-band__phone { display: none; }
}

/* =============================================================
   Mapa + visita (split editorial)
   ============================================================= */

.visita { background: var(--c-crema); }
.visita__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.visita__map {
  aspect-ratio: 5/4;
  border-radius: var(--radius);
  background: var(--c-verde-mint);
  position: relative;
  overflow: hidden;
}
.visita__pin {
  position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  background: var(--c-verde-botanico); color: white;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 30px -10px rgba(39,107,69,.45);
}
.visita__pin .lucide { rotate: 45deg; width: 26px; height: 26px; }

.visita__data h2 { margin: 16px 0 24px; }
.visita__hours {
  display: grid; grid-template-columns: auto 1fr;
  gap: 8px 28px;
  margin: 24px 0 32px;
  font-size: .92rem;
}
.visita__hours dt { font-weight: 600; color: var(--c-verde-botanico); }
.visita__hours dd { margin: 0; color: var(--ink-soft); }
.visita__contact { display: grid; gap: 14px; margin-bottom: 28px; }
.visita__contact a { display: inline-flex; align-items: center; gap: 12px; }
.visita__contact .lucide { width: 18px; height: 18px; color: var(--c-verde-botanico); }

@media (max-width: 880px) {
  .visita__inner { grid-template-columns: 1fr; }
}

/* =============================================================================================================
   Portada en MÓVIL con carruseles (propuesta del 29-sep aprobada por Jorge el 30-sep-2026: "me parece perfecta, dale caña").
   Solo pantallas de 880 px o menos; en escritorio nada cambia. Clases usadas solo en index.html (comprobado 30-sep).
   Servicios, Consejo y Categorías en carrusel horizontal (la siguiente tarjeta asoma); los 14 enlaces de consejos en una
   fila deslizable. Mismas tarjetas, fotos, textos, colores y márgenes. Medido: 18,6 -> 12,8 pantallas a 390 px, 0 desbordes.
   Foto de María: en móvil ocupaba casi toda la pantalla ("queda muy grande"); pasa a retrato redondo de 200 px.
   ============================================================================================================= */
@media (max-width: 880px) {
  .services-grid,
  .articles,
  .cats-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut);
    margin-inline: calc(var(--gut) * -1);
    padding: 0 var(--gut) 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .services-grid::-webkit-scrollbar,
  .articles::-webkit-scrollbar,
  .cats-grid::-webkit-scrollbar { display: none; }

  .services-grid > .service { flex: 0 0 min(84%, 340px); scroll-snap-align: start; grid-column: auto !important; }
  .articles > .article { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .article--lead .article__media { aspect-ratio: 16 / 10; }     /* en carrusel las tres fotos a la misma altura */
  .article--lead h3 { font-size: 1.6rem; }
  .cats-grid > .cat { flex: 0 0 44%; scroll-snap-align: start; }

  /* Las tarjetas que entran deslizando no esperan a la animación de aparición (quedarían transparentes un momento). */
  html.js-on .services-grid > .reveal:not(.in),
  html.js-on .articles > .reveal:not(.in) { opacity: 1; transform: none; }

  .consejo-index ul {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 8px !important;
    margin-inline: calc(var(--gut) * -1) !important;
    padding: 2px var(--gut) 8px !important;
    scrollbar-width: none;
  }
  .consejo-index ul::-webkit-scrollbar { display: none; }
  .consejo-index li { flex: 0 0 auto; }
  .consejo-index li a {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid var(--c-linea);
    border-radius: 999px;
    background: var(--c-blanco);
    font-size: .88rem;
  }

  .maria__photo { aspect-ratio: 1; width: min(200px, 56vw); border-radius: 50%; overflow: hidden; }
}


/* ===== Portada con imágenes de productos reales (aprobada por Jorge el 30-sep-2026) =====
   Imágenes generadas con IA a partir de las fotos REALES de los productos que vende la farmacia. La cabecera es clara:
   texto en verde sobre la zona limpia. En móvil, imagen vertical primero con el titular sobre la pared de la foto, y la
   entradilla, los botones y las credenciales debajo (.hero-b__below, solo en móvil). */
.hero-b--producto .hero-b__overlay { background: linear-gradient(100deg, rgba(243,239,234,.72) 0%, rgba(243,239,234,.38) 34%, rgba(243,239,234,0) 56%); }
.hero-b--producto .hero-b__photo .imgph__img { object-position: right 62%; }
.hero-b--producto .hero-b__copy { justify-content: center; padding-bottom: 0; }
.hero-b--producto .hero-b__inner { color: var(--c-grafito); max-width: 540px; }
.hero-b--producto .hero-b__inner .eyebrow { color: var(--c-verde-botanico); }
.hero-b--producto .hero-b__inner h1 { color: var(--c-verde-botanico); }
.hero-b--producto .hero-b__inner h1 em { color: var(--c-verde-salvia); }
.hero-b--producto .hero-b__inner .lead { color: var(--ink-soft); }
.hero-b--producto .hero__since { color: var(--ink-soft) !important; flex-wrap: wrap; }
.hero-b--producto .hero__since b { color: var(--c-verde-botanico) !important; }
.hero-b--producto .hero__since .dot { background: var(--c-linea) !important; }
.hero-b--producto .btn--ghost { color: var(--c-verde-botanico); border-color: rgba(39,107,69,.35); }
.hero-b--producto .hero__note { color: var(--ink-soft); opacity: 1 !important; }
.hero-b__below { display: none; }

@media (max-width: 880px) {
  .hero-b--producto .hero-b__media { height: auto; min-height: 0; aspect-ratio: 1024 / 1536; }
  .hero-b--producto .hero-b__overlay { display: none; }
  .hero-b--producto .hero-b__photo .imgph__img { object-position: center bottom; }
  .hero-b--producto .hero-b__copy { justify-content: flex-start; padding-top: 26px; padding-bottom: 0; }
  .hero-b--producto .hero-b__inner .lead,
  .hero-b--producto .hero-b__inner .hero__ctas,
  .hero-b--producto .hero-b__inner .hero__since { display: none; }
  .hero-b--producto .hero-b__inner h1 { font-size: clamp(2.05rem, 9.2vw, 2.6rem); line-height: 1.04; margin-bottom: 0; }
  .hero-b__below { display: block; padding: 22px var(--gut) 6px; background: var(--c-crema); }
  .hero-b__below .lead { color: var(--ink-soft); margin-bottom: 20px; }
  .hero-b__below .hero__ctas { margin-bottom: 4px; }
  .hero-b__below .btn--ghost { color: var(--c-verde-botanico); border-color: rgba(39,107,69,.35); }
  .hero-b__below .hero__note { color: var(--ink-soft); opacity: 1 !important; }
  .hero-b__below .hero__since { color: var(--ink-soft) !important; margin-top: 16px !important; flex-wrap: wrap; }
  .hero-b__below .hero__since b { color: var(--c-verde-botanico) !important; }
}

.aviso-ia { font-size: .72rem; opacity: .7; text-align: center; margin: 12px auto 0; padding: 0 var(--gut); }

/* Cabecera en pantallas anchas (Jorge: "si la pantalla es muy grande se corta el producto"). La imagen se ancla a la
   derecha y como mucho mide 1,72 veces la altura de la cabecera: así el recorte vertical no pasa del 13 % y no corta
   ningún envase (van del 15 % al 94 % de la altura de la foto). A su izquierda sigue el tono de la pared de la foto
   (muestreado de su borde) con un fundido, para que no se note la unión. */
@media (min-width: 881px) {
  .hero-b--producto .hero-b__photo {
    background: linear-gradient(180deg, #968973 0%, #aa9e88 10%, #a59984 20%, #988e79 30%, #968e7a 40%, #948d79 50%, #918b79 60%, #8e8777 70%, #8e8876 76.5%, #ada086 78.5%, #b6a58c 85%, #b2a38a 90%, #bcae97 95%, #b5a893 100%);
  }
  .hero-b--producto .hero-b__photo .imgph__img {
    left: auto; right: 0; top: 0; bottom: auto;
    width: min(100%, calc(1.72 * max(92vh, 640px))); height: 100%; max-width: none;
    object-fit: cover; object-position: right 75%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
            mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
}

/* Banda de la tienda online: fuera la captura del listado de la tienda; foto de campaña a sangre en la mitad derecha
   (IA a partir de los envases reales). En móvil se queda como estaba: solo el texto. */
.online-band--foto { grid-template-columns: 1.15fr 1fr; padding: 0; gap: 0; align-items: stretch; }
.online-band--foto .online-band__texto { padding: clamp(40px, 6vw, 72px); position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.online-band__foto { position: relative; }
.online-band__foto::before { content: ""; display: block; padding-top: 100%; } /* celda al menos cuadrada: la foto nunca recorta por arriba ni por abajo, solo por los lados */
.online-band__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 880px) {
  .online-band--foto { grid-template-columns: 1fr; }
  .online-band__foto { display: none; }
}
