/*
Theme Name: Sober Child Theme
Theme URI: http://uix.store/sober/
Author: UIX Themes
Author URI: http://uix.store
Description: Sober is a fully responsive Premium WordPress Theme with a pixel perfect design and extensive functionality
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sober
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Template: sober
*/
.header-v3 .site-branding, .header-v5 .site-branding{
    margin-bottom: 10px;
}








/* ==========================================================
   AROMAS BY BILAL RAHAL
   PAGE HEADER - ESTILO EDITORIAL
   ========================================================== */

:root {
    /* ALTURA */
    --aromas-page-header-height: 400px;
    --aromas-page-header-mobile: 240px;

    /* TIPOGRAFÍA ESCRITORIO */
    --aromas-page-title-size: 34px;
    --aromas-page-title-weight: 700;
    --aromas-page-title-spacing: 3px;
    --aromas-page-title-line-height: 1.2;

    /* POSICIÓN ESCRITORIO */
    --aromas-page-title-position: 85%;

    /* TIPOGRAFÍA MÓVIL */
    --aromas-page-title-size-mobile: 19px;
    --aromas-page-title-weight-mobile: 700;
    --aromas-page-title-spacing-mobile: 2px;
    --aromas-page-title-line-height-mobile: 1.2;

    /* POSICIÓN MÓVIL */
    --aromas-page-title-position-mobile: 85%;
}

/* ==========================================================
   CONTENEDOR PRINCIPAL
   ========================================================== */

body .page-header,
body.header-transparent .page-header {
    position: relative;
    height: var(--aromas-page-header-height) !important;
    min-height: var(--aromas-page-header-height) !important;
    padding: 0 !important;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
}

/* ==========================================================
   CONTENEDOR INTERIOR
   ========================================================== */

body .page-header > .sober-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

/* ==========================================================
   TÍTULO ESCRITORIO
   ========================================================== */

body .page-header .page-title {
    position: absolute !important;
    top: var(--aromas-page-title-position) !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    width: 100%;
    margin: 0 !important;
    padding: 0 15px;

    font-size: var(--aromas-page-title-size) !important;
    font-weight: var(--aromas-page-title-weight) !important;
    line-height: var(--aromas-page-title-line-height) !important;
    letter-spacing: var(--aromas-page-title-spacing) !important;

    text-align: center !important;
    text-transform: uppercase !important;
}

/* ==========================================================
   MÓVILES
   ========================================================== */

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

    /* ALTURA DEL ENCABEZADO */
    body .page-header,
    body.header-transparent .page-header {
        height: var(--aromas-page-header-mobile) !important;
        min-height: var(--aromas-page-header-mobile) !important;
        padding: 0 !important;
    }

    /* CONTENEDOR INTERIOR */
    body .page-header > .sober-container {
        height: 100% !important;
        min-height: 0 !important;
    }

    /* TÍTULO MÓVIL */
    body .page-header .page-title {
        position: absolute !important;
        top: var(--aromas-page-title-position-mobile) !important;
        left: 50% !important;

        transform: translate(-50%, -50%) !important;

        font-size: var(--aromas-page-title-size-mobile) !important;
        font-weight: var(--aromas-page-title-weight-mobile) !important;
        line-height: var(--aromas-page-title-line-height-mobile) !important;
        letter-spacing: var(--aromas-page-title-spacing-mobile) !important;

        text-align: center !important;
        text-transform: uppercase !important;
    }
}










/* =========================================================
   AROMAS BY BILAL RAHAL
   MEGA MENÚ - CSS ORGANIZADO
   ========================================================= */


/* =========================================================
   BLOQUE 1: MEGA MENÚ DE PERFUMES
   ========================================================= */


/* ---------------------------------------------------------
   1. CONTENEDOR PRINCIPAL
   --------------------------------------------------------- */

#menu-item-5079 {
    position: static !important;
}

#menu-item-5079 > .mega-menu-container {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 23px) !important;

    width: 100vw !important;
    max-width: 100vw !important;

    transform: translateX(-50%) !important;
    box-sizing: border-box !important;

    z-index: 999 !important;
    background: #ffffff !important;

    height: auto !important;
    min-height: 0 !important;

    border-top: 1px solid #eeeeee !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07) !important;
}

