/*
Theme Name:   Heritails
Theme URI:    https://heritails.com
Description:  Tema hijo de Astra para Heritails. Es el sistema visual del original, portado tal cual: mismos colores, misma tipografía, mismas medidas. Lo único que cambia es el contenido.
Author:       First Day Studio LLC
Template:     astra
Version:      0.2.0
Text Domain:  heritails
*/

/* ════════════════════════════════════════════════════════════════════
   LOS TOKENS — SON LOS DEL ORIGINAL, VALOR POR VALOR
   ════════════════════════════════════════════════════════════════════

   🔴 ESTO REEMPLAZA UNA PALETA Y UNA TIPOGRAFÍA QUE YO HABÍA ELEGIDO, y el
   cambio es una decisión explícita del owner: «usá los mismos fondos, mismos
   colores, tipografía, todo igual que el original; no debés crear nada, sino
   agarrar lo que ya está creado».

   Yo había armado un sistema propio —Jost, Source Sans 3, Spectral, y la
   paleta sacada de la tapa del pack— y es exactamente lo que no había que
   hacer. Lo de acá sale de
   C:\dev\el originalWeb\wp-content\themes\el original\style.css, copiado
   valor por valor, no «parecido».

   ⚠️ Antes de cambiar cualquiera de estos números: no son preferencias, son el
   sistema de una página que vende. Si algún día la marca se separa
   visualmente, se separa entera y a propósito, no token por token.

   📌 La paleta del pack impreso —navy #1c2b45, papel #f3ecda, latón #a07b33—
   queda SÓLO para el PDF, que es otro sistema. Están cerca igual: el navy
   difiere en poco y el crema casi no se distingue.
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* 🔴 LA BARRA DE SCROLL SALÍA NEGRA EN LAS MÁQUINAS EN MODO OSCURO.
     Sin un color-scheme declarado, el navegador pinta la barra de scroll, los
     <select> y el calendario de los campos de fecha según la preferencia del
     SISTEMA. Este sitio no tiene tema oscuro: toda la paleta está pensada en
     claro, así que decirlo es lo correcto, no una preferencia.

     ⚠️ VA ACÁ Y TAMBIÉN COMO <meta> EN functions.php, y hacen falta los dos.
     El meta cubre el instante ANTES de que el CSS cargue —si no, la barra
     parpadea de negra a blanca— y esta regla es la que el navegador computa
     de verdad: medido, con el meta solo, getComputedStyle seguía devolviendo
     `normal` en las ocho páginas.

     ⚠️ En una máquina en modo claro este defecto NO SE VE. Por eso sobrevivió
     tanto: todas las pruebas lo daban por bueno. */
  color-scheme: light;

  /* Color — los del original */
  --htl-navy: #112b3d;
  --htl-navy-rgb: 17, 43, 61;
  --htl-cream: #f2ece3;
  --htl-cream-rgb: 242, 236, 227;
  --htl-white: #ffffff;
  --htl-text: #121212;
  --htl-text-soft: #54595f;
  --htl-gold: #c9a84c;          /* decorativo: filetes, iconos, detalles */
  --htl-red: #bd1700;           /* el tachado del precio de referencia */
  --htl-border-soft: rgba(17, 43, 61, 0.1);

  /* Tipografía — Cardo en titulares, Besley en cuerpo, Montserrat en interfaz */
  --htl-font-heading: "Bricolage Grotesque", "Rethink Sans", system-ui, sans-serif;
  --htl-font-body: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --htl-font-ui: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Maqueta */
  --htl-container-width: 1500px;
  --htl-container-padding: 24px;

  --htl-button-radius: 0px;
  --htl-input-radius: 4px;
  --htl-pill-radius: 40px;
  --htl-card-radius: 0px;

  --htl-section-padding: 80px;
  --htl-section-padding-mobile: 48px;
}

/* ════════════════════════════════════════════════════════════════════
   LA BASE
   ════════════════════════════════════════════════════════════════════ */

/* 🔴 ESTA LÍNEA FALTABA, Y POR ESO LA X DEL MENÚ NO CERRABA.

   El original la tiene y acá no estaba. Medido con el cajón abierto, en los
   dos sitios:

                      el original        acá
     html overflow    clip               visible
     body overflow    clip               hidden

   Con el cajón abierto el body pasa a `position: fixed` (el bloqueo de
   scroll). Sin el recorte declarado en <html>, en ese estado el header deja
   de ser alcanzable por el puntero: su caja sigue en [0,0,1440,71] y se ve,
   pero `elementsFromPoint` sobre el centro del botón devolvía sólo body y
   html. O sea que la X se dibujaba perfecta y el clic no llegaba a ninguna
   parte. Allá, con el recorte puesto, el mismo punto devuelve el botón.

   ⚠️ `clip`, NUNCA `hidden`: `hidden` convierte al elemento en contenedor de
   scroll y rompe cualquier `position: sticky` de adentro.

   ⚠️ El síntoma no se parecía en nada a la causa. Lo que lo encontró fue
   comparar propiedad por propiedad html y body de los dos sitios, con el
   cajón abierto — no leer el JavaScript, que es idéntico al del original. */
html, body { overflow-x: clip; max-width: 100vw; }

body {
  background: var(--htl-white);
  color: var(--htl-text);
  font-family: var(--htl-font-body);
  font-size: 21px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title {
  font-family: var(--htl-font-heading);
  font-weight: 400;
  color: var(--htl-navy);
  line-height: 1.12;
  text-wrap: balance;
}

a { color: inherit; }

/* El foco de teclado se ve siempre: es lo único que tiene quien no usa mouse. */
:focus-visible {
  outline: 2px solid var(--htl-gold);
  outline-offset: 2px;
}

/* ⚠️ MOVIMIENTO REDUCIDO: SE ATENÚA, NO SE APAGA.
   El comodín de siempre —`* { animation-duration: .01ms !important }`— deja
   los `delay` intactos, así que todo aparece de golpe unos segundos después
   (le pasó a el original en un embudo), y apagar las animaciones deja
   secciones quietas o vacías que se leen como una página rota.
   La amplitud se recorta donde cada animación se define. Acá queda sólo lo que
   sí corresponde apagar: el scroll suave, que no revela nada. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EL TEXTO SELECCIONADO, COMO EN CUALQUIER OTRA PÁGINA   (2026-11-03)
   ═══════════════════════════════════════════════════════════════════════════
   Astra pinta la selección con el color 0 de su paleta global:

     ::selection { background-color: var(--ast-global-color-0); color: #fff }

   En esta paleta ese color es el DORADO, así que copiar un párrafo dejaba la
   pantalla con bloques dorados y texto blanco encima — ilegible mientras se
   arrastra. El sitio original trae la MISMA regla de Astra; lo que cambia es
   el color de su paleta, por eso allá no molesta.

   Se vuelve al resaltado del sistema. `Highlight` y `HighlightText` son los
   colores del sistema operativo: los mismos que el visitante ve en cualquier
   otra página, que es lo que pidió el owner.

   ⚠️ Van las dos: Firefox viejo sólo entiende ::-moz-selection, y si las dos
   fueran una sola lista separada por coma, el navegador que no entiende una
   descarta la regla ENTERA.
   ═══════════════════════════════════════════════════════════════════════════ */
::selection {
  background-color: Highlight;
  color: HighlightText;
}
::-moz-selection {
  background-color: Highlight;
  color: HighlightText;
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · header, hamburguesa y cajón del menú
   ════════════════════════════════════════════════════════════════════ */

/* ▸ style.css L2455 */
/* Logo link: kill the dashed focus outline that appears after clicking.
   Keep :focus-visible (keyboard navigation) for accessibility — only the
   mouse-click :focus ring is removed. */
.custom-logo-link:focus,
.site-logo-img a:focus,
.site-branding a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ▸ style.css L2461 */
.custom-logo-link:focus:not(:focus-visible),
.site-logo-img a:focus:not(:focus-visible),
.site-branding a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* ▸ style.css L3137 */
/* ============================================================
   Header layout: ALWAYS show mobile-style (logo + hamburger).
   Matches Shopify reference where no horizontal nav exists on desktop.
   ============================================================ */
#ast-desktop-header {
  display: none !important;
}

/* ▸ style.css L3144 */
/* === Header: replicar patron Shopify (menu_type_desktop:"drawer")
   El "ast-mobile-header" se muestra en TODOS los breakpoints — hamburger always visible.
   El "ast-desktop-header" se oculta completamente. */
#ast-mobile-header {
  display: block !important;
}

/* ▸ style.css L3147 */
#ast-desktop-header {
  display: none !important;
}

/* ▸ style.css L3151 */
.ast-mobile-header-wrap {
  width: 100%;
}

/* ▸ style.css L3156 */
/* Hide the redundant site-title text (we use the logo image). */
.ast-site-title-wrap,
.ast-site-identity .ast-site-title-wrap,
#ast-mobile-header .ast-site-title-wrap,
#ast-desktop-header .ast-site-title-wrap {
  display: none !important;
}

/* ▸ style.css L3166 */
/* Header bar — Shopify spec:
   - Desktop ≥750: 71px TOTAL height, padding 12px 32px
   - Mobile <750:  56px TOTAL height, padding 6px 16px  (DevTools mediciones reales) */
#ast-mobile-header .ast-primary-header-bar,
#ast-mobile-header .main-header-bar,
.main-header-bar {
  box-sizing: border-box !important;
  height: 71px !important;
  min-height: 71px !important;
  max-height: 71px !important;
  padding: 12px 32px !important;
  border-bottom: none !important;
  border-bottom-width: 0 !important;
  box-shadow: none !important;
}

/* ▸ style.css L3179 */
/* Grid-row interno alineado al 71px desktop */
#ast-mobile-header .ast-builder-grid-row {
  height: 47px;
  align-items: center;
}

/* ▸ style.css L3183 */
@media (max-width: 749px) {
  /* Header bar: 56px alto, padding asimétrico — Shopify spec real:
       hamburger sale a 4px del left edge, cart deja 12px right gap. */
  #ast-mobile-header .ast-primary-header-bar,
    #ast-mobile-header .main-header-bar,
    .main-header-bar {
      height: 56px !important;
      min-height: 56px !important;
      max-height: 56px !important;
      padding: 6px 12px 6px 4px !important;
    }
  #ast-mobile-header .ast-builder-grid-row {
      height: 44px;
    }
}

/* ▸ style.css L3202 */
/* Logo: Shopify spec
   - Desktop: 250 × 32px
   - Mobile:  164 × 21px (DevTools real measure) */
#ast-mobile-header .custom-logo {
  width: auto;
  max-width: 250px;
  height: 32px;
  max-height: 32px;
  object-fit: contain;
}

/* ▸ style.css L3209 */
@media (max-width: 749px) {
  #ast-mobile-header .custom-logo {
      max-width: 164px !important;
      height: 21px !important;
      max-height: 21px !important;
    }
  /* Logo centrado al midpoint del viewport — Astra lo pone en la "left section"
       junto al hamburger. Posicionamos la IMG directamente (no el wrapper) usando
       left:50% + margin-left:-82px (mitad del width 164) sobre el header bar. */
  #ast-mobile-header .ast-primary-header-bar,
    #ast-mobile-header .main-header-bar {
      position: relative !important;
    }
  #ast-mobile-header .custom-logo {
      position: absolute !important;
      left: 50% !important;
      top: 50% !important;
      margin-left: -82px !important;  /* = width/2 = 164/2 */
      margin-top: -10.5px !important;  /* = height/2 = 21/2 */
      z-index: 5;
    }
}

/* ▸ style.css L3233 */
/* Hamburger button: 44x44 clickable area, navy SVG. Shopify spec. */
.menu-toggle.main-header-menu-toggle,
.menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon,
.menu-toggle.main-header-menu-toggle .ahfb-svg-iconset,
.menu-toggle.main-header-menu-toggle svg {
  color: var(--htl-text) !important;
  fill: currentColor !important;
  background: transparent !important;
  border: none !important;
}

/* ▸ style.css L3243 */
.menu-toggle.main-header-menu-toggle {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10001; /* above drawer (10000) so X is clickable */
}

/* ▸ style.css L3253 */
.menu-toggle.main-header-menu-toggle svg {
  width: 22px !important;
  height: 22px !important;
}

/* ▸ style.css L3257 */
@media (max-width: 749px) {
  .menu-toggle.main-header-menu-toggle svg {
      width: 20px !important;
      height: 20px !important;
    }
}

/* ▸ style.css L3264 */
.menu-toggle.main-header-menu-toggle:hover {
  opacity: 1;
}

/* ▸ style.css L3268 */
/* No focus outline / box on mouse click. Keep it for keyboard nav (:focus-visible). */
.menu-toggle.main-header-menu-toggle,
.menu-toggle.main-header-menu-toggle:focus,
.menu-toggle.main-header-menu-toggle:active,
.menu-toggle.main-header-menu-toggle.toggled {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

/* ▸ style.css L3277 */
.menu-toggle.main-header-menu-toggle:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* ▸ style.css L3281 */
.menu-toggle.main-header-menu-toggle:focus-visible {
  outline: 2px solid var(--htl-navy);
  outline-offset: 2px;
}

/* ▸ style.css L3287 */
/* Animated hamburger ↔ X (3 lines morph). Shopify Dawn / Apple-style micro-animation. */
.menu-toggle .htl-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 22px;
  position: relative;
  transition: transform 0.2s ease;
}

/* ▸ style.css L3296 */
.menu-toggle .htl-hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1),
              opacity 0.2s ease;
  will-change: transform, opacity;
}

/* ▸ style.css L3307 */
@media (max-width: 749px) {
  /* Shopify SVG path bounding box exact: 18.57 × 16.67px */
  .menu-toggle .htl-hamburger {
      width: 18.57px;
      height: 16.67px;
    }
  /* Líneas un poco más grises (no full black) — Shopify usa ~75% navy */
  .menu-toggle .htl-hamburger-line {
      width: 18.57px;
      background: rgba(18, 18, 18, 0.75) !important;
    }
  /* Re-calibrate X open-state translate distance for new 16.67px height
       (half of 16.67 = ~8.3, minus 1px for line thickness = 7.3) */
  .menu-toggle[aria-expanded="true"] .htl-hamburger-line:nth-child(1) {
      transform: translateY(7.3px) rotate(45deg);
    }
  .menu-toggle[aria-expanded="true"] .htl-hamburger-line:nth-child(3) {
      transform: translateY(-7.3px) rotate(-45deg);
    }
}

/* ▸ style.css L3328 */
/* Open state: line 1 ↓+rotate 45°, line 2 fades, line 3 ↑+rotate -45° → X */
.menu-toggle[aria-expanded="true"] .htl-hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

/* ▸ style.css L3331 */
.menu-toggle[aria-expanded="true"] .htl-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

/* ▸ style.css L3335 */
.menu-toggle[aria-expanded="true"] .htl-hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ▸ style.css L3339 */
/* Hover zoom — mini scale on the icon inside the button */
.menu-toggle:hover .htl-hamburger {
  transform: scale(1.12);
}

/* ▸ style.css L3343 */
/* Hide Astra's original SVG (we replace its innerHTML so this is a safety net) */
.menu-toggle .ahfb-svg-iconset:not(:has(.htl-hamburger)),
.menu-toggle .mobile-menu-toggle-icon:not(:has(.htl-hamburger)) {
  display: none;
}

/* ▸ style.css L3349 */
/* Body lock when drawer is open — prevents background scroll */
body.htl-menu-open {
  overflow: hidden;
}

/* ▸ style.css L3354 */
/* Hide Astra's default footer completely (we render htl-footer via wp_footer) */
footer.site-footer,
.site-footer,
#colophon,
.ast-small-footer,
.footer-sml-section-1,
.footer-sml-section-2,
.ast-builder-footer-grid-row {
  display: none !important;
}

/* ▸ style.css L3774 */
/* Off-canvas drawer: brand styling */
.ast-mobile-header-content {
  background: var(--htl-white);
}

/* ▸ style.css L3778 */
.ast-mobile-header-content .menu-link {
  font-family: var(--htl-font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--htl-navy);
}

/* ▸ style.css L3787 */
.ast-mobile-header-content .menu-item {
  border-bottom: 1px solid var(--htl-border-soft);
}

/* ▸ style.css L3795 */
/* ============================================================
   Cart icon in header (injected via child theme)
   ============================================================ */
/* Cart icon area — Shopify spec: 44x44 clickable */
.htl-header-cart {
  display: inline-flex;
  align-items: center;
}

/* ▸ style.css L3856 */
/* Right section of mobile header: align items */
#ast-mobile-header .site-header-primary-section-right {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

/* ▸ style.css L3863 */
/* Left section: hamburger now lives here (moved via JS), then logo */
#ast-mobile-header .site-header-primary-section-left {
  display: flex !important;
  align-items: center;
  gap: 16px;
}

/* ▸ style.css L3869 */
/* Hamburger sits to the left of the logo */
#ast-mobile-header .site-header-primary-section-left [data-section="section-header-mobile-trigger"] {
  order: -1;
  margin-right: 4px;
}

/* ▸ style.css L5050 */
/* Hide Astra's broken mobile menu container — we use our own .htl-menu-drawer instead */
.main-header-bar-navigation { display: none !important; }

/* ▸ style.css L5061 */
/* === Custom mobile menu drawer (Shopify Dawn pattern) === */
.htl-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s;
}

/* ▸ style.css L5069 */
.htl-menu-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* ▸ style.css L5073 */
.htl-menu-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ▸ style.css L5080 */
.htl-menu-drawer.is-open .htl-menu-drawer__backdrop { opacity: 1; }

/* ▸ style.css L5081 */
.htl-menu-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px; /* same width as cart drawer */
  background: var(--htl-navy, #112B3D);
  color: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 16px rgba(0,0,0,0.25);
}

/* ▸ style.css L5096 */
.htl-menu-drawer.is-open .htl-menu-drawer__panel { transform: translateX(0); }

/* ▸ style.css L5098 */
/* Menu drawer: no pull-to-refresh, panel completamente inmóvil. Tap en links sigue funcionando — touch-action:none solo desactiva pan/zoom, no taps */
.htl-menu-drawer__panel {
  overscroll-behavior: none;
  touch-action: none;
  overflow: hidden;
  /* iPhone safe-area inferior pintada para que la URL bar matchee al header */
  padding-bottom: env(safe-area-inset-bottom);
}

/* ▸ style.css L5105 */
.htl-menu-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ▸ style.css L5118 */
.htl-menu-drawer__close:hover { color: rgba(255, 255, 255, 0.7); }

/* ▸ style.css L5119 */
.htl-menu-drawer__nav {
  padding: 64px 24px 24px;
  overflow-y: auto;
  flex: 1;
}

/* ▸ style.css L5124 */
.htl-menu-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ▸ style.css L5129 */
.htl-menu-drawer__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ▸ style.css L5132 */
.htl-menu-drawer__list a {
  display: block;
  padding: 18px 12px;
  margin: 0 -12px;
  font-family: var(--htl-font-heading);
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

/* ▸ style.css L5144 */
.htl-menu-drawer__list a:hover,
.htl-menu-drawer__list a:focus {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* ▸ style.css L5152 */
/* Quitar outline punteado al click (browser default focus ring). Solo lo
   mostramos en :focus-visible que es navegación por teclado — accesibilidad
   preservada, click con mouse limpio. */
.htl-menu-drawer__list a:focus { outline: none; }

/* ▸ style.css L5153 */
.htl-menu-drawer__list a:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* ▸ style.css L5154 */
.htl-menu-drawer__list a::-moz-focus-inner { border: 0; }

/* ▸ style.css L5159 */
/* Press + post-tap feedback — JS agrega .is-loading después del click, queda
   visible hasta que la navegación complete (página nueva = drawer cerrado).
   :active cubre el momento del press físico, .is-loading el post-tap. */
.htl-menu-drawer__list a:active,
.htl-menu-drawer__list a.is-loading {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ▸ style.css L5687 */
/* ============================================================
   Smart Sticky Header — slide on scroll direction (Shopify Dawn parity)
   - Always fixed at top
   - Scroll down past THRESHOLD: slide up & hide
   - Scroll up: slide back in
   - Top of page: always visible, no shadow
   - Mobile menu open: never hide
   ============================================================ */
.site-header,
#masthead.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10100; /* above menu drawer (10000), BELOW cart drawer (10200) — cart drawer dim covers header (Shopify Dawn pattern) */
  background: #ffffff;
  transform: translateY(0) !important;
  transition: transform 0.25s ease-out, box-shadow 0.2s ease-out;
  will-change: transform;
}

/* ▸ style.css L5699 */
.site-header.htl-header--hidden,
#masthead.site-header.htl-header--hidden {
  transform: translateY(-100%) !important;
}

/* ▸ style.css L5703 */
.site-header.htl-header--at-top,
#masthead.site-header.htl-header--at-top {
  box-shadow: none;
}

/* ▸ style.css L5707 */
.site-header:not(.htl-header--at-top),
#masthead.site-header:not(.htl-header--at-top) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ▸ style.css L5711 */
.site-header.htl-menu-open,
#masthead.site-header.htl-menu-open {
  transform: translateY(0) !important;
}

/* ▸ style.css L5865 */
/* Heritage funnel email popup: hide site header so user can click the X.
   Works on heritage-results AND heritage-results-origins (both render .hr-popup-bg). */
body:has(.hr-popup-bg.active) #masthead,
body:has(.hr-popup-bg.active) .site-header,
body:has(.hr-popup-bg.active) #ast-mobile-header {
  display: none !important;
}

/* ▸ style.css L6747 */
/* Menu drawer: nada se mueve, nada de pan. Tap en links sigue funcionando. */
html.htl-scroll-locked .htl-menu-drawer__panel { touch-action: none !important; }

/* ▸ style.css L6786 */
@media (max-width: 749px) {
  /* ── D. Astra header — fix 4px overflow ────────────────────────────────── */
  .ast-builder-grid-row,
    .ast-builder-grid-row-container,
    .site-header-primary-section-right {
      max-width: 100% !important;
      box-sizing: border-box;
    }
  /* ── F. Astra header — kill doble padding (outer 16px + inner 16px = 32px desde edge).
           Shopify mobile: icons a 16px del edge, no a 32px. */
  .ast-builder-grid-row.ast-builder-grid-row-has-sides {
      padding-left: 0 !important;
      padding-right: 0 !important;
      column-gap: 0 !important;
      box-sizing: border-box;
    }
}

/* ▸ style.css L8778 */
/* ═══════════════════════════════════════════════════════════════════════════
   TIPOGRAFIA DEL CARRITO Y DEL MENU HAMBURGUESA   (2026-09-04)
   ═══════════════════════════════════════════════════════════════════════════
   Los dos paneles quedaban en la tipografia vieja mientras el resto del sitio
   ya era Montserrat: el carrito con los titulos en Cardo y los datos en Besley,
   y el menu con los items en Cardo.

   SOLO la familia. Ni un tamano, ni un color, ni un peso, ni un espaciado.

   ALCANCE: los dos paneles propios (.htl-cart-drawer y .htl-menu-drawer), que
   viven en functions.php. Nada mas del sitio los usa.

   Se excluye <svg> y su contenido: los iconos (-, +, tacho, X) son SVG y no
   tienen tipografia que cambiar.

   No se tocan ::before/::after con un selector universal A PROPOSITO: eso
   pisaria las tipografias de iconos. Los unicos pseudo-elementos con texto de
   estos paneles son los placeholders, cubiertos aparte abajo.
   ═══════════════════════════════════════════════════════════════════════════ */
body .htl-cart-drawer,
body .htl-cart-drawer *:not(svg):not(svg *),
body .htl-menu-drawer,
body .htl-menu-drawer *:not(svg):not(svg *) {
  font-family: var(--htl-font-ui) !important;
}

/* ▸ style.css L8784 */
body .htl-cart-drawer ::placeholder,
body .htl-menu-drawer ::placeholder {
  font-family: var(--htl-font-ui) !important;
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · el pie de marca
   ════════════════════════════════════════════════════════════════════ */

/* ▸ style.css L3354 */
/* Hide Astra's default footer completely (we render htl-footer via wp_footer) */
footer.site-footer,
.site-footer,
#colophon,
.ast-small-footer,
.footer-sml-section-1,
.footer-sml-section-2,
.ast-builder-footer-grid-row {
  display: none !important;
}

/* ▸ style.css L3373 */
/* ============================================================
   Brand footer — htl-footer
   Matches Shopify Dawn scheme-5: navy bg + white text/buttons.
   ============================================================ */
.htl-footer {
  background: var(--htl-navy);
  color: var(--htl-white);
  padding: 0;
  margin-top: 0;
  font-family: var(--htl-font-body);
  font-size: 15px;
  line-height: 1.6;
}

/* ▸ style.css L3383 */
.htl-footer a {
  color: var(--htl-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* ▸ style.css L3389 */
.htl-footer a:hover {
  opacity: 0.7;
  color: var(--htl-white);
}

/* ▸ style.css L3394 */
.htl-footer__inner {
  max-width: var(--htl-container-width);
  margin: 0 auto;
  padding: 52px 24px 44px;
}

/* ▸ style.css L3416 */
/* Top: 2-column layout (disclaimer left, newsletter right) on desktop;
   stacks vertically on mobile. Matches Shopify footer.liquid layout. */
/* ⚠️⚠️ EL PIE USA LA TIPOGRAFÍA DE LA MAIN PAGE, NO LA DEL TEMA VIEJO.
   Medido el 2026-08-24: la main page es Montserrat de punta a punta (titular
   70/300, bajada 21/400, rótulos 18/600 con tracking ancho) y el pie era Besley
   y Cardo de punta a punta. Eran dos sitios distintos pegados uno abajo del
   otro. El sistema de abajo copia la escala de la main page:

     · rótulos de columna  = el mismo gesto que los rótulos de sección
                             (600, mayúsculas, tracking ancho, apagado)
     · links y prosa       = 400, como la bajada
     · la marca            = 600 con tracking, como el logo del header

   Se declara la familia UNA vez como variable del pie: las reglas de teléfono
   del tema la vuelven a pedir con !important y así no hay dos listas que se
   desincronicen. */
.htl-footer__top {
  --htl-pie-tipo: var(--htl-font-ui);
}

/* ▸ style.css L3420 */
.htl-footer__top,
.htl-footer__bottom {
  font-family: var(--htl-font-ui);
}

/* ▸ style.css L3426 */
/* ── zona de arriba: la marca y los links ──────────────────────────────── */
.htl-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 0;
}

/* ▸ style.css L3441 */
/* ⚠️ LA MARCA VA AL COSTADO RECIÉN DESDE 1000px, Y LOS LINKS NUNCA BAJAN DE
   672px (2026-10-06, cuarta columna «Free to explore»). El link más ancho es
   "The Surname Index": 146,5px medido en Montserrat 15px. Cuatro columnas de
   150px + tres huecos de 24px = 672px. Con la proporción de antes (1 : 1,5)
   eso recién se cumple a 1212px; por eso el mínimo va en la pista y no en la
   proporción: a 1440 queda idéntico (797px de links) y entre 1000 y 1211 la que
   cede es la marca. Debajo de 1000 la marca se apila arriba, como en tablet:
   a 900px la pista de links habría quedado en 473px. */
@media (min-width: 1000px) {
  .htl-footer__top {
      grid-template-columns: minmax(0, 1fr) minmax(672px, 1.5fr);
      gap: 64px;
      align-items: start;
    }
}

/* ▸ style.css L3449 */
.htl-footer__marca-n {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--htl-white);
}

/* ▸ style.css L3458 */
.htl-footer__marca-t {
  margin: 0 0 16px;
  max-width: 30ch;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  opacity: .72;
}

/* ▸ style.css L3471 */
/* ⚠️ ACÁ ESTABA EL MAIL ESCRITO, ABAJO DE LA MARCA. Se fue el 2026-08-24: ahora
   es el botón "Email us" de la grilla de links (.htl-footer__contacto). La
   dirección sigue accesible en el title del botón y en /contact/. */
.htl-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 30px 24px;
}

