/* =============================================
   ART SQUAD — estetica ispirata a units.gr
   Crema + nero + accenti pop, display arrotondato
   ============================================= */

:root {
	--as-cream: #f4e9e1;
	--as-black: #000000;
	--as-white: #ffffff;
	--as-yellow: #ffb200;
	--as-cyan: #00b2ff;
	--as-green: #1be349;
	--as-purple: #ab54f7;
	--as-orange: #ff5c38;
	--as-radius: 24px;
	--as-radius-lg: 32px;
	--as-font-display: "Baloo 2", system-ui, sans-serif;
	--as-font-body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--as-cream);
	color: var(--as-black);
	font-family: var(--as-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--as-font-display);
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}

.as-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.as-container-narrow { max-width: 860px; }

/* ---------- Bottoni pill ---------- */
.as-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	border: 2px solid var(--as-black);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.as-btn:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--as-black); }
.as-btn-primary { background: var(--as-yellow); color: var(--as-black); }
.as-btn-ghost { background: transparent; color: var(--as-black); }
.as-btn-dark { background: var(--as-black); color: var(--as-white); }
.as-btn-light { background: var(--as-cream); color: var(--as-black); border-color: var(--as-cream); }
.as-btn-cart { background: var(--as-black); color: var(--as-white); padding: 10px 20px; font-size: 15px; }

.as-cart-count {
	background: var(--as-yellow);
	color: var(--as-black);
	border-radius: 999px;
	min-width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	padding: 0 6px;
}

/* ---------- Header ---------- */
.as-header {
	position: sticky;
	top: 12px;
	z-index: 100;
	padding: 0 16px;
}
.as-header-inner {
	max-width: 1240px;
	margin: 0 auto;
	background: var(--as-white);
	border: 2px solid var(--as-black);
	border-radius: 999px;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
}
.as-logo {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 22px;
	text-decoration: none;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.as-logo-dot { color: var(--as-orange); }

/* Logo immagine (Aspetto → Personalizza → Identità del sito).
   L'altezza è vincolata qui: il file può essere di qualsiasi dimensione. */
.as-logo-img { display: flex; align-items: center; }
.as-logo-img img {
	height: 34px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}
@media (max-width: 560px) {
	.as-logo-img img { height: 28px; max-width: 160px; }
}

.as-nav-list {
	list-style: none;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.as-nav-list a {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: background 0.15s ease;
}
.as-nav-list a:hover { background: var(--as-cream); }
.as-nav-list .current-menu-item > a,
.as-nav-list .current_page_item > a { background: var(--as-black); color: var(--as-white); }

.as-header-actions { display: flex; align-items: center; gap: 12px; }

.as-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
}
.as-burger span { width: 24px; height: 3px; background: var(--as-black); border-radius: 2px; }

/* ---------- Hero ---------- */
.as-hero {
	position: relative;
	padding: 110px 0 90px;
	overflow: hidden;
	text-align: center;
}
.as-hero-kicker {
	display: inline-block;
	background: var(--as-black);
	color: var(--as-white);
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 8px 20px;
	border-radius: 999px;
	margin: 0 0 24px;
}
.as-hero-title {
	font-size: clamp(48px, 8.5vw, 108px);
	margin: 0 0 24px;
	position: relative;
	z-index: 2;
}
.as-hero-highlight {
	display: inline-block;
	background: var(--as-yellow);
	padding: 0 0.25em;
	border-radius: 0.25em;
	transform: rotate(-1.5deg);
}
.as-hero-sub {
	max-width: 640px;
	margin: 0 auto 36px;
	font-size: 19px;
	position: relative;
	z-index: 2;
}
.as-hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* Figura della hero (PNG scontornato, es. modella con la maglia):
   sta dietro al testo ma davanti alle forme di sfondo. */
.as-hero-figure {
	position: absolute;
	/* Offset fisso dal centro: il viso resta libero dalla pillola/titolo
	   a ogni larghezza, senza scivolare troppo sui monitor grandi. */
	left: calc(50% + 280px);
	bottom: 0;
	transform: translateX(-50%);
	height: calc(100% - 30px);
	max-height: 780px;
	width: auto;
	z-index: 1;
	pointer-events: none;
}
.as-hero-kicker { position: relative; z-index: 2; }
.as-hero-has-figure { min-height: 680px; }
/* Con la figura dietro, il bottone fantasma deve coprire ciò che ha sotto. */
.as-hero-has-figure .as-btn-ghost { background: var(--as-white); }

@media (max-width: 980px) {
	/* Su schermi stretti la figura coprirebbe il testo: diventa un
	   ritratto compatto sotto le CTA, appoggiato alla marquee. */
	.as-hero-figure {
		position: static;
		transform: none;
		display: block;
		margin: 18px auto 0;
		height: auto;
		max-height: 380px;
		max-width: 80%;
	}
	.as-hero.as-hero-has-figure {
		min-height: 0;
		display: flex;
		flex-direction: column;
		padding-bottom: 0; /* niente gap: la figura tocca la striscia nera */
	}
	.as-hero-has-figure .as-hero-figure { order: 10; }
}

.as-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.as-shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.9;
	animation: as-float 7s ease-in-out infinite;
}
.as-shape-1 { width: 140px; height: 140px; background: var(--as-cyan); top: 12%; left: 6%; }
.as-shape-2 { width: 90px; height: 90px; background: var(--as-orange); top: 60%; left: 12%; animation-delay: -2s; }
.as-shape-3 { width: 170px; height: 170px; background: var(--as-purple); top: 18%; right: 5%; animation-delay: -4s; }
.as-shape-4 { width: 70px; height: 70px; background: var(--as-green); top: 68%; right: 14%; animation-delay: -1s; }