/* Ocultar enlace auxiliar utilizado por Sober */

#menu-item-5079 > .mega-menu-container > li > a {
    display: none !important;
}

#menu-item-5079 > .mega-menu-container > li {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   2. ESTRUCTURA DE LAS TRES COLUMNAS
   --------------------------------------------------------- */

.aromas-mega {
    display: grid !important;

    grid-template-columns:
        155px
        245px
        minmax(0, 1fr) !important;

    align-items: start !important;
    justify-content: stretch !important;

    gap: 35px !important;

    width: 100% !important;
    max-width: 1500px !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 auto !important;
    padding: 38px 30px 42px !important;

    box-sizing: border-box !important;
}

.aromas-mega__nav,
.aromas-mega__content,
.aromas-mega__banners {
    align-self: start !important;
    min-width: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   3. TIPOGRAFÍA UNIFICADA
   --------------------------------------------------------- */

.aromas-mega {
    font-family: inherit !important;
}

.aromas-mega__tab,
.aromas-mega__panel ul.aromas-mega__links li a,
.aromas-mega__banner-title {
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
}


/* ---------------------------------------------------------
   4. PRIMERA COLUMNA - NAVEGACIÓN
   --------------------------------------------------------- */

.aromas-mega__nav {
    display: flex !important;
    flex-direction: column !important;

    justify-content: flex-start !important;
    align-items: stretch !important;

    gap: 3px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.aromas-mega__tab {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 10px 13px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #55545a !important;

    text-align: left !important;
    text-decoration: none !important;

    cursor: pointer !important;

    transition:
        background 0.2s ease,
        color 0.2s ease !important;
}

.aromas-mega__tab:hover,
.aromas-mega__tab.is-active {
    background: #f5f5f4 !important;
    color: #171717 !important;
}

.aromas-mega__best {
    color: #55545a !important;
    text-decoration: none !important;
}

.aromas-mega__arrow {
    font-size: 17px !important;
    font-weight: 300 !important;
    color: #888888 !important;

    transition: transform 0.2s ease !important;
}

.aromas-mega__tab:hover .aromas-mega__arrow,
.aromas-mega__tab.is-active .aromas-mega__arrow {
    transform: translateX(3px);
    color: #222222 !important;
}


/* ---------------------------------------------------------
   5. SEGUNDA COLUMNA - CONTENIDO
   --------------------------------------------------------- */

.aromas-mega__content {
    display: block !important;

    padding: 0 0 0 25px !important;
    margin: 0 !important;

    border-left: 1px solid #eeeeee !important;

    overflow: visible !important;
}

.aromas-mega .aromas-mega__panel {
    display: none !important;

    position: static !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}

.aromas-mega .aromas-mega__panel.is-active {
    display: block !important;
}

.aromas-mega__panel h3 {
    display: block !important;

    margin: 0 0 18px !important;
    padding: 0 0 12px !important;

    border-bottom: 1px solid #eeeeee !important;

    color: #77716d !important;

    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    line-height: 1.4 !important;

    text-transform: uppercase !important;
}


/* ---------------------------------------------------------
   6. LISTAS - CORRECCIÓN DE LOS ESTILOS DE SOBER
   --------------------------------------------------------- */

.aromas-mega .aromas-mega__panel ul.aromas-mega__links {
    position: static !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    transform: none !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    gap: 13px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    visibility: visible !important;
    opacity: 1 !important;
    z-index: auto !important;
}

.aromas-mega .aromas-mega__panel ul.aromas-mega__links li {
    position: static !important;

    display: block !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    visibility: visible !important;
    opacity: 1 !important;
}

.aromas-mega .aromas-mega__panel ul.aromas-mega__links li a {
    position: static !important;

    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #55545a !important;
    background: transparent !important;

    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.5 !important;

    text-transform: uppercase !important;
    text-decoration: none !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    visibility: visible !important;
    opacity: 1 !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease !important;
}

.aromas-mega .aromas-mega__panel ul.aromas-mega__links li a:hover {
    color: #171717 !important;
    transform: translateX(3px);
}

.aromas-mega__empty {
    margin: 0 !important;
    padding: 0 !important;
    color: #77716d !important;
    font-size: 11px !important;
}


/* ---------------------------------------------------------
   7. TERCERA COLUMNA - CUATRO IMÁGENES
   --------------------------------------------------------- */

.aromas-mega__banners {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    align-items: start !important;
    justify-content: stretch !important;

    gap: 13px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}

.aromas-mega__banner {
    display: block !important;

    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: none !important;
    border-radius: 9px !important;

    background: transparent !important;
    text-decoration: none !important;
}

.aromas-mega__banner img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 9 !important;

    object-fit: cover !important;
    object-position: center !important;

    margin: 0 !important;

    border: none !important;
    border-radius: 9px !important;

    transition: transform 0.45s ease !important;
}

.aromas-mega__banner:hover img {
    transform: scale(1.035);
}

.aromas-mega__banner-title {
    display: block !important;

    margin: 11px 0 0 !important;
    padding: 0 !important;

    color: #55545a !important;

    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.5 !important;

    text-align: center !important;
    text-transform: uppercase !important;
}

.aromas-mega__placeholder {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    aspect-ratio: 16 / 9 !important;

    padding: 10px !important;

    box-sizing: border-box !important;

    background: #f5f5f4 !important;
    border-radius: 9px !important;

    color: #55545a !important;
    font-size: 11px !important;
    text-align: center !important;
}


/* ---------------------------------------------------------
   8. TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) and (min-width: 768px) {

    .aromas-mega {
        grid-template-columns:
            145px
            210px
            minmax(0, 1fr) !important;

        gap: 18px !important;
        padding: 28px 20px !important;
    }

    .aromas-mega__banners {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ---------------------------------------------------------
   9. MÓVIL
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .aromas-mega {
        display: block !important;
        padding: 20px !important;
    }

    .aromas-mega__content {
        margin-top: 20px !important;
        padding-left: 0 !important;
        border-left: none !important;
    }

    .aromas-mega__banners {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
        margin-top: 25px !important;
    }
}


/* ======================================================================
   FIN DEL MEGA MENÚ DE PERFUMES
   ====================================================================== */



/* ======================================================================
   ======================================================================
   INICIO DEL MEGA MENÚ DE MARCAS
   Este bloque es independiente del mega menú de Perfumes.
   ======================================================================
   ====================================================================== */


/* =========================================================
   AROMAS BY BILAL RAHAL
   MEGA MENU DE MARCAS - PREMIUM
   ========================================================= */


/* ---------------------------------------------------------
   1. CONTENEDOR
   --------------------------------------------------------- */

.aromas-brands {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 35px 30px 30px;
    box-sizing: border-box;
    background: #ffffff;
}


/* ---------------------------------------------------------
   2. CUADRÍCULA - CINCO COLUMNAS
   --------------------------------------------------------- */

.aromas-brands__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 0;
    width: 100%;
}


