/*

 Theme Name:   Impreza child
 Theme URI:    https://impreza.us-themes.com/
 Description:  Impreza child theme
 Author:       Rodanet
 Author URI:   https://rodanet.com/
 Template:     Impreza
 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:  Impreza-child
*/

/* Flechas custom en los acordeones tipo FAQ */
.faq-acordeon .w-tabs-section-header:after,.sp-easy-accordion .ea-header a:after {
    display: block;
    content: "";
    right: 0;
    width: 1.2rem;
    height: 1.2rem;
    position: absolute;
    margin-right: 1rem;
    background: url(/wp-content/uploads/2023/01/arrow-down.svg);
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform .2s;
}

.sp-easy-accordion { max-width: 60rem; margin-left: auto; margin-right: auto; border-bottom: 1px solid #fff; }
.sp-easy-accordion .sp-ea-single { border-radius: 0; margin-bottom: 0 !important; border-bottom: none !important; }
.sp-easy-accordion .sp-ea-single:last-child { border-bottom: 1px solid #ffffff !important; }
.sp-easy-accordion .ea-header a { position: relative; padding: 1rem 2.5rem !important; }
.sp-easy-accordion .ea-header a:after { top: 1rem; }

.sp-easy-accordion .ea-body { text-align: left; padding: 2rem !important; border-top: solid 1px #fff !important; }

.faq-acordeon .w-tabs-section-header.active:after, .sp-easy-accordion .ea-expand a:after {
    transform: rotate(-90deg);
}

/* ACORDEÓN FICHA PRODUCTO */
.faq-acordeon.positive .w-tabs-section {
    border-bottom: solid 1px #D3D3D3 !important;
}

.faq-acordeon.positive .w-tabs-section .w-tabs-section-header {
    text-transform: uppercase;
}

/* ICONOS PÁGINA CONTACTO */
.contact-icons .w-iconbox-icon { height: 5rem; }

/* OCULTA UN TÍTULO VACÍO DEL WIDGET DE MAILJET */
#mailjet-widget-title-wrap { display: none; }

/* BOTÓN DE ENLACE DE ANALÍTICAS */
.analitica-link a { display: block; padding: 0.8rem 0.5rem; }

/* VARIACIONES ATRIBUTOS EN FICHA PRODUCTOS */
.variable-items-wrapper li {
    width: 5rem !important;
    height: 4rem !important;
}

table.variations>tbody>tr>th.label {
    width: 100% !important;
    display: block;
}
table.variations>tbody>tr>td.value {
    width: 100%;
    display: block;
    margin-left: -2px;
}

.variations ul[role=radiogroup] li {
    border-radius: 0 !important;
}

.variations ul[role=radiogroup] li.selected {
    background: #000 !important;
    color: #fff !important;
}

/* VARIACIONES ATRIBUTOS EN CATEGORÍAS */

.product-list-attributes .w-post-elm-before {
    display: none;
}

.woocommerce-product-attributes-item__value {
    text-align: center;
}

.attribute-value {
    display: inline-block;
    min-width: 3.8rem;
    font-weight: 600;
    font-size: .9rem;
    border: solid 1px #000;
    margin-left: 4px;
    margin-bottom: 5px;
    padding: 5px 4px;
    line-height: 2;
    text-align: center;
    transition: .2s;
    border-radius: 20px;
}
.attribute-value:hover {
    background: #000;
    color: #fff;
}
.attribute-value:hover .pricepergram {
    color: #fff;
}

.lista-atributos { text-align: center; }

/* TÍTULO SELECTOR ATRIBUTOS */
.variations .label label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* SELECTOR DE CANTIDAD */
.quantity input.input-text.qty {
    background: #fff;
    box-shadow: inset 0 0 0 1px #000000;
}

/* TEXTO "DESDE" EN FICHA PRODUCTO */
.precio-desde .w-post-elm-before {
    color: #000000;
}

/* BOTÓN AÑADIR AL CARRITO */
.single_add_to_cart_button {
    padding: 17px !important;
    width: 70%;
    max-width: 20rem;
}

/* ESTILO VISUALIZADOR IMÁGENES WOOCOMMERCE FICHA PRODUCTO */
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    box-shadow: 3px 3px 16px 0px #8080804f;
}

.woocommerce-product-gallery > figure.woocommerce-product-gallery__wrapper {
    width: 100%;
}
.woocommerce-product-gallery > figure.woocommerce-product-gallery__wrapper img {
    margin: 0 auto;
}

.linea-media:before {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #000;
}

.product-sheet-price.listing {
    text-align: center;
}

/* FILTROS COGOLLOS  */
.term-cogollos .w-filter-item-values > div:nth-child(1) { order: 2; }
.term-cogollos .w-filter-item-values > div:nth-child(2) { order: 1; }
.term-cogollos .w-filter-item-values > div:nth-child(3) { order: 3; }
.term-cogollos .w-filter-item-values > div:nth-child(4) { order: 4; }

/* OPINIONES HOME */
.comillas p:before { content: '“'; }
.comillas p:after { content: '”'; }

/* HOME SELLO */
.sello-home { text-align: right; }
.sello-home img { max-width: 8rem; margin-top: -1rem; }


/* PRECIOS B2B */
/*.b2bking_b2b_user .variable-items-wrapper li span,*/
/*.b2bking_b2b_user .woocommerce-product-attributes-item__value .attribute-value { filter: blur(4px); }*/
/*.single-product.b2bking_b2b_user .precio_desde .w-post-elm-value { text-shadow: 0 0 8px #333333; }*/


/*.b2bking_b2b_user .precio_desde .w-post-elm-value,*/
/*.b2bking_b2b_user .precio .w-post-elm-value { color: transparent; text-shadow: 0 0 4px #333333; }*/

/*.b2bking_b2b_user .variable-items-wrapper li span.ready,*/
/*.b2bking_b2b_user .woocommerce-product-attributes-item__value .attribute-value.ready  { filter: blur(0px) !important; }*/


/*.b2bking_b2b_user .precio_desde .w-post-elm-value.ready,*/
/*.b2bking_b2b_user .precio .w-post-elm-value.ready { color: #333333; text-shadow: none !important; }*/

.b2b-listing-prices,
.listing-precio-b2b,
.listing-precio-desde-b2b,
.precio_desde_b2b,
.precio_b2b { display: none; }

/* CONDICIONES B2B */
.conditions-b2b { display: none !important; }
.b2bking_b2b_user .conditions-b2b { display: block !important; }
.b2bking_b2b_user .conditions-particulares { display: none !important; }

/* OCULTAR SECCIÓN PUNTOS DE PANEL DE USUARIO PARA B2Bs */
.b2bking_b2b_user .woocommerce-MyAccount-navigation-link--store-credit,
.b2bking_b2b_user #acfw-store-credits-my-account {
    display: none !important;
}

/* Ocultar sección Puntos de panel de usuario */
.woocommerce-MyAccount-navigation-link--store-credit,
#acfw-store-credits-my-account {
    display: none !important;
}

