/* ============================================================
   CloudJersey — Header (plugin cj-header). Prefijo: cjh-
   Sustituye a cjv2-header.css del tema con el mismo handle. Colores del sitio: #002041 / #0F2D4C.
   El overlay móvil (.cj-mobile-menu-*) hereda su base de style.css del tema; aquí solo lo que se añade.
   ============================================================ */

:root {
  --cjh-top: 34px;      /* barra de ventajas (escritorio) */
  --cjh-main: 66px;     /* barra principal */
  --cjh-ticker: 0px;    /* línea de ventajas (móvil) */
  --cjh-h: calc(var(--cjh-top) + var(--cjh-main) + var(--cjh-ticker));
  --cjh-navy: #002041;
  --cjh-navy-2: #0F2D4C;
  --cjh-text: #1a1a1a;
  --cjh-muted: #6b7280;
  --cjh-line: #e3e7f2;
  --cjh-soft: rgba(0, 32, 65, 0.06);
  --cjh-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  /* compatibilidad con reglas del tema que leen estas variables */
  --cjv2-hdr-h: var(--cjh-h);
  --cjv2-ob-h: 0px;
}

/* Red de seguridad: el header de Astra queda vacío, que no ocupe sitio */
header#masthead { display: none !important; }

/* El contenido empieza bajo el header fijo (pisa el <style> inline del tema, que fija 70px) */
body { padding-top: var(--cjh-h) !important; }
body.admin-bar { padding-top: var(--cjh-h) !important; }
body.admin-bar #cjv2-header { top: 32px; }

#cjv2-header, #cjv2-header * { box-sizing: border-box; }
#cjv2-header { border-bottom: 1px solid var(--cjh-line); }

/* ── Barra superior ───────────────────────────────────────── */
.cjh-top { height: var(--cjh-top); overflow: hidden; background: var(--cjh-navy); color: #fff; transition: height .2s ease; }
#cjv2-header.cjh-scrolled { --cjh-top: 0px; }
.cjh-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 34px; font-size: 12.5px; line-height: 1; }
.cjh-promises, .cjh-utils { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.cjh-promises li, .cjh-utils li { display: flex; align-items: center; gap: 7px; margin: 0; }
.cjh-promises .cjh-ico { color: #9fc2ff; }
.cjh-utils a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; opacity: .92; }
.cjh-utils a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.cjh-utils .cjh-wa .cjh-ico-wa { color: #25d366; }
@media (max-width: 1180px) { .cjh-promises li:nth-child(n+4) { display: none; } }

/* ── Barra principal ──────────────────────────────────────── */
.cjh-main { height: var(--cjh-main); background: #fff; }
.cjh-main-inner { display: flex; align-items: center; gap: 18px; height: 100%; }

.cjh-logo { flex: 0 0 auto; display: flex; align-items: center; text-decoration: none; }
.cjh-logo-img, .cjv2-logo-img { height: 34px !important; width: auto; display: block; }
.cjh-logo-text { font-size: 1.25rem; font-weight: 900; color: var(--cjh-navy); letter-spacing: -0.02em; text-transform: uppercase; }

.cjh-nav { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; height: 100%; }
.cjh-nav-btn, .cjh-nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; position: relative;
  font-size: 14px; font-weight: 600; color: var(--cjh-text); background: none !important; border: 0; box-shadow: none !important;
  cursor: pointer; white-space: nowrap; text-decoration: none; line-height: 1; transition: color .15s;
}
.cjh-nav-btn .cjh-ico-chevron { transition: transform .2s ease; color: var(--cjh-muted); }
.cjh-nav-btn:hover, .cjh-nav-btn.is-active, .cjh-nav-link:hover { color: var(--cjh-navy); }
.cjh-nav-btn.is-active .cjh-ico-chevron { transform: rotate(180deg); color: var(--cjh-navy); }
.cjh-nav-btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--cjh-navy); transform: scaleX(0); transition: transform .18s ease; }
.cjh-nav-btn.is-active::after { transform: scaleX(1); }