/* ▸ style.css L3481 */
/* Cuatro columnas desde 720px (4 × 150 + 3 × 24 = 672 de links + 48 de margen).
   Entre 560 y 719 siguen las dos del teléfono: tres ya no alcanzan para cinco
   celdas sin dejar un hueco en el medio. */
@media (min-width: 720px) {
  .htl-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* ⚠️ TRES COLUMNAS EN CUATRO PISTAS, ARRANCANDO EN LA SEGUNDA (2026-11-05).
     Las pistas siguen siendo cuatro porque el ancho de columna del pie está
     calibrado contra ellas y porque el botón vive en la cuarta. Al sacar
     «Before you order» las tres restantes se corrieron a la izquierda y
     «Company» dejó de estar bajo el botón y sobre los sellos de pago. Corriendo
     el arranque, la última columna vuelve al borde derecho y el hueco se va al
     lado de la marca, que es donde no molesta. */
  .htl-footer__cols > .htl-footer__col:first-of-type { grid-column: 2; }
  /* En desktop la fila 2 existe sólo para esto: el botón cae debajo de
       "Company", que es la última columna, y cierra el bloque por abajo a la
       derecha en vez de dejar el escalón. */
  .htl-footer__contacto { grid-column: 4; grid-row: 2; }
}

/* ▸ style.css L3491 */
/* El botón. Contorno y no relleno: es el pie, no puede competir con el botón de
   búsqueda de la página. El relleno aparece recién al pasar por encima. */
.htl-footer__contacto {
  justify-self: start;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--htl-white);
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* ▸ style.css L3511 */
.htl-footer__contacto::before {
  content: "";
  width: 15px;
  height: 11px;
  flex: 0 0 auto;
  background: currentColor;
  /* sobre de líneas — máscara, así hereda el color en los dos estados */
  -webkit-mask: var(--htl-sobre) center / contain no-repeat;
  mask: var(--htl-sobre) center / contain no-repeat;
}

/* ▸ style.css L3526 */
/* ⚠️ VA CON `.htl-footer` ADELANTE. `.htl-footer a:hover` —la regla general del
   pie— pesa más que `.htl-footer__contacto:hover` (suma el selector de etiqueta)
   y ganaba el color: medido, el texto quedaba BLANCO SOBRE DORADO, que da 2:1
   de contraste y no se lee. Con navy sobre dorado da 7,5:1. */
.htl-footer .htl-footer__contacto:hover,
.htl-footer .htl-footer__contacto:focus-visible {
  background: var(--htl-gold);
  border-color: var(--htl-gold);
  color: var(--htl-navy);
  opacity: 1;
}

/* ▸ style.css L3539 */
/* ⚠️ EL SOBRE VA DIBUJADO CON TRAZO, NO CON RELLENO. Con `fill`, la solapa y el
   cuerpo son subrecorridos que giran para el mismo lado que el marco: la regla
   nonzero los rellena a todos y la máscara termina siendo un rectángulo macizo.
   Con `stroke` + `fill='none'` el alfa queda sólo en las líneas, que es lo que
   la máscara necesita. */
.htl-footer {
  --htl-sobre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='.85' y='.85' width='18.3' height='12.3' rx='1.7'/%3E%3Cpath d='m1.9 2.4 8.1 5.6 8.1-5.6'/%3E%3C/svg%3E");
}

/* ▸ style.css L3556 */
/* ⚠️ EN TELÉFONO SON DOS COLUMNAS, Y NO ES POR COMODIDAD: NO ENTRAN TRES.
   Medido forzando tres a 390px (98px por columna): se parten en dos renglones
   "Search a name", "The collection" y "Track your order", más el rótulo
   "ALREADY ORDERED". A 360px (88px) se parten seis links y dos rótulos. Con dos
   columnas no se parte nada.

   Entrarían achicando la letra, pero 15px es piso: el comprador tiene 55+ y el
   pie es donde busca cómo contactar y dónde está su pedido.

   Desde el 2026-10-06 son cinco celdas: The record / Free to explore,
   Already ordered / Company, y el botón Email us solo en la última fila, a la
   izquierda, como cierre del bloque. El orden del HTML alcanza: no hace falta
   reordenar nada por CSS. */
@media (max-width: 559px) {
  .htl-footer__cols {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 26px 20px;
    }
}

/* ▸ style.css L3566 */
/* ⚠️ A 360px "The Surname Index" (146,5px) no entraba por medio píxel en una
   columna de 146: se partía en dos renglones. Con 14px de hueco la columna
   mide 149. A 320 se parte igual, como ya se partía "Already ordered". */
@media (max-width: 374px) {
  .htl-footer__cols { column-gap: 14px; }
}

/* ▸ style.css L3572 */
/* El mismo gesto que los rótulos de la main page ("1740 → 1902"): mayúsculas,
   600, tracking ancho. Es lo que hace que el pie se lea como parte del sitio. */
.htl-footer__col-t {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
  margin: 0 0 14px;
}

/* ▸ style.css L3581 */
.htl-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* ▸ style.css L3592 */
/* ⚠️ 15px y no 11px: el comprador tiene 55+ y el pie es donde busca "cómo los
   contacto" y "dónde está mi pedido". Achicarlo para que entre es exactamente
   la decisión que hace que esa persona no encuentre y llame al banco. */
.htl-footer__col a {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  display: inline-block;
  padding-block: 3px;
}

/* ▸ style.css L3622 */
/* ⚠️ ACÁ VIVÍA EL PÁRRAFO DE DISCLAIMER DEL PIE. Se sacó el 2026-08-24.

   No es una pérdida legal: lo que protege no es dónde está escrito el aviso
   sino que el comprador lo haya visto ANTES de pagar. Por fuerza real: la
   ficha del producto y el checkout primero, después el aviso dentro del
   reporte y del mail de entrega, después Términos, y ÚLTIMO el pie. El link
   Disclaimer sigue en la línea legal de abajo, así que el texto completo
   queda a un clic desde todas las páginas.

   Dato que lo respalda: ni Ancestry ni MyHeritage tienen párrafo de
   disclaimer en el pie. Lo tienen en Términos y lo linkean.

   ⚠️ Si se lo repone, que NO sea acá. La línea del escudo —interpretación
   artística ligada a un apellido, no una concesión de armas— tiene que estar
   en la FICHA DEL PRODUCTO, que es donde el comprador se forma la
   expectativa y donde un aviso de verdad sirve. */
/* ⚠️ UNA FILA: lo legal a la izquierda, los medios de pago a la derecha.
   Antes era una columna centrada, y ése era el origen del desorden: la zona de
   arriba alineada a la izquierda y la de abajo centrada hacían que el
   disclaimer del medio no perteneciera a ninguna de las dos. Con todo sobre el
   mismo eje, la letra chica se lee como el pie de la misma página. */
.htl-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

/* ▸ style.css L3633 */
@media (min-width: 900px) {
  .htl-footer__bottom {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 32px;
    }
}

/* ▸ style.css L3642 */
.htl-footer__legalcol { display: grid; gap: 7px; }

/* ▸ style.css L3676 */
/* ⚠️ LOS SEIS LEGALES VAN EN UN SOLO RENGLÓN, Y EL TAMAÑO SE CALCULA — NO SE
   ELIGE. La zona de abajo va centrada en cualquier pantalla donde se apile.

   ⚠️ EL PRIMER DIAGNÓSTICO FUE MALO Y HAY QUE SABERLO: el 2026-08-24 se midió
   "no entran ni a 11px" y se armó una tabla de 3×2 por eso. Estaba mal. La
   sonda bajaba la letra con `.htl-footer__legal-l a{font-size:…!important}` y
   PERDÍA contra la regla de teléfono del tema —`.htl-footer .htl-footer__bottom
   a{font-size:12.5px!important}`, que suma un selector más—, así que el texto
   nunca se achicaba y las seis pruebas daban idéntico: 350,3px siempre. Con la
   especificidad correcta, lo que entra en un renglón es:

     ancho de pantalla   máximo que entra (separación 6px)
       320px                9,4px   ← no entra a un tamaño legible
       360px               11,0px
       375px               11,55px
       390px               12,15px  ← el teléfono del owner, casi el actual
       412px y más         12,5px (el tope)

   Fórmula medida: los seis textos ocupan 25,64px de ancho por cada px de
   tamaño, más las cinco separaciones. De ahí sale el clamp: se despeja el
   tamaño que hace que la línea entre justo en el ancho disponible
   (100vw menos los 24px de margen de cada lado, menos 6px de aire).

   El piso es 10,8px: abajo de ~355px de pantalla la línea no entra a un tamaño
   legible, y ahí se deja que corte en dos renglones centrados. Por eso queda
   `flex-wrap: wrap` — es la red, no el plan.

   ⚠️ TODO VA CON `.htl-footer` ADELANTE. La regla base
   `.htl-footer__legal{display:flex}` vive MÁS ABAJO en este mismo archivo y pesa
   igual (una clase); las media queries no suman especificidad, así que ganaba
   por orden y el bloque entero no hacía nada. Y el `font-size` de los links
   necesita `!important` con tres clases adelante para ganarle al del tema. */
@media (max-width: 899px) {
  .htl-footer .htl-footer__bottom {
      align-items: center;
      text-align: center;
    }
  .htl-footer .htl-footer__legalcol { justify-items: center; width: 100%; }
  .htl-footer .htl-footer__legal { justify-content: center; }
  .htl-footer .htl-footer__legal-l {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 4px 0.52em;
      /* ⚠️ EL `!important` DEL PÁRRAFO NO ES OPCIONAL. El bloque de teléfono del
         tema trae `.htl-footer__bottom, .htl-footer__legal{font-size:12.5px
         !important}`: le gana a cualquier regla propia sin `!important`, por más
         clases que tenga. Sin esto el clamp no hacía nada, los links heredaban
         12,5px igual y la línea seguía cortándose en dos. */
      font-size: clamp(10.8px, calc((100vw - 54px) / 28.2), 12.5px) !important;
    }
  .htl-footer .htl-footer__bottom .htl-footer__legal-l a {
      font-size: inherit !important;
      white-space: nowrap;
    }
  .htl-footer .htl-footer__legal-l .htl-footer__legal-sep { display: none; }
  .htl-footer .htl-footer__payments {
      align-self: stretch;
      justify-content: center;
    }
}

/* ▸ style.css L3708 */
.htl-footer__payments {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

/* ▸ style.css L3716 — 🔴 ESTA REGLA Y LA DEL TELÉFONO DE ABAJO NO SE HABÍAN PORTADO
   (2026-11-21, lo vio el owner comparando los dos pies en el teléfono). El
   extracto se armó por «.fc-footer…» y `.fc-payment-icon` no empieza así: los
   íconos —que son los MISMOS archivos, byte por byte— salían a 38×24 y sin
   esquinas redondeadas en todos los anchos, y en el teléfono más grandes que
   en FC (que los baja a 30×19). Lección en `la-regla-portada-esta-dos-veces`:
   portar se verifica comparando TODAS las reglas del bloque, no sólo las que
   comparten prefijo. */
.htl-payment-icon {
  display: block;
  width: 38px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

/* ▸ style.css L3727 */
/* Mobile: 8 íconos × 38px + gaps = ~374px, no entra en una sola fila en
   viewports 320-390. Reducir tamaño + gap para forzar single row. */
@media (max-width: 749px) {
  /* El centrado vive en el bloque de ≤899px junto con el resto de la zona de
       abajo; acá queda sólo lo que es propio del teléfono: una sola fila y los
       íconos más chicos. */
  .htl-footer__payments {
      flex-wrap: nowrap;
      gap: 4px;
    }
  .htl-payment-icon {
      width: 30px;
      height: 19px;
      flex-shrink: 0;
    }
}

/* ▸ style.css L3746 */
/* Dos renglones y no uno: la razón social arriba y los links legales abajo.
   En una sola línea, en un ancho de teléfono, la sociedad quedaba partida entre
   dos renglones y mezclada con los links — que es justo lo contrario de lo que
   se busca al publicarla. */
.htl-footer__legal {
  font-size: 12.5px;
  opacity: .62;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  justify-content: flex-start;
  align-items: center;
  font-family: var(--htl-font-ui);
  font-weight: 400;
}

/* ▸ style.css L3759 */
.htl-footer__legal a {
  color: var(--htl-white);
  text-decoration: none;
  /* Medido en el barrido del 2026-11-05: a 768 px estos seis enlaces daban
     20 px de alto, por debajo de los 24 que pide WCAG 2.2 AA (2.5.8). Son
     hijos de un flex, así que el relleno sí cuenta como tamaño: con 3 px
     arriba y abajo llegan a 26 y la fila del pie crece 6 px en total. */
  padding-block: 3px;
}

/* ▸ style.css L3764 */
.htl-footer__legal a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ▸ style.css L3769 */
.htl-footer__legal-sep {
  opacity: 0.55;
}

/* ▸ style.css L6786 */
@media (max-width: 749px) {
  /* ── L. El pie en teléfono.
  
       ⚠️⚠️ ESTE BLOQUE ESTABA ESCRITO PARA EL PIE VIEJO. La mitad de sus reglas
       apuntaban a .htl-footer__newsletter y a .htl-footer__disclaimer / -title /
       -body: clases que ya NO EXISTEN en el marcado. Se limpiaron.
  
       Las que quedaban imponían "Besley" 11px con !important, y de ahí venía que
       el pie no se pareciera en nada a la main page —que es Montserrat de punta a
       punta— y que el texto legal fuera ilegible para un comprador de 55+.
       Ahora la familia y el tamaño son los mismos que arriba. */
  .htl-footer__bottom,
    .htl-footer__legal {
      color: rgba(255, 255, 255, 0.62) !important;
      font-family: var(--htl-font-ui) !important;
      font-size: 12.5px !important;
    }
  /* ⚠️ NO volver a apuntar estos links por su href —a[href*="contact"] y
       compañía—. Alcanzaba a cualquier link a esa dirección, viviera donde
       viviera: el 2026-08-24 dejó "Contact" en 11px dentro de la columna Company
       mientras "About us", al lado, salía en 15px, y con !important. Se apunta al
       LUGAR (la barra de abajo), que es lo que de verdad define la letra chica. */
  .htl-footer .htl-footer__bottom a,
    .htl-footer__legal a,
    .htl-footer__bottom a {
      font-family: var(--htl-font-ui) !important;
      font-size: 12.5px !important;
      color: rgba(255, 255, 255, 0.62) !important;
      padding: 4px 0 !important;
    }
}

/* ▸ style.css L8179 */
/* En el pie el fondo es navy, y el oro oscuro se pierde contra él.
   Ahí el anillo va en oro claro, que sobre #112B3D da 6.4:1. */
.htl-footer a:focus-visible,
.htl-footer button:focus-visible {
  outline-color: #C9A84C !important;
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · el cajon del carrito
   ════════════════════════════════════════════════════════════════════ */

/* ▸ style.css L3800 */
.htl-cart-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--htl-text);
  text-decoration: none;
  position: relative;
  padding: 0;
}

/* ▸ style.css L3812 */
.htl-cart-link:hover {
  color: var(--htl-text);
}

/* ▸ style.css L3816 */
.htl-cart-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

/* ▸ style.css L3823 */
/* Hover zoom — mini scale on cart icon (mirror hamburger) */
.htl-cart-link:hover .htl-cart-icon {
  transform: scale(1.12);
}

/* ▸ style.css L3827 */
.htl-cart-count {
  font-family: var(--htl-font-body);
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  text-align: center;
  background: var(--htl-navy);
  color: var(--htl-white);
  border-radius: 999px;
  padding: 0 4px;
  line-height: 16px;
  position: absolute;
  /* Overlap the bag icon (lower-right) like Shopify: badge sits ON the bag,
     not floating outside it. SVG is 22×22 centered in a 44×44 link, so its
     bottom-right corner is at ~(33,33) → badge bottom-right at (~42,~42). */
  bottom: 4px;
  right: 4px;
  transform: none;
  display: none;
  box-shadow: 0 0 0 1.5px #ffffff;
}

/* ▸ style.css L3849 */
.htl-cart-count--has-items {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ▸ style.css L5171 */
/* ============================================================
   Cart Drawer — Shopify Dawn exact pattern:
   The drawer IS the overlay (full viewport with semi-transparent bg).
   The panel is a flex-end child (right-aligned, white, 420px).
   Header stays untouched — drawer's dim bg covers it visually.
   ============================================================ */
.htl-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10200; /* above site header (10100) so dim covers it */
  background-color: rgba(0, 0, 0, 0); /* dim color — transparent when closed */
  visibility: hidden;
  transition: visibility 0.3s ease, background-color 0.3s ease;
  pointer-events: none;
}

/* ▸ style.css L5180 */
.htl-cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5); /* dim activates on open */
}

/* ▸ style.css L5187 */
/* The backdrop element is now redundant (drawer container itself is the dim);
   keep it as an invisible click target for accessibility. */
.htl-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: pointer;
}

