/*
Theme Name: Torri Store (Flatsome Child)
Description: This is a child theme for Flatsome Theme
Author: Luca Santucci
Template: flatsome
Version: 2.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.grecaptcha-badge {
	display:none;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
	display: none;
}

.back-to-top {
	bottom: 65px;
	right: 16px;
	min-width: 2.6em !important;
	margin:0 !important;
}

.product-thumbnails a {
	border: 0;
	border-radius: 5px;
	aspect-ratio: 1 / 1;
}

.product-lightbox .slide img {
	max-height: 580px;
	object-fit: contain;
	object-position: center;
	padding: 8.5%;
}

ul.header-nav-main li.highlight a,
ul.header-nav-main li.highlight:hover a {
	color:var(--primary-color);
}

.woocommerce-product-gallery__image a:has(> img, > picture) {
	display: block !important;
}

ul.product_list_widget li img {
	object-fit: contain;
}

.mfp-bg {
	background: #fff;
}

.mfp-bg.mfp-ready {
	opacity: 0.85;
}

.mfp-figure::after {
	background: transparent;
	box-shadow: none;
}

.mfp-wrap .feather-x {
	stroke: #000;
}

.mfp-arrow,
.mfp-title,
.mfp-counter {
	color: #333;
}

.hotspot-wrapper {
	z-index: 10000;
}

/*nascondo l'etichetta "DISPONIBILE DAL.."*/
.pre_order_loop {
	display: none;
}

/* Personalizza il messaggio per inserire il coupon sconto in CHECKOUT */
.woocommerce-form-coupon-toggle div.message-container {
	background-color: #922a24;
	color: #FFF;
	padding: 4px;
}

.woocommerce-form-coupon-toggle a,
.woocommerce-form-coupon-toggle a:hover {
	color: #FFF;
}

.mfp-close-btn-in .mfp-close {
	color: #fff;
	mix-blend-mode: normal;
	opacity: 1;
}

.checkout_coupon.woocommerce-form-coupon {
	display: block !important;
}

.woocommerce-form-coupon-toggle {
	display:none;
}

.message-container a[href*="logout"] {
	padding: 5px 20px;
	background-color: #9F1D1D;
	color: #fff;
	display: table;
	margin: 10px 0;
	border-radius: 3px;
}

.message-container a[href*="logout"]:after {
	border-bottom:1px solid #ccc;
	content:'';
	display:block;
}

#reply-title {
	text-align: left;
}

.comment-form-rating {
	display:flex;
}

.comment-form-rating label {
	margin-right:20px;
}

p.comment-form-comment {
	text-align:left;
}

.border-gap {
	font-size:11px;
	display: flex;
	flex-direction: row;
	width: 100%;
	position: absolute;
	top: -9px;
	left: 0;
	align-items: center;
}

.border-gap:before {
	display: block;
	content: "";
	flex: 2 0 0;
	height: 1px;
	border-top: 1px dashed #fff;
	margin-right:5px;
}

.border-gap:after {
	display: block;
	content: "";
	flex: 2 0 0;
	height: 1px;
	border-top: 1px dashed #fff;
	margin-left:5px;
}

.place-order button{
	width:100%;
}

.response-text{
	font-size:0.75em;
	padding:10px;
	border-radius:5px;
	margin-bottom:5px;
}

.response-text a {
	text-decoration: underline;
	color: inherit;
	font-weight: bold;
}

.response-text.warning {
	background-color: #F1E99F;
	color:#723302;
}

.response-text.danger {
	background-color: #FC383C;
	color:#FFFFFF;
}

.response-text.success {
	color:#ffffff;
}

.shop-page-title{
	color: #555;
	width: 100%;
	margin-top: 0;
	margin-bottom: .5em;
	text-rendering: optimizeSpeed;
	line-height: 1.3;
	display:block;
	font-weight:bold;
}

.single_add_to_cart_button,
.add_to_cart_button {
	background-color:#01AF13 !important
}

div.cart.bundle_data button{
	margin:0 0 0 10px;
}

.woocommerce-Tabs-panel--refer_tab {
	max-width: 100%;
}

th:first-child, td:first-child,
th:last-child, td:last-child {
	padding-right: .5em;
	padding-left: .5em;
}

.of-hi {
	overflow: hidden;
}

.nofade [data-parallax] {
	opacity: 1 !important
}

/*FIOCCO DI NATALE SUI PRODOTTI TAGGATI xmas */
body .product_tag-xmas .box-image .product-images:not(.woocommerce-product-gallery )::after,
.product_tag-xmas.product-small .box-image:not(.processing)::after {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	max-height: 40%;
	content: '';
	background: url('img/fiocco.png') no-repeat 100% 100%;
	background-size: contain;
	width: 100%;
	z-index: 1;
	height: 570px;
}
.product_tag-xmas.product-small .box-image .grid-tools {
	z-index:10;
}

body .product_tag-xmas .product-images:not(.woocommerce-product-gallery )::before,
.product_tag-xmas.product-small .box-image:not(.processing)::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 35%;
	content: '';
	background: url('img/fiocco2.png') no-repeat 0% 100%;
	background-size: contain;
	width: 100%;
	z-index: 1;
}
/* FINE FIOCCO */

