/* =====================================================================
   Anchetas Navideñas · Fase PREMIUM (2-nov-2026, pedido del dueño)
   «Moderno con tipografías grandes tipo Apple», árboles, estrellas, fondos premium que contrasten en dos
   colores, degradados sencillos. Se carga DESPUÉS de paginas.css y solo extiende/ajusta: no cambia
   ningún comportamiento. Todo es CSS + SVG en línea (data:), sin librerías ni imágenes extra.
   Sistema:
   - Dos superficies que se alternan: CREMA (#FCF8EC / blanco) y VINO (degradado radial #5C1016 → #901B22
     con brillo dorado sutil, estrellas de 4 puntas y siluetas de abetos al pie). Texto crema sobre vino.
   - Oro fino (#C9A45C / #E6CF98) solo como ornamento: filete con estrella bajo los titulares, estrellas.
   - Tarjetas blancas con borde fino y sombra suave; botón principal con brillo degradado.
   Contrastes sobre el vino (#901B22 el punto más claro): crema #FCF8EC 8,4:1 · crema 82 % ≈ 6,6:1 ·
   oro claro #E6CF98 5,7:1 · lima claro #E3EDC4 7,3:1.
   Destino WordPress: anchetas-cotizacion/assets/css/premium.css (después de paginas.css).
   ===================================================================== */
:root {
  --ac-oro: #c9a45c;
  --ac-oro-claro: #e6cf98;
  --ac-vino-profundo: #5c1016;
  --ac-sobre-vino: #fcf8ec;
  --ac-sobre-vino-2: rgb(252 248 236 / 0.82);
  --ac-orn-estrella: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9A45C' d='M12.0 1.0C14.0 10.0 14.0 10.0 23.0 12.0C14.0 14.0 14.0 14.0 12.0 23.0C10.0 14.0 10.0 14.0 1.0 12.0C10.0 10.0 10.0 10.0 12.0 1.0Z'/%3E%3C/svg%3E");
  --ac-orn-estrellas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 300'%3E%3Cg fill='%23E6CF98'%3E%3Cpath fill-opacity='0.55' d='M40.0 45.0C41.3 50.7 41.3 50.7 47.0 52.0C41.3 53.3 41.3 53.3 40.0 59.0C38.7 53.3 38.7 53.3 33.0 52.0C38.7 50.7 38.7 50.7 40.0 45.0Z'/%3E%3Cpath fill-opacity='0.45' d='M182.0 26.0C182.7 29.3 182.7 29.3 186.0 30.0C182.7 30.7 182.7 30.7 182.0 34.0C181.3 30.7 181.3 30.7 178.0 30.0C181.3 29.3 181.3 29.3 182.0 26.0Z'/%3E%3Cpath fill-opacity='0.5' d='M262.0 109.0C263.6 116.4 263.6 116.4 271.0 118.0C263.6 119.6 263.6 119.6 262.0 127.0C260.4 119.6 260.4 119.6 253.0 118.0C260.4 116.4 260.4 116.4 262.0 109.0Z'/%3E%3Cpath fill-opacity='0.4' d='M96.0 192.5C96.6 195.4 96.6 195.4 99.5 196.0C96.6 196.6 96.6 196.6 96.0 199.5C95.4 196.6 95.4 196.6 92.5 196.0C95.4 195.4 95.4 195.4 96.0 192.5Z'/%3E%3Cpath fill-opacity='0.5' d='M216.0 240.5C217.0 245.0 217.0 245.0 221.5 246.0C217.0 247.0 217.0 247.0 216.0 251.5C215.0 247.0 215.0 247.0 210.5 246.0C215.0 245.0 215.0 245.0 216.0 240.5Z'/%3E%3Cpath fill-opacity='0.35' d='M30.0 269.0C30.5 271.5 30.5 271.5 33.0 272.0C30.5 272.5 30.5 272.5 30.0 275.0C29.5 272.5 29.5 272.5 27.0 272.0C29.5 271.5 29.5 271.5 30.0 269.0Z'/%3E%3Cpath fill-opacity='0.4' d='M330.0 186.0C330.7 189.3 330.7 189.3 334.0 190.0C330.7 190.7 330.7 190.7 330.0 194.0C329.3 190.7 329.3 190.7 326.0 190.0C329.3 189.3 329.3 189.3 330.0 186.0Z'/%3E%3C/g%3E%3C/svg%3E");
  --ac-orn-estrellas-suaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 300'%3E%3Cg fill='%23C9A45C'%3E%3Cpath fill-opacity='0.55' d='M40.0 45.0C41.3 50.7 41.3 50.7 47.0 52.0C41.3 53.3 41.3 53.3 40.0 59.0C38.7 53.3 38.7 53.3 33.0 52.0C38.7 50.7 38.7 50.7 40.0 45.0Z'/%3E%3Cpath fill-opacity='0.45' d='M182.0 26.0C182.7 29.3 182.7 29.3 186.0 30.0C182.7 30.7 182.7 30.7 182.0 34.0C181.3 30.7 181.3 30.7 178.0 30.0C181.3 29.3 181.3 29.3 182.0 26.0Z'/%3E%3Cpath fill-opacity='0.5' d='M262.0 109.0C263.6 116.4 263.6 116.4 271.0 118.0C263.6 119.6 263.6 119.6 262.0 127.0C260.4 119.6 260.4 119.6 253.0 118.0C260.4 116.4 260.4 116.4 262.0 109.0Z'/%3E%3Cpath fill-opacity='0.4' d='M96.0 192.5C96.6 195.4 96.6 195.4 99.5 196.0C96.6 196.6 96.6 196.6 96.0 199.5C95.4 196.6 95.4 196.6 92.5 196.0C95.4 195.4 95.4 195.4 96.0 192.5Z'/%3E%3Cpath fill-opacity='0.5' d='M216.0 240.5C217.0 245.0 217.0 245.0 221.5 246.0C217.0 247.0 217.0 247.0 216.0 251.5C215.0 247.0 215.0 247.0 210.5 246.0C215.0 245.0 215.0 245.0 216.0 240.5Z'/%3E%3Cpath fill-opacity='0.35' d='M30.0 269.0C30.5 271.5 30.5 271.5 33.0 272.0C30.5 272.5 30.5 272.5 30.0 275.0C29.5 272.5 29.5 272.5 27.0 272.0C29.5 271.5 29.5 271.5 30.0 269.0Z'/%3E%3Cpath fill-opacity='0.4' d='M330.0 186.0C330.7 189.3 330.7 189.3 334.0 190.0C330.7 190.7 330.7 190.7 330.0 194.0C329.3 190.7 329.3 190.7 326.0 190.0C329.3 189.3 329.3 189.3 330.0 186.0Z'/%3E%3C/g%3E%3C/svg%3E");
  --ac-orn-arboles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90'%3E%3Cpath fill='%232b060a' fill-opacity='.55' d='M22.0 44.0L32.0 63.3H12.0ZM22.0 56.0L34.1 75.3H9.9ZM22.0 67.9L36.3 85.4H7.7ZM20.3 85.4h3.4V90.0h-3.4ZM58.0 20.0L73.2 49.4H42.8ZM58.0 38.2L76.4 67.6H39.6ZM58.0 56.4L79.7 83.0H36.3ZM55.4 83.0h5.2V90.0h-5.2ZM96.0 52.0L104.2 68.0H87.8ZM96.0 61.9L106.0 77.8H86.0ZM96.0 71.8L107.8 86.2H84.2ZM94.6 86.2h2.8V90.0h-2.8ZM150.0 8.0L167.8 42.4H132.2ZM150.0 29.3L171.6 63.8H128.4ZM150.0 50.6L175.4 81.8H124.6ZM146.9 81.8h6.1V90.0h-6.1ZM196.0 36.0L207.7 58.7H184.3ZM196.0 50.0L210.2 72.7H181.8ZM196.0 64.1L212.7 84.6H179.3ZM194.0 84.6h4.0V90.0h-4.0ZM232.0 50.0L240.7 66.8H223.3ZM232.0 60.4L242.5 77.2H221.5ZM232.0 70.8L244.4 86.0H219.6ZM230.5 86.0h3.0V90.0h-3.0ZM290.0 16.0L306.1 47.1H273.9ZM290.0 35.2L309.5 66.3H270.5ZM290.0 54.5L312.9 82.6H267.1ZM287.2 82.6h5.5V90.0h-5.5ZM338.0 40.0L348.9 61.0H327.1ZM338.0 53.0L351.2 74.0H324.8ZM338.0 66.0L353.5 85.0H322.5ZM336.1 85.0h3.7V90.0h-3.7ZM372.0 28.0L385.5 54.0H358.5ZM372.0 44.1L388.3 70.2H355.7ZM372.0 60.2L391.2 83.8H352.8ZM369.7 83.8h4.6V90.0h-4.6Z'/%3E%3C/svg%3E");
  --ac-orn-arboles-oliva: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90'%3E%3Cpath fill='%23778B3B' fill-opacity='.16' d='M22.0 44.0L32.0 63.3H12.0ZM22.0 56.0L34.1 75.3H9.9ZM22.0 67.9L36.3 85.4H7.7ZM20.3 85.4h3.4V90.0h-3.4ZM58.0 20.0L73.2 49.4H42.8ZM58.0 38.2L76.4 67.6H39.6ZM58.0 56.4L79.7 83.0H36.3ZM55.4 83.0h5.2V90.0h-5.2ZM96.0 52.0L104.2 68.0H87.8ZM96.0 61.9L106.0 77.8H86.0ZM96.0 71.8L107.8 86.2H84.2ZM94.6 86.2h2.8V90.0h-2.8ZM150.0 8.0L167.8 42.4H132.2ZM150.0 29.3L171.6 63.8H128.4ZM150.0 50.6L175.4 81.8H124.6ZM146.9 81.8h6.1V90.0h-6.1ZM196.0 36.0L207.7 58.7H184.3ZM196.0 50.0L210.2 72.7H181.8ZM196.0 64.1L212.7 84.6H179.3ZM194.0 84.6h4.0V90.0h-4.0ZM232.0 50.0L240.7 66.8H223.3ZM232.0 60.4L242.5 77.2H221.5ZM232.0 70.8L244.4 86.0H219.6ZM230.5 86.0h3.0V90.0h-3.0ZM290.0 16.0L306.1 47.1H273.9ZM290.0 35.2L309.5 66.3H270.5ZM290.0 54.5L312.9 82.6H267.1ZM287.2 82.6h5.5V90.0h-5.5ZM338.0 40.0L348.9 61.0H327.1ZM338.0 53.0L351.2 74.0H324.8ZM338.0 66.0L353.5 85.0H322.5ZM336.1 85.0h3.7V90.0h-3.7ZM372.0 28.0L385.5 54.0H358.5ZM372.0 44.1L388.3 70.2H355.7ZM372.0 60.2L391.2 83.8H352.8ZM369.7 83.8h4.6V90.0h-4.6Z'/%3E%3C/svg%3E");
  --ac-sombra-tarjeta: 0 1px 2px rgb(60 20 20 / 0.05), 0 12px 32px -12px rgb(60 20 20 / 0.18);
  --ac-fondo-vino:
    radial-gradient(120% 90% at 85% -10%, rgb(201 164 92 / 0.22), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, rgb(194 36 45 / 0.35), transparent 60%),
    linear-gradient(160deg, #6a1219 0%, #901b22 55%, #7a161c 100%);
}

/* ---------- Tipografía «tipo Apple»: titulares más grandes, más pesados y más apretados ---------- */
.ac-seccion__cabeza h2, .ac-carrusel__cabeza h2, .ac-cierre h2 {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.03;
}
/* Filete de oro con estrella de 4 puntas bajo el titular de sección (—✦—) */
.ac-seccion__cabeza > h2::after, .ac-carrusel__cabeza h2::after {
  content: ""; display: block; width: 6.5rem; height: 14px; margin-top: 0.9rem;
  background:
    var(--ac-orn-estrella) center / 14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--ac-oro) 22%, var(--ac-oro) 38%, transparent 42%, transparent 58%, var(--ac-oro) 62%, var(--ac-oro) 78%, transparent) center / 100% 1px no-repeat;
}
.ac-seccion__cabeza--centro > h2::after, .ac-cierre__cuerpo h2::after { margin-inline: auto; }