/* OCULTAR APARTADO SUITCOINS PARA B2B */
.b2bking_b2b_user .woocommerce-MyAccount-navigation-link--suitcoins {
    display: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    width: 100%;
    display: block;
    color: #000;
    border-bottom: solid 1px #ecd6a4;
}

    /* CHECKOUT */
.wc_payment_methods li>input:checked + label {
    color: #000;
}

.variable-item-contents .pricepergram {
    display: block;
    font-size: 13px;
    line-height: 14px;
    margin-bottom: 7px;
}

.attribute-value .pricepergram {
    display: block;
    font-size: 10px;
    line-height: 14px;
    margin-bottom: 5px;
    color: #6e6e6e;
}

.us-woo-cart_compact .woocommerce .shop_table.cart {
    width: 100% !important;
}

/*.woocommerce-cart-form {*/
/*    width: 65%;*/
/*    float: left;*/
/*}*/

.woocommerce-cart #page-content .l-section-h {
    display: flex;
    justify-content: space-between;
}

.woocommerce-cart #page-content .woocommerce {
    flex: 1;
    margin-right: 60px;
}

.woocommerce-cart #page-content .l-section-h .cart-collaterals {
    width: 500px;
}

.newsletter-form {
    color: #fff;
}

/* LOYALTY POINTS */