/* ▸ style.css L5194 */
/* Kill focus outline + lock cart link color to text/navy in every state (Astra default blue is killed) */
.htl-cart-link,
.htl-cart-link:link,
.htl-cart-link:visited,
.htl-cart-link:hover,
.htl-cart-link:focus,
.htl-cart-link:active,
.htl-cart-link:focus-visible,
.htl-cart-link:focus-within {
  outline: none !important;
  box-shadow: none !important;
  color: var(--htl-text, #121212) !important;
  text-decoration: none !important;
}

/* ▸ style.css L5207 */
.htl-cart-link svg,
.htl-cart-link:link svg,
.htl-cart-link:visited svg,
.htl-cart-link:hover svg,
.htl-cart-link:focus svg,
.htl-cart-link:active svg,
.htl-cart-link:focus-visible svg {
  color: var(--htl-text, #121212) !important;
  stroke: currentColor !important;
  fill: none !important;
}

/* ▸ style.css L5218 */
.htl-cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* ▸ style.css L5222 */
.htl-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ▸ style.css L5229 */
.htl-cart-drawer.is-open .htl-cart-drawer__backdrop { opacity: 1; }

/* ▸ style.css L5230 */
.htl-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: -400px; /* hidden off the right edge */
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  color: var(--htl-text, #121212);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  /* Crisp text — no transform = no GPU layer = subpixel anti-aliasing stays active */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ▸ style.css L5248 */
.htl-cart-drawer.is-open .htl-cart-drawer__panel {
  right: 0;
}

/* ▸ style.css L5251 */
@media (max-width: 640px) {
  .htl-cart-drawer__panel { right: -100vw; }
  .htl-cart-drawer.is-open .htl-cart-drawer__panel { right: 0; }
}

/* ▸ style.css L5256 */
/* Close X — sits inside .htl-cart-drawer__header, aligned right */
.htl-cart-drawer__close,
.htl-cart-drawer__close:hover,
.htl-cart-drawer__close:focus,
.htl-cart-drawer__close:active,
.htl-cart-drawer .htl-cart-drawer__close {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 2;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  color: var(--htl-text) !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: auto;
  height: auto;
  width: auto;
  border-radius: 0;
}

/* ▸ style.css L5282 */
.htl-cart-drawer__close:focus:not(:focus-visible) { outline: none !important; }

/* ▸ style.css L5283 */
.htl-cart-drawer__close svg {
  transition: transform 0.2s ease;
  display: block;
}

/* ▸ style.css L5287 */
.htl-cart-drawer__close:hover svg {
  transform: scale(1.12);
}

/* ▸ style.css L5290 */
.htl-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* Scroll del listado de items sí, pero no propaga a body → no pull-to-refresh */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* ▸ style.css L5301 */
/* Cart panel: no overscroll bounce a nivel container */
.htl-cart-drawer__panel {
  overscroll-behavior: contain;
  /* Safe-area bottom blanco — matchea el header (panel ya es bg: #fff) */
  padding-bottom: env(safe-area-inset-bottom);
}

/* ▸ style.css L5306 */
.htl-cart-drawer__items {
  padding: 16px 15px; /* Spec Shopify: drawer__inner padding 0 15px */
}

/* ▸ style.css L5310 */
/* Empty state — Shopify Dawn exact: full-height flex center, 24px New York heading, 216×45 button */
.htl-cart-drawer__empty {
  display: flex;
  align-items: center;          /* vertical center inside body */
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 24px;
  font-family: var(--htl-font-body);
  font-size: 16px;
  color: rgba(18, 18, 18, 0.75); /* #121212BF */
}

/* ▸ style.css L5322 */
/* Honor the [hidden] attribute over the display:flex above */
.htl-cart-drawer__empty[hidden],
.htl-cart-drawer__items[hidden],
.htl-cart-drawer__footer[hidden] { display: none !important; }

/* ▸ style.css L5325 */
.htl-cart-drawer__empty-content {
  text-align: center;
  width: 100%;
  max-width: 369px;
}

/* ▸ style.css L5330 */
.htl-cart-drawer__empty-heading {
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  margin: 0 0 30px !important;
  line-height: 1.3;
  letter-spacing: normal;
}

/* ▸ style.css L5339 */
.htl-cart-drawer__continue,
.htl-cart-drawer__continue:hover,
.htl-cart-drawer__continue:focus,
.htl-cart-drawer__continue:active {
  /* Spec: matches hamburger drawer panel navy (--htl-navy = #112B3D) */
  background: var(--htl-navy, #112B3D) !important;
  background-color: var(--htl-navy, #112B3D) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 30px !important;
  min-width: 120px !important;
  min-height: 45px !important;
  width: auto !important;
  height: auto !important;
  font-family: var(--htl-font-body) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  cursor: pointer;
  border-radius: 0 !important;
  transition: opacity 0.2s;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-decoration: none;
}

/* ▸ style.css L5370 */
.htl-cart-drawer__continue:hover { opacity: 0.85; }

/* ▸ style.css L5371 */
.htl-cart-drawer__items { list-style: none; margin: 0; padding: 0; }

/* ▸ style.css L5374 */
/* Cart drawer header — Spec Shopify: padding 15px 0, h2 24px "New York" #121212, margin 0 0 10px */
.htl-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  margin: 0 15px;
  flex-shrink: 0;
}

/* ▸ style.css L5383 */
/* When cart is empty: no title text (X close stays right-aligned) */
.htl-cart-drawer__header--empty {
  justify-content: flex-end;
}

/* ▸ style.css L5386 */
.htl-cart-drawer__title[hidden] { display: none !important; }

/* ▸ style.css L5387 */
.htl-cart-drawer__title {
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  margin: 0 0 10px !important;
  letter-spacing: 0 !important;
  line-height: 1.3;
}

/* ▸ style.css L5398 */
/* PRODUCT / TOTAL column headers — placed BELOW header, ABOVE the gray separator */
.htl-cart-drawer__col-headers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 15px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.1);
}

/* ▸ style.css L5406 */
.htl-cart-drawer__col-headers[hidden] { display: none !important; }

/* ▸ style.css L5407 */
.htl-cart-drawer__col-product,
.htl-cart-drawer__col-total {
  font-family: var(--htl-font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(18, 18, 18, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ▸ style.css L5418 */
/* Cart item row — Spec Shopify: margin 0 0 15px, 369 wide */
.htl-cart-drawer__item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 14px;
  padding: 20px 0;
  margin: 0 15px;
  align-items: start;
}

/* ▸ style.css L5426 */
.htl-cart-drawer__item-imglink {
  display: block;
  width: 100px;
}

/* ▸ style.css L5430 */
.htl-cart-drawer__item-img {
  width: 100%;
  height: auto;
  display: block;
  background: #f5f5f5;
}

/* ▸ style.css L5437 */
.htl-cart-drawer__item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ▸ style.css L5444 */
/* Title link — Spec Shopify: 15px "New York" #121212, NOT purple visited */
.htl-cart-drawer__item-title,
.htl-cart-drawer__item-title:link,
.htl-cart-drawer__item-title:visited,
.htl-cart-drawer__item-title:hover,
.htl-cart-drawer__item-title:focus,
.htl-cart-drawer__item-title:active {
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  text-decoration: none !important;
  line-height: 1.3;
  margin: 0;
}

/* ▸ style.css L5460 */
/* Unit price below title — 14px Besley #121212BF, margin 6px 0 0 */
.htl-cart-drawer__item-unitprice {
  font-family: var(--htl-font-body);
  font-size: 14px;
  color: rgba(18, 18, 18, 0.75);
  margin: 6px 0 0;
  font-weight: 400;
}

/* ▸ style.css L5469 */
/* Options list — dt/dd 14px Besley #121212BF */
.htl-cart-drawer__item-options {
  margin: 6px 0 0;
  display: block;
  font-family: var(--htl-font-body);
  font-size: 14px;
  color: rgba(18, 18, 18, 0.75);
  line-height: 1.4;
}

/* ▸ style.css L5477 */
.htl-cart-drawer__item-options dt {
  display: inline;
  margin: 0;
  font-weight: 400;
}

/* ▸ style.css L5482 */
.htl-cart-drawer__item-options dd {
  display: inline;
  margin: 0 0 0 4px;
  font-weight: 400;
}

/* ▸ style.css L5487 */
.htl-cart-drawer__item-options dd::after {
  content: '';
  display: block;
  height: 2px;
}

/* ▸ style.css L5494 */
/* Quantity controls wrapper — Spec Shopify: 248×47, 16px Besley */
.htl-cart-drawer__item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  width: fit-content;
  margin-top: 12px;
  height: 47px;
  font-family: var(--htl-font-body);
  font-size: 16px;
}

/* ▸ style.css L5506 */
.htl-cart-drawer__item-qty button {
  background: transparent;
  border: none;
  width: 40px;
  height: 100%;
  cursor: pointer;
  font-size: 18px;
  font-family: var(--htl-font-body);
  color: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ▸ style.css L5519 */
.htl-cart-drawer__item-qty button:hover { background: rgba(18, 18, 18, 0.04); }

/* ▸ style.css L5520 */
.htl-cart-drawer__item-qty span {
  min-width: 32px;
  text-align: center;
  font-size: 16px;
  font-family: var(--htl-font-body);
  color: #121212;
}

/* ▸ style.css L5528 */
/* Trash icon — Spec Shopify: span.svg-wrapper 20×20 color #112B3D navy */
.htl-cart-drawer__item-trash {
  background: transparent !important;
  border: none !important;
  border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
  height: 100%;
  width: 47px !important;
  cursor: pointer;
  color: #112B3D !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  outline: none !important;
  box-shadow: none !important;
}

/* ▸ style.css L5543 */
.htl-cart-drawer__item-trash:hover { background: rgba(18, 18, 18, 0.04) !important; }

/* ▸ style.css L5544 */
.htl-cart-drawer__item-trash svg { color: #112B3D; }

/* ▸ style.css L5547 */
/* Shopify-style "This item has a minimum of 1" notice */
.htl-cart-drawer__item-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(18, 18, 18, 0.12), 0 0 0 1px rgba(18, 18, 18, 0.06);
  font-family: var(--htl-font-body);
  font-size: 13px;
  color: #121212;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* ▸ style.css L5564 */
.htl-cart-drawer__item-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ▸ style.css L5568 */
.htl-cart-drawer__item-notice.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
}

/* ▸ style.css L5572 */
.htl-cart-drawer__item-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #E5A02E;
  color: #ffffff;
  flex-shrink: 0;
}

/* ▸ style.css L5583 */
.htl-cart-drawer__item-notice-text { display: inline-block; }

/* ▸ style.css L5586 */
/* Right side (line total) */
.htl-cart-drawer__item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 0;
}

/* ▸ style.css L5593 */
.htl-cart-drawer__item-price {
  font-family: var(--htl-font-body);
  font-size: 14px;
  color: #121212;
}

/* ▸ style.css L5599 */
/* Footer (div.totals) — Spec Shopify: margin 10px 0 0, padding 20px 0 40px, 16px Besley #121212BF */
.htl-cart-drawer__footer {
  padding: 20px 0 40px;
  margin: 10px 0 0 !important;
  border-top: 1px solid rgba(18, 18, 18, 0.1);
  flex-shrink: 0;
  font-family: var(--htl-font-body) !important;
  font-size: 16px;
  color: rgba(18, 18, 18, 0.75);
}

/* ▸ style.css L5609 */
/* Subtotal row — "Estimated total" h2 + value */
.htl-cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  margin: 0 0 16px !important;
}

/* ▸ style.css L5617 */
/* h2.totals__total — Spec: 16px "New York" #121212, margin 5px 0 0 */
.htl-cart-drawer__subtotal > :first-child {
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  margin: 5px 0 0 !important;
  line-height: 1;
}

/* ▸ style.css L5626 */
/* p.totals__total-value — Spec: 18px Besley #121212BF, margin 0 0 0 20px */
.htl-cart-drawer__subtotal > :last-child {
  font-family: var(--htl-font-body) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: rgba(18, 18, 18, 0.75) !important;
  margin: 0 0 0 20px !important;
}

/* ▸ style.css L5635 */
/* "Taxes, discounts and shipping calculated at checkout." disclaimer
   — Shopify spec: 13px Besley / rgba(18,18,18,0.6) / text-align center / margin 0 0 16px */
.htl-cart-drawer__disclaimer {
  font-family: var(--htl-font-body) !important;
  font-size: 13px !important;
  color: rgba(18, 18, 18, 0.6) !important;
  text-align: center !important;
  margin: 0 15px 16px !important;
  line-height: 1.4 !important;
}

/* ▸ style.css L5644 */
/* Checkout button — Spec: 367×45 navy */
.htl-cart-drawer__checkout,
.htl-cart-drawer__checkout:link,
.htl-cart-drawer__checkout:visited,
.htl-cart-drawer__checkout:hover,
.htl-cart-drawer__checkout:focus,
.htl-cart-drawer__checkout:active {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px;
  text-align: center;
  height: 45px;
  line-height: 45px;
  padding: 0;
  background: var(--htl-navy, #112B3D) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--htl-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: opacity 0.2s;
  border: none !important;
  border-radius: 0;
  cursor: pointer;
}

/* ▸ style.css L5670 */
.htl-cart-drawer__checkout:hover { opacity: 0.88; }

/* ▸ style.css L5673 */
/* Body lock + scrollbar compensation when cart drawer open */
body.htl-cart-open { overflow: hidden; }

/* ▸ style.css L5675 */
@media (max-width: 640px) {
  .htl-cart-drawer__panel { max-width: 100vw; }
}

/* ▸ style.css L6258 */
/* La <ul> de items mantiene clases del drawer pero sobreescribimos padding
   horizontal (el drawer tenía 16px 15px porque el panel es estrecho). */
.htl-cart-page .htl-cart-drawer__items { padding: 8px 0 0; }

/* ▸ style.css L6259 */
.htl-cart-page .htl-cart-drawer__col-headers { padding: 0 0 12px; }

/* ▸ style.css L6262 */
/* Hide unit price debajo del título — tanto en cart page como en drawer.
   El line total a la derecha ya muestra el precio, no hace falta duplicarlo. */
.htl-cart-drawer__item-unitprice { display: none !important; }

/* ▸ style.css L6264 */
/* Empty state full-width en cart page */
.htl-cart-page .htl-cart-drawer__empty { padding: 80px 24px; flex: 1; }

/* ▸ style.css L6295 */
/* ─── Cart item layout en mobile — SOLO cart PAGE (drawer queda como estaba)
   En 375-400px viewport con la cart page wrapper de 12px padding, queremos la
   imagen pegada al borde izquierdo y más ancho para título/opciones. */
@media (max-width: 749px) {
  .htl-cart-page .htl-cart-drawer__items { padding: 8px 0 !important; }
  .htl-cart-page .htl-cart-drawer__item {
      grid-template-columns: 72px 1fr auto;
      gap: 10px;
      margin: 0;
      padding: 16px 0;
    }
  .htl-cart-page .htl-cart-drawer__item-imglink { width: 72px; }
  .htl-cart-page .htl-cart-drawer__item-title,
    .htl-cart-page .htl-cart-drawer__item-title:link,
    .htl-cart-page .htl-cart-drawer__item-title:visited { font-size: 14px !important; line-height: 1.25; }
  .htl-cart-page .htl-cart-drawer__item-options { font-size: 13px; }
  .htl-cart-page .htl-cart-drawer__item-price { font-size: 14px; }
  .htl-cart-page .htl-cart-drawer__col-headers { padding-left: 0; padding-right: 0; }
}

/* ▸ style.css L6744 */
/* Cart drawer: panel acepta pan vertical interno (para que se vea la lista de
   items si hay muchos). El body interno scrollea. */
html.htl-scroll-locked .htl-cart-drawer__panel { touch-action: pan-y !important; }

/* ▸ style.css L6745 */
html.htl-scroll-locked .htl-cart-drawer__body { touch-action: pan-y !important; }

/* ▸ style.css L8778 */
/* ═══════════════════════════════════════════════════════════════════════════
   TIPOGRAFIA DEL CARRITO Y DEL MENU HAMBURGUESA   (2026-09-04)
   ═══════════════════════════════════════════════════════════════════════════
   Los dos paneles quedaban en la tipografia vieja mientras el resto del sitio
   ya era Montserrat: el carrito con los titulos en Cardo y los datos en Besley,
   y el menu con los items en Cardo.

   SOLO la familia. Ni un tamano, ni un color, ni un peso, ni un espaciado.

   ALCANCE: los dos paneles propios (.htl-cart-drawer y .htl-menu-drawer), que
   viven en functions.php. Nada mas del sitio los usa.

   Se excluye <svg> y su contenido: los iconos (-, +, tacho, X) son SVG y no
   tienen tipografia que cambiar.

   No se tocan ::before/::after con un selector universal A PROPOSITO: eso
   pisaria las tipografias de iconos. Los unicos pseudo-elementos con texto de
   estos paneles son los placeholders, cubiertos aparte abajo.
   ═══════════════════════════════════════════════════════════════════════════ */
body .htl-cart-drawer,
body .htl-cart-drawer *:not(svg):not(svg *),
body .htl-menu-drawer,
body .htl-menu-drawer *:not(svg):not(svg *) {
  font-family: var(--htl-font-ui) !important;
}

/* ▸ style.css L8784 */
body .htl-cart-drawer ::placeholder,
body .htl-menu-drawer ::placeholder {
  font-family: var(--htl-font-ui) !important;
}

/* ▸ style.css L8805 */
/* ═══════════════════════════════════════════════════════════════════════════
   1 · CARRITO: los 4 nodos que quedaron fuera de Montserrat   (2026-09-04)
   ═══════════════════════════════════════════════════════════════════════════
   La regla general del cajon (body .htl-cart-drawer *) dejaba 4 elementos en la
   tipografia vieja: el titulo del item y el "Estimated total" en New York, y el
   monto y el boton Check out en Besley.

   ⚠️ Por que fallaba y por que esta regla si gana: la declaracion que competia
   NO es un `font-family` sino la abreviatura `font:` — que fija la familia
   entera y no aparece al buscar "font-family" en las hojas. Con `!important` de
   los dos lados manda la especificidad, y `*` (0,1,0 + el :not) perdia. Con dos
   clases (0,2,0) gana. Comprobado en el navegador antes de subirlo: la familia
   cambia y el tamano, el peso y el color quedan idénticos.

   SOLO la familia.
   ═══════════════════════════════════════════════════════════════════════════ */
body .htl-cart-drawer .htl-cart-drawer__item-title,
body .htl-cart-drawer .htl-cart-drawer__subtotal-label,
body .htl-cart-drawer .htl-cart-drawer__subtotal-value,
body .htl-cart-drawer .htl-cart-drawer__checkout {
  font-family: var(--htl-font-ui) !important;
}

/* ▸ style.css L8905 */
/* los que traen pseudo-clases con más peso que lo de arriba */
body .htl-cart-page .htl-cart-drawer__item-title,
body .htl-cart-page .htl-cart-drawer__item-title:link,
body .htl-cart-page .htl-cart-drawer__item-title:visited,
body .htl-cart-page .htl-cart-drawer__item-title:hover,
body .htl-cart-page .htl-cart-drawer__item-title:focus,
body .htl-cart-page .htl-cart-drawer__item-title:active,
body .htl-cart-page .htl-cart-drawer__checkout,
body .htl-cart-page .htl-cart-drawer__checkout:link,
body .htl-cart-page .htl-cart-drawer__checkout:visited,
body .htl-cart-page .htl-cart-drawer__checkout:hover,
body .htl-cart-page .htl-cart-drawer__checkout:focus,
body .htl-cart-page .htl-cart-drawer__checkout:active,
body .htl-cart-page .htl-cart-drawer__continue,
body .htl-cart-page .htl-cart-drawer__continue:hover,
body .htl-cart-page .htl-cart-drawer__continue:focus,
body .htl-cart-page .htl-cart-drawer__continue:active,
body .htl-cart-page .htl-cart-drawer__subtotal > :first-child,
body .htl-cart-page .htl-cart-drawer__subtotal > :last-child { font-family: var(--htl-font-ui) !important; }


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · el bloque de reseñas
   ════════════════════════════════════════════════════════════════════

   🔴 ESTAS REGLAS NO ESTABAN EN home-v2.css. El bloque de reseñas usa clases
   SIN prefijo —testimonial-card, carousel-inner, rv-stars—, heredadas del tema
   de Shopify del que el original importó su sitio, y viven en su style.css
   general de 313 kB. Al portar sólo home-v2.css, el marcado salía correcto y
   las tarjetas se apilaban a lo largo en vez de ir en carrusel.

   Se extrajeron por selector, no copiando el tramo del archivo: en ese tramo
   conviven reglas del carrito, del menú y de la tienda.

   ⚠️ Si alguna vez falta estilo en una pieza portada, el primer lugar donde
   mirar es si sus clases llevan prefijo. Las que no lo llevan vienen de la
   herencia de Shopify y su CSS está en otro archivo.
   ════════════════════════════════════════════════════════════════════ */

/* Hide WC star rating on loop (Shopify Dawn doesn't show stars per card) */
.htl-collection-grid ul.products li.product .star-rating,
.htl-collection-grid ul.products li.product .star-rating,
.htl-collection-grid ul.products li.product .woocommerce-product-rating,
.htl-collection-grid ul.products li.product .woocommerce-product-rating {
  display: none !important;
}

/* ============================================================
   Testimonials carousel
   ============================================================ */
.htl-testimonials {
  max-width: 900px;
  margin: 56px auto 80px;
  padding: 0 24px;
  text-align: center;
}

.htl-testimonials-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 0;
}

.htl-testimonials-carousel::-webkit-scrollbar { display: none; }

/* Home page sections: break out of Astra's .entry-content max-width
   to span the FULL viewport width like Shopify reference does. */
.home .entry-content[data-ast-blocks-layout] > .htl-home-hero,
.home .entry-content[data-ast-blocks-layout] > .htl-home-mobile-promo,
.home .entry-content[data-ast-blocks-layout] > .htl-home-rich-text,
.home .entry-content[data-ast-blocks-layout] > .htl-home-multirow,
.home .entry-content[data-ast-blocks-layout] > #htl-desktop-ring-promo,
.home .entry-content[data-ast-blocks-layout] > .htl-home-tutorial,
.home .entry-content[data-ast-blocks-layout] > .htl-home-featured,
.home .entry-content[data-ast-blocks-layout] > .htl-home-collection,
.home .entry-content[data-ast-blocks-layout] > .htl-home-icons-list,
.home .entry-content[data-ast-blocks-layout] > .htl-faqs,
.home .entry-content[data-ast-blocks-layout] > .htl-testimonials,
.home .entry-content[data-ast-blocks-layout] > .testimonial-section-apolo,
.home .entry-content[data-ast-blocks-layout] > #htl-trust-badges-desktop,
.home .entry-content[data-ast-blocks-layout] > .woocommerce,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-hero,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-mobile-promo,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-rich-text,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-multirow,
.page-id-29 .entry-content[data-ast-blocks-layout] > #htl-desktop-ring-promo,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-tutorial,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-featured,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-collection,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-icons-list,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-faqs,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-testimonials,
.page-id-29 .entry-content[data-ast-blocks-layout] > .testimonial-section-apolo,
.page-id-29 .entry-content[data-ast-blocks-layout] > #htl-trust-badges-desktop,
.page-id-29 .entry-content[data-ast-blocks-layout] > .woocommerce {
  max-width: 100vw !important;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* "You may also like" carousel en PDP — full-bleed scroll-snap horizontal.
   El ul.products rompe el max-width centrado del container padre y ocupa
   100vw (viewport completo) usando margin trick. Así cuando deslizás en mobile
   los productos aparecen DESDE el borde de la pantalla, no desde el gap blanco
   del content area centrado. */
.htl-collection-grid.single-product .related.products,
.htl-collection-grid.single-product .upsells.products {
  display: block !important;
}

/* ============================================================
   TANDA 4 — testimonial-section-apolo (reviews_full.liquid replica)
   Source: sections/reviews_full.liquid del theme export Shopify.
   Single card visible at a time, prev/next + dots + autoplay 5s + swipe.
   ============================================================ */
.testimonial-section-apolo * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.testimonial-section-apolo {
  /* Shopify exact: section is ~333px total. Compact padding. */
  padding: 20px 10px;
}

.testimonial-section-apolo .container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-section-apolo .testimonial-container {
  position: relative;
  padding: 0 1rem;
}

.testimonial-section-apolo .carousel {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.testimonial-section-apolo .carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-section-apolo .testimonial-card {
  width: 100%;
  flex-shrink: 0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.testimonial-section-apolo .card-content {
  padding: 1.25rem;
}

@media (min-width: 768px) {
.testimonial-section-apolo .card-content { padding: 1.25rem 1.75rem; }
}

.testimonial-section-apolo .testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
.testimonial-section-apolo .testimonial-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
}

.testimonial-section-apolo .avatar-container { flex-shrink: 0; }

.testimonial-section-apolo .avatar,
.testimonial-section-apolo .placeholder-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.testimonial-section-apolo .placeholder-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.testimonial-section-apolo .testimonial-body {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
.testimonial-section-apolo .testimonial-body { text-align: left; }
}

.testimonial-section-apolo .rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
.testimonial-section-apolo .rating { justify-content: flex-start; }
}

/* Stars rating — Shopify exact: 17px Times serif, #121212BF (75% alpha navy) */
.testimonial-section-apolo .rating,
.testimonial-section-apolo .rv-stars,
.testimonial-section-apolo .stars {
  font-size: 17px !important;
  font-family: Times, "Times New Roman", serif !important;
  color: rgba(18, 18, 18, 0.75) !important;
  line-height: 1 !important;
}

/* Quote — Shopify exact: 12.5px Besley serif italic, #334155, margin-bottom 15px */
.testimonial-section-apolo .quote,
.testimonial-section-apolo blockquote.quote {
  font-style: italic !important;
  font-family: var(--htl-font-body) !important;
  font-size: 12.5px !important;
  color: #334155 !important;
  margin: 0 0 15px !important;
  line-height: 1.7 !important;
}

/* Author name h4 — Shopify exact: 11.25px New York, #1E293B, margin-bottom 2.5px */
.testimonial-section-apolo .author-name,
.testimonial-section-apolo h4.author-name {
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif !important;
  font-size: 11.25px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin: 0 0 2.5px !important;
}

/* Location p.author-info — Shopify exact: 16px Besley serif, #64748B */
.testimonial-section-apolo .author-location,
.testimonial-section-apolo .author-info,
.testimonial-section-apolo p.author-info {
  font-family: var(--htl-font-body) !important;
  font-size: 16px !important;
  color: #64748B !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}

.testimonial-section-apolo .carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

/* Hide dots pagination on desktop — Shopify only shows prev/next arrows */
@media (min-width: 750px) {
.testimonial-section-apolo .carousel-dots { display: none !important; }
}

.testimonial-section-apolo .carousel-button {
  /* Shopify exact: 25×25 round buttons, #FFF bg, #000 icon, 13.33px Arial */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px !important;
  height: 25px !important;
  padding: 0 !important;
  border-radius: 50%;
  background-color: #FFFFFF !important;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  color: #000000 !important;
  font-family: Arial, sans-serif;
  font-size: 13.3333px;
  line-height: 1;
}

.testimonial-section-apolo .carousel-button svg {
  width: 14px;
  height: 14px;
}

.testimonial-section-apolo .carousel-button:hover { background-color: #f8fafc !important; }

.testimonial-section-apolo .carousel-button:focus,
.testimonial-section-apolo .carousel-button:focus-visible,
.testimonial-section-apolo .carousel-button:active {
  outline: none !important;
  box-shadow: none !important;
  background-color: #FFFFFF !important;
}

.testimonial-section-apolo .carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.testimonial-section-apolo .dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* ─── Testimonial carousel: clipping en el WRAPPER, no en el inner ──────
   IMPORTANTE: overflow-hidden tiene que estar en .carousel (el wrapper),
   NUNCA en .carousel-inner ni en #testimonialCarousel-* (el inner es flex
   container de 600% de ancho — overflow:hidden ahí clipea los cards 2-6
   antes de que el translateX los pueda traer a la vista). */
.testimonial-container {
  overflow-x: hidden;
}

.testimonial-section-apolo .carousel {
  overflow: hidden !important;
}

@media (max-width: 749px) {
/* ── A. Ocultar secciones desktop-only en mobile (mirror Shopify) ──────── */
  body.home .htl-home-rich-text--arms,
  body.home .htl-home-multirow,
  body.home .htl-home-tutorial,
  body.home .htl-home-featured,
  body.home .htl-home-rich-text--arrives,
  body.home .htl-home-icons-list,
  body.home .htl-home-rich-text--trusted
  /* .testimonial-section-apolo SALIÓ DE ESTA LISTA el 2026-11-05.
     Es la lista del otro negocio de «secciones desktop-only en mobile»: allá
     cada bloque escondido tiene su reemplazo para teléfono y acá el carrusel
     de reseñas NO lo tiene, así que la sección quedaba con el título colgado
     y nada debajo. Se saca de la lista en vez de taparlo con un override:
     probé con !important y más especificidad en la última hoja y el navegador
     seguía aplicando el none. Si no debe esconderse, no va en la lista. */
  /* y #htl-reviews TAMPOCO: es el MISMO elemento que
     .testimonial-section-apolo, que además lleva ese id. Sacar sólo la
     clase no alcanzaba: un id gana por especificidad contra cualquier
     selector de clases, así que el bloque seguía escondido aunque la clase
     ya no estuviera en la lista. */
  {
    display: none !important;
  }
/* ── C. Testimonial carousel — clipping en wrapper (NO en inner) ────── */
  .testimonial-container { overflow-x: hidden !important; }
/* ── O. Product page (PDP) en mobile — ocultar thumbnails del gallery carousel.
         Existing rule tiene `.flex-control-thumbs.has-overflow` (4 classes); usamos
         5 classes para ganarle. */
  html body.single-product .woocommerce-product-gallery .flex-control-nav,
  html body.single-product .woocommerce-product-gallery .flex-control-thumbs,
  html body.single-product .woocommerce-product-gallery .flex-control-thumbs.has-overflow,
  html body.htl-funnel-product-wrap .woocommerce-product-gallery .flex-control-thumbs,
  html body.htl-funnel-product-wrap .woocommerce-product-gallery .flex-control-thumbs.has-overflow,
  /* Hide ALSO main image carousel arrows (flex-direction-nav + flex-prev/next)
     AND the thumb-strip arrows (htl-thumbs-arrow) */
  html body.single-product .woocommerce-product-gallery .flex-direction-nav,
  html body.single-product .woocommerce-product-gallery .flex-prev,
  html body.single-product .woocommerce-product-gallery .flex-next,
  html body.single-product .htl-thumbs-arrow,
  html body.single-product .htl-thumbs-arrow--prev,
  html body.single-product .htl-thumbs-arrow--next {
    display: none !important;
  }
/* Hide the original WC product title AND the custom htl-home-featured__title
     + reviews block from the product mu-plugin (we render hpt-title + hpt-stars-row
     above the gallery instead — see .hpt-wrap). Also hide the .hg-badge (90-Day
     Satisfaction Guarantee) that lives inside the product card — the funnel page
     has its own guarantee section at the bottom, so the in-card one is redundant.
     Also hide section.related (WC's "You may also like" carousel) — funnels should
     not cross-sell other products. */
  body .htl-funnel-product-wrap .product_title,
  body .htl-funnel-product-wrap h1.entry-title,
  body .htl-funnel-product-wrap .product-title,
  body .htl-funnel-product-wrap .htl-home-featured__title,
  body .htl-funnel-product-wrap .htl-home-featured__reviews,
  body .htl-funnel-product-wrap .hg-badge,
  body .htl-funnel-product-wrap section.related,
  body .htl-funnel-product-wrap .related.products,
  /* In-card "Only X family spots left today!" pill from el original-product-
     content.php (only rendered for product 136). On the funnel we already
     show a top spots pill (.htl-funnel-spots) right below the price, so the
     in-card one is a duplicate. */
  body .htl-funnel-product-wrap .htl-spots,
  /* Section partial heritage-related-products.php renders a SECOND "You may
     also like" block OUTSIDE .htl-funnel-product-wrap. Hide it on funnel pages. */
  body.htl-funnel-with-header .htl-funnel-related-wrap,
  /* heritage-extra-content-origins.php / heritage-extra-content.php render a
     legacy .hx-faq-section that duplicates the .htl-faqs above (the .htl-faqs is
     the canonical one). Hide the legacy duplicate. */
  body.htl-funnel-with-header .hx-faq-section {
    display: none !important;
  }
/* Hide the funnel-specific UI bits that don't apply to upsells, plus the
     heavy marketing / FAQ / testimonial / rich-text content that ships with the
     standard product page render. Upsells stay slim: gallery + title + price +
     variants + ADD TO CART. */
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .hg-badge,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-spots,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-funnel-spots,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-funnel-cd,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-funnel-limited,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-extra-slots-wrap,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap section.related,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .related.products,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-marketing-sections,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-marketing-section,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-faqs,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-home-rich-text,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .testimonial-section-apolo,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-testimonials,
  body.htl-funnel-with-header .htl-funnel-upsell-wrap .htl-accordion-product {
    display: none !important;
  }
/* "You may also like" (related products) — horizontal scroll carousel en mobile,
     no grid single column. Misma técnica que home featured carousel. */
  html body.single-product .related.products ul.products,
  html body.single-product .related ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px !important;
    margin: 0 !important;
    gap: 0 !important;
    box-sizing: border-box;
  }
/* Testimonial carousel reviews — match Shopify exact:
     - .carousel container con overflow: hidden
     - .carousel-inner con display: flex + transition: transform 0.5s
     - Cada .testimonial-card width: 100%; flex-shrink: 0
     - JS controla navigation via translateX(-index * 100%)
     - Swipe via touchstart/touchend events */
  html body.single-product .testimonial-section-apolo,
  html body.htl-funnel-product-wrap .testimonial-section-apolo {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 16px 16px 32px !important;
    box-sizing: border-box;
  }
html body.single-product .testimonial-section-apolo .testimonial-container,
  html body.htl-funnel-product-wrap .testimonial-section-apolo .testimonial-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    height: auto !important;
    padding: 0 !important;
    position: relative;
  }
html body.single-product .testimonial-section-apolo .carousel,
  html body.htl-funnel-product-wrap .testimonial-section-apolo .carousel {
    overflow: hidden !important;
    position: relative;
  }
html body.single-product .testimonial-section-apolo .carousel-inner,
  html body.htl-funnel-product-wrap .testimonial-section-apolo .carousel-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    transition: transform 0.5s ease-in-out;
    width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
    scroll-snap-type: none !important;
  }
html body.single-product .testimonial-section-apolo .testimonial-card,
  html body.htl-funnel-product-wrap .testimonial-section-apolo .testimonial-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    scroll-snap-align: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIPOGRAFÍA DE LAS PÁGINAS DE PRODUCTO · una sola familia   (2026-09-04)
   ═══════════════════════════════════════════════════════════════════════════
   Medido en /product/the-full-family-package-limited-edition/ antes del cambio:
   SIETE familias conviviendo en el contenido — Besley ×131, Inter ×22,
   New York ×18, Montserrat ×16, Times ×10, Cardo ×9 y ui-sans-serif ×2. Las dos
   últimas ni siquiera son de la marca: ui-sans-serif es la que ponga el sistema
   operativo del visitante, y Times aparece como respaldo de algo que no carga.
   El mismo desorden en todos los productos físicos.
   (El Heritage Volume ya venía en Montserrat ×101: usa la plantilla nueva.)

   Es la regla escrita del sistema visual: UNA SOLA FAMILIA, cambia el PESO y no
   la fuente.

   ⚠️ SÓLO la familia. Ni un tamaño, ni un color, ni un peso.

   ⚠️ ALCANCE: el .ast-article-single de las páginas de producto. Verificado que
      TODO el contenido vive ahí —summary, marketing, FAQs, reseñas,
      relacionados— y que la CABECERA y el PIE quedan afuera: son chrome del
      sitio, compartido con todas las páginas, y no entran en este pedido.

   ⚠️ EL FUNNEL NO ENTRA: su body no es single-product (verificado), aunque
      contiene siete .ast-article-single de los [product_page] embebidos. El
      discriminante es la clase del BODY, no el contenedor.

   🔴 SE EXCLUYEN LAS ESTRELLAS (.rating, .rv-stars, .htl-home-featured__stars).
      El carácter ★ (U+2605) no existe en ninguna de estas tipografías: siempre
      cae a un respaldo del sistema. Cambiar la familia declarada cambia CUÁL
      respaldo se usa y con eso el dibujo y el ancho de la calificación. Se dejan
      exactamente como están.

   ⚠️ No se tocan los pseudo-elementos: los únicos visibles con texto son los
      chevrones › del acordeón, en Arial. Eso es un glifo, no tipografía.
   ═══════════════════════════════════════════════════════════════════════════ */
body.single-product .ast-article-single,
body.single-product .ast-article-single *:not(svg):not(svg *):not(.rating):not(.rating *):not(.rv-stars):not(.htl-home-featured__stars) {
  font-family: var(--htl-font-ui) !important;
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · Our Collection y la grilla de tarjetas
   ════════════════════════════════════════════════════════════════════
   Extraído por selector de su style.css de 313 kB, no copiando un tramo: en
   ese archivo conviven las reglas de la tienda con las del carrito y el menú.
   La clase .htl-collection-grid la pone functions.php en el <body> de la
   portada, los archivos de categoría, la tienda, las fichas y la búsqueda: es
   la que hace que la tarjeta se vea igual en los seis lugares.
   ════════════════════════════════════════════════════════════════════ */

/* ============================================================
   WC product card override — Shopify Dawn parity for collection grid
   ============================================================ */
.htl-collection-grid ul.products li.product,
.htl-collection-grid ul.products li.product,
.woocommerce-archive ul.products li.product {
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  position: relative;
}

/* Hide Astra-injected category label + Astra icon button on loop cards */
.htl-collection-grid ul.products li.product .ast-woo-product-category,
.htl-collection-grid ul.products li.product .ast-on-card-button {
  display: none !important;
}

/* Hide the secondary WC "Add to cart" / "Select options" text button that
   Astra renders BELOW the price block. Shopify Dawn cards never show a button. */
.htl-collection-grid ul.products li.product .button,
.htl-collection-grid ul.products li.product .add_to_cart_button,
.htl-collection-grid ul.products li.product .product_type_variable,
.htl-collection-grid ul.products li.product .product_type_simple,
.htl-collection-grid ul.products li.product .wp-block-button,
.htl-collection-grid ul.products li.product .added_to_cart {
  display: none !important;
}

/* Sale badge: HIDDEN — Shopify Dawn does not show this badge on cards */
.htl-collection-grid ul.products li.product .ast-onsale-card,
.htl-collection-grid ul.products li.product .ast-onsale-card,
.htl-collection-grid ul.products li.product .onsale,
.htl-collection-grid ul.products li.product .onsale,
.woocommerce ul.products li.product .ast-onsale-card,
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .ast-on-card-button {
  display: none !important;
}

/* Card image wrapper — portrait 4:5 (Shopify Dawn default), contain (no crop) */
.htl-collection-grid ul.products li.product .astra-shop-thumbnail-wrap,
.htl-collection-grid ul.products li.product .astra-shop-thumbnail-wrap,
.htl-collection-grid ul.products li.product .woocommerce-loop-product__link,
.htl-collection-grid ul.products li.product .woocommerce-loop-product__link {
  position: relative;
  display: block;
  background: #FFFFFF;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.htl-collection-grid ul.products li.product .astra-shop-thumbnail-wrap img,
.htl-collection-grid ul.products li.product .woocommerce-loop-product__link img,
.htl-collection-grid ul.products li.product img[class*="attachment-woocommerce"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  transition: transform 0.6s ease;
}

/* Hover zoom: subtle scale on the image when hovering the card */
.htl-collection-grid ul.products li.product:hover .astra-shop-thumbnail-wrap img,
.htl-collection-grid ul.products li.product:hover .woocommerce-loop-product__link img,
.htl-collection-grid ul.products li.product:hover img[class*="attachment-woocommerce"] {
  transform: scale(1.03);
}

/* Title — Cardo serif center, weight 400 — 13px tight to image */
.htl-collection-grid ul.products li.product .woocommerce-loop-product__title,
.htl-collection-grid ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--htl-font-heading) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  text-align: center !important;
  margin: 4px 0 2px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  /* padding-bottom: 6px gives the underline room to draw inside the H2 box.
     Without this, the underline (drawn below text baseline) gets clipped by
     `overflow: hidden` which is needed for the ellipsis truncation. */
  padding: 0 0 6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Force title link to BLACK in all states — kill Astra default blue */
.htl-collection-grid ul.products li.product a,
.htl-collection-grid ul.products li.product a,
.htl-collection-grid ul.products li.product a:link,
.htl-collection-grid ul.products li.product a:link,
.htl-collection-grid ul.products li.product a:visited,
.htl-collection-grid ul.products li.product a:visited,
.htl-collection-grid ul.products li.product a:hover,
.htl-collection-grid ul.products li.product a:hover,
.htl-collection-grid ul.products li.product a:focus,
.htl-collection-grid ul.products li.product a:focus {
  color: #121212 !important;
  text-decoration: none !important;
}

.htl-collection-grid ul.products li.product a .woocommerce-loop-product__title,
.htl-collection-grid ul.products li.product a .woocommerce-loop-product__title,
.htl-collection-grid ul.products li.product a:visited .woocommerce-loop-product__title,
.htl-collection-grid ul.products li.product a:visited .woocommerce-loop-product__title {
  color: #121212 !important;
}

/* Underline product title on hover — SOLO en devices con mouse real
   (`@media (hover: hover)`). En mobile/touch, `:hover` se queda "sticky"
   después del tap y produce un subrayado fantasma que confunde al user.
   Esta regla solo se evalúa en cursor-driven UAs. */
@media (hover: hover) {
.htl-collection-grid ul.products li.product:hover .woocommerce-loop-product__title,
  .htl-collection-grid ul.products li.product:focus-within .woocommerce-loop-product__title,
  .htl-collection-grid ul.products li.product:hover a .woocommerce-loop-product__title,
  .htl-collection-grid ul.products li.product a:hover .woocommerce-loop-product__title,
  .htl-collection-grid ul.products li.product:hover .ast-loop-product__link .woocommerce-loop-product__title,
  .htl-collection-grid ul.products li.product:hover .woocommerce-LoopProduct-link .woocommerce-loop-product__title {
    color: #121212 !important;
    text-decoration-line: underline !important;
    text-decoration-color: #121212 !important;
    text-decoration-style: solid !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
  }
}

/* Price block — center, sale price larger black, compare-at smaller RED strike */
.htl-collection-grid ul.products li.product .price,
.htl-collection-grid ul.products li.product .price {
  display: flex !important;
  justify-content: center !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin: 0 !important;
  text-align: center !important;
  font-family: var(--htl-font-body) !important;
}

.htl-collection-grid ul.products li.product .price del,
.htl-collection-grid ul.products li.product .price del,
.htl-collection-grid ul.products li.product .price del .amount,
.htl-collection-grid ul.products li.product .price del .amount {
  text-decoration: line-through !important;
  color: #BD1700 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.htl-collection-grid ul.products li.product .price ins,
.htl-collection-grid ul.products li.product .price ins,
.htl-collection-grid ul.products li.product .price ins .amount,
.htl-collection-grid ul.products li.product .price ins .amount,
.htl-collection-grid ul.products li.product .price ins .htl-from-prefix,
.htl-collection-grid ul.products li.product .price ins .htl-from-prefix {
  text-decoration: none !important;
  color: #121212 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  background: transparent !important;
}

.htl-collection-grid ul.products li.product .price > .amount,
.htl-collection-grid ul.products li.product .price > .amount {
  color: #121212 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

/* Hide WC star rating on loop (Shopify Dawn doesn't show stars per card) */
.htl-collection-grid ul.products li.product .star-rating,
.htl-collection-grid ul.products li.product .star-rating,
.htl-collection-grid ul.products li.product .woocommerce-product-rating,
.htl-collection-grid ul.products li.product .woocommerce-product-rating {
  display: none !important;
}

.htl-home-h2 {
  font-family: var(--htl-font-heading);
  color: var(--htl-navy);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 0 0 12px;
  text-align: center;
}

/* Home page sections: break out of Astra's .entry-content max-width
   to span the FULL viewport width like Shopify reference does. */
.home .entry-content[data-ast-blocks-layout] > .htl-home-hero,
.home .entry-content[data-ast-blocks-layout] > .htl-home-mobile-promo,
.home .entry-content[data-ast-blocks-layout] > .htl-home-rich-text,
.home .entry-content[data-ast-blocks-layout] > .htl-home-multirow,
.home .entry-content[data-ast-blocks-layout] > #htl-desktop-ring-promo,
.home .entry-content[data-ast-blocks-layout] > .htl-home-tutorial,
.home .entry-content[data-ast-blocks-layout] > .htl-home-featured,
.home .entry-content[data-ast-blocks-layout] > .htl-home-collection,
.home .entry-content[data-ast-blocks-layout] > .htl-home-icons-list,
.home .entry-content[data-ast-blocks-layout] > .htl-faqs,
.home .entry-content[data-ast-blocks-layout] > .htl-testimonials,
.home .entry-content[data-ast-blocks-layout] > .testimonial-section-apolo,
.home .entry-content[data-ast-blocks-layout] > #htl-trust-badges-desktop,
.home .entry-content[data-ast-blocks-layout] > .woocommerce,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-hero,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-mobile-promo,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-rich-text,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-multirow,
.page-id-29 .entry-content[data-ast-blocks-layout] > #htl-desktop-ring-promo,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-tutorial,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-featured,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-collection,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-icons-list,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-faqs,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-testimonials,
.page-id-29 .entry-content[data-ast-blocks-layout] > .testimonial-section-apolo,
.page-id-29 .entry-content[data-ast-blocks-layout] > #htl-trust-badges-desktop,
.page-id-29 .entry-content[data-ast-blocks-layout] > .woocommerce {
  max-width: 100vw !important;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* === SECTION 7: Our Collection === */
.htl-home-collection {
  padding: 64px 24px 16px;
  background: var(--htl-white);
  text-align: center;
}

.htl-home-collection__sub {
  font-family: var(--htl-font-ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--htl-text-soft);
  margin-top: 4px;
}

/* WC products grid (home + "Our Collection" archive) — all visual rules are
   defined ABOVE via `.htl-collection-grid ul.products li.product...`
   selectors, applied via body class added in functions.php to home + archive.
   This keeps the look 100% consistent (no duplicated rules drifting). */
.htl-collection-grid ul.products {
  max-width: 1240px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

/* Hide WC + Astra archive chrome on ANY page that has the htl-collection-grid
   body class: WC page title, breadcrumbs, result count, sort dropdown, term
   description, sale flash, Astra archive title bar. Keeps every grid page
   visually identical to the home section. */
.htl-collection-grid .woocommerce-products-header,
.htl-collection-grid .woocommerce-result-count,
.htl-collection-grid .woocommerce-ordering,
.htl-collection-grid .woocommerce-breadcrumb,
.htl-collection-grid .term-description,
.htl-collection-grid .ast-archive-description,
.htl-collection-grid ul.products li.product .onsale {
  display: none !important;
}

/* Page title visibility: hide on archives (handled by our-collection custom
   template), but DON'T touch single product pages (they need the H1 title) */
.htl-collection-grid.archive .page-title,
.htl-collection-grid.tax-product_cat .page-title,
.htl-collection-grid.tax-product_tag .page-title,
.htl-collection-grid.search .page-title {
  display: none !important;
}

/* "Our Collection" / All Products archive: tighten the gap between the
   header and the "Our collection" title. The archive page has no entry
   content above the section, so the home's larger top padding looks too airy. */
.tax-product_cat.htl-collection-grid .ast-woocommerce-container,
.tax-product_cat.htl-collection-grid .site-content > .ast-container {
  padding-top: 0 !important;
}

.tax-product_cat.htl-collection-grid .htl-home-collection {
  padding-top: 16px !important;
  padding-bottom: 0 !important;
}

/* "Our Collection" / All Products archive: wider grid container (1654px max)
   to match Shopify reference. Home stays at default 1240px. Only applies to
   the category archive body class.
   Astra ships with a 1240px ceiling on `.ast-woo-shop-archive .ast-container`
   that we need to lift first, otherwise the inner grid stays capped. */
.tax-product_cat.htl-collection-grid .site-content > .ast-container,
.tax-product_cat.htl-collection-grid .ast-woocommerce-container,
.tax-product_cat.htl-collection-grid .htl-our-collection-page {
  max-width: 1654px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.tax-product_cat.htl-collection-grid ul.products,
.tax-product_cat.htl-collection-grid .products {
  max-width: 1654px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================================
   HOME "Our Collection" — DESKTOP-ONLY reorder + add Hat/Tee.
   Mobile (<750px): Hat(1356) + Tee(59) hidden, original 9-product
   order preserved (untouched). Desktop (>=750px): CSS order =
   Origins, LE, Only Coat, Dual, Signet, Women's, Pendant, Banner,
   Hat, Tee, Legacy. Scoped to body.page-id-29 so the
   /product-category/our-collection/ archive is NOT affected. */
@media (max-width: 749px) {
body.page-id-29.htl-collection-grid ul.products li.product.post-1356,
  body.page-id-29.htl-collection-grid ul.products li.product.post-59 {
    display: none !important;
  }
}

@media (min-width: 750px) {
body.page-id-29.htl-collection-grid ul.products li.product.post-170  { order: 1; }
body.page-id-29.htl-collection-grid ul.products li.product.post-136  { order: 2; }
body.page-id-29.htl-collection-grid ul.products li.product.post-103  { order: 3; }
body.page-id-29.htl-collection-grid ul.products li.product.post-48   { order: 4; }
body.page-id-29.htl-collection-grid ul.products li.product.post-106  { order: 5; }
body.page-id-29.htl-collection-grid ul.products li.product.post-178  { order: 6; }
body.page-id-29.htl-collection-grid ul.products li.product.post-88   { order: 7; }
body.page-id-29.htl-collection-grid ul.products li.product.post-54   { order: 8; }
body.page-id-29.htl-collection-grid ul.products li.product.post-1356 { order: 9; }
body.page-id-29.htl-collection-grid ul.products li.product.post-59   { order: 10; }
body.page-id-29.htl-collection-grid ul.products li.product.post-1313 { order: 11; }
}

/* "Related products" heading on single product page — match Shopify look */
.htl-collection-grid.single-product .related.products > h2,
.htl-collection-grid.single-product .upsells.products > h2,
.htl-collection-grid.woocommerce-cart .cross-sells > h2 {
  font-family: "New York", "Iowan Old Style", Baskerville, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  text-align: center !important;
  margin: 60px 0 24px !important;
  letter-spacing: 0 !important;
}

/* "You may also like" carousel en PDP — full-bleed scroll-snap horizontal.
   El ul.products rompe el max-width centrado del container padre y ocupa
   100vw (viewport completo) usando margin trick. Así cuando deslizás en mobile
   los productos aparecen DESDE el borde de la pantalla, no desde el gap blanco
   del content area centrado. */
.htl-collection-grid.single-product .related.products,
.htl-collection-grid.single-product .upsells.products {
  display: block !important;
}

.htl-collection-grid.single-product .related.products ul.products,
.htl-collection-grid.single-product .upsells.products ul.products {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  padding: 8px 0 16px !important;
  /* Full-bleed: rompe el max-width del container padre, ocupa 100vw */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.htl-collection-grid.single-product .related.products ul.products::-webkit-scrollbar,
.htl-collection-grid.single-product .upsells.products ul.products::-webkit-scrollbar {
  display: none;
}

/* li.product: scroll-snap + flex-shrink siempre. Width SOLO en desktop
   (mobile tiene su propio width:220px ya seteado en @media max-width 749px).
   Sin width explícita en desktop, los items toman natural 25% del ul.products
   que es 100vw → ~400px por card en monitores grandes = enorme + no parece
   carrusel. Forzamos 280px que matchea spec Shopify (~4 cards visibles en 1280
   viewport con horizontal scroll para más). */
.htl-collection-grid.single-product .related.products ul.products li.product,
.htl-collection-grid.single-product .upsells.products ul.products li.product {
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (min-width: 750px) {
/* `safe center` centra los items cuando entran todos en el viewport (caso 4
     productos) y cae a flex-start automáticamente cuando los items overflowean
     (caso 8 productos) para que el scroll funcione bien. Browser support
     Chrome 93+ / Firefox 63+ / Safari 16+ — fallback natural a flex-start
     en browsers viejos. */
  .htl-collection-grid.single-product .related.products ul.products,
  .htl-collection-grid.single-product .upsells.products ul.products {
    justify-content: safe center !important;
  }
.htl-collection-grid.single-product .related.products ul.products li.product,
  .htl-collection-grid.single-product .upsells.products ul.products li.product {
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 8px !important;
  }
}

/* Funnel related products wrap — container only.
   The actual card styling (typography, hover, sale strike) comes from
   .htl-collection-grid rules above. We re-declare the grid layout here because
   the `.htl-collection-grid .products` rule applies but `.htl-collection-grid
   .related.products` has higher specificity in some WC contexts. */
.htl-funnel-related-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

/* WC + .htl-collection-grid both add display: grid to .related.products which
   then collapses its children (h2, ul.products) into auto-sized columns.
   Force block here so h2 stacks above the full-width ul.products grid. */
.htl-funnel-related-wrap .related.products {
  display: block !important;
}

/* === featured-collection wrapper (Our Collection) ===
   Source: sections/featured-collection.liquid + template-collection.css
   padding 52px desktop / 39px mobile (×0.75 factor)
   grid 4-col-desktop / 1-col-tablet-down — sin slider */
.htl-home-collection {
  padding: 39px 24px;
  background: #ffffff;
}

@media (min-width: 750px) {
.htl-home-collection {
    padding: 52px 50px;
  }
}

.htl-home-collection__heading {
  /* Shopify Dawn exact: 40px New York system serif / #121212 / mb 10px */
  text-align: center;
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif !important;
  font-size: 40px !important;
  font-weight: 400 !important;
  color: #121212 !important;
  margin: 0 0 10px !important;
  letter-spacing: normal !important;
  line-height: 1.2 !important;
}

.htl-home-collection__sub {
  /* Shopify Dawn exact: 16px Besley serif / #121212BF (75% alpha navy) */
  text-align: center;
  font-family: var(--htl-font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: rgba(18, 18, 18, 0.75) !important;
  margin: 0 0 12px !important;
  line-height: 1.8 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* WC [products] shortcode grid — Shopify Dawn: uniform gap ambos ejes (~10px) */
.htl-collection-grid .products,
.htl-collection-grid .products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1440px;
}

@media (min-width: 750px) {
.htl-collection-grid .products,
  .htl-collection-grid .products {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

/* Collection section padding match Shopify — tight side padding + small bottom to bring grid closer */
@media (min-width: 750px) {
.htl-home-collection {
    padding: 52px 10px 8px;
  }
}

.htl-collection-grid .products .product,
.htl-collection-grid .products .product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 749px) {
/* ── E. WC products SINGLE COLUMN en mobile (apilados vertical, full-width).
         Aplica a: home, category archive (/product-category/), shop, etc. */
  body.home .woocommerce ul.products.columns-4,
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products,
  body.woocommerce-shop ul.products,
  body.woocommerce-page ul.products,
  .htl-home-collection ul.products,
  ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }
body.home .woocommerce ul.products.columns-4 > li,
  body.tax-product_cat ul.products > li,
  body.post-type-archive-product ul.products > li,
  body.woocommerce-shop ul.products > li,
  body.woocommerce-page ul.products > li,
  .htl-home-collection ul.products > li,
  ul.products.columns-4 > li {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
body.home .woocommerce ul.products.columns-4 > li img,
  body.tax-product_cat ul.products > li img,
  body.post-type-archive-product ul.products > li img,
  body.woocommerce-shop ul.products > li img,
  body.woocommerce-page ul.products > li img,
  .htl-home-collection ul.products > li img,
  ul.products.columns-4 > li img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
/* ── M. "Our collection" archive page title — bold */
  body.tax-product_cat .htl-home-collection__heading,
  body.tax-product_cat .ast-archive-title,
  body.tax-product_cat h1.page-title,
  body.tax-product_cat h1.htl-home-h2 {
    font-weight: 700 !important;
  }
/* ── N. Category archive (Our Collection) — match home width.
         Outer containers a 0 padding, ul a 16px (igual que home). */
  body.tax-product_cat.htl-collection-grid .site-content > .ast-container,
  body.tax-product_cat.htl-collection-grid .ast-woocommerce-container,
  body.tax-product_cat.htl-collection-grid .htl-our-collection-page,
  body.tax-product_cat.htl-collection-grid .site-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
body.tax-product_cat.htl-collection-grid ul.products,
  body.tax-product_cat.htl-collection-grid .products {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
/* Kill aspect-ratio 4/5 (Shopify Dawn portrait card) en mobile.
     Desktop sí usa 4:5, pero mobile single-col se ve mejor con imagen square natural.
     Override con specificity igual al rule original (body.htl-collection-grid). */
  body.htl-collection-grid ul.products li.product .astra-shop-thumbnail-wrap,
  body.htl-collection-grid ul.products li.product .woocommerce-loop-product__link,
  body.htl-collection-grid ul.products li.product .woocommerce-LoopProduct-link,
  body.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
  body.woocommerce ul.products li.product .woocommerce-loop-product__link {
    aspect-ratio: auto !important;
    height: auto !important;
  }
body.htl-collection-grid ul.products li.product .astra-shop-thumbnail-wrap img,
  body.htl-collection-grid ul.products li.product .woocommerce-loop-product__link img,
  body.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img,
  body.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 0 !important;
  }
/* Title pegado a la imagen — alta specificity para ganarle a Astra/htl-collection-grid */
  body.htl-collection-grid ul.products li.product .astra-shop-summary-wrap,
  body ul.products li.product .astra-shop-summary-wrap {
    margin-top: 4px !important;
    padding-top: 0 !important;
  }
body.htl-collection-grid ul.products li.product .woocommerce-loop-product__title,
  body ul.products li.product .woocommerce-loop-product__title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }
/* ── I. "Our collection" wrapper + h2 + subtitle — Shopify spec:
         - wrapper: 390×76, margin 48px 0 25px (top push for breathing room from
           previous section), padding 0 16px
         - h2:       358×39, 30px serif #121212, margin 0 0 10px
         - p:        358×27, 15px Besley #121212BF */
  .htl-home-collection {
    margin: 48px 0 25px !important;
    padding: 0 16px !important;
  }
.htl-home-collection__heading {
    font-size: 30px !important;
    line-height: 1.3 !important;
    margin: 0 0 10px !important;
  }
.htl-home-collection__sub {
    font-size: 15px !important;
    line-height: 1.8 !important;  /* 15×1.8=27 (Shopify spec) */
  }
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · el header fijo y su compensación
   ════════════════════════════════════════════════════════════════════

   🔴 ESTE TRAMO FALTABA en el extracto del header, que traía la barra, la
   hamburguesa y el cajón del menú pero no el sistema del sticky.

   Lo que importa es tres líneas: el header es `position: fixed`, así que el
   `body` necesita un `padding-top` igual a su alto o los primeros 71 px de
   CADA página quedan tapados. Medido en la ficha de producto: el header mide
   71 y el breadcrumb arrancaba en 0.

   La variable `--htl-header-height` la escribe el JS del sticky midiendo el
   header real; el valor del `var()` es el respaldo para antes de que corra.
   ════════════════════════════════════════════════════════════════════ */

/* Body lock when drawer is open — prevents background scroll */
body.htl-menu-open {
  overflow: hidden;
}

/* Right section of mobile header: align items */
#ast-mobile-header .site-header-primary-section-right {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

/* Left section: hamburger now lives here (moved via JS), then logo */
#ast-mobile-header .site-header-primary-section-left {
  display: flex !important;
  align-items: center;
  gap: 16px;
}

/* Hamburger sits to the left of the logo */
#ast-mobile-header .site-header-primary-section-left [data-section="section-header-mobile-trigger"] {
  order: -1;
  margin-right: 4px;
}

/* ============================================================
   Smart Sticky Header — slide on scroll direction (Shopify Dawn parity)
   - Always fixed at top
   - Scroll down past THRESHOLD: slide up & hide
   - Scroll up: slide back in
   - Top of page: always visible, no shadow
   - Mobile menu open: never hide
   ============================================================ */
.site-header,
#masthead.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10100; /* above menu drawer (10000), BELOW cart drawer (10200) — cart drawer dim covers header (Shopify Dawn pattern) */
  background: #ffffff;
  transform: translateY(0) !important;
  transition: transform 0.25s ease-out, box-shadow 0.2s ease-out;
  will-change: transform;
}

.site-header.htl-header--hidden,
#masthead.site-header.htl-header--hidden {
  transform: translateY(-100%) !important;
}

.site-header.htl-header--at-top,
#masthead.site-header.htl-header--at-top {
  box-shadow: none;
}

.site-header:not(.htl-header--at-top),
#masthead.site-header:not(.htl-header--at-top) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header.htl-menu-open,
#masthead.site-header.htl-menu-open {
  transform: translateY(0) !important;
}

/* Push body content down so it isn't hidden under the fixed header */
body {
  padding-top: var(--htl-header-height, 71px);
}

@media (max-width: 749px) {
body {
    padding-top: var(--htl-header-height-mobile, 56px);
  }
}

/* Heritage funnel email popup: hide site header so user can click the X.
   Works on heritage-results AND heritage-results-origins (both render .hr-popup-bg). */
body:has(.hr-popup-bg.active) #masthead,
body:has(.hr-popup-bg.active) .site-header,
body:has(.hr-popup-bg.active) #ast-mobile-header {
  display: none !important;
}

@media (max-width: 749px) {
/* ── D. Astra header — fix 4px overflow ────────────────────────────────── */
  .ast-builder-grid-row,
  .ast-builder-grid-row-container,
  .site-header-primary-section-right {
    max-width: 100% !important;
    box-sizing: border-box;
  }
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · la columna de compra de la ficha
   ════════════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────────────
   PORTADO DEL SITIO ORIGINAL · la columna de compra de la ficha

   123 reglas sacadas de su style.css,
cortadas CONTANDO LLAVES —nunca por
   líneas— y renombradas fc- → htl- (349 prefijos,
cero sobrantes).

   Es la hoja que dibuja .htl-home-featured y todos los .htl-fp-*: el precio
   tachado,
los campos,
el botón ORDER NOW,
la insignia de garantía y el
   bloque de la galería.

   ⚠️ Hay reglas de sus funnels y de sus slots de «Add another Family» que acá
   no tienen a qué aplicarse. Se dejan tal cual: podar a ojo una hoja ajena es
   como se rompen las cosas que sí andaban. Se podan cuando se rediagrame.
   ────────────────────────────────────────────────────────────────────── */

/* Home page sections: break out of Astra's .entry-content max-width
   to span the FULL viewport width like Shopify reference does. */
.home .entry-content[data-ast-blocks-layout] > .htl-home-hero,
.home .entry-content[data-ast-blocks-layout] > .htl-home-mobile-promo,
.home .entry-content[data-ast-blocks-layout] > .htl-home-multirow,
.home .entry-content[data-ast-blocks-layout] > #htl-desktop-ring-promo,
.home .entry-content[data-ast-blocks-layout] > .htl-home-tutorial,
.home .entry-content[data-ast-blocks-layout] > .htl-home-featured,
.home .entry-content[data-ast-blocks-layout] > .htl-home-collection,
.home .entry-content[data-ast-blocks-layout] > .htl-home-icons-list,
.home .entry-content[data-ast-blocks-layout] > .htl-testimonials,
.home .entry-content[data-ast-blocks-layout] > .testimonial-section-apolo,
.home .entry-content[data-ast-blocks-layout] > #htl-trust-badges-desktop,
.home .entry-content[data-ast-blocks-layout] > .woocommerce,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-hero,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-mobile-promo,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-multirow,
.page-id-29 .entry-content[data-ast-blocks-layout] > #htl-desktop-ring-promo,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-tutorial,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-featured,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-collection,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-home-icons-list,
.page-id-29 .entry-content[data-ast-blocks-layout] > .htl-testimonials,
.page-id-29 .entry-content[data-ast-blocks-layout] > .testimonial-section-apolo,
.page-id-29 .entry-content[data-ast-blocks-layout] > #htl-trust-badges-desktop,
.page-id-29 .entry-content[data-ast-blocks-layout] > .woocommerce {
  max-width: 100vw !important;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* === SECTION 6: Featured Product — Shopify exact: bg white, padding 60 70, image square 572 === */
.htl-home-featured {
  padding: 36px 24px;
  background: #f6f6f6; /* gray bg like the multirow / "Arms" section */
}

@media (min-width: 750px) {
  .htl-home-featured {
      padding: 60px 50px;
    }
}

.htl-home-featured__inner {
  /* Spec Shopify: 1400 × 978.88 white card, padding 60px 70px */
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start; /* image flush with title top, not vertically centered */
  background: #ffffff;
  padding: 24px;
}

@media (min-width: 750px) {
  .htl-home-featured__inner {
      grid-template-columns: 693px 1fr; /* gallery fixed at Shopify spec 693px */
      gap: 60px;
      padding: 60px 70px;
    }
}

/* Bundle image stack — silver + gold stacked, crossfade by toggling .is-active class.
   Both images always rendered in DOM → swap is instant, no white flash.
   Spec Shopify: 693×693 */
.htl-home-featured__bundle-stack {
  position: relative;
  width: 100%;
  max-width: 693px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.htl-home-featured__bundle-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.htl-home-featured__bundle-img.is-active {
  opacity: 1;
}

.htl-home-featured__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.htl-home-featured__image img {
  width: 100%;
  max-width: 572px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  display: block;
}

.htl-home-featured__sale-row {
  display: flex;
  align-items: baseline; /* Prices on baseline (compare + sale stay aligned) */
  gap: 10px;
  margin-bottom: 8px;
}

.htl-home-featured__compare {
  /* Spec Shopify inspector: #BD1700 strikethrough, 21.6px Besley, weight 400, margin-right 10px */
  color: #BD1700 !important;
  font-family: var(--htl-font-body) !important;
  text-decoration: line-through !important;
  font-size: 21.6px !important;
  font-weight: 400 !important;
  margin: 0 10px 0 0 !important;
}

.htl-home-featured__price {
  /* Spec Shopify inspector: #121212 black, 27px Besley, weight 400 (no bold), margin-right 10px */
  color: #121212 !important;
  font-family: var(--htl-font-body) !important;
  font-size: 27px !important;
  font-weight: 400 !important;
  margin: 0 10px 0 0 !important;
}

.htl-home-featured__sale-pill {
  /* Spec Shopify inspector: 12px Besley, #FFFFFF on #112B3D, padding 5px 13px 6px, margin 0 0 5px
     Anchored to TOP of price row (not baseline) via align-self */
  background: #112B3D !important;
  background-color: #112B3D !important;
  color: #FFFFFF !important;
  font-family: var(--htl-font-body) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  padding: 5px 13px 6px !important;
  border-radius: 999px !important;
  letter-spacing: 0 !important;
  margin: 0 0 5px !important;
  display: inline-flex !important;
  align-items: center;
  line-height: 1;
  align-self: flex-start !important;
}

.htl-home-featured__content {
  /* Spec Shopify inspector: 16px Besley serif, color #121212BF (75% alpha) — applies to all child text */
  font-family: var(--htl-font-body);
  font-size: 16px;
  color: rgba(18, 18, 18, 0.75);
}

.htl-home-featured__title {
  /* Spec Shopify inspector: 40px "New York" serif, #121212, margin 0 0 15px */
  font-family: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif;
  color: #121212;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 15px;
  letter-spacing: 0;
}

@media (min-width: 750px) {
  .htl-home-featured__title {
      font-size: 40px;
    }
}

.htl-home-featured__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--htl-text);
  margin-bottom: 16px;
}

.htl-home-featured__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.htl-home-featured__bullets li {
  font-size: 14px;
  color: var(--htl-text);
  margin-bottom: 6px;
  line-height: 1.5;
}

.htl-home-featured__btn {
  /* Shopify Dawn "Add to cart" — full-width within column, 16px font, navy bg */
  display: block;
  width: 100%;
  background: var(--htl-navy);
  color: var(--htl-white) !important;
  font-family: var(--htl-font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.6px;
  text-transform: none;
  padding: 12px 30px;
  text-decoration: none;
  border: 1px solid var(--htl-navy);
  margin-bottom: 12px;
  text-align: center;
  min-height: 47px;
  line-height: 1.4;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.htl-home-featured__btn:hover {
  opacity: 0.9;
  color: var(--htl-white) !important;
}

.htl-home-featured__shipping {
  font-size: 12px;
  color: var(--htl-text-soft);
  margin: 8px 0 0;
}

/* ============================================================
   Featured Product — interactive picker components (matching Shopify exact)
   Banner top + gallery thumbnails + material chips + framing radios + name inputs + ring select
   ============================================================ */
.htl-home-featured__gallery {
  position: relative;
}

.htl-home-featured__bonuses-banner {
  background: var(--htl-navy);
  color: #ffffff;
  text-align: center;
  padding: 12px 16px;
  font-family: var(--htl-font-body);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.htl-home-featured__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.htl-home-featured__thumbnails {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
  font-family: var(--htl-font-body);
  font-size: 13px;
  color: var(--htl-text-soft);
  letter-spacing: 0.02em;
}

.htl-fp-thumb {
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.htl-fp-thumb:hover, .htl-fp-thumb.active {
  color: var(--htl-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Sale pill — Shopify usa pill negro pequeño (no rojo grande) */
.htl-home-featured__sale-pill {
  display: inline-flex;
  align-items: center;
  background: var(--htl-text);
  color: #ffffff;
  font-family: var(--htl-font-body);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 8px;
}

/* Compare-at price: solo red strikethrough */
.htl-home-featured__compare {
  color: var(--htl-red);
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 400;
}

/* Sale price: bold, black (no navy) */
.htl-home-featured__price {
  color: var(--htl-text);
  font-size: 28px;
  font-weight: 700;
}

/* Reviews row */
.htl-home-featured__reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 6px;
}

.htl-home-featured__stars {
  /* Spec Shopify inspector: #C9A84C gold, 18px Besley, letter-spacing 2px */
  color: #C9A84C !important;
  font-family: var(--htl-font-body) !important;
  font-size: 18px !important;
  letter-spacing: 2px !important;
  line-height: 1 !important;
}

.htl-home-featured__reviews-count {
  /* Spec Shopify inspector: 11.5px Besley, weight 600, underline, #333333
     Click does nothing — reviews system not built yet */
  color: #333333 !important;
  font-family: var(--htl-font-body) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  pointer-events: none;
  cursor: default;
}

/* Form (interactive picker) */
.htl-home-featured__form {
  margin-top: 16px;
}

.htl-fp-material-label {
  /* Spec Shopify inspector: 16px Besley #000, margin 16px 0 6px */
  font-family: var(--htl-font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #000000 !important;
  margin: 16px 0 6px !important;
}

.htl-fp-material-label span {
  /* Spec: 16px Besley #121212BF (75% alpha) — applied to #htl-fp-mat-name */
  font-family: var(--htl-font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: rgba(18, 18, 18, 0.75) !important;
}

.htl-fp-material-options {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.htl-fp-swatch-btn,
.htl-fp-swatch-btn:hover,
.htl-fp-swatch-btn:focus,
.htl-fp-swatch-btn:active,
.htl-fp-swatch-btn:focus-visible {
  /* Spec: 41×41 button with image filling FULL inner area — identical to frame swatch */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 80, 80, 0.44) !important;
  border-radius: 4px !important;
  padding: 0 !important;
  cursor: pointer;
  background: #ffffff !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s;
  width: 41px !important;
  height: 41px !important;
  min-height: 41px !important;
  flex-shrink: 0;
  overflow: hidden;
}

.htl-fp-swatch-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  transform-origin: center;
}

/* Material swatch images (rings/pendants) have internal whitespace baked into
   the source — zoom in so the product fills the button. Colour swatches
   (Tee/Wallet) are already framed tightly, so they DON'T get the zoom. */
.htl-fp-swatch-btn[data-material] img {
  transform: scale(1.35);
}

.htl-fp-swatch-btn.active,
.htl-fp-swatch-btn.active:hover,
.htl-fp-swatch-btn.active:focus,
.htl-fp-swatch-btn.active:active {
  /* Spec: active border #ad0000 1px (el rojo de su marca) — also red on hover when active */
  border-color: #ad0000 !important;
  border-width: 1px !important;
}

/* Section labels — spec: title 12px Besley #121212BF, asterisk 12px Besley #AD0000.
   Tight bottom margin so labels sit close to the controls below them. */
.htl-fp-section-label {
  font-family: var(--htl-font-body) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(18, 18, 18, 0.75) !important; /* #121212BF */
  margin: 16px 0 4px !important;
}

.htl-fp-section-label .htl-fp-section-title {
  font-family: var(--htl-font-body);
  font-size: 12px;
  color: rgba(18, 18, 18, 0.75);
}

.htl-fp-required {
  font-family: var(--htl-font-body);
  font-size: 12px;
  color: #AD0000;
  margin-left: 2px;
}

/* Framing options 2x2 grid — small square swatch + label OUTSIDE the button (same shape as ring)
   Right column packed closer using auto-content columns instead of 1fr 1fr */
.htl-fp-framing-grid {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 32px;
  row-gap: 12px;
  margin-bottom: 16px;
}

.htl-fp-frame-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.htl-fp-frame-swatch,
.htl-fp-frame-swatch:hover,
.htl-fp-frame-swatch:focus,
.htl-fp-frame-swatch:active,
.htl-fp-frame-swatch:focus-visible {
  /* Same outer size as ring material swatch (41×41). Image fills the FULL inner area. */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 80, 80, 0.44) !important;
  border-radius: 4px !important;
  padding: 0 !important;
  cursor: pointer;
  background: #ffffff !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s;
  flex-shrink: 0;
  min-height: 41px !important;
  height: 41px !important;
  width: 41px !important;
  overflow: hidden;
}

.htl-fp-frame-swatch.active,
.htl-fp-frame-swatch.active:hover,
.htl-fp-frame-swatch.active:focus {
  border-color: #AD0000 !important;
  border-width: 1px !important;
}

.htl-fp-frame-swatch img,
.htl-fp-frame-swatch .htl-fp-frame-swatch__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.htl-fp-frame-swatch__img--none {
  /* "No Frame" — empty white square */
  background: #ffffff;
}

.htl-fp-frame-option__label {
  /* Spec Shopify: 14px Besley #121212BF */
  font-family: var(--htl-font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(18, 18, 18, 0.75);
  line-height: 1;
}

/* Step 2 inputs */
.htl-fp-input,
.htl-fp-input:focus,
.htl-fp-input:hover {
  /* Spec Shopify inspector: padding 12px 8px, 53px tall, 16px Besley */
  display: block !important;
  width: 100% !important;
  padding: 12px 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-family: var(--htl-font-body) !important;
  background: #ffffff !important;
  color: rgba(18, 18, 18, 0.75) !important;
  margin-bottom: 10px !important;
  box-sizing: border-box;
  outline: none !important;
  min-height: 53px;
}

.htl-fp-input:focus {
  border-color: var(--htl-navy) !important;
}

/* Placeholder stays at the lighter default gray (~50% alpha) */
/* 🔴 ACÁ DECÍA BESLEY Y SALÍA UNA SERIF ADENTRO DEL CAMPO.
   Medido: el original computa Montserrat en su placeholder y acá computaba
   «Besley, Georgia, serif». La misma caja mostraba dos tipografías — el texto
   tecleado en Montserrat y el de ejemplo en serif.

   ⚠️ La regla de «una sola familia» (más abajo en este archivo) NO lo tapaba:
   su selector termina en `*`, que matchea ELEMENTOS, no pseudo-elementos. Un
   ::placeholder se le escapa. Por eso hay que decirlo acá.

   Allá el placeholder no declara familia y hereda la del campo; acá se dice
   explícito para que no vuelva a pasar con el próximo porte. */
.htl-fp-input::placeholder {
  color: rgba(18, 18, 18, 0.5) !important;
  opacity: 1;
  font-family: var(--htl-font-ui) !important;
  font-size: 16px !important;
}

.htl-fp-input::-webkit-input-placeholder {
  color: rgba(18, 18, 18, 0.5) !important;
}

.htl-fp-input::-moz-placeholder {
  color: rgba(18, 18, 18, 0.5) !important;
  opacity: 1;
}

/* Inline arms-choice radios */
.htl-fp-arms-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}

.htl-fp-radio-inline {
  /* Spec Shopify: 14px Besley #121212BF for label text */
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--htl-font-body);
  font-size: 14px;
  color: rgba(18, 18, 18, 0.75);
  line-height: 1.4;
  cursor: pointer;
}

.htl-fp-radio-inline input[type="radio"] {
  /* Custom radio (appearance: none) — full control over states so hover/focus
     have ZERO visual change. */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 17px !important;
  height: 17px !important;
  margin: 1px 0 0 0 !important;
  flex-shrink: 0;
  border-radius: 50% !important;
  border: 1.5px solid rgba(18, 18, 18, 0.5) !important;
  background: #ffffff !important;
  background-image: none !important;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  transition: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Checked: red border + red fill + white inner ring (bullet look). Locked across all states. */
.htl-fp-radio-inline input[type="radio"]:checked,
.htl-fp-radio-inline input[type="radio"]:checked:hover,
.htl-fp-radio-inline input[type="radio"]:checked:focus,
.htl-fp-radio-inline input[type="radio"]:checked:active,
.htl-fp-radio-inline input[type="radio"]:checked:focus-visible {
  border-color: #AD0000 !important;
  background: #AD0000 !important;
  background-image: none !important;
  box-shadow: inset 0 0 0 2.5px #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  outline: none !important;
}

/* Unchecked hover/focus: lock to default appearance, no tint */
.htl-fp-radio-inline input[type="radio"]:hover,
.htl-fp-radio-inline input[type="radio"]:focus,
.htl-fp-radio-inline input[type="radio"]:active,
.htl-fp-radio-inline input[type="radio"]:focus-visible {
  border-color: rgba(18, 18, 18, 0.5) !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  outline: none !important;
}

.htl-fp-radio-inline__title {
  /* 14px Besley #121212BF, wraps to ~2 lines per user preference */
  font-family: var(--htl-font-body);
  font-size: 14px;
  color: rgba(18, 18, 18, 0.75);
  line-height: 1.4;
  max-width: 220px;
  display: inline-block;
}

/* No hover state on the label wrapper (text). Radio styling is handled above
   and intentionally NOT touched here — touching `input[type="radio"]` from a
   parent :hover selector would override the checked red fill. */
.htl-fp-radio-inline:hover,
.htl-fp-radio-inline:hover .htl-fp-radio-inline__title {
  color: rgba(18, 18, 18, 0.75) !important;
  background: transparent !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* Error message — Spec Shopify inspector: 13px Besley #AD0000.
   Equal vertical margin above/below so it sits centered between input fields. */
.htl-fp-error-msg {
  font-family: var(--htl-font-body) !important;
  font-size: 13px !important;
  color: #AD0000 !important;
  margin: 10px 0 !important;
  padding: 0 !important;
  line-height: 1.4;
}

.htl-fp-error-msg__asterisk {
  color: #AD0000;
  font-weight: 400;
}

/* 🔴 LAS KEYFRAMES NO SE HABÍAN PORTADO.
   Las reglas de abajo decían `animation: fcFpShake` —el nombre del otro
   sitio— y ese @keyframes no existe en esta hoja. Una animación que apunta a
   unas keyframes inexistentes el navegador la IGNORA, sin un solo aviso: la
   clase se agregaba, el campo no temblaba, y parecía que el JavaScript no
   corría. Acá están, con el nombre de esta casa.

   6 px en un campo y 10 en una grilla, 1 s. Del original, tal cual. */
@keyframes htlFpShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% { transform: translate3d(-6px, 0, 0); }
  20%, 40%, 60%, 80% { transform: translate3d(6px, 0, 0); }
}
@keyframes htlFpShakeBig {
  0%, 100% { transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% { transform: translate3d(-10px, 0, 0); }
  20%, 40%, 60%, 80% { transform: translate3d(10px, 0, 0); }
}

/* ⚠️ ACÁ HABÍA UN BORDE ROJO PARA EL CAMPO EN ERROR, Y LO AGREGUÉ YO.
   Lo escribí creyendo que el original lo tenía; no lo tiene: allá el campo
   tiembla y aparece el aviso rojo debajo, pero el borde no cambia. El owner
   lo marcó el 2026-11-03 —«se pinta el perímetro, en el otro negocio no»— y
   tiene razón: el único cambio de borde que corresponde es el de :focus,
   cuando la persona entra a escribir.

   El error sigue sin depender sólo del color: el aviso es TEXTO, con su
   asterisco, debajo del campo. */

/* ⚠️ El «dd/mm/aaaa» de un campo de fecha NO es un placeholder: es el
   formato que dibuja el navegador, y toma el color DEL CAMPO (0,75), no el
   del placeholder (0,5). Por eso se ve más oscuro que el resto y parece otra
   tipografía. Se aclara mientras está vacío. `data-lleno` lo pone el JS de
   heritails-agregar.php. */
input[type="date"].htl-fp-input:not([data-lleno])::-webkit-datetime-edit {
  color: rgba(18, 18, 18, 0.5);
}

/* 🔴 EL CAMPO DE FECHA SALÍA MUCHO MÁS ALTO QUE LOS DEMÁS EN EL TELÉFONO.
   Reportado por el owner el 2026-11-05 con una captura de Safari en iPhone
   (/product/the-wedding-record/): «The wedding date» era una caja vacía de
   ~62 px donde «The first name» medía ~51. Al lado de dos campos normales se
   lee como un área de texto, no como una fecha.

   La causa es la apariencia nativa: en iOS un input[type=date] NO es una caja
   de texto, es un control propio con su relleno interno, y nuestro
   `padding: 12px 8px` se SUMA a ese relleno en vez de reemplazarlo. En
   Chrome de escritorio no pasa —de ahí que el responsive del inspector no lo
   muestre— y WebKit real no se puede abrir desde acá: el arreglo va por la
   causa, no por prueba y error.

     · appearance:none apaga el control nativo y deja la caja de texto.
     · La altura se FIJA en los mismos 53 px del resto. Con sólo min-height,
       la altura intrínseca de iOS sigue ganando.
     · ::-webkit-date-and-time-value es el renglón donde iOS escribe el valor,
       y viene centrado y con margen propio: alineado a la izquierda y sin
       margen, la fecha queda donde está el texto de los otros campos.

   ⚠️ El selector de fecha de iOS sigue abriéndose igual: appearance:none saca
   el dibujo, no el comportamiento. */
input[type="date"].htl-fp-input,
input[type="date"].htl-fp-input:focus,
input[type="date"].htl-fp-input:hover {
  -webkit-appearance: none !important;
  appearance: none !important;
  height: 53px !important;
  min-height: 53px !important;
  line-height: 1.2 !important;
  /* 🔴 LA FECHA YA ELEGIDA NO QUEDABA CENTRADA EN EL TELÉFONO (2026-11-06,
     captura del owner en /product/the-birthday-record/: «6 nov 2026» apoyado
     arriba en vez de en el medio de la caja).

     Y la causa es la línea de abajo, que puse yo: en iOS el renglón del valor
     se centra con un MARGEN que pone el propio navegador, y `margin: 0` se lo
     saca. Al sacarlo, el texto se va contra el borde de arriba.

     No se resuelve devolviendo el margen —cuánto vale depende de la versión
     de iOS— sino centrando a mano, que da lo mismo en todas: la caja del
     campo pasa a ser un contenedor flex y el renglón del valor ocupa todo el
     alto y se centra dentro.

     ⚠️ Esto NO se puede comprobar desde acá: medido con la fecha cargada, los
     dos motores de escritorio ya la centran y dan el MISMO número con y sin
     estas tres líneas (desvío -0,6 px en Chromium, -0,4 en WebKit, idéntico
     en las cuatro variantes que probé). O sea que son inocuas donde puedo
     medir, y la diferencia vive en el teléfono. Lo confirma el owner. */
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}
input[type="date"].htl-fp-input::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  line-height: 1.2;
  /* el renglón toma todo el alto del campo y centra su propio texto: así el
     resultado no depende del margen que ponga cada versión del navegador */
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
/* El ícono de calendario de Chrome: appearance:none se lo lleva en algunas
   versiones y en otras no. Se deja visible a propósito —es la única pista de
   que el campo abre un calendario— pero sin que empuje la altura. */
input[type="date"].htl-fp-input::-webkit-calendar-picker-indicator {
  padding: 0;
  margin: 0;
}

/* 🔴 LA PISTA «mm/dd/yyyy», ESCRITA POR NOSOTROS  (2026-11-06)
   --------------------------------------------------------------------------
   El owner, con una captura de su iPhone: en escritorio el campo dice
   «mm/dd/yyyy» y en el teléfono está vacío del todo.

   No lo causa nuestro CSS. Un input[type=date] SIN VALOR no dibuja nada en
   Safari de iPhone, y el atributo `placeholder` lo ignora cualquier navegador
   que tenga control de fecha de verdad. Medido contando la tinta dentro del
   campo recortado: Chromium pinta 536 px, WebKit 0 — y 0 también forzando el
   color, la opacidad, cada casilla del renglón y el ícono. No hay nada que
   mostrar, así que el arreglo no podía ser una propiedad más.

   Entonces la pista es un elemento nuestro, y se esconde en cuanto el campo
   tiene valor (`data-lleno`, que pone el JS de heritails-agregar.php)
   o tiene el foco. Van selectores de hermano y no `:has()`: el elemento está
   justo después del input, y así no depende de la versión de Safari.

   ⚠️ Y se apaga el renglón propio del navegador mientras el campo está vacío
   y sin foco — si no, Chrome escribiría «mm/dd/yyyy» encima del nuestro. Al
   tomar el foco vuelve el del navegador, que es donde la persona tipea. */
.htl-fp-fecha {
  display: block;
  position: relative;
  /* el margen baja del input al contenedor: así la pista se centra contra la
     caja del campo y no contra la caja más alta que incluiría ese margen */
  margin-bottom: 10px;
}
.htl-fp-fecha > .htl-fp-input {
  margin-bottom: 0;
}
.htl-fp-fecha__pista {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;             /* el mismo padding-left del campo (12px 8px) */
  display: flex;
  align-items: center;
  font-size: 16px;       /* el mismo cuerpo del campo: no puede bailar */
  line-height: 1.2;
  color: rgba(18, 18, 18, 0.5);
  pointer-events: none;  /* el toque tiene que llegar al campo, no a la pista */
  -webkit-user-select: none;
  user-select: none;
}
.htl-fp-input[data-lleno] + .htl-fp-fecha__pista,
.htl-fp-input:focus + .htl-fp-fecha__pista {
  display: none;
}
input[type="date"].htl-fp-input:not([data-lleno]):not(:focus)::-webkit-datetime-edit {
  opacity: 0;
}

.htl-fp-shake,
.htl-fp-shake.htl-fp-input,
input.htl-fp-shake {
  animation: htlFpShake 1s ease-in-out both !important;
  transition: none !important;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.htl-fp-framing-grid.htl-fp-shake {
  animation: htlFpShakeBig 1s ease-in-out both !important;
}

/* Flash all frame swatches red borders while error is active — extra visual cue */
.htl-fp-framing-grid.htl-fp-error .htl-fp-frame-swatch {
  border-color: #AD0000 !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .htl-fp-shake { animation: none !important; }
}

/* Ring size select */
.htl-fp-select {
  /* 45px tall, 16px Besley, padding 0 31px 0 20px, white bg, 1px border
     Color matches Step 2 placeholder gray (lighter) */
  display: block !important;
  width: 100% !important;
  padding: 0 31px 0 20px !important;
  height: 45px !important;
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-family: var(--htl-font-body) !important;
  background: #ffffff !important;
  color: rgba(18, 18, 18, 0.5) !important;
  margin: 0 0 16px !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23121212' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  outline: none;
}

.htl-fp-select option {
  /* Match the Step 2 input placeholder gray */
  font-family: var(--htl-font-body) !important;
  font-size: 16px !important;
  color: rgba(18, 18, 18, 0.5) !important;
  background: #ffffff !important;
}

/* ORDER NOW button — Spec Shopify inspector: 47px tall, padding 0 30px, margin 0 0 10px,
   16px Besley uppercase white on #112B3D */
.htl-home-featured__btn,
.htl-home-featured__btn:hover,
.htl-home-featured__btn:focus,
.htl-home-featured__btn:active,
.htl-home-featured__btn:visited {
  display: block !important;
  width: 100% !important;
  background: #112B3D !important;
  background-color: #112B3D !important;
  color: #FFFFFF !important;
  font-family: var(--htl-font-body) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 0 30px !important;
  height: 47px !important;
  line-height: 47px !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 0 10px !important;
  outline: none !important;
  box-shadow: none !important;
}

.htl-home-featured__btn:hover {
  opacity: 0.88;
}

/* View full details link — Spec: 14px Besley #112B3D, margin 15px 0, underline */
.htl-home-featured__view-full,
.htl-home-featured__view-full:hover,
.htl-home-featured__view-full:focus,
.htl-home-featured__view-full:focus-visible,
.htl-home-featured__view-full:active,
.htl-home-featured__view-full:visited {
  display: block !important;
  text-align: left;
  color: #112B3D !important;
  font-family: var(--htl-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  margin: 15px 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* On the PDP the featured block has no outer "section" — it lives directly
   inside the WC summary column. Strip the gray section bg + padding so it
   sits flat in the column (the home featured uses these for the outer gray
   strip; we don't want them on a single product page). */
.htl-home-featured--pdp {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 580px !important;
}

.htl-home-featured--pdp .htl-home-featured__content {
  padding: 0 !important;
  max-width: 580px !important;
}

/* Quantity selector on PDPs — ✚/✖ buttons + number input, ~47px tall, matches
   the cart-drawer qty controls visually but lives inside the featured form. */
.htl-fp-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  height: 47px;
  width: 140px;
  margin: 0 0 16px;
  background: #ffffff;
  overflow: hidden;
  font-family: var(--htl-font-body);
}

.htl-fp-qty-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 100%;
  font-size: 18px;
  font-family: var(--htl-font-body);
  color: #121212;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Kill Astra's celeste/blue hover/focus/active background on ALL devices, INCLUDING touch —
   donde el :hover se queda pegado tras el tap (esa era la celeste pegada). El botón queda
   transparente en todos los estados de interacción. */
.htl-fp-qty-btn:hover,
.htl-fp-qty-btn:focus,
.htl-fp-qty-btn:focus-visible,
.htl-fp-qty-btn:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #121212 !important;
  outline: none !important;
  box-shadow: none !important;
}

@media (hover: hover) {
  .htl-fp-qty-btn:hover { background: rgba(18, 18, 18, 0.04) !important; }
}

.htl-fp-qty-input {
  flex: 1;
  text-align: center;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  font-size: 16px;
  font-family: var(--htl-font-body);
  color: #121212;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
  -moz-appearance: textfield;
}

.htl-fp-qty-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.htl-fp-qty-input::-webkit-outer-spin-button,
.htl-fp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Image-less swatches (PDPs without bundled product imagery) — render the
   material/colour value with a CSS gradient/solid fill so the 41×41 swatch
   button is visible. The home Limited Edition swatches use <img> children
   that cover the bg, so these rules are inert there. */
.htl-fp-swatch-btn[data-material="silver"] {
  background: linear-gradient(135deg, #c8c8c8 0%, #8a8a8a 50%, #b8b8b8 100%) !important;
}

.htl-fp-swatch-btn[data-material="gold"] {
  background: linear-gradient(135deg, #e8c66b 0%, #b08d2a 50%, #d4a942 100%) !important;
}

.htl-fp-swatch-btn[data-material="brass"] {
  background: linear-gradient(135deg, #d2a96b 0%, #a07535 100%) !important;
}

.htl-fp-swatch-btn[data-colour="black"] {
  background: #0f0f0f !important;
}

.htl-fp-swatch-btn[data-colour="white"] {
  background: #f5f5f5 !important;
}

.htl-fp-swatch-btn[data-colour="brown"] {
  background: #5a3a22 !important;
}

/* When the swatch contains an <img>, neutralize the solid/gradient fallback so
   the colored background doesn't flash for a frame before the image decodes.
   Specificity bumped via [data-*] to beat the gradient rules above. */
.htl-fp-swatch-btn[data-material]:has(> img),
.htl-fp-swatch-btn[data-colour]:has(> img) {
  background: #fff !important;
  background-image: none !important;
}

/* CLS prevention: every common image context reserves its space with
   aspect-ratio BEFORE the <img> loads. This prevents the page from "growing"
   as images stream in, which is what makes refresh-with-scroll-restore land
   you in the wrong place (and tanks Core Web Vitals / CLS score). */

/* Framing option swatches (product page options form) — 41×41 square */
.htl-fp-frame-swatch img,
.htl-fp-swatch-btn img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Featured product review badge "1,247+ 5-star reviews" === */
.htl-home-featured__reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 12px;
}

.htl-home-featured__stars {
  color: var(--htl-gold);
  font-size: 1.8rem;
  letter-spacing: 2px;
  line-height: 1;
}

.htl-home-featured__reviews-count {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: underline;
  color: #333;
  font-family: var(--htl-font-body);
}

/* ============================================================
   "+ Add another customization" — solo sus fichas con personalización múltiple
   ============================================================ */
.htl-extra-slots-wrap {
  margin: 12px 0 0;
}

.htl-extra-slots {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.htl-extra-slots:not(:empty) {
  margin: 8px 0 14px;
}

/* Botón "+ Add another customization" */
.htl-add-extra-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1a1a1a;
  border: 1px dashed #b8b8b8;
  border-radius: 5px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: border-color 150ms, background 150ms, color 150ms;
}

.htl-add-extra-slot:hover,
.htl-add-extra-slot:hover span {
  color: #1a1a1a !important;
  border-color: #1a1a1a;
  background: #fafafa !important;
}

.htl-add-extra-slot:focus,
.htl-add-extra-slot:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #1a1a1a !important;
  border: 1px dashed #b8b8b8 !important;
}

.htl-add-extra-slot:focus-visible {
  outline: none !important;
  border-color: #1a1a1a !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08) !important;
}

.htl-add-extra-slot,
.htl-add-extra-slot span {
  color: #1a1a1a !important;
}

.htl-add-extra-slot__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.htl-add-extra-slot__hint {
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
}

/* PDP: ocultar el hint (pedido del owner) SIN borrar el nodo — los funnels
   (sus funnels) anclan su bloque "Limited Availability" a este <p>
   via querySelector, que sigue encontrándolo aunque esté display:none.
   El body de los funnels NO es .single-product, así que ahí queda visible. */
body.single-product .htl-add-extra-slot__hint {
  display: none;
}

/* PDP: el wrap "Add another Family" va ARRIBA de ORDER NOW (reorder PDP-only). Sin
   margin-bottom queda pegado al botón. Le damos la MISMA separación que tiene en el
   funnel (donde el wrap va debajo con su margin-top:12px). Scoped a single-product →
   el funnel (no es single-product, wrap debajo de ORDER NOW) no se toca. */
body.single-product .htl-extra-slots-wrap {
  margin-bottom: 12px;
}

/* Slot card */
.htl-extra-slot {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fafafa;
  position: relative;
}

.htl-extra-slot__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}

.htl-extra-slot__title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.2px;
}

.htl-extra-slot__remove,
.htl-extra-slot__remove:hover,
.htl-extra-slot__remove:focus,
.htl-extra-slot__remove:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  font-size: 12px !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  font-family: inherit;
  padding: 4px 0 !important;
  line-height: 1.4;
}

.htl-extra-slot__remove {
  color: #6b6b6b !important;
  text-decoration-color: rgba(0,0,0,0.3) !important;
}

.htl-extra-slot__remove:hover {
  color: #BD1700 !important;
  text-decoration-color: currentColor !important;
}

.htl-extra-slot__remove:focus-visible {
  outline: 2px solid rgba(0,0,0,0.15) !important;
  outline-offset: 2px;
}

.htl-extra-slot .htl-fp-input {
  margin: 6px 0;
}

.htl-extra-slot .htl-fp-section-label {
  margin: 4px 0 6px;
}

.htl-extra-slot .htl-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.htl-extra-slot .htl-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1a1a1a;
  cursor: pointer;
}

.htl-extra-slot .htl-radio input[type="radio"] {
  margin: 0;
}

@media (max-width: 989px) {
  body.home .htl-home-featured__inner {
      grid-template-columns: 1fr !important;
      max-width: 100% !important;
    }
  body.home .htl-home-featured,
    body.home .htl-home-featured__inner,
    body.home .htl-home-featured__content,
    body.home .htl-home-featured__form,
    body.home .htl-home-featured__gallery {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box;
    }
}

@media (max-width: 749px) {
body.home .htl-home-multirow,
body.home .htl-home-tutorial,
body.home .htl-home-featured,
body.home .htl-home-icons-list
/* .testimonial-section-apolo SALIÓ DE ESTA LISTA el 2026-11-05 — ver el
   mismo comentario en _portado-resenas.css. */
  /* y #htl-reviews TAMPOCO: es el MISMO elemento que
     .testimonial-section-apolo, que además lleva ese id. Sacar sólo la
     clase no alcanzaba: un id gana por especificidad contra cualquier
     selector de clases, así que el bloque seguía escondido aunque la clase
     ya no estuviera en la lista. */
  {
      display: none !important;
    }
/* ⚠️ Acá había 4 reglas del EMBUDO del sitio original
     (.htl-funnel-product-wrap / .htl-funnel-upsell-wrap), que acá no existe.
     Llegaron con los comentarios cortados en la primera coma: cada uno se
     comió su lista de selectores y siguió abierto. El último se tragó la
     llave que cierra este @media, y desde ahí TODO el resto del style.css
     —galería y _overrides incluidos— quedaba adentro del media query de
     teléfono. Sacadas el 2026-11-03. La del título sigue entera en
     _portado-resenas.css. */
  /* Prices mobile — Shopify spec DevTools:
       - Compare (strikethrough rojo): 19.2px Besley #BD1700
       - Sale (negro): 24px Besley #121212 */
    html body.single-product .htl-home-featured__compare {
      font-size: 19.2px !important;
    }
  html body.single-product .htl-home-featured__price {
      font-size: 24px !important;
    }
/* ⚠️ Acá había 2 reglas del EMBUDO del sitio original
     (.htl-funnel-product-wrap / .htl-funnel-upsell-wrap), que acá no existe.
     Llegaron con los comentarios cortados en la primera coma: cada uno se
     comió su lista de selectores y siguió abierto. El último se tragó la
     llave que cierra este @media, y desde ahí TODO el resto del style.css
     —galería y _overrides incluidos— quedaba adentro del media query de
     teléfono. Sacadas el 2026-11-03. La del título sigue entera en
     _portado-resenas.css. */
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIPOGRAFÍA DE LAS PÁGINAS DE PRODUCTO · una sola familia   (2026-09-04)
   ═══════════════════════════════════════════════════════════════════════════
   Medido en una ficha del catálogo original antes del cambio:
   SIETE familias conviviendo en el contenido — Besley ×131, Inter ×22,
   New York ×18, Montserrat ×16, Times ×10, Cardo ×9 y ui-sans-serif ×2. Las dos
   últimas ni siquiera son de la marca: ui-sans-serif es la que ponga el sistema
   operativo del visitante, y Times aparece como respaldo de algo que no carga.
   El mismo desorden en todos los productos físicos.
   (El uno de sus productos ya venía en Montserrat ×101: usa la plantilla nueva.)

   Es la regla escrita del sistema visual: UNA SOLA FAMILIA, cambia el PESO y no
   la fuente.

   ⚠️ SÓLO la familia. Ni un tamaño, ni un color, ni un peso.

   ⚠️ ALCANCE: el .ast-article-single de las páginas de producto. Verificado que
      TODO el contenido vive ahí —summary, marketing, FAQs, reseñas,
      relacionados— y que la CABECERA y el PIE quedan afuera: son chrome del
      sitio, compartido con todas las páginas, y no entran en este pedido.

   ⚠️ EL FUNNEL NO ENTRA: su body no es single-product (verificado), aunque
      contiene siete .ast-article-single de los [product_page] embebidos. El
      discriminante es la clase del BODY, no el contenedor.

   🔴 SE EXCLUYEN LAS ESTRELLAS (.rating, .rv-stars, .htl-home-featured__stars).
      El carácter ★ (U+2605) no existe en ninguna de estas tipografías: siempre
      cae a un respaldo del sistema. Cambiar la familia declarada cambia CUÁL
      respaldo se usa y con eso el dibujo y el ancho de la calificación. Se dejan
      exactamente como están.

   ⚠️ No se tocan los pseudo-elementos: los únicos visibles con texto son los
      chevrones › del acordeón, en Arial. Eso es un glifo, no tipografía.
   ═══════════════════════════════════════════════════════════════════════════ */
body.single-product .ast-article-single,
body.single-product .ast-article-single *:not(svg):not(svg *):not(.rating):not(.rating *):not(.rv-stars):not(.htl-home-featured__stars) {
  font-family: var(--htl-font-ui) !important;
}
/* ⚠️ ESTA SEGUNDA REGLA FALTABA, y es la que hacía que el texto de ejemplo de
   los campos saliera en serif. El selector de arriba termina en `*`, que
   matchea ELEMENTOS: un ::placeholder se le escapa. El original la tiene
   justo acá y acá no había llegado. */
body.single-product .ast-article-single ::placeholder {
  font-family: var(--htl-font-ui) !important;
}

/* ══════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · los bloques extra de la columna de compra
   («Add another record», el botón que el owner pidió el 2026-11-03)

   El marcado y la <template> ya estaban en heritails-ficha.php;
   faltaban el estilo y el JavaScript, y el bloque estaba apagado por una
   lista de slugs del otro negocio donde ninguno de los nuestros figura.
   Ahora lo decide la categoría, como todo lo demás de la ficha.
   ══════════════════════════════════════════════════════════════════ */

/* ============================================================
   "+ Add another customization" — solo PDP Limited Edition + Origins
   ============================================================ */
.htl-extra-slots-wrap {
  margin: 12px 0 0;
}
.htl-extra-slots {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.htl-extra-slots:not(:empty) {
  margin: 8px 0 14px;
}

/* Botón "+ Add another customization" */
.htl-add-extra-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1a1a1a;
  border: 1px dashed #b8b8b8;
  border-radius: 5px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: border-color 150ms, background 150ms, color 150ms;
}
.htl-add-extra-slot:hover,
.htl-add-extra-slot:hover span {
  color: #1a1a1a !important;
  border-color: #1a1a1a;
  background: #fafafa !important;
}
.htl-add-extra-slot:focus,
.htl-add-extra-slot:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #1a1a1a !important;
  border: 1px dashed #b8b8b8 !important;
}
.htl-add-extra-slot:focus-visible {
  outline: none !important;
  border-color: #1a1a1a !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08) !important;
}
.htl-add-extra-slot,
.htl-add-extra-slot span {
  color: #1a1a1a !important;
}
.htl-add-extra-slot__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}
.htl-add-extra-slot__hint {
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
}
/* PDP: ocultar el hint (pedido del owner) SIN borrar el nodo — los funnels
   (Coat of Arms / Origins) anclan su bloque "Limited Availability" a este <p>
   via querySelector, que sigue encontrándolo aunque esté display:none.
   El body de los funnels NO es .single-product, así que ahí queda visible. */
body.single-product .htl-add-extra-slot__hint {
  display: none;
}
/* PDP: el wrap "Add another Family" va ARRIBA de ORDER NOW (reorder PDP-only). Sin
   margin-bottom queda pegado al botón. Le damos la MISMA separación que tiene en el
   funnel (donde el wrap va debajo con su margin-top:12px). Scoped a single-product →
   el funnel (no es single-product, wrap debajo de ORDER NOW) no se toca. */
body.single-product .htl-extra-slots-wrap {
  margin-bottom: 12px;
}

/* Slot card */
.htl-extra-slot {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fafafa;
  position: relative;
}
.htl-extra-slot__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}
.htl-extra-slot__title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.2px;
}
.htl-extra-slot__remove,
.htl-extra-slot__remove:hover,
.htl-extra-slot__remove:focus,
.htl-extra-slot__remove:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  font-size: 12px !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  font-family: inherit;
  padding: 4px 0 !important;
  line-height: 1.4;
}
.htl-extra-slot__remove {
  color: #6b6b6b !important;
  text-decoration-color: rgba(0,0,0,0.3) !important;
}
.htl-extra-slot__remove:hover {
  color: #BD1700 !important;
  text-decoration-color: currentColor !important;
}
.htl-extra-slot__remove:focus-visible {
  outline: 2px solid rgba(0,0,0,0.15) !important;
  outline-offset: 2px;
}
.htl-extra-slot .htl-fp-input {
  margin: 6px 0;
}
.htl-extra-slot .htl-fp-section-label {
  margin: 4px 0 6px;
}
.htl-extra-slot .htl-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.htl-extra-slot .htl-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1a1a1a;
  cursor: pointer;
}
.htl-extra-slot .htl-radio input[type="radio"] {
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIPOGRAFÍA DE LA PÁGINA DE COLECCIÓN · una sola familia
   ═══════════════════════════════════════════════════════════════════════════
   🔴 ESTE BLOQUE NO SE HABÍA PORTADO. El original tiene DOS reglas de «una
   sola familia», las dos del 2026-09-04: la de la ficha de producto —que sí
   llegó, justo arriba— y ésta. Por eso la ficha se veía bien y
   /product-category/our-collection/ no.

   Medido con la auditoría completa, antes de esto:

                        el original    acá
     título             Montserrat     New York   ← serif
     nombre de producto Montserrat     Cardo      ← serif
     precio             Montserrat     Besley     ← serif
     precio tachado     Montserrat     Besley     ← serif

   ⚠️ SÓLO la familia. Ni un tamaño, ni un color, ni un peso.

   ⚠️ ALCANCE: #content de esa categoría. Cabecera y pie quedan afuera —no
      están dentro de #content— porque son chrome compartido con todo el sitio.
      Para extenderlo a TODAS las categorías alcanza con cambiar
      body.term-our-collection por body.tax-product_cat.

   🟢 Acá no hace falta excluir las estrellas: esta página no tiene ninguna
      calificación con ★. En la ficha sí hay que excluirlas, porque ese
      carácter cae a un respaldo del sistema y cambiarle la familia le cambia
      el dibujo y el ancho.
   ═══════════════════════════════════════════════════════════════════════════ */
body.term-our-collection #content,
body.term-our-collection #content *:not(svg):not(svg *) {
  font-family: var(--htl-font-ui) !important;
}
body.term-our-collection #content ::placeholder {
  font-family: var(--htl-font-ui) !important;
}

/* ════════════════════════════════════════════════════════════════════
   LA EDICIÓN DIGITAL — la segunda opción, debajo de ORDER NOW (2026-11-23)
   ════════════════════════════════════════════════════════════════════
   Secundaria a propósito: contorno y no relleno. Lleva las dos clases porque el
   botón de arriba está escrito entero con !important: una sola clase no le gana. */
.htl-fp-digital {
  margin: 2px 0 14px;
}
.htl-fp-digital__o {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 12px !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a97a3;
}
.htl-fp-digital__o::before,
.htl-fp-digital__o::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 43, 61, 0.14);
}
.htl-home-featured__btn.htl-home-featured__btn--digital,
.htl-home-featured__btn.htl-home-featured__btn--digital:hover,
.htl-home-featured__btn.htl-home-featured__btn--digital:focus,
.htl-home-featured__btn.htl-home-featured__btn--digital:active {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #112B3D !important;
  border: 1.5px solid #112B3D !important;
  line-height: 44px !important;
  margin: 0 0 8px !important;
}
.htl-home-featured__btn.htl-home-featured__btn--digital:hover {
  background: #F3F6F8 !important;
  background-color: #F3F6F8 !important;
  opacity: 1;
}
.htl-home-featured__btn.htl-home-featured__btn--digital:focus-visible {
  outline: 3px solid #C9A84C !important;
  outline-offset: 2px;
}
.htl-home-featured__btn.htl-home-featured__btn--digital[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.htl-fp-digital__pr {
  font-weight: 400;
  opacity: 0.85;
}
.htl-fp-digital__n {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.5;
  color: #6B7783;
}


/* ══════════════════════════════════════════════════════════════════
   PORTADO DEL SITIO ORIGINAL · la galería de la ficha

   Extraído de su style.css con _portar-galeria.js y renombrado
   mecánicamente. El original la arma así:

     · la galería mide 730 px y la columna de compra 580
     · la imagen principal es CUADRADA y lleva un marco fino dibujado con
       un ::after, para no restarle 2 px al ancho que calcula FlexSlider
     · las miniaturas van en una grilla de 5 × 126 px
     · con MÁS de 5 fotos, el JS les pone .has-overflow y pasan a una sola
       fila con scroll y dos flechas (heritails-galeria.php)
     · dos flechas de 40 px sobre la imagen, 10 px por fuera del marco

   ⚠️ En el teléfono las miniaturas y las cuatro flechas se esconden; esa
   regla NO está acá, vive en _portado-resenas.css y le gana por
   especificidad (lleva `html body` adelante a propósito).
   ══════════════════════════════════════════════════════════════════ */

/* ── el ancho de la galería y el marco fino de la imagen principal ───── */
/* Single product page: gallery main image + thumbnails (Shopify reference).
   - Main image: 739×739 square with a subtle gray border (Shopify Dawn look).
   - Thumbnails: 5 columns × 126×126 px with consistent gap. Overrides the
     inline `width: 20%; float: left` styles Flexslider applies at runtime. */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery,
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-viewport {
  max-width: 739px;
}
/* Thin border around the MAIN image only (not the thumbnails) — drawn via
   a `::after` pseudo-element overlay so it doesn't affect Flexslider's
   slide width calculation (a real border on .flex-viewport would subtract
   2px from inner width and expose the next slide's edge). */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-viewport {
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(18, 18, 18, 0.08);
  pointer-events: none;
  z-index: 2;
}

/* ── las diapositivas y las miniaturas, cuadradas ────────────────────── */
/* Single product gallery THUMBNAILS — square */
:is(.single-product, .htl-funnel-product-wrap) .flex-control-thumbs li,
:is(.single-product, .htl-funnel-product-wrap) .flex-control-thumbs li img {
  aspect-ratio: 1 / 1;
}

/* Single product MAIN image slide — square */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery__image,
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery__image img {
  aspect-ratio: 1 / 1;
}

/* 🔴 LA LÁMINA A4 SALÍA APLASTADA UN 41 % — medido el 2026-11-05.
   El marco cuadrado es deliberado (lo necesita la maqueta: la columna de
   compra se alinea con él y las flechas se posicionan sobre una caja 1:1),
   pero sin object-fit el valor por omisión es `fill`: una imagen de
   1500 x 2121 metida en 730 x 730 se ESTIRA. En /product/the-surname-record/
   son cinco de las seis diapositivas, y lo que se deforma es la foto del
   producto: el comprador ve achatada la hoja que va a recibir.

   No se ve a simple vista en la primera diapositiva porque ésa es cuadrada de
   origen (1500 x 1500, la foto del folio). Las otras hay que abrirlas.

   `contain` y no `cover`: la hoja se vende entera, con su pie y su numeración.
   Recortarla para llenar el cuadrado le saca justo los bordes que prueban que
   es una hoja impresa y no una captura.

   El color del marco NO está elegido: está leído del propio archivo con un
   canvas (esquinas #EFEBDC y #F3EDDA). Con blanco se veían dos franjas y la
   hoja parecía pegada encima; con su propio crema, el cuadrado se lee como la
   mesa donde está apoyada. */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery__image img {
  object-fit: contain;
  object-position: center;
  /* 🔴 BLANCO, NO CREMA — corregido el 2026-11-06.
     Cuando puse `contain` el 6-11 a la mañana, la primera diapositiva era la
     foto del pack sobre gris-beige y elegí un crema leído del archivo para que
     las franjas no se notaran. Ese mismo día la imagen destacada pasó a ser la
     de FONDO BLANCO —pedido del owner, para que la colección se vea como la de
     el otro negocio— y entonces el crema dejó de ser invisible: se veían dos
     bandas beige arriba y abajo de una imagen blanca. Lo marcó en el teléfono.
     Con blanco, la diapositiva blanca es continua y las láminas crema quedan
     flotando sobre blanco, que es exactamente el efecto que se buscaba. */
  background: #FFFFFF;
}

/* ── el ancho de la ficha: 730 de galería + 580 de columna de compra ─── */
/* Single product page: minimal gap between header and the gallery.
   Brute-force zero ALL top spacing on the wrapper chain (Astra defaults add
   ~80px of stacked paddings + the .site-main inherits Astra's 3em padding
   from the WC container). Then the gallery itself controls the final gap. */
.single-product .content-area.primary,
.single-product .site-content > .ast-container,
.single-product .site-main,
.single-product .ast-woocommerce-container,
.single-product .ast-article-single,
.single-product .product.type-product {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Hide Astra's WC breadcrumb + page title strip */
.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-products-header,
.single-product .ast-archive-description,
.single-product .ast-product-title {
  display: none !important;
}
/* Article wrapper sits BELOW the header with breathing room. Both the gallery
   column and the summary column shift together so the summary title aligns
   with the gallery top edge (float layout). Net: ~32px gap below the header. */
.single-product .ast-article-single,
.single-product .product.type-product {
  margin-top: 16px !important;
}
/* Center the gallery+summary block on the page. `.product.type-product` also
   contains the after-summary sections (related, marketing, FAQs, testimonials)
   so we DON'T touch its layout — we just narrow it and let WC's default float
   layout center inside. Gallery + summary stay floated. */
.single-product .product.type-product {
  max-width: 1370px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery {
  width: 730px !important;
  max-width: 730px !important;
}
.single-product .summary.entry-summary {
  width: 580px !important;
  max-width: 580px !important;
}

/* ── las flechas sobre la imagen principal ───────────────────────────── */
/* Direction nav arrows on the main product image — Shopify Dawn style.
   40×40 round buttons centered vertically on the main image only (not on
   the thumbnails row). The .flex-direction-nav UL is a SIBLING of the
   viewport, so we give it position: absolute + aspect-ratio: 1/1 so it
   matches the square viewport's geometry — then `top: 50%` on each arrow
   lands at the image center. */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery {
  position: relative;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 1 / 1;
  max-width: 739px;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 3;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav li {
  margin: 0;
  list-style: none;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.85); /* Shopify #FFFFFFD9 */
  border: 1px solid transparent;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 1px 6px rgba(18, 18, 18, 0.12);
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a:hover,
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a:focus,
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a:focus-visible {
  background: #ffffff !important;
  border-color: rgba(18, 18, 18, 0.18) !important;
  box-shadow: 0 2px 8px rgba(18, 18, 18, 0.16) !important;
  color: transparent !important;
  outline: none !important;
}
/* Kill Astra's blue active/focus background on the arrow link */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a:active,
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a:visited {
  background: rgba(255, 255, 255, 0.85) !important;
  color: transparent !important;
}
/* 1/4 of the 40px circle (10px) sticks out beyond the image frame on each
   side — matches Shopify Dawn reference. */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav .flex-prev {
  left: -10px;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav .flex-next {
  right: -10px;
}
/* Don't clip the protruding arrows — gallery wrapper allows overflow */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery {
  overflow: visible;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid #333333; /* Shopify chevron color */
  border-right: 1.5px solid #333333;
  text-indent: 0;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav .flex-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav .flex-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}
/* Disable state (first/last slide) — Flexslider applies .flex-disabled.
   Keep the arrow visible and CLICKABLE so the click is captured (does nothing)
   instead of falling through to the image below it (which would open the
   lightbox / select the slide). Cursor stays default to signal "no action". */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-direction-nav a.flex-disabled {
  opacity: 0.45 !important;
  pointer-events: auto;
  cursor: default;
}
/* Inner image fills its slide. Flexslider sets the slide width inline; we
   only ensure the <img> inside scales to slide width without overflow. */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── la fila de miniaturas: grilla de 5, o una sola fila con scroll y flechas ─── */
/* Thumbnails row: when ≤5 thumbs use the grid layout. With >5 thumbs the JS
   below adds a `has-overflow` class to switch to a single horizontally-
   scrollable row with prev/next arrows so it never wraps to a 2nd row. */
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, 126px) !important;
  justify-content: space-between !important;
  gap: 22px 0 !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs.has-overflow {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  gap: 22px !important;
  justify-content: flex-start !important;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs.has-overflow::-webkit-scrollbar {
  display: none !important;
}

/* Wrapper that hosts the prev/next arrows AROUND the thumbs row */
.htl-thumbs-scroller {
  position: relative;
}
/* Mini arrows for thumbnail scrolling — same style as the main image arrows
   but scaled to ~28×28 for the thumb row */
.htl-thumbs-arrow {
  position: absolute;
  top: calc(50% + 11px); /* +11px to offset the 22px margin-top on thumbs */
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(18, 18, 18, 0.10);
  transition: background 0.2s ease, border-color 0.2s ease;
  padding: 0;
}
.htl-thumbs-arrow:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: rgba(18, 18, 18, 0.18) !important;
}
.htl-thumbs-arrow:focus,
.htl-thumbs-arrow:focus-visible,
.htl-thumbs-arrow:active,
.htl-thumbs-arrow:focus:hover,
.htl-thumbs-arrow:active:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: rgba(18, 18, 18, 0.18) !important;
  color: transparent !important;
  outline: none !important;
  box-shadow: 0 1px 4px rgba(18, 18, 18, 0.10) !important;
}
/* Lock chevron color in all states so Astra's `currentColor` link colour
   doesn't bleed into the pseudo-element borders. */
.htl-thumbs-arrow:hover::before,
.htl-thumbs-arrow:focus::before,
.htl-thumbs-arrow:active::before {
  border-top-color: #333333 !important;
  border-right-color: #333333 !important;
}
.htl-thumbs-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #333333;
  border-right: 1.5px solid #333333;
  text-indent: 0;
}
.htl-thumbs-arrow--prev {
  left: -10px; /* 1/4 of 28px sticks out — matches main image arrow style */
}
.htl-thumbs-arrow--next {
  right: -10px;
}
.htl-thumbs-arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.htl-thumbs-arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}
/* Dim (don't hide) arrows when at scroll boundaries — they stay visible so the
   user's mouse target doesn't suddenly become the last thumbnail (which would
   trigger an accidental main-image change). The clamping in `animScrollTo`
   makes a click at the boundary a no-op. */
.htl-thumbs-arrow.is-disabled {
  opacity: 0.45;
  cursor: default;
}
.htl-thumbs-arrow.is-disabled:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: transparent;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs li {
  width: 126px !important;
  height: 126px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 126px !important;
  height: 126px !important;
  object-fit: cover !important;
  cursor: pointer;
  border: 1px solid rgba(18, 18, 18, 0.05);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
:is(.single-product, .htl-funnel-product-wrap) .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  border-color: rgba(18, 18, 18, 0.4);
}

/* ── EN TELÉFONO ──────────────────────────────────────────────────── */
/* Las reglas de arriba son de escritorio. Acá el original cambia de
   mecanismo: la galería deja de ser FlexSlider con flechas y pasa a ser un
   scroll-snap nativo de 100vw, como Shopify Dawn. Las miniaturas y las
   cuatro flechas se esconden — esa parte ya estaba en _portado-resenas.css. */
@media (max-width: 749px) {
  /* ── P. Product page (PDP) en mobile — REEMPLAZAR FlexSlider con CSS scroll-snap
         nativo (igual que Shopify Dawn). FULL WIDTH viewport — gallery se extiende
         100vw breaking out del article container con margin-left negativo. */
  html body.single-product .woocommerce-product-gallery {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 8px !important;
    height: auto !important;
    box-sizing: border-box;
    overflow: visible !important;
    padding: 0 !important;
  }
  html body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    overflow: visible !important;
    padding: 0 !important;
  }
  /* UL wrapper = horizontal scroll container con snap.
     padding-left 18px centra el slide activo (390 viewport - 354 slide = 36 / 2 = 18) */
  html body.single-product .woocommerce-product-gallery__wrapper {
    transform: none !important;
    width: 100% !important;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0 0 18px !important;
    box-sizing: border-box;
    margin: 0 !important;
  }
  html body.single-product .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }
  /* Cada slide LI: 354 (image 352 + border 2). Gap entre slides: 6px */
  html body.single-product .woocommerce-product-gallery__image {
    flex: 0 0 auto !important;
    width: 354px !important;
    height: 354px !important;
    float: none !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    background: transparent !important;
    line-height: 0;
    font-size: 0;
    display: block !important;
    opacity: 1 !important;
    position: static !important;
  }
  html body.single-product .woocommerce-product-gallery__image:last-child {
    margin-right: 18px !important;
  }
  /* Link interno = frame de cada imagen, 354×354 con border 1px gris muy suave.
     Imagen 352×352 queda dentro del border. */
  html body.single-product .woocommerce-product-gallery__image > a {
    display: block;
    width: 354px !important;
    height: 354px !important;
    border: 1px solid rgba(18, 18, 18, 0.08) !important;
    box-sizing: border-box;
    background: transparent !important;
    line-height: 0;
    font-size: 0;
  }
  /* Imagen 352×352 (no más border, no más fondo blanco extra) */
  html body.single-product .woocommerce-product-gallery__image img {
    display: block !important;
    width: 352px !important;
    height: 352px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
  }
  /* Kill el ::after pseudo-border del flex-viewport (1px gris overlay) */
  html body.single-product .woocommerce-product-gallery .flex-viewport::after,
  html body.htl-funnel-product-wrap .woocommerce-product-gallery .flex-viewport::after {
    display: none !important;
    border: none !important;
    content: none !important;
  }

  /* "You may also like" (related products) — horizontal scroll carousel en mobile,
     no grid single column. Misma técnica que home featured carousel. */
  html body.single-product .related.products ul.products,
  html body.single-product .related ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px !important;
    margin: 0 !important;
    gap: 0 !important;
    box-sizing: border-box;
  }
  html body.single-product .related.products ul.products::-webkit-scrollbar,
  html body.single-product .related ul.products::-webkit-scrollbar {
    display: none;
  }
  html body.single-product .related.products ul.products > li,
  html body.single-product .related ul.products > li {
    flex: 0 0 auto !important;
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 12px 0 0 !important;
    scroll-snap-align: start;
  }
  html body.single-product .related.products ul.products > li:last-child,
  html body.single-product .related ul.products > li:last-child {
    margin-right: 16px !important;
  }

  /* 🔴 LA COLUMNA DE COMPRA, QUE ARRIBA MIDE 580 px FIJOS.
     Esa medida vino con el porte de escritorio y en una pantalla de 390 se
     queda en 580: la página pasaba a medir 600 y se iba 210 px a la derecha.
     580 − 370 de contenido útil = exactamente los 210 que medí. El original
     tiene esta misma regla y yo había traído sólo la mitad del par.

     Gana por especificidad, no por orden: `html body.single-product .product
     .summary` son dos elementos y tres clases contra las tres clases de la
     regla de arriba. Una media query no suma especificidad por sí sola. */
  html body.single-product .ast-container,
  html body.single-product .site-main,
  html body.single-product article.product,
  html body.single-product .product .summary,
  html body.single-product .summary.entry-summary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}


/* ════════════════════════════════════════════════════════════════════
   PORTADO DEL OTRO NEGOCIO · las páginas de documento (#htl-lg)
   ════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   Heritails — PÁGINAS DE DOCUMENTO  (#htl-lg)
   ---------------------------------------------------------------------------
   PORTADO del otro negocio (`#fc-lg`, bloque de style.css del tema padre,
   líneas ~7829-8156). No está reescrito mirándolo: está copiado y renombrado,
   y después verificado por diff contra el original. Lo que cambia respecto de
   FC va marcado abajo, uno por uno, con el motivo.

   Lo cubre: /contact/, /track-order/ y las seis legales del pie.

   ───────────────────────────────────────────────────────────────────────────
   POR QUÉ ESTAS PÁGINAS NECESITAN UN SISTEMA PROPIO
   ───────────────────────────────────────────────────────────────────────────
   Antes salían con el envase crudo de Astra: la serif vieja del tema (Cardo) a
   66 px, una columna de 608 px y nada más — ningún rótulo, ningún filete,
   ninguna jerarquía. Dos problemas, y el segundo es el grave:

     1. Estética. Es un muro de texto gris sin anclaje visual.
     2. **Son de otra marca.** El resto del sitio es Montserrat; estas páginas
        eran Cardo. Un comprador que llega al reembolso desde la ficha cambia
        de tipografía de golpe, y lo que se cae ahí es la confianza, no el
        diseño.

   Mismo sistema que la portada (home.css): UNA sola familia, Montserrat, y lo
   que cambia entre display y cuerpo es el PESO y el tracking, no la fuente.
   Los tokens son los MISMOS valores exactos que #htl-h3 para que el sitio se
   lea como una sola pieza.

   Lo que cambia respecto de la portada, y por qué (razones de FC, que valen
   igual acá):

   1. MEDIDA CORTA. La portada usa 1180px porque compone en dos columnas. Un
      documento es una sola columna de prosa corrida: pasa a 720px, que deja la
      línea en ~68 caracteres. Arriba de eso el ojo pierde el renglón al
      volver, y estas páginas se leen enteras, no se escanean.
   2. INTERLÍNEA MÁS ABIERTA. 1.62 en la portada → 1.72 acá. Son diez minutos
      de lectura seguida, no un titular.
   3. DISPLAY MÁS CHICO. El h1 de la portada llega a 70px porque es un hero.
      Acá tope 46px: un documento no grita.
   4. CERO ADORNO PULSABLE. Los links van en navy subrayado: en una política,
      un link tiene que verse como link.

   ⚠️ DOBLE ID (#htl-lg#htl-lg) igual que la portada: el tema pisa con
      `p{font-size:15px !important}` y además pisa el color. Hay que ganar en
      tamaño Y en color, y una @media no suma especificidad.

   ───────────────────────────────────────────────────────────────────────────
   LO QUE SE AGREGÓ SOBRE EL PORTADO DE FC (no existe en #fc-lg)
   ───────────────────────────────────────────────────────────────────────────
   · .htl-lg-eye   — el rótulo de arriba («LEGAL», «ALREADY ORDERED»). Es la
     gramática de la portada y de /about/: eyebrow + filete corto + h1.
   · .htl-lg-lede  — una línea que dice de qué trata la página antes de que
     empiece el documento. En FC ese papel lo hacía la caja «THE SHORT
     VERSION», que acá sólo tienen dos de las ocho páginas.
   · .htl-lg-doc   — NUMERACIÓN AUTOMÁTICA de los h2 por contador CSS.
     🔴 No es decoración: el texto legal YA se refiere a secciones por número
     («section 6 of the Terms of Service», «Section 2 of the Refund Policy»,
     «section 3 of the Shipping Policy») y esos números NO estaban impresos en
     ninguna parte. Verificado el 2026-11-05: terms §6 = «Changing or
     cancelling an order after you pay» y refund §2 = «If it arrives damaged…»,
     que es exactamente a lo que remite cada cita. Va por contador y no escrito
     en el texto para que agregar una sección no obligue a renumerar a mano —
     que es como se llega a una referencia cruzada que miente.
   · .htl-lg-tarjeta / .htl-lg-track — las dos piezas de /contact/ y
     /track-order/, que no son documentos legales sino páginas de acción.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── El envase del tema, neutralizado ────────────────────────────────────
   El mu-plugin heritails-documentos.php pone la clase htl-lg-page en el
   <body> de estas 8 URLs. Desde acá se apaga el encabezado del tema —el
   documento trae su propio h1, con rótulo y fecha— y se le saca al contenedor
   el padding y el max-width, para que el full-bleed de #htl-lg tenga de dónde
   agarrarse.

   Va con `html` adelante para ganarle a los selectores del tema, que llegan a
   (0,7,3) con !important a fuerza de :not() encadenados.
   ─────────────────────────────────────────────────────────────────────── */
html body.htl-lg-page .entry-header,
html body.htl-lg-page .ast-single-post-order,
html body.htl-lg-page .page-title { display: none !important; }

html body.htl-lg-page .entry-content,
html body.htl-lg-page .ast-container,
html body.htl-lg-page #primary {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

html body.htl-lg-page #primary { margin-top: 0 !important; }

/* 🔴 EL TOPE DE 38rem. Medido el 2026-11-05: el tema tiene
   `.page:not(.htl-portada):not(.woocommerce-page) .entry-content > * { max-width: 38rem }`
   y eso le gana al full-bleed — #htl-lg quedaba de 608px pegado a la
   izquierda, con el texto en una columna de 512. No se toca ESA regla porque
   es la que le da la medida a todas las demás páginas del sitio; se la pisa
   sólo acá. Hace falta !important: la regla del tema llega a (0,4,0) y
   `html body.htl-lg-page .entry-content > *` a (0,2,2). */
html body.htl-lg-page .entry-content > * { max-width: none !important; }

/* Fondo blanco hasta el borde. #htl-lg ya se pinta de blanco, pero si el
   documento no llena la ventana asoma el color de atrás por abajo y por los
   costados, y se ve como un marco alrededor de la hoja. Acotado a
   .htl-lg-page: no puede tocar ninguna otra página. */
html body.htl-lg-page,
html body.htl-lg-page #page,
html body.htl-lg-page .site-content,
html body.htl-lg-page #content,
html body.htl-lg-page #primary,
html body.htl-lg-page .entry-content { background: #FFFFFF !important; }

#htl-lg {
  /* —— tinta y papel ——————————————————————————————————————————————————
     El fondo de estas páginas es BLANCO PURO, no crema. La portada usa cremas
     porque alterna bandas y necesita que se distingan entre sí; un documento
     es una sola banda corrida de diez minutos de lectura, y ahí el crema se
     lee como papel viejo.

     El gris es el MISMO de las secciones grises de la portada (#F7F7F7). Se
     usa en tres lugares y en ninguno más: la caja de resumen, el encabezado de
     las tablas y la tarjeta de /track-order/. */
  --blanco:  #FFFFFF;
  --gris:    #F7F7F7;
  --navy:    #112B3D;
  --oro:     #C9A84C;
  --oro-osc: #8A6E20;
  --lacre:   #A81400;

  --tinta:  #14232E;
  --prosa:  #3D4C58;
  --tenue:  #55606A;
  --filete: #DBD0BC;

  /* —— medidas —————————————————————————————————————————————————————— */
  --wrap: 720px;
  --r: 3px;

  /* —— escala (px+vw: Astra escala el rem en mobile) ————————————————— */
  --f-h1:   clamp(32px, 2.2vw + 22px, 46px);
  --f-h2:   clamp(23px, 1.1vw + 18.4px, 30px);
  --f-h3:   clamp(17.5px, .35vw + 16.2px, 20px);
  --f-lede: clamp(17.5px, .7vw + 15.4px, 21px);
  --f-body: clamp(16.5px, .3vw + 15.3px, 18px);
  --f-cap:  clamp(13px, .2vw + 12.3px, 14.5px);
  --f-eye:  clamp(11.5px, .1vw + 11.2px, 12.5px);

  background: var(--blanco);
  color: var(--prosa);
  font-family: var(--htl-font-ui);
  font-size: var(--f-body);
  line-height: 1.72;
  padding-block: clamp(38px, 4.4vw, 76px) clamp(56px, 6vw, 104px);
}

/* La página nace del ancho completo aunque el tema la meta en un contenedor
   con max-width. El recorte va en el BODY, no acá (un overflow-x:clip crea
   bloque contenedor y aplasta el full-bleed de los hijos). */
#htl-lg.htl-lg-ancho {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
body.htl-lg-page { overflow-x: clip; }

#htl-lg .htl-lg-wrap {
  width: min(100% - 2 * clamp(20px, 5vw, 48px), var(--wrap));
  margin-inline: auto;
}