/* ---------------------------------------------------------
   3. TARJETAS DE MARCAS
   --------------------------------------------------------- */

.aromas-brands__item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    min-width: 0;
    padding: 15px 8px 12px;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #eeeeee !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-decoration: none !important;
    text-align: center;

    transition: background 0.2s ease;
}

.aromas-brands__item[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   4. ÁREA RESERVADA PARA LOS LOGOS
   --------------------------------------------------------- */

.aromas-brands__logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 65px;

    margin: 0 0 8px;
    padding: 5px;

    box-sizing: border-box;
    background: transparent;
}

.aromas-brands__logo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 180px;
    max-height: 60px;

    object-fit: contain;
    object-position: center;

    margin: 0;
    padding: 0;

    border: 0;
    box-shadow: none;
}


/* ---------------------------------------------------------
   5. MARCAS SIN LOGO
   --------------------------------------------------------- */

.aromas-brands__pending {
    color: #c3c0bc;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   6. NOMBRE DE LA MARCA
   --------------------------------------------------------- */

.aromas-brands__name {
    display: block;

    width: 100%;
    margin: 0;
    padding: 0;

    color: #454545;

    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 1.5;

    text-align: center;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   7. EFECTO HOVER
   --------------------------------------------------------- */

.aromas-brands__item:hover {
    background: #fafafa !important;
}

.aromas-brands__item:hover .aromas-brands__name {
    color: #111111;
}


/* ---------------------------------------------------------
   8. PAGINACIÓN
   --------------------------------------------------------- */

.aromas-brands__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin: 25px 0 0;
    padding: 0;
}

.aromas-brands__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


/* ---------------------------------------------------------
   9. BOTONES DE PAGINACIÓN
   --------------------------------------------------------- */

.aromas-brands__page,
.aromas-brands__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    min-width: 30px;

    padding: 0;
    margin: 0;

    border: 1px solid transparent !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #55545a !important;

    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 500 !important;

    cursor: pointer;

    transition: all 0.2s ease;
}

