/*
 * Cabecera común con la web principal (réplica). Ver App\Core\SiteHeader.
 *
 * Hoja propia, sin Tailwind: así la réplica sigue igual aunque cambie el CSS
 * del comparador. Cada sitio define sus tokens en .sh--{clave}; los de
 * m4kers son los de src/index.css de m4kers.com (modo claro).
 * Las medidas copian las clases de pages/+Layout.tsx de m4kers.com.
 */
.sh {
  --sh-bg: hsl(40 30% 97%);
  --sh-fg: hsl(220 25% 12%);
  --sh-muted: hsl(220 10% 42%);
  --sh-primary: hsl(18 95% 54%);
  --sh-primary-fg: #fff;
  --sh-accent: hsl(200 85% 45%);
  --sh-accent-fg: #fff;
  --sh-secondary: hsl(220 15% 94%);
  --sh-mutedbg: hsl(40 15% 92%);
  --sh-border: hsl(220 13% 88%);
  --sh-popover: #fff;
  --sh-danger: hsl(0 75% 52%);
  --sh-radius: 8px;
  --sh-tile: linear-gradient(135deg, hsl(18 95% 54%) 0%, hsl(8 85% 50%) 100%);
  --sh-tile-shadow: 0 10px 40px -10px hsl(18 95% 54% / .25);
  --sh-font: 'Inter', system-ui, sans-serif;
  --sh-font-display: 'Space Grotesk', system-ui, sans-serif;

  position: relative;
  font-family: var(--sh-font);
  color: var(--sh-fg);
  -webkit-font-smoothing: antialiased;
}
/* La barra (el <header> que la envuelve): bg-background/80 + blur, como allí.
   Gana a «body > header» del tema del comparador por especificidad. */
.sh-header {
  background: hsl(40 30% 97% / .8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(220 13% 88% / .5);
}
.sh *, .sh *::before, .sh *::after { box-sizing: border-box; }
.sh [hidden] { display: none !important; }

/* Caja común de las dos cabeceras: la del comparador (max-w-7xl = 1280px,
   px-4 sm:px-6). m4kers.com usa la misma en pages/+Layout.tsx.
   .sh-container es la misma caja para la franja del comparador. */
.sh-bar, .sh-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .sh-bar, .sh-container { padding: 0 1.5rem; } }
.sh-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 64px;
}
@media (min-width: 1280px) { .sh-bar { gap: .75rem; } }

/* Marca */
.sh-brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; flex: none; }
.sh-tile {
  position: relative; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: var(--sh-radius);
  background: var(--sh-tile); color: #fff; box-shadow: var(--sh-tile-shadow);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.sh-brand:hover .sh-tile { transform: scale(1.05); }
.sh-tile-ico { width: 20px; height: 20px; stroke-width: 2.5; }
.sh-word { font-family: var(--sh-font-display); font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.025em; }

/* Menú principal (≥1024px) */
.sh-nav { display: none; align-items: center; gap: .125rem; margin-left: .5rem; }
@media (min-width: 1024px) { .sh-nav { display: flex; } }
@media (min-width: 1280px) { .sh-nav { margin-left: .75rem; } }
.sh-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem; border-radius: var(--sh-radius);
  font: 500 14px/20px var(--sh-font); color: var(--sh-muted);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .3s cubic-bezier(.4, 0, .2, 1);
}
@media (min-width: 1280px) { .sh-link { padding: .5rem .625rem; } }
.sh-link:hover, .sh-link[aria-expanded="true"] { color: var(--sh-primary); }
.sh-link.is-current { color: var(--sh-fg); }
.sh-link.is-current:hover { color: var(--sh-primary); }
/* Enlace destacado (Comparador): naranja, seminegrita y etiqueta de oferta. */
.sh-link.is-hot { color: var(--sh-primary); font-weight: 600; }
.sh-link.is-hot:hover, .sh-link.is-hot[aria-expanded="true"] { color: hsl(18 95% 54% / .8); }
.sh-link .sh-ico { width: 16px; height: 16px; flex: none; }
.sh-drawer-title.is-hot { display: flex; align-items: center; gap: .375rem; color: var(--sh-primary); }
.sh-drawer-title .sh-ico { width: 14px; height: 14px; }

