/* Revisión de alimentos. Beauty conserva su presentación independiente. */
:root { --bronce-legible: #8d471b; }
html { scroll-padding-top: 6.5rem; }
.boton--terracota { background: var(--bronce-legible); }
.boton--terracota:hover { background: #713815; }
.tarjeta-producto__precio, .ficha-producto__precio,
.titulo-seccion__kicker, .origen__kicker { color: var(--bronce-legible); }
.nav-principal__lista a[aria-current="page"], .nav-principal__lista a:hover { color: var(--bronce-legible); border-color: var(--bronce-legible); }
.tarjeta-producto__descripcion, .titulo-seccion p,
.ficha-producto__descripcion-corta, .ficha-producto__descripcion-larga,
.ficha-producto__confianza, .migas { color: #585149; }
:focus-visible { outline: 3px solid #8d471b; outline-offset: 5px; }
.pie :focus-visible, .pagina-nosotros__hero :focus-visible { outline-color: #f5f1ea; }
.boton, .boton-carrito { min-height: 46px; }
.producto-peso { font-family: var(--font-ui); font-size: .8rem; font-weight: 600; color: #51483e; margin: 0 0 .35rem; }
.portada-editorial { background: #eee6d8; padding: clamp(2rem, 5vw, 4rem) 0; border-bottom: 1px solid #d8cbb8; }
.portada-editorial__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.editorial-kicker { text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; font-weight: 700; color: #65523f; margin-bottom: 1.8rem; }
.portada-editorial h1 { font-family: var(--font-producto); font-size: clamp(3.2rem, 6.5vw, 6.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .99; color: var(--color-teal); margin: 0 0 1.6rem; }
.portada-editorial h1 em { color: var(--bronce-legible); font-weight: 400; }
.portada-editorial__apoyo { font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 39ch; color: #544b40; line-height: 1.7; margin-bottom: 1.8rem; }
.portada-editorial .hero__acciones { align-items: center; gap: 1.4rem; }
.portada-editorial__enlace, .enlace-editorial { color: var(--color-teal); text-decoration: underline; text-underline-offset: 5px; font-weight: 600; font-size: .88rem; }
.portada-editorial__condiciones { font-size: .85rem; line-height: 1.7; color: #65523f; margin: 1.8rem 0 0; padding-left: 1rem; border-left: 2px solid #8d471b; }
.portada-editorial__foto { margin: 0; position: relative; border-radius: 55% 55% 4px 4px; overflow: hidden; background: #f4ede2; }
.portada-editorial__foto > img { display: block; width: 100%; height: clamp(380px, 40vw, 560px); object-fit: cover; object-position: center 65%; }
.portada-editorial__foto figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: 1.15rem 1.3rem; color: #51483e; background: #f6f1e8; border-top: 1px solid #e5d8c6; }
.portada-editorial__foto figcaption span { font-family: var(--font-producto); font-size: 1.12rem; }
.portada-editorial__foto figcaption strong { font-family: var(--font-ui); font-size: .72rem; margin-left: .5rem; }
.portada-editorial__foto figcaption small { font-size: .65rem; }
.portada-editorial__foto figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.tarjeta-producto { border: 1px solid #ded7cb; box-shadow: none; }
#grid-productos, #grid-proximamente, #grid-relacionados { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarjeta-producto__imagen { aspect-ratio: 4 / 4.3; }
[data-producto="miel"] .tarjeta-producto__imagen { object-position: center 65%; }
[data-producto="polen"] .tarjeta-producto__imagen { object-fit: contain; object-position: center; }
[data-producto="algarrobina"] .tarjeta-producto__imagen { object-fit: cover; }
.tarjeta-producto__cuerpo { padding: 1.4rem; gap: .65rem; }
.tarjeta-producto__nombre { font-size: 1.7rem; font-weight: 500; }
.tarjeta-producto__descripcion { line-height: 1.65; }
.tarjeta-producto__entrega { font-size: .76rem; color: #51483e; }
.tarjeta-producto__precio { margin-top: .3rem; }
.origen__visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; background: #ede7db; }
.origen__visual figcaption { color: #585149; font-size: .8rem; padding-top: .75rem; }
.ficha-producto__imagen { box-shadow: none; border: 1px solid #ded7cb; }
.nota-foto { font-size: .72rem; padding: .6rem .8rem; color: #51483e; margin: 0; background: #f6f1e8; }
.nota-foto a { text-decoration: underline; text-underline-offset: 3px; }
.ficha-producto__imagen img { aspect-ratio: 4 / 4.5; object-position: center 65%; }
.ficha-producto__imagen[data-producto="polen"] img { object-position: center 95%; }
.ficha-producto__info .producto-peso { margin: .35rem 0 .65rem; }
.ficha-producto__confianza { border: 1px solid #ded7cb; }
.pagina-nosotros__hero h1 { max-width: 22ch; margin: 0 auto 1.1rem; line-height: 1.12; }
.bloque-texto { max-width: 74ch; margin-left: auto; margin-right: auto; }
.bloque-texto h2 { line-height: 1.2; margin-bottom: 1rem; }
.bloque-ruwix { padding: 2rem; background: #ebe5d9; border-left: 2px solid #8d471b; }
.subllineas { gap: 1rem; }
.titulo-vivo .letra { display: inline-block; transition: transform 220ms var(--ease-out); }
.titulo-vivo .palabra { display: inline-block; white-space: nowrap; }
.boton > span[aria-hidden] { display: inline-block; transition: transform 180ms var(--ease-out); }
.boton-estado { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 120; max-width: min(320px, calc(100% - 2rem)); padding: .85rem 1.1rem; background: #1b4b44; color: #fff; border-radius: 8px; font-size: .85rem; box-shadow: 0 6px 22px #0002; pointer-events: none; }
.boton-estado:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  .titulo-vivo .letra:hover { transform: translateY(-.065em) rotate(-2deg); }
  .boton:hover > span[aria-hidden] { transform: translate(2px, -2px); }
}
@media (max-width: 860px) {
  #grid-productos, #grid-proximamente, #grid-relacionados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-principal { inset: 0 0 0 auto; height: 100dvh; visibility: hidden; pointer-events: none; transform: translateX(105%); transition: transform 220ms var(--ease-drawer), visibility 220ms; }
  .nav-principal.abierto { visibility: visible; pointer-events: auto; transform: none; }
  .encabezado__acciones { z-index: 55; }
  .boton-menu { min-width: 44px; min-height: 44px; background: #f5f1ea; border: 1px solid #d6cbbc; }
  .boton-menu[aria-expanded="true"] svg line:nth-child(1) { opacity: 0; }
  .boton-menu[aria-expanded="true"] svg line:nth-child(2) { transform: translateY(6px) rotate(45deg); transform-origin: 12px 6px; }
  .boton-menu[aria-expanded="true"] svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); transform-origin: 12px 18px; }
  body.menu-abierto { overflow: hidden; }
  .nav-principal__lista a { display: block; min-height: 44px; padding: .4rem 0; }
  .portada-editorial__grid { gap: 2rem; }
  .portada-editorial h1 { font-size: clamp(3rem, 7.5vw, 5.5rem); }
  .portada-editorial__foto > img { height: 400px; }
  .ficha-producto { gap: 1.25rem; padding-top: 1rem; }
  .ficha-producto__imagen { position: static; }
  .ficha-producto__imagen img { height: 280px; aspect-ratio: auto; object-fit: contain; background: #ede7db; }
  .ficha-producto__nombre { margin: .15rem 0; }
  .ficha-producto__precio { margin: 0 0 .7rem; }
  .ficha-producto__acciones { margin: .9rem 0; gap: .6rem; }
}
@media (max-width: 599px) {
  #grid-productos, #grid-proximamente, #grid-relacionados { grid-template-columns: minmax(0, 1fr); }
  .contenedor { width: calc(100% - 36px); padding-inline: 0; }
  .portada-editorial { padding: 2rem 0 1.2rem; }
  .portada-editorial__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .portada-editorial h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); margin-bottom: 1rem; }
  .editorial-kicker { font-size: .65rem; margin-bottom: 1.1rem; }
  .portada-editorial__apoyo { font-size: .95rem; line-height: 1.6; margin-bottom: 1.3rem; }
  .portada-editorial .hero__acciones { gap: 1.1rem; }
  .portada-editorial__condiciones { margin-top: 1.3rem; }
  .portada-editorial__foto { border-radius: 45% 45% 4px 4px; }
  .portada-editorial__foto > img { height: 340px; }
  .portada-editorial__foto figcaption { padding: .9rem; }
  .barra-confianza__contenido p { line-height: 1.5; }
  .ficha-producto__imagen img { height: 240px; object-fit: cover; object-position: center 60%; }
  .ficha-producto__imagen[data-producto="polen"] img { object-fit: contain; object-position: center; }
  .ficha-producto__imagen[data-producto="miel"] img { object-fit: contain; object-position: center; }
  .ficha-producto__imagen[data-producto="algarrobina"] img { object-fit: contain; }
  .ficha-producto__origen { font-size: .65rem; letter-spacing: .04em; }
  .ficha-producto__descripcion-corta { font-size: .92rem; line-height: 1.5; }
  .ficha-producto__acciones { flex-wrap: nowrap; }
  .ficha-producto__acciones .boton { flex: 1; padding-left: .8rem; padding-right: .8rem; font-size: .85rem; }
  .ficha-producto__acciones .selector-cantidad { flex-shrink: 0; }
  .tarjeta-producto__cuerpo { padding: 1.2rem; }
  .bloque-ruwix { padding: 1.35rem; }
  .subllineas { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton, .boton-carrito, .tarjeta-producto, .tarjeta-producto__imagen, .nav-principal, .panel-carrito { transition: opacity 100ms ease; }
  .titulo-vivo .letra, .boton > span[aria-hidden] { transition: none; }
  .titulo-vivo .letra:hover, .boton:hover > span[aria-hidden], .tarjeta-producto:hover, .tarjeta-producto:hover .tarjeta-producto__imagen, .boton:active { transform: none; }
}

/* Sesión física de miel: el empaque se muestra completo, nunca recortado. */
.portada-editorial__foto { border-radius: 20px; }
.portada-editorial__foto > img { object-fit: contain; object-position: center; background: #eee4d6; }
[data-producto="miel"] .tarjeta-producto__imagen { object-fit: contain; object-position: center; background: #eee4d6; }
.ficha-producto__imagen[data-producto="miel"] > .js-foto-producto { height: auto; max-height: 560px; aspect-ratio: 4 / 5; object-fit: contain; object-position: center; background: #eee4d6; }
.galeria-producto { display: flex; justify-content: center; gap: .6rem; padding: .8rem .8rem .4rem; background: #f6f1e8; }
.galeria-producto__miniatura { width: 52px; height: 58px; padding: 2px; border: 1px solid #b9ac98; border-radius: 6px; background: #eee4d6; cursor: pointer; }
.galeria-producto__miniatura[aria-pressed="true"] { border: 2px solid #1b4b44; padding: 1px; }
.ficha-producto__imagen .galeria-producto__miniatura img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; object-position: center; }
.galeria-producto__estado { margin: 0; padding: .2rem .8rem .7rem; background: #f6f1e8; font-size: .72rem; text-align: center; color: #51483e; }
.consulta-producto { font-size: .8rem; line-height: 1.5; margin: -.2rem 0 1.2rem; }
.consulta-producto a { color: #1b4b44; text-decoration: underline; text-underline-offset: 4px; }
.contacto-cabecera { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 46px; padding: 0 .8rem; border: 1px solid #b8c5bb; border-radius: 999px; color: #1b4b44; font-size: .8rem; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .contacto-cabecera:hover { background: #e0e6dc; }
  .galeria-producto__miniatura:hover { border-color: #1b4b44; }
}
@media (max-width: 1100px) {
  .contacto-cabecera { padding: 0; width: 44px; flex-shrink: 0; }
  .contacto-cabecera span { display: none; }
}
@media (max-width: 860px) {
  .ficha-producto__imagen[data-producto="miel"] > .js-foto-producto { width: 100%; height: 220px; }
  .galeria-producto { padding-top: .5rem; }
  .galeria-producto__miniatura { width: 44px; height: 46px; }
}
@media (max-width: 599px) {
  .inicio-brand-links__beauty { display: none; } /* Sigue accesible desde el menú. */
  .encabezado .marca { gap: .4rem; font-size: 1.1rem; }
  .encabezado .marca__sub { font-size: .5rem; letter-spacing: .06em; white-space: nowrap; }
  .encabezado__acciones { gap: .45rem; }
  .portada-editorial__foto { border-radius: 16px; }
  .ficha-producto__imagen[data-producto="miel"] > .js-foto-producto { height: 220px; }
  .galeria-producto__estado { padding-bottom: .4rem; }
  .consulta-producto { margin-bottom: 1rem; }
  .controles-compra-visibles .asesora-voz__boton[aria-expanded="false"],
  .menu-abierto .asesora-voz__boton[aria-expanded="false"] { visibility: hidden; pointer-events: none; }
}

/* Serie oscura con etiquetas de producto. Una fotografía principal por ficha. */
.portada-editorial__foto { background: #241a13; border: 1px solid #3e2d20; }
.portada-editorial__producto { display: block; }
.portada-editorial__producto img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #241a13; }
.portada-editorial__producto:focus-visible { outline: 3px solid #f5f1ea; outline-offset: -7px; border-radius: inherit; }
.tarjeta-producto[data-producto] .tarjeta-producto__imagen { height: auto; aspect-ratio: 1; object-fit: contain; object-position: center; background: #241a13; }
.ficha-producto__imagen[data-producto] > .js-foto-producto { display: block; width: 100%; height: auto; aspect-ratio: 1; max-height: none; object-fit: contain; object-position: center; background: #241a13; }
.origen__visual img { background: #241a13; }
/* Recuadro fuera de la foto: informa el peso sin tapar el frasco ni su etiqueta. */
.badge-referencial,
.ficha-producto__nota-visual {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: 0;
  padding: .7rem .9rem;
  border-radius: 0;
  background: #1b4b44;
  color: #f5f1ea;
  font-family: var(--font-ui);
  font-size: .72rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.badge-referencial strong,
.ficha-producto__nota-visual strong { font-size: .84rem; font-weight: 600; white-space: nowrap; }
.portada-editorial__foto figcaption small { font-size: .72rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .tarjeta-producto[data-producto]:hover .tarjeta-producto__imagen { transform: none; }
}
@media (max-width: 860px) {
  .ficha-producto__imagen[data-producto] > .js-foto-producto { height: 280px; aspect-ratio: auto; }
}
@media (max-width: 599px) {
  .ficha-producto__imagen[data-producto] > .js-foto-producto { height: 250px; }
}
@media (max-width: 359px) {
  .ficha-producto__imagen[data-producto] > .js-foto-producto { height: 220px; }
}

/* Experiencia completa: sin alturas intrínsecas que generen huecos. */
.entrega-editorial .origen__grid { align-items: center; gap: clamp(1.6rem, 4vw, 3.5rem); }
.entrega-editorial .origen__kicker { color: #e9c574; }
.entrega-editorial h2 { color: #f5f1ea; font-family: var(--font-producto); font-size: clamp(2.2rem, 3.7vw, 3.3rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; margin: .65rem 0 1.2rem; }
.entrega-editorial .origen__visual { min-width: 0; }
.entrega-editorial .origen__visual img { display: block; width: 100%; height: auto; object-fit: contain; }
.entrega-editorial .entrega-editorial__foto { aspect-ratio: 4 / 3; border-radius: 12px; }
.entrega-editorial .origen__visual figcaption { color: #e5e9df; font-size: .78rem; line-height: 1.6; padding-top: .6rem; margin-top: 0; }
.entrega-editorial__detalles { margin: 1.7rem 0; }
.entrega-editorial__detalles > div { display: grid; grid-template-columns: 8.4rem 1fr; gap: .8rem; padding: .95rem 0; border-top: 1px solid #ffffff35; }
.entrega-editorial__detalles dt { color: #e9c574; font-size: .84rem; font-weight: 600; }
.entrega-editorial__detalles dd { margin: 0; color: #f5f1ea; font-size: .88rem; line-height: 1.65; }
.entrega-editorial__cta { margin-top: 1.5rem; background: #f5f1ea; color: #1b4b44; }
.tarjetas-entrega { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: center; margin-top: 1rem; }
.tarjetas-entrega a { display: block; border-radius: 7px; }
.entrega-editorial .tarjetas-entrega img { aspect-ratio: 5 / 3; border-radius: 7px; box-shadow: none; background: #fbf8f1; }
.tarjetas-entrega a:focus-visible { outline-color: #e9c574; }

/* Atracción breve, no estado de llamada ni disponibilidad simulada. */
.asesora-voz__boton.asesora-mejorada { position: relative; isolation: isolate; min-height: 52px; padding: .45rem 1rem .45rem .45rem; gap: .65rem; border: 1px solid #e9c574; background: #123d37; color: #fbf8f1; font-size: .87rem; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: 0 6px 24px #081e2950; transition: transform 150ms ease-out; }
.asesora-mejorada .asesora-voz__icono { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e9c574; color: #123d37; }
.asesora-mejorada::after { content: ''; position: absolute; inset: -5px; z-index: -1; border: 1px solid #e9c574; border-radius: inherit; pointer-events: none; opacity: 0; }
.asesora-mejorada[aria-expanded="false"]::after { animation: invitar-asesora 1.6s ease-out 3; }
.asesora-mejorada:focus-visible::after { animation: none; }
.asesora-mejorada:active { transform: scale(.97); }
body:has(.panel-carrito.abierto) .asesora-voz { visibility: hidden; pointer-events: none; }
.pie-visible .asesora-voz__boton[aria-expanded="false"]:not(:focus-visible) { visibility: hidden; pointer-events: none; }
@keyframes invitar-asesora { 0% { opacity: .65; transform: scale(.98); } 85%,100% { opacity: 0; transform: scale(1.12,1.32); } }
@media (hover: hover) and (pointer: fine) {
  .asesora-mejorada:hover { transform: translateY(-2px); }
  .entrega-editorial__cta:hover { background: #e7ddca; }
}
@media (max-width: 860px) {
  .controles-compra-visibles .asesora-voz__boton[aria-expanded="false"], .menu-abierto .asesora-voz__boton[aria-expanded="false"] { visibility: hidden; pointer-events: none; }
}
@media (max-width: 599px) {
  .entrega-editorial__detalles > div { grid-template-columns: 1fr; gap: .3rem; }
  .tarjetas-entrega { gap: .6rem; }
  .asesora-voz__boton.asesora-mejorada { min-height: 48px; padding-right: .85rem; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .asesora-mejorada[aria-expanded="false"]::after { animation: none; }
  .asesora-voz__boton.asesora-mejorada { transition: none; }
  .asesora-mejorada:hover, .asesora-mejorada:active { transform: none; }
}
