/* ==========================================================================
   Ottica Geraci – stili del sito (v1.1)
   Grammatica da e-commerce di occhiali: titoli condensati in maiuscolo,
   riquadri grigi per i prodotti, una fascia di colore sotto il menu.
   L'accento è l'oro: pieno sulle superfici, scuro sul testo per restare leggibile.
   ========================================================================== */

/* 1. Variabili
   ------------------------------------------------------------------------- */
:root {
	--paper: #ffffff;
	--mist: #f2f2f2;
	--mist-deep: #e7e7e7;
	--line: #e1e1e1;
	--stone: #666666;
	--graphite: #2b2b2b;
	--ink: #111111;

	/* Oro: #B8913A per superfici (testo scuro sopra), #8A6A22 per testo su bianco. */
	--gold: #b8913a;
	--gold-hover: #a88232;
	--gold-ink: #8a6a22;
	--gold-soft: #f6f0e1;

	/* Colori di stato (aperto / chiuso). */
	--open-bg: #e7f5ec;
	--open-ink: #1e7b3c;
	--open-dot: #22a355;
	--closed-bg: #fff3d1;
	--closed-ink: #7a5200;
	--closed-dot: #e0a100;

	--display: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
	--sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--container: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--section: clamp(64px, 8vw, 112px);
	--header-h: 84px;

	--text-sm: 0.875rem;
	--text-base: 1.0625rem;
	--text-lg: 1.1875rem;
	--h3: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
	--h2: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
	--h1: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);

	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--gold-ink);
}

@media (max-width: 1099px) {
	:root {
		--header-h: 68px;
	}
}

/* 2. Base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--graphite);
	font-family: var(--sans);
	font-size: var(--text-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

a:hover {
	color: var(--ink);
}

address {
	font-style: normal;
}

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

:focus-visible {
	outline: 2px solid var(--gold-ink);
	outline-offset: 3px;
}

::selection {
	background: var(--gold);
	color: var(--ink);
}

.screen-reader-text {
	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 {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

.site-main:focus {
	outline: none;
}

.icon {
	width: 1.2em;
	height: 1.2em;
	flex: none;
}

/* 3. Struttura
   ------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: var(--section);
}

.section + .section {
	padding-top: 0;
}

.section__head {
	margin-bottom: clamp(28px, 3.5vw, 48px);
	max-width: 46rem;
}

.section__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 32px;
	max-width: none;
}

.section__title {
	font-size: var(--h2);
}

.section__title--small {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

.section__intro {
	margin-top: 16px;
	color: var(--stone);
	font-size: var(--text-lg);
	line-height: 1.55;
	max-width: 40rem;
}

.lead {
	font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
	line-height: 1.55;
	color: var(--graphite);
}

/* 4. Componenti
   ------------------------------------------------------------------------- */

/* Pulsanti: rettangolari, testo condensato in maiuscolo. */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 24px;
	border: 1px solid var(--ink);
	border-radius: 2px;
	background: transparent;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
	-webkit-tap-highlight-color: transparent;
}

.button:hover {
	background: var(--ink);
	color: var(--paper);
}

.button--dark {
	background: var(--ink);
	color: var(--paper);
}

.button--dark:hover {
	background: var(--graphite);
	border-color: var(--graphite);
}

.button--gold {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--ink);
}

.button--gold:hover {
	border-color: var(--gold-hover);
	background: var(--gold-hover);
	color: var(--ink);
}

.button--ghost {
	border-color: var(--line);
}

.button--ghost:hover {
	border-color: var(--ink);
	background: transparent;
	color: var(--ink);
}

.button:focus-visible {
	outline: none;
	box-shadow: var(--focus);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.actions--center {
	justify-content: center;
}

.actions--small .button {
	min-height: 42px;
	padding: 8px 16px;
	font-size: 0.875rem;
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	font-family: var(--display);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 2px;
	transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.link .icon {
	width: 1.05em;
	height: 1.05em;
	transition: transform 0.25s var(--ease);
}

.link:hover .icon-arrow {
	transform: translateX(3px);
}

.link--muted {
	color: var(--stone);
	border-color: var(--line);
}

.badge {
	display: inline-block;
	margin: 0;
	padding: 4px 10px;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--display);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: middle;
}

.badge--gold {
	background: var(--gold);
	color: var(--ink);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--display);
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color 0.2s var(--ease);
}

.chip:hover {
	border-color: var(--ink);
}

/* Stato aperto / chiuso (calcolato nel browser con l'ora italiana). */
.open-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 5px 12px 5px 10px;
	border-radius: 999px;
	background: var(--open-bg);
	color: var(--open-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
}

.open-status[hidden] {
	display: none;
}

.open-status__dot {
	position: relative;
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--open-dot);
}

.open-status.is-closed {
	background: var(--closed-bg);
	color: var(--closed-ink);
}

.open-status.is-closed .open-status__dot {
	background: var(--closed-dot);
}

@media (prefers-reduced-motion: no-preference) {
	.open-status:not(.is-closed) .open-status__dot::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: 50%;
		background: var(--open-dot);
		animation: og-pulse 2s var(--ease) infinite;
	}
}

@keyframes og-pulse {
	from {
		transform: scale(1);
		opacity: 0.6;
	}
	to {
		transform: scale(2.8);
		opacity: 0;
	}
}

/* Orari. */
.hours {
	margin: 0;
	display: grid;
}

