/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Design tokens Vallillo — palette e font ufficiali (CLAUDE.md, vincolanti)
   ========================================================================== */
:root {
	--white:         #FFFFFF;
	--ink:           #1E1E1C;
	--text:          #333333;
	--muted:         #6B6B69;
	--muted-2:       #A5A5A4;
	--border:        #E8E8E8;
	--bg-soft:       #F4F4F4;

	--green:         #046738;
	--green-dark:    #035830;

	--red:           #E00A16;
	--red-dark:      #BE0813;
	--red-tint-90:   #FCE6E8;

	--font:          'Barlow Semi Condensed', sans-serif;
	--font-alt:      'Barlow Condensed', sans-serif;
	--shadow:        0 4px 24px rgba(30, 30, 28, .10);
	--ease:          cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Header (template-parts/header.php) — blindato, non gestito da Elementor
   ========================================================================== */
.header {
	position: sticky;
	top: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 40px;
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid var(--border);
	transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
	padding: 12px 40px;
	box-shadow: var(--shadow);
}

.header__logo { display: flex; align-items: center; }
.header__logo img { height: 48px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 40px; }
.header__logo-text {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 22px;
	color: var(--ink);
}

.header__nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.header__menu { display: contents; list-style: none; margin: 0; padding: 0; }
.header__menu li { list-style: none; }

.menu-item-has-children { position: relative; }
.menu-item-has-children .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	background: var(--white);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	z-index: 10;
}
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu { display: block; }
.sub-menu li { list-style: none; }
.sub-menu a { display: block; padding: 8px 16px; white-space: nowrap; }

.header__nav a {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--ink);
	position: relative;
	padding-bottom: 4px;
	white-space: nowrap;
	text-decoration: none;
}
.header__nav a::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 2px;
	background: currentColor;
	transition: width .25s var(--ease);
}
.header__nav a:hover::after,
.header__nav a:focus-visible::after { width: 100%; }
.header__nav a[aria-current="page"] { color: var(--green); }

.header__actions { display: flex; align-items: center; gap: 18px; }

.header__lang {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .03em;
}
/* Reset generico per l'output di WPML (do_action('wpml_add_language_selector')):
   quasi tutti i template dello switcher (dropdown, elenco orizzontale, con o
   senza bandiere, scelti in WPML → Languages) stampano un ul.wpml-ls > li > a.
   Da rifinire quando il cliente ha scelto il template definitivo. */
.header__lang ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.header__lang a { color: var(--ink); opacity: .6; transition: opacity .2s ease; }
.header__lang a:hover, .header__lang a:focus-visible { opacity: 1; }
.header__lang .wpml-ls-current-language > a { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.header__icon {
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: none;
	border: none;
	border-radius: 0;
	padding: 12px;
	margin: -12px;
	cursor: pointer;
}

.header__search { display: flex; align-items: center; }
input.header__search-input {
	width: 0;
	opacity: 0;
	margin-left: 0;
	padding: 6px 0;
	border: none;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	font-family: var(--font);
	font-size: 14px;
	color: var(--text);
	transition: width .25s var(--ease), opacity .2s var(--ease), margin-left .25s var(--ease);
}
.header__search.is-open .header__search-input {
	width: 160px;
	opacity: 1;
	margin-left: 10px;
}

.header__cart-count {
	position: absolute;
	top: 4px; right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--red);
	color: var(--white);
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

.header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	background: none;
	border: none;
	border-radius: 0;
	padding: 10px;
	margin: -10px -10px -10px 0;
	cursor: pointer;
}

.header a:focus-visible,
.header button:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

@media (max-width: 1180px) {
	.header__nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 20px 40px 28px;
		background: var(--white);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
	}
	.header.nav-open .header__nav { display: flex; }
	.header__burger { display: flex; }
	.header__nav a { display: block; width: 100%; padding: 10px 0; }

	.menu-item-has-children .sub-menu {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 16px;
	}
	.sub-menu a { padding: 8px 0; }
}

@media (max-width: 640px) {
	.header, .header.is-scrolled { padding: 14px 20px; }
	.header__nav { padding-left: 20px; padding-right: 20px; }
	.header__lang { display: none; }

	/* Sotto i 640px non c'è spazio per l'input inline: diventa una barra
	   a tutta larghezza sotto l'header, stesso pattern del dropdown nav. */
	.header__search.is-open { position: static; }
	.header__search.is-open input.header__search-input {
		position: absolute;
		top: 100%; left: 0; right: 0;
		width: auto;
		margin: 0;
		padding: 14px 20px;
		background: var(--white);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
	}
}

/* ==========================================================================
   Footer (template-parts/footer.php) — blindato, non gestito da Elementor
   ========================================================================== */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.footer {
	background: var(--ink);
	color: rgba(255, 255, 255, .72);
	padding: 220px 0 0; /* ponytail: 80px base + 78px overlap pillola newsletter + ~60px di respiro sopra i titoli colonna (vedi proposte/v6-edit.html .newsletter-pill) */
	border-radius: 40px 40px 0 0;
	overflow: hidden;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover,
.footer a:focus-visible { color: var(--white); }
.footer a:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }

.footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 65px; width: auto; filter: brightness(0) invert(1); }
.footer__logo-text { font-family: var(--font-alt); font-weight: 600; font-size: 20px; color: var(--white); }

.footer__about { max-width: 34ch; font-size: 14.5px; margin: 0; }

.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
	width: 40px; height: 40px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, border-color .2s;
}
.footer__social a:hover,
.footer__social a:focus-visible { background: var(--green); border-color: var(--green); }

.footer h4 {
	font-family: var(--font-alt);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--white);
	margin: 0 0 20px;
}
.footer ul li { margin-bottom: 2px; font-size: 14.5px; }
.footer ul li a { display: inline-block; padding: 10px 0; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.8; }
.footer address a { display: inline-block; padding: 3px 0; }

.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 26px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 900px) {
	.footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.footer__top { grid-template-columns: 1fr; }
	.wrap { padding: 0 22px; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Newsletter pillola — template-parts/footer.php, sopra il tag <footer>,
   quindi visibile su tutto il sito (non più gestita da Elementor: due
   tentativi di import falliti per widget non registrati, vedi tasks/todo.md).
   Il contenuto (icona/testo/form/fine-print) è di default nel PHP ma viene
   sovrascritto da un widget "HTML personalizzato" in Aspetto → Widget →
   "Newsletter (pillola footer)", se il cliente ne aggiunge uno.
   ========================================================================== */
.newsletter-pill { padding: 70px 0 0; position: relative; z-index: 2; margin-bottom: -78px; }
.newsletter-pill__bar {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	border-radius: 40px;
	padding: 30px 46px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, .22);
}
.newsletter-pill__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.newsletter-pill__intro { display: flex; align-items: center; gap: 14px; color: #fff; }
/* azzera i margini di default che un widget WP (Testo/HTML, spesso avvolge in
   <p> o <div>) porta con sé — altrimenti rompe l'allineamento verticale con l'icona */
.newsletter-pill__intro > * { margin: 0; }
.newsletter-pill__intro strong,
.newsletter-pill__intro p,
.newsletter-pill__intro div,
.newsletter-pill__headline { font-family: var(--font-alt); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.newsletter-pill__fine {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .2);
	text-align: center;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .8);
}
.newsletter-pill__fine a { text-decoration: underline; color: #fff; }

/* Form semplice (widget HTML nativo — nessuna dipendenza da Elementor Pro,
   non ancora attivo su questo sito, vedi tasks/todo.md). L'invio va collegato
   via JS/plugin newsletter quando si sceglie il provider (doppio opt-in). */
.newsletter-pill__form { display: flex; align-items: center; gap: 10px; }
.newsletter-pill__form input {
	width: 220px;
	padding: 13px 20px;
	border: none;
	border-radius: 100px;
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
}
.newsletter-pill__form input:focus { outline: 2px solid #fff; outline-offset: 2px; }
.newsletter-pill__form button {
	background: #fff;
	color: var(--red);
	border-radius: 100px;
	padding: 13px 26px;
	font-family: var(--font-alt);
	font-weight: 600;
	white-space: nowrap;
	border: none;
	cursor: pointer;
}
.newsletter-pill__form button:hover { background: var(--red-tint-90); }

/* ==========================================================================
   Widget prodotto Elementor/Element Pack Pro — libreria CSS documentata in
   tasks/elementor-widget-css.md, mai incollata finora in style.css. Classi
   reali dei widget (diverse dal mockup statico .pcard), niente prefisso
   "selector" (quello vale solo nel campo CSS-per-widget di Elementor, non
   qui — vedi lezione 2026-07-20 in tasks/lessons.md).
   ========================================================================== */

/* Widget "Più venduti" — bdt-wc-products (griglia) */
.bdt-wc-product-inner {
	background: #fff;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	transition: transform .3s ease, box-shadow .3s ease;
}
.bdt-wc-product-inner:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}
.bdt-wc-product-image {
	aspect-ratio: 1/1;
	background: #F4F4F4;
	padding: 14px;
}
.bdt-wc-product-image img { width: 100%; height: 100%; object-fit: contain; }
.bdt-wc-product-desc { padding: 18px 20px 22px; }

/* testo/prezzo/CTA: catena completa dal wrapper del widget in giù — il CSS di
   default di Element Pack Pro usa selettori altrettanto/più annidati, con
   solo 1-2 classi si perde lo scontro di specificità */
.bdt-wc-products-wrapper .bdt-wc-product .bdt-wc-product-desc .bdt-wc-product-title,
.bdt-wc-products-wrapper .bdt-wc-product .bdt-wc-product-desc .bdt-wc-product-title a {
	font-family: var(--font); font-weight: 600; font-size: 15px; color: var(--ink);
}
.bdt-wc-products-wrapper .bdt-wc-product .bdt-wc-product-desc .bdt-wc-product-price .price,
.bdt-wc-products-wrapper .bdt-wc-product .bdt-wc-product-desc .bdt-wc-product-price .woocommerce-Price-amount {
	font-family: var(--font); font-weight: 700; color: var(--green); font-size: 16px;
}
.bdt-wc-products-wrapper .bdt-wc-product-image .bdt-wc-add-to-cart .add_to_cart_button {
	background: var(--green); color: #fff; border-radius: 50px;
}
.bdt-wc-products-wrapper .bdt-wc-product-image .bdt-wc-add-to-cart .add_to_cart_button:hover {
	background: var(--green-dark);
}
/* se anche così il testo non cambia, il plugin usa !important nel suo CSS:
   in quel caso, ultima risorsa, aggiungere !important qui riga per riga */

/* Widget "Box Degustazione" — bdt-wc-carousel (slider Swiper) */
.bdt-wc-carousel-item-inner {
	background: #fff;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.bdt-wc-carousel-image {
	aspect-ratio: 1/1;
	background: #F4F4F4;
	padding: 14px;
}
.bdt-wc-carousel-image img { width: 100%; height: 100%; object-fit: contain; }
.bdt-wc-carousel-desc-inner .bdt-wc-carousel-title,
.bdt-wc-carousel-desc-inner .bdt-wc-carousel-title a {
	font-family: var(--font); font-weight: 600; font-size: 15px; color: var(--ink);
}

/* Sidebar "Negozio — colonna categorie/filtri" (widget area category-shop,
   incorporata in pagina con il widget nativo Elementor "Sidebar"). Classi
   reali verificate in pagina: widget WooCommerce "Categorie prodotto"
   (.widget_product_categories / ul.product-categories) — stesso principio
   della libreria sopra, niente "selector", classi vere in style.css.
   ".shop-sidebar" è la stessa cosa per le pagine Categoria (vedi
   proposte/vallillo-category-page-v1.html): stesso contenuto/widget, wrapper
   assegnato a mano via campo "CSS Classes" invece del widget nativo Sidebar —
   regole condivise per non duplicare la libreria. */
.elementor-widget-sidebar .widget,
.shop-sidebar .widget {
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--border);
}
.elementor-widget-sidebar .widget:last-child,
.shop-sidebar .widget:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.elementor-widget-sidebar .widget-title,
.shop-sidebar .widget-title {
	font-family: var(--font);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 16px;
}
.elementor-widget-sidebar .product-categories,
.shop-sidebar .product-categories {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.elementor-widget-sidebar .product-categories .cat-item a,
.shop-sidebar .product-categories .cat-item a {
	display: block;
	padding: 8px 2px;
	font-family: var(--font);
	font-size: 16px;
	color: var(--text);
	text-decoration: none;
	transition: color .2s ease, padding-left .2s ease;
}
.elementor-widget-sidebar .product-categories .cat-item a:hover,
.elementor-widget-sidebar .product-categories .cat-item a:focus-visible,
.shop-sidebar .product-categories .cat-item a:hover,
.shop-sidebar .product-categories .cat-item a:focus-visible {
	color: var(--green);
	padding-left: 6px;
}
/* WooCommerce marca .current-cat sull'archivio della categoria attiva */
.elementor-widget-sidebar .product-categories .cat-item.current-cat > a,
.shop-sidebar .product-categories .cat-item.current-cat > a {
	color: var(--green);
	font-weight: 600;
}
/* solo nella pagina Categoria la sidebar resta agganciata mentre si scrolla la griglia */
.shop-sidebar { position: sticky; top: 110px; }

/* Paginazione griglia prodotti Negozio — markup reale verificato in pagina:
   ul.bdt-pagination (JetWooBuilder + Element Pack), li.bdt-active per la
   pagina corrente, freccia successiva con classe jet-woo-builder-navigation-next. */
.bdt-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
}
.bdt-pagination li { display: flex; }
.bdt-pagination a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 4px;
	border-radius: 50%;
	border: 1px solid var(--border);
	font-family: var(--font);
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.bdt-pagination a:hover,
.bdt-pagination a:focus-visible {
	border-color: var(--green);
	color: var(--green);
}
.bdt-pagination li.bdt-active a {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}
/* frecce prev/next: icona SVG con stroke="#000" scritto inline dal plugin —
   una regola CSS normale (senza !important) vince comunque sull'attributo
   di presentazione, quindi basta puntare la polyline con currentColor */
.bdt-pagination .bdt-pagination-next polyline,
.bdt-pagination .bdt-pagination-previous polyline {
	stroke: currentColor;
}

/* ".shop-pagination" — stessa resa visiva di .bdt-pagination sopra, per il
   caso in cui il widget di paginazione della pagina Categoria non sia lo
   stesso Element Pack del Negozio (markup/attivo diverso): assegnare questa
   classe al wrapper via campo "CSS Classes" invece di dipendere dal plugin.
   Stato attivo qui è ".is-active" sull'elemento stesso, non su un <li> padre. */
.shop-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 48px 0 0;
}
.shop-pagination a,
.shop-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 4px;
	border-radius: 50%;
	border: 1px solid var(--border);
	font-family: var(--font);
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.shop-pagination a:hover,
.shop-pagination a:focus-visible {
	border-color: var(--green);
	color: var(--green);
}
.shop-pagination .is-active {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}
.shop-pagination svg polyline { stroke: currentColor; }

