body{
    font-family: "Inter", sans-serif;
}

@media(max-width:1023px) {
    body, #header, #content, #footer{
        overflow-x: hidden !important;
        max-width: 100dvw !important;
        width: 100dvw !important;
    }
}

#content .elementor-widget-text-editor .elementor-text-editor p,#content .elementor-widget-text-editor .elementor-text-editor li,#content .elementor-widget-icon-list .elementor-icon-list-text{
    font-family: Inter;
    font-size: 18px !important;
    line-height: 26px !important;
}

.page-header{
    display: none;
}

#profileUrl{
    width: 100% !important;
}

.listado-categorias-subcategorias .ce-image-gallery .ce-gallery-item:nth-child(n+9){
    display:none;
}

.footer-nicolas-benito a, .migas-de-pan a, .contacto-nicolas-benito a{
    color:black;
}

.ce-product-meta__value{
    color: #BEBEBE;
}

.carrousel-marcas-home .swiper-wrapper{
    justify-content: space-around;
    
}

.ce-filters__tab{
    background: rgba(250, 170, 0, 0.10);
    color: var(--Textos, #000);
    font-family: Inter;
    font-size: 18px;
    padding: 20px !important;
    margin:10px 0px !important;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.elementor-field-subgroup.ce-scrollbar-y--auto{
    padding: 0px 20px;
}

.elementor-field-subgroup.ce-scrollbar-y--auto span{
    color: var(--Textos, #000);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin:5px 0px;
}

.ce-dual-range{
    --ce-range-thumb-border-color:black;
    --ce-range-active-color:black;
}

.ce-dual-range__selected{
    background: black;
}

body.category-id-2 .tienda-principal{
    display:block;
}

body.category-id-2 .tienda-secundaria{
    display:none;
}

body:not(.category-id-2) .tienda-principal{
    display:none;
}

body:not(.category-id-2) .tienda-secundaria{
    display:block;
}


/* CSS MEGA MENU */
.menu-item.menu-item-type-account span, .menu-item.menu-item-type-account ul{
    display:none;
}

nav.elementor-nav--dropdown.elementor-nav__container {
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    z-index: 9999;
    overflow: visible !important;
    margin-top: 0px !important;
    padding: 0;
}

.elementor-nav--dropdown ul.elementor-nav, 
.elementor-nav--dropdown ul.elementor-nav .sub-menu {
    width: 400px !important;
    background-color: white !important;
    box-shadow: 4px 0 15px rgba(0,0,0,0.15) !important;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.elementor-nav--dropdown[aria-hidden="true"] {
    display: none;
}

.elementor-nav--dropdown .elementor-nav--dropdown[aria-hidden="false"] {
    display: block;
}

.elementor-nav--dropdown .elementor-nav > li,
.elementor-nav--dropdown .sub-menu > li {
    border-bottom: 1px solid #f0f0f0;
    position: relative; 
}

.elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav--dropdown a{
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.elementor-nav--dropdown .elementor-nav > li > a,
.elementor-nav--dropdown .sub-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-family: "Inter", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400;
    background-color: white !important;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.elementor-nav--dropdown .elementor-nav > li > a:hover,
.elementor-nav--dropdown .sub-menu > li > a:hover,
.elementor-nav--dropdown li > a.active-link {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    font-weight: 600;
}

.elementor-nav--dropdown .sub-arrow {
    pointer-events: none !important;
}

.elementor-nav--dropdown .elementor-nav .sub-menu {
    position: absolute;
    top: 0;
    left: 100% !important; 
    height: auto !important;
    min-height: 100%;
    background: white;
    z-index: 10000;
    display: none;
    border-left: 1px solid #e0e0e0;
}

.elementor-nav--dropdown .elementor-nav .sub-menu.active {
    display: block !important;
}

.elementor-nav--dropdown .sub-menu::before {
    content: attr(data-title) !important;
    display: block !important;
    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #000 !important;
    padding: 25px 20px 15px 20px;
    background-color: #fff;
    line-height: 1.2;
    text-align: left;
    border-bottom: 2px solid black !important;
}

.elementor-nav--dropdown .sub-menu[data-title=""]::before {
    display: none !important;
}

.elementor-nav--dropdown .sub-menu.sm-nowrap {
    margin-left: 0 !important;
    margin-top: 0 !important;
    max-width: none !important;
}

/* Nivel 2 de submenú: panel lateral a la derecha (3 paneles visibles) */
@media (min-width: 1024px) {
    /* El primer sub-menu NO puede tener overflow:auto, recortaría el 3er panel */
    .elementor-nav--dropdown .elementor-nav > li > .sub-menu {
        overflow: visible !important;
        max-height: none !important;
        min-height: auto !important;
    }

    /* Los li con hijos en el 2º panel: static para que el submenú se alinee arriba */
    .elementor-nav--dropdown .sub-menu > li.menu-item-has-children {
        position: static !important;
    }

    /* El 2º submenú se abre como panel lateral a la derecha, alineado arriba */
    .elementor-nav--dropdown .elementor-nav .sub-menu .sub-menu {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        width: 400px !important;
        min-height: auto !important;
        max-height: calc(100vh - 220px) !important;
        overflow-y: auto !important;
        background: white !important;
        box-shadow: 4px 0 15px rgba(0,0,0,0.15) !important;
        border-left: 1px solid #e0e0e0 !important;
        border-top: none !important;
    }

    /* Restaurar estilos de items del 3er panel */
    .elementor-nav--dropdown .sub-menu .sub-menu > li > a {
        padding-left: 20px !important;
        font-size: 18px !important;
        background-color: white !important;
    }

    .elementor-nav--dropdown .sub-menu .sub-menu > li > a:hover,
    .elementor-nav--dropdown .sub-menu .sub-menu > li > a.active-link {
        background-color: #f5f5f5 !important;
    }

    /* Ocultar completamente los submenús de nivel 4+ (depth 3+) */
    .elementor-nav--dropdown .sub-menu .sub-menu .sub-menu {
        display: none !important;
    }

    /* Ocultar flechas en items del 3er panel (no despliegan nada) */
    .elementor-nav--dropdown .sub-menu .sub-menu > li.menu-item-has-children .sub-arrow {
        display: none !important;
    }

    .elementor-nav--dropdown .sub-menu .sub-menu > li.menu-item-has-children > a::after {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    body.mobile-menu-open {
        overflow: hidden !important;
    }
    
    .elementor-nav--dropdown.elementor-nav__container,
    nav.elementor-nav--dropdown.elementor-nav__container[style] {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: auto !important;
        height: auto !important;
        background-color: white !important;
        z-index: 999999 !important;
        margin: 0 !important;
        padding: 60px 0 20px 0 !important;
        transform: none !important;
        transition: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-shadow: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    body .elementor-nav--dropdown.elementor-nav__container[aria-hidden="false"],
    .elementor-nav--dropdown.elementor-nav__container.mobile-menu-open {
        display: block !important;
    }
    
    .mobile-menu-close {
        position: fixed;
        top: 7px;
        right: 20px;
        font-size: 20px;
        color: #000;
        cursor: pointer;
        z-index: 1000000;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        border: none;
        border-radius: 50%;
        transition: background-color 0.2s;
        padding: 0;
        font-family: Arial, sans-serif;
        line-height: 1;
        border: 1px solid #000;
    }
    
    .mobile-menu-close:hover {
        background-color: #f0f0f0;
    }
    
    .mobile-menu-close:active {
        background-color: #e0e0e0;
    }
    
    .elementor-menu-toggle {
        position: relative !important;
        z-index: 100 !important;
    }
    
    .elementor-nav--dropdown ul.elementor-nav {
        width: 100% !important;
        box-shadow: none !important;
        background-color: white !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0px !important;
    }
    
    .elementor-nav--dropdown .sub-arrow.ceicon-angle-right {
        display: none !important;
    }
    
    .elementor-nav--dropdown .elementor-nav > li {
        border-bottom: 1px solid #f0f0f0 !important;
        width: 100%;
    }
    
    .elementor-nav--dropdown .elementor-nav > li > a {
        width: 100%;
        padding: 18px 20px !important;
        font-size: 16px !important;
        position: relative;
        display: block !important;
    }
    
    .elementor-nav--dropdown .elementor-nav > li.menu-item-has-children > a {
        padding-right: 60px !important;
    }
    
    .elementor-nav--dropdown .elementor-nav > li.menu-item-has-children > a::after {
        content: '›';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        transition: transform 0.3s ease;
        pointer-events: none;
        color: #000;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .elementor-nav--dropdown .elementor-nav > li.menu-item-has-children > a.active-link::after {
        transform: translateY(-50%) rotate(90deg);
    }
    
    .elementor-nav--dropdown .elementor-nav .sub-menu {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border-left: none !important;
        background-color: #f9f9f9 !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease;
    }
    
    .elementor-nav--dropdown .elementor-nav .sub-menu.active {
        max-height: 3000px !important;
        display: block !important;
    }
    
    .elementor-nav--dropdown .sub-menu::before {
        display: none !important;
    }
    
    .elementor-nav--dropdown .sub-menu > li {
        border-bottom: 1px solid #e8e8e8 !important;
        background-color: #f9f9f9 !important;
    }
    
    .elementor-nav--dropdown .sub-menu > li:last-child {
        border-bottom: none !important;
    }
    
    .elementor-nav--dropdown .sub-menu > li > a {
        padding: 14px 20px 14px 50px !important;
        font-size: 15px !important;
        background-color: #f9f9f9 !important;
    }
    
    .elementor-nav--dropdown .sub-menu > li > a:hover,
    .elementor-nav--dropdown .sub-menu > li > a.active-link {
        background-color: #efefef !important;
    }
    
    .elementor-nav--dropdown .sub-menu .sub-menu {
        background-color: #f2f2f2 !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease;
    }
    
    .elementor-nav--dropdown .sub-menu .sub-menu.active {
        max-height: 3000px !important;
        display: block !important;
    }
    
    .elementor-nav--dropdown .sub-menu .sub-menu > li > a {
        padding: 14px 20px 14px 80px !important;
        font-size: 14px !important;
        background-color: #f2f2f2 !important;
    }
    
    .elementor-nav--dropdown .sub-menu .sub-menu > li > a:hover,
    .elementor-nav--dropdown .sub-menu .sub-menu > li > a.active-link {
        background-color: #e8e8e8 !important;
    }
    
    .elementor-nav--dropdown .sub-menu > li.menu-item-has-children > a::after {
        content: '›';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        transition: transform 0.3s ease;
        pointer-events: none;
        color: #000;
    }
    
    .elementor-nav--dropdown .sub-menu > li.menu-item-has-children > a.active-link::after {
        transform: translateY(-50%) rotate(90deg);
    }
    
    .elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav--dropdown a {
        padding: 18px 20px !important;
    }
    
    .elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav--dropdown .sub-menu > li > a {
        padding: 14px 20px 14px 40px !important;
    }

    .elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav--dropdown .sub-menu > li > ul.sub-menu > li > a {
        padding: 14px 20px 14px 60px !important;
    }

    .elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav--dropdown .sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
        padding: 14px 20px 14px 80px !important;
    }

    .elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav__container.elementor-nav--dropdown{
        margin-top: 0px !important;
        height: 100% !important;
        max-height: 100% !important;
    }

    .elementor-nav--dropdown ul.elementor-nav, 
    .elementor-nav--dropdown ul.elementor-nav .sub-menu{
        width: 100% !important;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .elementor-nav--dropdown ul.elementor-nav,
    .elementor-nav--dropdown ul.elementor-nav .sub-menu {
        width: 300px !important;
    }

    .elementor-nav--dropdown .elementor-nav > li > a,
    .elementor-nav--dropdown .sub-menu > li > a {
        font-size: 15px !important;
        padding: 12px 15px !important;
    }

    /* 3er panel más estrecho en pantallas pequeñas */
    .elementor-nav--dropdown .elementor-nav .sub-menu .sub-menu {
        width: 300px !important;
    }

    .elementor-1170101 .elementor-element.elementor-element-4099049 .elementor-nav__container.elementor-nav--dropdown{
        margin-top: 0px !important;
        height: 100% !important;
        max-height: 100% !important;
    }
}

.ce-filters__clear a{
    background-color: #000000;
    color: white;
}

/* CSS ETIQUETA DESCUENTO DINAMICO */

.ce-product-badge-sale-percentage {
    font-size: 0;
    position: relative;
}

.ce-product-badge-sale-percentage::before {
    font-size: 14px;
    font-weight: bold;
    display: block;
}

.ce-product-meta__value:hover{
    color:black;
}

.page-category .elementor-widget-heading a[href="#decripcion"]{
    display:none;
}

/* CSS PARA TEMPLATE DE PRODUCTO */

.ce-product-meta__value{
    color: black;
}

.precio-template .ce-product-prices,.precio-template .ce-product-prices .ce-product-price.ce-has-discount{
    flex-direction: row-reverse;
}

.precio-template .ce-product-prices .ce-product-price.ce-has-discount{
    gap: 10px;
}

#product .ce-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    gap: 10px;
    flex-direction: row;
}

.ce-product-price.ce-has-discount {
    order: 1;
}

.ce-product-price-regular {
    order: 2;
    text-decoration: line-through;
    color: #888;
}

.ce-tax-shipping-delivery-label {
    order: 3;
    font-size: 12px !important;
    font-weight: 400;
    margin-bottom: 0px !important;
}

.tabs {
    margin-bottom: 2rem;
}

.nav-tabs {
    display: flex;
    gap: 0;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    background-color: white !important;
    flex-wrap: wrap;
}

.nav-item {
    margin-right: 20px;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
}

.nav-item:last-child {
    border-right: 1px solid #000 !important;
}

.nav-link {
    color: #000000 !important;
    background-color: #ffffff !important;
    font-weight: 600;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.nav-link.active {
    color: #ffffff !important;
    background-color: #000000 !important;
    border: none;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

#checkout-personal-information-step .nav-item{
    border-top: 0px solid #000 !important;
    border-left: 0px solid #000 !important;
    border-right: 0px solid #000 !important;
}

#checkout-personal-information-step .nav-link.active {
    padding:15px !important;
}

.tab-content {
    background-color: #ffffff !important;
    border: 1px solid #000 !important;
    border-top: none;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
    display: block !important;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block !important;
}

.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover{
    border: none;
}

@media (max-width: 767px) {
    .product-container .tabs {
        margin-bottom: 1rem;
    }
    
    .product-container .tabs .nav-tabs {
        flex-direction: column;
        gap: 0;
        width: 100%;
        border: 1px solid #000;
        margin-bottom: 0 !important;
    }
    
    .product-container .tabs .nav-item {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        border: none !important;
        border-bottom: 1px solid #000 !important;
        width: 100%;
    }
    
    .product-container .tabs .nav-item:last-child {
        border-bottom: none !important;
    }
    
    .product-container .tabs .nav-link {
        width: 100%;
        text-align: left;
        padding: 15px 50px 15px 20px;
        position: relative;
        cursor: pointer;
        border: none !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    
    .product-container .tabs .nav-link::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        font-weight: 400;
        color: #000000;
        transition: all 0.3s ease;
    }
    
    .product-container .tabs .nav-link.active::after {
        content: '−';
        color: #ffffff;
    }
    
    .product-container .tabs .nav-link.active {
        background-color: #000000 !important;
        color: #ffffff !important;
        text-align: left;
    }
    
    .product-container .tabs .tab-content {
        border: 1px solid #000;
        border-top: none;
        padding: 20px;
        display: none !important;
        margin-top: 0;
    }
    
    .product-container .tabs .tab-content.show {
        display: block !important;
    }
    
    .product-container .tabs .tab-content .tab-pane {
        display: none !important;
    }
    
    .product-container .tabs .tab-content .tab-pane.active {
        display: block !important;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-item {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .tab-content {
        padding: 1.5rem;
    }

    .elementor-grid-4 .elementor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }    
}

#lgcomment .lgcomment_button.btn.btn-primary{
    background-color: black;
    color: white;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

#form_review_popup a{
    color:#000000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}


/*CSS CONTACT FORM */

.wpcf7.hook h3{
    display: none;
}

.wpcf7.hook br{
    height: 10px !important;
}

.campo-form, .campo-form-mensaje{
    background: #F5F5F5 !important;
    color: var(--Textos, #000) !important;
    font-family: 'Inter' !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    height: 50px !important;
}

.wpcf7 .form-control{
    margin:0px !important
}

.wpcf7-form-control.wpcf7-submit{
    border-radius: 5px !important;
    border: 1px solid #FFF !important;
    background: var(--Textos, #000) !important;
    color: var(--Blanco, #FFF) !important;
    font-family: 'Inter' !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    text-transform: capitalize !important;
    padding:10px 40px !important;
}

.wpcf7-acceptance a{
    color:#000;
}

.form-control:focus{
    border-color: #000 !important;
    outline: none !important;
}

.acceptance{
    margin-top:20px !important;
}

.flex-form{
    display:flex !important;
    flex-direction: row !important;
    gap:20px !important;
}

/* CSS PROFESIONAL */
.columna-entera .elementor-widget-image, .columna-entera .elementor-widget-image .elementor-widget-container, .columna-entera .elementor-widget-image .elementor-widget-container, .columna-entera .elementor-widget-image .elementor-widget-container .elementor-image ,.columna-entera .elementor-widget-image .elementor-widget-container img{
    height: 100%;
}

/* CSS MODAL CARRITO */

.btn-primary, .btn-primary:hover{
    background-color: black !important;
    border-color: black !important;
}

#blockcart-modal .product-name{
    color:black !important;
}

/* CSS BANDA CATEGORIAS PERSONALIZADA */

.ets-block-title{
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

.ets-block-content{
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
}

.ets-block-content a{
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
}

/* CSS CARRITO Y CHECKOUT */

#cart .discount.discount-percentage{
    margin-inline-start: 10px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    background-color: #FAAA00;
    border-color: #FAAA00;
}

#cart .price{
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FA0000;
}

#cart .item-product, #checkout .item-product{
    display: none;
}

#checkout .product-price.float-xs-right{
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: black;
}

#checkout .cart-summary-line.cart-total .value, #cart .cart-summary-line.cart-total .value{
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
}

body#checkout section.checkout-step.-reachable.-current .step-number{
    color:#000000;
    background-color: #FAAA00;
}

#checkout .js-show-details:hover, #checkout .product-name a:hover, #cart .product-line-info a:hover{
    color: #FAAA00;
}

.ce-load-more.elementor-button.elementor-size-sm{
    background-color: black !important;
    border-color: black !important;
    color: white !important;
}

.ce-load-more.elementor-button.elementor-size-sm:hover{
    background-color: #FAAA00 !important;
    border-color: #FAAA00 !important;
    color: black !important;
}

body#checkout section.checkout-step .delivery-options .delivery-option label .carrier:not(.carrier-hasLogo)>.col-xs-12{
    padding-left: 0px !important;
}

/* CSS AJUSTE TARJETAS PRODUCTOS POST REVIEW */

.elementor-4170101 .elementor-element.elementor-element-59512af > .elementor-container{
    min-height:250px !important;
}

.titulo-miniatura {
  min-height: 80px;    
}

.titulo-miniatura a {
  /*text-transform: lowercase;*/
  display: inline-block;
}

.titulo-miniatura a::first-letter {
  /*text-transform: uppercase;*/
}

.miniatura-contenido .elementor-container.elementor-column-gap-default{
    min-height: 250px !important;
}

/* CSS AJUSTE TEMPLATE PRODUCTO */
.precio-template .elementor-widget-container{
    overflow: visible
}

.enlace-profesional .elementor-icon-list-text{
    text-decoration: underline;
}

.ce-product-description-short,
.ce-product-description-short * {
    font-family: 'Inter' !important;
    font-size: inherit !important;
    background-color: transparent !important;
    vertical-align: baseline !important;
    color:black !important;
}

.ce-product-description-short,
.ce-product-description-short * {
    font-family: 'Inter' !important;
    font-size: inherit !important;
    background-color: transparent !important;
    vertical-align: baseline !important;
    color:black !important;
}

.product-description,
.product-description * {
    font-family: 'Inter' !important;
    font-size: inherit !important;
    background-color: transparent !important;
    vertical-align: baseline !important;
    color:black !important;
}

.product-description span[style],
.ce-product-description-short span[style] {
    font-family: 'Inter' !important;
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-decoration: inherit !important;
    color:black !important;
}

.product-description ul,
.ce-product-description-short ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin: 1em 0 !important;
    color:black !important;
}

.product-description ul li,
.ce-product-description-short ul li {
    list-style-type: disc !important;
    margin-bottom: 0.5em !important;
    color:black !important;
}

.product-description ol,
.ce-product-description-short ol {
    list-style-type: decimal !important;
    padding-left: 20px !important;
    margin: 1em 0 !important;
    color:black !important;
}

.product-description p,
.ce-product-description-short p {
    line-height: 1.6 !important;
    margin-bottom: 1em !important;
    color:black !important;
}

.contacto-diseno .elementor-icon-list-items{
    margin-bottom:0px !important;
    margin-top:10px !important;
}

#product-comments-list-header, #empty-product-comment, #product-comments-list, #product-comments-list-footer, #update-comment-usefulness-post-error, #report-comment-confirmation, #report-comment-posted, #post-product-comment-modal#report-comment-post-error, #product-comment-posted-modal, #product-comment-post-error{
    display: none !important;
}