/* ---------- Botones: brillo degradado sutil + sombra de color ---------- */
.ac-boton--accion {
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0) 55%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 8px 20px -8px rgb(194 36 45 / 0.6);
}
.ac-boton--lima {
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 60%);
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.45);
}
.ac-boton--oscuro { background-image: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 60%); }

/* =====================================================================
   SUPERFICIE VINO (Cómo funciona, Para directivos, Cierre)
   ===================================================================== */
.ac-seccion--vino {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--ac-sobre-vino);
  background-color: #901b22;
  background-image: var(--ac-orn-estrellas), var(--ac-fondo-vino);
  /* 4 capas (estrellas + 3 degradados de --ac-fondo-vino): solo las estrellas se repiten en mosaico */
  background-size: 360px 300px, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  /* margen inferior para que los abetos del pie no se monten sobre el contenido */
  padding-bottom: calc(var(--ac-seccion) + clamp(1.5rem, 3vw, 3rem));
}
/* Siluetas de abetos al pie (decorativas, livianas: 1 SVG de 1 KB repetido) */
.ac-seccion--vino::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; pointer-events: none;
  height: clamp(2.75rem, 6vw, 5.5rem);
  background: var(--ac-orn-arboles) left bottom / auto 100% repeat-x;
}
.ac-seccion--vino :is(h2, h3, legend, .ac-antetitulo) { color: var(--ac-sobre-vino); }
.ac-seccion--vino .ac-antetitulo { color: var(--ac-oro-claro); }
.ac-seccion--vino .ac-seccion__sub, .ac-seccion--vino .ac-cierre__form legend { color: var(--ac-sobre-vino-2); }
.ac-seccion--vino .ac-carrusel__estado { color: var(--ac-sobre-vino-2); }
.ac-seccion--vino :focus-visible { outline-color: #fff; }
.ac-seccion--vino .ac-seccion__cabeza > h2::after, .ac-seccion--vino .ac-carrusel__cabeza h2::after, .ac-seccion--vino .ac-cierre__cuerpo h2::after { filter: brightness(1.25); }
/* Sobre el vino el rojo de acción se perdería: el CTA pasa a lima (regla de DESIGN.md: lima sobre rojo) */
.ac-seccion--vino .ac-boton--accion { --b-fondo: var(--ac-lima); --b-texto: var(--ac-texto); box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5); }
@media (hover: hover) and (pointer: fine) { .ac-seccion--vino .ac-boton--accion:hover { --b-fondo: var(--ac-lima-hover); } }
.ac-seccion--vino .ac-boton--accion:active { --b-fondo: var(--ac-lima-claro); }
.ac-seccion--vino .ac-carrusel__controles .ac-boton { --b-fondo: rgb(255 255 255 / 0.92); --b-texto: var(--ac-texto); }