/* ==========================================================================
   Pagina Categoria — componenti nuovi introdotti in
   proposte/vallillo-category-page-v1.html. Classi da assegnare a mano nel
   campo "CSS Classes" di Elementor sui rispettivi elementi (stesso pattern
   già usato per .newsletter-pill): non legate a un widget/plugin specifico,
   restano valide qualunque strumento costruisca la pagina.
   ========================================================================== */

.cat-hero { padding: 24px 0 56px; border-bottom: 1px solid var(--border); }
.cat-hero .eyebrow { display: block; margin-bottom: 14px; }
.cat-hero h1 { margin-bottom: 18px; }

.shop-layout { padding: 56px 0 100px; }
.shop-layout__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 56px; align-items: start; }
@media (max-width: 900px) {
	.shop-layout__grid { grid-template-columns: 1fr; gap: 36px; }
}

.shop-grid__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-grid__count { font-family: var(--font-alt); font-size: 14px; color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
@media (max-width: 1180px) {
	.shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.shop-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
	.newsletter-pill { margin-bottom: 0 !important; padding-top: 60px !important; }
	.newsletter-pill__row { flex-direction: column; align-items: stretch; text-align: center; }
	.newsletter-pill__intro { flex-direction: column; }
	.newsletter-pill__form { flex-direction: column; align-items: stretch; }
	.newsletter-pill__form input { width: 100%; }
}

/* ==========================================================================
   Pagina Prodotto (woocommerce/single-product.php) — blindata su file, non
   gestita da Elementor per decisione esplicita del cliente (tasks/todo.md).
   Riferimento: proposte/vallillo-product-page-v2.html, approvato dal
   cliente. Utility condivise (.eyebrow/.btn/.lede/.reveal) vivono qui perché
   questa è la prima pagina non-Elementor che ne ha bisogno oltre a header/footer.
   ========================================================================== */

.eyebrow {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--green);
}
.eyebrow--onDark { color: var(--white); opacity: .85; }

