/* ==========================================================================
   Negozio (fase 3 del cambio tema). Misure prese da Shopkeeper il 2026-11-25.
   font-size solo in rem.
   ========================================================================== */

/* ---------- Griglia delle categorie [product_categories_grid] (home) ---------- */
.griglia-categorie {
	margin: 0 -0.625rem;
}
.categories_grid {
	margin: 0 -0.625rem 1.25rem;
}
.categories_grid::after {
	content: '';
	display: table;
	clear: both;
}
.categories_grid > div {
	padding: 0 0.625rem;
	margin-bottom: 1.25rem;
}
.categories_grid .category_grid_box {
	position: relative;
	display: block;
	overflow: hidden;
}
.categories_grid .category_item_bkg {
	position: absolute;
	inset: 0;
	display: block;
	background-color: #333333;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.categories_grid .category_item {
	position: relative;
	display: block;
	width: 100%;
	height: 13.3125rem;          /* 213 px fino a 880 px */
	color: var(--bianco);
	text-decoration: none;
}
.categories_grid .category_name {
	position: relative;
	top: 1.875rem;
	left: 1.875rem;
	z-index: 2;
	display: inline;
	padding: 0.625rem 0.9375rem;
	background: var(--bianco);
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	transition: 0.3s;
}
.categories_grid .category_item:hover .category_name,
.categories_grid .category_item:focus-visible .category_name {
	background: var(--nero);
	color: var(--bianco);
}
.categories_grid .category_count {
	margin-left: 2px;
	font-size: 0.8125rem;
}

/* da 881 px: riquadri incastrati come in Shopkeeper (5 categorie: grande a sinistra, gli altri attorno) */
@media (min-width: 881px) {
	.categories_grid .category_five_cat_1 { float: left; width: 50%; }
	.categories_grid .category_five_cat_2 { float: right; width: 50%; }
	.categories_grid .category_five_cat_3 { float: right; width: 25%; }
	.categories_grid .category_five_cat_4 { float: right; width: 25%; }
	.categories_grid .category_five_cat_5 { float: left; width: 50%; }

	/* riquadri alti e bassi */
	.categories_grid .category_five_cat_1 .category_item,
	.categories_grid .category_five_cat_3 .category_item,
	.categories_grid .category_five_cat_4 .category_item {
		height: 34.1875rem;      /* 547 px */
	}
	.categories_grid .category_five_cat_2 .category_item,
	.categories_grid .category_five_cat_5 .category_item {
		height: 16.4375rem;      /* 263 px */
	}
}
@media (min-width: 881px) and (max-width: 1024px) {
	.categories_grid .category_five_cat_1 .category_item,
	.categories_grid .category_five_cat_3 .category_item,
	.categories_grid .category_five_cat_4 .category_item {
		height: 16.4375rem;      /* 263 px */
	}
	.categories_grid .category_five_cat_2 .category_item,
	.categories_grid .category_five_cat_5 .category_item {
		height: 7.625rem;        /* 122 px */
	}
}

/* ---------- Griglia dei prodotti (ul.products) ---------- */
/* Colonne come Shopkeeper: quelle chieste (columns-N), 25 px tra le schede; columns-5 e columns-6
   diventano 4 tra 768 e 1024 px; sotto i 768 px sempre 2 colonne, 14 px tra le schede. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(var(--colonne, 4), minmax(0, 1fr));
	column-gap: 1.5625rem;
	row-gap: 1.5625rem;
	margin: 0 0 1.5625rem;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}
ul.products.columns-1 { --colonne: 1; }
ul.products.columns-2 { --colonne: 2; }
ul.products.columns-3 { --colonne: 3; }
ul.products.columns-4 { --colonne: 4; }
ul.products.columns-5 { --colonne: 5; }
ul.products.columns-6 { --colonne: 6; }
@media (min-width: 768px) and (max-width: 1024px) {
	ul.products.columns-5,
	ul.products.columns-6 { --colonne: 4; }
}
@media (max-width: 767px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		--colonne: 2;
		column-gap: 0.875rem;
		row-gap: 2.618rem;
	}
}
/* anche contro il foglio «smallscreen» di WooCommerce (width: 48%, float, clear sotto i 768 px) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	clear: none;
	position: relative;
	float: none;
	width: auto;
	margin: 0;
	text-align: left;
	/* padding: lo decide il CSS del vecchio child (10 px nelle griglie a 4 colonne della home) */
}

/* entrata: leggero ingrandimento quando la scheda arriva sullo schermo (come «js_animated» di Shopkeeper) */
.con-js ul.products li.prodotto-entra {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.con-js ul.products li.prodotto-entra.prodotto-entrato {
	opacity: 1;
	transform: none;
}

/* ---------- Immagine ---------- */
.product_thumbnail_wrapper {
	position: relative;
}
.product_thumbnail_wrapper > a {
	display: block;
}
.product_thumbnail {
	position: relative;
	overflow: hidden;
	line-height: 0;
}
.woocommerce ul.products li.product .product_thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}
.product_thumbnail_background {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
li.product:hover .product_thumbnail_background {
	opacity: 1;
}

/* etichette */
.woocommerce ul.products li.product .out_of_stock_badge_loop {
	position: absolute;
	top: 0.9375rem;
	left: 0.9375rem;
	z-index: 2;
	padding: 2px 7px 0;
	background: #808080;
	color: var(--bianco);
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 0.9375rem;
	text-transform: uppercase;
}
.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	right: auto;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 2px 8px;
	border-radius: 0;
	background: var(--verde);
	color: var(--bianco);
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 0.9375rem;
	text-transform: uppercase;
}
/* «In offerta!» e «Prodotto esaurito» insieme: l'offerta scende sotto */
.woocommerce ul.products li.product .outofstock ~ .onsale,
.woocommerce ul.products li.product .out_of_stock_badge_loop ~ .onsale {
	top: 2.25rem;
}

/* cuore della wishlist: sopra i 1200 px riquadro bianco in fondo all'immagine, visibile al passaggio */
.product_thumbnail_icons {
	position: absolute;
	left: 50%;
	bottom: 0.9375rem;
	z-index: 3;
	padding: 3px 15px;
	border-radius: 1.5rem;
	background: var(--bianco);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
	line-height: 0;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.2s ease;
}
li.product:hover .product_thumbnail_icons,
.product_thumbnail_icons:focus-within {
	opacity: 1;
}
.product_thumbnail_icons .yith-wcwl-add-to-wishlist {
	margin: 0;
	padding: 11px 5px;
}
.product_thumbnail_icons .yith-wcwl-add-to-wishlist a {
	display: inline-flex;
	color: #333333;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
}
.product_thumbnail_icons .yith-wcwl-add-to-wishlist svg,
.product_thumbnail_icons .yith-wcwl-add-to-wishlist img {
	display: block !important;
	width: 1.125rem;
	height: 1.0625rem;
	margin: 0;
	color: #333333;
}
.product_thumbnail_icons .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a,
.product_thumbnail_icons .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a {
	color: var(--verde);
}
.product_thumbnail_icons .feedback,
.product_thumbnail_icons .separator,
.product_thumbnail_icons .view-wishlist {
	display: none !important;
}
@media (max-width: 1200px) {
	.product_thumbnail_icons {
		left: auto;
		right: -5px;
		bottom: -40px;
		padding: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}
}

/* ---------- Titolo, prezzo, «SCEGLI» ---------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 1.0625rem 0 0;
	font-family: var(--font-testo);
	font-size: 1rem; /* 2026-11-26, richiesta dell'utente (prima 13 px come Shopkeeper) */
	font-weight: 400;
	line-height: 1.4;
	color: var(--nero);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: var(--nero);
	text-decoration: none;
}
@media (max-width: 1200px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		padding-right: 2.1875rem; /* spazio per il cuore */
	}
}
@media (max-width: 1023px) {

}