/* Cómo funciona sobre vino: pasos en vidrio cálido, número en oro, tiempo en lima claro */
.ac-seccion--vino .ac-paso {
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(230 207 152 / 0.22);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset;
}
.ac-seccion--vino .ac-paso h3 { color: var(--ac-sobre-vino); }
.ac-seccion--vino .ac-paso p { color: var(--ac-sobre-vino-2); }
.ac-seccion--vino .ac-paso__tiempo { color: var(--ac-lima-claro) !important; }
.ac-seccion--vino .ac-paso__num { background: linear-gradient(180deg, #f1dcaa, var(--ac-oro)); color: #3a0a0e; }
.ac-seccion--vino .ac-como__foto img { box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55); outline: 1px solid rgb(230 207 152 / 0.3); outline-offset: 6px; }

/* Cierre sobre vino: chips blancos, foto con marco de oro */
.ac-seccion--vino.ac-cierre .ac-chip > span { border-color: rgb(255 255 255 / 0.6); }
.ac-seccion--vino.ac-cierre .ac-chip input:checked + span { background: var(--ac-vino-profundo); border-color: var(--ac-oro-claro); box-shadow: 0 0 0 2px var(--ac-oro-claro); }
.ac-seccion--vino .ac-cierre__foto img { box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55); outline: 1px solid rgb(230 207 152 / 0.3); outline-offset: 6px; }

/* =====================================================================
   SUPERFICIE CREMA con estrellas (Productos destacados, Categorías, Preguntas)
   ===================================================================== */
.ac-destacados, .ac-seccion--estrellas {
  background-color: var(--ac-crema);
  background-image: var(--ac-orn-estrellas-suaves), linear-gradient(180deg, #fffdf6, var(--ac-crema));
  background-size: 360px 300px, auto;
}
#preguntas.ac-seccion--gris { background: var(--ac-crema); }
/* «Más vendidas» quedó sobre vino al reordenar la portada: el vino gana a la crema de .ac-destacados
   (si no, el título crema quedaba sobre fondo crema, casi invisible). */
.ac-seccion--vino.ac-destacados {
  background-color: #901b22;
  background-image: var(--ac-orn-estrellas), var(--ac-fondo-vino);
  /* 4 capas (estrellas + 3 degradados de --ac-fondo-vino): solo las estrellas se repiten en mosaico */
  background-size: 360px 300px, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}
.ac-presupuesto-seccion, .ac-confianza { background: #fff; position: relative; }
/* Abetos oliva muy suaves al pie de Confianza: puente visual hacia el pie de página */
.ac-confianza { overflow: hidden; padding-bottom: calc(var(--ac-seccion) + clamp(1rem, 2vw, 2rem)); }
.ac-confianza::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  height: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ac-orn-arboles-oliva) left bottom / auto 100% repeat-x;
}