h1, h2, h3 { font-family: var(--font); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(32px, 3.6vw, 48px); }

.lede { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 15px 30px;
	border-radius: 100px;
	border: none;
	cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Breadcrumb (woocommerce_breadcrumb) ---- */
.breadcrumb { padding: 40px 0 18px; font-family: var(--font-alt); font-size: 13px; letter-spacing: .02em; color: var(--muted-2); }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--green); }
/* variante a lista (proposte/vallillo-category-page-v1.html): woocommerce_breadcrumb()
   stampa già testo/separatori inline, ma se la pagina Categoria usa un <ol><li>
   costruito a mano (es. widget breadcrumb di JetWooBuilder/Elementor Pro),
   queste regole aggiuntive coprono anche quel caso senza toccare quella sopra. */
.breadcrumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---- Hero — galleria e acquisto ---- */
.product-hero { padding: 0 0 70px; }
.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.product-gallery { display: flex; gap: 16px; position: sticky; top: 100px; }
.product-gallery__thumbs { display: flex; flex-direction: column; gap: 12px; width: 84px; flex-shrink: 0; }
.product-gallery__thumb { aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; cursor: pointer; padding: 0; border: 3px solid transparent; background: none; transition: border-color .2s; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb:hover, .product-gallery__thumb.is-active { border-color: var(--green); }
.product-gallery__thumb:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }
.product-gallery__main { flex: 1; aspect-ratio: 4/5; background: var(--bg-soft); border-radius: 28px; overflow: hidden; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.product-buy__title { font-size: clamp(30px, 3.2vw, 42px); margin: 14px 0 16px; }
.product-buy__desc { color: var(--muted); margin-bottom: 26px; max-width: 48ch; }
.product-buy__desc p { color: inherit; margin: 0; }

.product-buy__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.product-buy__price-value { font-family: var(--font-alt); font-weight: 700; font-size: 30px; color: var(--ink); }
.product-buy__price-value ins { text-decoration: none; }
.product-buy__price-value del { opacity: .5; font-size: .7em; margin-right: 6px; }
.product-buy__price-note { font-size: 13px; color: var(--muted-2); margin-bottom: 26px; }
.product-buy__stock { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

.product-buy__label { font-family: var(--font-alt); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); display: block; margin-bottom: 10px; }
.product-buy__formats { display: flex; gap: 10px; margin-bottom: 26px; }
.format-pill { display: inline-block; padding: 10px 22px; border-radius: 100px; border: 1px solid var(--border); font-family: var(--font-alt); font-weight: 600; font-size: 14px; letter-spacing: .02em; background: var(--green); color: #fff; }

.product-buy__cta-row { display: flex; align-items: stretch; gap: 12px; margin-bottom: 20px; }
.product-buy__cta-row .quantity { display: flex; }
.product-buy__cta-row .qty {
	width: 68px;
	border-radius: 100px;
	border: 1px solid var(--border);
	text-align: center;
	font-family: var(--font-alt);
	font-size: 16px;
	color: var(--ink);
	padding: 0 8px;
}

.product-buy__compliance { font-size: 12.5px; color: var(--muted-2); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 4px; }
.product-buy__compliance strong { color: var(--muted); }
.product-buy__compliance p + p { margin-top: 8px; }

.product-buy__badges { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.product-badge { display: flex; align-items: center; gap: 10px; font-family: var(--font-alt); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.product-badge__icon { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }

@media (max-width: 900px) {
	.product-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.product-gallery { position: static; }
}
@media (max-width: 560px) {
	.product-gallery { flex-direction: column-reverse; }
	.product-gallery__thumbs { flex-direction: row; width: auto; }
	.product-gallery__thumb { width: 64px; flex-shrink: 0; }
}

/* ---- Accordion dettagli ---- */
.accordion-section { padding: 90px 0; border-top: 1px solid var(--border); }
.accordion-wrap { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 64px; }
.accordion-head h2 { margin: 14px 0 16px; font-size: clamp(28px, 3vw, 38px); }
.accordion-head p { color: var(--muted); max-width: 40ch; margin: 0; }
.accordion-list { background: var(--bg-soft); border-radius: 24px; padding: 8px 26px; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-item__trigger {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 22px 2px;
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--ink);
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
}
.accordion-item__trigger:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }
.accordion-item__icon { flex-shrink: 0; color: var(--green); transition: transform .25s var(--ease); }
.accordion-item.is-open .accordion-item__icon { transform: rotate(45deg); }
.accordion-item__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-item.is-open .accordion-item__panel { max-height: 420px; }
.accordion-item__panel-inner { padding: 0 2px 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.accordion-item__panel-inner p { margin: 0 0 8px; }
.accordion-item__panel-inner p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .accordion-wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Banda cinematica — ricetta consigliata ---- */
.cinematic { position: relative; min-height: 460px; padding: 100px 0; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.cinematic__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.cinematic__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 20, 10, .25) 0%, rgba(2, 20, 10, .5) 100%); }
.cinematic__content { position: relative; z-index: 2; max-width: 620px; padding: 0 40px; color: #fff; }
.cinematic--center { justify-content: center; text-align: center; }
.cinematic--center .cinematic__content { margin: 0 auto; }
.cinematic--center .lede { margin-left: auto; margin-right: auto; }
.cinematic__content .eyebrow { display: block; margin-bottom: 18px; }
.cinematic h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
.cinematic p.lede { color: rgba(255, 255, 255, .82); margin-bottom: 30px; }

/* ---- Carosello prodotti correlati ---- */
.carousel { padding: 76px 0 96px; background: var(--bg-soft); }
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.carousel__head .eyebrow { display: block; margin-bottom: 14px; }
.carousel__nav { display: flex; gap: 10px; flex-shrink: 0; }
.carousel__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--white); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.carousel__arrow:hover { background: var(--green); border-color: var(--green); color: #fff; }
.carousel__arrow:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }

.pcard { flex: 0 0 250px; scroll-snap-align: start; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pcard__media { display: block; aspect-ratio: 1/1; background: var(--bg-soft); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.pcard__name { display: block; font-family: var(--font-alt); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.3; }
.pcard__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.pcard__price { font-family: var(--font-alt); font-weight: 700; color: var(--green); font-size: 16px; }
.pcard__add {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	transition: background .2s;
}
.pcard__add:hover { background: var(--green-dark); }
.pcard__add.added::after { content: '✓'; margin-left: 4px; }

/* ==========================================================================
   Pagina Carrello (/carrello/) — template classico WooCommerce, nessun
   Elementor coinvolto ("Modifica pagina" nella admin bar, non "Modifica con
   Elementor"): stessa situazione della pagina prodotto, si stila con le
   classi reali verificate in pagina, direttamente qui in style.css.
   ========================================================================== */

.woocommerce { padding: 40px 0 0; }

/* Notice info (es. il banner "Spedizioni valide solo per l'Italia" —
   div.woocommerce-cart-notice...woocommerce-info): copre anche gli avvisi
   standard WooCommerce (error/success usano le stesse regole via classe) */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	background: #E6F0EB; /* verde tint 90%, CLAUDE.md — nessuna var --green-tint-* definita in questo file */
	border: 1px solid #C0D9CD; /* verde tint 75% */
	border-radius: 14px;
	/* WooCommerce disegna la sua icona con un ::before position:absolute
	   (top:1em, left:1.5em, font-family "WooCommerce") indipendente da questo
	   flex: il padding-left deve restare largo abbastanza da non farci
	   scrivere sopra il testo, qualunque icona venga renderizzata lì */
	padding: 16px 22px 16px 56px;
	margin: 0 0 28px;
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
}
.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}


.woocommerce-info::before,
.woocommerce-message::before { color: var(--green); }
.woocommerce-error { background: var(--red-tint-90); border-color: var(--red); }
.woocommerce-error::before { color: var(--red); }

/* Tabella prodotti nel carrello */
table.shop_table.cart {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 28px;
}
table.shop_table.cart thead th {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: left;
	padding: 20px 24px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-soft);
}
table.shop_table.cart tbody td {
	padding: 22px 24px;
	border-bottom: 1px solid var(--border);
	vertical-align: middle;
	font-family: var(--font);
}
table.shop_table.cart tbody tr:last-child td { border-bottom: none; }
/* prima/ultima colonna: un po' più di respiro dal bordo arrotondato della card */
table.shop_table.cart thead th:first-child,
table.shop_table.cart tbody td:first-child { padding-left: 28px; }
table.shop_table.cart thead th:last-child,
table.shop_table.cart tbody td:last-child { padding-right: 28px; }

table.shop_table.cart .product-thumbnail img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: var(--bg-soft);
	border-radius: 12px;
	padding: 6px;
}
table.shop_table.cart .product-name a {
	font-weight: 600;
	color: var(--ink);
	transition: color .2s ease;
}
table.shop_table.cart .product-name a:hover { color: var(--green); }
table.shop_table.cart .product-price,
table.shop_table.cart .product-subtotal { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.shop_table.cart .product-subtotal { color: var(--green); }

table.shop_table.cart .product-remove a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--muted-2);
	border: 1px solid var(--border);
	font-size: 16px;
	line-height: 1;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
