/* ============================================
   BFM Store — base global (tipografía + helpers)
   Portado de Diseño Web/.../project/styles.css (base styles).
   Los estilos de componentes (cards, single, catálogo) viven en el
   plugin de widgets y en los overrides de WooCommerce, no acá.
   ============================================ */

* { box-sizing: border-box; }

body.bfm-store {
  font-family: var(--font-body);
  color: var(--bfm-ink);
  background: var(--bfm-white);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

body.bfm-store img { max-width: 100%; height: auto; display: block; }
body.bfm-store button { font: inherit; cursor: pointer; }
body.bfm-store input,
body.bfm-store textarea,
body.bfm-store select { font: inherit; color: inherit; }

/* Layout helper del diseño */
.bfm-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Helpers tipográficos del diseño (Orbitron) */
.bfm-h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bfm-deep);
}
.bfm-h-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--bfm-muted);
}
.bfm-h-sectiontitle {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bfm-deep);
  font-size: 28px;
  margin: 0;
}

/* Título de página grande (Carrito/Tienda/etc.): responsive en móvil para que
   palabras largas no desborden. En escritorio se respeta el tamaño del diseño. */
.bfm-store .page-header .entry-title,
.bfm-store .woocommerce-products-header__title {
  overflow-wrap: break-word;
}
@media (max-width: 600px) {
  .bfm-store .page-header .entry-title,
  .bfm-store .woocommerce-products-header__title {
    font-size: clamp(2rem, 11vw, 3.4rem);
    line-height: 1.1;
  }
}
