/*
Theme Name: Dolce Fiesta
Theme URI: https://www.dolcefiesta.it/
Description: Tema classico (PHP) compatibile WooCommerce che replica il frontend headless Next.js di Dolce Fiesta: slider in home, menu categorie, sidebar con categorie e marchi, pagine marchio, ricerca istantanea con ricerche popolari, carrello laterale, checkout e area cliente. Usa i dati dei mu-plugin dolcefiesta-* (menu, slide, ricerche, prezzi rivenditore, sconti).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Dolce Fiesta
Text Domain: dolcefiesta
License: GPLv2 or later
WC requires at least: 8.0
*/

/* ==========================================================================
   Palette e base (come src/app/globals.css del frontend)
   ========================================================================== */
:root {
	--background: #ffffff;
	--foreground: #1c2152;
	--brand: #2f3a9e;
	--brand-dark: #1f2770;
	--brand-light: #e9ecfb;
	--accent: #f0567a;
	--accent-soft: rgba(240, 86, 122, 0.1);
	--muted: #6b7091;
	--line: #e4e6f2;
	--surface: #f7f8fd;
	--success: #059669;
	--radius: 1rem;
	--radius-lg: 1.5rem;
	--shadow: 0 10px 25px -5px rgba(28, 33, 82, 0.12), 0 8px 10px -6px rgba(28, 33, 82, 0.08);
	--shadow-xl: 0 25px 50px -12px rgba(28, 33, 82, 0.25);
	--font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	height: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.df-no-scroll {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 0.5rem 1rem;
	background: #fff;
	border-radius: 999px;
	font-weight: 700;
}

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

.site-main {
	flex: 1;
}

.container {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
}

.container--narrow {
	max-width: 64rem;
}

.page-pad {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.muted {
	color: var(--muted);
}

.tabular {
	font-variant-numeric: tabular-nums;
}

.page-title {
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 900;
	color: var(--brand-dark);
}

.section-title {
	font-size: 1.5rem;
	line-height: 1.25;
	font-weight: 900;
	color: var(--brand-dark);
}

.section-title--sm {
	font-size: 1.25rem;
}

.eyebrow {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
}

.link-more {
	flex-shrink: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--brand);
}

.link-more:hover {
	text-decoration: underline;
}

.home-section {
	padding-top: 3.5rem;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

/* Pulsanti */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.625rem 1.5rem;
	border: 2px solid var(--brand);
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, opacity 0.15s, color 0.15s;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: #fff;
}

.btn--accent,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order,
.woocommerce .checkout-button {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: 0 10px 15px -3px rgba(240, 86, 122, 0.3);
}

.btn--accent:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover {
	background: var(--accent);
	border-color: var(--accent);
	opacity: 0.9;
}

.btn--outline {
	background: #fff;
	color: var(--brand);
}

.btn--outline:hover {
	background: var(--brand-light);
	color: var(--brand);
	border-color: var(--brand);
}

.btn--block {
	width: 100%;
}

.btn[disabled],
.btn.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	box-shadow: none;
}

/* Campi */
.input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.select2-container--default .select2-selection--single,
.woocommerce .coupon input.input-text,
.df-field input,
.df-field select {
	width: 100%;
	min-height: 2.875rem;
	padding: 0.625rem 1rem;
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	background: #fff;
	outline: none;
	transition: border-color 0.15s;
}

.input:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.df-field input:focus {
	border-color: var(--brand);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
	right: 0.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.topbar {
	background: var(--brand);
	color: #fff;
	padding: 0.375rem 1rem;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 600;
}

.header-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 1rem;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.site-logo img {
	height: 3.5rem;
	width: auto;
}

.header-search {
	display: none;
}

.header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-search-mobile {
	position: relative;
	padding: 0 1rem 0.75rem;
}

@media (min-width: 640px) {
	.site-logo img {
		height: 4rem;
	}
}

@media (min-width: 768px) {
	.header-row {
		display: grid;
		grid-template-columns: minmax(max-content, 1fr) minmax(0, 42rem) minmax(max-content, 1fr);
		gap: 1.5rem;
	}

	.header-search {
		display: block;
	}

	.header-actions {
		justify-self: end;
	}

	.header-search-mobile {
		display: none;
	}
}

@media (min-width: 1024px) {
	.header-row {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.site-logo img {
		height: 5rem;
	}
}

.icon-btn {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--foreground);
}

.icon-btn:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.icon-btn svg,
.pill-btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

@media (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
}

.pill-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	transition: background-color 0.15s, border-color 0.15s;
}

.pill-btn:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.pill-btn .label {
	display: none;
	max-width: 8rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pill-btn .badge-reseller {
	display: none;
}

@media (min-width: 640px) {
	.pill-btn .label {
		display: inline;
	}
}

@media (min-width: 768px) {
	.pill-btn .badge-reseller {
		display: inline;
	}
}

.pill-btn--cart {
	padding: 0.5rem 1rem;
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

.pill-btn--cart:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: #fff;
}

.cart-count {
	position: absolute;
	top: -0.375rem;
	right: -0.375rem;
	display: grid;
	place-items: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 0.75rem;
}

.cart-count[data-count="0"] {
	display: none;
}

.badge-reseller {
	display: inline-block;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* Menu categorie desktop: una riga, le voci in più vanno in "Altre" */
.category-nav {
	display: none;
	border-top: 1px solid var(--line);
	padding: 0.5rem 1rem;
}

@media (min-width: 1024px) {
	.category-nav {
		display: block;
	}
}

.catnav {
	position: relative;
	width: 100%;
}

.catnav__list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem;
	overflow: hidden;
	font-size: 0.875rem;
	font-weight: 700;
}

.catnav__list > li {
	flex-shrink: 0;
}

.catnav__list > li[hidden] {
	display: none;
}

.catnav__link {
	display: block;
	white-space: nowrap;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	color: rgba(28, 33, 82, 0.8);
	transition: background-color 0.15s, color 0.15s;
}

.catnav__link:hover,
.catnav__link.is-active {
	background: var(--brand-light);
	color: var(--brand);
}

.catnav__more-btn {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	white-space: nowrap;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	color: var(--brand);
	font-weight: 700;
}

.catnav__more-btn:hover {
	background: var(--brand-light);
}

.catnav__more-btn svg {
	width: 1rem;
	height: 1rem;
	transition: transform 0.15s;
}

.catnav__more-btn[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.catnav__panel {
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 50;
	margin-top: 0.5rem;
	width: 16rem;
	max-height: 70vh;
	overflow-y: auto;
	padding: 0.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-xl);
	font-size: 0.875rem;
	font-weight: 700;
}

.catnav__panel a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 0.75rem;
}