/* ---------- Tarjetas de producto en la portada y la ficha: panel blanco, borde fino, sombra suave ---------- */
.ac-carrusel__item > .ac-tarjeta {
  height: 100%; padding: 0.625rem 0.625rem 0.875rem;
  background: #fff; border: 1px solid rgb(144 27 34 / 0.08); border-radius: calc(var(--ac-radio-l) + 4px);
  box-shadow: var(--ac-sombra-tarjeta);
  transition: box-shadow var(--ac-dur) var(--ac-curva), transform var(--ac-dur) var(--ac-curva);
}
.ac-carrusel__item > .ac-tarjeta .ac-tarjeta__media { background: linear-gradient(180deg, #fbf8f1, #f3efe4); border-radius: var(--ac-radio-l); }
.ac-carrusel__item > .ac-tarjeta .ac-tarjeta__cuerpo { padding-inline: 0.375rem; }
@media (hover: hover) and (pointer: fine) {
  .ac-carrusel__item > .ac-tarjeta:hover { box-shadow: 0 2px 4px rgb(60 20 20 / 0.06), 0 22px 44px -16px rgb(60 20 20 / 0.28); transform: translateY(-2px); }
}
.ac-carrusel__item { display: flex; }
.ac-carrusel__item > .ac-tarjeta { flex: 1; }
.ac-carrusel__pista { padding-top: 0.25rem; padding-bottom: var(--ac-e-5); }
/* Precio más visible (tipo Apple: cifra grande, etiqueta pequeña) */
.ac-carrusel__item .ac-tarjeta__precio strong { font-size: 1.25rem; letter-spacing: -0.02em; }

/* Tienda: mismas tarjetas con panel desde tableta (en móvil, 2 columnas estrechas, se quedan planas) */
@media (min-width: 40rem) {
  .ac-rejilla__item > .ac-tarjeta {
    padding: 0.625rem 0.625rem 0.875rem; background: #fff;
    border: 1px solid rgb(144 27 34 / 0.08); border-radius: calc(var(--ac-radio-l) + 4px); box-shadow: var(--ac-sombra-tarjeta);
    transition: box-shadow var(--ac-dur) var(--ac-curva);
  }
  .ac-rejilla__item > .ac-tarjeta .ac-tarjeta__media { background: linear-gradient(180deg, #fbf8f1, #f3efe4); }
  .ac-rejilla__item > .ac-tarjeta .ac-tarjeta__cuerpo { padding-inline: 0.375rem; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 40rem) {
  .ac-rejilla__item > .ac-tarjeta:hover { box-shadow: 0 2px 4px rgb(60 20 20 / 0.06), 0 22px 44px -16px rgb(60 20 20 / 0.28); }
}

/* =====================================================================
   B2 · PRODUCTOS DESTACADOS: carrusel en móvil y tableta, rejilla 4 × 2 en escritorio
   ===================================================================== */
.ac-destacados .ac-carrusel__cabeza h2 { font-size: clamp(2.125rem, 1.4rem + 3.4vw, 4.25rem); max-width: 16ch; }
.ac-destacados__pie, .ac-premium__pie { display: flex; justify-content: center; margin-top: var(--ac-e-5); }
@media (min-width: 64rem) {
  .ac-destacados__pista {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto;
    overflow: visible; scroll-snap-type: none; margin-inline: 0; padding-inline: 0;
    gap: clamp(1.25rem, 1.5vw, 1.75rem);
  }
  .ac-destacados .ac-carrusel__controles, .ac-destacados .ac-carrusel__estado { display: none !important; }
}

/* B5 · Para clientes y directivos (2.ª selección, sobre vino) */
.ac-premium .ac-carrusel__cabeza h2 { max-width: 18ch; }

/* =====================================================================
   B1 · HERO cinematográfico (mercado navideño en ciudad antigua + trío real + nieve suave)
   Capas: color de respaldo (#1E2532, el azul del crepúsculo: sin salto mientras carga) → foto (cover) →
   velo de legibilidad → canvas de nieve → contenido. Texto blanco sobre el velo: el titular queda sobre
   ≥ 70 % de negro cálido (≥ 7:1 medido en la zona más clara del cielo).
   ===================================================================== */
.ac-hero--ciudad { background: #1e2532; color: #fff; }
.ac-hero--ciudad .ac-hero__fondo img { object-position: 50% 62%; }
.ac-hero__velo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Vertical: cielo arriba (texto) → velo de arriba hacia abajo; el pie queda claro para la calle nevada */
.ac-hero--ciudad .ac-hero__velo {
  background:
    linear-gradient(180deg, rgb(16 10 14 / 0.80) 0%, rgb(16 10 14 / 0.70) 30%, rgb(16 10 14 / 0.40) 52%, rgb(16 10 14 / 0.06) 72%, rgb(16 10 14 / 0.18) 100%),
    radial-gradient(70% 40% at 50% 92%, rgb(255 196 120 / 0.14), transparent 70%);
}
.ac-hero--ciudad .ac-hero__titulo { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }
.ac-hero--ciudad .ac-hero__acento {
  color: var(--ac-oro-claro);
}
.ac-hero--ciudad .ac-hero__antetitulo { color: var(--ac-oro-claro); }
.ac-hero--ciudad .ac-hero__sub { color: rgb(255 255 255 / 0.9); text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }
.ac-hero--ciudad .ac-hero__checks { color: rgb(255 255 255 / 0.9); }
.ac-hero--ciudad .ac-hero__checks .ac-icono { color: var(--ac-lima); }
.ac-hero--ciudad .ac-hero__ctas .ac-boton--claro { --b-fondo: rgb(255 255 255 / 0.96); --b-borde: transparent; box-shadow: 0 8px 22px -10px rgb(0 0 0 / 0.5); }
.ac-hero--ciudad :focus-visible { outline-color: #fff; }
/* Trío real en primer plano: anclado al suelo nevado, con sombra ambiental y brillo cálido detrás */
.ac-hero--ciudad .ac-hero__foto img { object-position: 50% 100%; filter: none; }
.ac-hero--ciudad .ac-hero__foto::before {
  content: ""; position: absolute; z-index: 0; left: 8%; right: 8%; bottom: -2%; height: 22%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(8 10 18 / 0.55), rgb(8 10 18 / 0.25) 55%, transparent);
}
.ac-hero--ciudad .ac-hero__foto img { z-index: 1; }

/* Sello de Google (REAL: data/resenas_google.json) bajo los botones */
.ac-hero__google { display: flex; justify-content: center; margin: var(--ac-e-4) 0 0; }
.ac-google-sello {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: var(--ac-toque);
  padding: 0.35rem 0.95rem 0.35rem 0.5rem; border-radius: var(--ac-radio-pildora);
  color: #fff; text-decoration: none; font-size: var(--ac-fs-pequeno); font-weight: 600;
  background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.ac-google-sello .ac-google__g { width: 1.75rem; height: 1.75rem; padding: 0.25rem; border-radius: 50%; background: #fff; flex: none; }
.ac-google-sello__nota { display: inline-flex; align-items: center; gap: 0.35rem; }
.ac-google-sello__nota strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; }
.ac-google-sello .ac-google__estrellas svg { width: 0.95rem; height: 0.95rem; }
.ac-google-sello__total { color: rgb(255 255 255 / 0.88); font-weight: 550; }
@media (hover: hover) and (pointer: fine) { .ac-google-sello:hover { background: rgb(255 255 255 / 0.2); } }
.ac-google__estrellas { display: inline-flex; gap: 1px; color: #fbbc05; }

/* Movimiento reducido: sin canvas; velo estático de copos blancos (sobre la foto ya pintada con nieve) */
@media (prefers-reduced-motion: reduce) {
  .ac-hero--ciudad::before {
    opacity: 0.55;
    background-image:
      radial-gradient(circle at 12% 18%, #fff 0 1.6px, transparent 2.6px),
      radial-gradient(circle at 38% 72%, #fff 0 1.2px, transparent 2.2px),
      radial-gradient(circle at 64% 30%, #fff 0 1.8px, transparent 2.8px),
      radial-gradient(circle at 86% 64%, #fff 0 1.2px, transparent 2.2px);
    background-size: 300px 260px;
  }
}

@media (max-width: 39.99rem) {
  .ac-hero__google { margin-top: var(--ac-e-3); }
  .ac-google-sello { font-size: 0.8125rem; gap: 0.4rem; padding-right: 0.75rem; }
}
/* Móvil REAL (Safari/Chrome con sus barras: 390×664, 414×715…): el bloque de texto medía ≈ 450 px y el trío
   quedaba debajo de la barra fija. Texto más compacto (titular en 3 líneas, sin antetítulo en pantallas
   bajas, sello más bajo) para que el trío entre COMPLETO en el primer pantallazo. Medido con
   ~/.hermes/cache/scratch/medir_hero_movil.js (foto entre CTA/sello y la barra fija). */
@media (max-width: 39.99rem) {
  .ac-hero--ciudad .ac-hero__titulo { max-width: 16ch; font-size: clamp(2.125rem, min(10.2vw, 5.4svh), 2.875rem); }
  .ac-hero--ciudad .ac-hero__sub { font-size: 1rem; line-height: 1.36; margin-top: var(--ac-e-2); }
  .ac-hero--ciudad .ac-hero__ctas { margin-top: var(--ac-e-3); }
  .ac-hero--ciudad .ac-hero__google { margin-top: var(--ac-e-2); }
  .ac-hero--ciudad .ac-google-sello { min-height: var(--ac-toque); padding-block: 0.2rem; white-space: nowrap; max-width: 100%; }
  .ac-hero--ciudad .ac-google-sello .ac-google__g { width: 1.5rem; height: 1.5rem; }
  .ac-hero--ciudad .ac-google-sello .ac-google__estrellas svg { width: 0.8rem; height: 0.8rem; }
  .ac-hero--ciudad .ac-hero__grid { gap: var(--ac-e-3); }
  .ac-hero--ciudad .ac-hero__foto { min-height: 9rem; }
}
@media (max-width: 39.99rem) and (max-height: 820px) {
  .ac-hero--ciudad .ac-hero__antetitulo { display: none; }
}
@media (max-width: 39.99rem) and (max-height: 600px) {
  .ac-hero--ciudad .ac-hero__google { display: none; }
}
@media (max-width: 63.99rem) {
  .ac-hero--ciudad .ac-hero__fondo img { object-position: 50% 70%; }
}
/* Escritorio (16:9): texto a la izquierda sobre el cielo → velo lateral; el trío se posa abajo a la derecha */
@media (min-width: 64rem) {
  .ac-hero--ciudad .ac-hero__velo {
    background:
      linear-gradient(90deg, rgb(14 10 16 / 0.86) 0%, rgb(14 10 16 / 0.74) 28%, rgb(14 10 16 / 0.42) 46%, rgb(14 10 16 / 0) 64%),
      linear-gradient(0deg, rgb(14 10 16 / 0.35) 0%, rgb(14 10 16 / 0) 30%),
      radial-gradient(45% 40% at 75% 88%, rgb(255 196 120 / 0.12), transparent 70%);
  }
  .ac-hero--ciudad .ac-hero__fondo img { object-position: 50% 58%; }
  .ac-hero__google { justify-content: flex-start; }
  /* El trío ocupa ≈ 80 % del alto (no todo): deja ver el abeto y las casetas encima */
  .ac-hero--ciudad .ac-hero__foto img { inset: auto 0 0 0; height: 84%; }
  .ac-hero--ciudad .ac-hero__foto::before { bottom: 0; height: 16%; }
}

/* =====================================================================
   B7 · Confianza: franja de Google + reseñas reales en carrusel
   ===================================================================== */
.ac-confianza .ac-garantia { background: var(--ac-crema); border: 1px solid rgb(144 27 34 / 0.07); }
.ac-opiniones { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ac-opiniones .ac-carrusel__cabeza { margin-bottom: var(--ac-e-5); }
.ac-opiniones__titulo { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.ac-google {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--ac-e-3) var(--ac-e-5);
  margin-bottom: var(--ac-e-5); padding: var(--ac-e-5);
  border-radius: calc(var(--ac-radio-l) + 4px); border: 1px solid rgb(144 27 34 / 0.1);
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(201 164 92 / 0.16), transparent 55%),
    linear-gradient(180deg, #fffdf6, var(--ac-crema));
  box-shadow: var(--ac-sombra-tarjeta);
}
.ac-google__marca { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; grid-row: span 2; }
.ac-google__marca .ac-google__g { width: 2.75rem; height: 2.75rem; padding: 0.45rem; border-radius: 50%; background: #fff; box-shadow: var(--ac-sombra-1); }
.ac-google__nota { display: flex; align-items: center; gap: var(--ac-e-3); margin: 0; }
.ac-google__nota strong { font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; color: var(--ac-texto); }
.ac-google__nota .ac-google__estrellas svg { width: clamp(1.25rem, 1rem + 1vw, 1.75rem); height: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.ac-google__total { margin: 0; color: var(--ac-texto-2); font-weight: 550; }
.ac-google__total strong { color: var(--ac-texto); font-weight: 800; }
.ac-google__ver { grid-column: 1 / -1; justify-self: start; --b-fondo: #fff; --b-borde: rgb(41 41 41 / 0.18); }
.ac-google__ver .ac-icono { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .ac-google__ver:hover { --b-fondo: var(--ac-fondo-3); } }
@media (min-width: 48rem) {
  .ac-google { grid-template-columns: auto auto minmax(0, 1fr) auto; padding: var(--ac-e-5) var(--ac-e-6); }
  .ac-google__marca { grid-row: auto; }
  .ac-google__ver { grid-column: auto; justify-self: end; }
}
.ac-opiniones__pista { grid-auto-columns: 86%; }
@media (min-width: 40rem) { .ac-opiniones__pista { grid-auto-columns: calc((100% - 2 * var(--ac-e-5)) / 2.2); } }
@media (min-width: 64rem) { .ac-opiniones__pista { grid-auto-columns: calc((100% - 3 * var(--ac-e-5)) / 3.3); } }
.ac-opinion {
  display: flex; flex-direction: column; gap: var(--ac-e-3); height: 100%; margin: 0; padding: var(--ac-e-5);
  background: #fff; border: 1px solid rgb(41 41 41 / 0.08); border-radius: calc(var(--ac-radio-l) + 4px);
  box-shadow: var(--ac-sombra-tarjeta);
}
.ac-opiniones .ac-carrusel__item { display: flex; }
.ac-opiniones .ac-carrusel__item > .ac-opinion { flex: 1; }
.ac-opinion__cabeza { display: flex; align-items: center; gap: var(--ac-e-3); }
.ac-opinion__inicial {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  font-weight: 800; font-size: 1.125rem; color: #fff;
  background: linear-gradient(160deg, var(--ac-accion), var(--ac-marca));
}
.ac-carrusel__item:nth-child(3n + 2) .ac-opinion__inicial { background: linear-gradient(160deg, #8ea345, var(--ac-verde-texto)); }
.ac-carrusel__item:nth-child(3n + 3) .ac-opinion__inicial { background: linear-gradient(160deg, #b38a3e, #7a5a1f); }
.ac-opinion__autor { display: grid; min-width: 0; line-height: 1.3; }
.ac-opinion__autor strong { font-weight: 700; overflow-wrap: anywhere; }
.ac-opinion__autor span { color: var(--ac-texto-3); font-size: var(--ac-fs-mini); }
.ac-opinion__cabeza .ac-google__g { margin-left: auto; width: 1.375rem; height: 1.375rem; flex: none; }
.ac-opinion__estrellas { margin: 0; display: flex; }
.ac-opinion__texto { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; color: var(--ac-texto); }
.ac-opinion__texto p { margin: 0; }
.ac-opinion__texto p + p { margin-top: 0.35rem; }

/* =====================================================================
   Tienda y ficha: cabecera crema con estrellas (banda a sangre) y titular grande
   ===================================================================== */
[data-pagina="tienda"] main > .ac-contenedor:first-child {
  /* banda a todo el ancho sin cambiar el marcado (sombra + recorte) */
  background-color: var(--ac-crema);
  box-shadow: 0 0 0 100vmax var(--ac-crema);
  clip-path: inset(0 -100vmax);
}
[data-pagina="tienda"] main { background: linear-gradient(180deg, var(--ac-crema) 0, var(--ac-crema) 1px, #fff 1px); }
.ac-tienda__cabeza h1 { font-weight: 800; letter-spacing: -0.04em; }
.ac-tienda__cabeza h1::after {
  content: ""; display: block; width: 6.5rem; height: 14px; margin-top: 0.75rem;
  background:
    var(--ac-orn-estrella) center / 14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--ac-oro) 22%, var(--ac-oro) 38%, transparent 42%, transparent 58%, var(--ac-oro) 62%, var(--ac-oro) 78%, transparent) center / 100% 1px no-repeat;
}
.ac-tienda__cabeza { padding-bottom: var(--ac-e-6); }
[data-pagina="producto"] .ac-seccion--gris, [data-pagina="tienda"] .ac-seccion--gris {
  background-color: var(--ac-crema);
  background-image: var(--ac-orn-estrellas-suaves);
  background-size: 360px 300px;
}

/* =====================================================================
   Pie de página: vino profundo con abetos y filete de oro (todas las páginas)
   ===================================================================== */
.ac-footer {
  position: relative; isolation: isolate; overflow: hidden;
  border-top: 0; color: var(--ac-sobre-vino-2);
  background-color: #4a0d12;
  background-image: var(--ac-orn-estrellas), radial-gradient(90% 120% at 100% 0%, rgb(201 164 92 / 0.16), transparent 55%), linear-gradient(180deg, #5c1016, #3d0a0f);
  background-size: 360px 300px, auto, auto;
  box-shadow: inset 0 3px 0 var(--ac-oro);
}
.ac-footer::after {
  content: ""; position: absolute; left: 0; right: 0; top: 3px; z-index: -1; pointer-events: none; height: 3.5rem; opacity: 0.6;
  background: var(--ac-orn-arboles) left top / auto 100% repeat-x; transform: scaleY(-1);
}
.ac-footer h2 { color: var(--ac-oro-claro); }
.ac-footer a { color: var(--ac-sobre-vino-2); }
@media (hover: hover) and (pointer: fine) { .ac-footer a:hover { color: #fff; } }
.ac-footer :focus-visible { outline-color: #fff; }
.ac-footer .ac-logo span, .ac-footer .ac-logo span small { color: var(--ac-sobre-vino); }
.ac-footer .ac-logo__img { background: #fff; border-radius: 0.75rem; padding: 0.25rem 0.4rem; box-sizing: content-box; }
.ac-footer__legal { border-top-color: rgb(230 207 152 / 0.25); }

/* =====================================================================
   WhatsApp flotante (solo escritorio ≥ 1024 px; en móvil está en la barra inferior)
   ===================================================================== */
.ac-wa-flotante { display: none; }
@media (min-width: 64rem) {
  .ac-wa-flotante {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: calc(var(--ac-z-barra) - 1);
    display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%;
    color: #fff; background: #25d366;
    background-image: linear-gradient(180deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0) 60%);
    box-shadow: 0 10px 28px -8px rgb(18 140 70 / 0.65), 0 2px 6px rgb(0 0 0 / 0.18);
    transition: transform var(--ac-dur) var(--ac-curva), opacity var(--ac-dur), box-shadow var(--ac-dur);
  }
  .ac-wa-flotante .ac-icono { width: 2rem; height: 2rem; }
  .ac-wa-flotante:active { transform: scale(0.94); }
  .ac-wa-flotante:focus-visible { outline: 3px solid var(--ac-oscuro); outline-offset: 3px; }
  .ac-wa-flotante__etiqueta {
    position: absolute; right: calc(100% + 0.75rem); top: 50%; translate: 0 -50%;
    padding: 0.5rem 0.85rem; border-radius: var(--ac-radio-pildora); white-space: nowrap;
    font-size: var(--ac-fs-pequeno); font-weight: 650; color: #fff; background: rgb(29 29 31 / 0.92);
    box-shadow: var(--ac-sombra-2);
    opacity: 0; visibility: hidden; transform: translateX(6px);
    transition: opacity var(--ac-dur) var(--ac-curva), transform var(--ac-dur) var(--ac-curva), visibility var(--ac-dur);
  }
  .ac-wa-flotante:is(:hover, :focus-visible) .ac-wa-flotante__etiqueta { opacity: 1; visibility: visible; transform: none; }
  @media (hover: hover) and (pointer: fine) { .ac-wa-flotante:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgb(18 140 70 / 0.75), 0 2px 6px rgb(0 0 0 / 0.18); } }
  /* El aviso «Agregada» (abajo a la derecha) manda: el botón se aparta mientras está visible */
  body:has(.ac-toast:not([data-estado="oculto"])) .ac-wa-flotante { opacity: 0; pointer-events: none; transform: translateY(12px); }
  /* Que no tape el texto legal del pie ni el final de la página */
  .ac-footer__legal { padding-right: 5.5rem; }
}
/* 1024–1439 px: el contenedor deja solo 40 px de margen a la derecha. Un círculo de 60 px taparía precios y
   tarjetas, así que el botón se vuelve una pestaña pegada al borde (40 px de ancho) que cabe en ese margen. */
@media (min-width: 64rem) and (max-width: 89.99rem) {
  .ac-wa-flotante { right: 0; bottom: 6rem; width: 2.5rem; height: 3.5rem; border-radius: 1rem 0 0 1rem; }
  .ac-wa-flotante .ac-icono { width: 1.5rem; height: 1.5rem; }
  @media (hover: hover) and (pointer: fine) { .ac-wa-flotante:hover { transform: translateX(-2px); } }
  .ac-wa-flotante:focus-visible { outline-offset: -3px; outline-color: #fff; }
}
@media (min-width: 90rem) { .ac-wa-flotante { right: 1rem; } }
@media print { .ac-wa-flotante { display: none !important; } }

/* =====================================================================
   Preferencias del sistema
   ===================================================================== */
@media (prefers-reduced-transparency: reduce) {
  .ac-google-sello { background: rgb(20 14 18 / 0.85); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .ac-hero--ciudad .ac-hero__velo { background: rgb(10 8 12 / 0.82); }
  .ac-seccion--vino, .ac-footer { background: #5c1016; }
}

/* Pantallas muy angostas (≤ 360 px): el sello cabe en una línea con texto más corto */
@media (max-width: 22.5rem) {
  .ac-hero--ciudad .ac-google-sello { font-size: 0.75rem; gap: 0.3rem; padding-inline: 0.35rem 0.6rem; }
}

/* =====================================================================
   FASE FINAL (2-nov-2026 tarde, pedido del dueño)
   1) HERO: más aire para el texto (columna izquierda más ancha), trío algo más pequeño y un tratamiento
      de contraste detrás del trío para despegarlo del fondo de la ciudad.
   ===================================================================== */
@media (min-width: 64rem) {
  .ac-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .ac-hero__titulo { max-width: 13ch; }
  .ac-hero__sub { max-width: 34rem; }
  /* La foto ya no se estira hasta el borde: queda dentro de la columna, centrada en su luz */
  .ac-hero__foto { margin-right: 0; }
  .ac-hero--ciudad .ac-hero__foto img { inset: auto 2% 4% 2%; width: 96%; height: 74%; }
  .ac-hero--ciudad .ac-hero__velo {
    background:
      linear-gradient(90deg, rgb(14 10 16 / 0.88) 0%, rgb(14 10 16 / 0.78) 34%, rgb(14 10 16 / 0.5) 52%, rgb(14 10 16 / 0.2) 68%, rgb(14 10 16 / 0.28) 100%),
      linear-gradient(0deg, rgb(14 10 16 / 0.38) 0%, rgb(14 10 16 / 0) 30%);
  }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .ac-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
@media (min-width: 100rem) {
  .ac-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
/* Móvil/tableta: el trío ocupa ≈ 86 % del ancho (antes 100 %), más pequeño pero entero */
@media (max-width: 63.99rem) {
  .ac-hero--ciudad .ac-hero__foto img { inset: 2% 7% 0; width: 86%; height: 98%; }
}

/* Tratamiento detrás del trío (elegido con capturas: «desvanecido + silueta»; alternativas probadas —halo cálido,
   solo silueta, desvanecido + sombra oscura— en qa/capturas/final-portada/variantes/hoja-*.jpg).
   Capas en la figura: ::before (sombra de contacto) → ::after (DESVANECIDO) → img (SILUETA).
   - Desvanecido: el fondo de la ciudad detrás del trío se desenfoca y oscurece en un óvalo SIN bordes (máscara
     radial que termina en transparente): profundidad de campo de foto de producto; las luces dejan de competir.
   - Silueta: filete cálido de 0,5 px sobre el PNG con alfa + resplandor dorado tenue + sombra de suelo. */
.ac-hero--ciudad .ac-hero__foto img {
  z-index: 2;
  filter: drop-shadow(0 0 0.5px rgb(255 236 200 / 0.95)) drop-shadow(0 0 10px rgb(230 190 120 / 0.45)) drop-shadow(0 24px 30px rgb(0 0 0 / 0.5));
}
.ac-hero--ciudad .ac-hero__foto::after {
  content: ""; position: absolute; z-index: 1; inset: -8% -14% -6%; pointer-events: none;
  -webkit-backdrop-filter: blur(7px) brightness(0.62) saturate(0.9); backdrop-filter: blur(7px) brightness(0.62) saturate(0.9);
  -webkit-mask-image: radial-gradient(50% 50% at 50% 56%, #000 45%, rgb(0 0 0 / 0.6) 66%, transparent 100%);
  mask-image: radial-gradient(50% 50% at 50% 56%, #000 45%, rgb(0 0 0 / 0.6) 66%, transparent 100%);
}
.ac-hero--ciudad .ac-hero__foto::before { z-index: 1; }
/* Sin backdrop-filter (navegadores viejos) o con transparencia reducida: el mismo óvalo como velo oscuro liso */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ac-hero--ciudad .ac-hero__foto::after { background: radial-gradient(50% 50% at 50% 56%, rgb(10 8 14 / 0.42) 40%, transparent 100%); -webkit-mask-image: none; mask-image: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .ac-hero--ciudad .ac-hero__foto::after { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(10 8 14 / 0.5); }
}

/* ---------- HERO de categoría / filtro rápido (tienda y /product-category/<cat>/) ----------
   Panel crema con filete dorado y luz cálida; texto a la izquierda y 1-2 fotos REALES del catálogo (fondo blanco)
   en tarjetas redondeadas. Escritorio ≈ 300-340 px; móvil compacto (foto pequeña junto al título). */
.ac-cat-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: var(--ac-e-4); align-items: center;
  margin-top: var(--ac-e-3);
  padding: var(--ac-e-5) var(--ac-e-5) var(--ac-e-5);
  border-radius: var(--ac-radio-l);
  background:
    radial-gradient(60% 90% at 88% 50%, rgb(201 164 92 / 0.22), transparent 70%),
    radial-gradient(70% 120% at 0% 0%, #fff 0%, transparent 60%),
    linear-gradient(135deg, #fffdf7 0%, var(--ac-crema, #fcf8ec) 55%, #f6ecd4 100%);
  box-shadow: inset 0 0 0 1px rgb(201 164 92 / 0.45), 0 18px 40px -28px rgb(80 20 20 / 0.35);
}
.ac-cat-hero::before { /* veta vino muy sutil a la izquierda: ancla la marca sin restar contraste */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; z-index: -1;
  background: linear-gradient(180deg, var(--ac-oro-claro), var(--ac-oro) 50%, #901b22);
}
.ac-cat-hero__texto { min-width: 0; }
.ac-cat-hero .ac-cat-hero__ante { margin-bottom: var(--ac-e-2); color: #7a1219; }
.ac-cat-hero .ac-cat-hero__ante .ac-icono { color: #8a6a2a; width: 1.1rem; height: 1.1rem; }
.ac-tienda__cabeza .ac-cat-hero__titulo {
  margin: 0; max-width: 22ch;
  font-size: clamp(1.625rem, 1.05rem + 2.1vw, 3rem); line-height: 1.04; letter-spacing: -0.032em; font-weight: 800;
  color: #4a0c11; text-wrap: balance;
}
.ac-cat-hero__desc {
  margin: var(--ac-e-3) 0 0; max-width: 60ch;
  font-size: clamp(0.9375rem, 0.88rem + 0.3vw, 1.125rem); line-height: 1.45; font-weight: 500; color: #4b4040;
}
.ac-cat-hero__datos {
  list-style: none; margin: var(--ac-e-3) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; font-size: var(--ac-fs-pequeno); color: #3d3333;
}
.ac-cat-hero__datos li {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.7rem;
  border-radius: var(--ac-radio-pildora); background: rgb(255 255 255 / 0.85); box-shadow: inset 0 0 0 1px rgb(201 164 92 / 0.5);
}
.ac-cat-hero__datos strong { color: #7a1219; font-weight: 800; }
.ac-cat-hero__ctas { margin-top: var(--ac-e-4); display: flex; flex-wrap: wrap; gap: var(--ac-e-2); align-items: center; }
.ac-cat-hero__ctas .ac-boton { min-height: 2.875rem; }
.ac-cat-hero__ver { --b-texto: #7a1219; }
.ac-cat-hero__ver .ac-icono { width: 1rem; height: 1rem; }

.ac-cat-hero__foto { position: relative; margin: 0; }
.ac-cat-hero__img {
  display: block; object-fit: cover; background: #fff;
  border-radius: calc(var(--ac-radio-l) - 4px);
  box-shadow: 0 0 0 1px rgb(201 164 92 / 0.55), 0 0 0 6px rgb(255 255 255 / 0.9), 0 22px 38px -18px rgb(74 12 17 / 0.45);
}
.ac-cat-hero__img--2 { position: absolute; }

/* Móvil y tableta vertical: foto pequeña arriba a la derecha (junto al antetítulo y el título); CTA en una fila */
@media (max-width: 63.99rem) {
  .ac-cat-hero { display: block; padding: var(--ac-e-4) var(--ac-e-4) var(--ac-e-4) calc(var(--ac-e-4) + 2px); }
  .ac-cat-hero__foto { position: absolute; top: var(--ac-e-4); right: var(--ac-e-4); width: clamp(5.25rem, 21vw, 9rem); }
  .ac-cat-hero .ac-cat-hero__ante, .ac-tienda__cabeza .ac-cat-hero__titulo { padding-right: calc(clamp(5.25rem, 21vw, 9rem) + var(--ac-e-3)); }
  .ac-cat-hero__img--1 { width: 100%; height: auto; aspect-ratio: 1; }
  .ac-cat-hero__img--1 { box-shadow: 0 0 0 1px rgb(201 164 92 / 0.55), 0 0 0 4px rgb(255 255 255 / 0.9), 0 12px 22px -12px rgb(74 12 17 / 0.45); }
  .ac-cat-hero__img--2 { display: none; }
  .ac-cat-hero__datos li:last-child { display: none; }
}
@media (min-width: 30rem) and (max-width: 63.99rem) { /* 480-1023 px: la descripción tampoco pasa bajo la foto */
  .ac-cat-hero__desc { padding-right: calc(clamp(5.25rem, 21vw, 9rem) + var(--ac-e-3)); }
}
@media (max-width: 47.99rem) {
  .ac-cat-hero { margin-top: var(--ac-e-2); }
  .ac-tienda__cabeza .ac-cat-hero__titulo { font-size: clamp(1.5rem, 1rem + 2.6vw, 2rem); }
  .ac-tienda__cabeza .ac-cat-hero__titulo::after { display: none; }
  .ac-cat-hero__desc { font-size: 0.875rem; line-height: 1.4; margin-top: var(--ac-e-2); }
  .ac-cat-hero__datos { margin-top: var(--ac-e-2); font-size: 0.8125rem; }
  .ac-cat-hero__datos li { padding: 0.2rem 0.55rem; }
  .ac-cat-hero__ctas { margin-top: var(--ac-e-3); flex-wrap: nowrap; }
  .ac-cat-hero__ctas .ac-boton { min-height: 2.75rem; padding-inline: 0.9rem; font-size: 0.9375rem; }
  .ac-cat-hero__ctas .ac-boton--accion { flex: 1 1 auto; }
  .ac-cat-hero__ver { display: none !important; } /* en móvil la rejilla asoma justo debajo */
}
@media (max-width: 24.4rem) { /* 360-390 px: WhatsApp solo con ícono (el nombre accesible sigue completo) */
  .ac-cat-hero__wa { display: none; } /* el enlace conserva aria-label «WhatsApp con un asesor» */
  .ac-cat-hero__ctas .ac-boton--wa { width: 2.75rem; padding-inline: 0; flex: none; }
}
[data-pagina="tienda"] .ac-tienda__cabeza:has(.ac-cat-hero) { padding-bottom: var(--ac-e-4); }
/* Escritorio: texto ancho + composición de 2 fotos (principal + secundaria superpuesta). ≈ 300-340 px de alto */
@media (min-width: 64rem) {
  .ac-cat-hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--ac-e-6); padding: var(--ac-e-5) var(--ac-e-6) var(--ac-e-5) var(--ac-e-7, 3rem); }
  .ac-tienda__cabeza .ac-cat-hero__titulo::after { margin-block: 0.6rem 0.2rem; }
  .ac-cat-hero__foto { justify-self: center; width: min(100%, 16rem); }
  .ac-cat-hero__img--1 { width: 100%; height: auto; aspect-ratio: 1; }
  .ac-cat-hero__img--2 { width: 40%; height: auto; aspect-ratio: 1; left: -24%; bottom: -4%; }
}

/* ---------- Cómo funciona sobre vino: tarjetas crema SÓLIDAS (pedido del dueño: los pasos en vidrio transparente
   no se apreciaban sobre el rojo). Fondo crema opaco, filete dorado fino, número grande en vino. ---------- */
.ac-seccion--vino .ac-paso {
  position: relative;
  background: linear-gradient(180deg, #fffdf6 0%, #fbf3e0 100%);
  border: 1px solid rgb(201 164 92 / 0.85);
  box-shadow: 0 0 0 4px rgb(255 248 230 / 0.08), 0 18px 36px -18px rgb(0 0 0 / 0.55);
  color: #2b2222;
}
.ac-seccion--vino .ac-paso h3 { color: #4a0c11; }
.ac-seccion--vino .ac-paso p { color: #4b4040; }
.ac-seccion--vino .ac-paso__tiempo { color: #4f5f22 !important; } /* lima oscuro: 6,4:1 sobre crema */
.ac-seccion--vino .ac-paso__tiempo .ac-icono { color: #5b6d27; }
.ac-seccion--vino .ac-paso__num {
  width: 2.25rem; height: 2.25rem; font-size: 1.125rem; font-weight: 800;
  background: linear-gradient(180deg, #a3242c, #7a1219); color: #fff;
  box-shadow: 0 0 0 2px #fffdf6, 0 0 0 3px rgb(201 164 92 / 0.9);
}

/* Deslizable «Vino, whisky y presentaciones de lujo» ahora es B2: en móvil se desliza con el dedo (como «Más vendidas»);
   las flechas sobraban y en 320 px empujaban la página a lo ancho */
.ac-carrusel__cabeza > div:first-child { min-width: 0; }
@media (max-width: 47.99rem) { .ac-premium .ac-carrusel__controles { display: none !important; } }

/* ---------- Ajustes de la validación drástica (integración final) ---------- */
/* M4: el selector «Ordenar» a 16 px (iOS hace zoom con < 16 px) */
.ac-select { font-size: 1rem; }
/* Botón «Buscar» del buscador de la tienda: objetivo de toque de 44 px */
.ac-buscador__enviar { min-height: var(--ac-toque); }
/* M7: pie del menú móvil — «Cotizar» ocupa el resto; WhatsApp con su nombre visible desde 360 px y, en 320-359 px,
   botón cuadrado de 44 px solo con el ícono (el nombre «Hablar con un asesor por WhatsApp» sigue en .ac-sr).
   Antes el texto «WhatsApp» se salía del cuadrado y el menú se desplazaba 16 px a lo ancho. */
.ac-menu-movil__pie { grid-template-columns: minmax(0, 1fr) auto; }
.ac-menu-movil__pie .ac-boton { min-width: 0; }
@media (max-width: 22.49rem) {
  .ac-menu-movil__pie .ac-boton--wa { width: var(--ac-toque); min-width: var(--ac-toque); padding-inline: 0; justify-content: center; }
  .ac-menu-movil__wa { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Objetivos de toque ≥ 44 px SIN cambiar el aspecto (pulido final) ----------
   Enlaces de texto y píldoras pequeñas: el área tocable crece con un ::before transparente centrado en el
   control (mín. 44 × 44 px); la caja visible, el texto y el ritmo de la página quedan igual.
   top/left con % se resuelven contra la propia caja (position: relative): min(0, 50 % − 22 px) solo amplía
   cuando el lado es menor de 44 px. qa/drastico/movil.js mide esta área ampliada (no solo la caja). */
:is(.ac-footer a, .ac-migas a, .ac-ficha-cats a, .ac-cq__asesor a, .ac-aplicado, .ac-clave__mas a, .ac-legal__datos a, .ac-header__cta, .ac-cq__pasos button) {
  position: relative;
}
:is(.ac-footer a, .ac-migas a, .ac-ficha-cats a, .ac-cq__asesor a, .ac-aplicado, .ac-clave__mas a, .ac-legal__datos a, .ac-header__cta, .ac-cq__pasos button)::before {
  content: ""; position: absolute;
  top: min(0px, calc(50% - 1.375rem)); bottom: min(0px, calc(50% - 1.375rem));
  left: min(0px, calc(50% - 1.375rem)); right: min(0px, calc(50% - 1.375rem));
}
/* Pasos de /cotizar/ en móvil: la franja tocable baja hasta 44 px por debajo de la barra (sin mover el contenido) */
@media (max-width: 39.99rem) {
  .ac-cq__pasos button::before { top: 0; bottom: auto; height: var(--ac-toque); }
}
/* Pestaña de WhatsApp de 40 px pegada al borde (1024-1439 px): el área tocable se amplía 4 px hacia dentro */
@media (min-width: 64rem) and (max-width: 89.99rem) {
  .ac-wa-flotante::before { content: ""; position: absolute; inset: 0 0 0 -0.25rem; }
}
/* Buscador de «Escoger anchetas» (/cotizar/): el campo ocupa toda la altura de su píldora de 48 px */
.ac-cq__buscar input { align-self: stretch; }
/* Menú móvil a 320 px: el logo cede ancho y el botón «Cerrar» conserva sus 44 × 44 px */
.ac-menu-movil__cabeza > .ac-logo { min-width: 0; flex: 0 1 auto; }
.ac-menu-movil__cabeza > [data-cerrar-dialogo] { flex: none; }
/* «Volver a mis opciones / anchetas» en /cotizar/: 44 px de toque (validación drástica, bajo) */
.ac-cq__volver { min-height: var(--ac-toque); }

/* =====================================================================
   HERO v5 (3-nov, pedido del dueño): fondo LIMPIO, trío MÁS GRANDE y con contorno que se note, y en móvil
   sin espacio muerto entre los botones y el trío.
   - Velo solo donde hay texto (franja lateral corta en escritorio; franja superior en móvil): la ciudad se
     ve nítida en el resto. Se quita el óvalo desenfocado/oscurecido detrás del trío (apagaba el fondo).
   - Detrás del trío: luz cálida (halo dorado suave) en vez de sombra → el trío se despega por luz, no por
     oscurecer la foto.
   - Contorno: filete crema de ~2 px (dos drop-shadow de 1 px) + resplandor dorado + sombra de contacto.
   - Móvil: el sello de Google pasa DEBAJO del trío y la figura se pega a los botones; la imagen se ancla
     arriba (sin franja vacía) y ocupa todo el ancho.
   Medido con ~/.hermes/cache/scratch/cap_hero3.js (cajas) y contraste del texto sobre el fondo real.
   ===================================================================== */
.ac-hero--ciudad .ac-hero__foto::after {
  inset: 4% 2% 2%; -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none;
  background: radial-gradient(48% 46% at 50% 58%, rgb(255 214 150 / 0.30), rgb(255 190 110 / 0.12) 55%, transparent 76%);
}
/* El filete de luz y el resplandor vienen horneados en hero-trio-luz-* (scripts/preparar_trio_noche.py
   --contorno): solo la silueta exterior, sin perfilar la sombra; sin filtros CSS (no cuestan LCP). */
.ac-hero--ciudad .ac-hero__foto img { filter: none; }
.ac-hero--ciudad .ac-hero__foto::before { left: 6%; right: 6%; height: 14%; background: radial-gradient(closest-side, rgb(6 8 14 / 0.6), rgb(6 8 14 / 0.22) 60%, transparent); }

@media (min-width: 64rem) {
  .ac-hero--ciudad .ac-hero__velo {
    background:
      linear-gradient(90deg, rgb(14 10 16 / 0.80) 0%, rgb(14 10 16 / 0.62) 30%, rgb(14 10 16 / 0.22) 47%, rgb(14 10 16 / 0) 58%),
      linear-gradient(0deg, rgb(14 10 16 / 0.30) 0%, rgb(14 10 16 / 0) 22%);
  }
  .ac-hero__grid, .ac-hero--ciudad .ac-hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  /* El trío es el protagonista: desborda su columna (hacia la derecha y abajo) en vez de encogerse */
  .ac-hero--ciudad .ac-hero__foto img { inset: auto -10% -2% -4%; width: 114%; height: 104%; object-position: 50% 100%; }
  .ac-hero--ciudad .ac-hero__foto::before { bottom: 0; height: 12%; }
}
@media (max-width: 63.99rem) {
  .ac-hero--ciudad .ac-hero__velo {
    background:
      linear-gradient(180deg, rgb(16 10 14 / 0.74) 0%, rgb(16 10 14 / 0.62) 34%, rgb(16 10 14 / 0.30) 52%, rgb(16 10 14 / 0) 66%);
  }
  /* El trío va justo después de los botones; el sello baja debajo del trío */
  .ac-hero--ciudad .ac-hero__grid { gap: var(--ac-e-2); }
  .ac-hero--ciudad .ac-hero__texto { display: contents; }
  .ac-hero--ciudad .ac-hero__grid > * , .ac-hero--ciudad .ac-hero__texto > * { order: 0; }
  .ac-hero--ciudad .ac-hero__foto { order: 1; margin-inline: calc(-1 * var(--ac-margen)); width: auto; }
  .ac-hero--ciudad .ac-hero__google { order: 2; margin-top: 0; }
  .ac-hero--ciudad .ac-hero__checks { order: 3; }
  .ac-hero--ciudad .ac-hero__foto img { inset: 0; width: 100%; height: 100%; object-position: 50% 50%; }
}
@media (max-width: 63.99rem) {
  /* El trío toma el alto libre hasta la barra fija, sin pasar de su proporción real a todo el ancho
     (1440×1149 → alto = ancho / 1,253): así no hay franjas vacías arriba ni abajo. En pantallas altas el
     sello de Google cabe en el primer pantallazo, justo debajo del trío. */
  .ac-hero--ciudad .ac-hero__foto { flex: 1 1 0; min-height: 13rem; max-height: min(calc(100vw / 1.253), 34rem); }
}
/* Pantallas bajas (≤ 780 px de alto útil): prioridad al trío; el sello queda justo bajo el pliegue */
@media (max-width: 63.99rem) and (max-height: 780px) {
  .ac-hero--ciudad .ac-hero__grid {
    min-height: calc(100svh - var(--ac-alto-header) - var(--ac-alto-barra) - env(safe-area-inset-bottom) - 2 * clamp(1.25rem, 0.5rem + 2.5vw, 2rem) + var(--ac-toque) + var(--ac-e-2) + 1rem);
  }
}

/* Crédito del desarrollador (3-nov, pedido del dueño): discreto, legible y con área táctil suficiente */
.ac-footer__credito a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; display: inline-block; padding-block: 0.6rem; }
.ac-footer__credito a:hover, .ac-footer__credito a:focus-visible { color: var(--ac-oro, #e6cf98); }