.aromas-brands__page.is-active {
    background: #f2f2f0 !important;
    border-color: #e8e8e6 !important;
    color: #171717 !important;
}

.aromas-brands__page:hover:not(.is-active),
.aromas-brands__arrow:hover:not(:disabled) {
    color: #111111 !important;
    background: #f7f7f6 !important;
}

.aromas-brands__arrow {
    font-size: 19px !important;
    font-weight: 300 !important;
}

.aromas-brands__arrow:disabled {
    opacity: 0.25;
    cursor: default;
}


/* ---------------------------------------------------------
   10. TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .aromas-brands__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 15px;
    }

}


/* ---------------------------------------------------------
   11. MÓVIL
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .aromas-brands {
        padding: 20px 15px;
    }

    .aromas-brands__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
    }

    .aromas-brands__logo {
        height: 60px;
    }

    .aromas-brands__pagination {
        margin-top: 20px;
    }

}


/* =========================================================
   MEGA MENÚ MARCAS — DIMENSIONES Y POSICIÓN
   ========================================================= */

/* Panel exterior */
#site-navigation .mega-menu-container:has(.aromas-brands) {
    width: 100vw !important;
    max-width: 100vw !important;

    left: calc(50% - 32px) !important;
    right: auto !important;
    transform: translateX(-50%) !important;

    top: calc(100% + 23px) !important;

    box-sizing: border-box !important;
}

/* Elemento auxiliar de Sober */
#site-navigation .mega-menu-container:has(.aromas-brands) > li {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Contenido interior */
#site-navigation .mega-menu-container:has(.aromas-brands) .aromas-brands {
    width: 100% !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}


/* ======================================================================
   FIN DEL MEGA MENÚ DE MARCAS
   FIN DEL CSS PERSONALIZADO DE AROMAS
   ====================================================================== */












/* =========================================================
   AROMAS — BUSCADOR PERSONALIZADO
   ========================================================= */

#search-modal.aromas-search-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2000 !important;
    display: none;
    visibility: hidden;
    overflow: hidden !important;
    background: #fff !important;
    padding: 0 !important;
    transform: none !important;
}

/* Modal abierto */

#search-modal.aromas-search-modal.open {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
}

/* Barra fija */

#search-modal .aromas-search-fixed {
    position: relative !important;
    z-index: 20 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    padding: 24px 55px 20px !important;
    background: #fff !important;
    border-bottom: 1px solid #eeeeee !important;
}

/* Formulario */

#search-modal .instance-search {
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
}

#search-modal .search-fields {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 40px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #dcdcdc !important;
    opacity: 1 !important;
    transform: none !important;
}

#search-modal .search-field {
    width: 100% !important;
    height: 46px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: .2px !important;
}

#search-modal .search-submit {
    position: absolute !important;
    left: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#search-modal .search-submit svg {
    width: 19px;
    height: 19px;
}

/* Botón cerrar */

#search-modal .aromas-search-close {
    position: absolute !important;
    top: 50% !important;
    right: 35px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 25px;
    height: 25px;
    color: #333 !important;
}

#search-modal .aromas-search-close svg {
    width: 17px;
    height: 17px;
}

/* Área desplazable */

#search-modal .aromas-search-scroll {
    position: relative !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 30px 40px 55px !important;
    overscroll-behavior: contain;
}