.btn-primary-prodquestions, .btn-success-custom, .btn-success-custom:hover, .btn-success-custom:focus{
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
}

#add-question-form .title-rev{
    color: #000000 !important;
}

#question-form .button.btn-custom.btn.btn-primary{
    background-color: transparent !important;
    padding: 0px !important;
    text-decoration: underline !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;

} 


#question-form .button.btn-custom.btn.btn-primary:hover{
    color:#000000 !important;
}

@media (max-width: 850px) {
    .elementor-widget-product-block .nav.nav-tabs{
        display: flex !important;
        flex-direction: column !important;
    }

    .elementor-widget-product-block .nav.nav-tabs .nav-item{
        margin:0px !important;
        text-align: center !important;
    }
}

/* CSS AJUSTES HOME */

.menu-item.menu-item-type-account.menu-item-account-0.menu-item-has-children .elementor-item.has-submenu{
    padding:0px !important;
}

.elementor-widget-shopping-cart .elementor-cart__toggle .elementor-button.elementor-size-sm{
    padding:0px !important;
    padding-left:10px !important;
}

.e-loop__load-more.elementor-button-wrapper .elementor-button.elementor-size-sm:hover .elementor-button-text{
    color:black !important;
}

.wp-singular  .elementor-widget-theme-post-content a{
    color:#FAAA00 !important;
}