/* ── TÍTULOS ─────────────────────────────────────────────────────────── */
#htl-lg#htl-lg h1,
#htl-lg#htl-lg h2,
#htl-lg#htl-lg h3,
#htl-lg#htl-lg h4 {
  font-family: var(--htl-font-ui) !important;
  color: var(--tinta) !important;
  text-wrap: balance;
  margin: 0;
}
/* 300 y no 400: es el peso del display de la portada. Una sans geométrica a
   400 en tamaño grande se ve maciza. */
#htl-lg#htl-lg h1 {
  font-size: var(--f-h1) !important;
  line-height: 1.1 !important;
  font-weight: 300 !important;
  letter-spacing: -.022em !important;
}
#htl-lg#htl-lg h2 {
  font-size: var(--f-h2) !important;
  line-height: 1.2 !important;
  font-weight: 300 !important;
  letter-spacing: -.018em !important;
  margin-top: clamp(44px, 4.4vw, 68px) !important;
  margin-bottom: 16px !important;
}
/* Al revés que el display: en chico la sans necesita MÁS peso o se pierde
   contra el cuerpo, que ya es Montserrat 400. */
#htl-lg#htl-lg h3 {
  font-size: var(--f-h3) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: -.004em !important;
  margin-top: clamp(28px, 2.6vw, 38px) !important;
  margin-bottom: 10px !important;
}
#htl-lg#htl-lg h4 {
  font-size: var(--f-body) !important;
  font-weight: 600 !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
}

