/*
 Theme Name:   Orenoptica
 Description:  Tema personalizado para OrenÓptica
 Author:       Grupo Raíz
 Template:     techmarket
 Version:      0.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  ornoptica
*/

#secondary .widget.icono-widget .widget-title {
    display: block;
    margin-left:  10px;
}

/* Links color */
a { color: #0275d8; }
.footer-widgets a { color: #0275d8 !important; }

/* Remove borders in products grid */
body .section-products-tabs .products .product+.product::after {
    display: none;
}

.products .product:hover .onsale {
    display: block !important;
}

.navbar-search .input-group .form-control:active,
.navbar-search .input-group .form-control:focus,
.navbar-search .input-group .form-control:hover {
    z-index: 2;
}

.no-registration-form {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.single-product .single-product-meta {
    display: none;
}

.single-product .woocommerce-tabs .wc-tabs {
    margin-bottom: 0;
    padding: 0 40px;
}

.single-product .woocommerce-tabs .wc-tabs li.active a {
    padding: 1em 0;
}

#tab-specification .tm-shop-attributes-detail {
    padding: 40px;
}

/* FIX:  En móvil las secciones de background de la portada */
@media (max-width: 520px) {
    .col-2-full-width-banner .banner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-2-full-width-banner .banner .banner-bg {
        height: 375px !important;
        background-size: contain !important;
        background-position: top left !important;
    }

    .col-2-full-width-banner .banner .banner-bg .caption h3 {
        font-size: 3em;
    }

    .home-v9-full-banner.full-width-banner .banner-bg {
        height: 390px !important;
    }

    .custom-logo {
        width: 70% !important;
        margin-bottom: 6px;
    }

    body.kc-css-system .kc-css-982430.kc_title, body.kc-css-system .kc-css-982430 .kc_title, body.kc-css-system .kc-css-982430 .kc_title a.kc_title_link {
        overflow-wrap: normal;
        font-size: 2.75em !important;
    }
}

@media (min-width: 520px) {
    .no-registration-form {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
}

@media screen and (max-width: 767px) {
    body .products {
        margin: 0 -10px;
    }

    .products:not(.slick-slider) .product,
    .products:not(.slick-initialized) .product {
        margin: 5px !important;
        flex-basis: 0 0 calc(50% - 10px) !important;
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
    }

    .section-products-tabs .section-header ul.nav {
        overflow: auto !important;
    }
}

@media (min-width: 767px) {
    .no-registration-form {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media screen and (max-width: 992px) {
    .yith-wcwl-add-to-wishlist {
        display: block !important;
    }
}

@media screen and (min-width: 992px) {
    .no-registration-form {
        flex: 0 0 41.6666666667% !important;
        max-width: 41.6666666667% !important;
    }

    .site-header .header-payment-bizum {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .site-header .header-payment-bizum img {
        height: 45px;
        width: auto;
        margin-left: 1.7em;
    }
}

@media screen and (max-width: 1024px) {
    .site-header .handheld-header .site-search .navbar-search .clear-btn {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        position: absolute;
        top: 8px;
        right: 12px;
        color: rgba(0,0,0,.3);
        cursor: pointer;
        z-index: 3;
    }

    .site-header .handheld-header .header-payment-bizum img {
        display: inline-block;
        height: 40px;
        width: auto;
        margin: -10px 0;
    }
}

@media screen and (min-width: 1024px) {
    .no-registration-form {
        flex: 0 0 33.3333333333% !important;
        max-width: 33.3333333333% !important;
    }
}

@media screen and (min-width: 1169px) {
    .yith-wcwl-add-to-wishlist .add_to_wishlist::before,
    .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
    .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
        left: 14px !important;
        right: auto !important;
    }
}

@media screen and (min-width: 1200px) {
    .footer-widgets {
        display: block !important;
    }

    .footer-widgets .columns,
    .wdiget-odd {
        display: block !important;
        max-width: 100% !important;
        width: 100%;
    }
}

@media (min-width: 1200px) and (max-width: 1589px) {
    .site-header .header-payment-bizum {
        margin-bottom: 0;
    }

    .site-header .header-payment-bizum img {
        margin-left: 1em;
    }
}

@media (min-width: 1590px) {
    .site-header .header-payment-bizum {
        margin-bottom: 0;
    }

    .site-header .header-payment-bizum img {
        margin-left: 2em;
    }
}