.catnav__panel a:hover,
.catnav__panel a.is-active {
	background: var(--brand-light);
	color: var(--brand);
}

/* Menu mobile (pannello laterale) */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 60;
}

.drawer[hidden] {
	display: none;
}

.drawer__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	background: rgba(28, 33, 82, 0.4);
}

.drawer__panel {
	position: absolute;
	top: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: var(--shadow-xl);
}

.drawer--left .drawer__panel {
	left: 0;
	width: 85%;
	max-width: 24rem;
}

.drawer--right .drawer__panel {
	right: 0;
	width: 100%;
	max-width: 28rem;
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--line);
}

.drawer__title {
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--brand-dark);
}

.drawer__close {
	font-size: 1.75rem;
	line-height: 1;
	color: var(--muted);
}

.drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 0.5rem;
}

.drawer__foot {
	padding: 1rem;
	border-top: 1px solid var(--line);
}

.mobile-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem;
	border-radius: 0.75rem;
	font-weight: 700;
}

.mobile-menu a:hover,
.mobile-menu a.is-active {
	background: var(--brand-light);
	color: var(--brand);
}

.mobile-menu a span {
	color: var(--muted);
}

@media (min-width: 1024px) {
	.drawer--left {
		display: none;
	}
}

/* ==========================================================================
   Ricerca istantanea
   ========================================================================== */
.searchbox__form {
	display: flex;
	align-items: center;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	transition: border-color 0.15s, background-color 0.15s;
}

.searchbox__form:focus-within {
	border-color: var(--brand);
	background: #fff;
}

.searchbox__input {
	flex: 1;
	min-width: 0;
	padding: 0.625rem 1.25rem;
	border: 0;
	background: transparent;
	font-size: 0.875rem;
	outline: none;
}

.searchbox__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.searchbox__clear {
	padding: 0 0.5rem;
	font-size: 1.125rem;
	line-height: 1;
	color: var(--muted);
}

.searchbox__clear[hidden] {
	display: none;
}

.searchbox__submit {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-right: 0.25rem;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
}

.searchbox__submit:hover {
	background: var(--brand-dark);
}

.searchbox__submit svg {
	width: 1rem;
	height: 1rem;
}

.searchbox__panel {
	position: absolute;
	left: 1rem;
	right: 1rem;
	top: 100%;
	z-index: 50;
	max-width: 56rem;
	max-height: calc(100dvh - 12rem);
	margin: -0.25rem auto 0;
	overflow-y: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-xl);
}

.searchbox__panel[hidden] {
	display: none;
}

.searchbox__grid {
	display: grid;
}

@media (min-width: 640px) {
	.searchbox__grid.is-searching {
		grid-template-columns: minmax(0, 1fr) 17rem;
	}
}

.searchbox__results {
	min-width: 0;
	padding: 0.75rem;
}

.searchbox__label {
	padding: 0 0.5rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--muted);
}

.search-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem;
	border-radius: 0.75rem;
}

.search-item:hover,
.search-item.is-active {
	background: var(--brand-light);
}

.search-item__img {
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.5rem;
	background: var(--surface);
	overflow: hidden;
}

.search-item__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.search-item__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.875rem;
	font-weight: 600;
}

.search-item__price {
	margin-top: 0.125rem;
	font-size: 0.875rem;
}

.search-all {
	display: block;
	margin-top: 0.5rem;
	padding: 0.5rem;
	border-radius: 0.75rem;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--brand);
}

.search-all:hover {
	background: var(--brand-light);
}

.search-empty {
	padding: 1.5rem 0.5rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.search-popular {
	padding: 1rem;
	background: var(--surface);
}

.searchbox__grid.is-searching .search-popular {
	border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
	.searchbox__grid.is-searching .search-popular {
		border-top: 0;
		border-left: 1px solid var(--line);
	}

	.search-popular.is-wide .search-popular__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 16rem;
		gap: 1.5rem;
	}

	.search-popular.is-wide .search-popular__products {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.25rem;
	}
}

.search-popular__block + .search-popular__block {
	margin-top: 1.25rem;
}

.search-popular.is-wide .search-popular__block + .search-popular__block {
	margin-top: 0;
}

.search-popular .search-item {
	padding: 0.375rem;
}

.search-popular .search-item:hover {
	background: #fff;
}

.search-popular .search-item__img {
	width: 2.75rem;
	height: 2.75rem;
	background: #fff;
}

.search-popular .search-item__name {
	-webkit-line-clamp: 1;
	font-size: 0.75rem;
}

.search-popular .search-item__price {
	font-size: 0.75rem;
}

.search-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.search-terms button {
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.75rem;
	font-weight: 600;
}

.search-terms button:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.skeleton {
	background: var(--surface);
	border-radius: 0.5rem;
	animation: df-pulse 1.5s ease-in-out infinite;
}