/* Contenido inicial */

#search-modal .aromas-search-initial {
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

#search-modal .aromas-search-initial h3 {
    margin: 0 0 18px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .8px !important;
    line-height: 1.5 !important;
    color: #55545a !important;
}

/* Tendencias */

#search-modal .aromas-search-trends {
    margin-bottom: 38px !important;
}

#search-modal .aromas-search-trend-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

#search-modal .aromas-search-trend {
    padding: 9px 14px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #55545a !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .4px !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    cursor: pointer;
}

#search-modal .aromas-search-trend:hover {
    border-color: #222 !important;
    color: #171717 !important;
}

/* Productos destacados y resultados */

#search-modal .aromas-search-featured,
#search-modal .search-results {
    width: 100% !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#search-modal .aromas-search-featured ul.products,
#search-modal .results-container ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 32px 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#search-modal .aromas-search-featured ul.products > li.product,
#search-modal .results-container ul.products > li.product {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

#search-modal .aromas-search-featured .product-header,
#search-modal .results-container .product-header {
    width: 100%;
    overflow: hidden;
    background: #f3f3f3;
}

#search-modal .aromas-search-featured .product-header img,
#search-modal .results-container .product-header img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#search-modal .aromas-search-featured .woocommerce-loop-product__title,
#search-modal .results-container .woocommerce-loop-product__title {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    letter-spacing: .5px !important;
    text-align: center !important;
}

#search-modal .aromas-search-featured .price,
#search-modal .results-container .price {
    display: block;
    font-size: 12px !important;
    text-align: center !important;
}

/* Resultados AJAX de Sober */

#search-modal .search-results {
    margin-top: 0 !important;
}

#search-modal .search-results .loading {
    padding: 25px 0;
}

/* Ocultar contenido inicial cuando se busca */

#search-modal.aromas-has-term .aromas-search-initial {
    display: none !important;
}

/* Ver más: ancho completo, altura predeterminada de Sober */

#search-modal .view-more-results {
    padding-top: 35px !important;
}

#search-modal .view-more-results .search-results-button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

/* Tablet */

@media (max-width: 1024px) {

    #search-modal .aromas-search-featured ul.products,
    #search-modal .results-container ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 25px 18px !important;
    }

}

/* Móvil */

@media (max-width: 767px) {

    #search-modal .aromas-search-fixed {
        padding: 18px 45px 16px 20px !important;
    }

    #search-modal .aromas-search-close {
        right: 15px !important;
    }

    #search-modal .aromas-search-scroll {
        padding: 24px 18px 40px !important;
    }

    #search-modal .aromas-search-featured ul.products,
    #search-modal .results-container ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 25px 13px !important;
    }

    #search-modal .aromas-search-trend-list {
        gap: 7px !important;
    }

}
















/* ==========================================================
   AROMAS BY BILAL RAHAL
   SOBER - WIDGET DE FILTROS
   ==========================================================
   DISEÑO:
   - Precio: acordeón independiente.
   - Categorías, marcas, género y concentración: Select2.
   - Tipografía unificada con los mega menús.
   - Textos y opciones en mayúsculas.
   - Placeholders recuperados después de AJAX mediante JS.
   - Una sola línea separadora por filtro.
   - Botón Reset Filter: estilos originales de Sober.
   ========================================================== */


/* ----------------------------------------------------------
   01. CONTENEDOR GENERAL
   ---------------------------------------------------------- */

.woocommerce .sober-products-filter-widget {
    width: 100%;
    color: #252525;
    font-family: inherit;
}

.sober-products-filter-widget .products-filter__filters {
    width: 100%;
}


/* ----------------------------------------------------------
   02. ESTRUCTURA Y SEPARADORES
   ---------------------------------------------------------- */