@keyframes as-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-22px); }
}

/* ---------- Marquee ---------- */
.as-marquee {
	background: var(--as-black);
	color: var(--as-white);
	overflow: hidden;
	padding: 16px 0;
	transform: rotate(-1deg) scale(1.02);
}
.as-marquee-track {
	display: flex;
	align-items: center;
	gap: 28px;
	white-space: nowrap;
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.06em;
	animation: as-marquee 24s linear infinite;
	width: max-content;
}
/* Divisore: PNG "T" (115×200) alla stessa altezza del glifo ✳ che sostituisce. */
img.as-marquee-dot {
	height: 22px;
	width: auto;
	display: block;
	flex: 0 0 auto;
}
@keyframes as-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---------- Sezioni ---------- */
.as-section { padding: 90px 0; }
.as-section-alt { background: var(--as-white); border-radius: var(--as-radius-lg); margin: 0 16px; }
.as-section-title { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 48px; }
.as-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.as-section-head .as-section-title { margin-bottom: 24px; }

.as-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* ---------- Card ---------- */
.as-card {
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	padding: 32px;
	background: var(--as-white);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.as-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--as-black); }
.as-card-num {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 15px;
	display: inline-flex;
	padding: 4px 14px;
	border: 2px solid var(--as-black);
	border-radius: 999px;
	margin-bottom: 18px;
}
.as-card h3 { font-size: 26px; }
.as-card p { margin: 0; }

.as-acc-yellow .as-card-num, .as-pillar-badge.as-acc-orange { background: var(--as-orange); }
.as-acc-yellow { background: var(--as-yellow); }
.as-acc-cyan { background: var(--as-cyan); }
.as-acc-green { background: var(--as-green); }
.as-acc-purple { background: var(--as-purple); color: var(--as-white); }
.as-acc-orange { background: var(--as-orange); }
.as-acc-yellow .as-card-num { background: var(--as-white); }
.as-acc-cyan .as-card-num { background: var(--as-white); }
.as-acc-green .as-card-num { background: var(--as-white); }

/* ---------- Categorie ---------- */
.as-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.as-cat-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 36px 28px;
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	text-decoration: none;
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 26px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.as-cat-card:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 6px 6px 0 var(--as-black); }
.as-cat-arrow { font-size: 30px; }

/* ---------- Manifesto ---------- */
.as-manifesto {
	background: var(--as-black);
	color: var(--as-white);
	text-align: center;
	padding: 110px 24px;
	border-radius: var(--as-radius-lg);
	margin: 0 16px;
}
.as-manifesto h2 { font-size: clamp(36px, 5.5vw, 72px); color: var(--as-yellow); }
.as-manifesto p { max-width: 660px; margin: 0 auto 36px; font-size: 19px; }

/* ---------- Pilastri ---------- */
.as-pillar { text-align: center; padding: 24px; }
.as-pillar-badge {
	width: 64px;
	height: 64px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	border: 2px solid var(--as-black);
	border-radius: 50%;
	margin-bottom: 20px;
}
.as-pillar h3 { font-size: 26px; }

/* Badge con icona custom (assets/img/pillar-*.svg|png): il file include già
   il disco colorato, quindi niente background CSS; resta il bordo nero. */
.as-pillar-badge--img { background: none; padding: 0; overflow: hidden; }
.as-pillar-badge--img img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* ---------- Pagine ---------- */
.as-main { min-height: 55vh; }
.as-page-title { font-size: clamp(38px, 5vw, 64px); padding-top: 70px; }
.as-entry-content { font-size: 18px; padding-bottom: 90px; }
.as-entry-content h2 { font-size: 32px; margin-top: 1.4em; }

/* ---------- Footer ---------- */
.as-footer {
	background: var(--as-black);
	color: var(--as-cream);
	margin-top: 90px;
	padding: 70px 0 30px;
	border-radius: var(--as-radius-lg) var(--as-radius-lg) 0 0;
}
.as-footer-top {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
	margin-bottom: 60px;
}
.as-footer-brand { max-width: 420px; }
.as-footer-logo { font-family: var(--as-font-display); font-weight: 800; font-size: 26px; margin-bottom: 12px; }
.as-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.as-footer-list a { text-decoration: none; font-weight: 600; }
.as-footer-list a:hover { color: var(--as-yellow); }
.as-footer-giant {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(40px, 8vw, 120px);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px rgba(244, 233, 225, 0.35);
	white-space: nowrap;
	overflow: hidden;
	margin-bottom: 40px;
}
.as-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 14px;
	opacity: 0.7;
	border-top: 1px solid rgba(244, 233, 225, 0.2);
	padding-top: 24px;
}

/* ---------- Documento manifesto ---------- */
/* Il documento ha già il suo titolone: l'H1 di pagina resta solo per screen reader/SEO. */
.as-entry:has(.as-manifesto-doc) .as-page-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.as-entry:has(.as-manifesto-doc) .as-entry-content { padding-top: 80px; }

.as-mani-title {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(32px, 4.5vw, 54px);
	line-height: 1.3;
	margin: 0 0 10px;
}
.as-mani-lead {
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 21px;
	margin: 0 0 56px;
}