@keyframes df-pulse {
	50% {
		opacity: 0.5;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	margin-top: 4rem;
	background: var(--brand-dark);
	color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
	display: grid;
	gap: 2rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

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

.footer-brand {
	font-size: 1.125rem;
	font-weight: 800;
	color: #fff;
}

.footer-title {
	font-weight: 700;
	color: #fff;
}

.footer-grid ul {
	margin-top: 0.5rem;
	font-size: 0.875rem;
}

.footer-grid li + li {
	margin-top: 0.25rem;
}

.footer-grid a:hover {
	color: #fff;
}

.footer-grid p {
	margin-top: 0.5rem;
	font-size: 0.875rem;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1rem;
	text-align: center;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Slider home e hero statica
   ========================================================================== */
.hero-slider {
	position: relative;
	max-width: 1920px;
	margin: 0 auto;
	overflow: hidden;
	background: var(--surface);
}

.hero-slider__track {
	display: flex;
	align-items: flex-start;
	touch-action: pan-y;
	transition: transform 0.7s ease-out;
}

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

.hero-slide {
	width: 100%;
	flex-shrink: 0;
}

.hero-slide > a,
.hero-slide > div {
	display: block;
}

.hero-slide img {
	width: 100%;
	height: auto;
	-webkit-user-select: none;
	user-select: none;
}

.hero-slide__media {
	position: relative;
}

.hero-slide__textonly {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 220px;
	background: linear-gradient(135deg, var(--brand-light), #fff, rgba(240, 86, 122, 0.1));
}

@media (min-width: 768px) {
	.hero-slide__textonly {
		min-height: 360px;
	}
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
}

.hero-slide__textonly .hero-slide__overlay {
	position: relative;
	width: 100%;
}

.hero-slide__text {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 2rem 1rem;
}

@media (min-width: 768px) {
	.hero-slide__text {
		padding: 2rem 4rem;
	}
}

.hero-slide__text > div {
	max-width: 36rem;
	color: var(--brand-dark);
}

.hero-slide__text.is-light > div {
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-slide__heading {
	font-size: 1.5rem;
	line-height: 1.15;
	font-weight: 900;
}

@media (min-width: 640px) {
	.hero-slide__heading {
		font-size: 2.25rem;
	}
}

@media (min-width: 768px) {
	.hero-slide__heading {
		font-size: 3rem;
	}
}

.hero-slide__sub {
	margin-top: 0.75rem;
	font-size: 1rem;
}

.hero-slide__text:not(.is-light) .hero-slide__sub {
	color: var(--muted);
}

.hero-slide__btn {
	display: inline-block;
	margin-top: 1.25rem;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	text-shadow: none;
	box-shadow: 0 10px 15px -3px rgba(240, 86, 122, 0.3);
}

.hero-slider__arrow {
	position: absolute;
	top: 50%;
	display: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	transform: translateY(-50%);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: var(--brand);
	box-shadow: var(--shadow);
}

.hero-slider__arrow:hover {
	background: #fff;
}

.hero-slider__arrow svg {
	width: 1.25rem;
	height: 1.25rem;
}

.hero-slider__arrow--prev {
	left: 0.75rem;
}

.hero-slider__arrow--next {
	right: 0.75rem;
}

.hero-slider__dots-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0;
	background: #fff;
}

.hero-slider__dots {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.5rem;
	border-radius: 999px;
}

.hero-slider__dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: rgba(47, 58, 158, 0.3);
	transition: width 0.2s, background-color 0.2s;
}

.hero-slider__dot[aria-current="true"] {
	width: 1.5rem;
	background: var(--brand);
}

.hero-slider__pause {
	display: grid;
	place-items: center;
	width: 1.25rem;
	height: 1.25rem;
	margin-left: 0.25rem;
	color: var(--brand);
}

.hero-slider__pause svg {
	width: 0.875rem;
	height: 0.875rem;
}

@media (min-width: 768px) {
	.hero-slider__arrow {
		display: grid;
	}

	.hero-slider__dots-wrap {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 1rem;
		padding: 0;
		background: transparent;
	}

	.hero-slider__dots {
		background: rgba(0, 0, 0, 0.25);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}

	.hero-slider__dot {
		background: rgba(255, 255, 255, 0.6);
	}

	.hero-slider__dot[aria-current="true"] {
		background: #fff;
	}

	.hero-slider__pause {
		color: rgba(255, 255, 255, 0.9);
	}
}

.static-hero {
	background: linear-gradient(135deg, var(--brand-light), #fff, rgba(240, 86, 122, 0.1));
}

.static-hero__grid {
	display: grid;
	align-items: center;
	gap: 2rem;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.static-hero h1 {
	margin-top: 0.5rem;
	font-size: 2.25rem;
	line-height: 1.15;
	font-weight: 900;
	color: var(--brand-dark);
}

.static-hero__lead {
	margin-top: 1rem;
	max-width: 32rem;
	font-size: 1.125rem;
	color: var(--muted);
}

.static-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.static-hero__logo {
	display: none;
	justify-content: center;
}

.static-hero__logo img {
	width: 20rem;
	filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.08));
}

@media (min-width: 768px) {
	.static-hero__grid {
		grid-template-columns: 1fr 1fr;
		padding-top: 5rem;
		padding-bottom: 5rem;
	}

	.static-hero h1 {
		font-size: 3rem;
	}

	.static-hero__logo {
		display: flex;
	}
}

/* ==========================================================================
   Catalogo: breadcrumb, categorie, griglia, card prodotto
   ========================================================================== */
.breadcrumbs {
	font-size: 0.875rem;
	color: var(--muted);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.breadcrumbs a:hover {
	color: var(--brand);
}

.breadcrumbs [aria-current] {
	font-weight: 600;
	color: var(--foreground);
}

.archive-title {
	margin-top: 0.75rem;
}

.term-description,
.wc-content {
	color: var(--muted);
}

.archive-description {
	margin-top: 0.75rem;
	max-width: 48rem;
}

.wc-content p {
	margin-bottom: 0.75rem;
}

.wc-content ul {
	list-style: disc;
	padding-left: 1.25rem;
	margin-bottom: 0.75rem;
}

.wc-content ol {
	list-style: decimal;
	padding-left: 1.25rem;
	margin-bottom: 0.75rem;
}

.wc-content a {
	color: var(--brand);
	text-decoration: underline;
}

.wc-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0.75rem;
}

.wc-content td,
.wc-content th {
	border: 1px solid var(--line);
	padding: 0.25rem 0.5rem;
	text-align: left;
}

/* Contenuto delle pagine editoriali (blocchi dell'editor) */
.wp-content {
	color: rgba(28, 33, 82, 0.85);
	font-size: 1.125rem;
	line-height: 1.65;
}

.wp-content h2 {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--brand-dark);
}

.wp-content h3 {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.2rem;
	font-weight: 800;
}

.wp-content .wp-block-columns {
	display: grid;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.wp-content .wp-block-columns {
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
	}
}

.wp-content iframe {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	border: 0;
	border-radius: 1rem;
}

.wp-content img {
	border-radius: 1rem;
}

.catalog-layout {
	margin-top: 2rem;
}

.catalog-layout.has-sidebar {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.catalog-layout.has-sidebar {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 2rem;
	}
}

.catalog-main {
	min-width: 0;
}

.catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}

.catalog-toolbar .result-count {
	font-size: 0.875rem;
	color: var(--muted);
}

.woocommerce-ordering {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.875rem;
}

.woocommerce-ordering label {
	color: var(--muted);
}

.woocommerce-ordering select {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
}

.active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.active-filters a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--brand-light);
	color: var(--brand);
	font-size: 0.875rem;
	font-weight: 700;
}

