/* =============================================================
   FARMACIA MARÍA AGUIRRE — Sistema visual
   Tipografía: Cormorant Garamond (display) + Montserrat (UI)
   Paleta:     verde botánico dominante · rosa SOLO acento
   ============================================================= */

:root {
  /* Brand palette (del manual) */
  --c-verde-botanico: #276B45;
  --c-verde-salvia:   #6FAE8C;
  --c-verde-claro:    #A9CDD8; /* nota: en manual aparece como verde claro */
  --c-verde-mint:     #C9DDC9;
  --c-rosa:           #E79BAE;
  --c-rosa-suave:     #F4D6DD;
  --c-crema:          #F3EFEA;
  --c-crema-soft:     #FAF7F3;
  --c-grafito:        #1F2A24;  /* un poco más profundo que #333 para contraste */
  --c-grafito-soft:   #4A554F;
  --c-blanco:         #FFFFFF;
  --c-linea:          rgba(31,42,36,.10);
  --c-linea-strong:   rgba(31,42,36,.18);

  /* Semantic */
  --bg:               var(--c-crema-soft);
  --bg-alt:           var(--c-crema);
  --bg-dark:          var(--c-verde-botanico);
  --ink:              var(--c-grafito);
  --ink-soft:         var(--c-grafito-soft);
  --accent:           var(--c-rosa);

  /* Type */
  --ff-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ff-ui:      "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (modular, editorial) */
  --fs-eyebrow: .72rem;   /* 11.5 */
  --fs-body:    1rem;     /* 16   */
  --fs-lead:    1.125rem; /* 18   */
  --fs-h6:      1.0625rem;
  --fs-h5:      1.375rem;
  --fs-h4:      1.75rem;
  --fs-h3:      2.25rem;
  --fs-h2:      3rem;
  --fs-h1:      clamp(2.75rem, 5.6vw, 5.25rem);
  --fs-display: clamp(3.75rem, 8vw, 7.5rem);

  /* Spacing */
  --gut:  clamp(20px, 3vw, 40px);
  --pad:  clamp(40px, 7vw, 120px);
  --sec:  clamp(72px, 11vw, 160px);

  /* Layout */
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1320px;
  --ease:      cubic-bezier(.2,.7,.2,1);
}

/* Reset (editorial-friendly) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-ui);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--c-verde-mint); color: var(--c-verde-botanico); }

/* =============================================================
   Type
   ============================================================= */

.eyebrow {
  font-family: var(--ff-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-verde-botanico);
}
.eyebrow--rose { color: var(--c-verde-salvia); }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1.5px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}

h1, h2, h3, h4, .display {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--c-verde-botanico);
  line-height: 1.04;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
.display { font-size: var(--fs-display); line-height: .95; }

h1 em, h2 em, .em-script {
  font-style: italic;
  font-weight: 400;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

.rule {
  display: inline-block;
  width: 56px; height: 1.5px;
  background: var(--c-verde-salvia);
  vertical-align: middle;
  margin: 0 14px;
}
.dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--c-verde-salvia);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 10px;
  transform: translateY(-3px);
}

/* =============================================================
   Layout primitives
   ============================================================= */