.wp-singular .elementor-widget-theme-post-content a:hover{
    color:black !important;
}

.miniatura-precio-sin-descuento .ce-product-prices > .ce-product-price-regular {
    margin-bottom: 0px !important;
}

.product-energy-label-image-only img {
    width: 100px;
}

.lista-iconos-profesionales ul {
    margin-bottom: 0px !important;
}

.btn-aniadir a.elementor-button:not([href]) .elementor-button-text::before {
    content: "Agotado" !important;
    font-size: 18px;
    font-weight: 700;    
}

.btn-aniadir a.elementor-button:not([href]) .elementor-button-text {
    font-size: 0px !important;
    line-height: 0px !important;
}

.bundle-container .bundle-images .bundle-image-item {
    margin-bottom: 10px;
    border: solid 1px #ddd;
}

.bundle-container .bundle-actions {
    margin-top: 20px;
}

.bundle-container .bundle-actions #bundle-total-price-display {
    font-family: "Inter", sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #000000;
}

.bundle-container .bundle-actions #add_all_accessories_to_cart {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    background-color: #000000;
    cursor: pointer;
    padding: 12px 24px;
    border: 0 solid;
    border-radius: 3px;    
}

.bundle-container .bundle-actions #add_all_accessories_to_cart:hover {
    background-color: #FAAA00;
}