.b2bking_b2b_user .lws-wr-pointsoncart {
  display: none;
}

.cart-collaterals.cross-sells {
    width: 100% !important;
    padding-top: 0;
}

.lwss_selectable.lws-wr-cart {
    border: none !important;
}

.lwss_selectable.wr-cart-use-label {
    padding: 0 10px 0 0;
}

.lwss_selectable.wr-cart-buttons {
    margin-top: 1rem;
}
.lwss_selectable.lws-wr-pointsoncart {
    padding: 2rem;
    background: #f5f5f5;
}
.lws-wr-pointsoncart > h2 {
    color: #000;
    font-size: 1.8rem;
}

/* VERIFICADOR DE EDAD */
.avwp-av h2 {
    font-size: 2rem;
    color: #000;
}
.avwp-av .yes {
    background: #c0b283 !important;
}
.avwp-av .yes, .avwp-av .no {
    margin-top: 2rem;
}

/* ENLACES SUBCATEGORÍAS */
.subcategorias .w-grid-list {
    text-align: center;
}

.subcategorias .w-grid-list>div {
    display: inline-block;
    margin-right: 2rem;
}
.subcategorias .w-grid-list>div:last-child {
    margin-right: 0;
}

/* TIMELINE QUIENES SOMOS */
.cms-content .title { text-align: center; margin-bottom: 6rem; margin-top: 6rem; }
.cms-content h1 { font-size: 5rem; }
.cms-content h2 { font-size: 4rem; margin-top: 12rem !important; }
.cms-content p { font-size: 15px; line-height: 3rem; margin-bottom: 3rem; }
.cms-content .col-md-6 > img.img-fluid { min-height: 385px; object-fit: cover; }
.cms-content .text-contained { display: block; margin: 0 auto 9rem auto; max-width: 65rem; text-align: center; }
.empleado { min-height: 650px; }