.as-hl {
	padding: 0.04em 0.24em;
	border-radius: 0.3em;
	font-weight: 700;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.as-hl-red { background: var(--as-orange); color: var(--as-black); }
.as-hl-yellow { background: var(--as-yellow); color: var(--as-black); }
.as-hl-cyan { background: var(--as-cyan); color: var(--as-black); }
.as-hl-green { background: var(--as-green); color: var(--as-black); }
.as-hl-purple { background: var(--as-purple); color: var(--as-white); }

/* I titoli con evidenziazioni hanno bisogno di più aria tra le righe,
   altrimenti le pillole colorate si sovrappongono quando vanno a capo. */
.as-manifesto-doc h2 {
	line-height: 1.35;
}
.as-manifesto-doc h2 .as-hl,
.as-mani-title .as-hl,
.as-mani-lead .as-hl {
	padding-top: 0;
	padding-bottom: 0;
}

.as-manifesto-doc h2 .as-mani-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.7em;
	height: 1.7em;
	margin-right: 0.35em;
	border: 2px solid var(--as-black);
	border-radius: 999px;
	font-size: 0.55em;
	vertical-align: 0.25em;
}

.as-mani-sign {
	background: var(--as-black);
	color: var(--as-cream);
	border-radius: var(--as-radius-lg);
	padding: 52px 36px;
	margin: 64px 0 20px;
	text-align: center;
}
.as-mani-sign .as-sign-title {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: 0.08em;
	margin: 0 0 22px;
}
.as-mani-sign .as-sign-quote {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(24px, 3.2vw, 38px);
	line-height: 1.15;
	margin: 14px 0 0;
}
.as-mani-sign .as-sign-quote-1 { color: var(--as-yellow); }
.as-mani-sign .as-sign-quote-2 { color: var(--as-cyan); font-size: clamp(18px, 2.2vw, 26px); }

/* =============================================
   PAGINE LEGALI (stile manifesto, ma leggibile)
   ============================================= */
.as-legal-doc { font-size: 17px; line-height: 1.72; }

.as-legal-updated {
	display: inline-block;
	background: var(--as-black);
	color: var(--as-cream);
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	padding: 6px 16px;
	border-radius: 999px;
	margin: 0 0 28px;
}
.as-legal-lead {
	background: var(--as-white);
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	padding: 18px 22px;
	margin: 0 0 40px;
	font-size: 16px;
}
.as-legal-lead p { margin: 0; }

/* Titoli di paragrafo: badge numerato + testo evidenziato, colori a rotazione. */
.as-legal-doc h2 {
	font-size: clamp(21px, 2.6vw, 29px);
	line-height: 1.3;
	margin: 46px 0 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.as-legal-doc h2 .as-mani-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.9em;
	height: 1.9em;
	border: 2px solid var(--as-black);
	border-radius: 999px;
	font-size: 0.7em;
	flex: 0 0 auto;
}
.as-legal-h {
	padding: 0.02em 0.28em;
	border-radius: 0.28em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
/* Rotazione automatica dei colori dei titoli. */
.as-legal-doc h2:nth-of-type(5n+1) .as-legal-h,
.as-legal-doc h2:nth-of-type(5n+1) .as-mani-num { background: var(--as-yellow); }
.as-legal-doc h2:nth-of-type(5n+2) .as-legal-h,
.as-legal-doc h2:nth-of-type(5n+2) .as-mani-num { background: var(--as-cyan); }
.as-legal-doc h2:nth-of-type(5n+3) .as-legal-h,
.as-legal-doc h2:nth-of-type(5n+3) .as-mani-num { background: var(--as-green); }
.as-legal-doc h2:nth-of-type(5n+4) .as-legal-h,
.as-legal-doc h2:nth-of-type(5n+4) .as-mani-num { background: var(--as-purple); color: var(--as-white); }
.as-legal-doc h2:nth-of-type(5n+5) .as-legal-h,
.as-legal-doc h2:nth-of-type(5n+5) .as-mani-num { background: var(--as-orange); }

.as-legal-doc h3 { font-size: 20px; margin: 30px 0 10px; }
.as-legal-doc p { margin: 0 0 16px; }
.as-legal-doc ul { margin: 0 0 18px; padding-left: 1.3em; }
.as-legal-doc li { margin-bottom: 8px; }
.as-legal-doc a {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	text-decoration-color: var(--as-yellow);
}

/* Tabelle legali (finalità/basi giuridiche, cookie, allegato…). */
.as-legal-doc table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	overflow: hidden;
	margin: 20px 0 24px;
	font-size: 15px;
}
.as-legal-doc thead th {
	background: var(--as-black);
	color: var(--as-cream);
	font-family: var(--as-font-display);
	font-weight: 700;
	text-align: left;
	padding: 12px 14px;
}
.as-legal-doc tbody td {
	padding: 11px 14px;
	border-top: 2px solid rgba(0, 0, 0, 0.12);
	vertical-align: top;
}
.as-legal-doc tbody tr:nth-child(even) td { background: rgba(0, 0, 0, 0.03); }

/* Riquadro "nota interna" — istruzioni per la redazione, da rimuovere. */
.as-legal-internal {
	background: rgba(255, 92, 56, 0.12);
	border: 2px dashed var(--as-orange);
	border-radius: var(--as-radius);
	padding: 12px 18px;
	margin: 18px 0;
	font-size: 14px;
}
.as-legal-internal strong { text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }

/* Campo da completare prima della pubblicazione. */
.as-legal-todo {
	background: #ffd6cc;
	color: #a01;
	border: 1px dashed #a01;
	border-radius: 4px;
	padding: 0 6px;
	font-weight: 700;
	font-size: 0.92em;
}

/* ---------- Menu legale nel footer ---------- */
.as-footer-legal { margin: 8px 0 20px; }
.as-footer-legal-list {
	list-style: none;
	margin: 0;
	padding: 0 0 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	border-bottom: 1px solid rgba(244, 233, 225, 0.2);
}
.as-footer-legal-list a { text-decoration: none; font-size: 14px; opacity: 0.75; }
.as-footer-legal-list a:hover { opacity: 1; color: var(--as-yellow); }