/* prezzo e «SCEGLI» in una finestra alta 33 px: al passaggio il prezzo sale e compare il link */
.product_after_shop_loop {
	height: 2.0625rem;
	overflow: hidden;
}
.product_after_shop_loop_switcher {
	transition: transform 0.3s ease;
}
@media (min-width: 1024px) {
	ul.products li.product:hover .product_after_shop_loop_switcher,
	ul.products li.product:focus-within .product_after_shop_loop_switcher {
		transform: translateY(-2.0625rem);
	}
}
@media (max-width: 1023px) {
	.product_after_shop_loop {
		height: 4.125rem;  /* 66 px: prezzo e link insieme */
	}
}
.woocommerce ul.products li.product .price {
	display: block;
	height: 2.0625rem;
	margin: 0;
	padding: 0.25rem 0 0;
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	color: rgba(51, 51, 51, 0.8);
}
.woocommerce ul.products li.product .price del {
	color: #333333;
	opacity: 0.7;
}
.woocommerce ul.products li.product .price ins {
	padding-left: 0.25rem;
	font-weight: 700;
	text-decoration: none;
}
.product_after_shop_loop_scegli {
	display: inline-block;
	height: 2.0625rem;
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 2.0625rem;
	text-transform: uppercase;
	color: var(--verde);
	text-decoration: none;
}
.product_after_shop_loop_scegli:hover {
	opacity: 0.8;
}

/* ==========================================================================
   Pagine del negozio e delle categorie (woocommerce/archive-product.php)
   ========================================================================== */
.negozio {
	max-width: 112.5rem;           /* 1680 px + 60 px per lato, come le pagine */
	margin: 0 auto;
	padding: 5.3125rem 3.75rem 0;  /* 85 px sotto l'header */
}
@media (max-width: 767px) {
	.negozio {
		padding: 2.5rem 1.875rem 0;
	}
}

/* intestazione */
.woocommerce-products-header.shop_header {
	margin: 0 0 2.625rem;       /* 42 px fino alla barra, come Shopkeeper */
	text-align: center;
}
.woocommerce-products-header .page-title {
	max-width: none;
}
.woocommerce-products-header.shop_header > .term-description {
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 0.875rem;   /* 7 + 7 px: in Shopkeeper la descrizione aveva due contenitori */
}
@media (min-width: 1025px) {
	.woocommerce-products-header > .term-description {
		max-width: calc((100% + 1.875rem) / 2 - 1.5625rem);  /* colonna di 6/12 */
	}
}
.woocommerce-products-header .term-description p {
	line-height: 1.5;
}
.list_shop_categories {
	margin: 0 0 3px;
	padding: 0;
	list-style: none;
	text-align: center;
}
.list_shop_categories li {
	display: inline-block;
}
.list_shop_categories a {
	display: inline-block;
	margin: 0 0.75rem 0.3125rem;
	padding: 0.3125rem 0;
	border-bottom: 1px solid rgba(51, 51, 51, 0.15);
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
	transition: color 0.2s, border-color 0.2s;
}
.list_shop_categories a:hover,
.list_shop_categories a:focus-visible {
	color: var(--verde);
	border-bottom-color: transparent;
}

/* barra: «Filtra», briciole di pane, ordinamento */
.tob_bar_shop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 2.1875rem;
	color: rgba(51, 51, 51, 0.55);
}
.tob_bar_shop__sinistra {
	display: flex;
	align-items: center;
	min-width: 0;
}
.filtra {
	display: inline-flex;
	align-items: center;
	padding: 0 1.5625rem 0 0;
	border: 0;
	background: none;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5rem;
	text-transform: uppercase;
	cursor: pointer;
}
.filtra__icona {
	margin: 0 0.4375rem 0 0;
}
.filtra:hover {
	color: var(--verde);
}
.woocommerce-breadcrumb {
	padding-top: 1px;
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 400;
	line-height: 1.5rem;
	text-transform: uppercase;
	color: rgba(51, 51, 51, 0.55);
}
.woocommerce .woocommerce-breadcrumb {
	margin: 0;
	color: rgba(51, 51, 51, 0.55);
	font-size: 0.625rem;
}
.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
	color: rgba(51, 51, 51, 0.55);
}
.woocommerce-breadcrumb a:hover {
	color: var(--nero);
}
.breadcrump_sep {
	padding: 0 0.4375rem;
}
@media (max-width: 1023px) {
	.woocommerce-breadcrumb {
		display: none;
	}
}
.catalog-ordering .woocommerce-ordering {
	margin: 0;
	float: none;
}
.catalog-ordering select.orderby {
	appearance: none;
	-webkit-appearance: none;
	height: 1.75rem;
	padding: 0 1.25rem 0 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 0.375rem center;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.75rem;
	text-align: right;
	text-transform: uppercase;
	cursor: pointer;
}
.catalog-ordering select.orderby:focus-visible {
	outline: 2px solid var(--verde);
	outline-offset: 2px;
}

/* griglia nelle pagine del negozio */
.negozio ul.products {
	margin-bottom: 1rem;
}

/* «Load More Items» / «No more items available.» */
.carica-altri {
	padding: 0 0 8.75rem;
	text-align: center;
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}
.carica-altri__link {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--verde);
}
.carica-altri__puntini {
	display: inline-flex;
	gap: 0.25rem;
}
.carica-altri__puntini i {
	width: 0.625rem;
	height: 0.625rem;
	border: 2px solid currentColor;
	border-radius: 50%;
}
.carica-altri--in-corso .carica-altri__puntini i {
	animation: babylonia-puntini 0.9s infinite ease-in-out;
}
.carica-altri--in-corso .carica-altri__puntini i:nth-child(2) { animation-delay: 0.15s; }
.carica-altri--in-corso .carica-altri__puntini i:nth-child(3) { animation-delay: 0.3s; }
@keyframes babylonia-puntini {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.2; }
}
.carica-altri__fine {
	margin: 0;
	color: rgba(51, 51, 51, 0.55);
	font-size: 0.8125rem;
}
.carica-altri__fine[hidden],
.carica-altri__link[hidden] {
	display: none !important;
}

/* ---------- Pannello «Filtra» (da sinistra, 320 px) ---------- */
.pannello-filtri {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 300;
	width: min(20rem, 88vw);
	overflow-y: auto;
	padding: 3rem 2.1875rem 2.1875rem;
	background: var(--bianco);
	transform: translateX(-100%);
	transition: transform 0.25s ease;
}
.pannello-filtri.aperto {
	transform: none;
}
.pannello-filtri[hidden] {
	display: none !important;
}
body.admin-bar .pannello-filtri {
	top: 32px;
}
.pannello-filtri__chiudi {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 1.75rem;
	height: 1.75rem;
	border: 0;
	border-radius: 50%;
	background: #555555;
	color: var(--bianco);
	font-size: 1.125rem;
	line-height: 1;
	cursor: pointer;
}
.pannello-filtri .widget {
	margin: 0 0 2.5rem;
}
.pannello-filtri .widget-title {
	margin: 0 0 1.75rem;
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 600; /* titoli a 600 (2026-11-26) */
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--nero);
}
.pannello-filtri ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pannello-filtri ul ul {
	padding-left: 1.25rem;
}
.pannello-filtri .product-categories li {
	margin: 0 0 0.8125rem;
	font-family: var(--font-testo);
	font-size: 0.8125rem;
	line-height: 1.4;
}
.pannello-filtri .product-categories ul.children {
	margin-top: 0.8125rem;
}
/* la × di chiusura solo su schermi piccoli, come Shopkeeper (su quelli grandi si chiude cliccando fuori o con Esc) */
@media (min-width: 640px) {
	.pannello-filtri__chiudi {
		display: none;
	}
}
.pannello-filtri .product-categories a {
	position: relative;
	display: inline-block;
	padding-left: 1.375rem;
	color: var(--nero);
	text-transform: capitalize;
}
.pannello-filtri .product-categories a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.15rem;
	width: 0.8125rem;
	height: 0.8125rem;
	border: 1px solid #555555;
	border-radius: 50%;
}
.pannello-filtri .product-categories .current-cat > a {
	font-weight: 700;
}
.pannello-filtri .product-categories .current-cat > a::before {
	border-color: var(--verde);
	background: var(--verde);
}
.pannello-filtri .product-categories a:hover {
	color: var(--verde);
}
.pannello-filtri .tagcloud a {
	display: inline-block;
	margin: 0 0.25rem 0.4rem 0;
	color: var(--nero);
	font-family: var(--font-testo);
	font-size: 0.8125rem !important;
}