.bundle-container .bundle-list-item {
    color: #FAAA00;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.bundle-container .bundle-list-item a {
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.bundle-container .bundle-list-item a+span.price {
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-left: 10px;
}

.elementor-cart__toggle .elementor-button-icon > svg {
    width: 34px;
    padding-top: 5px;
}

.elementor-widget-product-block .tabs {
    margin: 0px 0px 2rem !important;
    padding: 0px !important;
}

/*.tienda-secundaria .nbscg__actions {
    text-align: left;
}*/

.tienda-secundaria .nbscg {
    margin: 0px
}
@media (max-width: 1024px) {
    .submenu-head.is-really-sticky {
        top: 70px !important;
    }
            .submenu-head.elementor-sticky--active {
        top: 70px !important;
    }
}

@media (min-width: 768px) {

    /*.tienda-secundaria .nbscg__grid {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .tienda-secundaria .nbscg__grid .nbscg__item {
        flex: 0 0 165px; 
        width: 165px;    
    }*/
    
}

@media (max-width: 767px) {

    .soy-el-logo_nb {
        max-width: 300px;
    }

    .elementor-widget-listing-products article .elementor-widget-wrap,
    .elementor-widget-product-carousel article .elementor-widget-wrap {
        flex-direction: row !important;
        align-content: flex-start !important;
        gap: 10px !important;
    }

    .elementor-widget-listing-products article .elementor-widget-wrap > .elementor-widget-image,
    .elementor-widget-product-carousel article .elementor-widget-wrap > .elementor-widget-image {
        width: calc(50% - 5px) !important;
    }    

    .elementor-widget-listing-products article .elementor-widget-wrap > .miniatura-contenido,
    .elementor-widget-product-carousel article .elementor-widget-wrap > .miniatura-contenido {
        width: calc(50% - 5px) !important;
    }

    .elementor-widget-listing-products article .elementor-widget-wrap > .elementor-widget-image > .elementor-widget-container,
    .elementor-widget-product-carousel .elementor-widget-wrap > .elementor-widget-image > .elementor-widget-container {
        display: flex;
        align-content: center;
        flex-wrap: wrap;        
    }

    .bundle-container {
        padding: 20px 10px;
    }

    .bundle-container .bundle-images .bundle-image-item {
        margin: 0px 0px 10px !important;
    }

    .bundle-image-item img {
        max-width: 50px;
    }

    .bundle-container .bundle-list-item {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: space-between;
    }

    .bundle-container .bundle-list-item,
    .bundle-container .bundle-list-item a {
        font-size: 14px;
        width: 100%;        
    }

    .bundle-container .bundle-list-item a+span.price {
        font-size: 16px;
    }

}

@media (max-width: 540px) {

    .miniatura-contenido .ce-product-meta__detail.ce-product-meta__category, 
    .miniatura-contenido .ce-product-meta__detail.ce-product-meta__category a {
        font-size: 14px;
    }

    .miniatura-contenido h3.ce-product-name.elementor-heading-title {
        font-size: 18px !important;
        line-height: 22px !important;
    }

    .miniatura-contenido a.elementor-button {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }

    .btn-aniadir a.elementor-button:not([href]) .elementor-button-text::before {
        font-size: 16px !important;       
    }

    .badge-commercial {
        padding: 5px 10px;
        font-size: 10px;        
    }

}

@media (max-width: 480px) {

    .miniatura-contenido .ce-product-meta__detail.ce-product-meta__category, 
    .miniatura-contenido .ce-product-meta__detail.ce-product-meta__category a {
        font-size: 14px;
    }

    .miniatura-contenido h3.ce-product-name.elementor-heading-title {
        font-size: 16px !important;
        line-height: 20px !important;
    }

    .miniatura-contenido a.elementor-button {
        font-size: 14px !important;
    }

    .btn-aniadir a.elementor-button:not([href]) .elementor-button-text::before {
        font-size: 14px !important;       
    }

    .badge-commercial {
        font-size: 14px;        
    }

    .ce-product-prices {
        font-size: 22px !important;
    }

    .ce-has-discount {
        font-size: 22px !important;
    }



}




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

    .btn-aniadir a.elementor-button {
        font-size: 14px !important;
        padding: 12px 12px !important;
    }   

    .btn-aniadir a.elementor-button:not([href]) .elementor-button-text::before {
        font-size: 14px !important;  
    }

}

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

    .bundle-image-item img {
        max-width: 100px;
    }


}

