/*
Theme Name:        OutletScarpa
Description:       Tema child di Storefront per OutletScarpa, outlet online di sneakers per uomo, donna, bambino e bambina: header con ricerca, homepage con cercatore per genere e taglia, offerte a schede, card con taglie disponibili, scheda prodotto con accordion, ordinamento per sconto più alto.
Author:            OutletScarpa
Template:          storefront
Version:           2.6.4
Requires at least: 6.4
Tested up to:      6.8
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       outletscarpa
*/

/* ==========================================================================
   1. Variabili (brand identity OutletScarpa)
   ========================================================================== */

:root {
	--sns-black: #141414;
	--sns-white: #ffffff;
	--sns-grey-50: #f6f6f4;
	--sns-grey-100: #ededea;
	--sns-grey-200: #e2e2de;
	--sns-grey-300: #d0d0cb;
	--sns-grey-600: #66665f;
	--sns-text: #2b2b2b;
	--sns-success: #1a7f37;
	--sns-accent: #d6261f; /* rosso del logo, sovrascritto dal Customizer */
	--sns-on-accent: #ffffff;
	--sns-max-width: 1440px; /* sovrascritto dal Customizer */
	--sns-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Scala di spaziature e raggi */
	--sns-gutter: 16px;
	--sns-gap: 12px;
	--sns-section: 48px;
	--sns-radius: 6px;
	--sns-radius-lg: 10px;
	--sns-control: 46px; /* altezza di input, select e pulsanti */
	--sns-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
	:root {
		--sns-gutter: 32px;
		--sns-gap: 20px;
		--sns-section: 64px;
	}
}

/* ==========================================================================
   2. Base
   ========================================================================== */

body,
button,
input,
select,
textarea {
	font-family: var(--sns-font);
}

body {
	color: var(--sns-text);
	-webkit-font-smoothing: antialiased;
}

.site {
	overflow-x: hidden;
}

@supports (overflow: clip) {
	.site {
		overflow-x: clip;
	}
}