table.shop_table.cart .product-remove a.remove:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

table.shop_table.cart .quantity .qty {
	width: 64px;
	padding: 9px 10px;
	text-align: center;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
}
table.shop_table.cart .quantity .qty:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }

/* Coupon + aggiorna carrello */
.cart .coupon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* #coupon_code (id) batte in specificità la classe .input-text: qui serve
   l'id per vincere la regola che lo tiene a 80px */
.cart .coupon #coupon_code,
.cart .coupon .input-text {
	padding: 12px 18px;
	border: 1px solid var(--border);
	border-radius: 100px;
	font-family: var(--font);
	font-size: 15px;
	width: 280px !important;
}
.cart .button,
table.shop_table.cart .button {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .02em;
	text-transform: uppercase;
	background: var(--green);
	color: #fff;
	border: none;
	border-radius: 100px;
	padding: 12px 26px;
	cursor: pointer;
	transition: background .2s ease, opacity .2s ease;
}
.cart .button:hover,
table.shop_table.cart .button:hover { background: var(--green-dark); }
.cart .button:disabled { background: var(--border); color: var(--muted-2); cursor: not-allowed; }

/* Box totali — allargato e più arioso (era troppo stretto/compresso) */
.cart_totals {
	background: #fff;
	border-radius: 22px;
	box-shadow: var(--shadow);
	padding: 40px 44px;
	max-width: 520px;
	margin: 8px 0 0 auto;
}
.cart_totals h2 {
	font-family: var(--font);
	font-weight: 600;
	font-size: 26px;
	color: var(--ink);
	margin-bottom: 24px;
}
.cart_totals table.shop_table { width: 100%; border-collapse: collapse; }
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	/* orizzontale non a 0: alcune righe (subtotale/totale) hanno uno sfondo
	   proprio da WooCommerce (rgba grigio) che senza padding tocca il testo */
	padding: 18px 20px;
	border-bottom: 1px solid var(--border);
	font-family: var(--font);
	font-size: 15px;
	text-align: left;
}
.cart_totals table.shop_table th { color: var(--muted); font-weight: 500; }
.cart_totals table.shop_table td { text-align: right; color: var(--ink); font-weight: 600; }
.cart_totals .order-total th,
.cart_totals .order-total td { border-bottom: none; font-size: 20px; padding-top: 22px; }
.cart_totals .order-total td { color: var(--green); font-weight: 700; }
.cart_totals .woocommerce-shipping-destination { font-weight: 400; color: var(--text); display: block; margin-top: 4px; }
.cart_totals .shipping-calculator-button { color: var(--green); text-decoration: underline; }