/* Buscador (el autocompletar del plugin del buscador engancha en input.cjv2-search-input) */
.cjh-search, .cjv2-search {
  flex: 1 1 auto; display: flex; align-items: center; min-width: 0; max-width: 680px; height: 38px; margin: 0;
  border: 1.5px solid var(--cjh-line); border-radius: 10px; background: #fafbfd; overflow: hidden; transition: border-color .18s, background .18s;
}
.cjh-search:focus-within { background: #fff; border-color: var(--cjh-navy); box-shadow: 0 0 0 3px rgba(0, 32, 65, 0.08); }
.cjh-search-icon { display: flex; align-items: center; padding: 0 4px 0 12px; color: #9ca3af; pointer-events: none; }
#cjv2-header input.cjh-search-input, #cjv2-header input.cjv2-search-input {
  flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: transparent; outline: none; box-shadow: none;
  font-size: 14px; color: var(--cjh-text); -webkit-appearance: none;
}
.cjh-search-input::placeholder { color: #9ca3af; }
.cjh-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
#cjv2-header .cjh-search-submit { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 100%; padding: 0; border: 0; border-left: 1px solid var(--cjh-line); background: #fff; color: var(--cjh-muted); cursor: pointer; transition: color .15s, background .15s; box-shadow: none; }
#cjv2-header .cjh-search-submit:hover { color: #fff; background: var(--cjh-navy); }

/* Cuenta y carrito: píldoras (mismos selectores que el tema para pisar header.css/style.css) */
.cjh-actions, .cjv2-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: 4px; }
#cjv2-header .cjv2-actions .cj-login-btn, #cjv2-header .cjv2-actions .cj-account-btn, #cjv2-header .cjv2-cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; margin: 0;
  border: 1.5px solid #d1d5db; border-radius: 100px; background: #fff; color: var(--cjh-navy) !important;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: none;
  transition: border-color .15s, background .15s;
}
#cjv2-header .cjv2-actions .cj-login-btn:hover, #cjv2-header .cjv2-actions .cj-account-btn:hover, #cjv2-header .cjv2-cart-btn:hover { border-color: var(--cjh-navy); background: var(--cjh-soft); }
#cjv2-header .cjv2-actions .cj-ico, #cjv2-header .cjv2-actions .cj-login-btn svg, #cjv2-header .cjv2-actions .cj-account-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
#cjv2-header .cjv2-cart-btn { background: var(--cjh-navy); color: #fff !important; border-color: var(--cjh-navy); }
#cjv2-header .cjv2-cart-btn:hover { background: var(--cjh-navy-2); border-color: var(--cjh-navy-2); }
.cjh-cart-icon { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.cjh-cart-count { position: absolute; top: -9px; right: -11px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 100px; background: #e63946; color: #fff; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center; border: 2px solid #fff; box-sizing: content-box; }

/* Línea de ventajas en móvil (rotación por CSS, sin JS) */
.cjh-ticker { display: none; height: var(--cjh-ticker); background: #f5f7fa; border-top: 1px solid var(--cjh-line); overflow: hidden; }
.cjh-ticker-list { position: relative; height: 100%; margin: 0; padding: 0; list-style: none; }
.cjh-ticker-list li { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; font-size: 12px; font-weight: 600; color: var(--cjh-navy); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.cjh-ticker-list li.is-on { opacity: 1; transform: none; }
.cjh-ticker-list li .cjh-ico { color: #4b7bb8; }

/* El autocompletar del buscador (plugin cj-search) cuelga del <body> con z-index 99999 y se coloca bajo el formulario
   .cjv2-search midiendo su caja: por eso el formulario conserva esa clase y el input la clase cjv2-search-input. */

/* ── Megamenús ────────────────────────────────────────────── */
.cjh-mega {
  position: fixed; left: 0; right: 0; top: var(--cjh-h); z-index: 9998; display: none;
  background: #fff; border-bottom: 1px solid var(--cjh-line); box-shadow: var(--cjh-shadow);
  max-height: calc(100vh - var(--cjh-h)); overflow-y: auto;
}
#cjv2-header.cjh-scrolled ~ .cjh-mega { top: calc(var(--cjh-main) + var(--cjh-ticker)); }
.admin-bar .cjh-mega { top: calc(var(--cjh-h) + 32px); }
.admin-bar #cjv2-header.cjh-scrolled ~ .cjh-mega { top: calc(var(--cjh-main) + var(--cjh-ticker) + 32px); }
.cjh-mega.is-open { display: block; }
.cjh-mega, .cjh-mega * { box-sizing: border-box; }
/* Más específico que .cjh-wrap{padding:0 20px} del CSS crítico (se imprime dentro del header, después de esta hoja). */
.cjh-mega .cjh-wrap.cjh-mega-inner { display: grid; gap: 30px; padding: 32px 30px 36px; }
.cjh-mega-inner--3 { grid-template-columns: 210px minmax(0, 1fr) 280px; }
.cjh-mega-inner--2 { grid-template-columns: minmax(0, 1fr) 300px; }
.cjh-mega-side { border-right: 1px solid var(--cjh-line); padding-right: 20px; }
.cjh-mega-feat { border-left: 1px solid var(--cjh-line); padding-left: 30px; }
.cjh-mega-title { margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cjh-muted); }
.cjh-mega-title--panel { display: flex; align-items: baseline; gap: 8px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--cjh-navy); }
.cjh-mega-title--panel small { font-size: 12px; font-weight: 500; color: var(--cjh-muted); }

.cjh-tabs { display: flex; flex-direction: column; gap: 2px; }
.cjh-tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; box-shadow: none; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--cjh-text); cursor: pointer; transition: background .12s, color .12s; }
.cjh-tab:hover { background: #f5f7fa; color: var(--cjh-navy); }
.cjh-tab.is-active { background: var(--cjh-soft); color: var(--cjh-navy); }
.cjh-tab-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cjh-tab small { font-size: 12px; font-weight: 500; color: #8aa0b5; }
.cjh-tab-logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.cjh-tab-flag { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.cjh-tab-dot { width: 8px; height: 8px; margin: 0 7px; border-radius: 50%; background: #c9d3e0; flex: 0 0 auto; }

.cjh-panel { display: none; }
.cjh-panel.is-active { display: block; }
.cjh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; }
.cjh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cjh-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 8px; color: var(--cjh-text); text-decoration: none; transition: background .12s, color .12s; }
.cjh-item:hover { background: var(--cjh-soft); color: var(--cjh-navy); }
.cjh-item-img { width: 28px; height: 28px; object-fit: contain; flex: 0 0 auto; }
.cjh-item--player .cjh-item-img { width: 34px; height: 34px; }
.cjh-item-img--round { border-radius: 50%; object-fit: cover; background: #f3f4f6; }
.cjh-item-img--empty { display: inline-flex; align-items: center; justify-content: center; color: #b7c2d0; background: #f5f7fa; border-radius: 6px; }
.cjh-item-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.cjh-item-meta { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 1px; }
.cjh-item-meta small { white-space: nowrap; }
/* Marca «Popular»: los equipos con más catálogo (CJ_Header_Data::popular_urls) */
.cjh-badge { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; padding: 2px 6px 2px 4px; border-radius: 999px; background: #fff3cc; color: #7a5a00; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.cjh-badge .cjh-ico-star { color: #e6a700; }
.cjh-item.is-popular .cjh-item-name { color: var(--cjh-navy); }
.cjh-item-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cjh-item-text small { font-size: 11.5px; color: #8aa0b5; }

.cjh-feat { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--cjh-line); border-radius: 10px; color: var(--cjh-text); text-decoration: none; transition: border-color .15s, background .15s; }
.cjh-feat:hover { border-color: var(--cjh-navy); background: #fafbfd; color: var(--cjh-navy); }
.cjh-feat-img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.cjh-feat-img--round { border-radius: 50%; object-fit: cover; background: #f3f4f6; }
.cjh-feat-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.cjh-feat-text strong { font-size: 14px; font-weight: 700; }
.cjh-feat-text small { font-size: 12px; color: #8aa0b5; }
.cjh-feat .cjh-ico-arrow { color: #b7c2d0; flex: 0 0 auto; }
.cjh-feat:hover .cjh-ico-arrow { color: var(--cjh-navy); }
.cjh-mega-hint { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 12px; border-radius: 10px; background: #f5f7fa; font-size: 12.5px; line-height: 1.4; color: #4b5563; }
.cjh-mega-hint .cjh-ico { flex: 0 0 auto; margin-top: 1px; color: var(--cjh-navy); }
.cjh-mega-hint > span { flex: 1; min-width: 0; }
.cjh-mega-hint--inline { max-width: 560px; margin-top: 18px; }
.cjh-linkbtn { padding: 0; border: 0; background: none; box-shadow: none; font: inherit; font-weight: 700; color: var(--cjh-navy); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }


/* ── Hamburguesa flotante (móvil), igual que en el tema ───── */
.cjv2-hamburger { display: none; align-items: center; justify-content: center; width: 58px; height: 58px; position: fixed; bottom: 3rem; right: 2rem; z-index: 99999; border: 0; border-radius: 50%; background: #e7e9eb; color: var(--cjh-navy); box-shadow: 0 0 20px rgba(0, 0, 0, .25); cursor: pointer; transition: background .2s ease, color .2s ease; }
.cjv2-hamburger:hover { background: #d1d5db; }
.cjv2-ham-icon, .cjv2-close-icon { display: block; pointer-events: none; }
.cjv2-hamburger .cjv2-ham-icon { width: 32px !important; height: 32px !important; }
.cjv2-hamburger .cjv2-close-icon { width: 30px !important; height: 30px !important; }
.cjv2-close-icon { display: none; }
.cjv2-hamburger.is-active { background: #dc2626; color: #fff; }
.cjv2-hamburger.is-active .cjv2-ham-icon { display: none; }
.cjv2-hamburger.is-active .cjv2-close-icon { display: block; }

/* ── Overlay móvil: añadidos ──────────────────────────────── */
.cjh-mobile.cj-mobile-menu-overlay { z-index: 9990; }
.cjh-mobile .cj-mobile-menu-panel { padding: .75rem .9rem; gap: .6rem; }
.cjh-mobile h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--cjh-navy); }
.cjh-m-head { display: flex; align-items: center; justify-content: space-between; }
.cjh-m-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; -webkit-overflow-scrolling: touch; }
.cjh-m-scroll > * { flex: 0 0 auto; } /* dentro de un panel con scroll, nada se aplasta (la fila de chips se quedaba en 0) */
.cjh-m-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 12px; border: 1.5px solid var(--cjh-line); border-radius: 10px; background: #fafbfd; }
.cjh-m-search .cjh-ico { color: #9ca3af; flex: 0 0 auto; }
.cjh-m-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 14px; color: var(--cjh-text); outline: none; box-shadow: none; padding: 0; }
.cjh-m-search button { height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--cjh-navy); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: none; }
.cjh-m-mains { display: flex; flex-direction: column; gap: 6px; }
.cjh-mobile .cj-mobile-main-btn.cjh-m-main { display: flex; align-items: center; gap: 12px; padding: 14px 40px 14px 14px; text-decoration: none; font-weight: 700; font-size: 15px; }
.cjh-m-main .cjh-ico { color: var(--cjh-navy); flex: 0 0 auto; }
.cjh-m-main > span { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.cjh-m-main small { font-size: 11.5px; font-weight: 500; color: #8aa0b5; }
.cjh-m-label { margin: 6px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cjh-muted); }
.cjh-m-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cjh-m-chips::-webkit-scrollbar { display: none; }
.cjh-m-chip { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; height: 34px; padding: 0 12px 0 8px; border: 1px solid var(--cjh-line); border-radius: 999px; background: #fff; color: var(--cjh-navy); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cjh-m-chip img { width: 20px; height: 20px; object-fit: contain; }
.cjh-m-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.cjh-m-links li { margin: 0; }
.cjh-m-links a { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid #f0f2f6; color: var(--cjh-text); text-decoration: none; font-size: 14px; font-weight: 600; }
.cjh-m-links a .cjh-ico { color: var(--cjh-navy); flex: 0 0 auto; }
.cjh-m-links a .cjh-ico-wa { color: #25d366; }
.cjh-m-promises { margin: 4px 0 8px; padding: 10px 12px; list-style: none; display: flex; flex-direction: column; gap: 6px; border-radius: 10px; background: #f5f7fa; }
.cjh-m-promises li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: #374151; }
.cjh-m-promises .cjh-ico { color: var(--cjh-navy); flex: 0 0 auto; }
.cjh-m-list { gap: 6px; }
.cjh-mobile .cj-mobile-league-item.cjh-m-league { display: flex; align-items: center; gap: 12px; padding: 14px 40px 14px 14px; font-size: 15px; font-weight: 600; }
.cjh-m-league > span { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; text-align: left; }
.cjh-m-league small { font-size: 11.5px; font-weight: 500; color: #8aa0b5; }
.cjh-m-league-logo { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.cjh-mobile .cj-country-flag { margin: 0; width: 22px; height: 15px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.cjh-mobile .cj-team-card { gap: 2px; box-sizing: border-box; position: relative; }
.cjh-m-badge { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff3cc; color: #e6a700; }
.cjh-mobile .cj-team-card.is-popular span { color: var(--cjh-navy); } /* Astra ya pone border-box en todo; se repite por si su hoja no llega */
.cjh-mobile .cj-team-card span { font-weight: 600; line-height: 1.2; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.cjh-m-count { font-size: 11px !important; font-weight: 500 !important; color: #8aa0b5 !important; }
.cjh-m-national { flex: 1; overflow-y: auto; }
/* Botón «Volver»: píldora blanca con chevron propio (el del tema era una franja celeste con icono de fondo) */
.cjh-mobile .cj-mobile-back { position: relative; display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; height: 38px; margin: 0; padding: 0 16px 0 12px; border: 1.5px solid var(--cjh-line); border-radius: 999px; background: #fff; color: var(--cjh-navy); font-size: 13.5px; font-weight: 700; line-height: 1; text-align: left; box-shadow: none; cursor: pointer; transition: background .15s, border-color .15s; }
.cjh-mobile .cj-mobile-back:hover, .cjh-mobile .cj-mobile-back:focus-visible { background: #f5f7fa; border-color: var(--cjh-navy); }
.cjh-mobile .cj-mobile-back::before { content: ""; position: static; width: 16px; height: 16px; transform: none; flex: 0 0 auto; background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002041' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cjh-mobile .cj-mobile-menu-panel > h2 { margin-top: 2px; }

/* ── Escritorio estrecho (1024-1200): navegación y cuenta más compactas para que el buscador respire ── */
@media (min-width: 1024px) and (max-width: 1200px) {
  .cjh-nav-btn, .cjh-nav-link { padding: 0 9px; font-size: 13.5px; }
  #cjv2-header .cjv2-actions .cj-text { display: none; }
  #cjv2-header .cjv2-actions .cj-login-btn, #cjv2-header .cjv2-actions .cj-account-btn { width: 36px; padding: 0; justify-content: center; }
  .cjh-mega-inner--3 { grid-template-columns: 190px minmax(0, 1fr) 250px; }
}

/* ── Móvil / tablet ───────────────────────────────────────── */
@media (max-width: 1023px) {
  :root { --cjh-top: 0px; --cjh-main: 58px; --cjh-ticker: 28px; }
  #cjv2-header.cjh-scrolled { --cjh-top: 0px; }
  .cjh-top, .cjh-nav, .cjh-mega { display: none !important; }
  .cjh-ticker { display: block; }
  .cjh-main-inner { gap: 10px; padding: 0 12px; }
  .cjh-logo-img, .cjv2-logo-img { height: 28px !important; }
  .cjh-search, .cjv2-search { max-width: none; height: 36px; border-radius: 9px; }
  .cjh-search-icon { padding-left: 10px; }
  #cjv2-header input.cjh-search-input { font-size: 16px; } /* evita el zoom de iOS al enfocar */
  #cjv2-header .cjh-search-submit { width: 38px; }
  .cjh-actions, .cjv2-actions { gap: 2px; margin-left: 0; }
  #cjv2-header .cjv2-actions .cj-login-btn, #cjv2-header .cjv2-actions .cj-account-btn, #cjv2-header .cjv2-cart-btn {
    width: 38px; height: 38px; padding: 0; justify-content: center; border: 0; background: none; color: var(--cjh-navy) !important; border-radius: 50%;
  }
  #cjv2-header .cjv2-cart-btn:hover, #cjv2-header .cjv2-actions .cj-login-btn:hover, #cjv2-header .cjv2-actions .cj-account-btn:hover { background: var(--cjh-soft); }
  #cjv2-header .cjv2-actions .cj-ico, #cjv2-header .cjv2-actions .cj-login-btn svg, #cjv2-header .cjv2-actions .cj-account-btn svg, #cjv2-header .cjv2-cart-btn .cjh-ico-cart { width: 21px; height: 21px; }
  .cjh-cart-label, .cjv2-cart-label, .cjv2-actions .cj-text { display: none; }
  .cjh-cart-count { top: -7px; right: -9px; }
  .cjv2-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .cj-mobile-menu-overlay.cjh-mobile { width: 100vw; border-right: 0; }
  .cjh-m-chip { height: 32px; font-size: 12.5px; }
}
@media (max-width: 380px) {
  .cjh-logo-img, .cjv2-logo-img { height: 24px !important; }
  #cjv2-header .cjv2-actions .cj-login-btn, #cjv2-header .cjv2-actions .cj-account-btn, #cjv2-header .cjv2-cart-btn { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  #cjv2-header, .cjh-top, .cjh-nav-btn::after, .cjh-feat, .cj-mobile-back { transition: none; }
  .cjh-ticker-list li { transition: none; }
}