.sober-products-filter-widget .products-filter__filter {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 11px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.sober-products-filter-widget
.products-filter__filter:last-child {
    border-bottom: 0 !important;
}


/* ----------------------------------------------------------
   03. ENCABEZADO DE PRECIO
   ---------------------------------------------------------- */

.sober-products-filter-widget
.products-filter__filter.price
> .products-filter__filter-name {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 2px 30px 2px 0 !important;

    color: #252525;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;
}

/* Flecha */

.sober-products-filter-widget
.products-filter__filter.price
> .products-filter__filter-name::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;

    width: 8px;
    height: 8px;

    border-right: 1.5px solid #777;
    border-bottom: 1.5px solid #777;

    transform: rotate(45deg);
    transition: transform .2s ease, top .2s ease;
}

/* Flecha abierta */

.sober-products-filter-widget
.products-filter__filter.price.aromas-price-open
> .products-filter__filter-name::after {
    top: 9px;
    transform: rotate(225deg);
}


/* ----------------------------------------------------------
   04. ACORDEÓN DE PRECIO
   ---------------------------------------------------------- */

.sober-products-filter-widget
.products-filter__filter.price
> .products-filter__filter-control {
    display: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 17px 5px 7px !important;
}

.sober-products-filter-widget
.products-filter__filter.price.aromas-price-open
> .products-filter__filter-control {
    display: block !important;
}

/* Ocultar título interno de WooCommerce */

.sober-products-filter-widget
.products-filter__filter.price
.widget_price_filter > .widgettitle {
    display: none !important;
}


/* ----------------------------------------------------------
   05. SELECTORES SELECT2
   Categorías, marcas, género y concentración.
   ---------------------------------------------------------- */

/* Ocultar títulos externos de los dropdowns.
   El nombre se muestra dentro del propio selector. */

.sober-products-filter-widget
.products-filter__filter.dropdown
> .products-filter__filter-name {
    display: none !important;
}

/* Mantener controles visibles */

.sober-products-filter-widget
.products-filter__filter.dropdown
> .products-filter__filter-control {
    display: block !important;
    position: static !important;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    overflow: visible !important;
    pointer-events: auto !important;
}

/* Contenedor Select2 */

.sober-products-filter-widget
.products-filter__filter.dropdown
.select2-container {
    display: block;
    width: 100% !important;
    max-width: 100%;
}

/* Campo cerrado */

.sober-products-filter-widget
.select2-container--default
.select2-selection--single {
    height: 39px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

/* Texto del selector:
   Misma tipografía que Perfumes y Marcas. */

.sober-products-filter-widget
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    height: 39px;
    padding: 0 30px 0 0 !important;

    color: #55545a !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 39px !important;
    letter-spacing: 0.7px !important;

    text-transform: uppercase !important;
}

/* Flecha Select2 */

.sober-products-filter-widget
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    top: 7px !important;
    right: 2px !important;
}

/* Enfoque */

.sober-products-filter-widget
.select2-container--default
.select2-selection--single:focus {
    outline: none;
}


/* ----------------------------------------------------------
   06. MENÚ DESPLEGADO SELECT2
   ---------------------------------------------------------- */

.select2-container--default .select2-dropdown {
    border: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.select2-container--default .select2-results__option {
    padding: 10px 13px;

    color: #55545a;
    font-family: inherit;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.5;

    text-transform: uppercase !important;
}

.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background: #252525 !important;
    color: #fff !important;
}

.select2-container--default
.select2-results__option[aria-selected="true"] {
    background: #f2f2f2;
    color: #252525;
}


/* ----------------------------------------------------------
   07. OPCIONES EN FORMATO LISTA
   ---------------------------------------------------------- */

.sober-products-filter-widget
.products-filter__filter-control
ul.products-filter__options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sober-products-filter-widget
.products-filter__options li {
    margin: 0;
    padding: 6px 0;

    color: #55545a;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 1.5;

    text-transform: uppercase;
}

.sober-products-filter-widget
.products-filter__option-name {
    color: #55545a;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: color .2s ease;
}

.sober-products-filter-widget
.products-filter__options li:hover,
.sober-products-filter-widget
.products-filter__options li:hover
.products-filter__option-name {
    color: #171717;
}

.sober-products-filter-widget
.products-filter__option.selected,
.sober-products-filter-widget
.products-filter__option.selected
.products-filter__option-name {
    color: #171717;
    font-weight: 600;
}