.hours__row {
	display: grid;
	grid-template-columns: minmax(9rem, 1fr) auto;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.hours__row:first-child {
	border-top: 1px solid var(--line);
}

.hours dt {
	color: var(--graphite);
}

.hours dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}

.hours .is-closed {
	color: var(--stone);
}

.hours__row.is-today dt,
.hours__row.is-today dd {
	color: var(--ink);
	font-weight: 700;
}

.hours__row.is-today dt::after {
	content: "Oggi";
	margin-left: 8px;
	padding: 1px 6px;
	background: var(--gold-soft);
	color: var(--gold-ink);
	font-family: var(--display);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.hours--compact .hours__row {
	grid-template-columns: 1fr auto;
	padding: 6px 0;
	font-size: var(--text-sm);
	border: 0;
}

.hours--compact .hours__row:first-child {
	border: 0;
}

.hours--compact .hours__row.is-today dt::after {
	display: none;
}

.hours__note {
	margin-top: 12px;
	color: var(--stone);
	font-size: var(--text-sm);
}

/* Social. */
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--ink);
	text-decoration: none;
}

.social a:hover {
	color: var(--gold-ink);
}

.social .icon {
	width: 0.95em;
	height: 0.95em;
}

/* Percorso. */
.breadcrumbs {
	padding-top: clamp(20px, 2.5vw, 32px);
	font-size: 0.8125rem;
	color: var(--stone);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-inline: 8px;
	color: #b5b5b5;
}

.breadcrumbs a {
	color: var(--stone);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	color: var(--graphite);
}

/* 5. Intestazione
   ------------------------------------------------------------------------- */
.topbar {
	background: var(--mist);
	color: var(--graphite);
	font-size: 0.8125rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}

.topbar__text {
	margin: 0;
}

.topbar__side {
	display: flex;
	align-items: center;
	gap: 20px;
}

.topbar .open-status {
	padding-block: 3px;
	font-size: 0.75rem;
}

.topbar__link {
	color: var(--graphite);
	text-decoration: none;
}

.topbar__link:hover {
	text-decoration: underline;
}

@media (max-width: 799px) {
	.topbar__inner {
		justify-content: center;
		text-align: center;
	}

	.topbar__side {
		display: none;
	}
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

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

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

/* Logo: immagine 300×40 (sfondo bianco reso trasparente) o marchio di testo. */
.brandmark {
	display: inline-flex;
	flex-direction: column;
	flex: none;
	gap: 3px;
	color: var(--ink);
	text-decoration: none;
	line-height: 1;
}

.brandmark__name {
	font-family: var(--display);
	font-size: 1.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.brandmark__since {
	color: var(--gold-ink);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.brandmark--image img {
	width: auto;
	height: 40px;
	max-width: min(300px, 52vw);
	object-fit: contain;
	object-position: left center;
	mix-blend-mode: multiply;
}

@media (max-width: 599px) {
	.brandmark--image img {
		height: 30px;
	}

	.brandmark__name {
		font-size: 1.375rem;
	}
}

.site-nav {
	display: none;
	flex: 1;
	align-self: stretch;
}

.site-nav__list,
.mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list {
	display: flex;
	justify-content: center;
	gap: clamp(20px, 2.4vw, 40px);
	height: 100%;
}

.site-nav__list > li {
	display: flex;
	align-items: center;
}

.site-nav__list > li > a {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.0625rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	height: 2px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.site-nav__list > li.is-accent > a {
	color: var(--gold-ink);
}

.site-nav__list > li > a:hover::after,
.site-nav__list > li.has-mega:hover > a::after,
.site-nav__list > li.has-mega:focus-within > a::after,
.site-nav__list > .current-menu-item > a::after,
.site-nav__list > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

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

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 0;
	background: none;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s var(--ease);
}

.icon-button:hover {
	color: var(--gold-ink);
}

.icon-button .icon {
	width: 24px;
	height: 24px;
}

.icon-button__label {
	display: none;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 1280px) {
	.icon-button--phone .icon-button__label {
		display: inline;
	}
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

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

	.header-actions {
		margin-left: 0;
	}

	.menu-toggle,
	.mobile-menu {
		display: none !important;
	}
}

/* Mega menu: si apre al passaggio del mouse o con la tastiera. */
.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	visibility: hidden;
	opacity: 0;
	background: var(--paper);
	border-top: 1px solid var(--line);
	box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25);
	transition: opacity 0.18s var(--ease), visibility 0s linear 0.18s;
}

.site-nav__list > li.has-mega:hover > .mega,
.site-nav__list > li.has-mega:focus-within > .mega {
	visibility: visible;
	opacity: 1;
	transition-delay: 0.08s, 0s;
}

.mega__cols {
	display: flex;
	gap: clamp(32px, 5vw, 96px);
	padding-block: 36px 40px;
}

.mega__col {
	min-width: 180px;
}

.mega__col--wide {
	min-width: 320px;
}

.mega__title {
	margin: 0 0 14px;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mega ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mega__col li + li {
	margin-top: 10px;
}

.mega__col a {
	color: var(--graphite);
	text-decoration: none;
}

.mega__col a:hover {
	color: var(--gold-ink);
	text-decoration: underline;
}

.mega__brands {
	columns: 2;
	column-gap: 40px;
}

.mega__brands li {
	break-inside: avoid;
	margin-bottom: 10px;
}

.mega__col .mega__brands li + li {
	margin-top: 0;
}

.mega__band {
	padding-block: 28px 32px;
	background: var(--mist);
}

.mega__band-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.mega > .container > .mega__band-head {
	padding-top: 32px;
}

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

.mega__products a {
	display: grid;
	gap: 6px;
	justify-items: center;
	color: var(--ink);
	font-family: var(--display);
	font-size: 0.875rem;
	letter-spacing: 0.03em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

.mega__products img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 6%;
	mix-blend-mode: multiply;
}

.mega__products a:hover span {
	color: var(--gold-ink);
}

.mega .mega__logos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
	padding-bottom: 36px;
}

.mega__logos a {
	display: grid;
	grid-template-rows: 1fr auto;
	justify-items: center;
	align-items: center;
	gap: 10px;
	height: 100%;
	min-height: 128px;
	padding: 20px 16px 14px;
	background: var(--mist);
	color: var(--stone);
	text-decoration: none;
	transition: background-color 0.2s var(--ease);
}

.mega__logos a:hover {
	background: var(--mist-deep);
	color: var(--ink);
}

.mega__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 56px;
}