/* ==========================================================================
   Scheda prodotto (woocommerce/content-single-product.php)
   Misure di Shopkeeper: da 1025 px galleria 6/12, spazio 1/12, dati 5/12, blocco
   largo 12/12 (1025–1199), 10/12 (1200–1439), 9/12 (da 1440); fino a 1024 una colonna.
   ========================================================================== */
.scheda-prodotto {
	max-width: 112.5rem;
	margin: 0 auto;
	padding: 5.3125rem 3.75rem 0;
}
.scheda-prodotto__alto {
	display: grid;
	grid-template-columns: 49.04% minmax(0, 1fr) 40.51%;  /* misure di Shopkeeper: 483 / 103 / 399 px su 985 */
	margin: 0 auto;
}
.scheda-prodotto__galleria { grid-column: 1; min-width: 0; position: relative; }
.scheda-prodotto .product_infos { grid-column: 3; min-width: 0; }
@media (min-width: 1200px) {
	.scheda-prodotto__alto { width: calc((100% + 1.875rem) * 10 / 12 - 1.875rem); }
}
@media (min-width: 1440px) {
	.scheda-prodotto__alto { width: calc((100% + 1.875rem) * 9 / 12 - 1.875rem); }
}
@media (max-width: 1024px) {
	.scheda-prodotto {
		padding: 2.5rem 0 0;  /* 40 px tra header e foto (richiesta dell'utente del 2026-11-26: nell'originale la foto era attaccata) */
	}
	.scheda-prodotto__alto {
		display: block;
	}
	.scheda-prodotto__galleria {
		padding: 0 3.75rem;
	}
	.scheda-prodotto .product_infos {
		padding: 2.1875rem 3.75rem 0;
	}
}
@media (max-width: 767px) {
	.scheda-prodotto__galleria { padding: 0; }
	.scheda-prodotto .product_infos { padding: 2.1875rem 1.875rem 0; }
}

/* galleria: miniature in colonna a sinistra su desktop, in fila sotto fino a 1024 px */
.woocommerce div.product.scheda-prodotto div.images,
.woocommerce-page div.product.scheda-prodotto div.images {
	float: none;
	width: 100%;
	margin: 0 0 2rem;
}
@media (min-width: 1025px) {
	.scheda-prodotto .woocommerce-product-gallery {
		display: grid;
		grid-template-columns: 4.8125rem minmax(0, 1fr);
	}
	.scheda-prodotto .woocommerce-product-gallery .flex-viewport,
	.scheda-prodotto .woocommerce-product-gallery__wrapper {
		grid-column: 2;
		grid-row: 1;
	}
	.scheda-prodotto .woocommerce-product-gallery .flex-control-thumbs {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		margin: 0;
		padding: 0;
	}
	.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs li {
		float: none;
		width: 100%;
		margin: 0;
		padding: 0 0.625rem 0.625rem 0;  /* miniature da 67 px in una colonna di 77 */
	}
}
@media (max-width: 1024px) {
	.woocommerce div.product.scheda-prodotto div.images {
		margin-bottom: 0;
	}
	.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs {
		display: flex;
		margin: 0 -5px;
		padding: 5px 0 0;
	}
	.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs li {
		float: none;
		width: 25%;
		margin: 0;
		padding: 5px;
	}
}
.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs li img {
	opacity: 0.5;
	transition: opacity 0.2s;
}
.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs li img:hover {
	opacity: 1;
}
.woocommerce div.product.scheda-prodotto span.onsale {
	top: 0.875rem;
	left: 0.875rem;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 2px 8px;
	border-radius: 0;
	background: var(--verde);
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 0.9375rem;
	text-transform: uppercase;
	z-index: 3;
}
@media (min-width: 1025px) {
	.woocommerce div.product.scheda-prodotto span.onsale { left: calc(4.8125rem + 0.875rem); }
}

/* dati a destra */
.product_infos .woocommerce-breadcrumb {
	display: block;
	margin: 0 0 1.5625rem;
	line-height: 1.125rem;
}
@media (max-width: 1023px) {
	.product_infos .woocommerce-breadcrumb { display: block; margin-top: 0; }
}
.woocommerce div.product.scheda-prodotto .product_title {
	margin: 0 0 1.3125rem;
	font-size: 2.5544rem;
	line-height: 1.13;
}
@media (max-width: 1024px) {
	.woocommerce div.product.scheda-prodotto .product_title {
		margin-bottom: 1.875rem;
		font-size: 1.4438rem;
	}
}
@media (max-width: 767px) {
	.woocommerce div.product.scheda-prodotto .product_title { margin-bottom: 1.3125rem; }
}
.woocommerce div.product.scheda-prodotto .product_infos p.price,
.woocommerce div.product.scheda-prodotto .product_infos span.price {
	margin: 0 0 1.25rem;
	color: var(--verde);
	font-family: var(--font-titoli);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.5;
}
.woocommerce div.product.scheda-prodotto .product_infos .price del { color: #333333; opacity: 0.7; }
.woocommerce div.product.scheda-prodotto .product_infos .price ins { text-decoration: none; padding-left: 0.25rem; }
.woocommerce-product-details__short-description {
	margin: 0 0 2.5rem;
}
.out_of_stock_badge_single {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 2px 7px 0;
	background: #808080;
	color: var(--bianco);
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 0.9375rem;
	text-transform: uppercase;
}

/* varianti */
.woocommerce div.product.scheda-prodotto form.cart .variations {
	margin: 0;
	border: 0;
}
.woocommerce div.product.scheda-prodotto form.cart .variations th,
.woocommerce div.product.scheda-prodotto form.cart .variations td {
	display: block;
	padding: 0;
	line-height: 1.625rem;
	text-align: left;
}
.woocommerce div.product.scheda-prodotto form.cart .variations label {
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--nero);
}
.woocommerce div.product.scheda-prodotto form.cart .variations select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	min-width: 0;
	margin: 0 0 1.5rem;
	padding: 0.5rem 2.625rem 0.5rem 0.5rem;
	border: 1px solid rgba(51, 51, 51, 0.1);
	border-radius: 0;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23333' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 1rem center;
	color: #444444;
	font-family: var(--font-testo);
	font-size: 0.875rem;
	line-height: 1.5;
}
.woocommerce div.product.scheda-prodotto form.cart .reset_variations {
	font-family: var(--font-titoli);
	font-size: 0.6875rem;
	text-transform: uppercase;
	color: rgba(51, 51, 51, 0.55);
}
.woocommerce div.product.scheda-prodotto .single_variation_wrap .woocommerce-variation-price .price {
	margin-bottom: 1rem;
}

/* quantità e carrello */
.woocommerce div.product.scheda-prodotto form.cart {
	margin: 0 0 2.5rem;
}
.woocommerce div.product.scheda-prodotto form.cart div.quantity {
	float: none;
	display: inline-block;
	margin: 0 1.4375rem 0 0;
	vertical-align: top;
}
.woocommerce div.product.scheda-prodotto .quantity .qty {
	width: 3.1875rem;
	height: 3.25rem;
	padding: 0;
	border: 1px solid rgba(51, 51, 51, 0.1);
	border-radius: 0;
	background: var(--bianco);
	color: var(--testo);
	font-family: var(--font-titoli);
	font-size: 0.875rem;
	text-align: center;
}
.woocommerce div.product.scheda-prodotto form.cart .button,
.woocommerce div.product.scheda-prodotto button#trigger_askforit {
	float: none;
	min-width: 13.75rem;
	height: 3.1875rem;
	padding: 1.125rem 1rem 0.9375rem;
	border-radius: 0;
	background: var(--verde);
	color: var(--bianco);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	vertical-align: top;
}
.woocommerce div.product.scheda-prodotto form.cart .button:hover {
	background: rgba(23, 154, 40, 0.7);
}
.woocommerce div.product.scheda-prodotto form.cart .button.disabled,
.woocommerce div.product.scheda-prodotto form.cart .button:disabled {
	opacity: 0.5;
}

