/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/

/*RESPONSIVE*/
@media screen and (max-width: 767px){
    .registration-sky-customer .ur-button-container, .registration-sky-customer .ur-button-container .ur-submit-button {
        width: 100% !important;
    }
    .woocommerce-checkout #place_order{
        width: 100%;
        padding-block: 30px;
        border-radius: 45px;
    }
    .woocommerce-cart .woocommerce .woocommerce-cart-form__contents {
        margin-block-end: 50px;
    }
    .section-product-sky .vc_tta-tabs .vc_active .vc_tta-panel-title {
        background: #d9d9d9;
    }
    .inner-row-qty-price-sky {
        gap: 10px;
    }
    .custom-attribute-card:first-child {
        margin-top: 0;
    }
    .custom-attribute-card {
        margin-top: 10px;
    }
    .section-product-sky .vcex-divider {
        margin-bottom: 30px;
    }
    .custom-attribute-card {
        display: flex;
        align-items: center;
        gap: .5em;
        flex-wrap: nowrap;
        border: 2px solid #d9d9d9;
        padding: 3px 12px;
        border-radius: 30px;
    }
    .attr-text {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        align-items: center;
        line-height: 1;
    }
    .attr-icon {
        line-height: 0;
    }
    .attr-label {
        font-weight: 500;
    }
    .col-gallery-image-product-custom > .vc_column-inner, 
    .inner-row-cta-wishlist-addtocart > .wpb_column > .vc_column-inner{
        margin-bottom: 0;
    }
    .section-product-sky .vcex-divider {
        margin-bottom: 30px;
    }
    .section-product-sky .woocommerce-product-gallery ol.flex-control-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .vc_section{
        padding-block: 50px;
    }
    .pre-footer-section .vcex-icon-box .vcex-icon-box-image {
        width: 70px;
    }
}
@media screen and (max-width: 1023px){
     .woocommerce-cart .woocommerce {
        gap: 2em;
    }
    .registration-sky-customer {
        padding: 50px 15px !important;
    }
    .pre-footer-section .vcex-flex-container > .vcex-icon-box {
        background: #e6e6e6;
        padding: 10px;
        border-radius: 30px;
    }
    #header-mobile-sky .vcex-off-canvas-menu__toggle-label {
        position: absolute;
        bottom: 11px;
        line-height: 1;
        font-size: 12px;
        font-weight: 700;
    }
    #header-mobile-sky .vcex-shortcode .wpex-cart-link__items {
        color: #000;
        line-height: 1;
    }
    #header-mobile-sky .vcex-shortcode .wpex-cart-link__icon {
        margin-inline-end: 5px;
    }
    #header-mobile-sky{
        padding-block: 5px;
    }
}
@media screen and (min-width: 768px){
    .pre-footer-section .vcex-icon-box .vcex-icon-box-image {
        width: 90px;
    }
    .section-product-sky .vcex-divider {
        margin-bottom: 1.5em;
    }
    .align-text-price-right{
        text-align: right;
    }
	.vc_section {
		padding-block-start: 75px;
		padding-block-end: 35px;
	}
    .custom-attribute-card {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 16px;
    }
    .attr-text {
        display: flex;
        gap: 5px;
        line-height: 1;
    }
    .attr-icon {
        line-height: 0;
    }
    .attr-label {
        font-weight: 500;
    }
    .custom-attributes-grid-product {
        display: inline-flex;
        border: 2px solid #D9D9D9;
        gap: .75em;
        flex-wrap: wrap;
        border-radius: 3em;
        padding-inline: 20px;
        padding-block: 8px;
    }
    .separator-attr-custom {
        width: 2px;
        background: #d9d9d9;
        height: 15px;
    }
    .separator-attr-custom:last-child {
        display: none;
    }
    .yith-wcwl-add-to-wishlist-button{
        padding: .75em 1.75em !important;
    }
}
@media screen and (min-width: 960px) {
    .section-product-sky {
        padding-top: 0;
    }
    .col-gallery-image-product-custom {
        max-width: 38%;
    }
    .col-content-product-custom {
        width: 48%;
    }
    .row-product-details-sky {
        flex-wrap: nowrap !important;
        gap: 10%;
    }
}
@media screen and (min-width: 1024px){
    .pre-footer-section > .vc_row:first-child {
        background-color: #E6E6E6;
        padding-block: 20px;
        border-radius: 100px;
        padding-inline-start: 0px;
        padding-inline-end: 20px;
    }
    .woocommerce-cart .woocommerce {
        gap: 0;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1499px){
    .col-button-valorizzazione .theme-button {
        font-size: 17px;
    }
}

/**/
.width-auto-button {
    width: auto !important;
}
.no-padd-bottom{
	padding-block-end: 0 !important
}
.no-padd-top{
	padding-block-start: 0 !important;
}
.theme-button {
    background: #0037FF linear-gradient(90deg, #0037FF 0%, #00A4FF 100%);
    transition: all .2s;
}
.vcex-button{
	width: 250px;
}
.theme-button .vcex-button-inner {
    justify-content: space-between;
}
.theme-button:hover {
    background: #fff;
}
.vcex-button-inner .vcex-button-icon {
    line-height: 0;
}

/*HEADER*/
#header-mobile-sky .wpex-cart-link__count {
    background: #00a4ff;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.row-part-under-mobile-header .vcex-icon-box-symbol {
    margin-bottom: 0;
    line-height: 0;
}
.row-part-under-mobile-header .vcex-icon-box-symbol .vcex-icon-box-icon {
    background: #d6d6d6;
    padding: 15px;
    border-radius: 100%;
}
.row-part-under-mobile-header .vcex-icon-box-heading {
    margin-bottom: 0;
}
.wpex-off-canvas__footer {
    padding: 20px;
}
.wrap-icon-header-sky .wpex-cart-link__icon {
    margin-right: 0;
}
.wrap-icon-header-sky .wpex-cart-link__items {
    line-height: 1;
    background: #d6d6d6;
    color: #525252;
    position: relative;
    width: 56px;
    height: 56px;
    justify-content: center;
    border-radius: 100%;
    transition: all .2s ease-in-out;
}
.wrap-icon-header-sky .wpex-cart-link__items:hover {
    background: #525252;
    color: #fff;
}
.wrap-icon-header-sky .wpex-cart-link__items .wpex-cart-link__count {
    position: absolute;
    right: -7px;
    top: -10px;
    background: #00a4ff;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrap-icon-header-sky .wpex-cart-link__icon .wpex-icon {
    font-size: 34px;
    line-height: 0;
}
.topbar-custom .vcex-list-item-inner {
    flex-direction: row-reverse;
}
.topbar-custom .vcex-button:hover {
    border-color: #fff !important;
}
.topbar-custom .vcex-list-item-icon-inner {
    vertical-align: middle;
}
.middle-header-custom {
    padding-block: 25px;
}
.logo-desktop img {
    width: 270px;
}
.middle-header-custom .vcex-icon {
    line-height: 1;
}
.wrap-icon-header-sky .vcex-icon span.wpex-icon {
    background: #d6d6d6;
    border-radius: 100%;
    padding: 10px;
    font-size: 36px;
    line-height: 0;
    color: #525252;
    transition: all .2s ease-in-out;
}
.wrap-icon-header-sky .vcex-icon span.wpex-icon:hover {
    background: #525252;
    color: #fff;
}
.middle-header-custom .vcex-searchbar-form {
    background: #fff;
    padding: 5px;
    border-radius: 60px;
    box-shadow: 0 2px 10px 0 #dbdbdb;
}
.middle-header-custom .vcex-searchbar-form .vcex-searchbar-input {
    border: none;
    border-radius: 60px;
}
.middle-header-custom .vcex-searchbar-form .vcex-searchbar-button {
    padding: 15px;
}
.middle-header-custom .vcex-searchbar-form .vcex-searchbar-button .vcex-icon {
    line-height: 1;
}