.mega__logo .brand-logo {
	max-width: 80%;
	max-height: 48px;
}

.mega__logo-name {
	font-family: var(--display);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mega__thumb {
	display: block;
	width: 100%;
	background: var(--mist);
}

.mega__band .mega__thumb {
	background: var(--paper);
}

.mega__band .mega__thumb[data-bg="site"] img {
	mix-blend-mode: multiply;
}

/* Menu su telefono. */
.mobile-menu {
	position: fixed;
	inset: 0;
	top: var(--og-menu-top, var(--header-h));
	z-index: 49;
	overflow-y: auto;
	background: var(--paper);
}

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

.mobile-menu__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 100%;
	padding-block: 16px 40px;
}

.mobile-menu__list > li {
	border-bottom: 1px solid var(--line);
}

.mobile-menu__list > li > a {
	display: block;
	padding: 14px 0;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
}

.mobile-menu__list > li.is-accent > a {
	color: var(--gold-ink);
}

.mobile-menu__sub {
	display: flex;
	gap: 8px;
	margin: -4px 0 14px;
	padding: 0;
	list-style: none;
}

.mobile-menu__sub a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--line);
	color: var(--graphite);
	font-size: 0.9375rem;
	text-decoration: none;
}

.mobile-menu__info {
	display: grid;
	justify-items: start;
	gap: 14px;
	color: var(--stone);
}

.mobile-menu__info .actions {
	width: 100%;
	flex-direction: column;
}

.mobile-menu__info .button {
	width: 100%;
}

body.menu-open {
	overflow: hidden;
}

/* Fascia oro sotto il menu. */
.band {
	background: var(--gold);
	color: var(--ink);
}