/* =============================================
   COMPLIANZ — banner cookie in stile Art Squad
   ============================================= */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	border: 2px solid var(--as-black) !important;
	border-radius: var(--as-radius) !important;
	background: var(--as-white) !important;
	box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.14) !important;
	font-family: var(--as-font-body) !important;
	color: var(--as-black) !important;
	padding: 22px !important;
}
#cmplz-cookiebanner-container .cmplz-title {
	font-family: var(--as-font-display) !important;
	font-weight: 800 !important;
	font-size: 20px !important;
	color: var(--as-black) !important;
}
#cmplz-cookiebanner-container .cmplz-body,
#cmplz-cookiebanner-container .cmplz-message { color: var(--as-black) !important; font-size: 15px !important; }

/* Pulsanti a pillola. */
#cmplz-cookiebanner-container .cmplz-btn {
	border-radius: 999px !important;
	border: 2px solid var(--as-black) !important;
	font-family: var(--as-font-display) !important;
	font-weight: 700 !important;
	padding: 10px 22px !important;
	transition: transform 0.12s ease, background 0.12s ease;
}
#cmplz-cookiebanner-container .cmplz-btn:hover { transform: translateY(-1px); }
#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept { background: var(--as-yellow) !important; color: var(--as-black) !important; }
#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept:hover { background: var(--as-orange) !important; }
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny { background: var(--as-white) !important; color: var(--as-black) !important; }
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny:hover { background: var(--as-cream) !important; }
#cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-save-preferences {
	background: var(--as-black) !important;
	color: var(--as-white) !important;
}
/* Toggle categorie: colore attivo di brand. */
#cmplz-cookiebanner-container .cmplz-category .cmplz-banner-checkbox input:checked + .cmplz-label .cmplz-slider,
#cmplz-cookiebanner-container input.cmplz-consent-checkbox:checked + label { background: var(--as-green) !important; }
#cmplz-cookiebanner-container .cmplz-links a { color: var(--as-black) !important; text-decoration-color: var(--as-yellow) !important; }

/* Pillola "gestisci consenso" fluttuante. */
.cmplz-manage-consent.cmplz-manage-consent-container {
	border: 2px solid var(--as-black) !important;
	border-radius: 999px !important;
	background: var(--as-white) !important;
}

/* =============================================
   CHATBOT — "Ask the Squad"
   ============================================= */
.as-chat { position: fixed; right: 20px; bottom: 20px; z-index: 9998; font-family: var(--as-font-body); }

.as-chat-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--as-yellow);
	color: var(--as-black);
	border: 2px solid var(--as-black);
	border-radius: 999px;
	padding: 12px 22px;
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	/* Doppia ombra: nera (stacca sul crema) + alone chiaro (stacca sul nero). */
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(244, 233, 225, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.as-chat-toggle:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2); }
.as-chat-toggle-icon { color: #e01b22; display: block; } /* martello rosso */
.as-chat.is-open .as-chat-toggle-icon { transform: rotate(-12deg); }

.as-chat-panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 14px); /* sopra il pulsante flottante, che resta visibile */
	width: min(380px, calc(100vw - 32px));
	height: min(70vh, 560px);
	max-height: calc(100vh - 120px);
	background: var(--as-cream);
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius-lg);
	box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.18);
	display: none; /* nascosto di default: la visibilità la controlla .is-open */
	flex-direction: column;
	overflow: hidden;
}
.as-chat.is-open .as-chat-panel { display: flex; }
.as-chat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--as-black);
	color: var(--as-cream);
	padding: 14px 18px;
}
.as-chat-title { font-family: var(--as-font-display); font-weight: 800; letter-spacing: 0.06em; font-size: 16px; }
.as-chat-close { background: none; border: none; color: var(--as-cream); font-size: 26px; line-height: 1; cursor: pointer; }

.as-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.as-chat-msg {
	max-width: 84%;
	padding: 10px 14px;
	border-radius: 16px;
	font-size: 15px;
	line-height: 1.5;
	border: 2px solid var(--as-black);
	white-space: pre-wrap;
	word-wrap: break-word;
}
.as-chat-msg.bot { align-self: flex-start; background: var(--as-white); border-bottom-left-radius: 4px; }
.as-chat-msg.user { align-self: flex-end; background: var(--as-yellow); border-bottom-right-radius: 4px; }
.as-chat-msg.typing { color: rgba(0, 0, 0, 0.5); font-style: italic; }
.as-chat-msg a { font-weight: 700; text-decoration: underline; }

.as-chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 8px; }
.as-chat-chip {
	background: var(--as-white);
	border: 2px solid var(--as-black);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.12s ease;
}
.as-chat-chip:hover { background: var(--as-yellow); }

.as-chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 2px solid var(--as-black); background: var(--as-cream); }
.as-chat-input {
	flex: 1;
	border: 2px solid var(--as-black);
	border-radius: 999px;
	padding: 10px 16px;
	font-family: var(--as-font-body);
	font-size: 15px;
	background: var(--as-white);
}
.as-chat-input:focus { outline: none; box-shadow: 0 0 0 3px var(--as-yellow); }
.as-chat-send {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--as-black);
	background: var(--as-black);
	color: var(--as-white);
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}
.as-chat-send:hover { background: var(--as-yellow); color: var(--as-black); }

@media (max-width: 560px) {
	.as-chat { right: 12px; bottom: 12px; }
	.as-chat-toggle-label { display: none; }
	.as-chat-toggle { padding: 14px; }
	.as-chat-toggle-icon { font-size: 22px; }
}

/* ---------- Artisti ---------- */
.as-archive-intro { max-width: 640px; font-size: 19px; margin: -20px 0 48px; }