h1,
h2,
h3,
h4,
.alpha,
.beta,
.gamma {
	color: var(--sns-black);
	font-family: var(--sns-font);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

a {
	color: var(--sns-black);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
.button:focus-visible {
	outline: 3px solid var(--sns-accent);
	outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select,
.input-text {
	background-color: var(--sns-white);
	border: 1.5px solid var(--sns-grey-300);
	border-radius: var(--sns-radius);
	box-shadow: none;
	color: var(--sns-black);
	font-size: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
.input-text:not(textarea) {
	min-height: var(--sns-control);
	padding: 0 12px;
}

select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23141414' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	padding-right: 36px;
}

input:focus,
textarea:focus,
select:focus,
.input-text:focus {
	background-color: var(--sns-white);
	border-color: var(--sns-black);
}

/* Pulsanti */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button,
.added_to_cart {
	align-items: center;
	background-color: var(--sns-black);
	border: 2px solid var(--sns-black);
	border-radius: var(--sns-radius);
	color: var(--sns-white);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	letter-spacing: 0.04em;
	line-height: 1.2;
	min-height: var(--sns-control);
	padding: 0 22px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.widget a.button:hover,
.added_to_cart:hover {
	background-color: var(--sns-accent);
	border-color: var(--sns-accent);
	color: var(--sns-on-accent);
}

button.alt,
input[type="button"].alt,
input[type="submit"].alt,
.button.alt {
	background-color: var(--sns-accent);
	border-color: var(--sns-accent);
	color: var(--sns-on-accent);
}

button.alt:hover,
input[type="submit"].alt:hover,
.button.alt:hover {
	background-color: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

.button.sns-button-outline {
	background-color: var(--sns-white);
	border-color: var(--sns-black);
	color: var(--sns-black);
}

.button.sns-button-outline:hover {
	background-color: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.col-full {
	box-sizing: content-box;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--sns-max-width);
	padding-left: var(--sns-gutter);
	padding-right: var(--sns-gutter);
}

.site-header {
	margin-bottom: 0;
}

.site-main {
	margin-bottom: var(--sns-section);
}

/* Taglia ciò che esce di lato senza bloccare gli elementi fissi nello scroll (filtri, barra del negozio) */
#page.site {
	overflow-x: clip;
}

.sns-full-width .content-area {
	float: none;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

/* Storefront mette 4.2em sotto l'header sulle home che non usano il suo template:
   sulla nostra il banner parte subito sotto il menu. */
body.home.page.sns-home-page .site-header {
	margin-bottom: 0;
}

.sns-home-page .site-content {
	padding-top: 12px;
}

.storefront-breadcrumb {
	margin: 0 0 8px;
	padding: 16px 0 0;
}

.woocommerce-breadcrumb {
	color: var(--sns-grey-600);
	font-size: 13px;
}

.woocommerce-breadcrumb a {
	color: var(--sns-grey-600);
}

.woocommerce-breadcrumb a:hover {
	color: var(--sns-black);
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.sns-topbar {
	background: var(--sns-black);
	color: var(--sns-white);
	font-size: 12.5px;
	font-weight: 600;
}

.sns-topbar__list {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 9px 0;
	text-align: center;
}

.sns-topbar__list li {
	white-space: nowrap;
}

/* Messaggi separati da un trattino */
@media (min-width: 768px) {
	.sns-topbar__list li + li::before {
		content: "–";
		margin: 0 14px;
		opacity: 0.6;
	}
}

/* Telefono: un messaggio alla volta, si alternano ogni pochi secondi */
@media (max-width: 767px) {
	.sns-topbar__list li {
		white-space: normal;
	}

	.sns-topbar__list li:not(.is-active) {
		display: none;
	}

	.sns-topbar__list li.is-active {
		animation: sns-fade-in 0.4s ease-out;
	}
}

@keyframes sns-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.site-header {
	border-bottom: 1px solid var(--sns-grey-100);
	padding-top: 0;
}

body .site-header > .col-full {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	padding-bottom: 14px;
	padding-top: 14px;
}

.site-header .col-full::before,
.site-header .col-full::after {
	display: none;
}

body .site-header .site-branding,
body.woocommerce-active .site-header .site-branding {
	clear: none;
	flex: 0 0 auto;
	float: none;
	margin: 0;
	width: auto;
}

.site-header .custom-logo-link img {
	display: block;
	height: auto;
	max-height: 56px;
	max-width: 190px;
	width: auto;
}

.site-branding .site-title {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0;
}

.site-branding .site-description {
	font-size: 13px;
	margin: 4px 0 0;
	opacity: 0.7;
}

body .site-header .site-search,
body.woocommerce-active .site-header .site-search {
	clear: none;
	display: block;
	flex: 1 1 360px;
	float: none;
	margin: 0;
	max-width: 720px;
	order: 2;
	width: auto;
}

.site-header .site-search .widget {
	margin: 0;
}

.site-search .widget_product_search form::before {
	display: none;
}

.sns-search {
	display: flex;
	margin: 0;
	position: relative;
}

.site-header .sns-search .search-field,
.sns-search .search-field {
	background: var(--sns-white);
	border: 2px solid var(--sns-black);
	border-radius: var(--sns-radius) 0 0 var(--sns-radius);
	border-right: 0;
	flex: 1;
	font-size: 15px;
	height: var(--sns-control);
	min-width: 0;
	padding: 0 16px;
}

/* Storefront nasconde il pulsante con !important: qui lo rendiamo visibile come icona. */
.widget_product_search .sns-search button[type="submit"],
.sns-search button[type="submit"] {
	background: var(--sns-accent);
	border: 2px solid var(--sns-accent);
	border-radius: 0 var(--sns-radius) var(--sns-radius) 0;
	clip: auto !important;
	clip-path: none !important;
	color: var(--sns-white);
	flex: 0 0 54px;
	height: var(--sns-control) !important;
	min-height: 0;
	overflow: visible !important;
	padding: 0;
	position: static !important;
	width: 54px !important;
}

.widget_product_search .sns-search button[type="submit"]:hover {
	background: var(--sns-black);
	border-color: var(--sns-black);
}

.sns-header-actions {
	display: flex;
	gap: 22px;
	margin-left: auto;
	order: 3;
}

.sns-header-action {
	align-items: center;
	color: var(--sns-black);
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 3px;
	position: relative;
	text-decoration: none;
}

.sns-header-action:hover {
	color: var(--sns-accent);
}

.sns-header-action .sns-icon {
	height: 24px;
	width: 24px;
}

.sns-cart-count {
	align-items: center;
	background: var(--sns-accent);
	border-radius: 999px;
	color: var(--sns-white);
	display: flex;
	font-size: 11px;
	height: 18px;
	justify-content: center;
	min-width: 18px;
	padding: 0 5px;
	position: absolute;
	right: -9px;
	top: -6px;
}

/* Desktop e tablet: logo a sinistra, ricerca al centro della pagina, Accedi e Carrello
   a destra. Le colonne laterali sono larghe uguali, così la ricerca resta centrata. */
@media (min-width: 768px) {
	body .site-header > .col-full {
		display: grid;
		gap: 24px;
		grid-template-columns: minmax(max-content, 1fr) minmax(0, 640px) minmax(max-content, 1fr);
	}

	body .site-header > .col-full > .skip-link {
		position: absolute;
	}

	body .site-header .site-branding,
	body.woocommerce-active .site-header .site-branding {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	body .site-header .site-search,
	body.woocommerce-active .site-header .site-search {
		grid-column: 2;
		grid-row: 1;
		max-width: none;
		width: 100%;
	}

	.sns-header-actions {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		margin-left: 0;
	}
}

@media (max-width: 767px) {
	.site-header .custom-logo-link img {
		max-height: 44px;
		max-width: 150px;
	}

	body .site-header .site-search,
	body.woocommerce-active .site-header .site-search {
		flex-basis: 100%;
		max-width: none;
		order: 4;
	}

	.sns-header-action__label {
		display: none;
	}
}

/* Menu principale */
.storefront-primary-navigation {
	border-top: 1px solid var(--sns-grey-100);
}

.storefront-primary-navigation .col-full::before,
.storefront-primary-navigation .col-full::after {
	display: none;
}

@media (min-width: 768px) {
	.storefront-primary-navigation .col-full {
		align-items: center;
		display: flex;
	}

	/* Storefront restringe il menu al 74% della riga (".woocommerce-active .site-header
	   .main-navigation"), che così non era centrato: qui torna a tutta larghezza. */
	body .site-header .main-navigation,
	body.woocommerce-active .site-header .main-navigation {
		clear: none;
		float: none;
		margin: 0;
		width: 100%;
	}

	/* Voci del menu al centro */
	.main-navigation ul.menu,
	.main-navigation ul.nav-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin: 0;
	}

	.main-navigation ul.menu > li > a,
	.main-navigation ul.nav-menu > li > a {
		color: var(--sns-black);
		font-size: 14px;
		font-weight: 600;
		padding: 14px;
	}

	.main-navigation ul.menu > li > a:hover,
	.main-navigation ul.nav-menu > li > a:hover {
		color: var(--sns-accent);
	}

	.main-navigation ul.menu > li.current-menu-item > a,
	.main-navigation ul.nav-menu > li.current-menu-item > a {
		box-shadow: inset 0 -3px 0 var(--sns-accent);
	}

	/* Voci per genere: classe CSS "sns-menu-strong" nella voce di menu */
	.main-navigation ul.menu > li.sns-menu-strong > a,
	.main-navigation ul.nav-menu > li.sns-menu-strong > a {
		font-weight: 800;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.main-navigation ul.menu ul,
	.main-navigation ul.nav-menu ul {
		background: var(--sns-white);
		border-radius: var(--sns-radius-lg);
		box-shadow: var(--sns-shadow);
		padding: 8px 0;
	}
}

/* Tablet: voci più strette, così il menu sta su una riga */
@media (min-width: 768px) and (max-width: 1023px) {
	.main-navigation ul.menu > li > a,
	.main-navigation ul.nav-menu > li > a {
		font-size: 13px;
		padding: 14px 8px;
	}
}

/* Voce in evidenza (es. "Fino al -70%"): classe CSS "sns-menu-hot" */
.main-navigation ul.menu > li.sns-menu-hot > a,
.main-navigation ul.nav-menu > li.sns-menu-hot > a {
	color: var(--sns-accent);
	font-weight: 800;
}

/* Menu fisso: scorrendo la pagina la barra del menu resta in alto con logo e carrello */
.sns-nav-logo,
.sns-nav-cart {
	display: none;
}

@media (min-width: 768px) {
	.sns-nav-fixed .storefront-primary-navigation {
		animation: sns-nav-in 0.2s ease-out;
		background: var(--sns-white);
		border-top: 0;
		box-shadow: 0 1px 0 var(--sns-grey-100), 0 6px 18px rgba(0, 0, 0, 0.08);
		left: 0;
		position: fixed;
		right: 0;
		top: 0;
		z-index: 1000;
	}

	.sns-nav-fixed.admin-bar .storefront-primary-navigation {
		top: 46px;
	}

	/* Logo e carrello larghi uguali: così il menu resta davvero al centro */
	.sns-nav-fixed .sns-nav-logo {
		align-items: center;
		display: flex;
		flex: 0 0 150px;
		text-decoration: none;
	}

	.sns-nav-logo__img {
		display: block;
		height: 32px;
		max-width: 140px;
		object-fit: contain;
		width: auto;
	}

	.sns-nav-logo__text {
		color: var(--sns-black);
		font-size: 18px;
		font-weight: 800;
		letter-spacing: -0.02em;
	}

	.sns-nav-fixed .main-navigation ul.menu,
	.sns-nav-fixed .main-navigation ul.nav-menu {
		flex-wrap: nowrap;
		margin-left: 0;
	}

	body.sns-nav-fixed .site-header .main-navigation,
	body.woocommerce-active.sns-nav-fixed .site-header .main-navigation {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
	}

	.sns-nav-fixed .sns-nav-cart {
		align-items: center;
		display: flex;
		flex: 0 0 150px;
		gap: 22px;
		justify-content: flex-end;
		padding-right: 9px;
	}

	.sns-nav-cart .sns-header-action__label {
		display: none;
	}
}

@media (min-width: 783px) {
	.sns-nav-fixed.admin-bar .storefront-primary-navigation {
		top: 32px;
	}
}

@keyframes sns-nav-in {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sns-nav-fixed .storefront-primary-navigation {
		animation: none;
	}
}

/* Telefono: il menu è solo l'icona hamburger, accanto al carrello */
@media (max-width: 767px) {
	.site-header {
		position: relative;
	}

	.storefront-primary-navigation,
	.storefront-primary-navigation > .col-full,
	body .main-navigation {
		position: static;
	}

	.storefront-primary-navigation {
		border-top: 0;
	}

	.sns-header-actions {
		margin-right: 48px;
	}

	body .site-header button.menu-toggle,
	body .site-header .menu-toggle {
		background: transparent;
		border: 0;
		border-radius: var(--sns-radius);
		box-shadow: none;
		color: var(--sns-black);
		display: block;
		float: none;
		font-size: 0;
		height: 44px;
		margin: 0;
		max-width: none;
		min-height: 0;
		padding: 0;
		position: absolute;
		right: calc(var(--sns-gutter) - 10px);
		top: 14px;
		width: 44px;
		z-index: 2;
	}

	body .site-header .menu-toggle span {
		position: static;
	}

	/* Le tre linee dell'hamburger; aperto diventa una X */
	body .site-header .menu-toggle::before,
	body .site-header .menu-toggle::after,
	body .site-header .menu-toggle span::before {
		background-color: var(--sns-black);
		border-radius: 2px;
		content: "";
		display: block;
		height: 2px;
		left: 11px;
		margin-top: -1px;
		position: absolute;
		top: 50%;
		transition: transform 0.2s ease, opacity 0.2s ease;
		width: 22px;
	}

	body .site-header .menu-toggle::before {
		transform: translateY(-7px);
	}

	body .site-header .menu-toggle::after {
		transform: translateY(7px);
	}

	body .site-header .menu-toggle span::before {
		transform: none;
	}

	body .site-header .toggled .menu-toggle::before,
	body .site-header .menu-toggle[aria-expanded="true"]::before {
		transform: rotate(45deg);
	}

	body .site-header .toggled .menu-toggle::after,
	body .site-header .menu-toggle[aria-expanded="true"]::after {
		transform: rotate(-45deg);
	}

	body .site-header .toggled .menu-toggle span::before,
	body .site-header .menu-toggle[aria-expanded="true"] span::before {
		opacity: 0;
	}

	/* Menu aperto: voci a tutta larghezza sotto la ricerca */
	.main-navigation.toggled .handheld-navigation {
		border-top: 1px solid var(--sns-grey-100);
		padding: 4px 0 12px;
	}

	.main-navigation .handheld-navigation ul.menu > li > a {
		border-bottom: 1px solid var(--sns-grey-100);
		color: var(--sns-black);
		font-size: 15px;
		font-weight: 600;
		padding: 13px 0;
	}

	.main-navigation .handheld-navigation ul.menu > li:last-child > a {
		border-bottom: 0;
	}

	.main-navigation .handheld-navigation ul.menu > li.sns-menu-hot > a {
		color: var(--sns-accent);
		font-weight: 800;
	}
}

/* Telefono: scorrendo resta fissa in alto la riga con logo, account, carrello e menu.
   La ricerca si nasconde, così la barra occupa poco spazio. */
@media (max-width: 767px) {
	.sns-header-fixed .site-header {
		animation: sns-nav-in 0.2s ease-out;
		background: var(--sns-white);
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
		left: 0;
		position: fixed;
		right: 0;
		top: 0;
		z-index: 1000;
	}

	body.sns-header-fixed .site-header > .col-full {
		padding-bottom: 10px;
		padding-top: 10px;
	}

	body.sns-header-fixed .site-header button.menu-toggle,
	body.sns-header-fixed .site-header .menu-toggle {
		top: 10px;
	}

	body.sns-header-fixed .site-header .site-search,
	body.woocommerce-active.sns-header-fixed .site-header .site-search {
		display: none;
	}

	/* Menu aperto con la barra fissa: scorre dentro lo schermo */
	body.sns-header-fixed .main-navigation.toggled .handheld-navigation {
		max-height: calc(100vh - 64px);
		overflow-y: auto;
	}
}

@media (min-width: 601px) and (max-width: 767px) {
	.sns-header-fixed.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.sns-header-fixed .site-header {
		animation: none;
	}
}

/* ==========================================================================
   5. Homepage
   ========================================================================== */

/* Banner: una diapositiva o carosello. Le diapositive sono sovrapposte nella stessa
   cella della griglia, così il banner prende l'altezza della più alta e si passa
   dall'una all'altra in dissolvenza. */
.sns-hero {
	background: var(--sns-accent);
	border-radius: var(--sns-radius-lg);
	color: var(--sns-white);
	overflow: hidden;
	position: relative;
}

.sns-hero__slides {
	display: grid;
}

.sns-slide {
	align-items: center;
	display: flex;
	grid-area: 1 / 1;
	min-height: 400px;
	opacity: 0;
	overflow: hidden;
	padding: 40px 24px 128px;
	position: relative;
	transition: opacity 0.7s ease, visibility 0.7s;
	visibility: hidden;
}

.sns-slide.is-active {
	opacity: 1;
	visibility: visible;
}

@media (min-width: 768px) {
	.sns-slide {
		min-height: 500px;
		padding: 56px 64px 160px;
	}
}

.sns-hero .sns-slide__bg {
	height: 100%;
	inset: 0;
	margin: 0;
	max-width: none;
	object-fit: cover;
	/* Quale parte della foto resta visibile quando il banner è stretto (Personalizza → inquadratura) */
	object-position: var(--sns-focus-x, 50%) 50%;
	position: absolute;
	width: 100%;
}

/* Velo scuro sulle foto: più intenso a sinistra, dove c'è il testo */
.sns-slide--image::before {
	background: rgba(0, 0, 0, calc(var(--sns-hero-overlay, 0.4) + 0.1));
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

@media (min-width: 768px) {
	.sns-slide--image::before {
		background: linear-gradient(90deg, rgba(0, 0, 0, calc(var(--sns-hero-overlay, 0.4) + 0.2)) 0%, rgba(0, 0, 0, var(--sns-hero-overlay, 0.4)) 45%, rgba(0, 0, 0, calc(var(--sns-hero-overlay, 0.4) * 0.3)) 100%);
	}
}

.sns-hero__sole {
	color: rgba(255, 255, 255, 0.1);
	height: 150%;
	pointer-events: none;
	position: absolute;
	right: 14%;
	top: 50%;
	transform: translateY(-50%) rotate(16deg);
	width: auto;
}

.sns-slide__body {
	max-width: 640px;
	position: relative;
	z-index: 2;
}

.sns-hero__kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 14px;
	opacity: 0.92;
	text-transform: uppercase;
}

.sns-hero .sns-hero__title {
	color: var(--sns-white);
	font-size: clamp(2.1rem, 4.4vw, 3.75rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin: 0 0 18px;
}

.sns-hero__highlight {
	color: var(--sns-black);
	display: block;
}

.sns-slide--image .sns-hero__highlight {
	color: var(--sns-accent);
}

.sns-hero__text {
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 28px;
	max-width: 46ch;
	opacity: 0.95;
}

.sns-hero .sns-hero__button {
	background: var(--sns-white);
	border-color: var(--sns-white);
	color: var(--sns-black);
}

.sns-hero .sns-hero__button:hover {
	background: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

/* Frecce e pallini, sopra la zona coperta dal cercatore */
.sns-hero__controls {
	align-items: center;
	bottom: 76px;
	display: flex;
	gap: 14px;
	left: 24px;
	position: absolute;
	z-index: 3;
}

@media (min-width: 768px) {
	.sns-hero__controls {
		bottom: 96px;
		left: 64px;
	}
}

.sns-hero .sns-hero__arrow {
	align-items: center;
	background: rgba(255, 255, 255, 0.16);
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	color: var(--sns-white);
	display: none;
	height: 40px;
	justify-content: center;
	min-height: 0;
	padding: 0;
	width: 40px;
}

.sns-hero .sns-hero__arrow:hover {
	background: var(--sns-white);
	border-color: var(--sns-white);
	color: var(--sns-black);
}

.sns-hero__arrow .sns-icon {
	height: 20px;
	width: 20px;
}

@media (min-width: 768px) {
	.sns-hero .sns-hero__arrow {
		display: inline-flex;
	}
}

.sns-hero__dots {
	display: flex;
	gap: 8px;
}

.sns-hero .sns-hero__dot {
	background: rgba(255, 255, 255, 0.45);
	border: 0;
	border-radius: 999px;
	height: 10px;
	min-height: 0;
	padding: 0;
	transition: width 0.3s ease, background-color 0.3s ease;
	width: 10px;
}

.sns-hero .sns-hero__dot:hover {
	background: rgba(255, 255, 255, 0.8);
}

.sns-hero .sns-hero__dot[aria-current="true"] {
	background: var(--sns-white);
	width: 28px;
}

@media (prefers-reduced-motion: reduce) {
	.sns-slide {
		transition: none;
	}
}

/* Cercatore */
.sns-finder {
	align-items: end;
	background: var(--sns-white);
	border-radius: var(--sns-radius-lg);
	box-shadow: var(--sns-shadow);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
	margin: -60px 12px 0;
	padding: 20px;
	position: relative;
	z-index: 2;
}

@media (min-width: 768px) {
	.sns-finder {
		gap: 16px 20px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: -72px 32px 0;
		padding: 24px;
	}
}

@media (min-width: 1100px) {
	.sns-finder {
		grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) auto;
	}
}

.sns-finder__title {
	color: var(--sns-black);
	font-size: 18px;
	font-weight: 800;
	grid-column: 1 / -1;
	letter-spacing: -0.01em;
	margin: 0;
}

.sns-finder__field {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.sns-finder__label {
	color: var(--sns-grey-600);
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0 0 6px;
	padding: 0;
	text-transform: uppercase;
}

.sns-finder select {
	width: 100%;
}

.sns-seg {
	border: 1.5px solid var(--sns-grey-300);
	border-radius: var(--sns-radius);
	display: flex;
	height: var(--sns-control);
	overflow: hidden;
}

.sns-seg label {
	display: flex;
	flex: 1;
	margin: 0;
	min-width: 0;
	position: relative;
}

.sns-seg input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.sns-seg span {
	align-items: center;
	color: var(--sns-black);
	cursor: pointer;
	display: flex;
	flex: 1;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	overflow: hidden;
	padding: 0 6px;
	text-overflow: ellipsis;
	transition: background-color 0.15s ease;
	white-space: nowrap;
}

.sns-seg label + label span {
	border-left: 1.5px solid var(--sns-grey-300);
}

.sns-seg label:hover span {
	background: var(--sns-grey-50);
}

.sns-seg input:checked + span {
	background: var(--sns-black);
	color: var(--sns-white);
}

.sns-seg input:focus-visible + span {
	outline: 3px solid var(--sns-accent);
	outline-offset: -3px;
}

.sns-finder .sns-finder__submit {
	background: var(--sns-accent);
	border-color: var(--sns-accent);
	white-space: nowrap;
}

.sns-finder .sns-finder__submit:hover {
	background: var(--sns-black);
	border-color: var(--sns-black);
}

@media (max-width: 767px) {
	/* Su telefono le opzioni vanno a capo come chip, così i nomi non si troncano */
	.sns-seg {
		border: 0;
		border-radius: 0;
		flex-wrap: wrap;
		gap: 6px;
		height: auto;
		overflow: visible;
	}

	.sns-seg label {
		flex: 1 1 calc(33.333% - 6px);
	}

	.sns-seg span,
	.sns-seg label + label span {
		border: 1.5px solid var(--sns-grey-300);
		border-radius: var(--sns-radius);
		height: 42px;
	}

	.sns-seg input:checked + span {
		border-color: var(--sns-black);
	}

	.sns-finder .sns-finder__submit {
		width: 100%;
	}

}

/* Sezioni */
.sns-section {
	margin: var(--sns-section) 0;
}

.sns-section__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	margin: 0 0 20px;
}

.sns-section .sns-section__title {
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0;
}

.sns-section__link {
	color: var(--sns-black);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.sns-section__link:hover {
	color: var(--sns-accent);
}

/* Tile per genere */
.sns-genders {
	display: grid;
	gap: var(--sns-gap);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1000px) {
	.sns-genders {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.sns-gender {
	aspect-ratio: 1 / 1;
	background: var(--sns-grey-100);
	border-radius: var(--sns-radius-lg);
	color: var(--sns-white);
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.sns-gender:hover {
	color: var(--sns-white);
}

.sns-gender .sns-gender__img {
	height: 100%;
	inset: 0;
	margin: 0;
	object-fit: cover;
	position: absolute;
	transition: transform 0.6s ease;
	width: 100%;
}

.sns-gender:hover .sns-gender__img {
	transform: scale(1.04);
}

.sns-gender::after {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 55%);
	content: "";
	inset: 0;
	position: absolute;
}

.sns-gender--noimg {
	background: var(--sns-black);
}

.sns-gender__body {
	bottom: 18px;
	left: 20px;
	position: absolute;
	right: 20px;
	z-index: 1;
}

.sns-gender__name {
	display: block;
	font-size: clamp(1.3rem, 2.2vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.sns-gender__meta {
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 6px;
	margin-top: 8px;
}

.sns-gender__meta span {
	transition: transform 0.2s ease;
}

.sns-gender:hover .sns-gender__meta span {
	transform: translateX(4px);
}

/* Offerte a schede */
.sns-chips {
	display: flex;
	gap: 8px;
	max-width: 100%;
	overflow-x: auto;
	padding: 2px;
	scrollbar-width: none;
}

.sns-chips::-webkit-scrollbar {
	display: none;
}

.sns-chips .sns-chip {
	background: var(--sns-white);
	border: 1.5px solid var(--sns-grey-300);
	border-radius: 999px;
	color: var(--sns-black);
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	min-height: 38px;
	padding: 0 16px;
	text-transform: none;
}

.sns-chips .sns-chip:hover {
	background: var(--sns-white);
	border-color: var(--sns-black);
	color: var(--sns-black);
}

.sns-chips .sns-chip[aria-selected="true"] {
	background: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

.sns-deals__more {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

/* Brand che scorrono: due copie della stessa fila affiancate, spostate insieme
   di tutta la loro larghezza, così il giro non ha stacchi. */
.sns-marquee {
	display: flex;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	overflow: hidden;
	padding: 4px 0;
}

.sns-marquee__track {
	animation: sns-marquee var(--sns-marquee-duration, 40s) linear infinite;
	display: flex;
	flex-shrink: 0;
	gap: 16px;
	justify-content: space-around;
	list-style: none;
	margin: 0;
	min-width: 100%;
	padding: 0 16px 0 0;
}

.sns-marquee:hover .sns-marquee__track,
.sns-marquee:focus-within .sns-marquee__track {
	animation-play-state: paused;
}

@keyframes sns-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

.sns-marquee__track li {
	flex-shrink: 0;
	margin: 0;
}

/* Solo il logo, senza riquadro */
.sns-marquee__item {
	align-items: center;
	background: none;
	border: 0;
	box-shadow: none;
	display: flex;
	height: 116px;
	justify-content: center;
	padding: 14px 18px 26px;
	position: relative;
	text-decoration: none;
	width: 196px;
}

.sns-marquee__item:focus-visible {
	border-radius: 8px;
	outline: 2px solid var(--sns-black);
	outline-offset: -2px;
}

/* Loghi nei loro colori; al passaggio del mouse si ingrandiscono appena */
.sns-marquee .sns-marquee__logo {
	height: auto;
	margin: 0;
	max-height: 72px;
	max-width: 100%;
	object-fit: contain;
	transition: transform 0.2s ease;
	width: auto;
}

.sns-marquee__item:hover .sns-marquee__logo,
.sns-marquee__item:focus-visible .sns-marquee__logo {
	transform: scale(1.05);
}

/* Il nome compare solo al passaggio del mouse (o con la tastiera) */
.sns-marquee__name {
	bottom: 7px;
	color: var(--sns-black);
	font-size: 12px;
	font-weight: 700;
	left: 8px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	right: 8px;
	text-align: center;
	text-overflow: ellipsis;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.sns-marquee__item:hover .sns-marquee__name,
.sns-marquee__item:focus-visible .sns-marquee__name {
	opacity: 1;
	transform: translateY(0);
}

/* Brand ancora senza logo: si mostra il nome */
.sns-marquee__item--text {
	padding-bottom: 14px;
}

.sns-marquee__item--text .sns-marquee__name {
	color: var(--sns-grey-600);
	font-size: 17px;
	font-weight: 800;
	opacity: 1;
	position: static;
	transform: none;
	white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
	.sns-marquee {
		-webkit-mask-image: none;
		mask-image: none;
		overflow-x: auto;
	}

	.sns-marquee__track {
		animation: none;
	}

	.sns-marquee__track--clone {
		display: none;
	}
}

/* Promo */
.sns-promos {
	display: grid;
	gap: var(--sns-gap);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.sns-promos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sns-promos--single {
		grid-template-columns: minmax(0, 1fr);
	}
}

.sns-promo {
	align-items: center;
	border-radius: var(--sns-radius-lg);
	color: var(--sns-white);
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: space-between;
	min-height: 120px;
	padding: 24px 28px;
}

.sns-promo--coupon {
	background: var(--sns-accent);
}

.sns-promo__text {
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0;
}

.sns-promo__text small {
	display: block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	margin-top: 4px;
	opacity: 0.85;
}

.sns-promo .sns-promo__code {
	background: transparent;
	border: 2px dashed rgba(255, 255, 255, 0.85);
	color: var(--sns-white);
	font-family: ui-monospace, Consolas, monospace;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.12em;
	min-height: 48px;
	padding: 0 18px;
}

.sns-promo .sns-promo__code:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--sns-white);
}

.sns-promo .sns-promo__code.is-copied::after {
	content: "✓";
	letter-spacing: 0;
}

/* Newsletter */
.sns-newsletter {
	align-items: center;
	background: var(--sns-black);
	border-radius: var(--sns-radius-lg);
	color: var(--sns-white);
	display: grid;
	gap: 24px 56px;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	padding: 32px 24px;
	position: relative;
}

@media (min-width: 900px) {
	.sns-newsletter {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		padding: 48px 56px;
	}
}

.sns-newsletter__intro {
	align-items: flex-start;
	display: flex;
	gap: 18px;
}

.sns-newsletter__intro .sns-icon {
	color: var(--sns-accent);
	flex-shrink: 0;
	height: 44px;
	width: 44px;
}

.sns-newsletter .sns-newsletter__title {
	color: var(--sns-white);
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0 0 10px;
}

.sns-newsletter__text {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	opacity: 0.8;
}

.sns-newsletter__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sns-newsletter__row input[type="email"] {
	background: var(--sns-white);
	border: 0;
	color: var(--sns-black);
	flex: 1 1 220px;
	min-width: 0;
}

.sns-newsletter__row .button {
	background: var(--sns-accent);
	border-color: var(--sns-accent);
	flex: 0 0 auto;
	min-height: var(--sns-control);
}

.sns-newsletter__row .button:hover {
	background: var(--sns-white);
	border-color: var(--sns-white);
	color: var(--sns-black);
}

.sns-newsletter .sns-check {
	color: rgba(255, 255, 255, 0.8);
}

.sns-newsletter .sns-check a {
	color: var(--sns-white);
}

.sns-newsletter .sns-form-msg.is-error {
	color: #ff9b94;
}

.sns-newsletter .sns-form-msg.is-success {
	color: #8be3b0;
}

/* Elementi comuni dei moduli (newsletter e contatti) */
.sns-check {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 400;
	gap: 10px;
	line-height: 1.5;
	margin: 14px 0 0;
}

.sns-check input {
	accent-color: var(--sns-accent);
	flex-shrink: 0;
	height: 16px;
	margin: 2px 0 0;
	width: 16px;
}

.sns-check a {
	text-decoration: underline;
}

.sns-form-msg {
	font-size: 14px;
	font-weight: 600;
	margin: 10px 0 0;
}

.sns-form-msg:empty {
	display: none;
}

.sns-form-msg.is-error {
	color: var(--sns-accent);
}

.sns-form-msg.is-success {
	color: var(--sns-success);
}

/* Campo trappola per i bot: invisibile alle persone */
.sns-hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.sns-notice {
	border-radius: var(--sns-radius);
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 20px;
	padding: 14px 16px;
}

.sns-notice.is-success {
	background: #e8f6ee;
	color: var(--sns-success);
}

.sns-notice.is-error {
	background: #fdeceb;
	color: var(--sns-accent);
}

/* Domande frequenti (homepage, scheda prodotto, contatti) */
.sns-faq {
	align-items: start;
	display: grid;
	gap: 0 40px;
	grid-template-columns: minmax(0, 1fr);
}

.sns-faq__item {
	border-bottom: 1px solid var(--sns-grey-200);
}

.sns-faq__item:first-child {
	border-top: 1px solid var(--sns-grey-200);
}

@media (min-width: 900px) {
	.sns-faq {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sns-faq__item:nth-child(2) {
		border-top: 1px solid var(--sns-grey-200);
	}
}

.sns-faq__item summary {
	align-items: center;
	color: var(--sns-black);
	cursor: pointer;
	display: flex;
	font-size: 16px;
	font-weight: 700;
	gap: 16px;
	justify-content: space-between;
	line-height: 1.35;
	list-style: none;
	padding: 18px 0;
}

.sns-faq__item summary::-webkit-details-marker {
	display: none;
}

.sns-faq__item summary::after {
	color: var(--sns-accent);
	content: "+";
	flex-shrink: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.sns-faq__item[open] summary::after {
	content: "–";
}

.sns-faq__item summary:hover {
	color: var(--sns-accent);
}

.sns-faq__answer {
	color: var(--sns-text);
	font-size: 15px;
	line-height: 1.65;
	max-width: 70ch;
	padding: 0 0 18px;
}

.sns-faq__answer p:last-child {
	margin-bottom: 0;
}

/* Servizi */
.sns-services {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius-lg);
	display: grid;
	gap: 20px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 24px;
}

@media (min-width: 900px) {
	.sns-services {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 28px 32px;
	}
}

.sns-service {
	align-items: flex-start;
	display: flex;
	gap: 12px;
}

.sns-service .sns-icon {
	color: var(--sns-accent);
	flex-shrink: 0;
	height: 26px;
	width: 26px;
}

.sns-service p {
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

.sns-service strong {
	color: var(--sns-black);
	display: block;
	font-size: 15px;
}

.sns-service span {
	color: var(--sns-grey-600);
}

/* ==========================================================================
   6. Griglie e card prodotto
   ========================================================================== */

ul.products,
.site-main ul.products {
	display: grid;
	gap: 28px 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 32px;
	padding: 0;
}

ul.products::before,
ul.products::after {
	display: none !important;
}

@media (min-width: 768px) {
	ul.products,
	.site-main ul.products {
		gap: 36px var(--sns-gap);
	}

	ul.products.columns-3,
	ul.products.columns-4,
	ul.products.columns-5,
	ul.products.columns-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	ul.products.columns-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	ul.products.columns-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

ul.products li.product,
.site-main ul.products li.product {
	clear: none !important;
	float: none !important;
	list-style: none;
	margin: 0 !important;
	position: relative;
	text-align: left;
	width: auto !important;
}

ul.products li.product .woocommerce-LoopProduct-link {
	color: inherit;
	display: block;
	position: relative;
	text-decoration: none;
}

ul.products li.product img {
	aspect-ratio: 1 / 1;
	background: var(--sns-grey-50);
	border-radius: 8px;
	display: block;
	margin: 0 0 12px;
	object-fit: cover;
	width: 100%;
}

ul.products li.product .sns-hover-img {
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: opacity 0.3s ease;
}

ul.products li.product:hover .sns-hover-img {
	opacity: 1;
}

/* Taglie disponibili al passaggio del mouse */
.sns-card-sizes {
	align-items: flex-end;
	aspect-ratio: 1 / 1;
	display: flex;
	left: 0;
	opacity: 0;
	padding: 8px;
	pointer-events: none;
	position: absolute;
	top: 0;
	transition: opacity 0.2s ease;
	width: 100%;
	z-index: 2;
}

ul.products li.product:hover .sns-card-sizes,
ul.products li.product:focus-within .sns-card-sizes {
	opacity: 1;
}

.sns-card-sizes__bar {
	background: rgba(255, 255, 255, 0.96);
	border-radius: var(--sns-radius);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	color: var(--sns-black);
	font-size: 12.5px;
	font-weight: 600;
	overflow: hidden;
	padding: 7px 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.sns-card-sizes__bar b {
	font-weight: 800;
	margin-right: 4px;
}

@media (hover: none) {
	.sns-card-sizes {
		display: none;
	}
}

.sns-card-brand {
	color: var(--sns-black);
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
	text-transform: uppercase;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3 {
	color: var(--sns-grey-600);
	font-family: var(--sns-font);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0 0 6px;
	padding: 0;
	text-transform: none;
}

ul.products li.product .price {
	align-items: baseline;
	color: var(--sns-black);
	display: flex;
	flex-wrap: wrap;
	font-size: 15px;
	font-weight: 700;
	gap: 2px 8px;
	margin: 0;
}

ul.products li.product .price del,
.single-product div.product p.price del,
.single-product div.product span.price del {
	color: var(--sns-grey-600);
	font-size: 0.86em;
	font-weight: 400;
	opacity: 1;
}

ul.products li.product .price ins,
.single-product div.product p.price ins,
.single-product div.product span.price ins {
	background: none;
	color: var(--sns-accent);
	font-weight: 800;
	text-decoration: none;
}

.sns-card-last {
	color: var(--sns-accent);
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
}

ul.products li.product .button,
ul.products li.product .added_to_cart {
	margin-top: 12px;
	width: 100%;
}

/* Badge */
.sns-badges {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 4px;
	left: 8px;
	pointer-events: none;
	position: absolute;
	top: 8px;
	z-index: 3;
}

.sns-badge,
.sns-badges .onsale,
.single-product div.product .onsale {
	border: 0;
	border-radius: 4px;
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 4px 7px;
	position: static;
	text-transform: uppercase;
}

.sns-badges .onsale,
.single-product div.product .onsale {
	background: var(--sns-accent);
	color: var(--sns-on-accent);
	font-size: 13px;
}

.sns-badge--new {
	background: var(--sns-black);
	color: var(--sns-white);
}

.sns-badge--soldout {
	background: var(--sns-white);
	border: 1.5px solid var(--sns-black);
	color: var(--sns-black);
}

/* ==========================================================================
   7. Negozio e categorie
   ========================================================================== */

/* Riquadro rosso con il nome del negozio o della categoria, come il banner della homepage */
.sns-shop-hero {
	background: var(--sns-accent);
	border-radius: var(--sns-radius-lg);
	color: var(--sns-white);
	margin: 0 0 28px;
	overflow: hidden;
	padding: 32px 24px;
	position: relative;
}

@media (min-width: 768px) {
	.sns-shop-hero {
		padding: 48px 56px;
	}
}

.sns-shop-hero__sole {
	color: rgba(255, 255, 255, 0.1);
	height: 260%;
	pointer-events: none;
	position: absolute;
	right: 8%;
	top: 50%;
	transform: translateY(-50%) rotate(16deg);
	width: auto;
}

.sns-shop-hero__body {
	max-width: 720px;
	position: relative;
}

.sns-shop-hero .sns-shop-hero__title {
	color: var(--sns-white);
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0;
}

.sns-shop-hero__text {
	font-size: 15px;
	line-height: 1.55;
	margin: 12px 0 0;
	opacity: 0.92;
}

.sns-shop-hero__text p {
	margin: 0;
}

.sns-shop-hero__text a {
	color: var(--sns-white);
}

.sns-shop-hero__count {
	background: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	margin: 16px 0 0;
	padding: 5px 12px;
}

/* Il titolo standard di WooCommerce resta vuoto: si nasconde */
.sns-shop-layout .woocommerce-products-header:not(:has(*)) {
	display: none;
}

.woocommerce-products-header {
	margin: 0 0 20px;
	padding: 0;
}

.woocommerce-products-header__title.page-title,
.page-title,
.entry-title {
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	letter-spacing: -0.03em;
	margin: 0 0 8px;
}

.term-description {
	color: var(--sns-grey-600);
	font-size: 15px;
	max-width: 70ch;
}

.storefront-sorting {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 12px 16px;
	justify-content: space-between;
	margin: 0 0 24px;
}

.storefront-sorting::before,
.storefront-sorting::after,
.storefront-sorting .woocommerce-notices-wrapper:empty {
	display: none;
}

.storefront-sorting .woocommerce-result-count {
	color: var(--sns-grey-600);
	float: none;
	margin: 0;
	order: 1;
}

.storefront-sorting .woocommerce-ordering {
	float: none;
	margin: 0 0 0 auto;
	order: 2;
}

.storefront-sorting .woocommerce-pagination {
	float: none;
	margin: 0 auto;
	order: 3;
	padding: 0;
}

.woocommerce-ordering select {
	min-height: 40px;
}

.woocommerce-pagination .page-numbers {
	border: 0;
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination .page-numbers li {
	border: 0;
	display: block;
}

.woocommerce-pagination .page-numbers li .page-numbers {
	align-items: center;
	background: var(--sns-white);
	border: 1px solid var(--sns-grey-200);
	border-radius: var(--sns-radius);
	color: var(--sns-black);
	display: flex;
	font-weight: 600;
	height: 40px;
	justify-content: center;
	min-width: 40px;
	padding: 0 10px;
}

.woocommerce-pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers:hover {
	background: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

/* Chip dei filtri attivi sopra i prodotti */
.sns-active-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.sns-active-filters__chip {
	align-items: center;
	background: var(--sns-grey-50);
	border: 1px solid var(--sns-grey-200);
	border-radius: 999px;
	color: var(--sns-black);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	line-height: 1.2;
	padding: 7px 12px 7px 14px;
	text-decoration: none;
}

.sns-active-filters__chip span[aria-hidden="true"] {
	color: var(--sns-grey-600);
	font-size: 17px;
	line-height: 1;
}

.sns-active-filters__chip:hover {
	border-color: var(--sns-black);
	color: var(--sns-black);
}

.sns-active-filters__reset {
	color: var(--sns-accent);
	font-size: 13px;
	font-weight: 700;
	margin-left: 4px;
}

/* Barra laterale del negozio: ricerca, categorie, taglia, prezzo, sconto, brand */
.sns-shop-filters {
	font-size: 14px;
}

.sns-filters-head {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
	margin: 0 0 14px;
}

.sns-filters-head__title {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.sns-filters-head__reset {
	color: var(--sns-accent);
	font-size: 13px;
	font-weight: 700;
}

.sns-filter-search {
	margin: 0 0 6px;
}

.sns-filter {
	border-bottom: 1px solid var(--sns-grey-100);
}

.sns-filter__title {
	align-items: center;
	color: var(--sns-black);
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: space-between;
	letter-spacing: 0.06em;
	list-style: none;
	padding: 16px 0;
	text-transform: uppercase;
}

.sns-filter__title::-webkit-details-marker {
	display: none;
}

.sns-filter__title::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 7px;
	margin: -4px 2px 0 0;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	width: 7px;
}

.sns-filter[open] > .sns-filter__title::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.sns-filter__body {
	padding: 0 0 18px;
}

.sns-filter-count {
	color: var(--sns-grey-600);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}

/* Categorie */
.sns-filter-cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sns-filter-cats .sns-filter-cats {
	border-left: 2px solid var(--sns-grey-100);
	margin: 2px 0 6px 2px;
	padding-left: 12px;
}

.sns-filter-all,
.sns-filter-cats a {
	align-items: baseline;
	color: var(--sns-text);
	display: flex;
	gap: 8px;
	justify-content: space-between;
	padding: 7px 0;
	text-decoration: none;
}

.sns-filter-all:hover,
.sns-filter-cats a:hover {
	color: var(--sns-accent);
}

.sns-filter-all[aria-current],
.sns-filter-cats a[aria-current] {
	color: var(--sns-black);
	font-weight: 800;
}

/* Taglie a pulsanti, come nella scheda prodotto */
.sns-filter-sub {
	color: var(--sns-grey-600);
	font-size: 12px;
	font-weight: 600;
	margin: 0 0 8px;
}

.sns-filter-sizes + .sns-filter-sub {
	margin-top: 14px;
}

.sns-filter-sizes {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
}

.sns-filter-size,
.sns-filter-option {
	align-items: center;
	background: var(--sns-white);
	border: 1.5px solid var(--sns-grey-300);
	color: var(--sns-black);
	display: inline-flex;
	font-weight: 600;
	justify-content: center;
	text-decoration: none;
}

.sns-filter-size {
	border-radius: var(--sns-radius);
	font-variant-numeric: tabular-nums;
	height: 40px;
}

.sns-filter-option {
	border-radius: 999px;
	font-size: 13px;
	padding: 7px 13px;
}

.sns-filter-size:hover,
.sns-filter-option:hover {
	border-color: var(--sns-black);
	color: var(--sns-black);
}

.sns-filter-size.is-active,
.sns-filter-option.is-active {
	background: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

/* Prezzo e sconto */
.sns-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sns-filter-price {
	align-items: center;
	display: grid;
	gap: 6px;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
	margin: 12px 0 0;
}

.sns-filter-price label {
	margin: 0;
}

.sns-filter-price input[type="number"] {
	background: var(--sns-white);
	border: 1.5px solid var(--sns-grey-300);
	border-radius: var(--sns-radius);
	box-shadow: none;
	font-size: 14px;
	height: 40px;
	padding: 0 10px;
	width: 100%;
}

.sns-filter-price input[type="number"]:focus {
	border-color: var(--sns-black);
}

.sns-filter-price .button {
	height: 40px;
	min-height: 0;
	padding: 0 14px;
}

/* Brand a caselle, con ricerca quando sono tanti */
.sns-shop-filters .sns-filter-find {
	border: 1.5px solid var(--sns-grey-300);
	font-size: 14px;
	height: 40px;
	margin: 0 0 10px;
	padding: 0 12px;
	width: 100%;
}

.sns-filter-checks {
	list-style: none;
	margin: 0;
	max-height: 280px;
	overflow-y: auto;
	padding: 0;
}

.sns-filter-check {
	align-items: center;
	color: var(--sns-text);
	display: flex;
	gap: 10px;
	padding: 6px 0;
	text-decoration: none;
}

.sns-filter-check::before {
	background: var(--sns-white) center / 12px no-repeat;
	border: 1.5px solid var(--sns-grey-300);
	border-radius: 4px;
	content: "";
	flex: 0 0 18px;
	height: 18px;
}

.sns-filter-check > span:first-child {
	flex: 1;
}

.sns-filter-check:hover {
	color: var(--sns-black);
}

.sns-filter-check:hover::before {
	border-color: var(--sns-black);
}

.sns-filter-check.is-active {
	color: var(--sns-black);
	font-weight: 700;
}

.sns-filter-check.is-active::before {
	background-color: var(--sns-black);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	border-color: var(--sns-black);
}

.sns-shop-filters .widget {
	margin-top: 24px;
}

/* Pulsante "Filtri": nascosto da desktop, dove i filtri sono nella colonna a sinistra */
.sns-filters-toggle,
.sns-filters-close,
.sns-filters-done,
.sns-filters-backdrop {
	display: none;
}

/* Desktop: la colonna dei filtri resta visibile mentre si scorre (scorre da sola se è più alta dello schermo) */
@media (min-width: 1024px) {
	.sns-shop-layout #secondary.sns-shop-filters {
		max-height: calc(100vh - 96px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-right: 10px;
		position: sticky;
		scrollbar-color: var(--sns-grey-300) transparent;
		scrollbar-width: thin;
		top: 76px;
	}

	.admin-bar.sns-shop-layout #secondary.sns-shop-filters {
		max-height: calc(100vh - 128px);
		top: 108px;
	}
}

/* Telefono e tablet */
@media (max-width: 1023px) {
	.sns-shop-layout .content-area,
	.sns-shop-layout .widget-area {
		float: none;
		margin-right: 0;
		width: 100%;
	}

	/* Barra sopra i prodotti: Filtri e Ordina affiancati, resta in alto scorrendo */
	.sns-has-filters .storefront-sorting.sns-shop-toolbar {
		background: var(--sns-white);
		display: grid;
		gap: 10px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		margin: 0 0 16px;
		padding: 10px 0;
		position: sticky;
		top: 0;
		z-index: 50;
	}

	.sns-header-fixed .storefront-sorting.sns-shop-toolbar {
		top: 64px;
	}

	.sns-nav-fixed .storefront-sorting.sns-shop-toolbar {
		top: 51px;
	}

	.sns-shop-toolbar .sns-filters-toggle {
		grid-column: 1;
		grid-row: 1;
	}

	.sns-shop-toolbar .woocommerce-ordering {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}

	.sns-shop-toolbar .woocommerce-ordering select {
		font-size: 14px;
		font-weight: 600;
		height: 44px;
		min-height: 44px;
		width: 100%;
	}

	.sns-shop-toolbar .woocommerce-result-count {
		font-size: 13px;
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.sns-shop-toolbar .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.sns-shop-toolbar .woocommerce-pagination {
		display: none;
	}

	.sns-has-filters .sns-filters-toggle {
		align-items: center;
		background: var(--sns-black);
		border: 0;
		border-radius: var(--sns-radius);
		color: var(--sns-white);
		display: inline-flex;
		font-size: 14px;
		font-weight: 700;
		gap: 8px;
		height: 44px;
		justify-content: center;
		letter-spacing: 0;
		margin: 0;
		min-height: 0;
		padding: 0 14px;
		text-transform: none;
		width: 100%;
	}

	.sns-filters-toggle .sns-icon {
		height: 18px;
		width: 18px;
	}

	.sns-filters-toggle__count {
		align-items: center;
		background: var(--sns-accent);
		border-radius: 999px;
		display: inline-flex;
		font-size: 11px;
		height: 20px;
		justify-content: center;
		min-width: 20px;
		padding: 0 6px;
	}

	/* Pannello dei filtri: entra da sinistra a tutta altezza */
	.sns-has-filters #secondary.sns-shop-filters {
		background: var(--sns-white);
		bottom: 0;
		box-shadow: var(--sns-shadow);
		left: 0;
		margin: 0;
		max-width: 420px;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 0 20px;
		position: fixed;
		top: 0;
		transform: translateX(-100%);
		transition: transform 0.25s ease, visibility 0s linear 0.25s;
		visibility: hidden;
		width: 88%;
		z-index: 1200;
	}

	.sns-has-filters #secondary.sns-shop-filters.is-open {
		transform: none;
		transition: transform 0.25s ease;
		visibility: visible;
	}

	.sns-has-filters .sns-filters-head {
		align-items: center;
		background: var(--sns-white);
		border-bottom: 1px solid var(--sns-grey-200);
		gap: 12px;
		margin: 0 -20px;
		padding: 14px 20px;
		position: sticky;
		top: 0;
		z-index: 2;
	}

	.sns-has-filters .sns-filters-head__reset {
		margin-left: auto;
	}

	.sns-has-filters .sns-filters-close {
		align-items: center;
		background: var(--sns-grey-50);
		border: 0;
		border-radius: 999px;
		color: var(--sns-black);
		display: inline-flex;
		font-size: 24px;
		font-weight: 400;
		height: 40px;
		justify-content: center;
		line-height: 1;
		min-height: 0;
		padding: 0;
		width: 40px;
	}

	.sns-has-filters .sns-filters-head__title {
		font-size: 18px;
	}

	.sns-has-filters .sns-filter-search {
		margin-top: 16px;
	}

	/* "Mostra i prodotti" sempre visibile in fondo al pannello */
	.sns-has-filters .sns-filters-done {
		background: var(--sns-white);
		border-top: 1px solid var(--sns-grey-200);
		bottom: 0;
		display: block;
		margin: 16px -20px 0;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		position: sticky;
	}

	.sns-has-filters .sns-filters-done .button {
		background: var(--sns-accent);
		border-color: var(--sns-accent);
		color: var(--sns-on-accent);
		font-weight: 800;
		min-height: 48px;
		width: 100%;
	}

	.sns-filters-backdrop {
		background: rgba(0, 0, 0, 0.45);
		display: block;
		inset: 0;
		position: fixed;
		z-index: 1150;
	}

	.sns-filters-backdrop[hidden] {
		display: none;
	}

	html.sns-filters-lock,
	html.sns-filters-lock body {
		overflow: hidden;
	}

	/* Brand: nel pannello la lista si allunga, senza una seconda barra di scorrimento */
	.sns-has-filters .sns-filter-checks {
		max-height: none;
	}

	/* Chip dei filtri attivi su una riga che scorre di lato */
	.sns-active-filters {
		flex-wrap: nowrap;
		margin-right: calc(var(--sns-gutter) * -1);
		overflow-x: auto;
		padding-right: var(--sns-gutter);
		scrollbar-width: none;
	}

	.sns-active-filters::-webkit-scrollbar {
		display: none;
	}

	.sns-active-filters__chip,
	.sns-active-filters__reset {
		flex-shrink: 0;
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sns-has-filters #secondary.sns-shop-filters,
	.sns-has-filters #secondary.sns-shop-filters.is-open {
		transition: none;
	}
}

/* Widget aggiunti in "Negozio – sotto i filtri" */
.widget-area .widget {
	border-bottom: 1px solid var(--sns-grey-100);
	font-size: 14px;
	margin: 0 0 24px;
	padding: 0 0 24px;
}

.widget-area .widget .widget-title,
.widget-area .widget .widgettitle,
.widget-area .widget h2,
.widget-area .widget .wp-block-heading {
	border: 0;
	color: var(--sns-black);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0 0 12px;
	padding: 0;
	text-transform: uppercase;
}

.widget-area .widget ul {
	list-style: none;
	margin: 0;
	max-height: 300px;
	overflow-y: auto;
	padding: 0;
}

.widget-area .widget ul li {
	margin: 0;
	padding: 5px 0;
}

.widget-area .widget a {
	color: var(--sns-text);
	text-decoration: none;
}

.widget-area .widget a:hover {
	color: var(--sns-accent);
}

/* ==========================================================================
   8. Scheda prodotto
   ========================================================================== */

.single-product div.product {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 0;
	position: relative;
}

.single-product div.product > * {
	grid-column: 1 / -1;
}

/* Due colonne già da tablet (verticale): foto a sinistra, acquisto a destra */
@media (min-width: 768px) {
	.single-product div.product {
		column-gap: 32px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.single-product div.product > .woocommerce-product-gallery {
		align-self: start;
		grid-column: 1;
		grid-row: 1;
	}

	/* Niente "sticky": FAQ, upsell e correlati stanno nello stesso contenitore e ci
	   finirebbero sotto mentre si scorre. */
	.single-product div.product > .summary {
		align-self: start;
		grid-column: 2;
		grid-row: 1;
	}
}

@media (min-width: 1000px) {
	.single-product div.product {
		column-gap: 48px;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	}
}

@media (min-width: 1200px) {
	.single-product div.product {
		column-gap: 72px;
	}
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary,
.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
.storefront-full-width-content.single-product div.product .summary {
	float: none !important;
	margin: 0 !important;
	width: auto !important;
}

.single-product div.product > .onsale {
	left: 16px;
	position: absolute;
	top: 16px;
	z-index: 5;
}

/* Galleria: la foto occupa tutta la colonna, quadrata e centrata, qualunque sia la misura caricata */
.single-product div.product .woocommerce-product-gallery {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.single-product div.product .woocommerce-product-gallery__image a {
	display: block;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder img {
	aspect-ratio: 1 / 1;
	background: var(--sns-white);
	border: 1px solid var(--sns-grey-100);
	border-radius: var(--sns-radius-lg);
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 8px 0 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	float: none !important;
	list-style: none;
	margin: 0 !important;
	width: auto !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	background: var(--sns-white);
	border: 1px solid var(--sns-grey-100);
	border-radius: var(--sns-radius);
	cursor: pointer;
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
	opacity: 0.55;
	transition: opacity 0.15s ease;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--sns-black);
	opacity: 1;
}

/* Su telefono le miniature scorrono in orizzontale, invece di rimpicciolirsi */
@media (max-width: 767px) {
	.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
		display: none;
	}

	.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 64px;
		scroll-snap-align: start;
	}
}

.woocommerce-product-gallery__trigger {
	background: var(--sns-white);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Colonna di acquisto */
.sns-single-brand {
	color: var(--sns-accent);
	display: inline-block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0 0 6px;
	text-decoration: none;
	text-transform: uppercase;
}

.sns-single-brand:hover {
	color: var(--sns-black);
}

.single-product div.product .product_title {
	font-size: clamp(1.6rem, 2.6vw, 2.25rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 14px;
}

.single-product div.product p.price {
	align-items: baseline;
	color: var(--sns-black);
	display: flex;
	flex-wrap: wrap;
	font-size: clamp(1.45rem, 3.2vw, 1.75rem);
	font-weight: 800;
	gap: 4px 12px;
	margin: 0 0 18px;
}

.single-product div.product .onsale + .product_title,
.single-product div.product .summary .onsale {
	margin-bottom: 10px;
}

/* Sotto il prezzo: "IVA inclusa · Risparmi X" e, a capo, il prezzo più basso degli ultimi 30 giorni */
.sns-price-note {
	color: var(--sns-grey-600);
	display: flex;
	flex-basis: 100%;
	flex-direction: column;
	font-size: 13px;
	font-weight: 400;
	gap: 2px;
	letter-spacing: 0;
	line-height: 1.45;
	margin-top: 4px;
}

.sns-price-note strong {
	color: var(--sns-accent);
	font-weight: 700;
}

.sns-price-note .amount {
	font-size: inherit;
}

.sns-price-note__lowest {
	color: var(--sns-black);
	font-weight: 600;
}

.storefront-sticky-add-to-cart .sns-price-note {
	display: none;
}

/* Su telefono la barra fissa coprirebbe il logo: c'è già la barra in basso di Storefront */
@media (max-width: 767px) {
	.storefront-sticky-add-to-cart {
		display: none;
	}
}

@media (max-width: 767px) {
	.single-product div.product .product_title {
		font-size: 1.5rem;
	}

	.sns-swatches {
		grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
	}
}

.single-product div.product .woocommerce-product-details__short-description {
	color: var(--sns-grey-600);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 20px;
}

.single-product div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

/* Varianti */
.single-product div.product table.variations,
.single-product div.product table.variations tbody,
.single-product div.product table.variations tr,
.single-product div.product table.variations th,
.single-product div.product table.variations td {
	background: none;
	border: 0;
	display: block;
	padding: 0;
	text-align: left;
}

.single-product div.product table.variations {
	margin: 0 0 4px;
}

.single-product div.product table.variations th {
	color: var(--sns-black);
	font-size: 14px;
	font-weight: 700;
	padding-bottom: 10px;
}

.single-product div.product table.variations th.sns-label-with-guide {
	align-items: baseline;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.single-product div.product table.variations td {
	padding-bottom: 20px;
	position: relative;
}

.sns-selected-value {
	color: var(--sns-grey-600);
	font-weight: 500;
	margin-left: 6px;
}

.sns-selected-value:not(:empty)::before {
	content: "· ";
}

.sns-swatches {
	display: none;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
}

.sns-enhanced .sns-swatches {
	display: grid;
}

.sns-enhanced select {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.sns-swatches .sns-swatch {
	background: var(--sns-white);
	border: 1.5px solid var(--sns-grey-300);
	color: var(--sns-black);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	min-height: 48px;
	padding: 0 8px;
	text-transform: none;
}

.sns-swatches .sns-swatch:hover {
	background: var(--sns-white);
	border-color: var(--sns-black);
	color: var(--sns-black);
}

.sns-swatches .sns-swatch[aria-pressed="true"] {
	background: var(--sns-black);
	border-color: var(--sns-black);
	color: var(--sns-white);
}

.sns-swatches .sns-swatch:disabled,
.sns-swatches .sns-swatch.is-unavailable {
	background: var(--sns-grey-50);
	border-color: var(--sns-grey-100);
	color: var(--sns-grey-600);
	cursor: not-allowed;
	opacity: 0.6;
	text-decoration: line-through;
}

.single-product div.product .reset_variations {
	color: var(--sns-grey-600);
	display: inline-block;
	font-size: 13px;
	margin-top: 10px;
}

button.sns-size-guide-toggle,
button.sns-size-guide-toggle:hover {
	background: none;
	border: 0;
	color: var(--sns-black);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	margin: 0 0 12px;
	min-height: 0;
	padding: 0;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-transform: none;
	text-underline-offset: 3px;
}

.sns-label-with-guide button.sns-size-guide-toggle {
	margin: 0;
}

button.sns-size-guide-toggle:hover {
	color: var(--sns-accent);
}

/* Prezzo della variante, disponibilità e pulsante */
.single-product div.product .single_variation_wrap .woocommerce-variation-price .price {
	font-size: 1.25rem;
}

.single-product div.product .woocommerce-variation-price,
.single-product div.product .woocommerce-variation-availability {
	margin-bottom: 10px;
}

.single-product div.product .stock {
	font-size: 14px;
	font-weight: 600;
}

.single-product div.product .stock.in-stock {
	color: var(--sns-success);
}

.single-product div.product .stock.out-of-stock {
	color: var(--sns-accent);
}

.single-product div.product .woocommerce-variation-add-to-cart,
.single-product div.product.product-type-simple form.cart {
	align-items: stretch;
	display: flex;
	gap: 10px;
}

.single-product div.product form.cart {
	margin-bottom: 0;
}

.single-product div.product form.cart .quantity {
	float: none;
	margin: 0;
}

.single-product div.product form.cart .quantity .qty {
	border: 1.5px solid var(--sns-grey-300);
	height: 54px;
	padding: 0;
	text-align: center;
	width: 64px;
}

.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1;
	float: none;
	font-size: 14px;
	min-height: 54px;
}

/* Servizi sotto il pulsante */
.sns-trust {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius-lg);
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 20px 0 0;
	padding: 16px 18px;
}

.sns-trust li {
	align-items: center;
	display: flex;
	font-size: 14px;
	gap: 12px;
	margin: 0;
}

.sns-trust .sns-icon {
	color: var(--sns-accent);
	flex-shrink: 0;
	height: 20px;
	width: 20px;
}

/* Accordion */
.sns-accordions {
	border-top: 1px solid var(--sns-grey-200);
	margin: 24px 0 16px;
}

.sns-accordion {
	border-bottom: 1px solid var(--sns-grey-200);
}

.sns-accordion summary {
	align-items: center;
	color: var(--sns-black);
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: space-between;
	list-style: none;
	padding: 16px 0;
}

.sns-accordion summary::-webkit-details-marker {
	display: none;
}

.sns-accordion summary::after {
	content: "+";
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}

.sns-accordion[open] summary::after {
	content: "–";
}

.sns-accordion__body {
	color: var(--sns-text);
	font-size: 15px;
	line-height: 1.6;
	padding: 0 0 18px;
}

.sns-accordion__body > :last-child {
	margin-bottom: 0;
}

.sns-accordion__body table {
	font-size: 14px;
	margin: 0;
}

.sns-accordion__body table th,
.sns-accordion__body table td {
	background: none;
	border-bottom: 1px solid var(--sns-grey-100);
	padding: 8px 0;
}

.sns-plain-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sns-plain-list li {
	margin: 0 0 6px;
}

.single-product div.product .product_meta {
	border: 0;
	color: var(--sns-grey-600);
	font-size: 13px;
	padding: 0;
}

.single-product div.product .product_meta > span {
	display: block;
	margin: 0 0 2px;
}

/* Domande frequenti sotto la scheda */
.single-product div.product .sns-product-faq {
	border-top: 1px solid var(--sns-grey-200);
	margin-top: var(--sns-section);
	padding-top: 32px;
}

.single-product div.product .sns-product-faq__title {
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	margin: 0 0 16px;
}

/* Correlati e upsell */
.single-product div.product .related,
.single-product div.product .up-sells {
	margin-top: var(--sns-section);
}

.single-product div.product .related > h2,
.single-product div.product .up-sells > h2 {
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	margin: 0 0 20px;
}

/* Barra "aggiungi al carrello" fissa di Storefront */
.storefront-sticky-add-to-cart {
	background: var(--sns-white);
	border-bottom: 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	color: var(--sns-black);
}

.storefront-sticky-add-to-cart__content-title strong {
	color: var(--sns-black);
}

.storefront-sticky-add-to-cart__content-price ins {
	color: var(--sns-accent);
	font-weight: 800;
	text-decoration: none;
}

.storefront-sticky-add-to-cart .storefront-sticky-add-to-cart__content-button {
	background: var(--sns-accent);
	border-color: var(--sns-accent);
	color: var(--sns-white);
}

/* ==========================================================================
   9. Guida taglie
   ========================================================================== */

.sns-dialog {
	border: 0;
	border-radius: var(--sns-radius-lg);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
	color: var(--sns-black);
	max-width: min(720px, calc(100vw - 2rem));
	padding: 0;
	width: 100%;
}

.sns-dialog::backdrop {
	background: rgba(20, 20, 20, 0.6);
}

.sns-dialog__header {
	align-items: center;
	border-bottom: 1px solid var(--sns-grey-200);
	display: flex;
	justify-content: space-between;
	padding: 16px 20px;
}

.sns-dialog .sns-dialog__title {
	font-size: 1.25rem;
	margin: 0;
}

button.sns-dialog__close,
button.sns-dialog__close:hover {
	background: none;
	border: 0;
	color: var(--sns-black);
	font-size: 28px;
	line-height: 1;
	min-height: 0;
	padding: 0 4px;
}

.sns-dialog__body {
	max-height: 70vh;
	overflow: auto;
	padding: 20px;
}

.sns-table-wrap {
	margin-bottom: 24px;
	overflow-x: auto;
}

.sns-size-table {
	border-collapse: collapse;
	font-size: 14px;
	margin: 0;
	width: 100%;
}

.sns-size-table th,
.sns-size-table td {
	background: none;
	border-bottom: 1px solid var(--sns-grey-100);
	padding: 9px 8px;
	text-align: center;
}

.sns-size-table thead th {
	background: var(--sns-black);
	color: var(--sns-white);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sns-size-table tbody tr:nth-child(even) td {
	background: var(--sns-grey-50);
}

.sns-size-guide__intro {
	color: var(--sns-grey-600);
	font-size: 14px;
}

.sns-dialog .sns-size-guide__subtitle {
	font-size: 1rem;
	margin-bottom: 10px;
}

.sns-size-guide__steps {
	font-size: 14px;
	margin-bottom: 0;
}

/* ==========================================================================
   10. Carrello, checkout, account
   ========================================================================== */

.sns-shipping-bar {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius-lg);
	font-size: 14px;
	margin-bottom: 24px;
	padding: 14px 18px;
}

.sns-shipping-bar p {
	margin: 0 0 8px;
}

.sns-shipping-bar__track {
	background: var(--sns-grey-200);
	border-radius: 999px;
	height: 6px;
	overflow: hidden;
}

.sns-shipping-bar__track span {
	background: var(--sns-accent);
	border-radius: 999px;
	display: block;
	height: 100%;
	transition: width 0.4s ease;
}

.sns-shipping-bar.is-complete p {
	color: var(--sns-success);
	font-weight: 700;
}

table.shop_table {
	border: 1px solid var(--sns-grey-200);
	border-collapse: separate;
	border-radius: var(--sns-radius-lg);
	border-spacing: 0;
	overflow: hidden;
}

table.shop_table th {
	background: var(--sns-grey-50);
	color: var(--sns-black);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

table.shop_table td,
table.shop_table th {
	border-color: var(--sns-grey-100);
}

table.cart td.product-thumbnail img {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius);
	max-width: 80px;
}

table.cart td.product-name a {
	font-weight: 700;
	text-decoration: none;
}

.cart-collaterals .cart_totals,
#order_review {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius-lg);
	padding: 24px;
}

.cart-collaterals .cart_totals h2,
#order_review_heading {
	font-size: 1.25rem;
}

.wc-proceed-to-checkout .checkout-button,
#place_order {
	font-size: 15px;
	min-height: 54px;
	width: 100%;
}

.woocommerce form .form-row label {
	color: var(--sns-black);
	font-size: 14px;
	font-weight: 600;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	border-radius: var(--sns-radius-lg);
}

.widget_shopping_cart .sns-shipping-bar {
	font-size: 13px;
	margin: 0 0 16px;
	padding: 12px;
}

.sns-cart-trust {
	margin-top: 18px;
}

.sns-cart-trust[hidden] {
	display: none;
}

.sns-cart-trust .sns-trust {
	background: none;
	border-radius: 0;
	border-top: 1px solid var(--sns-grey-200);
	margin: 0;
	padding: 16px 0 0;
}

.sns-cart-trust .sns-trust li {
	font-size: 13px;
}

/* Carrello a blocchi di WooCommerce (pagina Carrello predefinita) */
.woocommerce-cart .entry-header .entry-title,
.woocommerce-checkout .entry-header .entry-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.wp-block-woocommerce-cart.alignwide {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

/* Colonna prodotti in una scheda */
.wc-block-cart .wc-block-cart__main {
	background: var(--sns-white);
	border: 1px solid var(--sns-grey-200);
	border-radius: var(--sns-radius-lg);
	padding: 4px 24px 8px;
}

.wc-block-cart table.wc-block-cart-items {
	margin: 0;
}

.wc-block-cart table.wc-block-cart-items th,
.wc-block-cart table.wc-block-cart-items td {
	background: none;
	border-color: var(--sns-grey-100);
}

.wc-block-cart .wc-block-cart-items__header th {
	color: var(--sns-grey-600);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding-bottom: 14px;
	padding-top: 18px;
	text-transform: uppercase;
}

.wc-block-cart .wc-block-cart-items__row:last-child td {
	border-bottom: 0;
}

.wc-block-cart .wc-block-cart-item__image img {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius);
}

.wc-block-cart .wc-block-components-product-name {
	color: var(--sns-black);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.wc-block-cart .wc-block-components-product-name:hover {
	color: var(--sns-accent);
}

.wc-block-cart .wc-block-components-product-metadata,
.wc-block-cart .wc-block-components-product-details {
	color: var(--sns-grey-600);
	font-size: 13px;
}

.wc-block-cart .wc-block-components-product-details__name {
	font-weight: 600;
}

/* Prezzi: barrato grigio, scontato rosso */
.wc-block-components-product-price del,
.wc-block-components-product-price__regular {
	color: var(--sns-grey-600);
	font-weight: 400;
}

.wc-block-components-product-price ins,
.wc-block-components-product-price__value.is-discounted {
	background: none;
	color: var(--sns-accent);
	font-weight: 800;
	text-decoration: none;
}

.wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price {
	color: var(--sns-black);
	font-size: 16px;
	font-weight: 800;
}

.wc-block-components-product-badge,
.wc-block-components-sale-badge {
	background: var(--sns-accent);
	border: 0;
	border-radius: 4px;
	color: var(--sns-on-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 3px 7px;
	text-transform: uppercase;
}

/* Quantità e rimuovi */
.wc-block-cart .wc-block-components-quantity-selector {
	border: 1px solid var(--sns-grey-300);
	border-radius: var(--sns-radius);
	overflow: hidden;
}

.wc-block-cart .wc-block-components-quantity-selector::after {
	display: none;
}

.wc-block-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	background: var(--sns-white);
	border: 0;
	box-shadow: none;
	color: var(--sns-black);
	font-weight: 700;
}

.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	background: var(--sns-white);
	color: var(--sns-black);
	min-width: 34px;
	opacity: 1;
}

.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not([disabled]) {
	background: var(--sns-grey-50);
}

.wc-block-cart .wc-block-cart-item__remove-link,
.wc-block-cart .wc-block-components-panel__button {
	background: none;
	border: 0;
	box-shadow: none;
	letter-spacing: 0;
	min-height: 0;
	padding: 0;
	text-transform: none;
}

.wc-block-cart .wc-block-cart-item__remove-link {
	color: var(--sns-grey-600);
	font-size: 13px !important;
	font-weight: 500;
	text-decoration: underline;
}

.wc-block-cart .wc-block-cart-item__remove-link:hover {
	color: var(--sns-accent);
}

/* Riepilogo in un riquadro grigio, fisso mentre si scorre */
.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block {
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius-lg);
	padding: 20px 24px 24px;
}

@media (min-width: 1000px) {
	.wc-block-cart.is-large .wc-block-cart__sidebar {
		align-self: flex-start;
		position: sticky;
		top: 80px;
	}
}

.wc-block-cart .wc-block-cart__totals-title {
	color: var(--sns-black);
	font-size: 18px !important;
	font-weight: 800;
	letter-spacing: 0;
	padding: 0 0 12px !important;
	text-align: left !important;
	text-transform: none;
}

.wc-block-cart .wc-block-components-totals-wrapper {
	border-color: var(--sns-grey-200) !important;
}

.wc-block-cart .wc-block-components-panel__button {
	color: var(--sns-black);
	font-size: 14px;
	font-weight: 700;
}

.wc-block-cart .wc-block-components-totals-coupon__form input,
.wc-block-components-text-input input {
	border-color: var(--sns-grey-300) !important;
	border-radius: var(--sns-radius) !important;
}

.wc-block-cart .wc-block-components-totals-coupon__button {
	background: var(--sns-black);
	border-radius: var(--sns-radius);
	color: var(--sns-white);
	font-weight: 700;
}

.wc-block-cart .wc-block-components-totals-item {
	font-size: 14px;
}

.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--sns-black);
	font-size: 20px;
	font-weight: 800;
}

.wc-block-cart .wc-block-components-totals-footer-item-tax {
	color: var(--sns-grey-600);
	font-size: 12px;
}

/* Pulsante "Procedi al pagamento" rosso a tutta larghezza */
body .wc-block-cart .wc-block-cart__submit-container {
	padding: 0;
}

body .wc-block-cart .wc-block-cart__submit-button,
body .wc-block-cart .wc-block-cart__submit-button:visited {
	background: var(--sns-accent);
	border: 0;
	border-radius: var(--sns-radius);
	box-shadow: none;
	color: var(--sns-on-accent);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.01em;
	min-height: 56px;
	text-decoration: none;
	transition: background 0.15s ease;
	width: 100%;
}

body .wc-block-cart .wc-block-cart__submit-button:hover,
body .wc-block-cart .wc-block-cart__submit-button:focus {
	background: var(--sns-black);
	color: var(--sns-white);
}

.wc-block-cart .wc-block-cart__payment-options {
	padding-top: 14px;
	text-align: center;
}

/* Telefono e tablet: riepilogo sotto, schede più compatte */
.wc-block-cart.is-mobile .wc-block-cart__main,
.wc-block-cart.is-small .wc-block-cart__main {
	padding: 0 14px 4px;
}

.wc-block-cart.is-mobile .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block,
.wc-block-cart.is-small .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block {
	margin-top: 20px;
	padding: 18px 16px 20px;
}

/* Carrello vuoto */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-size: 1.5rem;
	font-weight: 800;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before {
	opacity: 0.25;
}

/* Carrello classico: stessi accenti */
.woocommerce-cart table.cart .product-price ins,
.woocommerce-cart table.cart .product-subtotal {
	color: var(--sns-accent);
	font-weight: 800;
}

.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
	font-size: 20px;
	font-weight: 800;
}

.wc-proceed-to-checkout .checkout-button.button.alt {
	background: var(--sns-accent);
	border-radius: var(--sns-radius);
	font-weight: 800;
}

.wc-proceed-to-checkout .checkout-button.button.alt:hover {
	background: var(--sns-black);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
	color: #b8b8b8;
	font-size: 14px;
	padding-top: 56px;
}

.sns-footer {
	display: grid;
	gap: 36px 32px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-bottom: 40px;
}

.sns-footer__brand {
	grid-column: 1 / -1;
}

.sns-footer__col--contact {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.sns-footer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sns-footer__col--contact {
		grid-column: auto;
	}
}

@media (min-width: 1100px) {
	.sns-footer {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	}

	.sns-footer__brand {
		grid-column: auto;
	}
}

.sns-footer__logo {
	display: inline-block;
	margin: 0 0 16px;
}

.site-footer .sns-footer__logo img {
	display: block;
	height: auto;
	width: 200px;
}

.sns-footer__about {
	line-height: 1.6;
	margin: 0 0 20px;
	max-width: 36ch;
}

.site-footer .sns-footer__title {
	color: var(--sns-white);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.site-footer .sns-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .sns-footer__links li {
	margin: 0 0 10px;
}

/* Storefront sottolinea tutti i link del footer: qui niente linee sotto i testi. */
.site-footer a:not(.button):not(.components-button),
.site-footer a:not(.button):not(.components-button):hover,
.site-footer a:not(.button):not(.components-button):focus {
	text-decoration: none;
}

.site-footer .sns-footer__links a {
	color: #dedede;
	opacity: 1;
}

.site-footer .sns-footer__links a:hover {
	color: var(--sns-white);
}

.site-footer .sns-footer__links--help {
	margin-top: 18px;
}

.site-footer .sns-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .sns-social li {
	margin: 0;
}

.site-footer .sns-social a {
	align-items: center;
	border: 1px solid #3a3a3a;
	border-radius: 999px;
	color: var(--sns-white);
	display: flex;
	height: 40px;
	justify-content: center;
	opacity: 1;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	width: 40px;
}

.site-footer .sns-social a:hover {
	background: var(--sns-accent);
	border-color: var(--sns-accent);
	text-decoration: none;
}

.sns-social .sns-icon {
	height: 18px;
	width: 18px;
}

/* Recapiti (footer e pagina Contatti) */
.sns-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sns-contact-list li {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	line-height: 1.5;
	margin: 0 0 12px;
}

.sns-contact-list .sns-icon {
	color: var(--sns-accent);
	flex-shrink: 0;
	height: 18px;
	margin-top: 2px;
	width: 18px;
}

.site-footer .sns-contact-list a {
	color: #dedede;
	opacity: 1;
}

.sns-footer__bottom {
	align-items: center;
	border-top: 1px solid #2a2a2a;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 12px 24px;
	justify-content: space-between;
	/* In fondo spazio per il pulsante "Torna su", che altrimenti coprirebbe i loghi */
	padding: 20px 0 80px;
}

.sns-footer__legal {
	margin: 0;
}

.site-footer .sns-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Metodi senza logo: stessa misura delle carte */
.site-footer .sns-payments li {
	align-items: center;
	background: var(--sns-white);
	border-radius: 4px;
	color: var(--sns-black);
	display: flex;
	font-size: 11px;
	font-weight: 800;
	height: 35px;
	justify-content: center;
	margin: 0;
	min-width: 56px;
	padding: 0 8px;
}

.site-footer .sns-payments li.sns-payments__logo {
	background: none;
	min-width: 0;
	padding: 0;
}

.site-footer .sns-payments__logo img {
	border-radius: 4px;
	display: block;
	height: 35px;
	width: 56px;
}

/* Pulsante "Torna su" */
.sns-to-top {
	align-items: center;
	background: var(--sns-black);
	border: 0;
	border-radius: 999px;
	bottom: 20px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	color: var(--sns-white);
	display: flex;
	height: 46px;
	justify-content: center;
	min-height: 0;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	right: 20px;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
	visibility: hidden;
	width: 46px;
	z-index: 900;
}

.sns-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
	visibility: visible;
}

.sns-to-top:hover,
.sns-to-top:focus-visible {
	background: var(--sns-accent);
	color: var(--sns-white);
}

.sns-to-top .sns-icon {
	height: 22px;
	width: 22px;
}

@media (max-width: 767px) {
	.sns-to-top {
		bottom: 16px;
		right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sns-to-top {
		transition: none;
	}
}

/* La barra fissa in basso di Storefront è tolta in inc/storefront.php: se un plugin la rimette, resta nascosta */
.storefront-handheld-footer-bar {
	display: none !important;
}

/* ==========================================================================
   12. Pagina Contatti
   ========================================================================== */

.sns-contact__head {
	margin: 8px 0 32px;
	max-width: 720px;
}

.sns-contact .sns-contact__title {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0 0 12px;
}

.sns-contact__intro {
	color: var(--sns-grey-600);
	font-size: 17px;
	line-height: 1.55;
	margin: 0;
}

.sns-contact__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.sns-contact__grid {
		gap: 40px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	}
}

.sns-contact .sns-contact__subtitle {
	font-size: 1.2rem;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}

.sns-contact__info {
	align-self: start;
	background: var(--sns-grey-50);
	border-radius: var(--sns-radius-lg);
	padding: 24px;
}

.sns-contact__info .sns-contact-list {
	font-size: 15px;
	margin-bottom: 8px;
}

.sns-contact__info .sns-contact-list a {
	color: var(--sns-black);
	font-weight: 600;
}

.sns-contact__info .button {
	margin-top: 8px;
}

.sns-contact__faq {
	border-top: 1px solid var(--sns-grey-200);
	font-size: 14px;
	margin-top: 20px;
	padding-top: 16px;
}

.sns-contact__faq p {
	margin: 0 0 4px;
}

.sns-contact__faq a {
	font-weight: 700;
}

.sns-contact__form {
	border: 1px solid var(--sns-grey-200);
	border-radius: var(--sns-radius-lg);
	padding: 24px;
}

@media (min-width: 768px) {
	.sns-contact__form {
		padding: 32px;
	}
}

.sns-form__row {
	display: grid;
	gap: 0 16px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 600px) {
	.sns-form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.sns-field {
	margin: 0 0 16px;
}

.sns-field label {
	color: var(--sns-black);
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 6px;
}

.sns-field label small {
	color: var(--sns-grey-600);
	font-weight: 400;
}

.sns-field input,
.sns-field select,
.sns-field textarea {
	width: 100%;
}

.sns-form .sns-check {
	margin: 4px 0 20px;
}

.sns-form .button {
	min-height: 52px;
	width: 100%;
}

@media (min-width: 600px) {
	.sns-form .button {
		padding: 0 36px;
		width: auto;
	}
}

/* ==========================================================================
   13. Movimento ridotto
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