.band__inner {
	display: block;
	margin-block: 0;
	padding-block: 12px;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

a.band__inner:hover {
	text-decoration: underline;
}

/* 6. Piè di pagina
   ------------------------------------------------------------------------- */
.site-footer {
	margin-top: var(--section);
	padding-block: clamp(48px, 6vw, 80px) 28px;
	background: var(--mist);
	color: var(--graphite);
	font-size: 0.9375rem;
}

.site-main:has(> .section:last-child) + .site-footer {
	margin-top: 0;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
}

.site-footer__brand p {
	max-width: 22rem;
	margin-top: 16px;
	color: var(--stone);
}

.site-footer__title {
	margin-bottom: 14px;
	font-size: 1rem;
	letter-spacing: 0.05em;
}

.site-footer address {
	color: var(--ink);
	margin-bottom: 12px;
}

.site-footer__list {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.site-footer__list a {
	color: var(--ink);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.site-footer__list a:hover {
	color: var(--gold-ink);
	text-decoration: underline;
}

.site-footer .hours--compact dt {
	color: var(--stone);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: clamp(40px, 5vw, 64px);
	padding-top: 20px;
	border-top: 1px solid var(--mist-deep);
	color: var(--stone);
	font-size: 0.8125rem;
}

.site-footer__legal p {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a {
	color: var(--stone);
}

.site-footer__legal .site-footer__credit {
	display: block;
	margin: 0;
	color: var(--stone);
}

.site-footer__credit a {
	color: var(--graphite);
	font-weight: 700;
	text-decoration: none;
}

.site-footer__credit a:hover {
	color: var(--gold-ink);
	text-decoration: underline;
}

@media (min-width: 800px) {
	.site-footer__legal {
		align-items: center;
	}

	.site-footer__legal > p:first-child {
		margin-right: auto;
	}
}

@media (min-width: 700px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
		gap: 48px;
	}
}

/* Barra rapida su telefono. */
.quickbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	gap: 8px;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--line);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.quickbar a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.quickbar .quickbar__wa {
	background: var(--gold);
	color: var(--ink);
}

body.menu-open .quickbar {
	display: none;
}

@media (max-width: 1099px) {
	.site-footer {
		padding-bottom: calc(96px + env(safe-area-inset-bottom));
	}
}

@media (min-width: 1100px) {
	.quickbar {
		display: none;
	}
}

/* 7. Home
   ------------------------------------------------------------------------- */

/* Tavola ottotipica: le righe scendono di misura come in un controllo della vista. */
.hero {
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px);
	text-align: center;
}

.chart {
	display: grid;
	gap: clamp(8px, 1.2vw, 18px);
	max-width: 62rem;
	margin: 0 auto;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.chart__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: clamp(8px, 2vw, 32px);
}

.chart__text {
	grid-column: 2;
	line-height: 0.95;
	text-transform: uppercase;
}

.chart__acuity {
	grid-column: 3;
	justify-self: end;
	color: var(--gold-ink);
	font-family: var(--sans);
	font-size: clamp(0.6875rem, 0.6rem + 0.25vw, 0.8125rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}

.chart__row:nth-child(1) .chart__text {
	font-size: clamp(3.5rem, 16vw, 13rem);
	letter-spacing: 0.08em;
	margin-right: -0.08em;
}

.chart__row:nth-child(2) .chart__text {
	font-size: clamp(2.5rem, 11.2vw, 9rem);
	letter-spacing: 0.12em;
	margin-right: -0.12em;
}

.chart__row:nth-child(3) .chart__text {
	font-size: clamp(1rem, 3.6vw, 2.75rem);
	font-weight: 500;
	letter-spacing: 0.24em;
	margin-right: -0.24em;
}

.chart__row:nth-child(4) .chart__text {
	font-size: clamp(0.8125rem, 1.6vw, 1.25rem);
	font-weight: 500;
	letter-spacing: 0.4em;
	margin-right: -0.4em;
	color: var(--gold-ink);
}

.hero__foot {
	display: grid;
	justify-items: center;
	gap: 24px;
	margin-top: clamp(36px, 5vw, 64px);
	padding-top: clamp(28px, 4vw, 44px);
	border-top: 1px solid var(--line);
}

.hero .open-status {
	display: none;
}

@media (max-width: 799px) {
	.hero .open-status:not([hidden]) {
		display: inline-flex;
	}
}

.hero__text {
	max-width: 36rem;
	margin: 0;
	color: var(--graphite);
	font-size: var(--text-lg);
	line-height: 1.5;
}

/* La messa a fuoco: le righe passano da sfocate a nitide, dall'alto in basso. */
@media (prefers-reduced-motion: no-preference) {
	.chart__row {
		animation: og-focus 1.4s var(--ease) both;
		animation-delay: calc(var(--i, 0) * 130ms + 100ms);
	}

	.hero__foot {
		animation: og-fade 0.8s var(--ease) both;
		animation-delay: 0.8s;
	}
}

@keyframes og-focus {
	from {
		filter: blur(12px);
		opacity: 0.25;
	}
	60% {
		filter: blur(1.5px);
		opacity: 0.9;
	}
	to {
		filter: blur(0);
		opacity: 1;
	}
}

@keyframes og-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Storia. */
.story {
	padding-block: var(--section);
	background: var(--mist);
}

.story__grid {
	display: grid;
	gap: 28px;
}

.story__title {
	font-size: var(--h2);
	max-width: 14ch;
}

.story__title::before,
.bio__body .section__title::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-bottom: 20px;
	background: var(--gold);
}

.story__body {
	display: grid;
	justify-items: start;
	gap: 28px;
	max-width: 42rem;
}

@media (min-width: 900px) {
	.story__grid {
		grid-template-columns: 5fr 7fr;
		gap: 64px;
		align-items: start;
	}
}

.story + .section {
	padding-top: var(--section);
}

/* Ingressi da vista / da sole. */
.collections__grid {
	display: grid;
	gap: 16px;
}

.collection {
	position: relative;
	display: grid;
	overflow: hidden;
	background: var(--mist);
}

.collection__media {
	display: block;
	aspect-ratio: 4 / 3;
}

.collection__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8% 10% 22%;
	mix-blend-mode: multiply;
	transition: transform 0.8s var(--ease);
}

.collection:hover .collection__media img {
	transform: scale(1.04);
}

.collection__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	padding: clamp(20px, 3vw, 32px);
}

.collection__title {
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}

.collection__title a {
	text-decoration: none;
}

.collection__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.collection__links {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.collection__links a {
	display: inline-block;
	padding: 8px 16px;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s var(--ease);
}

.collection__links a:hover {
	background: var(--gold);
}

.collection__count {
	width: 100%;
	order: -1;
	margin: 0;
	color: var(--gold-ink);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

@media (min-width: 800px) {
	.collections__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Brand. */
.brands__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brands__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: clamp(100px, 9vw, 132px);
	padding: 24px;
	background: var(--mist);
	text-decoration: none;
	transition: background-color 0.25s var(--ease);
}

.brands__item:hover {
	background: var(--mist-deep);
}

.brand-logo {
	width: auto;
	max-width: min(150px, 100%);
	max-height: 52px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.brand-logo--text {
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

/* Marchi partner (lenti): solo loghi, in riquadri uguali. */
.partners__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.partners__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 112px;
	padding: 20px 18px;
	background: var(--mist);
	color: var(--ink);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s var(--ease);
}

a.partners__item:hover {
	background: var(--mist-deep);
}

.partners__item img.brand-logo {
	width: auto;
	max-width: 82%;
	max-height: 52px;
	object-fit: contain;
}

.partners__item .brand-logo--text {
	font-family: var(--display);
	font-size: 1.125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

a.partners__item:hover .brand-logo--text {
	color: var(--gold-ink);
}

@media (min-width: 700px) {
	.partners__grid {
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	}

	.partners__item {
		min-height: 128px;
	}
}

/* Scheda occhiale: sotto "Altri occhiali", più compatta. */
.section.related + .partners--compact {
	padding-top: clamp(8px, 2vw, 24px);
}

.partners--compact .partners__item {
	min-height: 96px;
}

.partners--compact .partners__item img.brand-logo {
	max-height: 44px;
}

/* Dentro il testo di un servizio (shortcode [og_marchi]). */
.prose .partners--inline {
	margin-block: 1.6em;
}

.prose .partners--inline ul {
	padding-left: 0;
}

.prose .partners--inline li + li {
	margin-top: 0;
}

.prose a.partners__item {
	color: inherit;
}

/* Schede servizio. */
.service-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

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

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

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	transition: border-color 0.25s var(--ease);
}

.service-card:hover {
	border-color: var(--ink);
}

.service-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--mist);
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card__media img {
	transform: scale(1.03);
}

.service-card:not(.has-image) .service-card__media {
	aspect-ratio: auto;
	height: 148px;
}

.service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--paper);
	color: var(--gold-ink);
	box-shadow: 0 0 0 8px var(--gold-soft);
}