/* ----------------------------------------------------------
   08. CONTADORES
   ---------------------------------------------------------- */

.sober-products-filter-widget
.products-filter__count,
.sober-products-filter-widget
.products-filter__option .counter {
    margin-left: 7px;
    color: #999;
    font-family: inherit;
    font-size: 10px;
    font-weight: 400;
}


/* ----------------------------------------------------------
   09. SLIDER DE PRECIO
   ---------------------------------------------------------- */

.sober-products-filter-widget
.price_slider_wrapper {
    width: 100%;
    padding: 10px 5px 0;
}

/* Línea */

.sober-products-filter-widget .ui-slider {
    height: 2px;
    border: 0;
    border-radius: 0;
    background: #dedede;
}

/* Rango seleccionado */

.sober-products-filter-widget
.ui-slider .ui-slider-range {
    border: 0;
    background: #252525;
}

/* Tiradores */

.sober-products-filter-widget
.ui-slider .ui-slider-handle {
    top: -6px;
    width: 14px;
    height: 14px;

    border: 0;
    border-radius: 50%;

    background: #252525;
    cursor: grab;
}

.sober-products-filter-widget
.ui-slider .ui-slider-handle:focus {
    outline: none;
}

/* Valores */

.sober-products-filter-widget
.price_slider_amount {
    margin-top: 17px;
    color: #777;
    font-family: inherit;
    font-size: 12px;
}

.sober-products-filter-widget
.price_label {
    color: #777;
    font-size: 12px;
}


/* ----------------------------------------------------------
   10. FILTROS ACTIVOS
   ---------------------------------------------------------- */