/* ── EL RÓTULO DE ARRIBA ─────────────────────────────────────────────────
   Agregado sobre FC. Es la misma gramática que /about/ y /pricing/: rótulo en
   versalitas con un filete corto al lado, y recién después el título. Sin él
   el h1 flota sin anclaje, que es la mitad de lo que hacía ver estas páginas
   como de otro sitio. */
#htl-lg .htl-lg-eye {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px !important;
  font-size: var(--f-eye) !important;
  font-weight: 600 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  color: var(--tenue) !important;
}
#htl-lg .htl-lg-eye::after {
  content: "";
  width: clamp(40px, 6vw, 72px);
  height: 1px;
  background: var(--filete);
}

#htl-lg .htl-lg-titulo { margin-bottom: 10px; }

/* La línea que dice de qué trata la página. Agregado sobre FC.
   Va en dos formas: un <p> propio (lede de la configuración) o un <div> con
   los párrafos que la página ya traía antes del primer h2. La segunda necesita
   su propia regla o los <p> de adentro ganan con el !important del cuerpo. */
#htl-lg#htl-lg .htl-lg-lede,
#htl-lg#htl-lg .htl-lg-lede p {
  font-size: var(--f-lede) !important;
  line-height: 1.5 !important;
  color: var(--prosa) !important;
  max-width: 34em;
}
#htl-lg#htl-lg .htl-lg-lede { margin: 0 0 clamp(22px, 2.2vw, 30px) !important; }
#htl-lg#htl-lg .htl-lg-lede p { margin: 0 0 .7em !important; }
#htl-lg#htl-lg .htl-lg-lede > :last-child { margin-bottom: 0 !important; }