@media (min-width: 1024px) and (max-width: 1366px) {

    .titulo-miniatura {
        min-height: 102px;    
    }

    .btn-aniadir a.elementor-button {
        font-size: 14px !important;
        padding: 12px 12px !important;
    }

    .btn-aniadir a.elementor-button:not([href]) .elementor-button-text::before {
        font-size: 14px !important;  
    }

    .listado-categorias-subcategorias .ce-image-gallery {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    nav.ce-breadcrumb .ce-breadcrumb__item {
        font-size: 13px !important;
    }

    .ce-breadcrumb .ce-breadcrumb__item>* {
        padding: 0 6px !important;
    }

    section#contacto {
        padding: 30px 2% 30px 2% !important;
    }

    #footer p {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    #footer .col_logos img {
        max-width: 60px;
    }

    .elementor-grid-4 .elementor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* Ocultamos SOLO el título generado por data-title cuando exista la nueva cabecera */
.sub-menu.has-custom-header::before {
    content: none !important;
}

/* Cabecera nueva respetando el estilo original */
.sub-menu.has-custom-header .submenu-custom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0px;
    border-bottom: 2px solid #000;
    background: #fff;
    line-height: 1.2;
}

/* Título con el mismo aspecto */
.sub-menu.has-custom-header .submenu-custom-title {
    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #000 !important;
    padding: 15px 20px 15px 20px;
    background-color: #fff;
    line-height: 1.2;
    text-align: left;
}