/* FOOTER */
.section-footer-custom .vcex-navbar-inner {
    gap: .5em;
}
.pre-footer-section .vcex-icon-box {
    align-items: center;
}
.subfooter-copyright {
    padding-block: 10px;
}
.section-footer-custom .vcex-heading {
    margin-bottom: 20px;
}

/*HOMEPAGE*/
.section-materiali {
    background: #3D60C6;
    background: linear-gradient(90deg, rgba(61, 96, 198, 1) 0%, rgba(9, 22, 51, 1) 100%);
}

/*PAGINE VARIE*/
.button-slider-home .vcex-button .vcex-button-icon .wpex-icon {
    width: 21px;
}
.button-slider-home .vcex-button {
    font-size: 18px !important;
    width: 170px;
}
.section-bestseller-materiali .vcex-teaser-media img {
    border-radius: 30px;
	transform: scale(1);
	opacity: 1;
	transition: all .2s ease-in-out;
}
.section-bestseller-materiali .vcex-teaser-media {
    overflow: hidden;
    border-radius: 30px;
}
.section-bestseller-materiali .vcex-teaser-media img:hover {
    transform: scale(1.2);
    opacity: .5;
}
.section-bestseller-materiali .vcex-teaser-media a {
    display: block;
    background: #0037ff;
}
.section-visibilita .vcex-image-banner {
    border-radius: 30px;
}
.card-archive-product-sky .vcex-heading{
    margin-bottom: 0;
}