.as-artist-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-bottom: 30px;
}
.as-artist-card {
	display: flex;
	flex-direction: column;
	background: var(--as-white);
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.as-artist-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 6px 6px 0 var(--as-black); }
.as-artist-thumb {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 2px solid var(--as-black);
	overflow: hidden;
}
.as-artist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.as-artist-initials {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 120px;
	line-height: 1;
}
.as-artist-card-body { padding: 20px 22px 24px; }
.as-artist-card-body h2 { font-size: 24px; margin-bottom: 4px; }
.as-artist-place { margin: 0 0 10px; opacity: 0.7; font-size: 15px; }
.as-artist-count {
	display: inline-block;
	background: var(--as-yellow);
	border: 2px solid var(--as-black);
	border-radius: 999px;
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 13px;
	padding: 3px 12px;
}
.as-artist-cta {
	text-align: center;
	background: var(--as-white);
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius-lg);
	padding: 56px 24px;
	margin: 40px 0 90px;
}
.as-artist-cta h2 { font-size: 34px; }
.as-artist-cta p { margin: 0 0 24px; }

.as-artist-hero {
	display: grid;
	grid-template-columns: minmax(260px, 420px) 1fr;
	gap: 48px;
	align-items: start;
	padding: 70px 0 40px;
}
.as-artist-hero-media img,
.as-artist-hero-media .as-artist-thumb {
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	width: 100%;
}
.as-artist-hero-media .as-artist-thumb { border-bottom-width: 2px; }
.as-artist-title { font-size: clamp(38px, 5vw, 64px); margin: 10px 0 6px; }
.as-artist-bio { padding-bottom: 0; }
.as-artist-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.as-artist-works { padding: 40px 0 90px; }

.as-product-artist {
	background: var(--as-cream);
	border: 2px solid var(--as-black);
	border-radius: 999px;
	display: inline-block;
	padding: 8px 18px;
	font-weight: 600;
}
.as-product-artist a { font-weight: 700; }
.as-product-artist-place { opacity: 0.7; }

@media (max-width: 980px) {
	.as-artist-grid { grid-template-columns: repeat(2, 1fr); }
	.as-artist-hero { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.as-artist-grid { grid-template-columns: 1fr; }
}

/* =============================================
   WOOCOMMERCE
   ============================================= */
.as-woo { padding-top: 50px; padding-bottom: 90px; }

.woocommerce-products-header__title.page-title {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(38px, 5vw, 64px);
	margin: 20px 0 30px;
}

.woocommerce-breadcrumb { font-size: 14px; opacity: 0.7; margin-bottom: 8px !important; }

/* Griglia prodotti */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: var(--as-white);
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	overflow: hidden;
	padding: 0 !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	display: flex;
	flex-direction: column;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--as-black); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
}
.woocommerce ul.products li.product img {
	width: 100% !important;
	margin: 0 !important;
	border-bottom: 2px solid var(--as-black);
}

/* Sfondo colorato dietro ai mockup dei prodotti (PNG trasparenti).
   Vedi functions.php per le classi. Tre livelli:
   A) GRIGLIA — rotazione per POSIZIONE (:nth-child) sui prodotti "auto":
      alterna sempre i colori, senza dipendere dagli ID prodotto.
   B) PAGINA PRODOTTO — default per-ID (as-prodbg-auto-N).
   C) OVERRIDE manuale (as-prodbg-<colore>) — vince su tutto, griglia e singola. */

/* A) Griglia: rotazione per posizione (solo i prodotti senza override). */
.woocommerce ul.products li.product.as-prodbg-rot:nth-child(5n+1) img { background-color: var(--as-yellow); }
.woocommerce ul.products li.product.as-prodbg-rot:nth-child(5n+2) img { background-color: var(--as-cyan); }
.woocommerce ul.products li.product.as-prodbg-rot:nth-child(5n+3) img { background-color: var(--as-green); }
.woocommerce ul.products li.product.as-prodbg-rot:nth-child(5n+4) img { background-color: var(--as-purple); }
.woocommerce ul.products li.product.as-prodbg-rot:nth-child(5n+5) img { background-color: var(--as-orange); }

/* B) Pagina prodotto: default per-ID. */
.woocommerce div.product.as-prodbg-auto-1 div.images img,
.woocommerce div.product.as-prodbg-auto-1 .woocommerce-product-gallery__image img { background-color: var(--as-yellow); }
.woocommerce div.product.as-prodbg-auto-2 div.images img,
.woocommerce div.product.as-prodbg-auto-2 .woocommerce-product-gallery__image img { background-color: var(--as-cyan); }
.woocommerce div.product.as-prodbg-auto-3 div.images img,
.woocommerce div.product.as-prodbg-auto-3 .woocommerce-product-gallery__image img { background-color: var(--as-green); }
.woocommerce div.product.as-prodbg-auto-4 div.images img,
.woocommerce div.product.as-prodbg-auto-4 .woocommerce-product-gallery__image img { background-color: var(--as-purple); }
.woocommerce div.product.as-prodbg-auto-5 div.images img,
.woocommerce div.product.as-prodbg-auto-5 .woocommerce-product-gallery__image img { background-color: var(--as-orange); }

