.oz-header {
  border-bottom: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 200;
  width: min(calc(100% - (var(--container-padding) * 2)), var(--container));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: visible;
}

.oz-header-placeholder {
  width: 100%;
  height: 0;
  pointer-events: none;
}

/* When user scrolls, we add .is-fixed to fix the header to top */
.oz-header.is-fixed {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  width: min(calc(100% - (var(--container-padding) * 2)), var(--container));
  max-width: var(--container);
  z-index: 1000;
  transform: translateX(-50%) translateZ(0) translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 180ms ease, background-color 180ms ease;
  will-change: transform;
}

.oz-header.is-no-transition,
.oz-header.is-no-transition.is-fixed,
.oz-header.is-no-transition.is-fixed.is-hidden {
  transition: none !important;
  animation: none !important;
}

/* Oculto al bajar; al subir se quita y la cabecera se desliza suavemente desde arriba */
.oz-header.is-fixed.is-hidden {
  transform: translateX(-50%) translateZ(0) translateY(-100%);
}

@keyframes oz-header-slide-down {
  from {
    transform: translateX(-50%) translateZ(0) translateY(calc(-100% - 8px));
  }
  to {
    transform: translateX(-50%) translateZ(0) translateY(0);
  }
}

.oz-header.is-fixed.is-entering:not(.is-hidden) {
  animation: oz-header-slide-down 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Ensure fixed header sits below WP admin bar when present */
.oz-header.is-fixed + .oz-admin-bar-offset,
body.admin-bar .oz-header.is-fixed {
  /* top offset will be handled in JS for exact admin bar height,
     but provide sensible defaults for CSS-only fallback */
  top: 32px;
}

.oz-header-announcement {
  background: #1f1f1f;
  color: #fff;
  font-size: 0.75rem;
}

.oz-header-announcement__inner {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.oz-header-top {
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: 0 6px 16px var(--color-shadow-soft);
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.oz-header-top__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;

  /* El logo debe poder ocupar todo el alto del header */
  min-height: 84px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.oz-header__brand {
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
  align-self: stretch;
  padding: 0px 40px;
  border-right: solid 1px var(--color-border);
}

.oz-header__right {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 0;
  /* Sin :has(): las filas se pegan al borde inferior y desaparece el hueco bajo los botones */
  align-content: end;
  align-items: stretch;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  padding: 0px 0px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

/* Con barra de contacto: la fila del buscador crece y los botones alcanzan el borde inferior */
.oz-header__right:has(.oz-header__contact) {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
}

/* Sin widgets de contacto: solo la fila de controles ocupa el alto disponible */
.oz-header__right:not(:has(.oz-header__contact)) {
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
}

.oz-header__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
  min-width: 0;
  font-size: 0.78rem;
  color: #0f172a;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.oz-header__contact-left,
.oz-header__contact-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.oz-header__contact-left {
  flex: 1 1 auto;
}

/* Menú principal en fila superior (reemplaza texto/widgets a la izquierda) */
.oz-header__contact-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding-left: clamp(1rem, 2.8vw, 2rem);
  padding-right: clamp(0.5rem, 1.5vw, 1.25rem);
}

.oz-nav.oz-nav--header-inline > ul.oz-nav__list--header-inline,
.oz-nav.oz-nav--header-inline > ul.menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.oz-nav.oz-nav--header-inline > ul.oz-nav__list--header-inline > li,
.oz-nav.oz-nav--header-inline > ul.menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.oz-nav.oz-nav--header-inline > ul.oz-nav__list--header-inline > li > a,
.oz-nav.oz-nav--header-inline > ul.menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  white-space: nowrap;
}

.oz-nav.oz-nav--header-inline > ul.oz-nav__list--header-inline > li > a:hover,
.oz-nav.oz-nav--header-inline > ul.oz-nav__list--header-inline > li > a:focus-visible,
.oz-nav.oz-nav--header-inline > ul.menu > li > a:hover,
.oz-nav.oz-nav--header-inline > ul.menu > li > a:focus-visible {
  color: #0064ba;
  text-decoration: none;
}

.oz-nav.oz-nav--header-inline .sub-menu,
.oz-nav.oz-nav--header-inline .children {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 12rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  z-index: 4500;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  justify-content: flex-start !important;
}

.oz-nav.oz-nav--header-inline .sub-menu a,
.oz-nav.oz-nav--header-inline .children a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.oz-nav.oz-nav--header-inline .sub-menu a:hover,
.oz-nav.oz-nav--header-inline .sub-menu a:focus-visible,
.oz-nav.oz-nav--header-inline .children a:hover,
.oz-nav.oz-nav--header-inline .children a:focus-visible {
  background: rgba(0, 100, 186, 0.08);
  color: #0064ba;
}

.oz-header__contact-right {
  flex: 0 0 auto;
  justify-content: flex-end;
  white-space: nowrap;
}

/* Normaliza widgets dentro del header */
.oz-header__contact .widget,
.oz-header__contact .oz-widget {
  margin: 0;
}
.oz-header__contact p {
  margin: 0;
}

/* Alineamiento específico en header e imagen → texto fuerte + texto normal */
.oz-header__contact-left .textwidget p,
.oz-header__contact-left .widget_text p,
.oz-header__contact-right .textwidget p,
.oz-header__contact-right .widget_text p {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.78rem;
}

.oz-header__contact-left .textwidget p img,
.oz-header__contact-left .widget_text p img,
.oz-header__contact-right .textwidget p img,
.oz-header__contact-right .widget_text p img {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.oz-header__contact-left .textwidget p strong,
.oz-header__contact-left .widget_text p strong,
.oz-header__contact-right .textwidget p strong,
.oz-header__contact-right .widget_text p strong {
  font-weight: 700;
  color: #0064ba;
}

.oz-header__contact-left .textwidget p a,
.oz-header__contact-left .widget_text p a,
.oz-header__contact-right .textwidget p a,
.oz-header__contact-right .widget_text p a {
  color: #4b5563;
  text-decoration: none;
}

.oz-header__contact-left .textwidget p a:hover,
.oz-header__contact-left .widget_text p a:hover,
.oz-header__contact-right .textwidget p a:hover,
.oz-header__contact-right .widget_text p a:hover {
  text-decoration: underline;
}

.oz-header__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  column-gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  border-top: 1px solid var(--color-border);
  padding-top: 0;
  overflow: visible;
}

.oz-header__search-area {
  max-width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  position: relative;
  min-width: 0;
  overflow: visible;
}

/* Menú principal (botón cuadrado) + Categorías: bloque único antes del buscador */
.oz-header__bar-leading {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  align-self: stretch;
  overflow: visible;
  gap: 0;
}

.oz-header__cats-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  flex-shrink: 0;
  overflow: visible;
}

.oz-header--overlay {
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  z-index: 2000;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  padding: 0;
  width: min(calc(100% - (var(--container-padding) * 2)), var(--container));
  max-width: var(--container);
  transform: translateX(-50%);
  box-sizing: border-box;
  overflow: visible;
}

body.admin-bar .oz-header--overlay {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .oz-header--overlay {
    top: 46px;
  }
}

.oz-header--overlay .oz-header-top {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
}

.oz-site-logo--header,
.oz-site-title--header {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem 0.4rem 0.7rem;
}


.oz-site-logo--header img {
  /* El logo debe poder ocupar todo el alto del header */
  max-height: none;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.oz-site-logo--header a,
.oz-site-logo--header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.oz-site-logo--header {
  height: 100%;
  padding: 0;
}

.oz-header-menu-btn.oz-header-cats-btn {
  background: #1c51c3;
  color: #fff;
  min-height: 48px;
  height: 100%;
  align-self: stretch;
  min-width: 0;
  padding: 0.5rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  flex-shrink: 0;
  border-radius: 0;
  margin: 0;
  border: 1px solid rgba(28, 81, 195, 0.35);
  box-shadow: none;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .oz-header-menu-btn.oz-header-cats-btn {
    min-width: 11.5rem;
  }
}

.oz-header-menu-btn.oz-header-cats-btn:hover,
.oz-header-menu-btn.oz-header-cats-btn:focus-visible {
  background: linear-gradient(90deg,rgba(28, 81, 195, 1) 0%, rgba(66, 166, 81, 1) 50%);
  border-color: rgba(30, 78, 216, 0.35);
transform: translateY(-1px);
  text-decoration: none;
}

/* Solo móvil: abre el drawer lateral (menú principal) */
.oz-header-menu-btn.oz-header-mobile-nav-btn {
  display: none;
  box-sizing: border-box;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  height: 100%;
  align-self: stretch;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: 1px solid rgba(0, 100, 186, 0.35);
  border-right: 0;
  background: #fff;
  color: #0064ba;
  box-shadow: none;
  flex-shrink: 0;
  cursor: pointer;
}

.oz-header-menu-btn.oz-header-mobile-nav-btn:hover,
.oz-header-menu-btn.oz-header-mobile-nav-btn:focus-visible {
  background: rgba(0, 100, 186, 0.06);
  text-decoration: none;
}

.oz-header-menu-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Sin hueco entre la fila de botones y el panel: pegado al borde inferior del slot */
.oz-header-cats {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  width: min(720px, calc(100vw - (var(--container-padding) * 2)));
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  padding: 0.75rem 1rem;
  z-index: 4000;
}

/*
 * Los <ul> dentro de .oz-nav heredan "display:flex; flex-wrap:wrap" (.oz-nav ul),
 * lo que rompe grid/columnas. Forzamos layout solo en los dropdowns del header.
 */

/* Categorías: dos columnas verticales (relleno arriba-abajo en col. 1, luego col. 2), no una fila horizontal */
.oz-nav.oz-nav--cats > ul.oz-nav__list--cats {
  display: block;
  column-count: 2;
  column-gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.oz-nav.oz-nav--cats > ul.oz-nav__list--cats > li {
  min-width: 0;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 0.35rem;
}

.oz-nav.oz-nav--cats > ul.oz-nav__list--cats > li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.35rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.oz-nav.oz-nav--cats > ul.oz-nav__list--cats > li > a:hover,
.oz-nav.oz-nav--cats > ul.oz-nav__list--cats > li > a:focus-visible {
  background: rgba(37, 99, 235, 0.08);
  text-decoration: none;
}

.oz-nav.oz-nav--cats > ul.oz-nav__list--cats .sub-menu {
  list-style: none;
  margin: 0.25rem 0 0 0.5rem;
  padding: 0;
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

.oz-nav.oz-nav--cats > ul.oz-nav__list--cats .sub-menu a {
  font-weight: 400;
  padding: 0.4rem 0.5rem;
  justify-content: flex-start;
}

@media (max-width: 540px) {
  .oz-header-cats {
    width: min(100%, calc(100vw - (var(--container-padding) * 2)));
  }

}

.oz-site-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.oz-header__search {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.oz-header__search .ozpls-figma {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  flex: 1 1 auto;
  min-height: 48px;
  height: 100% !important;
  align-self: stretch;
  /* El plugin aplica ancho % en línea; forzar ocupar todo el hueco entre categorías y carrito */
  --ozpls-figma-width: 100% !important;
  /* Altura de la barra por CSS (no 100% en la variable: el plugin la usa también para el ancho del botón) */
  --ozpls-figma-height: 48px;
  --ozpls-figma-radius: 0;
}

/* Buscador vivo (Figma): sin radios, sin huecos entre campo y botón */
.oz-header__search .ozpls-figma__bar {
  border-radius: 0 !important;
  margin: 0 !important;
  border-left: 0 !important;
  min-height: 48px;
  height: 100% !important;
  box-sizing: border-box;
}

.oz-header__search .ozpls-figma__inputWrap {
  gap: 0 !important;
  margin: 0 !important;
  padding-left: 25px;
}

.oz-header__search .ozpls-figma__input {
  padding: 0 !important;
  margin: 0 !important;
}

.oz-header__search .ozpls-figma__inputIcon {
  margin: 0 !important;
  padding: 0 !important;
}

.oz-header__search .ozpls-figma__btn {
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  min-height: 48px !important;
  width: auto !important;
  min-width: 48px !important;
  aspect-ratio: 1;
  max-width: 80px;
}

.oz-header__search .ozpls-figma__results {
  z-index: 2002;
}

.oz-header__search .widget,
.oz-header__search .oz-widget {
  margin: 0;
}

.oz-header__search ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oz-header__search .oz-widget__title {
  margin: 0;
}

.oz-header__search-form .search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  margin: 0;
  padding: 0;
}

.oz-header__search-form .search-field {
  border: 1px solid var(--color-border);
  border-right: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  background: #fff;
  background-image: none;
  -webkit-appearance: none;
  min-height: 48px;
  box-sizing: border-box;
}

.oz-header__search-form .search-field::-webkit-search-decoration,
.oz-header__search-form .search-field::-webkit-search-cancel-button,
.oz-header__search-form .search-field::-webkit-search-results-button,
.oz-header__search-form .search-field::-webkit-search-results-decoration {
  display: none;
}

.oz-header__search-form .search-submit {
  border: 1px solid #dd6d1b;
  border-radius: 0;
  background: #f08b2a;
  color: #fff;
  padding: 0;
  margin: 0;
  width: 48px;
  min-width: 48px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
}

.oz-header__search-form .search-submit .oz-search-btn__text {
  display: none;
}

.oz-header__search-form .search-submit .oz-search-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oz-header__search-form .search-submit .oz-search-btn__icon svg {
  width: 18px;
  height: 18px;
}

/* Remove widget-like shadow on header widgets but keep search styling */
.oz-header .oz-widget,
.oz-header .widget_oz_sidebar,
.oz-header .oz-widget * {
  box-shadow: none !important;
  font-size: 14px !important;
}

/* Restore search field/button visuals (keep no shadow) */
.oz-header .oz-header__search-form .search-field {
  background: #fff !important;
  border: 1px solid var(--color-border) !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.oz-header .oz-header__search-form .search-submit {
  background: #f08b2a !important;
  border: 1px solid #dd6d1b !important;
  border-radius: 0 !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 48px !important;
  min-width: 48px !important;
  box-shadow: none !important;
}

.oz-header__actions {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  margin: 0;
  flex-shrink: 0;
  padding-left: 0.75rem;
  align-self: stretch;
}

.oz-header__actions > * {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.oz-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/*
 * Cotizador (header): 35px izquierda y derecha en el recuadro blanco.
 * En el markup el enlace va en .oz-header-cart__link; lo visible es .oz-header-cart__content.
 */
.oz-header-cart__content {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 35px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  font-weight: 400;
  color: var(--color-text);
  min-height: 48px;
  height: 100%;
  box-sizing: border-box;
}

.oz-header-cart__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f8fafc;
  color: #0064BA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oz-header-cart__label {
  font-size: 0.9rem;
  font-weight: 400;
}

.oz-header-cart__content strong,
.oz-header-cart__label strong {
  font-weight: 400;
}

.oz-header-cart__link a,
.oz-header-cart__link button {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.oz-header-cart__link a:focus-visible,
.oz-header-cart__link button:focus-visible {
  opacity: 1;
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 999px;
}

.oz-header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: black;
  font-weight: 800;
  font-size: 0.9rem;
}

.oz-header-action__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: #f08b2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.oz-header-bottom {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.oz-header-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0;
}

.oz-header-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;

  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border: 1px solid #dd6d1b;
  background: #f08b2a;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  cursor: pointer;
}

.oz-nav__list {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.oz-nav ul,
.oz-nav .menu,
.oz-nav .page-menu {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.oz-nav__list--secondary a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s ease;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: normal;
  line-height: 1.15;
  max-width: 240px;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none; /* avoid mid-word hyphenation */
  /* clamp to max 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.oz-nav__list--secondary > li {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto; /* don't force equal shrinking, allow natural width */
  min-width: 90px;
}

/* When there is lots of space, center items and avoid excessive wrapping */
@media (min-width: 1200px) {
  .oz-nav__list {
    justify-content: center;
    gap: calc(var(--space-md) * 1.25);
  }
  .oz-nav__list--secondary > li {
    min-width: 120px;
  }
}

/* Desktop / laptop: keep nav in a single row and distribute items evenly */
@media (min-width: 992px) {
  .oz-nav__list {
    flex-wrap: nowrap;
    justify-content: center;
    gap: calc(var(--space-md) * 0.9);
  }

  .oz-nav__list--secondary > li {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
  }

  .oz-nav__list--secondary a {
    display: block;
    width: 100%;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }
}

/* Ensure on narrow screens items can wrap to max 2 lines without creating a 3rd row */
@media (max-width: 991px) {
  .oz-nav__list {
    justify-content: center;
  }
  .oz-nav__list--secondary a {
    font-size: 0.82rem;
    padding: 0.22rem 0.5rem;
    -webkit-line-clamp: 2;
  }
}

.oz-nav__list--secondary > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(var(--space-md) * -0.5);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(15, 23, 42, 0.08);
}

.oz-nav__list--secondary a:hover,
.oz-nav__list--secondary a:focus {
  color: var(--color-primary);
  text-decoration: none;
}

.oz-site-logo img {
  max-height: 52px;
  width: auto;
  height: auto;
}

/* Franja a ancho completo: fondo vía ::before, solapada bajo el header (misma lógica que .oz-shop-hero) */
.oz-page-hero-band {
  --oz-page-hero-overlap: clamp(128px, 19vw, 210px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: calc(-1 * var(--oz-page-hero-overlap));
  padding-top: calc(var(--oz-page-hero-overlap) + clamp(0.45rem, 1.5vw, 0.85rem));
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-left: 0;
  padding-right: 0;
  margin-bottom: var(--space-md);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: transparent !important;
}

body.admin-bar .oz-page-hero-band {
  --oz-page-hero-overlap: clamp(160px, 19vw, 242px);
}

.oz-page-hero-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1c51c3 0%, #2563eb 100%);
  pointer-events: none;
}

.oz-page-hero-band .oz-container {
  background: transparent;
}

/* Sin hueco blanco entre cabecera y la franja (plantillas con .oz-section) */
.oz-section:has(> .oz-page-hero-band:first-child) {
  padding-top: 0;
}

.oz-page-hero-band .oz-page-hero {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0 !important;
  margin-bottom: 0;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem 1.25rem !important;
  text-align: left !important;
}

/* Título a la izquierda (main.css pone margin auto en .oz-page-hero__title → centraba el bloque en el flex) */
.oz-page-hero-band .oz-page-hero__title,
.oz-page-hero-band .oz-archive-title {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  text-align: left !important;
}

/* Migas a la derecha, misma fila (vence main.css: .oz-breadcrumbs width 100% + display block) */
.oz-page-hero-band .oz-breadcrumbs {
  order: 2;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  text-align: right !important;
  padding: 0 !important;
}

.oz-page-hero-band .oz-breadcrumbs__list {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* Inner de WooCommerce (misma fila que tienda: enlaces en línea a la derecha) */
.oz-page-hero-band .oz-breadcrumb__inner {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Descripción ocupa fila completa debajo */
.oz-page-hero-band .oz-page-hero__description {
  order: 3;
  flex-basis: 100%;
  width: 100%;
  text-align: left !important;
  margin-bottom: 0 !important;
}

/* Título en la franja: blanco (anula .oz-main h1: gradiente + text-fill transparent) */
.oz-page-hero-band .oz-page-hero__title,
.oz-page-hero-band .oz-archive-title {
  font-size: 25.5px;
  line-height: 1.12;
  margin-bottom: 0.3rem;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.oz-main .oz-page-hero-band h1.oz-page-hero__title,
.oz-main .oz-page-hero-band h1.oz-archive-title {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  text-align: left !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em;
}

/* Descripción y todos los textos dentro de la franja: blanco */
.oz-page-hero-band .oz-page-hero__description,
.oz-page-hero-band .oz-page-hero__description * {
  color: #fff !important;
}

@media (max-width: 767px) {
  .oz-page-hero-band .oz-page-hero__title,
  .oz-page-hero-band .oz-archive-title {
    font-size: clamp(1.125rem, 4.5vw, 25.5px);
  }
}

/* Migas de pan en la franja: texto blanco (marcado tema + salida nativa WooCommerce) */
.oz-page-hero-band .oz-breadcrumbs,
.oz-page-hero-band .oz-breadcrumbs a,
.oz-page-hero-band .oz-breadcrumbs span,
.oz-page-hero-band .oz-breadcrumbs__item,
.oz-page-hero-band .oz-breadcrumbs__item > a,
.oz-page-hero-band .oz-breadcrumbs__item > span,
.oz-page-hero-band .oz-breadcrumbs__item::after,
.oz-page-hero-band nav.woocommerce-breadcrumb,
.oz-page-hero-band nav.woocommerce-breadcrumb a,
.oz-page-hero-band .oz-breadcrumb__inner,
.oz-page-hero-band .oz-breadcrumb__inner a {
  color: rgba(255,255,255,0.85) !important;
}

.oz-page-hero-band .oz-breadcrumbs a:hover,
.oz-page-hero-band nav.woocommerce-breadcrumb a:hover,
.oz-page-hero-band .oz-breadcrumb__inner a:hover {
  color: #fff !important;
}

.oz-page-hero {
  padding-top: clamp(1.25rem, 2.4vw, 2rem);
  margin-bottom: var(--space-lg);
}

.oz-page-hero__title {
  margin-bottom: 0.45rem;
}

.oz-page-hero__description {
  margin-bottom: 0.5rem;
}

.oz-breadcrumbs {
  margin-top: 0.2rem;
}

/* Alinear título y migas a la izquierda */
.oz-page-hero,
.oz-page-hero .oz-page-hero__title,
.oz-page-hero .oz-page-hero__description,
.oz-page-hero .oz-breadcrumbs {
  text-align: left;
}
.oz-page-hero .oz-breadcrumbs__list {
  justify-content: flex-start;
}

/* Franja azul: fila título | migas (todas las plantillas con héroe: página, blog, archivo, 404…). */
body .oz-page-hero-band .oz-page-hero,
body .oz-page-hero-band .oz-page-hero__title,
body .oz-page-hero-band .oz-archive-title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body .oz-page-hero-band .oz-page-hero__description {
  text-align: left !important;
}
body .oz-page-hero-band .oz-breadcrumbs,
body .oz-page-hero-band nav.woocommerce-breadcrumb.oz-breadcrumb {
  text-align: right !important;
}
body .oz-page-hero-band .oz-breadcrumbs__list,
body .oz-page-hero-band .oz-breadcrumb__inner {
  justify-content: flex-end !important;
}

/* JS añade oz-breadcrumbs--center en contacto; dentro de la franja azul debe seguir el layout tienda */
.oz-page-hero-band .oz-breadcrumbs.oz-breadcrumbs--center {
  display: flex !important;
  text-align: right !important;
  justify-content: flex-end !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}
.oz-page-hero-band .oz-breadcrumbs.oz-breadcrumbs--center .oz-breadcrumbs__list {
  justify-content: flex-end !important;
}

.oz-page-hero-band .oz-breadcrumbs.oz-breadcrumbs--center .oz-breadcrumb__inner {
  justify-content: flex-end !important;
}

/* helper class (fuera del hero band): nav bloque + ol inline-flex centrado */
.oz-breadcrumbs--center {
  display: block !important;
  text-align: center !important;
}
.oz-breadcrumbs--center .oz-breadcrumbs__list {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.oz-breadcrumbs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.86rem;
  color: #64748b;
}

.oz-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Misma tipografía en enlace y página actual + separador alineado en la misma línea base */
.oz-breadcrumbs__item > a,
.oz-breadcrumbs__item > span[aria-current="page"] {
  display: inline;
  line-height: 1.4;
  font-size: inherit;
  font-weight: 400;
  color: #475569;
  vertical-align: baseline;
}

.oz-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: #94a3b8;
  font-weight: 400;
  line-height: 1;
  align-self: center;
}

.oz-breadcrumbs a {
  color: #475569;
  text-decoration: none;
}

.oz-breadcrumbs a:hover {
  color: var(--color-secondary);
}


.oz-widget__title {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

/* Ensure shop sidebar widget titles have top spacing */
.oz-shop-sidebar .oz-widget__title,
.sidebar-woocommerce .oz-widget .oz-widget__title {
  margin-top: 15px !important;
}

.oz-mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-medium);
  /* Por encima del header y, en lo posible, de la barra de admin en front (suele usar ~99999) */
  z-index: 200000;
  display: none;
}

.oz-mobile-overlay.is-active {
  display: block;
}

/* Por encima del header (z-index hasta 1000); ocupa todo el alto del viewport */
.oz-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: auto;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: border-box;
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  z-index: 200001;
  flex-direction: column;
  display: none;
  box-shadow: 8px 0 32px rgba(15, 23, 42, 0.12);
}

.oz-mobile-menu.is-active {
  display: flex;
}

.oz-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem var(--space-md);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.oz-mobile-menu__title {
  font-weight: 700;
  font-size: 1.05rem;
}

.oz-mobile-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Solo un panel visible según data-oz-mobile-panel (lo controla main.js) */
.oz-mobile-menu__panel {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.oz-mobile-menu.is-active[data-oz-mobile-panel="primary"] .oz-mobile-menu__panel--primary,
.oz-mobile-menu.is-active[data-oz-mobile-panel="cats"] .oz-mobile-menu__panel--cats {
  display: block;
}

.oz-mobile-close {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  border-radius: 10px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  flex-shrink: 0;
}

.oz-mobile-close:hover,
.oz-mobile-close:focus-visible {
  background: var(--color-surface-hover, rgba(15, 23, 42, 0.06));
  outline: 2px solid var(--color-focus, #2563eb);
  outline-offset: 2px;
}

.oz-mobile-nav {
  padding: var(--space-md);
  overflow-y: visible;
}

.oz-mobile-nav__list,
.oz-mobile-nav__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oz-mobile-nav__list > li {
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0;
}

.oz-mobile-nav__list a {
  display: inline-block;
  padding: 0.3rem 0;
  color: inherit;
}

/* Make the entire mobile menu row clickable — expand link to full area */
.oz-mobile-nav__list > li > a {
  display: block !important;
  width: 100% !important;
  padding: 0.65rem 0.75rem !important; /* match touch target size */
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}
.oz-mobile-nav__list > li {
  padding: 0; /* remove duplicate vertical padding so link padding controls touch area */
}

.oz-submenu-toggle {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-item-has-children {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xs);
}

.menu-item-has-children.is-open > a {
  color: var(--color-primary);
}

.oz-submenu {
  grid-column: 1 / -1;
  padding-left: 1rem;
  margin-top: 0.35rem;
  border-left: 1px dashed var(--color-border);
}

.oz-submenu li {
  border-bottom: none;
  padding: 0.35rem 0;
}

.oz-submenu-toggle__icon--minus {
  display: none;
}

.menu-item-has-children.is-open .oz-submenu-toggle__icon--plus {
  display: none;
}

.menu-item-has-children.is-open .oz-submenu-toggle__icon--minus {
  display: inline-flex;
}

.textwidget strong{
  color: #0064BA;

font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: normal;

}

@media (max-width: 991px) {
  .oz-header-top__inner {
    grid-template-columns: auto 1fr;
    row-gap: 0.5rem;
    min-height: 84px;
  }

  .oz-header__controls {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.75rem;
  }

  .oz-header-bottom {
    display: none;
  }

  .oz-header__search {
    width: 100%;
  }

  .oz-header-announcement {
    font-size: 0.68rem;
  }
}

/* --- Footer Fainza: azul marino, centrado, logo + texto + contacto + menú entre líneas --- */
.oz-footer--fainza {
  background: #073275;
  color: #ffffff;
  padding: 3rem 0 4.5rem;
  text-align: center;
}

.oz-footer--fainza .oz-container {
  max-width: 920px;
}

.oz-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.oz-footer__brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 42rem;
}

.oz-footer__logo .custom-logo-link {
  display: inline-flex;
  justify-content: center;
}

.oz-footer__logo .custom-logo-link img {
  max-height: 88px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
}

.oz-footer__logotype {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.06em;
  text-decoration: none;
}

.oz-footer__logotype:hover {
  color: rgba(255, 255, 255, 0.9);
}

.oz-footer__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.oz-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.75rem 2.5rem;
  width: 100%;
}

.oz-footer__contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  max-width: 20rem;
}

.oz-footer__contact-icon {
  flex-shrink: 0;
  color: #ffffff;
  opacity: 0.95;
  margin-top: 2px;
}

.oz-footer__contact-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.oz-footer__contact-text--phones {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  max-width: min(28rem, 100%);
}

.oz-footer__phone-sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  user-select: none;
}

.oz-footer__contact-text--address {
  text-align: left;
}

.oz-footer__contact-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.oz-footer__contact-link:hover {
  text-decoration: underline;
}

.oz-footer__rule {
  width: 100%;
  max-width: min(720px, 100%);
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.oz-footer__nav {
  width: 100%;
}

.oz-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 2rem;
}

.oz-footer__menu-list a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.oz-footer__menu-list a:hover,
.oz-footer__menu-list a:focus-visible {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.92);
}

.oz-footer__legal {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .oz-footer--fainza {
    padding: 2.25rem 0 5.5rem;
  }

  .oz-footer__contacts {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .oz-footer__contact-item {
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .oz-footer__contact-text--address {
    text-align: center;
  }

  .oz-footer__contact-text--phones {
    justify-content: center;
  }

  .oz-footer__menu-list {
    flex-direction: column;
    gap: 0.75rem;
  }
}
