/*
Theme Name: HCS - TiltThemeV2
Theme URI: https://tilthyperweb.com/
Description: Tilt Custom Theme Version 2.0
Version: 2.1.1
Author: Bleech <tilt.hyperweb@gmail.com>
Author URI: https://tilthyperweb.com/
Text Domain: flynt
Requires PHP: 8.1
License: MIT
*/

@media (max-width: 991px) {
    html:not(.home) .spaceMenu {
    	margin-block-end: 10rem;
    }
}
@media (max-width: 575px) {
    [is="button"] {
    	width: 100%;
    }
    [is="button"] .button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

[is="title"] h2.subtitle {
	color: #fff;
    margin-top: 3rem;
}

.--hasGreen_init [is="description"] strong {
	color: #94d844!important;
}

html.single-prodotti product-single strong, html.single-prodotti product-single b {
	color: #ff751f!important;
} 

@media (min-width: 992px) {
    html.single-prodotti product-single .sp-section--3 .related-swiper {
		overflow: hidden;
    }
}

/* Toggle More button styles */
.toggle-container a.button {
    text-decoration: underline !important;
}
.toggle-container a.button,
.toggle-container a.button div {
    font-size: 1.8rem !important;
}

/* sp-product-image 16/9 desktop */
.sp-product-image--desktop {
    aspect-ratio: 16 / 9!important;
    overflow: hidden;
    border-radius: 1rem;
    margin: 0;
}
.sp-product-image--desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* sp-querypost-grid */
.sp-querypost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 992px) {
    .sp-querypost-grid {
        grid-template-columns: 1fr 1fr;
    }
}
product-single .sp-section--qp .card-orange {
    display: flex;
    flex-direction: column;
    border-radius: 2rem;
    overflow: hidden;
    text-decoration: none;
}
product-single .sp-section--qp .card-orange__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    border-radius: 2rem 2rem 0 0;
}
product-single .sp-section--qp .card-orange__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
product-single .sp-section--qp .card-orange__info {
    background-color: #D95901;
    padding: 3rem;
    border-radius: 0 0 2rem 2rem;
}
product-single .sp-section--qp .card-orange--dark .card-orange__info {
    background-color: #D95901;
}

.custom_cf7 input[type="file"] {
    width: 100%;
    background: transparent;
    padding: 1.5rem 0rem;
    border-radius: 0;
    border: transparent;
    border-bottom: 2px solid #fff;
    color: #fff;
    font-size: 1.8rem;
}

.swiper-button-disabled {
    opacity: 0!important;
    cursor: not-allowed;
}

case-history-single .sch-section--2 .gallery-swiper .swiper-slide,
product-single .sp-section--2 .gallery-swiper .swiper-slide {
    aspect-ratio: 1!important;
}

case-history-single .sch-section--2 .gallery-swiper .swiper-slide img,
product-single .sp-section--2 .gallery-swiper .swiper-slide img {
    height: 100%!important;
}