.products-wrap {
	margin-top: 1.5rem;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

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

	.has-sidebar .product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.has-sidebar .product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.empty-box {
	padding: 2rem;
	border-radius: var(--radius);
	background: var(--surface);
	text-align: center;
	color: var(--muted);
}

.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.product-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--surface);
	overflow: hidden;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.75rem;
	transition: transform 0.2s;
}

.product-card:hover .product-card__media img {
	transform: scale(1.05);
}

.product-card__noimg {
	display: grid;
	place-items: center;
	height: 100%;
	font-size: 0.875rem;
	color: var(--muted);
}

.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.75rem;
}

.product-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
}

.product-card:hover .product-card__title {
	color: var(--brand);
}

.product-card__price {
	margin-top: auto;
}

.badge-sale {
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	z-index: 1;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.badge-out {
	position: absolute;
	right: 0.5rem;
	top: 0.5rem;
	z-index: 1;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: rgba(28, 33, 82, 0.8);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

/* Prezzi */
.df-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
}

.df-price__current {
	font-weight: 800;
	color: var(--brand);
	font-variant-numeric: tabular-nums;
}

.df-price__regular {
	font-size: 0.75rem;
	color: var(--muted);
	text-decoration: line-through;
	font-variant-numeric: tabular-nums;
}

.df-price__note {
	width: 100%;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--accent);
}

.df-price__options {
	font-size: 0.75rem;
	color: var(--muted);
}

.df-price .woocommerce-Price-amount {
	white-space: nowrap;
}

/* Categorie con immagine tonda */
.cat-circles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.cat-circles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cat-circles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.cat-circles {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.cat-circles.is-compact {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.cat-circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	height: 100%;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	text-align: center;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.cat-circle:hover {
	border-color: var(--brand);
	box-shadow: 0 4px 6px -1px rgba(28, 33, 82, 0.1);
}

.cat-circle__img {
	width: 5rem;
	height: 5rem;
	overflow: hidden;
	border-radius: 999px;
	background: var(--brand-light);
}

.cat-circle__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-circle__name {
	font-size: 0.875rem;
	font-weight: 700;
}

.cat-circle:hover .cat-circle__name {
	color: var(--brand);
}

.cat-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cat-circles + .cat-pills {
	margin-top: 1rem;
}

.cat-pills a {
	display: block;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.875rem;
	font-weight: 700;
}

.cat-pills a:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.subcats {
	margin-bottom: 2rem;
}

/* Sidebar */
.sidebar-box + .sidebar-box {
	margin-top: 1.5rem;
}

.sidebar-details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.sidebar-details > summary {
	cursor: pointer;
	list-style: none;
	padding: 0.75rem 1rem;
	font-weight: 700;
}

.sidebar-details > summary::-webkit-details-marker {
	display: none;
}

.sidebar-details > summary::after {
	content: "▾";
	float: right;
	color: var(--muted);
}

.sidebar-details__body {
	border-top: 1px solid var(--line);
	padding: 0.5rem 0.5rem 0.75rem;
}

@media (min-width: 1024px) {
	.sidebar-details {
		border: 0;
		background: transparent;
	}

	.sidebar-details > summary {
		display: none;
	}

	.sidebar-details__body {
		border: 0;
		padding: 0;
	}
}

.sidebar-heading {
	display: block;
	margin-bottom: 0.5rem;
	padding: 0 0.75rem;
	font-size: 1rem;
	font-weight: 900;
	color: var(--brand-dark);
}

a.sidebar-heading:hover,
a.sidebar-heading.is-current {
	color: var(--brand);
}

.cat-tree .cat-tree {
	margin-left: 0.75rem;
	padding-left: 0.5rem;
	border-left: 1px solid var(--line);
}

.cat-tree a,
.filter-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	color: rgba(28, 33, 82, 0.8);
	transition: background-color 0.15s, color 0.15s;
}

.cat-tree a:hover,
.filter-list a:hover {
	background: var(--brand-light);
	color: var(--brand);
}

.cat-tree a.is-open {
	font-weight: 700;
	color: var(--foreground);
}

.cat-tree a.is-current,
.filter-list a.is-current {
	background: var(--brand-light);
	font-weight: 700;
	color: var(--brand);
}

.cat-tree .chev {
	font-size: 0.75rem;
	color: var(--muted);
	transition: transform 0.15s;
}

.cat-tree a.is-open .chev {
	transform: rotate(90deg);
}

.filter-list .count {
	font-size: 0.75rem;
	color: var(--muted);
}

.filter-list--scroll {
	max-height: 22rem;
	overflow-y: auto;
}

.filter-search {
	width: 100%;
	margin: 0 0 0.5rem;
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.8125rem;
}

/* Paginazione */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.pagination a,
.pagination span {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.pagination a:hover {
	border-color: var(--brand);
}

.pagination .current {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

.pagination .dots {
	border: 0;
	min-width: 0;
	padding: 0;
	color: var(--muted);
}

/* Carosello prodotti */
.carousel {
	position: relative;
}

.carousel__track {
	display: flex;
	gap: 0.75rem;
	margin: 0 -1rem;
	padding: 0 1rem 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 1rem;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
	display: none;
}

.carousel__track > li {
	flex-shrink: 0;
	width: 44%;
	scroll-snap-align: start;
}

@media (min-width: 640px) {
	.carousel__track {
		gap: 1rem;
	}

	.carousel__track > li {
		width: 31%;
	}
}

@media (min-width: 1024px) {
	.carousel__track > li {
		width: calc((100% - 3rem) / 4);
	}
}

@media (min-width: 1280px) {
	.carousel__track > li {
		width: calc((100% - 4rem) / 5);
	}
}

.carousel__arrow {
	position: absolute;
	top: 38%;
	z-index: 10;
	display: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	transform: translateY(-50%);
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--brand);
	box-shadow: var(--shadow);
	transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}

.carousel__arrow:hover {
	background: var(--brand);
	color: #fff;
}

.carousel__arrow:disabled {
	opacity: 0;
	pointer-events: none;
}

.carousel__arrow svg {
	width: 1.25rem;
	height: 1.25rem;
}

.carousel__arrow--prev {
	left: -1rem;
}

.carousel__arrow--next {
	right: -1rem;
}

@media (min-width: 768px) {
	.carousel__arrow {
		display: grid;
	}
}

/* ==========================================================================
   Marchi
   ========================================================================== */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.brand-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

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

@media (min-width: 1024px) {
	.brand-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.brand-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.15s, box-shadow 0.15s;
}

.brand-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.brand-card__logo {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	padding: 1rem;
}

.brand-card__logo img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

.brand-card__initials {
	padding: 0 0.75rem;
	text-align: center;
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--brand);
}

.brand-card__meta {
	margin-top: auto;
	padding: 0.5rem 0.75rem;
	border-top: 1px solid var(--line);
	text-align: center;
}

.brand-card__name {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.875rem;
	font-weight: 700;
}

.brand-card:hover .brand-card__name {
	color: var(--brand);
}

.brand-card__count {
	font-size: 0.75rem;
	color: var(--muted);
}

.brand-letters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-top: 1.5rem;
}