.wc-proceed-to-checkout { max-width: 520px; margin-left: auto; margin-top: 24px; }
/* WooCommerce core stila .button.alt col suo viola (#7f54b3) tramite un
   selettore più specifico del nostro (es. ".woocommerce a.button.alt"):
   qui rincariamo la specificità aggiungendo "a.checkout-button.button.alt"
   e mettiamo !important solo sulle proprietà che risultavano ancora viola
   (background, colore testo, radius), non su tutto il blocco. */
.wc-proceed-to-checkout a.checkout-button.button.alt {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--green) !important;
	color: #fff !important;
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 18px 30px;
	border-radius: 100px !important;
	box-shadow: var(--shadow);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wc-proceed-to-checkout a.checkout-button.button.alt:hover {
	background: var(--green-dark) !important;
	transform: translateY(-1px);
	box-shadow: 0 16px 40px rgba(30, 30, 28, .18);
}

@media (max-width: 780px) {
	table.shop_table.cart thead { display: none; }
	table.shop_table.cart, table.shop_table.cart tbody, table.shop_table.cart tr, table.shop_table.cart td { display: block; width: 100%; }
	table.shop_table.cart tr { border-bottom: 1px solid var(--border); padding: 14px 0; }
	table.shop_table.cart td { border-bottom: none; padding: 6px 0; }
	table.shop_table.cart td::before {
		content: attr(data-title) ": ";
		font-family: var(--font-alt);
		font-weight: 600;
		font-size: 12px;
		text-transform: uppercase;
		color: var(--muted);
		display: inline-block;
		min-width: 90px;
	}
	table.shop_table.cart .product-thumbnail::before,
	table.shop_table.cart .product-remove::before { content: none; }
	.cart_totals, .wc-proceed-to-checkout { max-width: none; margin-left: 0; }
	.cart .coupon { flex-wrap: wrap; }
	.cart .coupon .input-text { width: 100%; }
}