#htl-lg .htl-lg-fecha {
  font-size: var(--f-cap) !important;
  color: var(--tenue) !important;
  letter-spacing: .01em;
  margin: 0 0 clamp(30px, 3vw, 44px) !important;
  padding-bottom: clamp(30px, 3vw, 44px);
  border-bottom: 1px solid var(--filete);
}
/* Cuando no hay fecha (contact, track-order) el filete lo pone el h1, o si no
   la página arranca pegada al documento. */
#htl-lg .htl-lg-regla {
  border: 0;
  height: 1px;
  background: var(--filete);
  margin: 0 0 clamp(30px, 3vw, 44px) !important;
}

/* ── CUERPO ──────────────────────────────────────────────────────────── */
#htl-lg#htl-lg p,
#htl-lg#htl-lg li,
#htl-lg#htl-lg td,
#htl-lg#htl-lg th,
#htl-lg#htl-lg dd,
#htl-lg#htl-lg dt {
  font-family: var(--htl-font-ui) !important;
  font-size: var(--f-body) !important;
  line-height: 1.72 !important;
  color: var(--prosa) !important;
}
#htl-lg#htl-lg p { margin: 0 0 1.1em !important; }
#htl-lg#htl-lg strong { color: var(--tinta) !important; font-weight: 600 !important; }
#htl-lg#htl-lg em { font-style: italic; }