.brand-letters a {
	display: grid;
	place-items: center;
	min-width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
}

.brand-letters a:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.brand-header {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
}

@media (min-width: 640px) {
	.brand-header {
		flex-direction: row;
		align-items: center;
	}
}

.brand-header__logo {
	flex-shrink: 0;
	width: 10rem;
	height: 6rem;
}

.brand-header__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.25rem 1rem 0.25rem 0.25rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	color: rgba(28, 33, 82, 0.8);
}

.brand-link:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.brand-link__logo {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 999px;
	background: var(--surface);
	font-size: 0.75rem;
	font-weight: 900;
	color: var(--brand);
}

.brand-link__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.25rem;
}

.brand-link__kicker {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--muted);
}

/* ==========================================================================
   Scheda prodotto
   ========================================================================== */
.product-layout {
	display: grid;
	gap: 2.5rem;
	margin-top: 1.5rem;
}

@media (min-width: 1024px) {
	.product-layout {
		grid-template-columns: 1fr 1fr;
	}
}

.gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.gallery__main .woocommerce-product-gallery__image,
.gallery__main .woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 1.5rem;
}

.gallery__thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.75rem;
	overflow-x: auto;
}

.gallery__thumb {
	display: block;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 0.75rem;
	background: var(--surface);
}

.gallery__thumb[aria-current="true"] {
	border-color: var(--brand);
}

.gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-summary h1 {
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 900;
	color: var(--brand-dark);
}