/* Desplegables (como DropdownMenu de shadcn) */
.sh-dd { position: relative; }
.sh-menu {
  position: absolute; left: 0; top: calc(100% + 4px); z-index: 60;
  width: 14rem; padding: .25rem;
  background: var(--sh-popover); color: var(--sh-fg);
  border: 1px solid var(--sh-border); border-radius: var(--sh-radius);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
}
.sh-menu--right { left: auto; right: 0; }
.sh-menu-item {
  display: flex; align-items: center; gap: .5rem; width: 100%;
  padding: .375rem .5rem; border-radius: 6px;
  font: 400 14px/20px var(--sh-font); color: inherit; text-align: left;
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.sh-menu-item:hover, .sh-menu-item:focus-visible { background: var(--sh-accent); color: var(--sh-accent-fg); outline: none; }
.sh-menu-item .sh-ico { width: 16px; height: 16px; flex: none; }
.sh-menu-head { display: flex; flex-direction: column; gap: .25rem; padding: .375rem .5rem; border-bottom: 1px solid var(--sh-border); margin: 0 -.25rem .25rem; padding-left: .75rem; }
.sh-menu-head strong { font-size: 14px; line-height: 1; font-weight: 500; }
.sh-menu-head span { font-size: 12px; line-height: 1; color: var(--sh-muted); }
.sh-logout { color: var(--sh-danger); }

/* Buscador (≥1280px en la barra; en móvil, dentro del menú) */
.sh-search { position: relative; display: none; align-items: center; flex: 1; max-width: 28rem; margin-left: auto; }
@media (min-width: 1280px) { .sh-bar > .sh-search { display: flex; min-width: 6.5rem; } }
/* La lista no se estrecha con la caja: 24rem como mínimo, alineada a la derecha. */
.sh-bar > .sh-search .sh-suggest { left: auto; width: max(100%, 24rem); }
.sh-search--drawer { display: flex; max-width: none; margin: 0 0 1rem; }
.sh .sh-search input {
  width: 100%; padding: .5rem .75rem .5rem 2.25rem;
  font: 400 14px/20px var(--sh-font); color: var(--sh-fg);
  background: hsl(220 15% 94% / .5); border: 1px solid transparent; border-radius: var(--sh-radius);
  outline: none; transition: all .15s; -webkit-appearance: none; appearance: none;
}
.sh .sh-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sh .sh-search input::placeholder { color: var(--sh-muted); }
.sh .sh-search input:focus { background: var(--sh-bg); box-shadow: 0 0 0 2px var(--sh-primary); }
.sh-search-ico { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--sh-muted); pointer-events: none; }