/* C) Override manuale (vince su A e B). */
.woocommerce ul.products li.product.as-prodbg-yellow img,
.woocommerce div.product.as-prodbg-yellow div.images img,
.woocommerce div.product.as-prodbg-yellow .woocommerce-product-gallery__image img { background-color: var(--as-yellow) !important; }
.woocommerce ul.products li.product.as-prodbg-cyan img,
.woocommerce div.product.as-prodbg-cyan div.images img,
.woocommerce div.product.as-prodbg-cyan .woocommerce-product-gallery__image img { background-color: var(--as-cyan) !important; }
.woocommerce ul.products li.product.as-prodbg-green img,
.woocommerce div.product.as-prodbg-green div.images img,
.woocommerce div.product.as-prodbg-green .woocommerce-product-gallery__image img { background-color: var(--as-green) !important; }
.woocommerce ul.products li.product.as-prodbg-purple img,
.woocommerce div.product.as-prodbg-purple div.images img,
.woocommerce div.product.as-prodbg-purple .woocommerce-product-gallery__image img { background-color: var(--as-purple) !important; }
.woocommerce ul.products li.product.as-prodbg-orange img,
.woocommerce div.product.as-prodbg-orange div.images img,
.woocommerce div.product.as-prodbg-orange .woocommerce-product-gallery__image img { background-color: var(--as-orange) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 19px !important;
	padding: 18px 18px 4px !important;
}
.woocommerce ul.products li.product .price {
	color: var(--as-black) !important;
	font-weight: 700;
	font-size: 17px !important;
	padding: 0 18px 14px;
	margin-top: auto !important;
}
.woocommerce ul.products li.product .button {
	margin: 0 18px 18px !important;
	background: var(--as-black) !important;
	color: var(--as-white) !important;
	border: 2px solid var(--as-black) !important;
	border-radius: 999px !important;
	font-family: var(--as-font-display);
	font-weight: 700 !important;
	padding: 10px 20px !important;
	text-align: center;
}
.woocommerce ul.products li.product .button:hover { background: var(--as-orange) !important; color: var(--as-black) !important; }

/* Stato "aggiunto al carrello" nella griglia.
   Dopo il click AJAX, WooCommerce mette la classe .added sul bottone (con
   spunta) e gli inserisce accanto un link "View cart" non formattato.
   1) trasformiamo quel link in un vero pulsante (giallo), centrato e allineato;
   2) dove il browser supporta :has(), nascondiamo il bottone originale così
      "Add to cart" DIVENTA "View cart" nello stesso punto.
   Sui rari browser senza :has() restano entrambi, impilati e stilizzati:
   fallback pulito, mai un pulsante che sparisce lasciando il vuoto. */
.woocommerce ul.products li.product .added_to_cart {
	display: block;
	margin: 0 18px 18px;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	border-radius: 999px;
	border: 2px solid var(--as-black);
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 17px;
	line-height: 17px; /* stessa metrica del bottone "Add", così le altezze combaciano */
	background: var(--as-yellow);
	color: var(--as-black);
	transition: transform 0.15s ease, background 0.15s ease;
}
.woocommerce ul.products li.product .added_to_cart:hover { background: var(--as-orange); }
.woocommerce ul.products li.product:has(.added_to_cart) .add_to_cart_button.added { display: none !important; }

.woocommerce ul.products li.product .onsale {
	background: var(--as-green);
	color: var(--as-black);
	font-weight: 800;
	border-radius: 999px;
	border: 2px solid var(--as-black);
}

/* Bottoni Woo generici */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button {
	border-radius: 999px !important;
	font-family: var(--as-font-display) !important;
	font-weight: 700 !important;
}
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt,
.woocommerce #payment #place_order {
	background: var(--as-black) !important;
	color: var(--as-white) !important;
}
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover,
.woocommerce #payment #place_order:hover { background: var(--as-orange) !important; color: var(--as-black) !important; }

/* Pagina prodotto */
.woocommerce div.product .product_title {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(30px, 4vw, 48px);
}
.woocommerce div.product p.price { color: var(--as-black) !important; font-size: 26px; font-weight: 800; }
.woocommerce div.product div.images img { border: 2px solid var(--as-black); border-radius: var(--as-radius); }
.woocommerce div.product form.cart .button {
	background: var(--as-yellow) !important;
	color: var(--as-black) !important;
	border: 2px solid var(--as-black) !important;
	padding: 14px 32px !important;
	font-size: 17px !important;
}
.woocommerce div.product form.cart .button:hover { background: var(--as-orange) !important; }

/* =============================================
   PRODOTTI VARIABILI — swatch Colore / Taglia
   ============================================= */
/* Il form variazioni (table) diventa una pila pulita. */
.woocommerce div.product form.cart .variations {
	border: 0;
	width: auto;
	margin: 6px 0 22px;
}
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
	display: block;
	border: 0 !important;
	padding: 0;
	background: none !important;
}
.woocommerce div.product form.cart .variations tr { margin-bottom: 18px; }
.woocommerce div.product form.cart .variations th.label {
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	line-height: 1.2;
}
.woocommerce div.product form.cart .variations th.label label { margin: 0; }

/* Select nativo stilizzato = fallback se il JS non parte. */
.woocommerce div.product form.cart .variations select {
	font-family: var(--as-font-body);
	font-size: 16px;
	padding: 10px 40px 10px 16px;
	border: 2px solid var(--as-black);
	border-radius: 999px;
	background-color: var(--as-white);
	min-width: 220px;
	max-width: 100%;
}
/* Quando il JS crea gli swatch, nascondiamo il select nativo. */
.woocommerce div.product form.cart .variations select.as-select-enhanced { display: none !important; }

/* Link "Clear" (reset selezione). */
.woocommerce div.product form.cart .reset_variations {
	display: inline-block;
	margin-top: 6px;
	font-family: var(--as-font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--as-black);
	opacity: 0.6;
}
.woocommerce div.product form.cart .reset_variations:hover { opacity: 1; }

/* Contenitore swatch. */
.as-swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.as-swatch {
	cursor: pointer;
	font-family: var(--as-font-display);
	font-weight: 700;
	border: 2px solid var(--as-black);
	background: var(--as-white);
	padding: 0;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.as-swatch:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--as-cream), 0 0 0 5px var(--as-black); }

