/**
 * Títulos de sliders (OZ-Sliders) — estilo de la referencia:
 *  - Tipografía Montserrat (sans-serif) bold, NO la serif del plugin.
 *  - Primera palabra en negro, el resto en naranja.
 *  - Header del slider centrado.
 * Selectores con `html body` para ganar a las reglas !important del plugin.
 */

/* Header centrado en UNA fila: título + flechas (cuando las hay) lado a lado,
   y el conjunto queda centrado en la página. En categorías/marcas el JS monta
   las flechas dentro del header, así que quedan justo a la derecha del título. */
html body .ozs .ozs__header,
html body .oz-wc-products-theme .ozs__header,
html body .oz-wc-products-grid .ozs__header,
html body .oz-wc-products-custom .ozs__header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
}
/* El texto del título NO ocupa todo el ancho: así las flechas se pegan a su
   derecha en vez de quedar centradas debajo. */
html body .ozs .ozs__header .ozs__header-text,
html body .oz-wc-products-theme .ozs__header .ozs__header-text,
html body .oz-wc-products-grid .ozs__header .ozs__header-text,
html body .oz-wc-products-custom .ozs__header .ozs__header-text {
    text-align: center !important;
    width: auto !important;
    flex: 0 1 auto !important;
}
/* Bloque de flechas: a la derecha del título, sin crecer, centrado vertical */
html body .ozs .ozs__header .ozs__nav,
html body .oz-wc-products-theme .ozs__header .ozs__nav,
html body .oz-wc-products-grid .ozs__header .ozs__nav,
html body .oz-wc-products-custom .ozs__header .ozs__nav {
    position: static !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    inset: auto !important;
    margin: 0 !important;
    gap: 8px;
    pointer-events: auto !important;
}

/* Botones de flecha dentro del header (categorías, marcas, productos):
   MISMO estilo en todos — círculo con borde gris, fondo blanco, chevron gris.
   Así el slider de productos se ve idéntico al de categorías. */
html body .ozs .ozs__header .ozs__nav .ozs__nav-btn,
html body .oz-wc-products-theme .ozs__header .ozs__nav .ozs__nav-btn,
html body .oz-wc-products-grid .ozs__header .ozs__nav .ozs__nav-btn,
html body .oz-wc-products-custom .ozs__header .ozs__nav .ozs__nav-btn {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 1.5px solid #d7d7d7 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    margin: 0 !important;
    transition: border-color .2s ease, background-color .2s ease !important;
}
html body .ozs .ozs__header .ozs__nav .ozs__nav-btn:hover,
html body .oz-wc-products-theme .ozs__header .ozs__nav .ozs__nav-btn:hover,
html body .oz-wc-products-grid .ozs__header .ozs__nav .ozs__nav-btn:hover,
html body .oz-wc-products-custom .ozs__header .ozs__nav .ozs__nav-btn:hover {
    border-color: #f15a22 !important;
    background: #fff7f3 !important;
    transform: none !important;
    box-shadow: none !important;
}
/* Chevron (ícono) gris oscuro como en categorías */
html body .ozs .ozs__header .ozs__nav .ozs__nav-btn::before,
html body .oz-wc-products-theme .ozs__header .ozs__nav .ozs__nav-btn::before,
html body .oz-wc-products-grid .ozs__header .ozs__nav .ozs__nav-btn::before,
html body .oz-wc-products-custom .ozs__header .ozs__nav .ozs__nav-btn::before {
    background-image: none !important;
    border-top: 2px solid #555555 !important;
    border-right: 2px solid #555555 !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
    width: 9px !important;
    height: 9px !important;
}
html body .ozs .ozs__header .ozs__nav .ozs__nav-btn--prev::before,
html body .oz-wc-products-theme .ozs__header .ozs__nav .ozs__nav-btn--prev::before {
    transform: rotate(-135deg) !important;
}
html body .ozs .ozs__header .ozs__nav .ozs__nav-btn--next::before,
html body .oz-wc-products-theme .ozs__header .ozs__nav .ozs__nav-btn--next::before {
    transform: rotate(45deg) !important;
}

/* Tipografía del título: Montserrat (como la referencia). Se incluyen
   explícitamente categorías y marcas para que NO caigan en Roboto (el plugin
   les forzaba otra fuente). Así los 3 sliders se ven idénticos. */
html body .ozs__title,
html body .ozs-tabs__heading-title,
html body .ozs--wc-products .ozs__title,
html body .ozs--wc-categories .ozs__title,
html body .ozs--wc-brands .ozs__title,
html body .oz-wc-products-custom .ozs__title,
html body .oz-wc-products-grid .ozs__title {
    font-family: 'Montserrat', -apple-system, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}
/* También los spans heredan Montserrat explícitamente (por si el plugin pisa
   la fuente a nivel de span en categorías/marcas). */
html body .ozs__title .oz-title-w1,
html body .ozs__title .oz-title-w2 {
    font-family: 'Montserrat', -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

/* Color por palabra: 1ª palabra negra (más delgada), resto naranja (más gruesa).
   Aplica a TODOS los sliders (productos, categorías y marcas) por el selector
   genérico .ozs__title. */
html body .ozs__title .oz-title-w1,
html body .ozs--wc-categories .ozs__title .oz-title-w1,
html body .ozs--wc-brands .ozs__title .oz-title-w1,
html body .ozs--wc-products .ozs__title .oz-title-w1 {
    color: #111111 !important;
    font-weight: 500 !important;
}
html body .ozs__title .oz-title-w2,
html body .ozs--wc-categories .ozs__title .oz-title-w2,
html body .ozs--wc-brands .ozs__title .oz-title-w2,
html body .ozs--wc-products .ozs__title .oz-title-w2 {
    color: #f15a22 !important;
    font-weight: 800 !important;
}

/* Mientras el JS no ha corrido (o si falla), el título completo queda negro
   legible — nunca naranja-sobre-blanco ilegible ni invisible. */
html body .ozs__title { color: #111111 !important; }
