/* =========================================================================
   GTG Outlet Custom - stili card prodotto, badge, carrello, gtranslate
   ========================================================================= */

/* ---------- PREZZO CARD (barrato sopra, scontato sotto in rosso) ---------- */
.elementor-widget-woocommerce-product-price .price,
ul.products li.product .price {
	display: block;
	line-height: 1.25;
}

/* prezzo pieno barrato: riga sopra, grigio */
.price del {
	display: block;
	text-decoration: line-through;
	font-size: .9em;
	font-weight: 400;
	opacity: 1;
}
.price del,
.price del .woocommerce-Price-amount {
	color: #8a8a8a !important;
}

/* prezzo scontato: riga sotto, rosso, piu' grande */
.price ins {
	display: inline-block;
	text-decoration: none;
	background: transparent;
}
.price ins .woocommerce-Price-amount {
	color: #e2001a !important;
	font-size: 1.4em;
	font-weight: 700;
}

/* "+ iva" accanto al prezzo scontato */
.price .woocommerce-price-suffix {
	color: #e2001a;
	font-size: .7em;
	font-weight: 400;
	white-space: nowrap;
	margin-left: .25em;
}

/* prodotti NON in offerta: prezzo unico comunque rosso + iva */
.price > .woocommerce-Price-amount {
	color: #e2001a !important;
	font-weight: 700;
	font-size: 1.3em;
}

/* ---------- BADGE "SUPER OFFERTA !" (bollino rotondo rosso) ---------- */
.e-loop-item.product_tag-super-offerta,
ul.products li.product.product_tag-super-offerta {
	position: relative;
	overflow: visible;
}
.e-loop-item.product_tag-super-offerta::before,
ul.products li.product.product_tag-super-offerta::before {
	content: "SUPER OFFERTA !";
	position: absolute;
	top: 40px;
	left: 0;
	z-index: 9;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #e2001a;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 6px;
	box-sizing: border-box;
	font-size: 7px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	pointer-events: none;
}

/* ---------- CARRELLO ---------- */
/* foto prodotto piu' grande e centrata */
.woocommerce-cart-form table.cart td.product-thumbnail {
	text-align: center;
}
.woocommerce-cart-form table.cart td.product-thumbnail img {
	width: 120px !important;
	height: auto !important;
	max-width: none !important;
	margin: 0 auto !important;
	display: block;
}

/* label "elimina prodotto" accanto alla X */
.woocommerce-cart-form .product-remove a.remove .gtg-remove-label {
	display: inline-block;
	margin-left: .4em;
	font-size: 13px;
	line-height: 1;
	color: #c62828;
	vertical-align: middle;
	text-decoration: none;
}

/* ---------- VIOLA -> ROSSO (variabili core WooCommerce #720eec) ---------- */
:root {
	--woocommerce: #c62828;
	--wc-primary: #c62828;
	--wc-primary-text: #ffffff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.wc-proceed-to-checkout a.checkout-button {
	background-color: #c62828 !important;
	color: #fff !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
	background-color: #9e1f1f !important;
}

/* ---------- BOX ROSSO "non ci sono offerte" (globale) ---------- */
.e-loop-nothing-found-message {
	background-color: #cc0000;
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 15px;
	text-align: center;
	font-size: 20px;
	max-width: 600px;
	margin: 20px auto;
}
.e-loop-nothing-found-message__text {
	color: #fff !important;
}

/* ---------- GTRANSLATE: nessun overlay scuro + allineato a destra ---------- */
.gt_black_overlay {
	display: none !important;
}
/* colonna gtranslate (ultima dell'header) allineata a destra */
.elementor-element-6a19e56 {
	text-align: right;
}
.elementor-element-6a19e56 .gtranslate_wrapper {
	display: inline-block;
}