/* Pill (taglia / testo). */
.as-swatch--pill {
	min-width: 48px;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 15px;
	color: var(--as-black);
	text-align: center;
	line-height: 1;
}
.as-swatch--pill:hover { background: var(--as-cream); transform: translateY(-1px); }
.as-swatch--pill.is-selected { background: var(--as-black); color: var(--as-white); }

/* Cerchio colore. */
.as-swatch--dot {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--sw, #ccc);
}
.as-swatch--dot:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--as-black); }
.as-swatch--dot.is-selected { box-shadow: 0 0 0 3px var(--as-cream), 0 0 0 5px var(--as-black); }

/* Nome del colore selezionato, accanto ai cerchi. */
.as-swatch-current {
	font-family: var(--as-font-body);
	font-size: 14px;
	color: rgba(0, 0, 0, 0.6);
	margin-left: 4px;
	min-height: 1em;
}
.as-swatch-current:empty { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--as-white) !important;
	border: 2px solid var(--as-black) !important;
	border-radius: 999px !important;
	margin-right: 10px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--as-black) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--as-white) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--as-radius) !important;
	border: 2px solid var(--as-black) !important;
	background: var(--as-white) !important;
	color: var(--as-black) !important;
}
.woocommerce-message { border-top-color: var(--as-green) !important; }
.woocommerce-message::before { color: var(--as-green) !important; }

/* Carrello / checkout: tabelle morbide */
.woocommerce table.shop_table {
	border: 2px solid var(--as-black) !important;
	border-radius: var(--as-radius) !important;
	overflow: hidden;
}

/* Paginazione */
.woocommerce nav.woocommerce-pagination ul { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li {
	border: none !important;
	margin: 0 4px !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border: 2px solid var(--as-black);
	border-radius: 999px;
	min-width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--as-black); color: var(--as-white); }

/* Ordinamento / conteggio risultati */
.woocommerce .woocommerce-ordering select {
	border: 2px solid var(--as-black);
	border-radius: 999px;
	padding: 8px 16px;
	background: var(--as-white);
	font-family: var(--as-font-body);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 980px) {
	.as-grid-3 { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.as-nav {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: 16px;
		right: 16px;
		background: var(--as-white);
		border: 2px solid var(--as-black);
		border-radius: var(--as-radius);
		padding: 16px;
		box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
	}
	.as-header.is-open .as-nav { display: block; }
	.as-nav-list { flex-direction: column; }
	.as-burger { display: flex; }
	.as-header { position: sticky; }
	.as-header-inner { position: relative; }
}

@media (max-width: 560px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.as-hero { padding: 70px 0 60px; }
	.as-section { padding: 60px 0; }
	.as-shape { display: none; }
	.as-btn-cart { font-size: 13px; padding: 8px 14px; }
}

/* =============================================
   PAGINA ARTISTI (archive-as_artist)
   Hero con ritratti a ventaglio + griglia + statistiche.
   Le animazioni sono GSAP; senza JS resta tutto statico e leggibile.
   ============================================= */
.as-artists { overflow-x: clip; }

/* ---------- Hero a ventaglio ---------- */
.as-artists-hero {
	position: relative;
	text-align: center;
	padding: 72px 24px 88px;
	max-width: 1240px;
	margin: 0 auto;
}
.as-artists-title {
	font-family: var(--as-font-display);
	font-weight: 800;
	line-height: 1;
	margin: 0 0 40px;
	letter-spacing: -0.01em;
	font-size: clamp(34px, 8.5vw, 104px);
	white-space: nowrap; /* "Meet the Squad" su una sola riga */
}
.as-artists-title .as-hero-highlight {
	display: inline-block;
	background: var(--as-yellow);
	padding: 0 0.14em;
	border-radius: 0.18em;
	transform: rotate(-2deg);
}

/* Fila di ritratti che si sovrappongono; il 3D è gestito dal JS. */
.as-artists-fan {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 0;
	perspective: 1200px;
	margin: 0 auto 44px;
	min-height: 190px;
}
.as-fan-card {
	position: relative;
	flex: 0 0 auto;
	/* Larghezza e scostamento verticale arrivano inline dal PHP (--fan-w /
	   --fan-shift): la card è più grande per chi ha più opere e sta "sparsa". */
	width: var(--fan-w, 100px);
	top: var(--fan-shift, 0px);
	aspect-ratio: 3 / 4;
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius);
	overflow: hidden;
	/* Lo sfondo arriva dalla classe accento (as-acc-*), non fissato qui. */
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--as-black);
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s;
	will-change: transform;
}
.as-fan-card + .as-fan-card { margin-left: clamp(-44px, -3.4vw, -28px); }
.as-fan-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.as-fan-initial {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1;
}
.as-fan-card:hover,
.as-fan-card:focus-visible {
	z-index: 20;
	transform: translateY(-10px) scale(1.05) rotate(0deg) !important;
	box-shadow: 6px 6px 0 var(--as-black);
	outline: none;
}

.as-artists-subline {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.as-artists-subtext {
	font-family: var(--as-font-display);
	font-weight: 600;
	font-size: 16px;
	color: rgba(0, 0, 0, 0.62);
}
.as-fan-arrow { display: inline-block; transition: transform 0.2s ease; }
.as-btn:hover .as-fan-arrow { transform: translateX(4px); }

/* ---------- Occhiello con puntino ---------- */
.as-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--as-black);
	margin-bottom: 16px;
}
.as-eyebrow::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--as-green);
	border: 2px solid var(--as-black);
}