/* Enlace Ver todo al lado */
.sub-menu.has-custom-header .submenu-view-all {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    padding-top: 15px !important;
}

.sub-menu.has-custom-header .submenu-view-all:hover {
    text-decoration: underline !important;
}

#texto-secundario.elementor-widget-shortcode p {
    font-family: "Inter", sans-serif;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

#texto-secundario.elementor-widget-shortcode h2 {
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

#texto-secundario.elementor-widget-shortcode h3 {
    font-family: "Inter", sans-serif;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;   
}

.nbscg__button:hover {
    background: #000;
    color: #fff;
}

.category-block-content {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.category-block-content a {
    font-family: "Inter", sans-serif;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.category-block-content a:hover {
    color: #FAAA00;
}

#texto-secundario a,
.elementor-widget-listing-description a,
.elementor-widget-category-additional-description a {
    color: #000;
    text-decoration: underline;
}

#texto-secundario a:hover,
.elementor-widget-listing-description a:hover,
.elementor-widget-category-additional-description a:hover {
    color: #FAAA00;   
}

#texto-secundario li {
    list-style: disc inside;
    line-height: 20px;
}

#texto-secundario h2 span,
#texto-secundario h3 span {
    font-weight: 700 !important;
}

.elementor-widget-listing-pagination {
    text-align: center;
}