/* wishlist (YITH), con la lineetta grigia sotto come Shopkeeper */
.product_infos .yith-wcwl-add-to-wishlist {
	margin: 0 0 2.1875rem;
}
.product_infos .yith-wcwl-add-to-wishlist::after {
	content: '';
	display: block;
	width: 2.5rem;
	margin-top: 1.0625rem;
	border-top: 1px solid rgba(51, 51, 51, 0.3);
}
.product_infos .yith-wcwl-add-to-wishlist > div,
.product_infos .yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
	display: block;
	text-align: left;
	justify-content: flex-start;
}
.product_infos .yith-wcwl-add-to-wishlist a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}
.product_infos .yith-wcwl-add-to-wishlist svg {
	width: 1rem;
	height: 1rem;
}
.product_infos .yith-wcwl-add-to-wishlist a:hover { color: var(--verde); }

/* codice, categorie, tag */
.woocommerce div.product.scheda-prodotto .product_meta {
	padding: 1.25rem 0;
	border-top: 0;
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.375rem;
	text-transform: uppercase;
	color: rgba(51, 51, 51, 0.55);
}
.woocommerce div.product.scheda-prodotto .product_meta {
	padding: 0;
}
@media (max-width: 1024px) {
	.woocommerce div.product.scheda-prodotto .product_meta { padding-top: 1.25rem; }
}
.woocommerce div.product.scheda-prodotto .product_meta > span {
	display: block;
}
.woocommerce div.product.scheda-prodotto .product_meta a {
	color: rgba(51, 51, 51, 0.55);
}
.woocommerce div.product.scheda-prodotto .product_meta a:hover { color: var(--nero); }

/* prodotto precedente / successivo: sotto i dati fino a 1024 px; frecce sul bordo destro da 1025 */
.product_navigation {
	display: flex;
	justify-content: space-between;
	padding: 1.25rem 0;
	font-family: var(--font-titoli);
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
}
.product_navigation a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(51, 51, 51, 0.55);
}
.product_navigation .freccia { font-size: 1.25rem; line-height: 1; }
.product_navigation a:hover { color: var(--nero); }
@media (min-width: 1025px) {
	.product_navigation {
		position: fixed;
		top: 50%;
		right: 3.5625rem;
		z-index: 50;
		flex-direction: column;
		padding: 0;
		transform: translateY(-50%);
		animation: babylonia-entra-destra 0.6s ease 0.4s both;
	}
	.product_navigation .testo {
		position: absolute !important;
		width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
	}
	.product_navigation a {
		justify-content: center;
		width: 2.375rem;
		height: 2.375rem;
		margin: 0.625rem 0;
		padding-top: 3px;
		border-radius: 50%;
		background: var(--bianco);
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	}
	.product_navigation .freccia { font-size: 1.5rem; }
}
@keyframes babylonia-entra-destra { from { transform: translate(6rem, -50%); } to { transform: translate(0, -50%); } }
@media (prefers-reduced-motion: reduce) {
	.product_navigation { animation: none; }
}

/* schede: Descrizione / Informazioni aggiuntive / Recensioni, centrate */
.woocommerce div.product.scheda-prodotto .woocommerce-tabs {
	clear: both;
	padding-top: 2.5rem;
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 2.5rem;
	margin: 0 0 3.125rem;
	padding: 0;
}
/* niente linea grigia a tutta pagina sotto le schede (2026-11-26): #content per battere la regola di WooCommerce */
#content div.product.scheda-prodotto .woocommerce-tabs ul.tabs::before,
#content div.product.scheda-prodotto .woocommerce-tabs ul.tabs::after { content: none; display: none; border: 0; }
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li {
	flex: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li::after { display: none; }
/* scheda attiva: lineetta verde sotto il testo, che cresce dal centro (anche al passaggio) */
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li a {
	position: relative;
	display: block;
	padding: 0.5rem 0 0.75rem;
	border: 0;
	color: rgba(0, 0, 0, 0.4);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: color 0.2s;
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--verde);
	transition: width 0.25s ease, left 0.25s ease;
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li a:hover { color: var(--nero); }
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li.active a { color: var(--nero); }
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li.active a::after,
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li a:hover::after { left: 0; width: 100%; }
.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li a:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
@media (max-width: 767px) {
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs { gap: 0.25rem 1.5rem; margin-bottom: 2rem; }
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs .panel {
	margin: 0 auto;
}
@media (min-width: 1025px) {
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs .panel {
		max-width: calc((100% + 1.875rem) * 8 / 12 - 1.875rem);
	}
}
@media (min-width: 1200px) {
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs .panel {
		max-width: calc((100% + 1.875rem) / 2 - 1.875rem);
	}
}
@media (max-width: 1024px) {
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs {
		padding: 2.5rem 3.75rem 0;
	}
}
@media (max-width: 767px) {
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs { padding: 2.5rem 1.875rem 0; }
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs { margin-bottom: 1.25rem; }
	.woocommerce div.product.scheda-prodotto .woocommerce-tabs ul.tabs li { display: block; margin: 0 0.9375rem; }
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs .panel table {
	margin: 0 0 2.5rem;
}
.woocommerce table.shop_attributes {
	border-top: 1px solid rgba(51, 51, 51, 0.1);
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(51, 51, 51, 0.1);
	background: none !important;
	font-style: normal;
}

/* correlati */
.scheda-prodotto section.related {
	margin: 0 auto;
}
@media (min-width: 1200px) {
	.scheda-prodotto section.related { width: calc((100% + 1.875rem) * 10 / 12 - 1.875rem); }
}
@media (min-width: 1440px) {
	.scheda-prodotto section.related { width: calc((100% + 1.875rem) * 9 / 12 - 1.875rem); }
}
@media (max-width: 1024px) {
	.scheda-prodotto section.related { padding: 0 3.75rem; }
}
@media (max-width: 767px) {
	.scheda-prodotto section.related { padding: 0 1.875rem; }
}
.scheda-prodotto section.related > h2 {
	margin: 6.25rem 0 2.8125rem;
	font-size: 0.8125rem;
	line-height: 1.13;
	text-align: center;
	text-transform: uppercase;
}
@media (max-width: 1023px) {
	.scheda-prodotto section.related > h2 { margin: 2.5rem 0 1.5625rem; }
}

/* WooCommerce ha regole con #content (es. «.woocommerce #content div.product div.images { width: 48% }»)
   che battono quelle normali: qui le stesse proprietà con #content, per la disposizione di Shopkeeper. */
.woocommerce #content div.product.scheda-prodotto div.images,
.woocommerce #content div.product.scheda-prodotto div.summary {
	float: none;
	width: 100%;
}
.woocommerce #content div.product.scheda-prodotto .woocommerce-tabs ul.tabs li {
	display: inline-block;
	margin: 0 0.9375rem 0 0;
	padding: 0;
}
@media (max-width: 767px) {
	.woocommerce #content div.product.scheda-prodotto .woocommerce-tabs ul.tabs li {
		display: block;
		margin: 0 0.9375rem;
	}
}
.woocommerce div.product.scheda-prodotto .woocommerce-tabs .panel table {
	width: 100%;
}
@media (max-width: 1024px) {
	.woocommerce div.product.scheda-prodotto .product_infos p.price,
	.woocommerce div.product.scheda-prodotto .product_infos span.price {
		margin: 0;
		padding-bottom: 0.9375rem;
	}
}
.product_infos .yith-wcwl-add-to-wishlist {
	text-align: left;
}

/* tabella delle caratteristiche: nomi a sinistra e in grassetto anche su telefono */
.woocommerce div.product.scheda-prodotto .woocommerce-Tabs-panel table th {
	text-align: left;
	font-weight: 700;
}

/* ==========================================================================
   Carrello e cassa (template standard di WooCommerce ridisegnati, come Shopkeeper)
   ========================================================================== */

