/*
Theme Name: Storefront Child
Theme URI: https://woocommerce.com/storefront/
Template: storefront
Author: Automattic
Author URI: https://woocommerce.com/
Description: Storefront is the perfect theme for your next WooCommerce project.
Version: 2.5.3.1579807217
Updated: 2020-01-23 19:20:17
*/

/* ==========================================================================
   1. EFECTES D'IMATGES I PRODUCTES
   ========================================================================== */
.woocommerce ul.products .product img {
    transition: all .5s ease;
}

.woocommerce ul.products .product img:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Evitar l'efecte hover a les miniatures del producte */
.kalasandra-producto-img .kalasandra-img:hover {
    -ms-transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
}

.kalasandra-producto-img {
    display: block !important;
    overflow: auto !important;
    margin: 10px 0 !important;
    width: 100 !important;
}

.kalasandra-producto-img .kalasandra-img {
    float: left !important;
    margin-bottom: 10px !important;
    width: 30% !important;
}

.kalasandra-producto-img .kalasandra-img:nth-child(2) {
    margin: 0 5% !important;
}

.coupon-cart {
    margin-bottom: 1em;
}

.psfw-price {
    text-align: center !important;
}

/* Ocultar elements a la pàgina de Checkout per neteja visual */
.woocommerce-checkout .storefront-primary-navigation,
.woocommerce-checkout .secondary-navigation, 
.woocommerce-checkout .site-search,
.woocommerce-checkout footer.site-footer {
    display: none !important;
}

/* ==========================================================================
   2. PEU DE PÀGINA (FOOTER)
   ========================================================================== */
footer .widget .widget-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    color: #8ed4cc !important;
    font-size: 1.1em;
    text-transform: uppercase;
    padding-bottom: 1px !important;
    margin-bottom: 1px !important;
}

footer .footer-widgets {
    padding-top: 1px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

footer .widget_text {
    margin-bottom: 10px !important;
}

footer .widget_nav_menu,
#woocommerce_product_categories-5 {
    margin-bottom: 1px !important;
}

footer ul.menu li.current-menu-item > a {
    color: white;
    margin-top: 0 !important;
}

.site-footer a:not(.button):not(.components-button) {
    text-decoration: none !important;
}

.site-footer a:not(.button):not(.components-button):hover {
    text-decoration: underline !important;
}

footer .widget_product_categories .cat-item::before,
footer .menu .menu-item::before,
footer .menu-item-has-children ul {
    display: none !important;
}

.site-info {
    background-color: #8ed4cc;
    padding: 6px 0;
    color: #595959;
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 0;
}

/* ==========================================================================
   3. PESTANYES DE PRODUCTE HORITZONTALS (DESKTOP)
   ========================================================================== */
@media only screen and (min-width: 640px) {
    .product .woocommerce-tabs ul.tabs {
        width: 100%;
        float: none;
        margin-right: 5.8823529412%;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        list-style: none;
        padding: 0;
        margin: 0 0 1.618em;
        overflow: hidden;
        position: relative;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs::before {
        position: absolute;
        content: ' ';
        width: 100%;
        bottom: 0;
        left: 0;
        z-index: 1;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        border: 1px solid #d3ced2;
        border-radius: 4px 4px 0 0;
        display: inline-block;
        position: relative;
        z-index: 0;
        padding: 0 1em;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
        z-index: 2;
        border-bottom-color: #777;
        background-color: #ebe9eb;
        border: 1px solid #555;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li::after,
    .woocommerce div.product .woocommerce-tabs ul.tabs li::before {
        border: 1px solid #d3ced2;
        position: absolute;
        bottom: -1px;
        width: 0;
        height: 0;
        content: ' ';
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li::before {
        left: -6px;
        border-bottom-right-radius: 4px;
        border-width: 0 1px 1px 0;
        box-shadow: 2px 2px 0 #ebe9eb;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
        box-shadow: 2px 2px 0 #fff;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
        right: -6px;
        border-bottom-left-radius: 4px;
        border-width: 0 0 1px 1px;
        box-shadow: -2px 2px 0 #ebe9eb;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
        box-shadow: -2px 2px 0 #fff;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        display: inline-block;
        padding: .5em 0;
        color: #515151;
        text-decoration: none;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
        color: inherit;
        text-shadow: inherit;
        font-weight: bold;
    }

    .woocommerce .wc-tabs li a:focus, .ui-state-focus:focus { 
        outline: none !important; 
    }

    .ui-tabs-anchor:active, .ui-tabs-anchor:focus {
        outline: none;
    }

    .product .woocommerce-tabs .panel {
        width: 100%;
    }
}

#tab-additional_information h2 {
    display: none;
}

/* ==========================================================================
   4. CONFIGURACIONS DIVERSES (LOGIN, BOTONS, SINDICACIÓ)
   ========================================================================== */
h3.bb-login-subtitle, h3.bb-register-subtitle {
    font-weight: bold;
    color: #8ed4cc;
    font-style: italic;
}

p.bb-login-description {
    font-style: italic;
    margin-bottom: 71px;
}

p.bb-register-description {
    font-style: italic;
}

.single_add_to_cart_button::before {
    margin-right: 10px;
}

.onsale {
    background-color: #4cae4c;
    color: white;
    border: none;
    font-size: 1.2em;
}

.save-amount {
    color: #333;
    font-size: 1em;
    font-weight: 700;
    padding: .3em 1em;
    border: none;
    margin-top: .5em;
    display: inline-block;
}

.save-amount .amount {
    color: #333;
    font-size: 1em;
    font-weight: normal;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    padding-top: 1px !important;
}

.woocommerce-checkout p.woocommerce-invalid-required-field span.error {
    color: #ff2a00;
    display: block !important;
    font-weight: bold;
}

.payment_box.payment_method_paypal p:nth-of-type(2) {
    font-weight: bold;
    font-style: italic;
    color: #ff2a00;
}

.woocommerce-Tabs-panel > .related.products h3 {
    text-align: center;
}

@media (min-width: 768px) {
    .secondary-navigation ul.menu > li.menu-item-has-children > a:after {
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        line-height: inherit;
        vertical-align: baseline;
        content: "\f107";
        margin-left: 0.5em;
    }
}

li.wpml-ls-menu-item ul li a {
    width: auto;
}

#masthead {
    margin-bottom: 20px !important;
}

.site-header {
    padding-top: 0;
}

#masthead.site-header {
    padding-bottom: 0;
}

.menu-top1-container {
    margin-top: 0;
}

/* GESTIÓ RESPONSIVA DEL TOP BAR (ORDINADOR VS MÒBIL) */
@media (max-width: 779px) {
    .menu-top1-container,
    .menu-top1-catalan-container,
    .menu-top1-spanish-container {
        display: none !important;
    }
}

.info-bar {
    text-align: center;
    background: #428bca;
    font-weight: bold;
    color: white;
    border: 2px solid red;
    border-radius: 8px;
    font-size: 15px;
}

.info-bar span {
    padding-left: 1% !important;
}