.sh-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 100;
  background: var(--sh-bg); border: 1px solid var(--sh-border); border-radius: var(--sh-radius);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  overflow: hidden;
}
.sh-suggest-list { max-height: 22rem; overflow-y: auto; padding: .25rem 0; margin: 0; list-style: none; }
.sh-sg {
  display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem;
  color: inherit; text-decoration: none; transition: background-color .15s;
}
.sh-sg:hover, .sh-sg.is-active { background: hsl(220 15% 94% / .5); }
.sh-sg.is-active { background: var(--sh-secondary); }
.sh-sg-img { width: 40px; height: 40px; flex: none; border-radius: 4px; object-fit: cover; background: var(--sh-mutedbg); }
.sh-sg-img--contain { object-fit: contain; background: #fff; border: 1px solid var(--sh-border); }
.sh-sg-img--round { border-radius: 9999px; }
.sh-sg-img--initial { display: grid; place-items: center; font: 600 15px/1 var(--sh-font-display); color: var(--sh-muted); }
.sh-sg-text { flex: 1; min-width: 0; }
.sh-sg-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-sg-sub { margin: 0; font-size: 12px; line-height: 16px; color: var(--sh-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-sg-sub b { color: var(--sh-fg); font-weight: 600; }
.sh-sg-tag { flex: none; padding: .125rem .5rem; font-size: 12px; line-height: 16px; color: var(--sh-muted); background: var(--sh-mutedbg); border-radius: 4px; }
.sh-sg-tag--cmp { color: hsl(18 80% 38%); background: hsl(25 100% 94%); }
.sh-suggest-msg { padding: .75rem 1rem; text-align: center; font-size: 14px; color: var(--sh-muted); }
.sh-suggest-all { display: block; padding: .5rem .75rem; text-align: center; font-size: 14px; font-weight: 500; color: var(--sh-primary); text-decoration: none; border-top: 1px solid var(--sh-border); }
.sh-suggest-all:hover { background: hsl(220 15% 94% / .5); }

/* Acciones de la derecha */
.sh-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex: none; }
@media (min-width: 1280px) { .sh-actions { gap: .5rem; margin-left: .5rem; } }
.sh-slot { display: none; }
@media (min-width: 1280px) { .sh-slot { display: block; width: 40px; height: 40px; flex: none; } }
.sh-account { display: flex; align-items: center; gap: .25rem; }
@media (min-width: 1280px) { .sh-account { gap: .5rem; } }
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 36px; padding: 0 1rem; border-radius: var(--sh-radius);
  font: 500 14px/20px var(--sh-font); text-decoration: none; border: 0; cursor: pointer;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.sh-btn--ghost { color: var(--sh-fg); background: transparent; }
.sh-btn--ghost:hover { background: var(--sh-accent); color: var(--sh-accent-fg); }
.sh-btn--primary { color: var(--sh-primary-fg); background: var(--sh-primary); }
.sh-btn--primary:hover { background: hsl(18 95% 54% / .9); }
.sh-btn--block { display: flex; width: 100%; margin-top: .25rem; height: auto; padding: .75rem; }
.sh-login { display: none; }
@media (min-width: 640px) { .sh-login { display: inline-flex; } }
/* Entre 1024 y 1279 el menú completo no deja sitio: solo «Crear cuenta». */
@media (min-width: 1024px) and (max-width: 1279px) { .sh-login { display: none; } }
.sh-account[data-state="user"] .sh-login, .sh-account[data-state="user"] .sh-register { display: none; }

.sh-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--sh-fg); background: none; border: 0; border-radius: var(--sh-radius); cursor: pointer; }
.sh-icon-btn:hover { background: var(--sh-accent); color: var(--sh-accent-fg); }
.sh-icon-btn .sh-ico { width: 20px; height: 20px; }
@media (min-width: 1024px) { .sh-burger { display: none; } }

.sh-avatar {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; overflow: hidden;
  border: 0; border-radius: 9999px; cursor: pointer;
  background: var(--sh-tile); color: #fff; font: 600 14px/1 var(--sh-font-display);
}
.sh-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Menú móvil (Sheet de shadcn, lado derecho, w-72) */
.sh-drawer { position: fixed; inset: 0; z-index: 70; }
.sh-drawer-back { position: absolute; inset: 0; background: rgb(0 0 0 / .8); animation: sh-fade .2s ease-out; }
.sh-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 18rem; max-width: 85vw;
  padding: 1.5rem; padding-top: 3.5rem; overflow-y: auto;
  background: var(--sh-bg); border-left: 1px solid var(--sh-border);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1);
  animation: sh-slide .3s ease-out;
}
.sh-drawer-close { position: absolute; top: .75rem; right: .75rem; width: 32px; height: 32px; color: var(--sh-muted); }
.sh-drawer-close .sh-ico { width: 16px; height: 16px; }
.sh-drawer-nav { display: flex; flex-direction: column; gap: .25rem; }
.sh-drawer-link {
  display: flex; align-items: center; gap: .5rem; padding: .75rem; border-radius: var(--sh-radius);
  font: 500 16px/24px var(--sh-font); color: var(--sh-fg); text-decoration: none;
  background: none; border: 0; text-align: left; cursor: pointer; width: 100%;
}
.sh-drawer-link:hover, .sh-drawer-sub:hover { background: var(--sh-secondary); }
.sh-drawer-link .sh-ico { width: 16px; height: 16px; }
.sh-drawer-link.is-danger { color: var(--sh-danger); }
.sh-drawer-title { margin: 0; padding: .75rem .75rem .25rem; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--sh-muted); }
.sh-drawer-sub { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: var(--sh-radius); font-size: 14px; line-height: 20px; color: var(--sh-fg); text-decoration: none; }
.sh-drawer-sub .sh-ico { width: 16px; height: 16px; }
.sh-drawer-sep { border-top: 1px solid var(--sh-border); margin: .75rem 0; }
.sh-drawer-account { display: flex; flex-direction: column; gap: .25rem; }
.sh-drawer-account[data-state="user"] .sh-guest-only { display: none; }