/* avviso di conferma in alto a destra (assets/negozio.js) */
.avviso-negozio {
	position: fixed;
	top: 3.9375rem;
	right: 3.4375rem;
	z-index: 400;
	display: flex;
	align-items: stretch;
	width: min(29rem, calc(100vw - 2rem));
	background: var(--verde);
	color: var(--bianco);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
	animation: babylonia-avviso 0.3s ease both;
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.avviso-negozio--via { opacity: 0; transform: translateY(-0.5rem); }
@keyframes babylonia-avviso { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: none; } }
.avviso-negozio__icona {
	flex: none;
	width: 5.625rem;
	background: rgba(0, 0, 0, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='20' viewBox='0 0 22 20' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M1 1h20v14H8l-5 4v-4H1z'/%3E%3Cpath d='M6 6h10M6 10h7'/%3E%3C/svg%3E") no-repeat center;
}
.avviso-negozio .woocommerce-message {
	flex: 1;
	margin: 0;
	padding: 1.25rem 1.5rem;
	border: 0;
	background: none;
	color: var(--bianco);
	font-family: var(--font-titoli);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}
.avviso-negozio .woocommerce-message::before { display: none; }
.avviso-negozio .woocommerce-message .button,
.avviso-negozio .woocommerce-message a {
	float: none;
	display: inline;
	margin: 0 0 0 0.25rem;
	padding: 0;
	background: none;
	color: var(--bianco);
	font-size: 0.8125rem;
	text-transform: uppercase;
}
.avviso-negozio .woocommerce-message .button::after { content: ' →'; }
.avviso-negozio__chiudi {
	flex: none;
	align-self: flex-start;
	padding: 0.25rem 0.5rem;
	border: 0;
	background: none;
	color: var(--bianco);
	font-size: 1.25rem;
	cursor: pointer;
}
@media (max-width: 767px) {
	.avviso-negozio { top: 3.6rem; right: 1rem; }
	.avviso-negozio__icona { width: 3.5rem; }
}

/* titolo della pagina Carrello: più spazio sotto */
.woocommerce-cart .page-title { margin-bottom: 4.0625rem; }
@media (max-width: 767px) { .woocommerce-cart .page-title { margin-bottom: 0.9375rem; } }

/* disposizione: carrello a sinistra (60 %), totali a destra (35 %) */
.woocommerce-cart .entry-content > .woocommerce {
	display: grid;
	grid-template-columns: 60.05% 35%;
	justify-content: space-between;
	align-items: start;
	padding: 0 1.4375rem;
}
.woocommerce-cart .entry-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .entry-content > .woocommerce > .cart-empty,
.woocommerce-cart .entry-content > .woocommerce > .return-to-shop,
.woocommerce-cart .entry-content > .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }

/* carrello vuoto (2026-11-27): al posto del box azzurro e del bottone grigio di WooCommerce,
   messaggio centrato col filo verde (come gli avvisi dell'area account) e bottone verde del sito */
.woocommerce-cart .wc-empty-cart-message,
.woocommerce-cart .return-to-shop { width: 100%; max-width: 40rem; margin-right: auto; margin-left: auto; text-align: center; }
.woocommerce-cart .woocommerce-info.cart-empty {
	max-width: 40rem; /* anche quando arriva senza contenitore, dopo aver tolto l'ultimo prodotto */
	margin: 0 auto 2rem;
	padding: 1.5rem;
	border: 0;
	border-left: 3px solid var(--verde);
	background: rgba(51, 51, 51, 0.05);
	color: var(--testo);
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
}
.woocommerce-cart .woocommerce-info.cart-empty::before { display: none; }
.woocommerce-cart .return-to-shop { margin-bottom: 6.25rem; }
.woocommerce-cart .return-to-shop .button.wc-backward {
	min-width: 13.75rem;
	padding: 1.125rem 1rem 0.9375rem;
	border-radius: 0;
	background: var(--verde);
	color: var(--bianco);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
}
.woocommerce-cart .return-to-shop .button.wc-backward:hover { background: rgba(23, 154, 40, 0.7); color: var(--bianco); }
@media (max-width: 767px) {
	.woocommerce-cart .return-to-shop .button.wc-backward { width: 100%; }
}
@media (max-width: 1024px) {
	.woocommerce-cart .entry-content > .woocommerce { display: block; padding: 0; }
}

/* tabella dei prodotti senza intestazioni e senza riquadro */
.woocommerce-cart-form { margin: 0 0 6.25rem; }
.woocommerce table.shop_table.cart {
	margin: 0;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
}
.woocommerce table.shop_table.cart thead { display: none; }
.woocommerce table.shop_table.cart tr.cart_item { border-bottom: 1px solid rgba(51, 51, 51, 0.1); }
.woocommerce table.shop_table.cart td {
	padding: 0 0.9375rem 0.9375rem;
	border: 0;
	vertical-align: middle;
}
.woocommerce table.shop_table.cart td.product-remove { padding: 0; width: 2.375rem; }
.woocommerce table.shop_table.cart td.product-subtotal { padding-right: 0; }
.woocommerce table.shop_table.cart td.product-thumbnail { width: 9.5625rem; }
.woocommerce table.shop_table.cart td.product-thumbnail img { width: 7.6875rem; height: auto; max-width: none; }
.woocommerce table.shop_table.cart td.product-name a {
	color: var(--nero);
	font-family: var(--font-titoli);
	font-weight: 700;
}
.woocommerce table.shop_table.cart td.product-price,
.woocommerce table.shop_table.cart td.product-subtotal {
	font-family: var(--font-testo);
	font-size: 1rem;
}
.woocommerce table.shop_table.cart td.product-quantity .qty {
	width: 3.1875rem;
	height: 2.5rem;
	padding: 0.5rem;
	border: 1px solid rgba(51, 51, 51, 0.1);
	border-radius: 0;
	font-family: var(--font-titoli);
	font-size: 0.875rem;
	text-align: center;
}
.woocommerce a.remove {
	width: 1rem;
	height: 1rem;
	color: #aa0000 !important;
	font-size: 1rem;
	line-height: 1rem;
}
.woocommerce a.remove:hover { background: none; color: var(--nero) !important; }