.product-summary .sku-line {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.product-summary .short-desc {
	margin-top: 1rem;
	color: rgba(28, 33, 82, 0.8);
}

.product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.product-price .df-price__current {
	font-size: 1.875rem;
	font-weight: 900;
}

.product-price .df-price__regular {
	font-size: 1.125rem;
}

.product-price .price-hint {
	color: var(--muted);
}

.badge-soft {
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.tiers {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.tiers strong {
	color: var(--foreground);
}

.stock-line {
	margin-top: 1.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--success);
}

.stock-line.is-out {
	color: var(--accent);
}

/* Form aggiunta al carrello */
.product-summary form.cart {
	margin-top: 1rem;
}

.product-summary table.variations {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.product-summary table.variations th,
.product-summary table.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

.product-summary table.variations tr + tr th {
	margin-top: 1.5rem;
}

.product-summary table.variations th label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.product-summary table.variations label .chosen {
	font-weight: 400;
	color: var(--muted);
}

.product-summary .variations select {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	background: #fff;
}

.has-pills .variations select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	opacity: 0;
}

.variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.variation-pill {
	padding: 0.5rem 1rem;
	border: 2px solid var(--line);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	transition: border-color 0.15s, background-color 0.15s;
}

.variation-pill:hover {
	border-color: var(--brand);
}

.variation-pill[aria-pressed="true"] {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

.variation-pill.is-unavailable {
	opacity: 0.4;
	text-decoration: line-through;
}

.product-summary .reset_variations {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	color: var(--muted);
	text-decoration: underline;
}

.product-summary .single_variation_wrap .woocommerce-variation-price {
	display: none;
}

.product-summary .woocommerce-variation-availability {
	display: none;
}

.product-summary .woocommerce-variation-description {
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.buy-row,
.product-summary form.cart:not(.variations_form),
.product-summary .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1rem;
}

.qty-box {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 999px;
}

.qty-box button {
	width: 3rem;
	height: 3rem;
	font-size: 1.25rem;
}

.qty-box input.qty {
	width: 3.5rem;
	border: 0;
	background: transparent;
	text-align: center;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.qty-box input.qty::-webkit-outer-spin-button,
.qty-box input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-summary .single_add_to_cart_button {
	flex: 1;
	height: 3rem;
	min-width: 12rem;
	padding: 0 2rem;
	border: 0;
	border-radius: 999px;
	background: var(--accent) !important;
	color: #fff;
	font-size: 1rem;
	font-weight: 900;
	box-shadow: 0 10px 15px -3px rgba(240, 86, 122, 0.3);
}

.product-summary .single_add_to_cart_button:hover {
	opacity: 0.9;
}

.product-summary .single_add_to_cart_button.disabled,
.product-summary .single_add_to_cart_button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	box-shadow: none;
}

.add-feedback {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.add-feedback.is-ok {
	color: var(--success);
}

.add-feedback.is-error {
	color: var(--accent);
}

.product-section {
	margin-top: 3.5rem;
}

.product-section .wc-content {
	margin-top: 1rem;
	max-width: 48rem;
	color: rgba(28, 33, 82, 0.8);
}

/* ==========================================================================
   WooCommerce: avvisi, carrello, checkout, account
   ========================================================================== */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0.875rem 1.25rem;
	border-radius: 0.75rem;
	background: var(--brand-light);
	color: var(--brand-dark);
	font-size: 0.9375rem;
	font-weight: 600;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.woocommerce-message {
	background: #ecfdf5;
	color: #047857;
}

.woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	background: var(--accent-soft);
	color: #c0264c;
}

.woocommerce-message .button,
.woocommerce-info .button {
	min-height: 2.25rem;
	padding: 0.375rem 1rem;
	font-size: 0.875rem;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.df-page-head {
	margin-bottom: 1.5rem;
}

.df-page-head p {
	margin-top: 0.5rem;
	color: var(--muted);
}

/* Carrello */
.cart-layout {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.cart-layout {
		grid-template-columns: minmax(0, 1fr) 22rem;
		align-items: start;
	}
}

.cart-lines {
	border-top: 1px solid var(--line);
}

.cart-line {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}

.cart-line__img {
	width: 5rem;
	height: 5rem;
	overflow: hidden;
	border-radius: 0.75rem;
	background: var(--surface);
}

.cart-line__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cart-line__top {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.cart-line__name {
	font-weight: 700;
}

.cart-line__name a:hover {
	color: var(--brand);
}

.cart-line dl.variation {
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	color: var(--muted);
}

.cart-line dl.variation dt,
.cart-line dl.variation dd,
.cart-line dl.variation dd p {
	display: inline;
	margin: 0;
}

.cart-line__unit {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.cart-line__subtotal {
	font-weight: 800;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.cart-line__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.cart-line .qty-box button {
	width: 2.25rem;
	height: 2.25rem;
	font-size: 1rem;
}

.cart-line .qty-box input.qty {
	width: 2.75rem;
}

.cart-line .remove-line {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--muted);
}

.cart-line .remove-line:hover {
	color: var(--accent);
}

.cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.cart-actions .coupon {
	display: flex;
	flex: 1;
	gap: 0.5rem;
	max-width: 26rem;
}

.cart-actions .coupon .input-text {
	flex: 1;
	min-height: 2.75rem;
	border-radius: 999px !important;
}

.summary-box,
.cart_totals {
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.cart_totals h2,
.summary-box h2,
#order_review_heading {
	font-size: 1.125rem;
	font-weight: 900;
}

.cart_totals table.shop_table {
	width: 100%;
	margin-top: 1rem;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	padding: 0.375rem 0;
	border: 0;
	vertical-align: top;
	text-align: left;
	font-weight: 400;
}

.cart_totals table.shop_table th {
	color: var(--muted);
	padding-right: 1rem;
}

.cart_totals table.shop_table td {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--foreground);
}

.cart_totals .woocommerce-shipping-methods {
	text-align: right;
}

.cart_totals .woocommerce-shipping-destination,
.cart_totals .shipping-calculator-button {
	font-size: 0.8125rem;
	color: var(--muted);
}

.cart_totals .shipping-calculator-form {
	text-align: left;
}

.wc-proceed-to-checkout {
	margin-top: 1rem;
}

.wc-proceed-to-checkout .checkout-button {
	width: 100%;
	min-height: 3rem;
	font-size: 1rem;
}

.cart-empty-box {
	padding: 3rem 1rem;
	border-radius: var(--radius);
	background: var(--surface);
	text-align: center;
}

.cart-empty-box p {
	margin-bottom: 1.25rem;
	color: var(--muted);
}

/* Carrello laterale */
.mini-cart {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.widget_shopping_cart_content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.mini-cart__items {
	flex: 1;
	overflow-y: auto;
	padding: 0 1.25rem;
}

.mini-cart__item {
	position: relative;
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr);
	gap: 0.75rem;
	padding: 1rem 1.5rem 1rem 0;
	border-bottom: 1px solid var(--line);
}

.mini-cart__img {
	width: 4rem;
	height: 4rem;
	overflow: hidden;
	border-radius: 0.75rem;
	background: var(--surface);
}

.mini-cart__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mini-cart__name {
	font-size: 0.875rem;
	font-weight: 700;
}

.mini-cart__name:hover {
	color: var(--brand);
}

.mini-cart__meta {
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	color: var(--muted);
}

.mini-cart__meta dl.variation,
.mini-cart__meta dl.variation dt,
.mini-cart__meta dl.variation dd,
.mini-cart__meta dl.variation p {
	display: inline;
	margin: 0;
}

.mini-cart__remove {
	position: absolute;
	top: 0.875rem;
	right: 0;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--muted);
}

.mini-cart__remove:hover {
	color: var(--accent);
}

.mini-cart__empty {
	padding: 2.5rem 1.25rem;
	text-align: center;
	color: var(--muted);
}

.mini-cart__foot {
	padding: 1.25rem;
	border-top: 1px solid var(--line);
}

.mini-cart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	font-size: 1.125rem;
	font-weight: 800;
}

.mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.mini-cart__notice {
	margin: -0.5rem 0 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--accent);
}

.blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.6) !important;
}

/* Checkout */
.woocommerce-checkout .col2-set,
.woocommerce-account .col2-set {
	display: grid;
	gap: 1.5rem;
}

form.checkout.woocommerce-checkout {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	form.checkout.woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr) 24rem;
		align-items: start;
	}

	form.checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 3;
	}

	form.checkout #order_review_heading,
	form.checkout #order_review {
		grid-column: 2;
	}
}

form.checkout #order_review_heading {
	margin: 0;
	padding: 1.25rem 1.25rem 0;
	border: 1px solid var(--line);
	border-bottom: 0;
	border-radius: var(--radius) var(--radius) 0 0;
	background: var(--surface);
}

form.checkout #order_review {
	padding: 0 1.25rem 1.25rem;
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--surface);
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
.woocommerce-checkout h3,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce-order-details__title,
.woocommerce-column__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 900;
	color: var(--brand-dark);
}

.woocommerce form .form-row {
	margin: 0 0 1rem;
	padding: 0;
}

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 600;
}

.woocommerce form .form-row .required {
	color: var(--accent);
	text-decoration: none;
	border: 0;
}

.woocommerce form .form-row .optional {
	font-weight: 400;
	color: var(--muted);
}

