/*
 * Custom style goes here.
 * A template should always ship with an empty custom.css
 */

.term-and--condition li {
	font-family: 'Poppins' !important;
    font-style: normal !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 23px !important;
    color: #313537 !important;
}

.home-banner-buttons .elementor-cta-bg-overlay,
.acquista-home-butt-1 .elementor-cta-bg-overlay,
.acquista-home-butt-1 .elementor-cta-content {
    background-color: rgba(0,0,0,.3) !important;
}


@media (min-width: 768px) {
    .checkout-step-items form section > .form-group > label {
        width: 200px;
    }
    .checkout-step-items form section > .form-group > div {
        width: calc(100% - 200px);
    }
}


.product-flag.new {
    display: none;
}

.form-field-custom-partita-iva .form-control-comment {
    display: none;
    font-style: normal;
    color: #a94442;
}


.product-add-to-cart-mini {
    display: none !important;
}

#checkout-payment-step button[name="select_payment_option"] {
    display: none;
}
#checkout-payment-step .additional-information {
    display: none;
}
#checkout-payment-step .additional-information p {
    margin-top: -15px;
    font-size: 14px;
}

@media (max-height: 800px) {
    .mm_tab_toggle_title {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}
@media (max-height: 700px) {
    .mm_tab_toggle_title {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}
@media (max-height: 630px) {
    .mm_tab_toggle_title {
        padding-top: 3px;
        padding-bottom: 3px;
    }
}
@media (max-height: 600px) {
    .mm_tab_toggle_title {
        padding-top: 2px;
        padding-bottom: 2px;
    }
}
@media (max-height: 570px) {
    .mm_tab_toggle_title {
        padding-top: 1px;
        padding-bottom: 1px;
    }
}
@media (max-height: 540px) {
    .mm_tab_toggle_title {
        padding-top: 0;
        padding-bottom: 0;
    }
}
.ets-dir-ltr .mm_menus_li .mm_columns_contents_ul {
    overflow-y: auto;
}


.product-flags .product-flag {
    display: table;
    margin-left: auto;
}
.product-list-container .product-flags .product-flag,
.single-related-products .product-flags .product-flag,
.products.slide_related ul.product-flags .product-flag {
    margin-left: 0;
    margin-right: auto;
}
.form-home-news-part .elementor-message.elementor-message-danger {
    display: none;
}


#pulsante-video-prodotto {
    display: none;
    height: 45px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    background-color: #178fcf;
    border-width: 0px 0px 0px 0px;
    line-height: 45px;
    padding: 0 24px;
    border-radius: 0;
}
#pulsante-video-prodotto:hover {
    background-color: #146d9d;
}
#pulsante-video-prodotto .elementor-button-icon {
	position: relative;
	width: 20px;
	text-align: center;
}
#pulsante-video-prodotto .elementor-button-icon::before {
	content: "";
	width: 25px;
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	border: 2px solid;
	border-radius: 50%;
}
#pulsante-video-prodotto .elementor-button-icon .fa {
	position: relative;
	left: 4px;
	font-size: 12px;
}


#product-video-modal {
    line-height: 0;
}
#product-video-modal .modal-dialog {
    max-width: 1200px;
    width: calc(100vw - 60px);
}
#product-video-modal .modal-content {
    border-width: 0;
}
#product-video-modal .modal-body {
    padding: 0;
}
#product-video-modal iframe {
    width: 100%;
    height: min(675px, calc((100vw - 60px) / 16 * 9));
}

.glide-slick .glide__slides .slick-slide {
    padding: 0px 10px;
}

.glide-slick .glide__slides .slick-list {
  margin: 0 -10px;
}

.glide-slick .glide__slides button.slick-prev.slick-arrow, 
.glide-slick .glide__slides button.slick-next.slick-arrow {
    position: absolute;
    background-color: transparent;
    width: 30px !important;
    height: 30px !important;
    padding: 0;
    font-size: 0;
    transform: translate(0%, -50%);
    left: 0;
    top: 50%;
}
.glide-slick .glide__slides button.slick-next.slick-arrow {
    right: 0;
    left: auto;
}
.glide-slick .short-desc {
    display: none;
}
#product #main .products-carousel {
    padding: 0 0px;
}
.glide-slick .glide__slides{
    padding: 0px 1px 0 0;
}
.glide-slick article.product-miniature {
    margin: 0;
}
.glide-slick .product-description {
    min-height: 98px;
}

.custom-view-product-button button.btn.btn-primary.acquista-button {
    background: #d51317;
    color: #fff;
    border-color: #d51317;
}