.elementor-widget-listing-pagination a.ce-load-more.elementor-button.elementor-size-sm {
    padding: 12px 22px !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 0px !important;
}
    
.elementor-widget-listing-pagination a.ce-load-more.elementor-button.elementor-size-sm:hover {
    background: #000 !important;
    color: #fff !important;    
}

.elementor-widget-listing-pagination a span.elementor-button-icon {
    display: none !important;
}

#checkout #wrapper .row,
#cart #wrapper .row {
    margin: 0px;
}

#checkout #wrapper .row #content-wrapper,
#cart #wrapper .row #content-wrapper {
    padding-left: 0px;
    padding-right: 0px;
}

body#checkout #footer,
body#cart #footer {
    padding: 0px;
}

/*#blockcart-modal > div > div > div.modal-body > div > div.col-md-7 > div > p:nth-child(3),#cart #cart-subtotal-shipping{
    display: none !important;
}*/
#cart .cart-summary-line.cart-total .value{
    color: #000 !important;
}
#checkout .form-control-comment{
display: none !important;
}
#checkout input{
    margin-bottom: 10px !important;
}

.tab-content .product-manufacturer img {
    max-width: 170px;
}
.manufacturerswall-image-wrapper img{
        object-fit: cover;
}

  .sub-menu > li.menu-item-has-children {
      position: static !important;
  }

  .sub-menu > li > ul.sub-menu {
      position: absolute !important;
      top: 0 !important;
      left: 100% !important;
  }

  .elementor-element-4099049 .elementor-nav > li.menu-item-has-children {
      position: static !important;
  }


  .elementor-element-4099049 .elementor-nav > li > ul.sub-menu {
      top: 0 !important;
      left: 100% !important;
  }

  .manufacturerswall-image-wrapper img {
    object-fit: none !important;
    max-width: 170px !important;
    max-height: 170px !important;
}