/* codice promozionale e «Aggiorna carrello» (nascosto finché non serve) */
.woocommerce table.shop_table.cart td.actions {
	padding: 2.5rem 0 0;
	text-align: left;
}
.woocommerce table.shop_table.cart td.actions .coupon {
	position: relative;
	display: flex;
	align-items: center;
	float: none;
	padding: 0 3.328rem 2.5rem;
	border-bottom: 1px solid rgba(51, 51, 51, 0.1);
}
.woocommerce table.shop_table.cart td.actions .coupon::before {
	content: '';
	position: absolute;
	left: 3.328rem;
	top: calc((3.125rem - 1.0625rem) / 2);
	width: 1.375rem;
	height: 1.0625rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='17' viewBox='0 0 22 17' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Crect x='1' y='1' width='20' height='15'/%3E%3Cpath d='M7 12l8-7'/%3E%3Ccircle cx='8' cy='6' r='1.3'/%3E%3Ccircle cx='14' cy='11' r='1.3'/%3E%3C/svg%3E") no-repeat center;
}
.woocommerce table.shop_table.cart td.actions .coupon label { display: none; }
.woocommerce table.shop_table.cart td.actions .coupon .input-text {
	flex: 1;
	width: auto;
	height: 3.125rem;
	margin: 0 1.5625rem 0 0;
	padding: 1.25rem 1.25rem 1.25rem 2.625rem;
	border: 0;
	background: transparent;
	font-family: var(--font-titoli);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--testo);
}
.woocommerce table.shop_table.cart td.actions .coupon .button,
.woocommerce table.shop_table.cart td.actions > .button {
	height: 3.125rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce table.shop_table.cart td.actions .coupon .button:hover,
.woocommerce table.shop_table.cart td.actions > .button:hover { background: none; color: var(--verde); }
.woocommerce table.shop_table.cart td.actions > .button {
	float: none;
	display: block;
	width: 100%;
	height: auto;
	padding: 1.875rem 0 0;
	text-align: center;
}
.woocommerce table.shop_table.cart td.actions > .button:disabled,
.woocommerce table.shop_table.cart td.actions > .button[disabled] { visibility: hidden; }

/* totali: riquadro grigio */
.woocommerce .cart-collaterals {
	width: auto;
	margin: 0 0 2.5rem;
	background: rgba(51, 51, 51, 0.05);
}
.woocommerce .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	padding: 2.5rem 2.5rem 1.875rem;
}
.woocommerce .cart-collaterals .cart_totals h2 {
	margin: 0 0 0.9375rem;
	padding: 0 0 0.9375rem;
	border-bottom: 1px solid rgba(51, 51, 51, 0.15);
	font-size: 0.8125rem;
	line-height: 1.13;
	text-transform: uppercase;
}
.woocommerce .cart_totals table.shop_table {
	margin: 0;
	border: 0;
	border-radius: 0;
}
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
	padding: 0.9375rem 0 0.9375rem 0.9375rem;
	border: 0;
	background: none;
	color: var(--nero);
	font-size: 0.8125rem;
	line-height: 1.5;
	vertical-align: top;
}
.woocommerce .cart_totals table.shop_table th {
	width: 6.25rem;
	padding-left: 0;
	padding-right: 0.9375rem;
	font-family: var(--font-titoli);
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce .cart_totals table.shop_table td { font-family: var(--font-testo); }
.woocommerce .cart_totals table.shop_table tr.order-total th,
.woocommerce .cart_totals table.shop_table tr.order-total td { border-top: 1px solid rgba(51, 51, 51, 0.15); vertical-align: middle; }
.woocommerce .cart_totals .order-total .amount {
	font-family: var(--font-titoli);
	font-size: 1.5rem;
	font-weight: 700;
}
.woocommerce .cart_totals .shipping-calculator-button {
	color: var(--verde);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce .cart_totals .shipping-calculator-button::after { display: none; }
.woocommerce .cart_totals .woocommerce-shipping-destination { margin: 0 0 0.3rem; font-size: 0.8125rem; }
.woocommerce .wc-proceed-to-checkout { padding: 0.9375rem 0 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	display: block;
	margin: 0;
	padding: 1.125rem 1rem 0.9375rem;
	border-radius: 0;
	background: var(--verde);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: rgba(23, 154, 40, 0.7); }
.continua-acquisti {
	display: block;
	margin: 4.0625rem 0 0;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}
.continua-acquisti:hover { color: var(--verde); }
/* il link sta fuori dal riquadro grigio, come nell'originale */
.woocommerce .cart-collaterals { margin-bottom: 0; }
.woocommerce .cart-collaterals .cart_totals { position: relative; }
.woocommerce .cart-collaterals .continua-acquisti { position: absolute; left: 0; right: 0; bottom: -4.875rem; margin: 0; }
.woocommerce-cart .entry-content > .woocommerce { padding-bottom: 5rem; }

@media (max-width: 767px) {
	.woocommerce-cart-form { margin-bottom: 3.75rem; }
	.woocommerce .cart-collaterals { margin: 0 -1.875rem; }
	.woocommerce .cart-collaterals .cart_totals { padding: 2.5rem 3.75rem 1.875rem; }
	.woocommerce table.shop_table_responsive.cart tr td { padding: 0.9375rem 0; text-align: right; }
	.woocommerce table.shop_table_responsive.cart tr td.product-remove { padding: 2.1875rem 0 0; }
	.woocommerce table.shop_table_responsive.cart tr td.product-thumbnail { display: block; padding: 0.9375rem 0 2.1875rem; text-align: center; width: auto; }
	.woocommerce table.shop_table_responsive.cart tr td.product-thumbnail img { width: 10.3125rem; }
	.woocommerce table.shop_table_responsive.cart tr td.product-subtotal { padding-bottom: 2.1875rem; }
	.woocommerce table.shop_table_responsive.cart tr td::before { font-family: var(--font-titoli); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: var(--nero); }
	.woocommerce table.shop_table.cart td.actions .coupon { padding: 0 0 2.5rem; }
	.woocommerce table.shop_table.cart td.actions .coupon::before { left: 0; }
}

/* ---------- Cassa ---------- */
/* «Sei già un cliente?» e «Hai un codice promozionale?»: righe centrate con icona, al posto dei box */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	content: '';
	position: static;
	display: inline-block;
	width: 1.375rem;
	height: 1.25rem;
	margin: 0 0.75rem -0.25rem 0;
	background: no-repeat center;
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='10' r='3.3'/%3E%3Cpath d='M6.4 18.6c1.3-2.2 3.3-3.4 5.6-3.4s4.3 1.2 5.6 3.4'/%3E%3C/svg%3E");
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='17' viewBox='0 0 22 17' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Crect x='1' y='1' width='20' height='15'/%3E%3Cpath d='M7 12l8-7'/%3E%3Ccircle cx='8' cy='6' r='1.3'/%3E%3Ccircle cx='14' cy='11' r='1.3'/%3E%3C/svg%3E");
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
	margin-left: 0.5rem;
	color: var(--verde);
	font-size: 0.8125rem;
	text-transform: uppercase;
}
.woocommerce-checkout .woocommerce-form-login-toggle { margin-top: 1.5rem; }
.messaggio-spedizione-gratuita p { margin: 0; }

/* disposizione: dati a sinistra, riepilogo nel riquadro grigio a destra */
.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: 62.2% minmax(0, 1fr);
	align-items: start;
	margin: 2.8125rem 1.4375rem 0;
}
.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
.woocommerce-checkout form.checkout #customer_details {
	grid-column: 1;
	grid-row: 2;
	margin: 2.8125rem 0 0;
	padding: 0 5.625rem 0 0.625rem;
}
.woocommerce-checkout form.checkout #order_review_heading { display: none; }
.woocommerce-checkout form.checkout #order_review {
	grid-column: 2;
	grid-row: 2;
	margin: 2.8125rem 0 0;
	padding: 1.25rem 2.5rem 2.5rem;
	background: rgba(84, 84, 84, 0.05);
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 { float: none; width: 100%; }
.woocommerce .col2-set .col-2 { margin-top: 1.875rem; }
@media (max-width: 1024px) {
	.woocommerce-checkout form.checkout { display: block; margin: 2.8125rem 0 0; }
	.woocommerce-checkout form.checkout #customer_details { margin: 0; padding: 0; }
	.woocommerce-checkout form.checkout #order_review { margin: 3.125rem -3.75rem 0; padding: 0.625rem 3.75rem 1.875rem; }
}
@media (max-width: 767px) {
	.woocommerce-checkout form.checkout #order_review { margin: 3.125rem -1.875rem 0; padding: 0.625rem 2.375rem 1.875rem; }
}

/* titoli, etichette, campi */
.woocommerce-checkout h3,
.woocommerce-checkout #ship-to-different-address {
	margin: 0 0 0.5rem;
	font-family: var(--font-titoli);
	font-size: 1.4375rem;
	font-weight: 600; /* titoli a 600 (2026-11-26) */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--nero);
}
@media (max-width: 767px) {
	.woocommerce-checkout h3,
	.woocommerce-checkout #ship-to-different-address { font-size: 0.8125rem; }
}
.woocommerce-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 0.75rem; font: inherit; text-transform: inherit; }
.woocommerce form .form-row { margin: 0 0 1.25rem; padding: 0; }
.woocommerce form .form-row label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
	margin: 0.5rem 0 1px;
	color: var(--testo);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.625rem;
	text-transform: uppercase;
}
.woocommerce form .form-row label.checkbox,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label { text-transform: none; }
.woocommerce form .form-row #createaccount + span,
.woocommerce form .form-row label.checkbox span { text-transform: uppercase; }
.woocommerce form .form-row .required { color: rgba(51, 51, 51, 0.4); text-decoration: none; font-weight: 400; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	padding: 0.4375rem;
	border: 1px solid rgba(51, 51, 51, 0.35);
	border-radius: 4px;
	background: var(--bianco);
	color: var(--nero);
	font-family: var(--font-testo);
	font-size: 0.875rem;
	line-height: normal;
}
.woocommerce form .form-row textarea { height: 6.25rem; }
.woocommerce form .form-row .input-text::placeholder { color: rgba(51, 51, 51, 0.4); }
.woocommerce form .form-row .select2-container .select2-selection--single {
	height: 2.0625rem;
	border: 1px solid rgba(51, 51, 51, 0.35);
	border-radius: 4px;
}
.woocommerce form .form-row .select2-container .select2-selection__rendered { line-height: 2rem; font-size: 0.875rem; }
.woocommerce form .form-row .woocommerce-input-wrapper strong { font-family: var(--font-testo); font-weight: 700; }