/*TEMPLATE SINGLE PRODUCT*/
.yith-wcwl-add-to-wishlist-button{
    font-size: 21px !important;
}
.section-product-sky .yith-wcwl-add-to-wishlist-button, .section-product-sky .yith-add-to-wishlist-button-block, 
.section-product-sky form.cart .single_add_to_cart_button, .section-product-sky .wpex-woocommerce-product-qty-btn-wrapper{
    width: 100%;
}
.section-product-sky .wc-block-components-notice-banner {
    margin-block-start: 20px;
}
.up-sells>h2, .cross-sells>h2, .related.products>h2 {
    text-align: center;
    font-size: 37px;
    margin-bottom: 40px;
}
.subtitle-single-product {
    color: #525252;
}
.section-product-sky .trail-end {
    font-weight: 500;
}
.section-product-sky .woocommerce-product-gallery .flex-viewport, 
.section-product-sky .woocommerce-product-gallery .wp-post-image, 
.col-gallery-image-product-custom .woocommerce-product-gallery__image {
    border-radius: 15px;
}
.section-product-sky .woocommerce-product-gallery .flex-control-thumbs li img{
    border-radius: 15px;
    border: 2px solid #D9D9D9;
}
.section-product-sky .price del {
    font-size: 24px;
}
.woocommerce del {
    color: #ff0000;
    opacity: .4;
    font-weight: 400;
}
.box-qty-wrapper {
    display: inline-flex;
    align-items: center;
    background-color: #D9D9D9;
    padding: 5px;
    border-radius: 30px;
    width: 140px;
    justify-content: space-around;
}
.box-qty-wrapper input.box-proxy-input {
    width: 65px;
    text-align: center;
    border: none !important;
    background: #ffffff;
    margin: 0;
    padding: 0;
    height: 40px;
    font-weight: 700;
    -moz-appearance: textfield;
}
.box-qty-wrapper .box-qty-btn {
    background: transparent;
    border: none;
    color: #636363;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 5px;
}
.box-qty-wrapper .box-qty-btn:hover {
    background: #c1c1c1;
}
/* Nascondere le freccette native (Chrome, Safari, Edge, Opera) */
.box-qty-wrapper input.box-proxy-input::-webkit-outer-spin-button,
.box-qty-wrapper input.box-proxy-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
form.cart .quantity {
    display: none !important;
}
small.label-qty-custom {
    width: 70px;
}
.icon-cart-buy-now-custom {
    vertical-align: sub;
}
.section-product-sky form.cart .single_add_to_cart_button {
    border: 3px solid transparent;
    background-image: linear-gradient(90deg, #0037FF 0%, #00A4FF 100%), linear-gradient(90deg, #0037FF 0%, #00A4FF 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.section-product-sky form.cart .single_add_to_cart_button:hover {
    border: 3px solid #0037FF;
    background: #fff;
}
.section-product-sky form.cart .single_add_to_cart_button:hover .icon-cart-buy-now-custom {
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(6962%) hue-rotate(233deg) brightness(98%) contrast(111%);
}
.yith-wcwl-add-to-wishlist-button{
    font-weight: 500 !important;
    font-family: 'Sky Text';
    line-height: 1;
    border-width: 3px !important;
    flex-direction: row-reverse !important;
    transition: all .2s ease-in-out;
    justify-content: center;
}
.yith-wcwl-add-to-wishlist-button:hover svg {
    color: #00a4ff !important;
}

/* TEMPLATE ARCHIVIO PRODOTTI (CARD, GRIGLIA ECT...) */
.card-archive-product-sky .vcex-wc-template-part--loop__sale-flash {
    position: absolute;
    z-index: 9;
    left: 2em;
    top: 1em;
}
.card-archive-product-sky .vcex-wc-template-part--loop__sale-flash .onsale {
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 15px 0 #00a4ff;
}
.card-archive-product-sky .out-of-stock {
    margin-bottom: 0;
    position: absolute;
    z-index: 9;
    right: 2em;
    top: 1em;
    background: #cb0d0d;
    line-height: 1;
    padding: .615em .769em;
    color: #fff !important;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 #390808;
}
.card-archive-product-sky .overlay-bg {
    background-color: #0037ff;
}
.card-archive-product-sky .overlay-hover-button .overlay-hover-button-link {
    border-radius: 30px;
    background: #fff;
    color: #0037ff;
    font-weight: 500;
    box-shadow: 0 1px 10px 0 #bdbdbd;
}

/*PAGINA CONTATTACI*/
.form-contact-us-sky .forminator-row-last .forminator-field {
    text-align: center;
}

/*PAGINA FAQ*/
.section-faq-page .vcex-toggle--active .vcex-toggle__heading {
    font-weight: 700;
}

/*PAGINA CARRELLO*/
.woocommerce-cart .woocommerce {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
}
.woocommerce-cart .woocommerce .woocommerce-notices-wrapper {
    order: 2;
}
.woocommerce-cart .woocommerce .woocommerce-cart-form, 
.woocommerce-cart .woocommerce .cart-collaterals{
    order: 1;
}
.title-rel-products-cart {
    margin-top: 2em !important;
}
.related-products-cart {
    padding-top: 1em;
}

/*PAGINA CHECKOUT*/
.woocommerce-checkout-payment ul.wc_payment_methods {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 20px;
    border: 2px solid #efefef;
}

/*PAGINA REGISTRAZIONE*/
.registration-sky-customer input, 
.registration-sky-customer select{
    background-color: #e6e6e6 !important;
    max-height: unset !important;
    height: 50px !important;
}
input#captcha_1772448247 {
    width: auto;
}

/*PAGINA CHECKOUT*/
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: 14px;
    color: #878787;
}