/* bh2026-marcas-cuenta.css — fase 5 UX marcas y Mi cuenta (Claudia 15-oct-2026)
   Usa las variables de bh2026.css (--bh-g, --bh-g-ink, --bh-g-d, --bh-bg, --bh-line, --bh-pink-ink, --bh-text, --bh-muted).
   Textos blancos solo sobre #4a842c (verde) o #d63a63 (rosa) por contraste AA. */

/* ==========================================================================
   COMUN
   ========================================================================== */
.bh5-marcas, .bh5-cuenta { max-width: 1480px; margin: 0 auto; padding: 0 0 40px; color: var(--bh-text); }
.bh5-marcas .bh5-ic, .bh5-marcas .bh5-ico, .bh5-cuenta .bh5-ic { display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.bh5-marcas .bh5-h1.page-heading, .bh5-cuenta .bh5-h1.page-heading, .bh5-marca-h1.page-heading {
  font-size: 44px; line-height: 1.1; font-weight: 700; color: #12301a; text-transform: none; letter-spacing: 0;
  background: none; border: 0; padding: 0; margin: 0 0 10px; }
.bh5-marcas h2, .bh5-cuenta h2 { text-transform: none; letter-spacing: 0; background: none; border: 0; padding: 0; margin: 0; color: #12301a; font-weight: 700; }
.bh5-sub { color: var(--bh-muted); font-size: 18px; line-height: 1.45; margin: 0; }
.bh5-marcas a:focus-visible, .bh5-cuenta a:focus-visible, .bh5-marcas button:focus-visible, .bh5-marcas input:focus-visible { outline: 3px solid var(--bh-g-d); outline-offset: 2px; }

/* ==========================================================================
   MARCAS (/fabricantes)
   ========================================================================== */
.bh5-head { text-align: center; padding: 26px 12px 24px; }
.bh5-head .bh5-sub { max-width: 820px; margin: 0 auto; }

/* tarjeta de marca (compartida: destacadas y lista) */
.bh5-marcas .bh5-tile { position: relative; display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 12px 46px 12px 14px;
  background: #fff; border: 1px solid #e6e8df; border-radius: 12px; box-shadow: 0 1px 3px rgba(31,90,46,.06); color: var(--bh-text); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.bh5-marcas .bh5-tile:hover, .bh5-marcas .bh5-tile:focus { border-color: var(--bh-g); box-shadow: 0 3px 10px rgba(31,90,46,.14); text-decoration: none; color: var(--bh-text); }
/* logo: webp recortado 300x120 (img/marcas/<id>.webp) -> la caja llena el ancho disponible; object-fit:contain por si viene el respaldo 350x350 */
.bh5-marcas .bh5-logo { display: flex; align-items: center; justify-content: center; width: min(100%, 230px); aspect-ratio: 300 / 120; }
.bh5-marcas .bh5-logo img { width: 100%; height: 100%; object-fit: contain; }
.bh5-marcas .bh5-txt { font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--bh-g-d); text-align: center; overflow-wrap: anywhere; }
.bh5-marcas .bh5-nom { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } /* en PC solo el logo; el nombre queda para lectores y buscadores */
.bh5-marcas .bh5-go { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid #d9ddd0; border-radius: 50%; background: #fff; color: #2c3a28; }

/* destacadas */
.bh5-dest { background: #f6f5ee; border-radius: 18px; padding: 22px 22px 24px; margin: 0 0 22px; }
.bh5-dest-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bh5-dest-top h2 { font-size: 26px; }
.bh5-vertodas { color: var(--bh-g-hov); font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.bh5-vertodas:hover { text-decoration: underline; }
.bh5-carr { position: relative; }
.bh5-dest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.bh5-dest-list .bh5-dest-item { margin: 0; padding: 0; }
.bh5-dest .bh5-tile { min-height: 132px; padding: 14px 14px 44px; }
.bh5-dest .bh5-logo { width: 100%; }
.bh5-arr, .bh5-dots { display: none; }

/* buscador + abecedario */
.bh5-busca { background: var(--bh-bg); border-radius: 18px; padding: 22px; margin: 0 0 26px; }
.bh5-busca h2 { font-size: 26px; margin-bottom: 14px; }
.bh5-form { position: relative; margin: 0 0 16px; }
.bh5-lupa { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--bh-g-ink); pointer-events: none; }
.bh5-busca .bh5-q { width: 100%; height: 56px; box-sizing: border-box; padding: 0 20px 0 52px; font-size: 17px; color: var(--bh-text); background: #fff; border: 1px solid var(--bh-line); border-radius: 28px; box-shadow: none; -webkit-appearance: none; appearance: none; }
.bh5-busca .bh5-q::placeholder { color: #66705f; opacity: 1; }
.bh5-abc-wrap { position: relative; }
.bh5-abc-next { display: none; }
.bh5-abc { display: flex; flex-wrap: wrap; gap: 8px; }
.bh5-abc a, .bh5-abc .bh5-off { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 44px; padding: 0 6px; box-sizing: border-box; font-size: 16px; font-weight: 600; border-radius: 8px; border: 1px solid #dfe5d6; background: #fff; color: #2c3a28; text-decoration: none; }
.bh5-abc a:hover, .bh5-abc a.bh5-on { background: var(--bh-g-ink); border-color: var(--bh-g-ink); color: #fff; text-decoration: none; }
.bh5-abc .bh5-off { opacity: .4; }
.bh5-chips { display: none; list-style: none; margin: 14px 0 0; padding: 0; gap: 8px; flex-wrap: wrap; }

/* lista completa */
.bh5-todas-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 6px; margin: 0 0 12px; }
.bh5-todas-top h2 { font-size: 26px; }
.bh5-cont { font-weight: 400; color: var(--bh-muted); }
.bh5-orden { color: var(--bh-muted); font-size: 15px; }
.bh5-letra { margin: 0 0 22px; scroll-margin-top: 110px; }
.bh5-letra[hidden], .bh5-marca[hidden] { display: none; }
.bh5-marcas h3.bh5-rotulo { margin: 0 0 12px; padding: 4px 16px; background: #eaf3e0; border-radius: 10px; font-size: 28px; font-weight: 700; line-height: 1.3; color: var(--bh-g-hov); text-transform: none; border: 0; }
.bh5-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bh5-grid .bh5-marca { margin: 0; padding: 0; }
.bh5-vacio { text-align: center; padding: 30px 12px; font-size: 18px; color: var(--bh-muted); }
.bh5-vacio[hidden] { display: none; }

@media (max-width: 1199px) {
  .bh5-grid { grid-template-columns: repeat(3, 1fr); }
  .bh5-dest-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- movil ---------- */
@media (max-width: 767px) {
  .bh5-marcas .bh5-h1.page-heading, .bh5-cuenta .bh5-h1.page-heading { font-size: 32px; }
  .bh5-sub { font-size: 16px; }
  .bh5-head { padding: 14px 4px 18px; }
  .bh5-dest, .bh5-busca { padding: 16px 14px 18px; border-radius: 14px; }
  .bh5-dest-top h2, .bh5-busca h2, .bh5-todas-top h2 { font-size: 22px; }
  /* titulo y enlace cada uno en una sola linea; si no caben juntos, el enlace baja debajo */
  .bh5-dest-top { flex-wrap: wrap; row-gap: 0; }
  .bh5-dest-top h2 { font-size: 20px; white-space: nowrap; }
  .bh5-vertodas { font-size: 14px; white-space: nowrap; }
  .bh5-dest .bh5-tile { padding: 12px 12px 40px; }
  .bh5-todas-top { flex-wrap: wrap; }

  /* carrusel con scroll-snap (sin JS tambien se desliza) */
  .bh5-dest-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 2px 6px; }
  .bh5-dest-list::-webkit-scrollbar { display: none; }
  .bh5-dest-list .bh5-dest-item { flex: 0 0 44%; scroll-snap-align: start; }
  .bh5-dest .bh5-tile { min-height: 118px; }
  .bh5-marcas.bh5-js .bh5-arr { display: flex; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #dfe5d6; background: #fff; color: #2c3a28; box-shadow: 0 2px 6px rgba(0,0,0,.12); padding: 0; }
  .bh5-marcas.bh5-js .bh5-arr[hidden] { display: none; }
  .bh5-arr-prev { left: -8px; }
  .bh5-arr-next { right: -8px; }
  .bh5-marcas.bh5-js .bh5-dots { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
  .bh5-dots span { width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; background: #d6dccd; }
  .bh5-dots span.bh5-on { background: var(--bh-g-ink); }

  /* abecedario en una sola fila deslizable + chips */
  .bh5-abc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .bh5-abc::-webkit-scrollbar { display: none; }
  .bh5-abc { padding-right: 52px; } /* deja sitio a la flecha: la ultima letra se puede alcanzar sin quedar tapada */
  .bh5-abc a, .bh5-abc .bh5-off { flex: 0 0 auto; min-width: 44px; }
  .bh5-marcas.bh5-js .bh5-abc-next { display: flex; position: absolute; right: 0; top: 0; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid #dfe5d6; border-radius: 8px; background: #fff; color: #2c3a28; padding: 0; box-shadow: -10px 0 10px -2px var(--bh-bg); }
  .bh5-marcas.bh5-js .bh5-abc-next[hidden] { display: none; }
  .bh5-chips { display: flex; }
  .bh5-chips a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #dfe5d6; border-radius: 22px; background: #fff; color: #2c3a28; font-size: 15px; text-decoration: none; }
  .bh5-busca .bh5-q { height: 52px; }

  /* lista de una columna: logo + nombre + flecha */
  .bh5-grid { grid-template-columns: 1fr; gap: 8px; }
  .bh5-grid .bh5-tile { justify-content: flex-start; gap: 14px; min-height: 68px; padding: 8px 56px 8px 12px; }
  .bh5-grid .bh5-logo { width: 38%; max-width: 150px; }
  .bh5-grid .bh5-nom { position: static; width: auto; height: auto; margin: 0; clip: auto; white-space: normal; font-size: 16px; font-weight: 500; color: var(--bh-text); }
  .bh5-grid .bh5-txt { text-align: left; font-size: 16px; }
  .bh5-grid .bh5-go { bottom: auto; top: 50%; transform: translateY(-50%); }
  .bh5-marcas h3.bh5-rotulo { font-size: 22px; margin-bottom: 8px; }
  .bh5-letra { scroll-margin-top: 130px; }
}

/* ==========================================================================
   PAGINA DE UNA MARCA (cabecera)
   ========================================================================== */
.bh5-marca-head { display: flex; align-items: center; gap: 24px; padding: 18px 20px; margin: 0 0 20px; background: var(--bh-bg); border: 1px solid var(--bh-line); border-radius: 16px; }
.bh5-marca-logo-sq { width: 120px !important; aspect-ratio: 1 / 1 !important; }
.bh5-marca-logo { flex: 0 0 auto; width: 240px; aspect-ratio: 300 / 120; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e6e8df; border-radius: 12px; padding: 10px; box-sizing: content-box; }
.bh5-marca-logo img { width: 100%; height: 100%; object-fit: contain; }
.bh5-marca-info { flex: 1 1 auto; min-width: 0; }
.bh5-marca-h1.page-heading { font-size: 34px; margin-bottom: 8px; }
.bh5-marca-desc { color: var(--bh-text); font-size: 16px; line-height: 1.55; }
.bh5-marca-desc > *:last-child { margin-bottom: 0; }
.bh5-marca-desc h2, .bh5-marca-desc h3 { text-transform: none; color: var(--bh-g-d); font-size: 20px; margin: 0 0 8px; background: none; border: 0; padding: 0; }
@media (max-width: 767px) {
  .bh5-marca-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
  .bh5-marca-logo { width: 150px; }
  .bh5-marca-h1.page-heading { font-size: 28px; }
}

/* ==========================================================================
   MI CUENTA
   ========================================================================== */
.bh5-cuenta-head { padding: 22px 0 18px; }
.bh5-cuenta .bh5-h1.page-heading { margin-bottom: 8px; }

.bh5-hola { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 24px 28px; margin: 0 0 18px; background: linear-gradient(100deg, #eef6e6 0%, #e3efd8 100%); border: 1px solid var(--bh-line); border-radius: 16px; }
.bh5-avatar { width: 96px; height: 96px; border-radius: 50%; background: #d8e8c9; color: var(--bh-g-ink); display: flex; align-items: center; justify-content: center; }
.bh5-avatar .bh5-ic { fill: currentColor; stroke: none; width: 46px; height: 46px; }
.bh5-hola h2 { font-size: 28px; margin: 0 0 4px; }
.bh5-hola-txt p { margin: 0; color: var(--bh-muted); font-size: 16px; line-height: 1.5; max-width: 520px; }
.bh5-gracias { display: flex; align-items: center; gap: 12px; margin: 0; padding: 4px 0 4px 28px; border-left: 1px solid #c4d8b3; color: var(--bh-g-d); font-weight: 600; font-size: 17px; line-height: 1.35; max-width: 340px; }
.bh5-gracias .bh5-ic { color: var(--bh-g); }

.bh5-grupo { background: #f4f9ef; border: 1px solid #dfead3; border-radius: 16px; padding: 18px 20px 20px; margin: 0 0 16px; }
.bh5-grupo-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; color: var(--bh-g-ink); }
.bh5-grupo-head h2 { font-size: 24px; }
.bh5-grupo-head p { margin: 0; color: var(--bh-muted); font-size: 15px; }
.bh5-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bh5-cards-4 { grid-template-columns: repeat(4, 1fr); }
.bh5-cards li { margin: 0; padding: 0; }
.bh5-cards a { display: flex; align-items: center; gap: 14px; min-height: 92px; height: 100%; box-sizing: border-box; padding: 14px 16px; background: #fff; border: 1px solid #e6ecdf; border-radius: 12px; box-shadow: 0 1px 3px rgba(31,90,46,.06); color: var(--bh-text); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.bh5-cards a:hover, .bh5-cards a:focus { border-color: var(--bh-g); box-shadow: 0 3px 10px rgba(31,90,46,.14); color: var(--bh-text); text-decoration: none; }
.bh5-ci { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: #e4f0d9; color: var(--bh-g-ink); display: flex; align-items: center; justify-content: center; }
.bh5-ct { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bh5-ct strong { font-size: 17px; font-weight: 700; line-height: 1.25; color: #12301a; }
.bh5-ct small { font-size: 14px; line-height: 1.35; color: var(--bh-muted); }
.bh5-cards .bh5-chev { margin-left: auto; color: #2c3a28; }

.bh5-otros-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bh5-otros-list li { margin: 0; padding: 0; }
.bh5-otros-list li a { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 12px 16px; background: #fff; border: 1px solid #e6ecdf; border-radius: 12px; color: var(--bh-text); font-weight: 600; text-decoration: none; }
.bh5-otros-list li a:hover { border-color: var(--bh-g); text-decoration: none; }

.bh5-pie { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 0; padding: 0; }
.bh5-pie li { margin: 0; padding: 0; float: none; }
.bh5-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; box-sizing: border-box; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; }
.bh5-btn:hover { text-decoration: none; }
.bh5-btn-inicio { background: #fff; color: var(--bh-g-d); border: 1px solid var(--bh-g-ink); }
.bh5-btn-inicio:hover { background: var(--bh-bg); color: var(--bh-g-d); }
.bh5-btn-salir { background: var(--bh-pink-ink); color: #fff; border: 1px solid var(--bh-pink-ink); min-width: 190px; }
.bh5-btn-salir:hover { background: #b9304f; color: #fff; }

@media (max-width: 991px) {
  .bh5-cards, .bh5-cards-4, .bh5-otros-list { grid-template-columns: repeat(2, 1fr); }
  .bh5-hola { grid-template-columns: auto 1fr; }
  .bh5-gracias { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #c4d8b3; padding: 14px 0 0; max-width: none; }
}
@media (max-width: 767px) {
  .bh5-cuenta-head { padding: 14px 0 12px; }
  .bh5-hola { gap: 14px; padding: 16px; }
  .bh5-avatar { width: 64px; height: 64px; }
  .bh5-avatar .bh5-ic { width: 32px; height: 32px; }
  .bh5-hola h2 { font-size: 22px; }
  .bh5-hola-txt p { display: none; }
  .bh5-grupo { padding: 14px 12px 14px; }
  .bh5-grupo-head h2 { font-size: 20px; }
  .bh5-grupo-head p { display: none; }
  .bh5-cards, .bh5-cards-4, .bh5-otros-list { gap: 10px; }
  .bh5-cards a { min-height: 60px; padding: 10px 12px; gap: 10px; }
  .bh5-ci { width: 40px; height: 40px; }
  .bh5-ci .bh5-ic { width: 22px; height: 22px; }
  .bh5-ct strong { font-size: 15px; }
  .bh5-ct small { display: none; }
  .bh5-btn { padding: 0 16px; }
  .bh5-btn-salir { min-width: 0; flex: 1 1 auto; }
  .bh5-pie { gap: 10px; }
}
@media (max-width: 479px) {
  .bh5-cards, .bh5-cards-4, .bh5-otros-list { grid-template-columns: 1fr 1fr; }
  .bh5-cards .bh5-chev { display: none; }
}

/* ==========================================================================
   PAGINAS INTERIORES DE LA CUENTA (repaso barato: titulos, cajas y botones coherentes)
   ========================================================================== */
#history h1.page-heading, #addresses h1.page-heading, #identity h1.page-heading, #order-slip h1.page-heading,
#discount h1.page-heading, #order-follow h1.page-heading, #address h1.page-heading {
  font-size: 34px; font-weight: 700; color: #12301a; text-transform: none; background: none; border: 0; padding: 0; margin: 18px 0 14px; }
#history .info-account, #addresses .info-account, #identity .info-account, #order-slip .info-account, #discount .info-account, #order-follow .info-account { color: var(--bh-muted); font-size: 16px; }
#addresses .address, #address .address { border-radius: 12px; }
#addresses ul.address { background: #fff; border: 1px solid #e6ecdf; box-shadow: 0 1px 3px rgba(31,90,46,.06); padding: 14px 16px; }
#addresses ul.address li.address_title, #addresses ul.address .page-subheading { color: var(--bh-g-d); }
#history table.table, #order-slip table.table, #discount table.table, #order-follow table.table { border-radius: 10px; overflow: hidden; border-color: #e6ecdf; }
#history table.table thead th, #order-slip table.table thead th, #discount table.table thead th, #order-follow table.table thead th { background: var(--bh-g-ink); color: #fff; border-color: var(--bh-g-ink); }
#history .footer_links .btn, #addresses .footer_links .btn, #identity .footer_links .btn, #order-slip .footer_links .btn,
#discount .footer_links .btn, #order-follow .footer_links .btn, #identity .btn.button-medium, #addresses .btn.button-small {
  border-radius: 10px; min-height: 44px; }
@media (max-width: 767px) {
  #history h1.page-heading, #addresses h1.page-heading, #identity h1.page-heading, #order-slip h1.page-heading,
  #discount h1.page-heading, #order-follow h1.page-heading, #address h1.page-heading { font-size: 26px; }
}

/* ==========================================================================
   RONDA 16-OCT (listados): cabecera de marca compacta, chips de categorías, texto completo tras los productos
   ========================================================================== */
.bh5-marca-head { gap: 20px; padding: 14px 18px; margin: 14px 0 12px; }
.bh5-marca-logo { width: 190px; }
.bh5-marca-logo-sq { width: 96px !important; }
.bh5-marca-h1.page-heading { font-size: clamp(28px, 3.2vw, 36px); margin: 0 0 4px; text-align: left; }
.bh5-subwrap { position: relative; }
.bh5-marca-sub { margin: 0; color: var(--bh-text); font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bh5-subwrap .checker, .bh5-sub-chk { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; }
.bh5-subwrap:has(.bh5-sub-chk:checked) .bh5-marca-sub { display: block; -webkit-line-clamp: unset; overflow: visible; }
.bh5-sub-more { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--bh-g-d); font-size: 15px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bh5-sub-more .bh5-t2, .bh5-subwrap:has(.bh5-sub-chk:checked) .bh5-sub-more .bh5-t1 { display: none; }
.bh5-subwrap:has(.bh5-sub-chk:checked) .bh5-sub-more .bh5-t2 { display: inline; }
.bh5-subwrap:has(.bh5-sub-chk:focus-visible) .bh5-sub-more { outline: 2px solid var(--bh-g-d); outline-offset: 2px; }
.bh5-marca-cats { margin: 0 0 14px; }
.bh5-marca-cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bh5-marca-cats li { margin: 0; padding: 0; }
.bh5-marca-cats a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--bh-g); border-radius: 999px; background: #fff; color: var(--bh-g-d); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.bh5-marca-cats a span { color: var(--bh-muted); font-weight: 400; }
.bh5-marca-cats a:hover, .bh5-marca-cats a:focus-visible { background: var(--bh-g-ink); border-color: var(--bh-g-ink); color: #fff; }
.bh5-marca-cats a:hover span, .bh5-marca-cats a:focus-visible span { color: #fff; }
.bh5-marca-cats a.activo { background: var(--bh-g-ink); border-color: var(--bh-g-ink); color: #fff; }
.bh5-marca-cats a.activo span { color: #fff; }
.bh5-marca-texto { margin: 18px 0 30px; padding: 18px 22px; border-radius: 14px; background: var(--bh-bg); color: var(--bh-text); font-size: 15px; line-height: 1.65; }
.bh5-marca-texto > h2 { margin: 0 0 10px; padding: 0; border: 0; background: none; color: var(--bh-g-d); font-family: inherit; font-size: 22px; font-weight: 700; text-transform: none; }
.bh5-marca-texto h2:not(:first-child), .bh5-marca-texto h3 { font-family: inherit; text-transform: none; letter-spacing: 0; color: var(--bh-g-d); }
.bh5-marca-texto h3 { font-size: 18px; }
@media (max-width: 767px) {
  .bh5-marca-head { flex-direction: row; align-items: center; gap: 12px; padding: 12px; }
  .bh5-marca-logo { width: 96px; padding: 6px; }
  .bh5-marca-sub { -webkit-line-clamp: 3; font-size: 15px; }
  .bh5-marca-texto { padding: 14px; }
}
.bh5-marca-info h1.bh5-marca-h1.page-heading { text-align: left; margin-left: 0; }
@media (max-width: 767px) {
  .bh5-marca-cats { margin-right: -15px; }
  .bh5-marca-cats ul { flex-wrap: nowrap; overflow-x: auto; padding: 2px 15px 6px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .bh5-marca-cats ul::-webkit-scrollbar { display: none; }
  .bh5-marca-cats a { white-space: nowrap; }
}
body#manufacturer h1.bh5-marca-h1.page-heading.product-listing { text-align: left; margin: 0 0 4px; }

/* ==========================================================================
   RONDA 16-OCT (listados): /fabricantes -> A-Z en TEXTO en columnas (4 en PC, 2 en móvil) con nº de productos
   ========================================================================== */
.bh5-dest-list { grid-template-columns: repeat(6, 1fr); }
.bh5-cols { list-style: none; margin: 0; padding: 0 4px; column-count: 4; column-gap: 24px; }
.bh5-cols .bh5-marca { margin: 0; padding: 0; break-inside: avoid; }
.bh5-cols .bh5-nm { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 34px; padding: 6px 4px; border-bottom: 1px solid #eef0e8; color: var(--bh-text); font-size: 15.5px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.bh5-cols .bh5-nm:hover, .bh5-cols .bh5-nm:focus-visible { color: var(--bh-g-d); background: #f1f6ea; text-decoration: underline; }
.bh5-cols .bh5-np { flex: 0 0 auto; color: var(--bh-muted); font-size: 13.5px; }
.bh5-letra { margin: 0 0 14px; }
.bh5-marcas h3.bh5-rotulo { font-size: 22px; padding: 2px 14px; margin-bottom: 6px; }
@media (max-width: 1199px) { .bh5-cols { column-count: 3; } }
@media (max-width: 767px) {
  .bh5-cols { column-count: 2; column-gap: 14px; padding: 0; }
  .bh5-cols .bh5-nm { min-height: 44px; align-items: center; font-size: 15px; padding: 4px 2px; }
  .bh5-dest-list .bh5-dest-item { flex: 0 0 44%; }
}

/* 19-oct (Fernando): cabecera de Mi cuenta como la de la portada: caja crema redondeada, centrada y con aire (antes franja blanca pegada a la izquierda) */
.bh5-cuenta-head { margin: 18px 0 20px; padding: 20px 24px 22px !important; border-radius: 14px; background: #f5f2ea !important; text-align: center; }
.bh5-cuenta-head .page-heading, .bh5-cuenta-head h1 { margin: 0 0 6px; text-align: center; }
.bh5-cuenta-head p { margin: 0; text-align: center; }