.woocommerce-NoticeGroup-checkout .woocommerce-error li,
.cart-container .woocommerce-error li {
	background-color: #ffeaea;
	border-color: #68291e;
	color: #922a24;
	border-width: 2px;
	border-style: solid;
	margin: 0 0 1em !important;
	width: 100%;
	min-height: 60px;
	position: relative;
	padding: 1em;
	overflow: hidden;
	display: block;
	box-sizing: border-box;
}

#yith-par-message-reward-cart {
	background-color: #ffffe8;
	border-color: #ffdd81;
	color: #353535;
	border-width: 2px;
	border-style: solid;
	margin: 0 0 1em !important;
	width: 100%;
	min-height: 60px;
	position: relative;
	padding: 1em;
	overflow: hidden;
	display: block;
	box-sizing: border-box;
}

div.woocommerce-form-login-toggle + form.woocommerce-form.woocommerce-form-login {
	padding: 20px;
	border: 2px solid #cccccc;
	background: #f0f0f0;
}

/* gift card product page */
.product-type-gift-card .woocommerce-product-gallery__image {
	padding: 0;
}

.ywgc-sender-name,
.ywgc-sender-name input[type="text"],
.ywgc-single-recipient .ywgc-recipient-name,
.ywgc-single-recipient .ywgc-recipient-name input[type="text"] {
	margin-bottom: 0px;
}

.gift-card-content-editor.step-content h5 {
	margin-top: 1em;
}

.gift-cards-list .selected_button span.amount{
	color:#fff;
}

.product-footer .woocommerce-tabs {
	padding:0;
	border-top:0;
}

.nav-tabs + .tab-panels {
	border: 0;
	border-top: 1px solid #ddd;
}

.bg-deco {
	position:absolute;
	bottom:0;
}

.z-index-0 {
	z-index: 0;
}
.z-index-10 {
	z-index: 10;
}
.z-index-100 {
	z-index: 100;
}
.nz-index-100 {
	z-index: -100;
}

form.woocommerce-checkout > div.row > div.col.large-5 > div.col-inner {
	position: sticky;
	top: 140px;
}

.related.related-products-wrapper.product-section h3 {
	margin-left: 0;
	margin-right: 0;
}

.bundled_item_cart_details {
	display:none;
}

.img-inner.image-zoom {
	overflow: unset;
}

#brevo-conversations:not(.brevo-conversations--expanded) {
	width: 2.5em !important;
	height: 2.5em !important;
	bottom: 0px !important;
	right: 0px !important;
	margin: 16px !important;
}

.brevo-conversations--style-round:not(.brevo-conversations--expanded) .brevo-conversations__iframe-wrapper,
.brevo-conversations--style-round.brevo-conversations--safari:not(.brevo-conversations--expanded) .brevo-conversations__iframe {
	border-radius: 5px !important;
}

.social-login{
	display:none;
}

.iubenda-tp-alert-btn.iubenda-tp-btn--warning::before,
.iubenda-tp-btn.iubenda-tp-btn--warning::before,
.iubenda-uspr-btn.iubenda-tp-btn--warning::before {
	display:none !important;
}

.iubenda-tp-alert-btn.iubenda-tp-btn--warning[data-tp-float][data-tp-float="bottom-right"] {
	left: 0 !important;
	right: unset !important;
}

/* CHECKOUT PERSONALIZZATO ORDINE COMPLETATO */

.page-checkout .woocommerce-order {

	.woocommerce-thankyou-order-received {
		margin:0 0 0.5em;
		padding:0;
		font-size:2em;
	}

	.woocommerce-thankyou-order-details {
		margin:0;
		list-style:none;
	}

	.woocommerce-thankyou-order-details li {
		margin:0;
		padding:4px 0;
		border-bottom:1px dotted #ccc;
	}

	.woocommerce-thankyou-order-details li:last-child {
		border:0;
	}

	.thanks-order-received {
		background-color: #fcfcfc;
	}

	.col.large-8:first-child {
		order: 2;
	}

	.col.large-8:last-child {
		order:1;
	}

	.col.large-8 .col-inner {
		padding:30px;
	}

	.woocommerce-columns--addresses {
		flex-direction: row-reverse;
		gap:20px;
	}

	.woocommerce-column--billing-address,
	.woocommerce-column--shipping-address {
		flex:1;
		order: 1;
		padding:20px;
		background-color:#fcfcfc;
		margin-bottom:20px;
	}
}

.quick-view.quick-view-added {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
}


@media only screen and (min-width: 850px) {

#customer_login > div:first-child {
	flex-basis: 33.3333333333%;
	max-width: 33.3333333333%;
}

#customer_login > div:nth-child(2) {
	flex-basis: 66.6666666667%;
	max-width: 66.6666666667%;
}

}

@media only screen and (min-width:549px) {

}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


.product-lightbox .slide img,
.product-gallery-slider img {
	max-height: 350px !important;
}

/* Personalizza il messaggio per inserire il coupon sconto in CHECKOUT */
.woocommerce-form-coupon-toggle div.message-container {
	background-color: #922a24;
	color: #FFF;
	padding: 4px;
}

.woocommerce-form-coupon-toggle a,
.woocommerce-form-coupon-toggle a:hover {
	color: #FFF;
}

ol.commentlist .comment-text {
	flex-direction:column;
}

ol.commentlist .comment-text .star-rating {
	font-size:12px !important;
	margin:0 !important;
}

.brevo-conversations--side-bottom {
	bottom: 60px !important;
}

}