@keyframes sh-fade { from { opacity: 0; } }
@keyframes sh-slide { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .sh-drawer-back, .sh-drawer-panel { animation: none; }
}

/* Franja del comparador (views/partials/comparador_subbar.php): las
   categorías se desplazan en horizontal en móvil, sin barra visible. */
.cmp-subbar-cats { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cmp-subbar-cats::-webkit-scrollbar { display: none; }

/* =====================================================================
   movilesdualsim: réplica de la cabecera del foro XenForo (estilo 42).
   Medidas tomadas de movilesdualsim.com (p-header, p-nav, p-sectionLinks).
   Todo va bajo .sh--movilesdualsim / .xf-* / .cmp-subbar--xf: no toca m4kers.
   ===================================================================== */
.sh--movilesdualsim {
  --sh-bg: #fff;
  --sh-fg: #141414;
  --sh-muted: #8c8c8c;
  --sh-primary: #2577b1;
  --sh-primary-fg: #fff;
  --sh-accent: #185886;
  --sh-accent-fg: #fff;
  --sh-secondary: #f5f5f5;
  --sh-mutedbg: #f5f5f5;
  --sh-border: #d8d8d8;
  --sh-radius: 4px;
  --sh-font: "Segoe UI", "Helvetica Neue", Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", sans-serif;
  --sh-font-display: var(--sh-font);
  --xf-blue: #185886;
  --xf-link: #bcdef5;
  --xf-sel-bg: #f5f5f5;
  --xf-sel-fg: #2577b1;
}
.xf-inner { max-width: 1300px; margin: 0 auto; padding: 0 10px; }
.xf-header { background: var(--xf-blue); color: var(--xf-link); }
.xf-logo { display: inline-block; padding: 6px 0; vertical-align: middle; }
.xf-logo img { display: block; width: 196px; height: auto; max-height: 51px; }

.xf-nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--xf-blue); color: var(--xf-link);
  font: 400 15px/21px var(--sh-font);
}
.xf-nav--admin { top: 32px; }
.xf-nav-inner { display: flex; align-items: stretch; height: 37px; }
.xf-burger, .xf-smallLogo { display: none; }