.wrap   { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-x { max-width: 1480px;     margin: 0 auto; padding: 0 var(--gut); }
.section{ padding: var(--sec) 0; }
.section--tight{ padding: calc(var(--sec) * .65) 0; }

/* =============================================================
   Buttons
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  border-radius: 999px;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn .lucide { width: 17px; height: 17px; stroke-width: 2; }
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--c-verde-botanico);
  color: var(--c-blanco);
}
.btn--primary:hover { background: #1f5739; box-shadow: 0 12px 28px -14px rgba(39,107,69,.6); }

.btn--ghost {
  background: transparent;
  color: var(--c-verde-botanico);
  border: 1.5px solid var(--c-linea-strong);
}
.btn--ghost:hover { background: var(--c-blanco); border-color: var(--c-verde-botanico); }

.btn--rose {
  background: var(--c-verde-salvia);
  color: var(--c-blanco);
}
.btn--rose:hover { background: #5a9577; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--c-verde-botanico);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 12px; }
.link-arrow .lucide { width: 16px; height: 16px; }

/* =============================================================
   Topbar + Header
   ============================================================= */

.topbar {
  background: var(--c-verde-botanico);
  color: var(--c-blanco);
  font-size: .76rem;
  letter-spacing: .03em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  height: 36px;
  overflow: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
}
@media (max-width: 720px) {
  /* Móvil: una sola línea centrada, sin scroll horizontal (auditoría 9-jun-2026) */
  .topbar__inner { justify-content: center; gap: 14px; overflow: hidden; padding-left: var(--gut); padding-right: var(--gut); }
  /* :not(:first-child) añade especificidad para ganar a la regla base .topbar__inner > * que va DESPUÉS en el archivo (las media queries no suman especificidad) */
  .topbar__inner > *:not(:first-child) { display: none; }
  .topbar__inner > *:first-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.topbar__inner > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar .lucide { width: 14px; height: 14px; opacity: .9; }
.topbar__sep { width: 3px; height: 3px; background: rgba(255,255,255,.45); border-radius: 50%; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,243,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--c-linea);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 84px;
}
.site-header .nav { flex: 1 1 auto; justify-content: center; min-width: 0; }
.site-header .brand { flex-shrink: 0; }
.site-header .header-actions { flex-shrink: 0; }
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand__mark { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; }
.brand__name { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand__sub  { font-size: .62rem; letter-spacing: .26em; font-weight: 700; color: var(--c-grafito-soft); text-transform: uppercase; }
.brand__main { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; color: var(--c-verde-botanico); line-height: 1; white-space: nowrap; }
.brand__main em { font-style: italic; font-weight: 400; }
/* Footer brand mark a bit larger again so it has presence on the dark background */
.site-footer .brand__mark { width: 64px; height: 64px; }

.nav { display: flex; justify-content: flex-end; gap: 22px; flex: 1 1 auto; min-width: 0; }
.nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--c-grafito);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--c-verde-botanico); }
.nav a.is-active { color: var(--c-verde-botanico); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--c-verde-salvia);
}

.header-actions {
  display: flex; align-items: center; gap: 8px;
}
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--c-grafito);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--c-verde-mint); color: var(--c-verde-botanico); }
.icon-btn .lucide { width: 19px; height: 19px; stroke-width: 1.6; }
.icon-btn .badge {
  position: absolute; transform: translate(12px,-12px);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-verde-salvia); color: var(--c-blanco);
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn { position: relative; }

.btn-cta-header {
  margin-left: 6px;
  padding: 11px 20px;
  font-size: .82rem;
}

/* Hamburger (mobile) */
.hamburger { display: none; }

@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav a { font-size: .76rem; }
  .btn-cta-header { padding: 10px 14px; font-size: .74rem; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .btn-cta-header { display: none; }
  .hamburger { display: inline-flex; }
}

/* =============================================================
   Footer
   ============================================================= */

.site-footer {
  background: var(--c-verde-botanico);
  color: rgba(255,255,255,.78);
  padding: var(--sec) 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer .sprig {
  position: absolute; right: -40px; top: 40px;
  width: 260px; opacity: .14;
  filter: brightness(0) invert(1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.site-footer h5 {
  font-family: var(--ff-ui);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-blanco);
  margin: 0 0 22px;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .92rem; }
.site-footer a:hover { color: var(--c-verde-mint); }
.site-footer .brand__main { color: var(--c-blanco); }
.site-footer .brand__sub  { color: rgba(255,255,255,.55); }
.site-footer .brand__mark { filter: brightness(0) invert(1); opacity: .9; }

.footer-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex; justify-content: space-between; gap: 24px;
  font-size: .8rem; color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  /* Footer compacto en móvil, sin recortes, legal-links que envuelven (auditoría 9-jun-2026) */
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 24px 22px; }
  .footer-grid > div { min-width: 0; }                 /* permite que la columna encoja y el contenido envuelva en vez de recortarse */
  .footer-grid > div:first-child { grid-column: 1 / -1; }  /* la marca (logo+nombre) ocupa fila completa: no se sale a la columna de al lado (auditoría 9-jun-2026) */
  .site-footer ul li, .site-footer ul li a { overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom .legal-links { flex-wrap: wrap; gap: 10px 16px; }
}

/* =============================================================
   Floating WhatsApp
   ============================================================= */

.fab-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px;
  background: #25D366; color: white;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.55);
  transition: transform .25s var(--ease);
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .lucide { width: 26px; height: 26px; stroke-width: 2; }
.fab-wa::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366; opacity: .4;
  animation: fab-pulse 2.4s var(--ease) infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(.9); opacity: .55; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* =============================================================
   Image placeholder (editorial)
   ============================================================= */

.imgph {
  position: relative;
  background: var(--c-crema);
  border: 1px dashed var(--c-linea-strong);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.imgph::before {
  /* gentle texture so it's not a flat box */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(111,174,140,.18), transparent 60%),
    radial-gradient(50% 40% at 80% 80%, rgba(231,155,174,.12), transparent 60%);
  pointer-events: none;
}
.imgph:hover { border-color: var(--c-verde-salvia); background: #ECE7DF; }

.imgph__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 10px;
  color: var(--c-grafito-soft);
}
.imgph__icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--c-verde-salvia);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-verde-botanico);
  background: rgba(255,255,255,.6);
}
.imgph__icon .lucide { width: 18px; height: 18px; stroke-width: 1.6; }
.imgph__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-verde-botanico);
}
.imgph__hint {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-grafito-soft);
  opacity: .8;
}
.imgph__dims {
  position: absolute; top: 10px; right: 12px;
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--c-grafito-soft);
  opacity: .6;
  font-variant-numeric: tabular-nums;
}