.service-card__icon .icon {
	width: 40px;
	height: 40px;
	stroke-width: 1.2;
}

.service-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
}

.service-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 24px;
}

.service-card__title {
	font-size: var(--h3);
}

.service-card__title a {
	text-decoration: none;
}

.service-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.service-card__text {
	margin: 0;
	color: var(--stone);
	line-height: 1.55;
}

.service-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	color: var(--gold-ink);
	font-family: var(--display);
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.service-card__more .icon {
	width: 1.05em;
	height: 1.05em;
	transition: transform 0.25s var(--ease);
}

.service-card:hover .service-card__more .icon {
	transform: translateX(4px);
}

/* Vieni a trovarci. */
.visit__grid {
	display: grid;
	gap: 40px;
}

.visit__grid > *,
.contact > *,
.story__grid > *,
.product > *,
.bio__grid > * {
	min-width: 0;
}

.visit__info,
.visit__hours {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 22px;
}

.visit__hours .hours {
	width: 100%;
}

.visit__address {
	color: var(--ink);
	font-family: var(--display);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.visit__hours-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.visit__subtitle {
	font-size: var(--h3);
}

.visit__photo {
	margin: 0;
	overflow: hidden;
	background: var(--mist);
	aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
	.has-photo .visit__photo {
		aspect-ratio: auto;
	}
}

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

@media (min-width: 900px) {
	.visit__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}

	.visit__grid.has-photo {
		grid-template-columns: 1.2fr 1fr;
		grid-template-areas:
			"photo info"
			"photo hours";
		column-gap: 64px;
		row-gap: 40px;
	}

	.has-photo .visit__photo {
		grid-area: photo;
		width: 100%;
		height: 100%;
		min-height: 440px;
	}

	.has-photo .visit__info {
		grid-area: info;
	}

	.has-photo .visit__hours {
		grid-area: hours;
	}
}

/* 8. Vetrina
   ------------------------------------------------------------------------- */
.page-head {
	padding-bottom: clamp(28px, 3.5vw, 48px);
}

.page-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
}

.page-title {
	margin-top: clamp(20px, 2.5vw, 36px);
	font-size: var(--h1);
}

.page-intro {
	max-width: 44rem;
	margin-top: 16px;
	color: var(--graphite);
	font-size: var(--text-lg);
	line-height: 1.55;
}

.page-meta {
	margin-top: 12px;
	color: var(--stone);
	font-size: var(--text-sm);
}

.page-head .badge {
	margin-top: clamp(20px, 2.5vw, 36px);
}

.page-head .badge + .page-title {
	margin-top: 14px;
}

.page-head__logo .brand-logo {
	max-height: 72px;
	max-width: 220px;
}

/* Filtri: barra a tutta larghezza che resta in alto mentre si scorre. */
.filters {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-block: 14px;
	background: var(--paper);
	border-block: 1px solid var(--line);
	border-image: linear-gradient(var(--line) 0 0) 1 / 1px 0 / 0 100vmax;
	box-shadow: 0 0 0 100vmax var(--paper);
	clip-path: inset(0 -100vmax);
}

.admin-bar .filters {
	top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
}

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

.filters__group--brand {
	flex: 0 1 240px;
}

.filters__group--sort {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	font-size: 0.9375rem;
}

.filters__group--sort label {
	color: var(--stone);
	white-space: nowrap;
}

.js .filters__submit {
	display: none;
}

.segmented {
	display: inline-flex;
	border: 1px solid var(--ink);
}

.segmented label {
	position: relative;
	cursor: pointer;
}

.segmented label + label {
	border-left: 1px solid var(--ink);
}

.segmented input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.segmented span {
	display: block;
	padding: 10px 16px;
	color: var(--ink);
	font-family: var(--display);
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.segmented label:hover span {
	background: var(--mist);
}

.segmented input:checked + span {
	background: var(--ink);
	color: var(--paper);
}

.segmented input:focus-visible + span {
	box-shadow: inset 0 0 0 2px var(--gold);
}

.select {
	position: relative;
}

.select select {
	width: 100%;
	min-height: 42px;
	padding: 8px 40px 8px 16px;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.select--bare select {
	min-height: 40px;
	padding-left: 4px;
	border-color: transparent;
}

.select select:focus-visible {
	outline: none;
	box-shadow: var(--focus);
}

.select .icon {
	position: absolute;
	right: 12px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	pointer-events: none;
}

@media (max-width: 799px) {
	.filters {
		position: relative;
		top: auto;
		display: grid;
		grid-template-columns: 1fr;
	}

	.admin-bar .filters {
		top: auto;
	}

	.segmented {
		display: flex;
		width: 100%;
	}

	.segmented label {
		flex: 1;
		text-align: center;
	}

	.segmented span {
		padding-inline: 6px;
	}

	.filters__group--sort {
		margin-left: 0;
	}

	.filters__group--sort .select {
		flex: 1;
	}
}

/* Risultati. */
.results {
	padding-top: 24px;
	transition: opacity 0.25s var(--ease);
}

.results[aria-busy="true"] {
	opacity: 0.4;
	pointer-events: none;
}

.results__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 20px;
}

.results__count {
	margin: 0;
	color: var(--stone);
	font-family: var(--display);
	font-size: 1rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 40px) clamp(8px, 1vw, 12px);
}

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

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