/* riepilogo dell'ordine */
.woocommerce-checkout-review-order-table.shop_table {
	margin: 0.75rem 0 0;
	border: 0;
	border-radius: 0;
}
.woocommerce table.woocommerce-checkout-review-order-table th,
.woocommerce table.woocommerce-checkout-review-order-table td {
	padding: 0.625rem 0;
	border-top: 1px solid rgba(51, 51, 51, 0.15);
	background: none;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
}
.woocommerce table.woocommerce-checkout-review-order-table thead th {
	padding: 0.9375rem 0.9375rem 0.9375rem 0;
	border-top: 0;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce table.woocommerce-checkout-review-order-table thead th.product-total,
.woocommerce table.woocommerce-checkout-review-order-table td.product-total { text-align: right; padding-right: 0; }
.woocommerce table.woocommerce-checkout-review-order-table td.product-total { font-weight: 700; }
.woocommerce table.woocommerce-checkout-review-order-table tfoot th {
	padding-right: 0.9375rem;
	border-top: 0;
	font-weight: 700;
	text-transform: uppercase;
	vertical-align: top;
}
.woocommerce table.woocommerce-checkout-review-order-table tfoot td { border-top: 0; font-weight: 700; }
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td { padding-top: 2.1875rem; }
.woocommerce table.woocommerce-checkout-review-order-table .order-total .amount {
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.35;
}
.woocommerce ul#shipping_method { margin: 0; }
.woocommerce ul#shipping_method li { display: flex; align-items: center; margin: 0 0 0.5rem; text-indent: 0; }
.woocommerce ul#shipping_method li label {
	margin: 0;
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--nero);
}
.woocommerce ul#shipping_method li input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 1.0625rem;
	height: 1.0625rem;
	margin: 0 0.625rem 0 0;
	border: 2px solid rgba(51, 51, 51, 0.8);
	border-radius: 50%;
	background: var(--bianco);
	cursor: pointer;
}
.woocommerce ul#shipping_method li input[type="radio"]:checked {
	border-color: var(--verde);
	background: radial-gradient(circle, var(--verde) 0 40%, var(--bianco) 46%);
}

/* pagamento, privacy, termini, «Effettua ordine» */
.woocommerce-checkout #payment {
	border-radius: 0;
	background: none;
}
.woocommerce-checkout #payment ul.payment_methods {
	padding: 2.1875rem 0 0;
	border: 0;
}
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.3; }
.woocommerce-checkout #payment ul.payment_methods li > label {
	margin: 0 0.625rem 0.875rem 0;
	color: var(--nero);
	font-family: var(--font-titoli);
	font-size: 1rem;
	font-weight: 700;
}
.woocommerce-checkout #payment div.payment_box {
	margin: 1.25rem 0 0;
	padding: 1rem;
	border-radius: 5px;
	background: rgba(51, 51, 51, 0.05);
	color: var(--testo);
	font-size: 0.75rem;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.payment_box p { font-size: 0.75rem; }
.woocommerce-checkout #payment div.form-row { padding: 3.125rem 0 0; }
.woocommerce-checkout .woocommerce-privacy-policy-text p {
	margin: -2px 0 0.8125rem;
	font-size: 0.75rem;
	line-height: 1.4285;
}
.woocommerce-checkout #payment #place_order {
	float: none;
	width: 100%;
	margin: 1.25rem 0 0;
	padding: 1.125rem 1rem 0.9375rem;
	border-radius: 0;
	background: var(--verde);
	font-family: var(--font-titoli);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce-checkout #payment #place_order:hover { background: rgba(23, 154, 40, 0.7); }

/* caselle di spunta della cassa: quadrate come quelle dei moduli */
.woocommerce-checkout form input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	width: 1.0625rem;
	height: 1.0625rem;
	margin: 0 0.625rem 0 0;
	border: 2px solid rgba(51, 51, 51, 0.8);
	border-radius: 0;
	background: var(--bianco);
	vertical-align: -0.2rem;
	cursor: pointer;
}
.woocommerce-checkout form input[type="checkbox"]:checked { border-color: var(--verde); background: var(--verde); }
.woocommerce-checkout form input[type="checkbox"]:checked::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 0;
	width: 5px;
	height: 10px;
	border-right: 2px solid var(--bianco);
	border-bottom: 2px solid var(--bianco);
	transform: rotate(45deg);
}
.woocommerce-checkout form input[type="checkbox"]:focus-visible,
.woocommerce ul#shipping_method li input[type="radio"]:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }

/* correzioni dopo il confronto */
.woocommerce table.shop_table.cart td.actions .coupon { width: 100%; box-sizing: border-box; }
.woocommerce table.shop_table.cart td.actions .coupon .input-text { flex: 1 1 auto; min-width: 0; }
.woocommerce table.shop_table.woocommerce-checkout-review-order-table { border: 0; border-collapse: collapse; }
.woocommerce-checkout form input[type="checkbox"],
.woocommerce form .form-row .input-checkbox { display: inline-block !important; flex: none; }

/* (le caselle della cassa valgono solo dentro i moduli: fuori c'è la casella nascosta dell'infopanel) */

/* carrello: colonne come Shopkeeper (solo quando è una tabella, da 768 px) */
@media (min-width: 768px) {
	.woocommerce table.shop_table.cart td.product-price,
	.woocommerce table.shop_table.cart td.product-quantity,
	.woocommerce table.shop_table.cart td.product-subtotal { width: 7.1875rem; }
}
/* pulsanti verdi alti 51 px */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order { line-height: 1.4; }
.woocommerce .cart_totals .order-total .amount { line-height: 1.2; }

/* cassa: stessi margini laterali del carrello (83 px a 1440: 60 + 23) */
@media (min-width: 1025px) {
	.woocommerce-checkout .pagina .entry-content { padding-left: 5.1875rem; padding-right: 5.1875rem; }
}
.woocommerce-checkout form.checkout { margin-left: 0; margin-right: 0; }
.woocommerce form .form-row textarea#order_comments { min-height: 6.25rem; }
.woocommerce-checkout #ship-to-different-address { line-height: 1.2; }
.woocommerce table.woocommerce-checkout-review-order-table th.product-name,
.woocommerce table.woocommerce-checkout-review-order-table td.product-name { width: 55%; }

/* telefono: immagine del prodotto nel carrello (WooCommerce la nasconde, Shopkeeper la mostrava), × a destra */
@media (max-width: 767px) {
	.woocommerce-page table.cart td.product-thumbnail,
	.woocommerce table.cart td.product-thumbnail { display: block !important; }
	.woocommerce table.shop_table_responsive.cart tr td.product-thumbnail::before { display: none; }
	.woocommerce table.shop_table_responsive.cart tr td.product-remove { width: auto; text-align: right !important; }
	.woocommerce table.shop_table_responsive.cart tr td.product-thumbnail { text-align: center !important; }
	.woocommerce table.shop_table_responsive.cart tr td.product-remove::before { display: none; }
}
.woocommerce-checkout #ship-to-different-address { margin-bottom: 1.875rem; }
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive.cart tr td.product-remove a.remove { float: right; }
	.woocommerce table.shop_table_responsive.cart tr td.product-remove::after { content: ''; display: table; clear: both; }
}
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive.cart tr td.actions { background: none; }
	.woocommerce table.shop_table_responsive.cart tr td.product-name { font-size: 0.85rem; }
	/* totali del carrello: tabella anche su telefono, come Shopkeeper (WooCommerce li impilerebbe) */
	.woocommerce .cart_totals table.shop_table_responsive tr { display: table-row; }
	.woocommerce .cart_totals table.shop_table_responsive tr th { display: table-cell; }
	.woocommerce .cart_totals table.shop_table_responsive tr td { display: table-cell; text-align: left !important; background: none; }
	.woocommerce .cart_totals table.shop_table_responsive tr td::before { display: none; }
	.woocommerce .cart_totals table.shop_table_responsive tr:nth-child(2n) td { background: none; }
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label span,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text { text-transform: none; }