/* When the placeholder has been filled with a real image */
.imgph--filled { cursor: default; border-style: solid; border-color: transparent; background: transparent; }
.imgph--filled::before { display: none; }
.imgph--filled .imgph__inner { display: none; }
.imgph--filled .imgph__dims { display: none; }
.imgph__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Iframes inside imgph (e.g., Google Maps embed in Visita) fill the box */
.imgph iframe,
.visita__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* Prompt modal */
.prompt-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(31,42,36,.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.prompt-modal.is-open { display: flex; }
.prompt-modal__panel {
  background: var(--c-blanco);
  border-radius: var(--radius-lg);
  max-width: 720px; width: 100%;
  max-height: 86vh; overflow: auto;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.4);
}
.prompt-modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-grafito-soft);
}
.prompt-modal__close:hover { background: var(--c-crema); }
.prompt-modal__eyebrow { display: block; margin-bottom: 8px; }
.prompt-modal h3 { font-size: 1.75rem; margin-bottom: 18px; }
.prompt-modal__meta { font-size: .82rem; color: var(--c-grafito-soft); margin-bottom: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.prompt-modal__meta b { color: var(--c-verde-botanico); }
.prompt-modal__prompt {
  background: var(--c-crema-soft);
  border-left: 3px solid var(--c-verde-salvia);
  padding: 18px 22px;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--c-grafito);
  border-radius: 4px;
  white-space: pre-wrap;
}
.prompt-modal__copy {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--c-verde-botanico);
}
.prompt-modal__copy:hover { color: var(--c-verde-salvia); }

/* =============================================================
   Reveal on scroll
   ============================================================= */

.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  html.js-on .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
}

/* =============================================================
   Tweaks panel
   ============================================================= */

.tweaks {
  position: fixed; bottom: 24px; left: 24px; z-index: 70;
  width: 280px;
  background: var(--c-blanco);
  border: 1px solid var(--c-linea);
  border-radius: 16px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.25);
  padding: 18px 20px;
  font-size: .85rem;
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks__title { font-family: var(--ff-display); font-size: 1.25rem; color: var(--c-verde-botanico); margin: 0 0 4px; }
.tweaks__sub   { font-size: .72rem; color: var(--c-grafito-soft); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.tweaks__group { margin-top: 14px; }
.tweaks__group-title { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-grafito-soft); margin-bottom: 8px; }
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__pill {
  padding: 7px 12px;
  border: 1px solid var(--c-linea-strong);
  border-radius: 999px;
  font-size: .76rem; font-weight: 500;
  color: var(--c-grafito);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.tweaks__pill:hover { border-color: var(--c-verde-botanico); }
.tweaks__pill.is-on {
  background: var(--c-verde-botanico);
  border-color: var(--c-verde-botanico);
  color: var(--c-blanco);
}
.tweaks__close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-grafito-soft);
}
.tweaks__close:hover { background: var(--c-crema); }

/* ════════════════════════════════════════════════════════════════════════
 * MOBILE-FIRST FIXES — auditoría 2-may-2026
 *   - Tap targets ≥44px en mobile (Apple/Google guidelines)
 *   - Texto mínimo 12.5px en metadatos, 14px+ en cuerpo
 *   - Mejor usabilidad y conversión en pantallas pequeñas
 * ════════════════════════════════════════════════════════════════════════ */