.xf-tabs { display: flex; align-items: stretch; min-width: 0; }
.xf-tab { position: relative; display: flex; align-items: stretch; border-radius: 2px 2px 0 0; }
.xf-tab-link { display: flex; align-items: center; padding: 8px 15px; color: var(--xf-link); text-decoration: none; white-space: nowrap; }
.xf-tab.sh-dd .xf-tab-link { padding-right: 5px; }
.xf-tab-link:hover, .xf-tab-caret:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.xf-tab-caret {
  display: flex; align-items: center; padding: 0 12px 0 5px; border: 0; cursor: pointer;
  background: none; color: var(--xf-link);
}
.xf-tab-caret::after {
  content: ""; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
.xf-tab.is-selected { background: var(--xf-sel-bg); }
.xf-tab.is-selected .xf-tab-link, .xf-tab.is-selected .xf-tab-caret { color: var(--xf-sel-fg); font-weight: 700; }
.xf-tab.is-selected .xf-tab-link:hover, .xf-tab.is-selected .xf-tab-caret:hover { background: none; color: #185886; }

.xf-right { display: flex; align-items: stretch; margin-left: auto; }
.xf-account { display: flex; align-items: stretch; background: rgba(20, 20, 20, .15); }
.xf-navgroup-link {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  color: var(--xf-link); text-decoration: none; background: none; border: 0; cursor: pointer;
  font: inherit; white-space: nowrap;
}
.xf-navgroup-link:hover, .xf-navgroup-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.xf-navgroup-link .sh-ico { width: 16px; height: 16px; }
.xf-badge {
  position: absolute; top: 4px; right: 2px; min-width: 16px; padding: 0 4px;
  font: 700 10px/16px var(--sh-font); text-align: center; color: #fff; background: #e03030; border-radius: 8px;
}
.sh-drawer .xf-badge { position: static; margin-left: 4px; }
.xf-account[data-state="user"] .sh-login, .xf-account[data-state="user"] .sh-register { display: none; }

/* Menús (como los menu--structural del foro) */
.xf-menu {
  top: 100%; margin-top: 0; width: auto; min-width: 200px; padding: 4px 0;
  border: 1px solid #d8d8d8; border-radius: 0 0 4px 4px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .35);
  font: 400 15px/21px var(--sh-font);
}
.xf-menu-row { display: block; padding: 6px 15px; color: #141414; text-decoration: none; white-space: nowrap; }
.xf-menu-row:hover { background: #f5f5f5; color: #185886; }
.xf-searchDd .xf-menu { left: auto; right: 0; }
.xf-menu--search { width: 340px; padding: 10px; overflow: visible; }
.xf-menu--search .sh-search { display: flex; max-width: none; margin: 0; }
.sh--movilesdualsim .sh-search input { background: #fff; border: 1px solid #d8d8d8; border-radius: 4px; font-size: 15px; }
.sh--movilesdualsim .sh-search input:focus { box-shadow: 0 0 0 2px rgba(37, 119, 177, .35); border-color: #2577b1; }
.sh--movilesdualsim .sh-suggest { border-radius: 4px; }
.sh--movilesdualsim .sh-sg-tag--cmp { color: #185886; background: #e4eff8; }
.sh--movilesdualsim .sh-suggest-forum { color: #185886; font-weight: 400; }

/* Móvil (≤650 px, como el foro): sin fila de logo; barra de 50 px con
   hamburguesa, logo pequeño, cuenta y lupa. */
@media (max-width: 650px) {
  .xf-header { display: none; }
  .xf-nav-inner { height: 50px; padding: 0 4px; align-items: center; }
  .xf-tabs { display: none; }
  .xf-burger {
    display: grid; place-items: center; width: 47px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--xf-link);
  }
  .xf-burger span, .xf-burger span::before, .xf-burger span::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative;
  }
  .xf-burger span::before, .xf-burger span::after { content: ""; position: absolute; left: 0; }
  .xf-burger span::before { top: -6px; }
  .xf-burger span::after { top: 6px; }
  .xf-smallLogo { display: block; margin-left: 5px; }
  .xf-smallLogo img { display: block; width: 100px; height: auto; }
  .xf-right { align-items: center; }
  .xf-account { background: none; }
  .xf-navgroup-link { padding: 8px; }
  .xf-label { display: none; }
  .xf-menu--search { position: fixed; left: 8px; right: 8px; top: 50px; width: auto; }
}

/* Fila de la sección (p-sectionLinks del foro) para el comparador */
.cmp-subbar--xf { background: #f5f5f5; border-bottom: 1px solid #cbcbcb; }
.cmp-subbar--xf .sh-container { max-width: 1300px; padding: 0 2px; height: 30px; gap: 4px; }
.cmp-subbar--xf .cmp-subbar-label { display: none; }
.cmp-subbar--xf .cmp-subbar-cats a,
.cmp-subbar--xf .sh-container > div > a,
.cmp-subbar--xf .sh-container > div button {
  padding: 5px 8px; border-radius: 0; background: none;
  font: 400 13px/20px "Segoe UI", "Helvetica Neue", Helvetica, Roboto, sans-serif; color: #2577b1;
}
.cmp-subbar--xf .cmp-subbar-cats a:hover,
.cmp-subbar--xf .sh-container > div > a:hover,
.cmp-subbar--xf .sh-container > div button:hover { background: none; color: #185886; text-decoration: underline; }
.cmp-subbar--xf .cmp-subbar-cats a[aria-current="page"] { font-weight: 700; color: #185886; background: none; }

/* Tono «blanco» (SITE_HEADER_TONE=blanco, por defecto): misma estructura y
   menú que el foro, con los colores de la cabecera de siempre del comparador
   (blanco, grises slate y el azul de marca #0f59d4). */
.xf-tone-blanco.xf-wrap .xf-header { background: #fff; color: #475569; }
.xf-tone-blanco.xf-nav {
  background: rgba(255, 255, 255, .96); color: #475569;
  border-bottom: 1px solid #e2e8f0;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.xf-tone-blanco .xf-tab-link, .xf-tone-blanco .xf-tab-caret, .xf-tone-blanco .xf-navgroup-link, .xf-tone-blanco .xf-burger { color: #475569; }
.xf-tone-blanco .xf-tab-link:hover, .xf-tone-blanco .xf-tab-caret:hover,
.xf-tone-blanco .xf-navgroup-link:hover, .xf-tone-blanco .xf-navgroup-link[aria-expanded="true"] { color: #0b47a8; background: #f1f5f9; }
.xf-tone-blanco .xf-tab.is-selected { background: #eef6ff; box-shadow: inset 0 -2px 0 #0f59d4; }
.xf-tone-blanco .xf-tab.is-selected .xf-tab-link { color: #0f59d4; }
.xf-tone-blanco .xf-account { background: #f1f5f9; }
.xf-tone-blanco .xf-menu { border-color: #e2e8f0; box-shadow: 0 10px 25px -5px rgba(15, 23, 42, .15); border-radius: 0 0 10px 10px; }
.xf-tone-blanco .xf-menu-row:hover { background: #f8fafc; color: #0b47a8; }
.cmp-subbar--xf.xf-tone-blanco { background: #f8fafc; border-bottom-color: #e2e8f0; }
.cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats a,
.cmp-subbar--xf.xf-tone-blanco .sh-container > div > a,
.cmp-subbar--xf.xf-tone-blanco .sh-container > div button { color: #0f59d4; }
.cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats a[aria-current="page"] { color: #0b47a8; }
.xf-logo-label { display: none; }
.xf-tone-blanco .xf-inner:has(> .xf-logo-label) { display: flex; align-items: center; gap: 10px; }
.xf-tone-blanco .xf-logo-label {
  display: inline-block; padding: 2px 8px; border: 1px solid #b7d9ff; border-radius: 9999px;
  font: 700 10px/16px var(--sh-font); letter-spacing: .06em; text-transform: uppercase; color: #0f59d4; text-decoration: none;
}
.xf-tone-blanco .xf-logo-label:hover { background: #eef6ff; }

/* Franja del comparador en tono blanco: más aire y legible (píldoras como
   la cabecera de siempre del comparador), en vez de la fila mínima del foro. */
.cmp-subbar--xf.xf-tone-blanco { background: #fff; border-bottom: 1px solid #e2e8f0; }
.cmp-subbar--xf.xf-tone-blanco .sh-container { height: 44px; gap: 8px; padding: 0 10px; }
.cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats { gap: 2px; }
.cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats a,
.cmp-subbar--xf.xf-tone-blanco .sh-container > div > a,
.cmp-subbar--xf.xf-tone-blanco .sh-container > div button {
  padding: 6px 12px; border-radius: 9999px;
  font: 500 14px/20px var(--sh-font, "Segoe UI", sans-serif); color: #475569;
  transition: background-color .15s, color .15s;
}
.cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats a:hover,
.cmp-subbar--xf.xf-tone-blanco .sh-container > div > a:hover,
.cmp-subbar--xf.xf-tone-blanco .sh-container > div button:hover { background: #f1f5f9; color: #0b47a8; text-decoration: none; }
.cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats a[aria-current="page"] { background: #eef6ff; color: #0f59d4; font-weight: 600; }
/* «Comparar N productos» activo: chip de marca */
.cmp-subbar--xf.xf-tone-blanco .sh-container > div > a.bg-brand-50 { background: #eef6ff; color: #0f59d4; font-weight: 600; }
/* Separador fino entre categorías y las acciones de la derecha */
.cmp-subbar--xf.xf-tone-blanco .sh-container > div:last-child { padding-left: 8px; border-left: 1px solid #e2e8f0; }
@media (max-width: 650px) {
  .cmp-subbar--xf.xf-tone-blanco .sh-container { height: 44px; padding: 0 6px; }
  .cmp-subbar--xf.xf-tone-blanco .cmp-subbar-cats a { padding: 6px 10px; }
}