/* ==========================================================================
   Pagina Checkout (/checkout/) — stessa situazione di Carrello/Prodotto:
   template classico WooCommerce, nessun Elementor coinvolto ("Modifica
   pagina" in admin bar). Classi reali verificate in pagina.
   ========================================================================== */

.woocommerce-checkout { padding: 40px 0 100px; }

.woocommerce-checkout h3 {
	font-family: var(--font);
	font-weight: 600;
	font-size: 22px;
	color: var(--ink);
	margin: 0 0 22px;
}

/* Campi form (fatturazione / spedire a un indirizzo diverso) */
.woocommerce-checkout .form-row { margin-bottom: 18px; }
.woocommerce-checkout .form-row label {
	display: block;
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .02em;
	color: var(--muted);
	margin-bottom: 6px;
}
.woocommerce-checkout .form-row label .required { color: var(--red); text-decoration: none; }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
	background: #fff;
}
.woocommerce-checkout .form-row textarea { min-height: 100px; resize: vertical; }
.woocommerce-checkout .form-row .input-text:focus-visible,
.woocommerce-checkout .form-row textarea:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }
/* Paese/Provincia sono potenziati da select2 (JS): il suo markup sostituisce
   la <select> con uno span, va stilato a parte per sembrare lo stesso input */
.woocommerce-checkout .select2-container .select2-selection {
	height: 46px;
	padding: 6px 16px;
	border: 1px solid var(--border) !important;
	border-radius: 10px !important;
	display: flex;
	align-items: center;
}
.woocommerce-checkout .select2-container--default .select2-selection__rendered {
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
	line-height: normal;
	padding-left: 0;
}

/* Tabella riepilogo ordine — stesso linguaggio della tabella Carrello */
table.shop_table.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 24px;
}
table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td {
	padding: 16px 22px;
	border-bottom: 1px solid var(--border);
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
}
table.shop_table.woocommerce-checkout-review-order-table thead th {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--muted);
	background: var(--bg-soft);
}
table.shop_table.woocommerce-checkout-review-order-table tbody tr:last-child td { border-bottom: none; }
table.shop_table.woocommerce-checkout-review-order-table td.product-total { text-align: right; font-weight: 600; }
table.shop_table.woocommerce-checkout-review-order-table .order-total td,
table.shop_table.woocommerce-checkout-review-order-table .order-total th { border-bottom: none; font-size: 18px; font-weight: 700; }
table.shop_table.woocommerce-checkout-review-order-table .order-total td { color: var(--green); }

/* ---- Metodi di pagamento — il punto richiesto: box lilla/grigio default
   WooCommerce sostituito con il linguaggio brand (card bianca, radio verde,
   box descrizione tenue verde invece che lilla) ---- */
