/* =========================================================
   Cabecera Pro — estilos de la cabecera
   Los valores por defecto se pueden cambiar sin tocar código
   desde Módulos > "Ajustes de cabecera" (sobrescribe estas variables).
   ========================================================= */
:root {
  --ch-bg: #ffffff;            /* fondo cabecera */
  --ch-text: #1f2328;          /* texto e iconos */
  --ch-accent: #0784f6;        /* contador carrito, hover, foco */
  --ch-nav-bg: #1f2328;        /* fondo barra de menú */
  --ch-nav-text: #ffffff;      /* texto barra de menú */
  --ch-topbar-bg: #0784f6;
  --ch-topbar-text: #ffffff;
  --ch-logo-h: 56px;           /* alto logo escritorio */
  --ch-logo-h-mobile: 38px;    /* alto logo móvil */
  --ch-position: sticky;       /* sticky = cabecera fija | relative = normal */
  --ch-radius: 999px;
  --ch-border: rgba(0, 0, 0, .1);
  --ch-font: inherit;
}

/* ---------- Ajustes sobre el #header de Hummingbird ---------- */
#header.header { background: transparent; box-shadow: none; position: var(--ch-position); top: 0; z-index: 1030; }
.ch-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ch-header { background: var(--ch-bg); color: var(--ch-text); font-family: var(--ch-font); box-shadow: 0 1px 0 var(--ch-border); }
.ch-header a { color: inherit; text-decoration: none; }
.ch-header a:hover, .ch-header a:focus { text-decoration: none; }
.ch-header :focus-visible { outline: 2px solid var(--ch-accent); outline-offset: 2px; }

/* ---------- Barra superior ---------- */
.ch-topbar { background: var(--ch-topbar-bg); color: var(--ch-topbar-text); font-size: .85rem; text-align: center; padding: .45rem 1rem; line-height: 1.3; }
.ch-header .ch-topbar a, .ch-topbar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Fila principal ---------- */
.ch-main__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo search actions";
  align-items: center;
  gap: 1.5rem;
  min-height: calc(var(--ch-logo-h) + 32px);
  padding-top: .5rem; padding-bottom: .5rem;
}
.ch-icon-btn.ch-burger { grid-area: burger; display: none; }
.ch-logo { grid-area: logo; }
.ch-search { grid-area: search; }
.ch-actions { grid-area: actions; display: flex; align-items: center; gap: .25rem; }

/* Logo */
.ch-logo__title { margin: 0; font-size: inherit; line-height: 0; }
.ch-logo__link { display: inline-flex; align-items: center; }
.ch-logo__img { height: var(--ch-logo-h); width: auto; max-width: 260px; object-fit: contain; }
.ch-logo__text { font-size: 1.5rem; font-weight: 700; line-height: 1; }

/* Botones de icono */
.ch-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; padding: 0; }
.ch-icon-btn:hover { background: var(--ch-border); }
.ch-icon-btn.ch-search-toggle { display: none; }

/* Buscador */
.ch-searchbar form { position: relative; display: flex; max-width: 640px; margin: 0 auto; }
.ch-searchbar__input {
  width: 100%; height: 46px; padding: 0 5.5rem 0 1.25rem;
  border: 1px solid grey; border-radius: var(--ch-radius);
  background: rgba(0, 0, 0, .035); color: var(--ch-text); font: inherit; font-size: .95rem;
  transition: border-color .15s, background .15s;
}
.ch-searchbar__input:focus { outline: none; border-color: var(--ch-accent); background: var(--ch-bg); }
.ch-searchbar__input::-webkit-search-cancel-button { display: none; }
.ch-searchbar__btn { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ch-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
/* Integración con el buscador de Hummingbird */
.ch-header .ch-searchbar.ps-searchbar { position: relative; min-width: 0; margin: 0 auto; max-width: 640px; overflow: visible; }
.ch-searchbar .ps-searchbar__form { width: 100%; max-width: none; }
.ch-header .ch-searchbar__clear { position: absolute; top: 50%; right: 48px; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ch-text); display: inline-flex; align-items: center; justify-content: center; }
.ch-header .ch-searchbar__clear.d-none { display: none !important; }
.ch-header .ch-searchbar .ps-searchbar__dropdown { left: 0; right: 0; width: auto; max-width: none; top: calc(100% + 6px); border-radius: 12px; }