.custom-view-product-button a.vedi-opzioni-button{
	background: #178fcf;
	color: #fff;
	border-color: #178fcf;
}
.footer-top-sec .elementor-widget-heading {
    margin-bottom: 10px;
}
.footer-box-outer .elementor-field-type-gdpr span a {
    color: #313537 !important;
}
.footer-box-outer:after {
    content: "";
    background: #fff;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.footer-box-outer > .elementor-container {
    z-index: 2;
}
#product #main .products-carousel {
    width: 100%;
}
#product #main .products-carousel .products.glide-slick {
    width: 100%;
}
#main .products-carousel .glide__track{
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1024px){
.product-custom-count {
    grid-column: span 3;
}	
}

@media (max-width: 543px) {
    #product-video-modal .modal-dialog {
        width: calc(100vw - 20px);
    }
}


.pk-ce-carousel:not(.slick-initialized) {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	overflow: hidden;
}

.pk-ce-carousel:not(.slick-initialized) > * {
	width: calc((100% - 40px) / 3);
	flex-shrink: 0;
}
@media (max-width: 899px) {
    .pk-ce-carousel:not(.slick-initialized) > * {
        width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 499px) {
    .pk-ce-carousel:not(.slick-initialized) > * {
        width: 100%;
    }
}

#CookiebotWidget {
    z-index: unset !important;
}
#custom-cookie-container {
    position: relative;
    height: 50px;
}
#custom-cookie-container #CookiebotWidget {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: none;
}
#custom-cookie-container #CookiebotWidget #CookiebotWidget-widgetContent {
    border: 1px solid #D6D6D6;
}
#custom-cookie-container #CookiebotWidget .CookiebotWidget-logo::before {
    content: 'Modifica impostazioni cookie';
    margin-top: 4px;
    color: #3f4e55;
    font-size: 14px;
    font-family: "Roboto";
    font-weight: 300;
    letter-spacing: 0;
}
#custom-cookie-container #CookiebotWidget.CookiebotWidget-open .CookiebotWidget-logo::before {
    opacity: 0;
}
#custom-cookie-container #CookiebotWidget .CookiebotWidget-logo:hover::before {
    color: #178fcf;
}
#custom-cookie-container #CookiebotWidget .CookiebotWidget-logo > svg {
    display: none;
}
@media (max-width: 767px) {
    #custom-cookie-container #CookiebotWidget {
        width: 100%;
    }
    #custom-cookie-container #CookiebotWidget .CookiebotWidget-logo {
        text-align: center;
        width: 100%;
    }
}


.zhproductpack .err-qty-anchor {
    color: #333;
    text-decoration: underline;
}
.zhproductpack .err-qty-anchor:hover {
    color: #178fcf;
}


.product-magazzino-terzi {
    font-size: .9rem;
    line-height: 1.3;
    padding-bottom: 10px;
}
.product-magazzino-terzi[data-terzi] {
    display: none;
}
.zhproductpack .product-magazzino-terzi {
    font-size: .8rem;
}


#blockcart-modal .modal-body .divide-right .flex-container {
    margin-bottom: 20px;
}
#blockcart-modal .modal-body .divide-right .product-reference {
    font-size: 14px;
    color: #313537;
}
#blockcart-modal .modal-body .divide-right .product-image {
    margin-bottom: 0;
}

.mini-product .product-title {
    min-height: auto;
    margin-bottom: 0;
}
.mini-product .product-reference {
    font-size: 14px;
}
.mini-product .product-price-and-shipping {
    margin-top: 15px;
}
.mini-product .product-magazzino-terzi {
    font-size: .8rem;
    padding-bottom: 0;
    margin-top: -7px;
}


.product-line-grid-body.cart-grid-title .product-reference {
    font-size: 12px;
    text-align: left;
    display: block;
    margin: -10px 0 10px;
}
.cart-item .product-magazzino-terzi {
    font-size: .8rem;
    padding-bottom: 0;
    margin-top: 5px;
}

#order-products .order-product-image {
    width: 92px;
}


#search_filters .facet {
    /* questo è il valore di default, viene sovrascritto per filtri specifici nel
    template elementor della categoria, come css personalizzato nel widget dei filtri */
    --opt-width: 100%;
    /* questo serve per fare in modo di occupare tutto lo spazio disponibile, può
    essere temporaneamente sovrascritto in elementor per testare la dimensione minima */
    --opt-width-max: 1fr;
}
#search_filters .facet .pkradio.collapse.in,
#search_filters .facet .pkradio.collapsing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--opt-width), var(--opt-width-max)));
}