.sober-products-filter-widget
.products-filter__activated {
    margin: 0 0 12px;
    color: #55545a;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.sober-products-filter-widget
.products-filter__activated a {
    display: inline-flex;
    align-items: center;

    margin: 0 7px 7px 0;
    padding: 5px 9px;

    border: 1px solid #e7e7e7;
    border-radius: 0;

    color: #55545a;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;

    text-transform: uppercase;
    transition: all .2s ease;
}

.sober-products-filter-widget
.products-filter__activated a:hover {
    border-color: #252525;
    color: #171717;
}


/* ----------------------------------------------------------
   11. RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .sober-products-filter-widget
    .products-filter__filter {
        padding: 9px 0 !important;
    }

    .sober-products-filter-widget
    .products-filter__filter.price
    > .products-filter__filter-name {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .sober-products-filter-widget
    .select2-container--default
    .select2-selection--single {
        height: 38px !important;
    }

    .sober-products-filter-widget
    .select2-selection__rendered {
        height: 38px;
        font-size: 11px !important;
        font-weight: 500 !important;
        letter-spacing: 0.7px !important;
        line-height: 38px !important;
    }

    .sober-products-filter-widget
    .products-filter__filter.price
    > .products-filter__filter-control {
        padding-top: 14px !important;
    }

}

/* ==========================================================
   FIN DEL WIDGET DE FILTROS AROMAS
   ========================================================== */









/* ==========================================================
   AROMAS — SHOP TOOLBAR
   ========================================================== */

/* ESTRUCTURA GENERAL */

.aromas-toolbar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.aromas-toolbar-left,
.aromas-toolbar-center,
.aromas-toolbar-right {
    display: flex;
    align-items: center;
}

.aromas-toolbar-left {
    justify-content: flex-start;
}

.aromas-toolbar-center {
    justify-content: center;
    text-align: center;
}

.aromas-toolbar-right {
    justify-content: flex-end;
    gap: 18px;
}

/* LISTAS */

.aromas-toolbar-layout ul.toolbar-control {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aromas-toolbar-filter-list {
    justify-content: flex-start;
}

.aromas-toolbar-size-list {
    justify-content: flex-end;
}

/* FILTRO */

.aromas-toolbar-left li.filter {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aromas-toolbar-left .toggle-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px !important;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* PANEL DE FILTROS */

.aromas-toolbar-left .filter-widgets {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: auto !important;
    width: 390px;
    max-width: calc(100vw - 32px);
    min-width: 0;
    z-index: 1600;
}

/* CONTADOR */

.aromas-toolbar-center .woocommerce-result-count,
.aromas-toolbar-center .woocommerce-result-count__count {
    margin: 0;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 3.6px !important;
    line-height: 1.5;
    text-transform: uppercase !important;
    color: #777;
}

/* MODIFICADORES DE COLUMNAS */

.aromas-toolbar-right .product-size {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 0;
}

/* ORDENAMIENTO */

.aromas-toolbar-right .woocommerce-ordering {
    display: block;
    position: relative;
    margin: 0;
    padding-left: 18px;
    border-left: 1px solid #dedede;
}

.aromas-toolbar-right .woocommerce-ordering .select2-container {
    display: inline-block;
}

.aromas-toolbar-right .woocommerce-ordering .select2-selection__rendered {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.7px !important;
    text-transform: uppercase !important;
}

/* OPCIONES SELECT2 */

.select2-container .select2-results__option {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* ==========================================================
   TABLET Y MÓVIL
   ========================================================== */

@media (max-width: 991px) {

    .aromas-toolbar-layout {
        grid-template-columns: 1fr auto;
        min-height: 70px;
        padding: 15px 0;
    }

    /* Ocultar contador */

    .aromas-toolbar-center {
        display: none !important;
    }

    /* Ocultar cuadrículas */

    .aromas-toolbar-right .aromas-toolbar-size-list,
    .aromas-toolbar-right .product-size {
        display: none !important;
    }

    /* Mostrar ordenamiento */

    .aromas-toolbar-right {
        display: flex !important;
        justify-content: flex-end;
        gap: 0;
    }

    .aromas-toolbar-right .woocommerce-ordering {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        max-width: 160px;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .aromas-toolbar-right .woocommerce-ordering .select2-container {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        min-width: 125px;
        max-width: 155px;
    }

    /* Panel de filtros */

    .aromas-toolbar-left .filter-widgets {
        left: 0 !important;
        right: auto !important;
        top: calc(100% + 12px) !important;
        width: 390px;
        max-width: calc(100vw - 32px);
    }

}


/* ==========================================================
   AROMAS — CORRECCIÓN FINAL DE SHOP TOOLBAR
   ========================================================== */

/* Evitar que Sober aplique flotaciones originales */

.aromas-toolbar-left,
.aromas-toolbar-center,
.aromas-toolbar-right {
    float: none !important;
    min-width: 0;
}

.aromas-toolbar-left .toolbar-control,
.aromas-toolbar-right .toolbar-control {
    float: none !important;
    width: auto !important;
}

.aromas-toolbar-left li.filter,
.aromas-toolbar-right li.product-size {
    float: none !important;
    margin: 0 !important;
}

/* ==========================================================
   MÓVIL
   ========================================================== */

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

    .shop-toolbar .aromas-toolbar-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* FILTROS SIEMPRE A LA IZQUIERDA */

    .shop-toolbar .aromas-toolbar-left {
        display: flex !important;
        justify-content: flex-start !important;
        order: 1 !important;
    }

    .shop-toolbar .aromas-toolbar-left .toolbar-control {
        display: flex !important;
        justify-content: flex-start !important;
    }

    .shop-toolbar .aromas-toolbar-left li.filter {
        display: block !important;
        float: none !important;
    }

    /* OCULTAR CONTADOR */

    .shop-toolbar .aromas-toolbar-center {
        display: none !important;
    }

    /* OCULTAR CUADRÍCULAS */

    .shop-toolbar .aromas-toolbar-right .aromas-toolbar-size-list,
    .shop-toolbar .aromas-toolbar-right li.product-size {
        display: none !important;
    }

    /* ORDENAR SIEMPRE A LA DERECHA */

    .shop-toolbar .aromas-toolbar-right {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        order: 2 !important;
        width: auto !important;
        float: none !important;
    }

    .shop-toolbar .aromas-toolbar-right .woocommerce-ordering {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: auto !important;
        max-width: 160px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        float: none !important;
    }

    .shop-toolbar .aromas-toolbar-right .woocommerce-ordering .select2-container {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        min-width: 125px !important;
        max-width: 155px !important;
    }

}