/* Cuenta y carrito */
.ch-action { position: relative; display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .75rem; border-radius: var(--ch-radius); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.ch-action:hover { background: var(--ch-border); }
.ch-action__label { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
.ch-account { display: flex; align-items: center; }
.ch-account__logout { font-size: .8rem; opacity: .7; padding: 0 .5rem; }
.ch-account__logout:hover { opacity: 1; color: var(--ch-accent) !important; }
.ch-cart__icon { position: relative; display: inline-flex; }
.ch-cart__count {
  position: absolute; top: -8px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--ch-accent); color: #fff;
  font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center;
}
.ch-cart__count[data-empty] { background: var(--ch-text); opacity: .45; color: Black; }

/* ---------- Menú (escritorio) ---------- */
.ch-nav { background: var(--ch-nav-bg); color: var(--ch-nav-text); }
.ch-drawer__head, .ch-backdrop { display: none; }
.ch-menu { list-style: none; margin: 0; padding: 0; }
.ch-menu--d0 { display: flex; flex-wrap: wrap; gap: .25rem; }
.ch-menu__item { position: relative; }
.ch-menu__row { display: flex; align-items: center; }
.ch-menu--d0 > .ch-menu__item > .ch-menu__row > .ch-menu__link { display: block; padding: .85rem 1rem; font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.ch-menu--d0 > .ch-menu__item > .ch-menu__row > .ch-menu__link:hover,
.ch-menu--d0 > .ch-menu__item.is-current > .ch-menu__row > .ch-menu__link { color: var(--ch-accent); }
.ch-menu__toggle { border: 0; background: transparent; color: inherit; cursor: pointer; padding: .25rem; margin-left: -.6rem; display: inline-flex; align-items: center; line-height: 0; }

/* Submenús desplegables */
.ch-menu__sub {
  position: absolute; left: 0; top: 100%; min-width: 230px; padding: .5rem 0;
  background: var(--ch-bg); color: var(--ch-text);
  border-radius: 0 0 10px 10px; box-shadow: 0 14px 30px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
  z-index: 550;
}
.ch-menu__sub .ch-menu__sub { left: 100%; top: -.5rem; border-radius: 10px; }
.ch-menu__item:hover > .ch-menu__sub,
.ch-menu__item:focus-within > .ch-menu__sub,
.ch-menu__item.is-open > .ch-menu__sub { opacity: 1; visibility: visible; transform: none; }
.ch-menu__sub .ch-menu__link { display: block; flex: 1; padding: .5rem 1.1rem; font-size: .9rem; }
.ch-menu__sub .ch-menu__link:hover { color: var(--ch-accent); background: rgba(0,0,0,.04); }
.ch-menu__sub .ch-menu__toggle { margin: 0 .5rem 0 0; transform: rotate(-90deg); }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .ch-action__label { display: none; }
  .ch-action { padding: 0 .6rem; }
  .ch-account__logout { display: none; }
}

/* ---------- Móvil / tablet: menú en panel lateral ---------- */
@media (max-width: 991px) {
  .ch-main__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "burger logo actions" "search search search";
    gap: .25rem .5rem;
    min-height: 0;
  }
  .ch-icon-btn.ch-burger, .ch-icon-btn.ch-search-toggle { display: inline-flex; }
  .ch-logo { justify-self: center; }
  .ch-logo__img { height: var(--ch-logo-h-mobile); max-width: 170px; }
  .ch-logo__text { font-size: 1.2rem; }
  .ch-search { display: none; padding-bottom: .5rem; }
  .ch-header.search-open .ch-search { display: block; }

  .ch-nav {
    position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); z-index: 1100;
    background: var(--ch-bg); color: var(--ch-text);
    transform: translateX(-100%); transition: transform .25s ease;
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 0 40px rgba(0,0,0,.25);
  }
  .ch-header.menu-open .ch-nav { transform: none; }
  .ch-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .5rem .5rem .5rem 1.25rem; border-bottom: 1px solid var(--ch-border); }
  .ch-drawer__title { font-weight: 700; }
  .ch-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1050; }
  .ch-header.menu-open .ch-backdrop { display: block; }
  .ch-nav__inner { padding: 0; }

  .ch-menu--d0 { display: block; }
  .ch-menu__item { border-bottom: 1px solid var(--ch-border); }
  .ch-menu__sub .ch-menu__item { border-bottom: 0; }
  .ch-menu__row { justify-content: space-between; }
  .ch-menu--d0 > .ch-menu__item > .ch-menu__row > .ch-menu__link { padding: 1rem 1.25rem; flex: 1; }
  .ch-menu__toggle { width: 48px; height: 48px; margin: 0; justify-content: center; transition: transform .2s; }
  .ch-menu__sub .ch-menu__toggle { transform: none; }
  .ch-menu__item.is-open > .ch-menu__row > .ch-menu__toggle { transform: rotate(180deg); }

  .ch-menu__sub, .ch-menu__sub .ch-menu__sub {
    position: static; display: none; min-width: 0; padding: 0 0 .5rem 1rem;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; background: transparent;
  }
  .ch-menu__item:hover > .ch-menu__sub, .ch-menu__item:focus-within > .ch-menu__sub { display: none; }
  .ch-menu__item.is-open > .ch-menu__sub { display: block; }
  .ch-menu__sub .ch-menu__link { padding: .6rem 1.25rem; }

  body.ch-no-scroll { overflow: hidden; }
}

@media (max-width: 400px) {
  .ch-icon-btn { width: 40px; height: 40px; }
  .ch-action { padding: 0 .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-nav, .ch-menu__sub, .ch-menu__toggle { transition: none; }
}

.ch-header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.ch-cart .ch-action { gap: .85rem; }




@media screen and (max-width: 767px) {

    /* Tu CSS solo para móviles */
   .elementor-size-xl{
	min-width: 100% !important;
}

}
#_mobile_ps_contactinfo{
	display:none !important;
}