@media (min-width: 640px) {
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-address-fields__field-wrapper,
	.woocommerce-EditAccountForm .df-row-pair {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 1rem;
	}

	.woocommerce form .form-row-wide,
	.woocommerce-address-fields__field-wrapper .form-row-wide {
		grid-column: 1 / -1;
	}
}

.woocommerce form .form-row.woocommerce-invalid input.input-text {
	border-color: var(--accent);
}

.woocommerce-checkout-review-order-table {
	width: 100%;
	margin-top: 1rem;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout-review-order-table th:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.woocommerce-checkout-review-order-table thead th {
	color: var(--muted);
	font-weight: 700;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
	border-bottom: 0;
	padding-top: 1rem;
	font-size: 1.125rem;
	font-weight: 900;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
	text-align: right;
}

#payment {
	margin-top: 1rem;
}

#payment ul.payment_methods {
	padding: 0;
	margin: 0 0 1rem;
	border-bottom: 0;
}

#payment ul.payment_methods li {
	margin-bottom: 0.5rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	background: #fff;
	font-weight: 700;
}

#payment ul.payment_methods li input {
	margin-right: 0.5rem;
}

#payment div.payment_box {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--muted);
}

#payment .place-order {
	padding: 0;
}

#payment #place_order {
	width: 100%;
	min-height: 3rem;
	font-size: 1rem;
	margin-top: 1rem;
}

.woocommerce-terms-and-conditions-wrapper {
	font-size: 0.8125rem;
	color: var(--muted);
}

.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
	background: var(--surface);
	font-weight: 600;
}

.woocommerce-form-coupon-toggle a,
.woocommerce-form-login-toggle a {
	color: var(--brand);
	text-decoration: underline;
}

form.checkout_coupon,
form.woocommerce-form-login.login {
	margin-bottom: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* Ordine ricevuto */
.woocommerce-order .woocommerce-thankyou-order-received {
	font-size: 1.125rem;
	background: #ecfdf5;
	color: #047857;
}

ul.woocommerce-order-overview {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 2rem;
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--surface);
}

@media (min-width: 768px) {
	ul.woocommerce-order-overview {
		grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	}
}

ul.woocommerce-order-overview li {
	font-size: 0.8125rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-size: 1rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--foreground);
}

.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
	font-size: 0.9375rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.woocommerce table.shop_table thead th {
	font-size: 0.8125rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.woocommerce table.shop_table .button {
	min-height: 2.25rem;
	padding: 0.375rem 1rem;
	font-size: 0.8125rem;
}

.woocommerce-customer-details address {
	padding: 1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-style: normal;
	line-height: 1.6;
}

/* Area cliente */
.account-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}

@media (min-width: 768px) {
	.account-layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 2rem;
		margin-top: 2rem;
	}
}

.account-nav__hello {
	margin-bottom: 0.75rem;
	padding: 0 0.75rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.account-nav__hello strong {
	color: var(--foreground);
}

.account-nav ul {
	display: flex;
	gap: 0.25rem;
	margin: 0 -1rem;
	padding: 0 1rem 0.75rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--line);
	scrollbar-width: none;
}

.account-nav li {
	flex-shrink: 0;
}

.account-nav a {
	display: block;
	white-space: nowrap;
	padding: 0.5rem 0.75rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: rgba(28, 33, 82, 0.8);
	transition: background-color 0.15s, color 0.15s;
}

.account-nav a:hover,
.account-nav .is-active a {
	background: var(--brand-light);
	color: var(--brand);
}

.account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--muted);
}

.account-nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: var(--accent-soft);
	color: var(--accent);
}

@media (min-width: 768px) {
	.account-nav ul {
		flex-direction: column;
		margin: 0;
		padding: 0;
		overflow: visible;
		border: 0;
	}

	.account-nav .woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 1rem;
		padding-top: 1rem;
		border-top: 1px solid var(--line);
	}
}

.account-content {
	min-width: 0;
}

.account-cards {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

@media (min-width: 640px) {
	.account-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.account-card {
	display: block;
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.account-card:hover {
	border-color: var(--brand);
	box-shadow: var(--shadow);
}

.account-card strong {
	display: block;
	font-weight: 900;
	color: var(--brand-dark);
}

.account-card span {
	font-size: 0.875rem;
	color: var(--muted);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
	font-weight: 800;
	color: var(--brand);
}

mark.order-status,
mark.order-number,
mark.order-date {
	background: transparent;
	font-weight: 800;
	color: var(--foreground);
}

.woocommerce-Addresses {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.woocommerce-Addresses {
		grid-template-columns: 1fr 1fr;
	}
}

.woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.woocommerce-Address-title a {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--brand);
}

.woocommerce-Address address {
	font-style: normal;
	line-height: 1.6;
}

.woocommerce-EditAccountForm fieldset {
	margin: 1.5rem 0;
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.woocommerce-EditAccountForm legend {
	padding: 0 0.5rem;
	font-weight: 900;
	color: var(--brand-dark);
}

/* Accesso / registrazione */
.auth-wrap {
	max-width: 28rem;
	margin: 0 auto;
}

.auth-card {
	margin-top: 1.5rem;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
}

.auth-card .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.auth-card .woocommerce-form-login__submit,
.auth-card button[type="submit"] {
	width: 100%;
	min-height: 3rem;
}

.auth-links {
	margin-top: 1.25rem;
	font-size: 0.875rem;
	text-align: center;
	color: var(--muted);
}

.auth-links a {
	font-weight: 700;
	color: var(--brand);
}

.auth-links a:hover {
	text-decoration: underline;
}

.df-field {
	margin-bottom: 1rem;
}

.df-field label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.df-field .field-error {
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--accent);
}

.df-field.has-error input {
	border-color: var(--accent);
}

.df-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
}

.df-check a {
	color: var(--brand);
	text-decoration: underline;
}

.df-trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-alert {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	background: var(--accent-soft);
	color: #c0264c;
	font-size: 0.875rem;
	font-weight: 600;
}

.form-alert[hidden] {
	display: none;
}

/* Pagina non trovata */
.not-found {
	padding: 4rem 1rem;
	text-align: center;
}

.not-found__code {
	font-size: 3.75rem;
	font-weight: 900;
	color: var(--brand);
}

.not-found h1 {
	margin-top: 1rem;
	font-size: 1.5rem;
	font-weight: 900;
}

.not-found p {
	margin-top: 0.5rem;
	color: var(--muted);
}

.not-found .btn {
	margin-top: 2rem;
}

/* Ricerca vuota */
.search-form-big {
	display: flex;
	gap: 0.5rem;
	max-width: 36rem;
	margin-top: 1.5rem;
}

.search-form-big input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	outline: none;
}