/* Su telefono le righe "Ultimi arrivi" scorrono in orizzontale. */
@media (max-width: 699px) {
	.grid--scroll {
		display: flex;
		gap: 8px;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.grid--scroll::-webkit-scrollbar {
		display: none;
	}

	.grid--scroll > .card {
		flex: 0 0 70%;
		scroll-snap-align: start;
	}
}

/* Scheda occhiale nella griglia. */
.card__link {
	display: grid;
	gap: 14px;
	text-decoration: none;
	color: inherit;
}

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

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8%;
	mix-blend-mode: multiply;
	transition: transform 0.6s var(--ease);
}

.card__link:hover .card__media img {
	transform: scale(1.05);
}

.card__new {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	color: var(--gold-ink);
	font-family: var(--display);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.card__body {
	display: grid;
	gap: 2px;
	padding-inline: 2px;
}

.card__brand {
	margin: 0;
	color: var(--stone);
	font-family: var(--display);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.card__title {
	color: var(--ink);
	font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
	line-height: 1.2;
}

.card__link:hover .card__title {
	color: var(--gold-ink);
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 2px 0 0;
	color: var(--stone);
	font-size: var(--text-sm);
}

.card__price {
	color: var(--ink);
	font-family: var(--display);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(40px, 5vw, 64px);
}

.empty {
	display: grid;
	justify-items: start;
	gap: 8px;
	padding: clamp(32px, 5vw, 64px);
	background: var(--mist);
}

.empty__title {
	margin: 0;
	color: var(--ink);
	font-family: var(--display);
	font-size: var(--h3);
	text-transform: uppercase;
}

.empty .actions {
	margin-top: 16px;
}

/* Tutti i brand. */
.brand-index {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brand-index__item {
	display: grid;
	justify-items: center;
	gap: 6px;
	height: 100%;
	padding: 32px 24px 24px;
	background: var(--mist);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s var(--ease);
}

.brand-index__item:hover {
	background: var(--mist-deep);
}

.brand-index__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 72px;
	margin-bottom: 8px;
}

.brand-index__name {
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.125rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.brand-index__count {
	color: var(--stone);
	font-size: var(--text-sm);
}

/* Sfondo delle foto: il riquadro si adatta a ogni foto (vedi inc/image-bg.php).
   site  = grigio del sito, il bianco della foto sparisce (multiply)
   match = il riquadro prende il colore dello sfondo della foto
   white = riquadro bianco con filo
   blur  = foto intera su una sua copia sfocata (foto ambientate)
   cover = la foto riempie il riquadro */
[data-bg="blur"] {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

[data-bg="blur"]::before {
	content: "";
	position: absolute;
	inset: -10%;
	z-index: -1;
	background: var(--photo) center / cover no-repeat;
	filter: blur(22px) saturate(1.1);
	opacity: 0.85;
}

[data-bg="blur"] img {
	position: relative;
	padding: 0 !important;
	mix-blend-mode: normal !important;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}

[data-bg="match"] {
	background-color: var(--tile, var(--mist)) !important;
}

[data-bg="white"] {
	background-color: var(--paper) !important;
	box-shadow: inset 0 0 0 1px var(--line);
}

[data-bg="match"] img,
[data-bg="white"] img,
[data-bg="cover"] img {
	mix-blend-mode: normal !important;
}

[data-bg="cover"] img {
	object-fit: cover !important;
	padding: 0 !important;
}

.collection:has([data-bg="cover"]) .collection__body {
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 45%);
}

/* 9. Scheda prodotto
   ------------------------------------------------------------------------- */
.product {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	padding-top: 20px;
}

.gallery__main {
	background: var(--mist);
}

.gallery__slide {
	margin: 0;
	aspect-ratio: 5 / 4;
}

.gallery__slide + .gallery__slide {
	border-top: 4px solid var(--paper);
}

.js .gallery__slide + .gallery__slide {
	border: 0;
}

.gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6%;
	mix-blend-mode: multiply;
}

.gallery__slide[hidden] {
	display: none;
}

.gallery__thumbs {
	display: flex;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

.gallery__thumb {
	display: block;
	width: 88px;
	aspect-ratio: 1 / 1;
	background: var(--mist);
	border: 1px solid transparent;
	transition: border-color 0.2s var(--ease);
}

.gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
	mix-blend-mode: multiply;
}

.gallery__thumb:hover {
	border-color: var(--line);
}

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

.product__info {
	display: grid;
	align-content: start;
	gap: 24px;
}

.product__top {
	display: grid;
	gap: 8px;
}

.product__brand {
	justify-self: start;
	color: var(--gold-ink);
	font-family: var(--display);
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.product__brand:hover {
	text-decoration: underline;
}

.product__title {
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
	line-height: 1.05;
}

.product__new {
	margin: 4px 0 0;
	color: var(--gold-ink);
	font-family: var(--display);
	font-size: 1.0625rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.specs {
	display: grid;
	margin: 0;
	border-top: 1px solid var(--line);
}

.specs > div {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.specs dt {
	color: var(--ink);
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.specs dd {
	margin: 0;
	color: var(--graphite);
}

.product__store {
	display: grid;
	justify-items: start;
	gap: 6px;
	color: var(--stone);
	font-size: 0.9375rem;
}

.product__store p {
	margin: 0;
}

.product__store-title {
	color: var(--ink);
	font-family: var(--display);
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.product__store .open-status {
	margin-top: 4px;
}

.product__buy {
	display: grid;
	gap: 16px;
	padding: 20px;
	background: var(--mist);
}

.product__price {
	margin: 0;
	color: var(--ink);
	font-family: var(--display);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.product__ask {
	margin: 0;
	color: var(--graphite);
	font-family: var(--display);
	font-size: 1.0625rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.product__buy-actions {
	display: grid;
	grid-template-columns: 1fr;
}

.product__buy-actions .button {
	width: 100%;
}

@media (min-width: 520px) {
	.product__buy-actions {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1000px) {
	.product {
		grid-template-columns: minmax(0, 1.65fr) minmax(360px, 1fr);
		align-items: start;
	}

	.product__info {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}

	.product__buy-actions {
		grid-template-columns: 1fr;
	}
}

/* 10. Servizi
   ------------------------------------------------------------------------- */
.services__group + .services__group {
	margin-top: clamp(56px, 7vw, 96px);
}

.services__group .section__head {
	padding-bottom: 14px;
	border-bottom: 3px solid var(--gold);
}

/* Invito a prenotare: fascia scura a tutta larghezza.
   Specificità più alta di ".section + .section" per non perdere il respiro in alto. */
.section.cta {
	position: relative;
	margin-top: var(--section);
	padding-block: clamp(64px, 8vw, 112px);
	overflow: hidden;
	background: var(--ink);
	color: var(--paper);
}

/* Dopo un'altra sezione basta il suo spazio: niente doppio bianco. */
.section + .section.cta {
	margin-top: 0;
}

/* Un grande anello oro, come una lente, nell'angolo. */
.section.cta::after {
	content: "";
	position: absolute;
	right: -8vw;
	top: 50%;
	width: clamp(280px, 34vw, 520px);
	aspect-ratio: 1;
	border: 1px solid rgba(184, 145, 58, 0.45);
	border-radius: 50%;
	box-shadow: 0 0 0 28px rgba(184, 145, 58, 0.06), 0 0 0 56px rgba(184, 145, 58, 0.04);
	transform: translateY(-50%);
	pointer-events: none;
}

.cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 32px;
}

.cta__title {
	color: var(--paper);
	font-size: var(--h2);
	max-width: 20ch;
}

.cta__title::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-bottom: 22px;
	background: var(--gold);
}

.cta__text {
	margin-top: 18px;
	max-width: 34rem;
	color: #cfcfcf;
	font-size: var(--text-lg);
}

.cta__actions {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 18px;
}

.cta__actions .actions {
	gap: 12px;
}

.cta .button:not(.button--gold) {
	border-color: rgba(255, 255, 255, 0.7);
	background: transparent;
	color: var(--paper);
}

.cta .button:not(.button--gold):hover {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--ink);
}

.site-main:has(> .cta:last-child) + .site-footer {
	margin-top: 0;
}

@media (min-width: 900px) {
	.cta__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 64px;
	}

	.cta__actions {
		justify-items: end;
	}
}

/* 11. Contatti
   ------------------------------------------------------------------------- */
.contact {
	display: grid;
	gap: 48px;
}

.contact__list {
	display: grid;
	gap: 26px;
	margin: 0;
}

.contact__list dt {
	margin-bottom: 4px;
	color: var(--stone);
	font-family: var(--display);
	font-size: 0.9375rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.contact__list dd {
	margin: 0;
	color: var(--ink);
	display: grid;
	justify-items: start;
	gap: 12px;
}

.contact__big {
	color: var(--ink);
	font-family: var(--display);
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact__big:hover {
	color: var(--gold-ink);
}

.contact__big--email {
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.contact__subtitle {
	font-size: var(--h3);
}

.contact__hours {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 18px;
}

.contact__hours .hours {
	width: 100%;
}

.contact__photo {
	margin: 0;
	overflow: hidden;
	background: var(--mist);
	aspect-ratio: 4 / 3;
}

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

@media (min-width: 800px) {
	.contact {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}

	.contact__photo {
		grid-column: 1 / -1;
		aspect-ratio: 21 / 9;
	}
}

@media (min-width: 1100px) {
	.contact.has-photo {
		grid-template-columns: 1fr 1fr 1.1fr;
		gap: 48px;
	}

	.contact.has-photo .contact__photo {
		grid-column: auto;
		aspect-ratio: auto;
		height: 100%;
		min-height: 440px;
	}
}

.bio {
	margin-top: var(--section);
	background: var(--mist);
}

.bio__grid {
	display: grid;
	gap: 40px;
}

.bio__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--mist-deep);
}

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

.bio__body {
	display: grid;
	align-content: center;
	gap: 24px;
	max-width: 42rem;
}

.bio__body .prose {
	font-size: var(--text-lg);
}

@media (min-width: 900px) {
	.bio__grid {
		grid-template-columns: 5fr 7fr;
		gap: 80px;
		align-items: center;
	}

	.bio__grid--text {
		grid-template-columns: 1fr;
	}

	.bio__grid--text .bio__body {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		column-gap: 80px;
		align-items: start;
		max-width: none;
	}
}

.contact-form__inner {
	max-width: 48rem;
}

.contact-form .section__title {
	margin-bottom: 28px;
}

/* 12. Testi lunghi (editor)
   ------------------------------------------------------------------------- */
.article__media {
	margin-block: 0 clamp(36px, 5vw, 64px);
}

.article__media img {
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
}

.prose {
	max-width: 44rem;
	color: var(--graphite);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.article__content {
	margin-inline: auto;
}

.prose > * {
	margin-block: 0;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 2em;
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.prose h3 {
	margin-top: 1.8em;
	font-size: 1.3125rem;
}

.prose h2 + *,
.prose h3 + * {
	margin-top: 0.6em;
}

.prose a {
	color: var(--gold-ink);
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose li::marker {
	color: var(--gold-ink);
}

.prose blockquote {
	margin-inline: 0;
	padding-left: 1.25em;
	border-left: 3px solid var(--gold);
	color: var(--ink);
	font-size: 1.25rem;
	line-height: 1.5;
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 8px;
	color: var(--stone);
	font-size: var(--text-sm);
}

.prose .alignwide {
	max-width: none;
	width: min(100vw - var(--gutter) * 2, 64rem);
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin-block: 2.5em;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.prose th,
.prose td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.prose .wp-block-button__link {
	display: inline-flex;
	padding: 13px 24px;
	border-radius: 2px;
	background: var(--gold);
	color: var(--ink);
	font-family: var(--display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.prose .is-style-outline .wp-block-button__link {
	border: 1px solid var(--ink);
	background: transparent;
}

/* Moduli (es. Contact Form 7). */
.prose input[type="text"],
.prose input[type="email"],
.prose input[type="tel"],
.prose textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--paper);
	font-size: 1rem;
}

.prose input:focus-visible,
.prose textarea:focus-visible {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 1px var(--ink);
}

.prose input[type="submit"] {
	min-height: 50px;
	padding: 12px 28px;
	border: 0;
	background: var(--gold);
	color: var(--ink);
	font-family: var(--display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Elenco articoli. */
.post-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.post-list__item {
	padding-block: 28px;
	border-bottom: 1px solid var(--line);
}

.post-list__title {
	font-size: var(--h3);
}

.post-list__title a {
	text-decoration: none;
}

.post-list__title a:hover {
	color: var(--gold-ink);
}

.post-list__text {
	margin-top: 8px;
	color: var(--stone);
}

.nav-links {
	display: flex;
	gap: 16px;
	margin-top: 40px;
}

/* 13. 404
   ------------------------------------------------------------------------- */
.notfound {
	display: grid;
	justify-items: center;
	padding-block: clamp(48px, 8vw, 112px);
	text-align: center;
}

.notfound__chart {
	margin: 0 0 8px;
	color: var(--ink);
	font-family: var(--display);
	font-size: clamp(6rem, 24vw, 15rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.14em;
	margin-right: -0.14em;
	filter: blur(6px);
	user-select: none;
}

.notfound .page-title {
	margin-top: 0;
}

.notfound .page-intro {
	margin-inline: auto;
}

.notfound .actions {
	margin-top: 32px;
}


/* 13b. Banner cookie e pagine legali
   ------------------------------------------------------------------------- */
.consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	justify-content: flex-start;
	pointer-events: none;
}

.consent[hidden] {
	display: none;
}

.consent__box {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	background: var(--paper);
	border-top: 3px solid var(--gold);
	box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.35);
	pointer-events: auto;
}

.consent__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	color: var(--stone);
	cursor: pointer;
}

.consent__close:hover {
	color: var(--ink);
}

.consent__title {
	margin: 0 40px 10px 0;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.consent__text {
	margin: 0;
	color: var(--graphite);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.consent__text a {
	color: var(--gold-ink);
}

.consent__prefs {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.consent__prefs[hidden] {
	display: none;
}

.consent__option {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px;
	background: var(--mist);
	font-size: 0.875rem;
	line-height: 1.45;
	cursor: pointer;
}

.consent__option input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--ink);
	flex: none;
}

.consent__option strong {
	display: block;
	color: var(--ink);
}

.consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 20px;
}

.consent__actions .button {
	min-height: 46px;
	padding-inline: 12px;
	font-size: 0.9375rem;
}

.consent__actions .button[hidden] {
	display: none;
}

.consent__actions [data-og-consent-custom],
.consent__actions [data-og-consent-save] {
	grid-column: 1 / -1;
}

body.consent-open .quickbar {
	display: none;
}

@media (min-width: 700px) {
	.consent {
		left: 24px;
		bottom: 24px;
	}
}

.legal-box {
	padding: 18px 20px;
	background: var(--mist);
	border-left: 3px solid var(--gold);
}

.legal-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.prose .legal-table table {
	min-width: 560px;
	font-size: 0.9375rem;
}

.prose .legal-table th {
	font-family: var(--display);
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
}

.prose .legal-table td {
	vertical-align: top;
}

.prose .legal-table code {
	font-size: 0.8125rem;
	word-break: break-word;
}

.prose .button {
	text-decoration: none;
	color: var(--ink);
}

.prose .button:hover {
	color: var(--paper);
}

/* 14. Movimento ridotto e stampa
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.consent,
	.topbar,
	.band,
	.site-header,
	.quickbar,
	.filters,
	.pager {
		display: none !important;
	}

	.site-footer {
		background: none;
	}
}