ul.wc_payment_methods {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
}
ul.wc_payment_methods li.wc_payment_method {
	padding: 18px 22px;
	border-bottom: 1px solid var(--border);
}
ul.wc_payment_methods li.wc_payment_method:last-child { border-bottom: none; }
ul.wc_payment_methods label {
	font-family: var(--font);
	font-weight: 600;
	font-size: 16px;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
ul.wc_payment_methods input.input-radio { accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
ul.wc_payment_methods label img { height: 20px; width: auto; }
/* box descrizione/iframe del metodo selezionato: di default sfondo
   lilla/grigio con freccetta ::before — portato a verde tenue brand */
.payment_box {
	background: #E6F0EB !important;
	border-radius: 12px;
	margin: 14px 0 0 !important;
	padding: 16px 18px !important;
	font-family: var(--font);
	font-size: 14.5px;
	color: var(--text);
}
.payment_box::before { border-bottom-color: #E6F0EB !important; }
/* se la freccetta resta di un altro colore, WooCommerce la disegna con un
   ::before via px assoluti (border-color), qui basta allineare solo quello */

/* Termini e condizioni + note privacy */
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.woocommerce-terms-and-conditions-wrapper a,
.woocommerce-privacy-policy-text a { color: var(--green); text-decoration: underline; }
.woocommerce-form__label-for-checkbox input[type="checkbox"],
#ship-to-different-address input[type="checkbox"] { accent-color: var(--green); margin-right: 8px; }

/* Bottone finale — stesso trattamento del checkout-button in Carrello
   (WooCommerce lo stila con .button.alt viola, serve la stessa specificità) */
#place_order.button.alt {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--green) !important;
	color: #fff !important;
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 18px 30px;
	border-radius: 100px !important;
	box-shadow: var(--shadow);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
#place_order.button.alt:hover {
	background: var(--green-dark) !important;
	transform: translateY(-1px);
	box-shadow: 0 16px 40px rgba(30, 30, 28, .18);
}

@media (max-width: 900px) {
	.woocommerce-checkout .col2-set { display: block; }
}

/* ==========================================================================
   Tab categoria Homepage (Pasta/Olio/Taralli, sopra il carosello "Il
   catalogo") — widget "Tabs" di Element Pack Pro, verificato nell'editor
   Elementor: solo testo (Icon resta su "None", il campo Upload di quel
   widget accetta solo SVG puri e il sito sanifica via gli SVG con immagini
   incorporate — niente foto da lì, vedi tasks/lessons.md).
   Soluzione adottata: le 3 foto vengono caricate via FTP direttamente nel
   tema (non nella Media Library, aggira il blocco upload) e applicate qui
   come background-image via CSS — non serve toccare il campo Icon né il
   markup/JS del widget, i tab restano "Tabs" con Select Source: Link
   Section esattamente come sono.
   Percorso atteso (relativo a questo file, cioè alla root del child theme):
   assets/img/tabs/tab-pasta.jpg, tab-olio.jpg, tab-taralli.jpg — se la
   cartella FTP è diversa, aggiornare i tre url() sotto di conseguenza.
   ========================================================================== */
.bdt-tab.bdt-tab-default { gap: 28px; }
.bdt-tabs-item { background: none !important; border: none !important; }
.bdt-tabs-item-title { display: flex; padding: 0 !important; background: none !important; }
.bdt-tab-text-wrapper { align-items: center; }
.bdt-tab-title-icon-wrapper {
	flex-direction: column !important;
	align-items: center;
	gap: 12px;
}
/* tessera-immagine come ::before: partecipa al flusso flex come un item
   normale (niente altezza fissata a mano sul contenitore, niente testo che
   deve "sfondare" un margine per uscirne — il testo segue sotto di suo) */
.bdt-tab-title-icon-wrapper::before {
	content: '';
	display: block;
	width: 240px;
	height: 240px;
	border-radius: 32px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: var(--shadow);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* ordine dei 3 Tab Item nel pannello: 1=Pasta, 2=Olio, 3=Taralli */
.bdt-tabs-item:nth-child(1) .bdt-tab-title-icon-wrapper::before { background-image: url(assets/img/tabs/tab-pasta.jpg); }
.bdt-tabs-item:nth-child(2) .bdt-tab-title-icon-wrapper::before { background-image: url(assets/img/tabs/tab-olio.jpg); }
.bdt-tabs-item:nth-child(3) .bdt-tab-title-icon-wrapper::before { background-image: url(assets/img/tabs/tab-taralli.jpg); }
.bdt-tabs-item:hover .bdt-tab-title-icon-wrapper::before {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(30, 30, 28, .20);
}
.bdt-tabs-item.bdt-active .bdt-tab-title-icon-wrapper::before {
	outline: 3px solid var(--green);
	outline-offset: 3px;
}
.bdt-tab-text {
	font-family: var(--font-alt);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ink);
}
.bdt-tabs-item.bdt-active .bdt-tab-text { color: var(--green); }
/* la sottolineatura del tab attivo non è un border ma uno pseudo-elemento
   ::after su .bdt-tabs-item-title (background-color blu di default #1e87f0) */
.bdt-tabs-item-title::after { background-color: var(--green) !important; }
@media (max-width: 560px) {
	.bdt-tab-title-icon-wrapper::before { width: 150px; height: 150px; border-radius: 22px; }
	.bdt-tab-text { font-size: 16px; }
}



/* ---- Descrizione prodotto (campo nativo WooCommerce) ---- */
.product-description { padding: 70px 0 0; }
.product-description__content { max-width: 100%; margin-bottom: 150px; margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.product-description__content p { margin: 0 0 16px; }
.product-description__content p:last-child { margin-bottom: 0; }