#htl-lg#htl-lg ul,
#htl-lg#htl-lg ol { margin: 0 0 1.2em !important; padding-left: 1.35em !important; }
#htl-lg#htl-lg li { margin-bottom: .55em !important; }
#htl-lg#htl-lg li::marker { color: var(--oro-osc); }

/* En una política un link tiene que VERSE como link: subrayado siempre, no
   sólo al pasar el mouse. El que busca «cómo pido el reembolso» lo escanea. */
#htl-lg#htl-lg a {
  color: var(--navy) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(17, 43, 61, .35) !important;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
#htl-lg#htl-lg a:hover,
#htl-lg#htl-lg a:focus-visible {
  color: var(--lacre) !important;
  text-decoration-color: currentColor !important;
}
#htl-lg#htl-lg a:focus-visible {
  outline: 2px solid var(--oro-osc);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── SECCIONES NUMERADAS ─────────────────────────────────────────────────
   Agregado sobre FC: allá los números están escritos adentro del texto legal.
   Acá los pone un contador, por lo que explica el encabezado de este archivo.
   El número va en un ::before y no en el texto, así que el lector de pantalla
   lo lee igual (es contenido generado con texto, no una imagen) y quien copie
   el párrafo no se lleva un número pegado al título. */
/* ⚠️ EL NÚMERO VA EN LÍNEA, pegado al título, y NO con sangrado colgante.
   Probado con `display:inline-block; min-width:1.6em` + `text-indent:-1.6em`
   sobre el h2: a 1440 px el número quedaba 44 px FUERA de la columna y a 88 px
   del título — un hueco que se leía como un error de maquetación. Así es
   además como lo escribe el otro negocio, que los tiene en el texto. */
#htl-lg .htl-lg-doc { counter-reset: fdesec; }
#htl-lg#htl-lg .htl-lg-doc > h2 { counter-increment: fdesec; }
#htl-lg#htl-lg .htl-lg-doc > h2::before {
  content: counter(fdesec) ". ";
  color: var(--oro-osc);
  font-weight: 400;
  font-feature-settings: "tnum";
}

/* ── «THE SHORT VERSION» — la caja de arriba ─────────────────────────── */
#htl-lg .htl-lg-resumen {
  background: var(--gris);
  border-left: 3px solid var(--oro);
  border-radius: 0 var(--r) var(--r) 0;
  padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px);
  margin-bottom: clamp(36px, 3.6vw, 56px);
}
#htl-lg .htl-lg-resumen > :last-child { margin-bottom: 0 !important; }
#htl-lg#htl-lg .htl-lg-resumen .htl-lg-resumen-t {
  font-size: var(--f-eye) !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  color: var(--oro-osc) !important;
  margin: 0 0 14px !important;
}

/* ── LA TARJETA DE ACCIÓN  (contact · track-order) ───────────────────────
   No existe en FC. Estas dos páginas no son documentos: tienen UNA cosa que el
   visitante vino a hacer —escribirnos, o mirar dónde está el pedido— y el
   resto es contexto. La tarjeta pone esa cosa arriba de todo y el texto queda
   abajo como lo que es.

   La anatomía sale de medir la tarjeta de /track-order/ del otro negocio el
   2026-11-05: blanca, 1px de borde a 12% de negro, radio 8px, 32px/28px de
   relleno. Acá el borde usa --filete (el del resto del sitio) y el radio baja
   a --r: la regla 3 del sistema dice tres radios y se acabó, y un documento no
   tiene esquinas blandas. */
#htl-lg .htl-lg-tarjeta {
  background: var(--gris);
  border: 1px solid var(--filete);
  border-radius: var(--r);
  padding: clamp(24px, 2.8vw, 34px) clamp(20px, 2.6vw, 32px);
  margin-bottom: clamp(36px, 3.6vw, 56px);
}
#htl-lg .htl-lg-tarjeta > :last-child { margin-bottom: 0 !important; }
#htl-lg#htl-lg .htl-lg-tarjeta-t {
  font-size: var(--f-eye) !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  color: var(--oro-osc) !important;
  margin: 0 0 12px !important;
}
/* La dirección de correo es lo más grande de la tarjeta, y es un link: en esta
   página ES la acción. No va como botón porque un mailto que parece botón
   engaña al que espera que se abra una ventana del sitio. */
#htl-lg#htl-lg .htl-lg-mail {
  display: inline-block;
  font-size: clamp(19px, 1.3vw + 15px, 26px) !important;
  font-weight: 500 !important;
  letter-spacing: -.01em;
  line-height: 1.25 !important;
  color: var(--navy) !important;
  text-decoration-color: rgba(17, 43, 61, .3) !important;
  text-underline-offset: .16em;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
/* La tarjeta puede llevar más de un párrafo (los que trae la sección movida),
   así que llevan separación entre sí y el último no. */
#htl-lg#htl-lg .htl-lg-tarjeta-p {
  font-size: var(--f-cap) !important;
  line-height: 1.6 !important;
  color: var(--tenue) !important;
  margin: 0 0 .7em !important;
  max-width: 46em;
}
#htl-lg#htl-lg .htl-lg-tarjeta-p:last-child { margin-bottom: 0 !important; }

/* ── LA TARJETA DE SEGUIMIENTO ───────────────────────────────────────────
   El formulario nativo de WooCommerce ([woocommerce_order_tracking]) vestido
   con la anatomía de la tarjeta del otro negocio. FC usa el plugin ParcelPanel;
   acá no está instalado y hoy no puede estarlo (ver el mu-plugin). Lo que el
   visitante ve es la misma pieza: una tarjeta centrada, dos campos rotulados y
   un botón navy de ancho completo. */
#htl-lg .htl-lg-track {
  background: var(--blanco);
  border: 1px solid var(--filete);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.8vw, 34px);
  margin-bottom: clamp(32px, 3.2vw, 48px);
}
#htl-lg#htl-lg .htl-lg-track .track_order { margin: 0 !important; }
#htl-lg#htl-lg .htl-lg-track p { margin: 0 0 18px !important; }
#htl-lg#htl-lg .htl-lg-track p:last-of-type { margin-bottom: 0 !important; }
#htl-lg#htl-lg .htl-lg-track p:empty { display: none !important; }   /* el párrafo de Woo, vaciado a propósito (heritails-documentos.php) */
/* Woo manda los dos campos en columnas (form-row-first / form-row-last, 47% y
   float). Acá van APILADOS y a ancho completo, como en la tarjeta de
   el otro negocio: son dos datos que se escriben uno después del otro, y en
   columnas el rótulo «Billing email» queda más angosto que su propio
   marcador de posición. El .clear de Woo sobra y se esconde. */
#htl-lg#htl-lg .htl-lg-track .form-row,
#htl-lg#htl-lg .htl-lg-track .form-row-first,
#htl-lg#htl-lg .htl-lg-track .form-row-last {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  overflow: visible;
}
#htl-lg#htl-lg .htl-lg-track .clear { display: none; }
#htl-lg#htl-lg .htl-lg-track label {
  display: block;
  font-size: var(--f-cap) !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  color: var(--tinta) !important;
  margin-bottom: 7px;
}
#htl-lg#htl-lg .htl-lg-track input[type="text"],
#htl-lg#htl-lg .htl-lg-track input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  background: var(--blanco);
  border: 1px solid #C9CFD5;
  border-radius: var(--r);
  font-family: var(--htl-font-ui);
  font-size: 16px;      /* 16px exactos: por debajo, iOS hace zoom al enfocar */
  line-height: 1.4;
  color: var(--tinta);
}
#htl-lg#htl-lg .htl-lg-track input:focus {
  outline: 2px solid var(--oro-osc);
  outline-offset: 1px;
  border-color: var(--navy);
}
#htl-lg#htl-lg .htl-lg-track button[type="submit"] {
  width: 100%;
  margin-top: 4px;
  padding: 16px 20px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--r);
  color: #FFFFFF;
  font-family: var(--htl-font-ui);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}