/* link-arrow: padding vertical para hacerlo más alto y legible */
.link-arrow {
  padding: 10px 0;
  min-height: 44px;
  font-size: .92rem;
}

/* Footer links (móvil): más altos y con más respiración */
.site-footer ul li a,
.site-footer .footer-grid ul li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  font-size: .92rem;
  line-height: 1.4;
}

/* Legal links footer: más legibles */
.site-footer .legal-links a {
  padding: 6px 0;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
}

/* Iconos del header con tap area mínima */
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Tap area de WhatsApp FAB */
.fab-wa {
  min-width: 56px;
  min-height: 56px;
}

@media (max-width: 768px) {
  /* Topbar: menos cosas visibles, las que sí, más legibles */
  .topbar__inner > * {
    font-size: .82rem !important;
    line-height: 1.4;
  }

  /* Marquee: items un poco más grandes */
  .marquee__item {
    font-size: .85rem !important;
  }

  /* Brand sub */
  .brand__sub {
    font-size: .68rem !important;
  }

  /* Eyebrow más legible */
  .eyebrow {
    font-size: .78rem !important;
    letter-spacing: .18em;
  }

  /* CTA del header en mobile: ocultar texto largo, dejar solo si cabe */
  .btn-cta-header {
    font-size: .82rem !important;
    padding: 10px 14px;
  }

  /* Tap targets footer mobile: más grandes */
  .site-footer ul li a,
  .site-footer .footer-grid ul li a {
    min-height: 44px;
    padding: 8px 0;
    font-size: .95rem;
  }

  .site-footer .legal-links a {
    min-height: 36px;
    padding: 8px 0;
    font-size: .85rem;
  }

  /* Form inputs: tap target generoso */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    min-height: 48px;
    font-size: 16px; /* >=16px evita zoom auto al focus en iOS */
    padding: 12px 14px;
  }

  /* Botones primary y ghost en mobile: bien grandes */
  .btn--primary, .btn--ghost {
    min-height: 48px;
    padding: 14px 22px;
    font-size: 1rem;
  }
}

/* Asegurar que no hay overflow horizontal en NINGÚN viewport */
html, body {
  overflow-x: hidden;
}

/* Imágenes responsive obligatorio */
img {
  max-width: 100%;
  height: auto;
}

/* Refinos auditoría mobile-first 2-may-2026 (round 2) */

/* Tap area generosa para links de contacto (tel, email, whatsapp) */
a[href^="tel:"],
a[href^="mailto:"],
a[href*="wa.me"],
a[href*="whatsapp"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
}

/* Hamburguesa: tap area 44x44 mínimo */
.hamburger,
.icon-btn.hamburger {
  min-width: 44px !important;
  min-height: 44px !important;
}

@media (max-width: 768px) {
  /* Footer headings más legibles en mobile */
  .site-footer h5 {
    font-size: .92rem !important;
  }

  /* Article meta y cat más legibles */
  .article__cat {
    font-size: .78rem !important;
  }
  .article__meta {
    font-size: .82rem !important;
  }

  /* Hint placeholder (solo dev): no aplica en producción pero por si acaso */
  .imgph__hint {
    font-size: .78rem !important;
  }
}

/* Round 3 — fixes específicos tienda + ficha producto + breadcrumb (mobile) */

/* Breadcrumb tap area */
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
}

/* Sidebar de categorías: tap area generosa */
.shop-sidebar a,
.shop-sidebar li,
.fma-sidebar a,
.shop-cats a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  font-size: .95rem;
}

/* Product cards: badges y marca más legibles */
.product-card__badge,
.product-card__brand {
  font-size: .78rem !important;
}

/* Subhero eyebrow */
.subhero__eyebrow {
  font-size: .78rem !important;
}

@media (max-width: 768px) {
  /* Cualquier link "row" en sidebar/listado mobile */
  .shop-sidebar li,
  .shop-cats li,
  .fma-sidebar__list li {
    font-size: .95rem;
  }

  /* Hero title responsive */
  .subhero h1 {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
  }

  /* Product card price y title */
  .product-card__title {
    font-size: 1rem;
  }
  .product-card__price {
    font-size: 1.05rem;
  }
}