/* ===== Il mio account: modulo «Accedi» (come Shopkeeper) ===== */
.woocommerce form.woocommerce-form-login .form-row { margin: 0; padding: 0.3125rem 0; }
.woocommerce form.woocommerce-form-login .required { font-weight: 700; }
.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce form.track_order button[type="submit"] {
	float: left;
	width: 100%;
	min-width: 13.75rem;
	margin: 0 0.8125rem 0 0;
	padding: 1.125rem 1rem 0.9375rem;
	border: 0;
	border-radius: 0;
	background: var(--verde);
	color: var(--bianco);
	font-size: 0.8125rem;
	line-height: 1.4;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce form.track_order button[type="submit"]:hover { background: rgba(23, 154, 40, 0.7); color: var(--bianco); }
.woocommerce form.woocommerce-form-login .woocommerce-LostPassword { clear: both; padding-top: 0.3125rem; }
@media (min-width: 768px) {
	.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit,
	.woocommerce form.track_order button[type="submit"] { width: auto; }
}
/* casella «Ricordami» quadrata come quelle della cassa */
.woocommerce-account form input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	width: 1.0625rem;
	height: 1.0625rem;
	margin: 0 0.625rem 0 0;
	border: 2px solid rgba(51, 51, 51, 0.8);
	border-radius: 0;
	background: var(--bianco);
	vertical-align: -0.2rem;
	cursor: pointer;
}
.woocommerce-account form input[type="checkbox"]:checked { border-color: var(--verde); background: var(--verde); }
.woocommerce-account form input[type="checkbox"]:checked::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 0;
	width: 5px;
	height: 10px;
	border-right: 2px solid var(--bianco);
	border-bottom: 2px solid var(--bianco);
	transform: rotate(45deg);
}
.woocommerce-account form input[type="checkbox"]:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }

/* ===== Wishlist (YITH): ridisegnata il 2026-11-26 su richiesta dell'utente (nell'originale foto
   piccola a sinistra e nome isolato a destra). Schede in griglia come quelle del negozio:
   foto, nome sotto, × nell'angolo per togliere il prodotto; «Condividi su» centrato sotto.
   Solo CSS sulla tabella di YITH (le righe diventano schede). ===== */
#yith-wcwl-form { display: flow-root; }
#yith-wcwl-form .wishlist-title-container,
#yith-wcwl-form .wishlist_table thead { display: none; }
#yith-wcwl-form table.wishlist_table { display: block; width: 100%; margin: 0; border: 0; }
#yith-wcwl-form .wishlist_table tbody {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
	gap: 2.5rem 1.875rem;
}
#yith-wcwl-form .wishlist_table tr { position: relative; display: flex; flex-direction: column; }
#yith-wcwl-form .wishlist_table td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}
#yith-wcwl-form .wishlist_table td.product-thumbnail { display: block !important; order: 1; } /* WooCommerce la nasconde fino a 768 px (tabella «cart») */
#yith-wcwl-form .wishlist_table td.product-thumbnail a { display: block; width: 100%; max-width: none; }
#yith-wcwl-form .wishlist_table td.product-thumbnail img {
	display: block;
	width: 100% !important; /* YITH la limita a 80 px */
	max-width: none;
	height: auto;
	aspect-ratio: 350 / 435;
	object-fit: cover;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}
#yith-wcwl-form .wishlist_table td.product-name {
	order: 2;
	padding-top: 1.0625rem;
	font-family: var(--font-testo);
	font-size: 0.8125rem;
	line-height: 1.4;
}
#yith-wcwl-form .wishlist_table td.product-name a { color: var(--nero); font-weight: 400; }
#yith-wcwl-form .wishlist_table td.product-name a:hover { color: var(--verde); }
#yith-wcwl-form .wishlist_table td.product-price,
#yith-wcwl-form .wishlist_table td.product-stock-status,
#yith-wcwl-form .wishlist_table td.product-add-to-cart { order: 3; padding-top: 0.5rem; }
/* × per togliere il prodotto: cerchio bianco nell'angolo della foto */
#yith-wcwl-form .wishlist_table td.product-remove { position: absolute; top: 0.625rem; right: 0.625rem; z-index: 1; }
#yith-wcwl-form .wishlist_table td.product-remove a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0;
	border-radius: 50%;
	background: var(--bianco);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	color: var(--testo) !important; /* WooCommerce: rosso con !important */
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 300;
	transition: background-color 0.2s, color 0.2s;
}
#yith-wcwl-form .wishlist_table td.product-remove a.remove:hover { background: var(--verde); color: var(--bianco) !important; }
#yith-wcwl-form .wishlist_table td.product-remove a.remove:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
/* lista vuota: una riga sola su tutta la larghezza */
#yith-wcwl-form .wishlist_table tr:has(.wishlist-empty) { grid-column: 1 / -1; }
#yith-wcwl-form .wishlist_table td.wishlist-empty { display: block; margin: 2rem 0 2.5rem; padding: 0 1.875rem; font-size: 1.875rem; line-height: 1.2; font-weight: 600; text-align: center; }
#yith-wcwl-form .wishlist-empty::before {
	content: '';
	display: block;
	height: 10.625rem;
	background: #000;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z'/%3E%3C/svg%3E") center / 8rem 8rem no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z'/%3E%3C/svg%3E") center / 8rem 8rem no-repeat;
}
/* Condividi su: centrato sotto le schede */
#yith-wcwl-form .yith-wcwl-share { float: none; margin: 3.75rem 0 0; text-align: center; }
#yith-wcwl-form .yith-wcwl-share h4 {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
#yith-wcwl-form .yith-wcwl-share ul { justify-content: center; margin: 0; padding: 0; }
@media (max-width: 767px) {
	#yith-wcwl-form .wishlist_table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.875rem 1rem; }
	#yith-wcwl-form .wishlist_table td.product-name { font-size: 0.875rem; }
	#yith-wcwl-form .wishlist_table td.wishlist-empty { font-size: 1.375rem; }
}

/* ===== Tracciamento ordine: ridisegnato il 2026-11-26 (l'originale era a tutta larghezza).
   Riquadro centrato come «Accedi» di «Il mio account»; regge anche il modello a tutta larghezza. ===== */
.woocommerce form.track_order {
	box-sizing: border-box;
	max-width: 45rem;
	margin: 0 auto 2rem;
	padding: 2rem;
	border: 1px solid rgba(51, 51, 51, 0.2);
	border-radius: 5px;
	background: none;
}
.woocommerce form.track_order > p:first-child { margin: 0 0 1.25rem; }
.woocommerce form.track_order .form-row { margin: 0; padding: 0.3125rem 0; }
.woocommerce form.track_order .form-row-first,
.woocommerce form.track_order .form-row-last { width: calc(50% - 0.625rem); }
.woocommerce form.track_order .form-row:last-of-type { padding-top: 1rem; }
.woocommerce form.track_order button[type="submit"] { float: none; display: inline-block; margin: 0; }
@media (max-width: 767px) {
	.woocommerce form.track_order { padding: 1.25rem; }
	.woocommerce form.track_order .form-row-first,
	.woocommerce form.track_order .form-row-last { float: none; width: 100%; }
}

/* fase 4c (2026-11-26): su telefono la galleria va da bordo a bordo, quindi niente margine negativo
   sulla fila delle miniature (sbordava di 5 px con 5 o più foto) */
@media (max-width: 767px) {
	.woocommerce div.product.scheda-prodotto div.images .flex-control-thumbs { margin: 0; }
}