#htl-lg#htl-lg .htl-lg-track button[type="submit"]:hover { background: #0A1922; }
#htl-lg#htl-lg .htl-lg-track button[type="submit"]:focus-visible {
  outline: 2px solid var(--oro-osc);
  outline-offset: 3px;
}
/* El aviso de Woo cuando no encuentra el pedido. Sin esto sale con el estilo
   crudo del plugin —caja verde con borde arriba— que no es de este sitio. */
#htl-lg#htl-lg .woocommerce-info,
#htl-lg#htl-lg .woocommerce-error,
#htl-lg#htl-lg .woocommerce-message {
  background: var(--gris) !important;
  border-top: 0 !important;
  border-left: 3px solid var(--lacre) !important;
  border-radius: 0 var(--r) var(--r) 0 !important;
  padding: 16px 20px !important;
  margin: 0 0 20px !important;
  font-size: var(--f-cap) !important;
  color: var(--prosa) !important;
  list-style: none !important;
}
#htl-lg#htl-lg .woocommerce-info::before,
#htl-lg#htl-lg .woocommerce-error::before,
#htl-lg#htl-lg .woocommerce-message::before { content: none !important; }

/* ── CITAS ───────────────────────────────────────────────────────────── */
#htl-lg#htl-lg blockquote {
  margin: 1.5em 0 !important;
  padding: 2px 0 2px clamp(16px, 1.8vw, 24px);
  border-left: 2px solid var(--filete);
}
#htl-lg#htl-lg blockquote p { color: var(--tenue) !important; }

/* ── TABLAS ──────────────────────────────────────────────────────────── */
/* El contenedor scrollea solo: el body nunca se mueve en horizontal. */
#htl-lg .htl-lg-tabla {
  overflow-x: auto;
  margin: 1.6em 0;
  border: 1px solid var(--filete);
  border-radius: var(--r);
  -webkit-overflow-scrolling: touch;
}
#htl-lg#htl-lg table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  margin: 0 !important;
}
#htl-lg#htl-lg th,
#htl-lg#htl-lg td {
  text-align: left;
  padding: 12px 15px !important;
  border-bottom: 1px solid var(--filete);
  vertical-align: top;
  font-size: var(--f-cap) !important;
  line-height: 1.55 !important;
}
#htl-lg#htl-lg th {
  background: var(--gris);
  color: var(--tinta) !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
}
#htl-lg#htl-lg tbody tr:last-child td { border-bottom: 0; }

/* Las tablas se leen ENTERAS, sin desplazamiento lateral. Escritorio: los
   títulos parten renglón. break-word y NO anywhere: anywhere entra pero parte
   palabras al medio; break-word sólo corta una palabra que sola no entra.
   Celular (≤640px): cada fila es una ficha con sus campos rotulados; el
   data-label lo pone el mu-plugin al mostrar, el texto guardado no se toca. */
#htl-lg#htl-lg .htl-lg-tabla th,
#htl-lg#htl-lg .htl-lg-tabla td { white-space: normal; overflow-wrap: break-word; }
@media (max-width: 640px) {
  #htl-lg .htl-lg-tabla { overflow-x: visible; border: 0; border-radius: 0; }
  #htl-lg#htl-lg .htl-lg-tabla table,
  #htl-lg#htl-lg .htl-lg-tabla tbody,
  #htl-lg#htl-lg .htl-lg-tabla tr,
  #htl-lg#htl-lg .htl-lg-tabla td { display: block; width: auto; }
  #htl-lg#htl-lg .htl-lg-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #htl-lg#htl-lg .htl-lg-tabla tr { border: 1px solid var(--filete); border-radius: var(--r); overflow: hidden; }
  #htl-lg#htl-lg .htl-lg-tabla tr + tr { margin-top: 12px; }
  #htl-lg#htl-lg .htl-lg-tabla td { padding: 10px 14px !important; border-bottom: 1px solid var(--filete); }
  /* la regla de arriba (tbody tr:last-child td sin borde) dejaría la última
     ficha sin separadores entre campos */
  #htl-lg#htl-lg .htl-lg-tabla tbody tr:last-child td { border-bottom: 1px solid var(--filete); }
  #htl-lg#htl-lg .htl-lg-tabla tbody tr td:last-child { border-bottom: 0; }
  #htl-lg#htl-lg .htl-lg-tabla td:first-child { background: var(--gris); font-weight: 600 !important; }
  #htl-lg#htl-lg .htl-lg-tabla td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: .86em; font-weight: 600; letter-spacing: .02em; color: var(--tenue);
  }
}

/* ── SEPARADOR ───────────────────────────────────────────────────────── */
#htl-lg#htl-lg hr {
  border: 0;
  height: 1px;
  background: var(--filete);
  margin: clamp(40px, 4vw, 60px) 0 !important;
}

/* ── PIE DEL DOCUMENTO ───────────────────────────────────────────────── */
#htl-lg .htl-lg-pie {
  margin-top: clamp(48px, 5vw, 76px);
  padding-top: clamp(26px, 2.6vw, 36px);
  border-top: 1px solid var(--filete);
}
#htl-lg#htl-lg .htl-lg-pie p {
  font-size: var(--f-cap) !important;
  color: var(--tenue) !important;
  margin-bottom: .5em !important;
}
#htl-lg#htl-lg .htl-lg-pie-t {
  font-size: var(--f-eye) !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  color: var(--tenue) !important;
  margin: 0 !important;
}
/* Las páginas hermanas, como fichas y no como una oración con puntos medios.
   Es lo que el que está leyendo el reembolso busca después. */
#htl-lg .htl-lg-rel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
#htl-lg#htl-lg .htl-lg-rel a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--filete);
  border-radius: var(--r);
  font-size: var(--f-cap) !important;
  font-weight: 500;
  color: var(--navy) !important;
  text-decoration: none !important;
  transition: border-color .2s ease, background-color .2s ease;
}
#htl-lg#htl-lg .htl-lg-rel a:hover {
  background: var(--gris);
  border-color: var(--navy);
  color: var(--navy) !important;
}

/* ── MOVIMIENTO ──────────────────────────────────────────────────────── */
/* ⚠️ La PC del owner pide menos animación. Se ATENÚA, nunca se apaga. */
@media (prefers-reduced-motion: reduce) {
  #htl-lg#htl-lg a { transition: none; }
}


/* ════════════════════════════════════════════════════════════════════
   LOS AJUSTES DE Heritails SOBRE EL CÓDIGO PORTADO
   ════════════════════════════════════════════════════════════════════

   ⚠️ ESTE BLOQUE VA AL FINAL DE style.css Y NO ES UN DETALLE DE ORDEN.
   Una media query no suma especificidad: si estas reglas estuvieran arriba
   perderían contra las reglas base del CSS portado, que están más abajo, y el
   resultado sería un ajuste que aplica a medias — que es peor que no aplicar,
   porque parece que anduvo.

   Son pocas a propósito. Todo lo que se pueda resolver cambiando un token se
   cambia en :root, no acá: cada override es una divergencia más que mantener
   contra el original.
   ════════════════════════════════════════════════════════════════════ */

/* El cajón del menú va en la serif de titulares, igual que el original.
   ⚠️ El comentario que había acá estaba VIEJO: hablaba de Spectral, que ya no
   se usa. `--htl-font-heading` es `var(--htl-font-heading)`
   —el mismo valor, carácter por carácter, que `--fc-font-heading` en
   el otro negocio— y Cardo carga: comprobado midiendo el ancho del texto contra
   Georgia y contra la serif del sistema, que dan distinto.

   🔴 LO QUE SÍ DIVERGÍA ERA EL TAMAÑO. Esta regla lo subía a 21 px; el
   original declara **20**. Un píxel, pero era la única diferencia real entre
   los dos cajones, y el owner la vio. Se alinea.

   El 21 venía de la pasada de accesibilidad, que llevó el texto corrido a 21.
   Un ítem de navegación no es texto corrido: la declaración de accesibilidad
   habla de «body text», y el piso que afirma se sigue cumpliendo. */
.htl-menu-drawer__list a {
  /* ⚠️ SIN `font-family`: la pone la regla general de los cajones, en
     Montserrat, igual que en el original. Acá sólo queda el tamaño. */
  font-size: 20px;
  letter-spacing: -0.005em;
}

/* 🔴 LA CAUSA DEL BUG DE LOS CAJONES, ARREGLADA EN EL ORIGEN.
   En las páginas de categoría, Astra le pone `woocommerce columns-4` al <body>.
   El scroll-reveal del original busca la grilla con
   `.woocommerce.columns-4, ul.products` y agarra el <body> primero: le deja una
   animación con fill-mode:forwards y, con ella, un `transform` permanente.
   Un elemento con transform pasa a ser el contenedor de TODOS los
   position:fixed de adentro — por eso en FC el cajón del carrito mide 4.605 px
   en /product-category/our-collection/ y la ✕ queda fuera de la pantalla.

   El arreglo de verdad es acotar el selector en el JS, y así va en Heritails. Esto es
   el cinturón de seguridad por si algún día alguien vuelve a escribir un
   selector suelto: el <body> nunca anima. */
body {
  animation: none !important;
  transform: none !important;
}

/* El contenedor de Astra toma el ancho de Heritails, que es más angosto que el de FC. */
.ast-container,
.site-content .ast-container {
  max-width: var(--htl-container-width);
}

/* ════════════════════════════════════════════════════════════════════
   HABLARLE A ASTRA EN SU IDIOMA
   ════════════════════════════════════════════════════════════════════

   Medido en el navegador, no supuesto: el fondo blanco del sitio no salía de
   una regla suelta sino de `.ast-plain-container { background: var(--ast-global-color-4) }`,
   que es un token propio de Astra. Pelearle con `body { background: … }` perdía
   por especificidad (0,1,0 contra 0,0,1) y el resultado era un fondo blanco con
   un pie crema — o sea, el ajuste parecía aplicado y no lo estaba.

   Lo correcto es redefinir SUS tokens con los nuestros. Así Astra sigue
   pintando todo lo suyo —bordes, fondos alternos, títulos del blog, la tienda
   de WooCommerce— pero con la paleta del pack, y no hay que ir cazando reglas
   una por una cada vez que aparece una pantalla nueva.

   ⚠️ `:root:root` y no `:root`: Astra imprime SU :root en un <style> inline que
   va después de esta hoja. Con la misma especificidad gana el último, así que
   hay que subir a (0,2,0). Repetir el selector es la forma más barata. */

:root:root {
  --ast-global-color-0: #c9a84c;   /* enlaces y acento — el oro del original */
  --ast-global-color-1: #112b3d;   /* enlace hover */
  --ast-global-color-2: #112b3d;   /* títulos */
  --ast-global-color-3: #121212;   /* cuerpo */
  --ast-global-color-4: #ffffff;   /* EL FONDO del sitio */
  --ast-global-color-5: #f2ece3;   /* fondo alterno: el crema del original */
  --ast-global-color-6: #112b3d;
  --ast-global-color-7: rgba(17, 43, 61, 0.1);  /* bordes */
  --ast-global-color-8: #112b3d;

  --ast-blog-title-font-weight: 400;
}

/* Los titulares: Astra los imprime a 600 y 2.25rem desde su hoja inline, que va
   después de ésta. Acá no alcanza con ir al final —eso resuelve el orden, no la
   especificidad—: hay que ganarle en el selector. De ahí el `body` adelante.
   `header.entry-header .entry-title` de Astra pesa (0,1,2), así que el nuestro
   necesita (0,1,3). */
body h1, body h2, body h3, body h4, body h5, body h6,
body .entry-title,
body header.entry-header .entry-title {
  font-family: var(--htl-font-heading);
  font-weight: 400;
  color: var(--htl-navy);
  line-height: 1.12;
}

body h1,
body header.entry-header .entry-title { font-size: clamp(38px, 5.4vw, 66px); }
body h2 { font-size: clamp(30px, 4vw, 48px); }
body h3 { font-size: clamp(23px, 2.4vw, 30px); }

/* 🔴 ACÁ HABÍA UNA EXCEPCIÓN QUE DEVOLVÍA LA SERIF AL CAJÓN DEL MENÚ.
   Se saca el 2026-10-19: era una divergencia NUESTRA, no del original.

   En el otro negocio la regla que manda en los dos cajones es
   `body .fc-cart-drawer *, body .fc-menu-drawer * { font-family: Montserrat …
   !important }` (style.css L8779). Su regla serif de L5132 —`var(--fc-font-
   heading, Cardo)`— **está muerta**: la pisa esa. Por eso su cajón de menú se
   ve en la misma sans que su carrito, y el nuestro se veía en Cardo.

   Lo marcó el owner mostrando los dos cajones al lado: «debe ser la misma
   tipografía del carrito, ahí sí está bien». Sin excepción, el cajón del menú
   hereda la regla general y queda igual que el carrito y que el original. */

/* ════════════════════════════════════════════════════════════════════
   EL ANCHO DE LECTURA DE LAS PÁGINAS DE TEXTO
   ════════════════════════════════════════════════════════════════════
   Las legales salían a 1280 px de ancho: renglones de ~120 caracteres, donde
   el ojo pierde el principio de la línea siguiente. La medida cómoda está
   entre 60 y 75 caracteres, y con el cuerpo a 21 px eso son unos 38 rem.

   No aplica a la portada ni a la tienda, que tienen su propia maqueta: se
   acota a las páginas sueltas. */
body.page:not(.htl-portada):not(.woocommerce-page) .entry-content > * {
  max-width: 38rem;
}

body.page:not(.htl-portada):not(.woocommerce-page) .entry-content {
  margin-inline: auto;
  max-width: 38rem;
  padding-block: 8px 72px;
}

body.page:not(.htl-portada):not(.woocommerce-page) .entry-content h2 {
  margin-top: 2.2em;
  font-size: clamp(25px, 2.6vw, 31px);
}

body.page:not(.htl-portada):not(.woocommerce-page) .entry-content li {
  margin-bottom: .5em;
  line-height: 1.6;
}

/* El título de la página queda pegado al header: le falta aire arriba. */
body.page:not(.htl-portada) .entry-header,
body.page:not(.htl-portada) .ast-container > .site-main > article > .entry-header {
  margin-inline: auto;
  max-width: 38rem;
  padding-top: 48px;
}

/* ════════════════════════════════════════════════════════════════════
   LO PROPIO DEL CAJÓN: la fila de sugerencias y el aviso
   ════════════════════════════════════════════════════════════════════
   El resto del cajón viene portado del sitio original. Esto es lo que Heritails suma:
   los upsells adentro —donde ellos abren un panel aparte— y un aviso visible
   cuando una escritura falla, que en FC no existe. */

.htl-cart-sug {
  border-top: 1px solid var(--htl-border-soft);
  padding: 16px 20px 4px;
}

.htl-cart-sug__t {
  font-family: var(--htl-font-ui);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 500;
  color: var(--htl-gold);
  margin: 0 0 12px;
}

.htl-cart-sug__lista { list-style: none; margin: 0; padding: 0; }

.htl-cart-sug__item { margin-bottom: 12px; }

.htl-cart-sug__item a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--htl-text);
}

.htl-cart-sug__img {
  width: 44px;
  height: 62px;
  object-fit: contain;
  background: var(--htl-cream);
  border: 1px solid var(--htl-border-soft);
}

.htl-cart-sug__nombre {
  font-size: 16px;
  line-height: 1.3;
  color: var(--htl-navy);
}

.htl-cart-sug__precio {
  font-family: var(--htl-font-heading);
  font-size: 15px;
  white-space: nowrap;
}

/* El tachado del ancla, acá chiquito: en una fila de 44 px de alto, dos
   precios del mismo tamaño no se distinguen. */
.htl-cart-sug__precio del { opacity: .5; font-size: .82em; margin-right: .3em; }
.htl-cart-sug__precio ins { text-decoration: none; font-weight: 600; }

/* El aviso de error. Va arriba de los ítems, ocupa su lugar en la maqueta y
   desaparece solo. No es un modal: no hay que cerrarlo para seguir comprando. */
.htl-cart-drawer__aviso {
  margin: 0 0 12px;
  padding: 11px 14px;
  background: rgba(160, 123, 51, .12);
  border-left: 3px solid var(--htl-gold);
  font-size: 15px;
  line-height: 1.45;
  color: var(--htl-text);
}

.htl-cart-drawer__aviso[hidden] { display: none; }

/* ════════════════════════════════════════════════════════════════════
   EL FOCO DE TECLADO EN EL LOGO
   ════════════════════════════════════════════════════════════════════

   🔴 ES UN BUG DEL ORIGINAL Y CONTRADICE SU PROPIO COMENTARIO. El suyo
   dice, textual: «Keep :focus-visible (keyboard navigation) for accessibility
   — only the mouse-click :focus ring is removed». Pero la primera regla que
   escriben es:

       .custom-logo-link:focus { outline: none !important; box-shadow: none !important; }

   y un elemento enfocado con el teclado **también** matchea `:focus`. Con el
   !important, el anillo desaparece para los dos casos. La segunda regla, la
   de `:focus:not(:focus-visible)`, ya no agrega nada.

   Medido con Tab real en nuestro sitio: el logo es el tercer elemento
   enfocable y salía con `outline: none` y sin sombra. Quien navega con
   teclado pierde de vista dónde está apenas pasa el enlace de saltar al
   contenido.

   Nos importa además porque **nuestra declaración de accesibilidad afirma por
   escrito que el foco de teclado siempre se ve**. Una afirmación publicada que
   no se cumple es peor que no haberla hecho.

   Esto repone el anillo SÓLO para teclado. El clic del mouse sigue sin dejar
   el borde punteado, que es lo que ellos querían arreglar. */
.custom-logo-link:focus-visible,
.site-logo-img a:focus-visible,
.site-branding a:focus-visible {
  outline: 2px solid var(--htl-gold) !important;
  outline-offset: 3px;
}

/* ──────────────────────────────────────────────────────────────────────
   La línea de ayuda de los campos, dentro de la columna de compra portada

   el original no tiene este elemento: sus campos no explican qué escribir.
   Acá sí, y no es decorativo — lo que la persona escribe es lo que se
   imprime en la hoja. Mismo cuerpo que la de la ficha estándar
   (.htl-campo__ayuda) para que las dos se vean igual.
   ────────────────────────────────────────────────────────────────────── */
.htl-fp-ayuda {
	margin: -4px 2px 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--htl-text-soft, #5f6670);
}

/* ──────────────────────────────────────────────────────────────────────
   El acordeón, ahora DENTRO de la columna de compra

   Nació a dos columnas porque iba debajo de la ficha, a todo el ancho. Desde
   que vive dentro de la columna —como en el original, que así no deja el
   hueco en blanco— esas dos columnas entran en ~570 px y parten los títulos:
   «About this / edition», «What if my name is / rare?».

   Se apila. Y el ancho se suelta: el contenedor traía el ancho y el padding
   de una sección de página entera, que acá sobran.
   ────────────────────────────────────────────────────────────────────── */
.summary .htl-ficha-extra,
.entry-summary .htl-ficha-extra {
	display: block;
	max-width: none;
	margin: 26px 0 0;
	padding: 0;
}

.summary .htl-ficha-extra .htl-plegable + .htl-plegable,
.entry-summary .htl-ficha-extra .htl-plegable + .htl-plegable {
	margin-top: 30px;
}

/* ──────────────────────────────────────────────────────────────────────
   El desborde de 1 px en móvil

   Medido a 390 px: la página daba `scrollWidth` 391. Los culpables son el
   abanico y el mazo de «What comes back», que van de −1 a 391 — un píxel
   sobresaliendo de cada lado, por redondeo del centrado a sangre completa.

   Un píxel no se ve, pero sí se siente: la página se arrastra de costado y
   rebota, que en un teléfono se lee como «está rota».

   ⚠️ `clip`, NUNCA `hidden`. `hidden` convierte la sección en contenedor de
   scroll y rompe cualquier `position: sticky` de adentro. El archivo ya tenía
   esa advertencia escrita para otra sección; vale igual acá.
   ────────────────────────────────────────────────────────────────────── */
#htl-h3 section[aria-labelledby="htl-h3-rec-h"] {
	overflow-x: clip;
}


/* ═══════════════════════════════════════════════════════════════════════
   EL LOGO DEL ENCABEZADO, MÁS GRANDE — 2026-10-19
   ═══════════════════════════════════════════════════════════════════════
   Pedido del owner: agrandarlo **sin que cambie el alto del header**.

   Medido antes de tocar: el logo salía 207×32 y su contenedor
   `.site-branding` medía 74 px de alto con `padding: 21px 0`, o sea que los
   32 px del logo llenaban exactamente la caja de contenido. Subir el logo sin
   más habría empujado el header.

   La cuenta: 44 + 15 + 15 = 74. El alto del contenedor —y por lo tanto el del
   header— queda igual, y el logo pasa de 32 a 44 px (+37%).

   ⚠️ `max-width` tiene que subir junto con el alto o el logo se recorta: la
   proporción del archivo es 1658/257 = 6,45, así que a 44 px de alto mide
   284 px de ancho. Con el tope viejo de 250 se habría cortado la última letra.

   ⚠️ NO toca el header de teléfono (≤749px): ahí el logo va en 21 px y
   **posicionado en absoluto**, con `margin-left: -82px` y `margin-top:
   -10.5px` calculados a mano desde su tamaño. Cambiarlo obliga a recalcular
   los dos desplazamientos, y el owner no pidió eso.
   ═══════════════════════════════════════════════════════════════════════ */
/* Heritails (2026-12-02): el logo es 1600×370 = 4,32:1, mucho más compacto que el del otro negocio (7,8:1).
   A 36 px de alto mide ~156 de ancho (sugerencia del agente de FC: si no, queda un sello ilegible). */
#ast-mobile-header .custom-logo {
  max-width: 200px !important;
  height: 36px !important;
  max-height: 36px !important;
}
#ast-mobile-header .site-branding,
#ast-mobile-header .ast-site-identity {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   EL LOGO DEL HEADER MÓVIL, AL MISMO ANCHO QUE EL DEL OTRO NEGOCIO — 2026-10-19
   ═══════════════════════════════════════════════════════════════════════
   El owner lo vio al lado del de FC: el nuestro se ve más chico. No era una
   impresión, y la causa no es el CSS —las reglas están portadas literal, 164
   de ancho máximo y 21 de alto, con el centrado en `-82 / -10.5`—. Es la
   PROPORCIÓN DEL ARCHIVO:

     el otro negocio · 500×64   = 7,81:1   → a 21 px de alto mide **164** de ancho
     First Day Ed. · 1658×257 = 6,45:1   → a 21 px de alto mide **135** de ancho

   O sea que el de ellos llena justo su tope de 164 —de ahí salen el 164 y el
   -82 de su CSS— y el nuestro se queda 29 px corto. Al mismo alto, su marca
   ocupa más y por eso pesa más.

   Se iguala por ANCHO, que es lo que se compara de un vistazo: 164 / 6,45 =
   **25,4 px de alto**.

   ⚠️ Los dos desplazamientos del centrado salen del tamaño y hay que
   recalcularlos — su propio comentario lo advierte. El de la izquierda no
   cambia porque el ancho sigue siendo 164; el de arriba sí: 25,4 / 2.

   ⚠️ NO PUEDE AGRANDAR EL HEADER. En el móvil el logo va `position:
   absolute`, así que está fuera del flujo: su alto no empuja nada. Es la
   razón por la que esto se puede hacer sin tocar la barra.
   ═══════════════════════════════════════════════════════════════════════ */
/* Heritails (2026-12-02): 28 px de alto (~121 de ancho) y centrado con translate(-50%,-50%), que no depende de
   calcular a mano la mitad del ancho y del alto como el margen fijo de antes. */
@media (max-width: 749px) {
  #ast-mobile-header .custom-logo {
    max-width: 140px !important;
    height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%);
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   EL PUNTEADO DEL CLIC — fuera de TODO el sitio
   -----------------------------------------------------------------------
   🔴 Astra trae `main.min.css :: a:focus { outline: dotted thin }`. `:focus`
   dispara también **al hacer clic con el mouse**, así que después de tocar
   cualquier enlace —una pieza de la cadena, un «Learn more», un enlace del
   pie— queda un rectángulo punteado alrededor. El owner lo marcó dos veces:
   «eso no debe pasar en ninguna parte del sitio nunca más».

   ⚠️ SE APAGA SÓLO EL DEL CLIC. `:focus-visible` es el que dispara con el
   teclado y ése NO se toca: quien navega con Tab tiene que ver dónde está
   parado. Apagar el foco entero dejaría el sitio inoperable con teclado y es
   un incumplimiento de la propia declaración de accesibilidad.

   Va acá, en los ajustes, porque style.css es la hoja de TODO el sitio —
   home.css sólo carga en la portada, /about/, /pricing/ y las de plan.
   ═══════════════════════════════════════════════════════════════════════ */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: 0 !important;
}

/* El contenedor del lightbox de la galería (PhotoSwipe) se enfoca solo al
   abrirse, así que matchea :focus-visible de verdad y se lleva puesto el
   contorno dorado — un recuadro alrededor de TODA la pantalla. Un diálogo que
   toma el foco no necesita anillo: lo necesitan sus controles, y ésos lo
   conservan. */
.pswp:focus,
.pswp:focus-visible { outline: 0 !important; }


/* Heritails (2026-12-02): en el teléfono los enlaces del pie medían 26 px de alto (el verificador de portada
   pide 40). Se agranda el área de toque sin cambiar la letra ni la grilla: el gap de la lista se compensa. */
@media (max-width: 749px) {
  .htl-footer__col ul { gap: 0 !important; }
  .htl-footer__col a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .htl-footer__contacto { min-height: 44px; display: inline-flex !important; align-items: center; }
}

/* Heritails (2026-12-02): el pie se alinea con el contenedor de la portada (1180 + márgenes) y se separa del cierre. */
.htl-footer { border-top: 1px solid rgba(255,255,255,.08); }
.htl-footer__inner { max-width: 1220px !important; padding-inline: 20px !important; }
.htl-footer__aviso { margin: 14px 0 0; max-width: 44ch; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.62); }
.htl-footer__col-t { font-size: 12px !important; }

/* Heritails v2: con las cuatro columnas de FC presentes, la primera vuelve a la pista 1 (la regla de arriba la
   corría a la 2 cuando eran tres). Mientras falte alguna página, las que existen siguen alineadas a la derecha. */
@media (min-width: 720px) {
  .htl-footer__cols:has(> .htl-footer__col:nth-of-type(4)) > .htl-footer__col:first-of-type { grid-column: auto; }
}