.search-form-big input:focus {
	border-color: var(--brand);
}

/* Ordine minimo rivenditori */
.min-order {
	margin-top: 1rem;
	padding: 0.75rem;
	border-radius: 0.75rem;
	background: var(--accent-soft);
	color: #c0264c;
	font-size: 0.875rem;
	font-weight: 600;
}

.min-order__bar {
	height: 0.5rem;
	margin-top: 0.5rem;
	overflow: hidden;
	border-radius: 999px;
	background: #fff;
}

.min-order__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--accent);
}

.cart_totals .woocommerce-message {
	margin: 1rem 0 0;
	font-size: 0.875rem;
}

.df-field input[type="checkbox"],
.woocommerce form .form-row input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	min-height: 0;
	flex-shrink: 0;
	margin-top: 0.125rem;
	padding: 0;
	accent-color: var(--brand);
}

/* ==========================================================================
   Menu: voce in evidenza e menu a schermo intero (hamburger)
   ========================================================================== */
:root {
	--featured: #fd502e;
}

.catnav__link.is-featured {
	background: var(--featured);
	color: #fff;
}

.catnav__link.is-featured:hover,
.catnav__link.is-featured.is-active {
	background: var(--featured);
	color: #fff;
	filter: brightness(0.93);
}

.catnav__menu-btn {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	white-space: nowrap;
	padding: 0.375rem 0.875rem;
	border-radius: 999px;
	background: var(--brand-light);
	color: var(--brand);
	font-weight: 800;
}

.catnav__menu-btn:hover {
	background: var(--brand);
	color: #fff;
}

.catnav__menu-btn svg {
	width: 1.125rem;
	height: 1.125rem;
}

.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow: hidden;
}

.menu-overlay[hidden] {
	display: none;
}

.admin-bar .menu-overlay {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .menu-overlay {
		top: 46px;
	}
}

.menu-overlay__head {
	flex-shrink: 0;
	border-bottom: 1px solid var(--line);
	background: var(--brand);
	color: #fff;
}

.menu-overlay__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4rem;
}

.menu-overlay__title {
	font-size: 1.25rem;
	font-weight: 900;
}

.menu-overlay .menu-overlay__close {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	color: #fff;
	font-size: 2rem;
}

.menu-overlay .menu-overlay__close:hover {
	background: rgba(255, 255, 255, 0.15);
}

.menu-overlay__body {
	flex: 1;
	overflow-y: auto;
	padding-top: 1.5rem;
	padding-bottom: 2rem;
}

.menu-overlay__grid {
	display: grid;
	gap: 0.25rem;
}

@media (min-width: 640px) {
	.menu-overlay__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem 1.5rem;
	}
}

@media (min-width: 900px) {
	.menu-overlay__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.menu-overlay__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.menu-overlay__cat {
	display: inline-block;
	padding: 0.5rem 0.875rem;
	border-radius: 999px;
	font-size: 1.0625rem;
	font-weight: 900;
	color: var(--brand-dark);
}

.menu-overlay__cat:hover,
.menu-overlay__cat.is-active {
	background: var(--brand-light);
	color: var(--brand);
}

.menu-overlay__cat.is-featured,
.menu-overlay__cat.is-featured:hover {
	background: var(--featured);
	color: #fff;
}

.menu-overlay__subs {
	display: none;
	margin-top: 0.25rem;
	padding-left: 0.875rem;
}

@media (min-width: 640px) {
	.menu-overlay__subs {
		display: block;
	}
}

.menu-overlay__subs a {
	display: block;
	padding: 0.25rem 0;
	font-size: 0.875rem;
	color: rgba(28, 33, 82, 0.75);
}

.menu-overlay__subs a:hover,
.menu-overlay__subs a.is-active {
	color: var(--brand);
}

.menu-overlay__subs a.is-active {
	font-weight: 700;
}

.menu-overlay__subs .menu-overlay__all {
	font-weight: 700;
	color: var(--brand);
}

.menu-overlay__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

/* Filtro prezzo (sidebar categorie) */
.price-filter {
	padding: 0 0.75rem;
}

.price-filter__slider {
	position: relative;
	height: 1.75rem;
	margin: 0.25rem 0 0.5rem;
}

.price-filter__track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 0.375rem;
	transform: translateY(-50%);
	border-radius: 999px;
	background: var(--line);
}

.price-filter__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	border-radius: 999px;
	background: var(--brand);
}

.price-filter__slider input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.price-filter__slider input[type="range"]::-webkit-slider-runnable-track {
	background: none;
}

.price-filter__slider input[type="range"]::-webkit-slider-thumb {
	width: 1.25rem;
	height: 1.25rem;
	border: 3px solid var(--brand);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: 0 1px 3px rgba(28, 33, 82, 0.25);
}

.price-filter__slider input[type="range"]::-moz-range-thumb {
	width: 0.875rem;
	height: 0.875rem;
	border: 3px solid var(--brand);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	pointer-events: auto;
}

.price-filter__slider input[type="range"]::-moz-range-track {
	background: none;
}

.price-filter__inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}

.price-filter__inputs label > span:first-child {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--muted);
}

.price-filter__field {
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	background: #fff;
}

.price-filter__field:focus-within {
	border-color: var(--brand);
}

.price-filter__field input {
	width: 100%;
	min-width: 0;
	padding: 0.375rem 0 0.375rem 0.625rem;
	border: 0;
	background: transparent;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.price-filter__field input::-webkit-outer-spin-button,
.price-filter__field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.price-filter__field em {
	padding-right: 0.625rem;
	font-style: normal;
	font-size: 0.875rem;
	color: var(--muted);
}

.price-filter__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.price-filter__actions .btn {
	min-height: 2.25rem;
	padding: 0.375rem 1.25rem;
	font-size: 0.875rem;
}

.price-filter__reset {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--muted);
}

.price-filter__reset:hover {
	color: var(--accent);
}