/* ---------- Testata della griglia ---------- */
.as-artists-gridwrap { padding: 40px 0 90px; scroll-margin-top: 90px; }
.as-artists-gridhead {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	align-items: end;
	margin-bottom: 48px;
}
.as-artists-gridhead h2 {
	font-size: clamp(30px, 4vw, 52px);
	/* Più aria tra le righe: altrimenti la pillola colorata "quietly brilliant"
	   invade la riga sopra e sembra troppo alta (stesso fix del manifesto). */
	line-height: 1.22;
	margin: 0;
}
.as-artists-gridhead h2 em {
	font-style: normal;
	background: var(--as-cyan);
	padding: 0 0.16em; /* niente padding verticale, come nel manifesto */
	border-radius: 0.2em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.as-artists-gridhead p {
	margin: 0;
	font-size: 17px;
	color: rgba(0, 0, 0, 0.7);
}

/* ---------- Griglia delle card artista ---------- */
.as-artists-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.as-tcard {
	position: relative;
	aspect-ratio: 3 / 4;
	border: 2px solid var(--as-black);
	border-radius: var(--as-radius-lg);
	overflow: hidden;
	/* Lo sfondo arriva dalla classe accento (as-acc-*), non fissato qui. */
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--as-black);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.as-tcard img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.as-tcard-initial {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(48px, 6vw, 96px);
	line-height: 1;
}
.as-tmeta {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	/* Contenitore: il nome (sempre visibile) e, dietro, il numero di opere
	   che spunta all'hover. Nessuno sfondo qui. */
}
.as-tname {
	position: relative;
	z-index: 2;
	display: block;
	background: var(--as-black);
	color: var(--as-white);
	border-radius: 14px;
	padding: 10px 15px;
	font-family: var(--as-font-display);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.1;
	/* Stato a riposo: visibile. L'entrata "da sotto" la gestisce il GSAP. */
}
/* Numero di opere: nascosto dietro al nome, sale all'hover con carattere
   bianco e ombra netta nera (la nostra firma). */
.as-tworks {
	position: absolute;
	left: 7%; /* parte dietro la pill con un 7% di spazio a sinistra */
	right: 0;
	bottom: 0;
	z-index: 1;
	text-align: left;
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: 20px;
	color: var(--as-white);
	text-shadow: 2px 2px 0 var(--as-yellow);
	opacity: 0;
	transform: translateY(0);
	transition: transform 0.3s ease, opacity 0.3s ease;
	pointer-events: none;
}
.as-tcard:hover,
.as-tcard:focus-visible {
	transform: translateY(-6px) rotate(-1deg);
	box-shadow: 6px 6px 0 var(--as-black);
	outline: none;
}
.as-tcard:hover .as-tworks,
.as-tcard:focus-visible .as-tworks {
	opacity: 1;
	transform: translateY(calc(-100% - 8px));
}
/* Su touch (niente hover) o su schermi stretti non c'è modo di "passarci
   sopra": il conteggio diventa una seconda riga statica dentro la pill del
   nome, pulita e leggibile, invece del badge fluttuante. */
@media (hover: none), (max-width: 760px) {
	.as-tmeta {
		background: var(--as-black);
		border-radius: 14px;
		padding: 10px 15px;
		display: flex;
		flex-direction: column;
	}
	.as-tname {
		order: 1;
		background: none;
		padding: 0;
		border-radius: 0;
	}
	.as-tworks {
		order: 2;
		position: static;
		left: auto;
		right: auto;
		transform: none;
		opacity: 1;
		font-size: 13px;
		font-weight: 600;
		color: rgba(255, 255, 255, 0.72);
		text-shadow: none;
		margin-top: 3px;
	}
}

/* ---------- Statistiche ---------- */
.as-artists-stats { padding: 20px 0 80px; }
.as-stats-inner {
	background: var(--as-black);
	color: var(--as-cream);
	border-radius: var(--as-radius-lg);
	padding: 56px 48px;
	display: grid;
	grid-template-columns: 1.2fr repeat(3, 1fr);
	gap: 32px;
	align-items: center;
}
.as-stats-inner h3 {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(28px, 3.4vw, 46px);
	line-height: 0.98;
	margin: 0;
	color: var(--as-white);
}
.as-stats-inner h3 em {
	font-style: normal;
	color: var(--as-yellow);
}
.as-stat { text-align: left; }
.as-stat .num {
	font-family: var(--as-font-display);
	font-weight: 800;
	font-size: clamp(44px, 6vw, 76px);
	line-height: 1;
	color: var(--as-white);
}
.as-stat .lbl {
	font-family: var(--as-font-display);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(244, 233, 225, 0.7);
	margin-top: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.as-artists-grid { grid-template-columns: repeat(3, 1fr); }
	.as-stats-inner { grid-template-columns: 1fr 1fr; }
	.as-stats-inner h3 { grid-column: 1 / -1; margin-bottom: 8px; }
}
@media (max-width: 760px) {
	.as-artists-gridhead { grid-template-columns: 1fr; align-items: start; }
	.as-artists-grid { grid-template-columns: repeat(2, 1fr); }
	/* Statistiche impilate: ogni numero sulla propria riga. */
	.as-stats-inner { grid-template-columns: 1fr; text-align: left; }
	.as-stats-inner h3 { grid-column: auto; margin-bottom: 8px; }
}
@media (max-width: 480px) {
	.as-artists-hero { padding: 48px 16px 64px; }
	/* Le card restano proporzionali (chi ha più opere resta più grande). */
	.as-fan-card { width: calc(var(--fan-w, 100px) * 0.82); }
	.as-fan-card + .as-fan-card { margin-left: -30px; }
	.as-stats-inner { padding: 40px 28px; }
}