.timeline { position: relative; padding: 0; list-style: none; }
.timeline:before { position: absolute; top: 0; bottom: 0; left: 40px; width: 2px; margin-left: 4.5px; content: ""; background-color: #e9ecef; }
.timeline > li { position: relative; min-height: 50px; margin-bottom: 50px; list-style: none; }
.timeline > li:after, .timeline > li:before { display: table; content: " "; }
.timeline > li:after { clear: both; }
.timeline > li .timeline-panel { position: relative; float: right; width: 100%; padding: 0 20px 0 100px; text-align: left; }
.timeline > li .timeline-panel:before { right: auto; left: -15px; border-right-width: 15px; border-left-width: 0; }
.timeline > li .timeline-panel:after { right: auto; left: -14px; border-right-width: 14px; border-left-width: 0; }
.timeline > li .timeline-image { position: absolute; z-index: 100; left: 0; width: 80px; height: 80px; margin: 0; text-align: center; color: white; border: 7px solid #e9ecef; border-radius: 100%; background-color: #3d3d3d; }
#cms #center_column img { margin: 0; }
.timeline > li .timeline-image img { border-radius: 50%!important; }
.timeline > li .timeline-image h4 { font-size: 10px; line-height: 14px; margin-top: 12px; }
.timeline > li.timeline-inverted > .timeline-panel { float: right; padding: 0 20px 0 100px; text-align: left; }
.timeline > li.timeline-inverted > .timeline-panel:before { right: auto; left: -15px; border-right-width: 15px; border-left-width: 0; }
.timeline > li.timeline-inverted > .timeline-panel:after { right: auto; left: -14px; border-right-width: 14px; border-left-width: 0; }
.timeline > li:last-child { margin-bottom: 0; }
.timeline .timeline-heading h4 { margin-top: 0; color: inherit; line-height: 1rem; }
.timeline .timeline-heading h4.subheading { text-transform: uppercase;  color: #151515;  line-height: 3rem; }
.timeline .timeline-body > ul, .timeline .timeline-body > p {margin-bottom: 0; }

@media (min-width: 768px) {
    .timeline:before { left: 50%; }
    .timeline > li { min-height: 100px; margin-bottom: 100px; }
    .timeline > li .timeline-panel { float: left; width: 41%; padding: 0 20px 20px 30px; text-align: right; }
    .timeline > li .timeline-image { left: 50%; width: 100px; height: 100px; margin-left: -50px; }
    .timeline > li .timeline-image h4 { font-size: 13px; line-height: 18px; margin-top: 16px; }
    .timeline > li.timeline-inverted > .timeline-panel { float: right; padding: 0 30px 20px 20px; text-align: left; }
}
@media (min-width: 992px) {
    .timeline > li { min-height: 150px; }
    .timeline > li .timeline-panel { padding: 0 20px 20px; }
    .timeline > li .timeline-image { width: 150px; height: 150px; margin-left: -75px; }
    .timeline > li .timeline-image h4 { font-size: 18px; line-height: 26px; margin-top: 30px; }
    .timeline > li.timeline-inverted > .timeline-panel { padding: 0 20px 20px; }
}
@media (min-width: 1200px) {
    .timeline > li { min-height: 170px; }
    .timeline > li .timeline-panel { padding: 0 20px 20px 100px; }
    .timeline > li .timeline-image { width: 170px; height: 170px; margin-left: -85px; }
    .timeline > li .timeline-image h4 { margin-top: 40px; }
    .timeline > li.timeline-inverted > .timeline-panel { padding: 0 100px 20px 20px; }
}

/* MEDIA QUERIES */

@media only screen and (max-width : 991px) {
    .product-data > .vc_col-sm-6 { width: 100%; }

    /* OPINIONES 1 FILA EN TABLET-MOBILE */
    .home-opiniones { flex-wrap: wrap; }
    .home-opiniones .imagen-opinion>div { max-width: 10rem; margin: 0 auto; }

    .woocommerce-cart-form {
        width: 100%;
        float: none;
    }

    .woocommerce-cart #page-content .l-section-h {
        flex-direction: column;
    }

    .woocommerce-cart #page-content .woocommerce,
    .woocommerce-cart #page-content .cart-collaterals {
        width: 100% !important;
        margin-right: 0;
    }

}

@media only screen and (max-width: 600px) {
    /* FONDO MÁS BLANCO FORM NEWSLETTER FOOTER */
    /*.newsletter-footer > div:first-child { background: rgba(255,255,255,.6) !important; }*/
    /* OCULTAR EL BACKGROUND IMAGE EN MOBILE */
    .mobile-remove-bg > div:first-child {
        background-image: unset !important;
    }

    /* FAQ TÍTULOS */
    .sp-easy-accordion .sp-ea-single .ea-header a {
        font-size: 1rem;
    }

    .sp-easy-accordion .ea-header a {
        padding: .8rem 2.5rem .8rem 1.5rem !important;
    }

    /* SUITCOINS */
    .lwss_selectable.lws-wr-pointsoncart {
        margin-top: 3rem;
    }

    .lwss_selectable.wr-cart-input {
        flex-direction: column;
        max-width: 100%;
    }

    .lwss_selectable.wr-cart-buttons {
        flex-direction: column;
        max-width: 100%;
    }
}