@media (max-width: 500px) {
    .manufacturerswall-image-wrapper img {
        object-fit: cover !important;
    }
}

.card-block.cart-summary-totals .cart-summary-line {
    padding: 0;
}

.card-block > .card-block.cart-summary-subtotals-container {
    padding: 0px;
}

#cart-summary-product-list .media-list .media > .media-left {
    display: none;
}

#customer-form .form-informations {
    padding-left: 15px;
    padding-right: 15px;
}

.elementor-sticky.elementor-sticky--active.section_logo-buscador-mas > .elementor-container {
    min-height: 70px !important;
}

.elementor-sticky:not(.elementor-sticky--active) .soy-el-logo_nb {
    display: block;
}

.elementor-sticky:not(.elementor-sticky--active) .soy-el-logo_nb-peque {
    display: none;
}

.elementor-sticky--active .soy-el-logo_nb-peque {
    display: block !important;
}

.elementor-sticky--active .soy-el-logo_nb {
    display: none;
}

@media (max-width: 767px) {

    .elementor-nav--dropdown .menu-item a.elementor-item-active:not(#e) {
        color: #000 !important;
    }

    .sub-menu.has-custom-header .submenu-custom-title {
        display: none !important;
    }

    .sub-menu.has-custom-header .submenu-custom-header {
        justify-content: flex-end;
        border-bottom: solid 1px #cccc;
    }
    

    .sub-menu.has-custom-header .submenu-custom-header a.submenu-view-all {
        padding: 5px 20px !important;
    }

    .nbscg__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }


}

@media (max-width: 480px) {

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



}

body.category-id-2 .migas-pan_categoria .migas-de-pan {
    display: none;
}

.nbscg__image {
    height: 100% !important;
}

html {
  scroll-behavior: smooth;
}

#diseno::before {
  content: "";
  display: block;
  height: 150px;
  margin-top: -150px;
  visibility: hidden;
  pointer-events: none;
}

.migas-de-pan {
    margin-top: 10px !important;
}

.migas-de-pan .ce-breadcrumb__item {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #000 !important;
}

section.tienda-secundaria:has(.elementor-widget-wrap:empty) {
  display: none !important;
}

.ce-product-badge-sale {
    margin-bottom: -5px !important;
}

.elementor-widget-product-block.pestanias-producto .nav.nav-tabs > .nav-item {
    margin-right: 0px !important;
}

.elementor-widget-product-block.pestanias-producto .nav.nav-tabs > .nav-item > a:focus,
.elementor-widget-product-block.pestanias-producto .nav.nav-tabs > .nav-item > a:focus-visible {
    outline: none !important;
}

.field-password-policy .btn,
#login-form .btn {
    background-color: black !important;
    border-color: black !important;    
    padding: .5rem 1.25rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    max-height: 38px !important;
}
