/* ==========================================================================
   Passione Vinile — main.css (tema v3, proposta D «Negozio e community»)
   Design System v1.2: nero/bianco + un solo rosso, League Spartan, griglia
   8px, radius 14/999. Nessun testo d'interfaccia sotto i 15px (le note
   legali 13–14px).
   Pagine negozio (categoria, scheda): assets/css/shop.css
   Carrello/checkout/account: assets/css/woocommerce.css
   ========================================================================== */

:root {
	--pv-black: #0D0D0D;
	--pv-white: #FFFFFF;
	--pv-red: #E4022C;
	--pv-red-d: #B90120;
	--pv-cream: #F7F3EC;
	--pv-g900: #1A1A1A;
	--pv-g800: #262626;
	--pv-g700: #3D3D3D;
	--pv-g500: #6B6B6B;
	--pv-g300: #C9C9C9;
	--pv-g200: #E6E2DB;
	--pv-g100: #F2F2F2;
	--pv-ok: #1F9D55;
	--pv-pre: #F5A623;
	--pv-new: #2A7DE1;

	--pv-font: "League Spartan", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-display: clamp(40px, 6vw, 68px);
	--fs-h1: clamp(32px, 4.6vw, 52px);
	--fs-h2: clamp(28px, 4vw, 44px);
	--fs-h3: clamp(20px, 2.4vw, 26px);
	--fs-body: 17px;
	--fs-ui: 16px;
	--fs-small: 15px;
	--fs-legal: 13px;

	--sp-1: 4px; --sp-2: 8px; --sp-3: 16px; --sp-4: 24px; --sp-5: 32px; --sp-6: 48px; --sp-7: 80px;
	--r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-full: 999px;
	--sh-1: 0 2px 8px rgba(0, 0, 0, .08);
	--sh-2: 0 8px 24px rgba(0, 0, 0, .18);
	--motion: 160ms ease-out;

	--wrap: 1280px;
	--gutter: clamp(16px, 3vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--pv-white);
	color: var(--pv-black);
	font: 400 var(--fs-body)/1.55 var(--pv-font);
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--pv-font); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--pv-red); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.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:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--pv-white); color: var(--pv-black); padding: 12px 18px; border-radius: var(--r-full); font-weight: 700;
}

.kicker {
	font: 800 14px/1 var(--pv-font);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pv-red);
	margin-bottom: 12px;
}
.note { font-size: var(--fs-legal); color: var(--pv-g500); margin-top: 12px; }

/* ---------- Bottoni (DS: pillola, 16px 700 maiusc., min 44px) ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 13px 26px;
	border: 2px solid transparent; border-radius: var(--r-full);
	font: 700 16px/1 var(--pv-font); letter-spacing: .02em; text-transform: uppercase; text-align: center;
	cursor: pointer; transition: background var(--motion), color var(--motion), border-color var(--motion);
}
.btn .pv-icon { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--pv-red); color: var(--pv-white); }
.btn--red:hover { background: var(--pv-red-d); }
.btn--black { background: var(--pv-black); color: var(--pv-white); }
.btn--black:hover { background: var(--pv-g700); }
.btn--ghost { border-color: currentColor; color: var(--pv-black); background: transparent; }
.btn--ghost:hover { background: var(--pv-black); color: var(--pv-white); border-color: var(--pv-black); }
.btn--ghost-light { border-color: var(--pv-white); color: var(--pv-white); background: transparent; }
.btn--ghost-light:hover { background: var(--pv-white); color: var(--pv-black); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.btn--xs { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.btn--lg { min-height: 58px; font-size: 17px; }
.btn--block { width: 100%; }

.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--pv-white); cursor: pointer;
}
.icon-btn:hover { background: var(--pv-g800); }
.icon-btn .pv-icon { width: 22px; height: 22px; }
.icon-btn--dark { color: var(--pv-black); }
.icon-btn--dark:hover { background: var(--pv-g100); }
.pv-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 20px;
	font: 800 12px/1 var(--pv-font); font-style: normal; text-align: center;
	background: var(--pv-red); color: var(--pv-white); border-radius: var(--r-full); padding: 4px 6px;
}

/* ---------- Fascia Telegram (misura produzione: ~28px, padding generoso) ---------- */
.topbar { background: var(--pv-red); color: var(--pv-white); }
.topbar__link {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px;
	padding: 20px var(--gutter);
	font-weight: 800; font-size: clamp(19px, 2.6vw, 28px); line-height: 1.15; text-align: center;
}
.topbar__icon { width: 1.15em; height: 1.15em; flex: none; color: var(--pv-white); --tg-plane: var(--pv-red); }
.topbar__cta {
	font-size: 15px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	border: 2px solid var(--pv-white); border-radius: var(--r-full); padding: 9px 18px;
	transition: background var(--motion), color var(--motion);
}
.topbar__link:hover .topbar__cta { background: var(--pv-white); color: var(--pv-red); }

/* ---------- Header ---------- */
.site-header { background: var(--pv-black); color: var(--pv-white); position: relative; z-index: 40; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.site-header .site-header__logo { height: 64px; width: auto; max-width: none; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.site-header__app { margin-right: 8px; }
.site-header__toggle { display: none; }
.burger { display: grid; gap: 5px; }
.burger i { display: block; width: 24px; height: 3px; border-radius: 2px; background: currentColor; }

.site-nav { border-top: 1px solid #2A2A2A; }
.site-nav__brand { display: none; } /* solo nel menu a tutto schermo del telefono */
.site-nav__menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 32px; list-style: none; margin: 0 auto; }
.site-nav__link {
	display: block; padding: 15px 0 12px; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer;
	font: 700 17px/1.2 var(--pv-font); letter-spacing: .03em; text-transform: uppercase; color: var(--pv-white);
	transition: color var(--motion);
}
.site-nav__link:hover { color: var(--pv-red); }
.site-nav__link.is-hot { color: var(--pv-red); }
.site-nav__link.is-active { border-bottom-color: var(--pv-red); }
.site-nav__caret::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; vertical-align: 4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.site-nav__dropdown { position: relative; }
.site-nav__panel {
	display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 50;
	min-width: 260px; background: var(--pv-white); color: var(--pv-black);
	border-radius: var(--r-md); box-shadow: var(--sh-2); padding: 10px;
}
.site-nav__dropdown.is-open .site-nav__panel { display: block; }
.site-nav__panel ul { list-style: none; padding: 0; display: grid; }
.site-nav__panel a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-ui); }
.site-nav__panel a small { color: var(--pv-g500); font-weight: 500; font-size: 14px; }
.site-nav__panel a:hover { background: var(--pv-g100); color: var(--pv-red); }

@media (max-width: 900px) {
	.site-header__row { padding-block: 12px; }
	.site-header .site-header__logo { height: 50px; }
	.site-header__app { display: none; }
	.site-header__toggle { display: inline-grid; }
	.site-nav { display: none; }
	.site-nav.is-open { display: block; }
	.site-nav__menu { flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 16px; }
	.site-nav__menu > li { border-bottom: 1px solid #2A2A2A; }
	.site-nav__link { width: 100%; text-align: left; padding: 16px 0; border-bottom: 0; }
	.site-nav__link.is-active { color: var(--pv-red); }
	.site-nav__panel { position: static; transform: none; box-shadow: none; background: transparent; color: var(--pv-white); padding: 0 0 12px; }
	.site-nav__panel a:hover { background: var(--pv-g800); }
	.site-nav__panel a small { color: var(--pv-g300); }
}

/* Menu del telefono (template-parts/site-header.php): sul computer resta il menu centrato. */
.site-nav__mobile { display: none; }
@media (max-width: 900px) {
	.site-nav__menu:not(.site-nav__menu--mobile) { display: none; }
	.site-nav__mobile { display: block; padding-bottom: 28px; }
	.site-nav__menu--mobile { padding: 0; }
	.site-nav__ctas { display: grid; gap: 12px; margin-top: 22px; }
	.site-nav__ctas .btn { min-height: 52px; font-size: 16px; }
	.site-nav__ctas .pv-icon { width: 20px; height: 20px; --tg-plane: var(--pv-black); }
	.site-nav__social { display: flex; justify-content: center; gap: 14px; list-style: none; margin: 26px 0 0; padding: 0; }
	.site-nav__social a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1E1E1E; color: var(--pv-white); transition: background var(--motion); }
	.site-nav__social a:hover, .site-nav__social a:focus-visible { background: var(--pv-red); }
}

/* ---------- Nastro categorie a scorrimento ---------- */
.ribbon { background: var(--pv-red); color: var(--pv-white); border-bottom: 3px solid var(--pv-black); overflow: hidden; }
.ribbon__track { display: flex; width: max-content; animation: pv-ribbon 46s linear infinite; }
.ribbon:hover .ribbon__track, .ribbon:focus-within .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; flex: none; }
.ribbon a {
	display: flex; align-items: center; gap: 24px; padding: 13px 24px 11px 0; white-space: nowrap;
	font: 800 clamp(20px, 2.8vw, 30px)/1 var(--pv-font); text-transform: uppercase;
}
.ribbon a:nth-child(even) { color: transparent; -webkit-text-stroke: 1.3px var(--pv-white); }
.ribbon a:hover, .ribbon a:focus-visible { color: var(--pv-black); -webkit-text-stroke: 0; }
.ribbon a::after {
	content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
	background: radial-gradient(circle, var(--pv-red) 0 3px, var(--pv-white) 3.5px 5px, var(--pv-black) 5.5px);
}
@keyframes pv-ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ribbon { overflow-x: auto; }
	.ribbon__track { animation: none; }
	.ribbon__group[aria-hidden] { display: none; }
}

/* ---------- Sezioni ---------- */
.section { padding-block: var(--sp-6); }
.section + .section { border-top: 1px solid var(--pv-g200); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 6px; }
.section-title { font-size: var(--fs-h2); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; }
.section-title--sm { font-size: clamp(24px, 3vw, 34px); }
.section-sub { font-size: var(--fs-ui); color: var(--pv-g500); margin-bottom: 22px; }
.more-link { display: inline-flex; margin-top: 26px; font-weight: 700; font-size: 17px; color: var(--pv-red); text-decoration: underline; text-underline-offset: 4px; }
.section-head .more-link { margin-top: 0; }

/* ---------- Hero a slide ---------- */
.hero { position: relative; background: var(--pv-black); color: var(--pv-white); overflow: hidden; }
.hero[data-bg="cream"] { background: var(--pv-cream); }
.hero[data-bg="red"] { background: var(--pv-red); }
.hero__slide--cream { background: var(--pv-cream); color: var(--pv-black); }
.hero__slide--red { background: var(--pv-red); color: var(--pv-white); }
.hero__slide--red .kicker { color: var(--pv-black); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-block: 48px 68px; min-height: 420px; }
.hero__title { font-size: var(--fs-display); font-weight: 800; line-height: .96; text-transform: uppercase; letter-spacing: -.01em; }
.hero__text { font-size: 19px; margin: 18px 0 26px; max-width: 46ch; opacity: .88; }
.hero__covers { position: relative; height: 320px; }
.hero__cover { position: absolute; width: 52%; max-width: 250px; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); background: var(--pv-g100); }
.hero__cover > img { width: 100%; height: 100%; object-fit: cover; }
.hero__cover:nth-child(1) { left: 4%; top: 34px; transform: rotate(-6deg); }
.hero__cover:nth-child(2) { left: 28%; top: 0; z-index: 2; }
.hero__cover:nth-child(3) { left: 52%; top: 44px; transform: rotate(7deg); }
.hero__covers--1 .hero__cover { left: 20%; top: 10px; width: 64%; max-width: 320px; transform: rotate(-3deg); }
/* Slide app: due schermate a forma di telefono + bottoni degli store */
.hero__phones { position: relative; height: 340px; }
.hero__phone { position: absolute; top: 0; width: 38%; max-width: 170px; aspect-ratio: 360 / 778; overflow: hidden; border: 6px solid #0D0D0D; border-radius: 28px; background: #0D0D0D; box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
.hero__phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__phone:nth-child(1) { left: 16%; top: 26px; transform: rotate(-6deg); }
.hero__phone:nth-child(2) { left: 46%; z-index: 2; transform: rotate(4deg); }
/* Slide fiere: foto verticali sovrapposte come polaroid */
.hero__photos { position: relative; height: 360px; }
.hero__photo { position: absolute; top: 0; width: 40%; max-width: 220px; aspect-ratio: 4 / 5; overflow: hidden; border: 6px solid var(--pv-white); border-radius: var(--r-md); background: var(--pv-g100); box-shadow: 0 14px 36px rgba(0, 0, 0, .28); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo:nth-child(1) { left: 4%; top: 40px; transform: rotate(-7deg); }
.hero__photo:nth-child(2) { left: 30%; z-index: 2; transform: rotate(2deg); }
.hero__photo:nth-child(3) { left: 56%; top: 52px; transform: rotate(8deg); }
.hero__photos--1 .hero__photo { left: 22%; width: 56%; max-width: 300px; transform: rotate(-3deg); }
/* Badge ufficiali App Store / Google Play (pv_store_badges): stessa altezza ovunque, niente bordi aggiunti (li hanno già). */
.store-badges { --badge-h: 48px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badges a { display: block; line-height: 0; transition: transform var(--motion); }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: var(--badge-h); width: auto; display: block; }
.hero__stores { --badge-h: 44px; margin-top: 16px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; gap: 10px; z-index: 3; }
.hero__dots button { width: 36px; height: 6px; padding: 0; border: 0; border-radius: var(--r-full); background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero__dots button.is-on { background: var(--pv-red); }
.hero[data-bg="cream"] .hero__dots button { background: rgba(0, 0, 0, .2); }
.hero[data-bg="cream"] .hero__dots button.is-on, .hero[data-bg="red"] .hero__dots button.is-on { background: var(--pv-black); }
@media (max-width: 760px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 32px 60px; gap: 12px; }
	.hero__text { font-size: 17px; margin: 12px 0 20px; }
	.hero__covers { height: 200px; }
	.hero__phones { height: 240px; }
	.hero__photos { height: 250px; }
	.hero__photo { max-width: 150px; border-width: 4px; }
	.hero__phone { max-width: 120px; border-width: 4px; border-radius: 20px; }
	.hero__cover { width: 46%; }
}

/* ---------- Schede (box prodotti) ---------- */
.pv-tabs { display: none; gap: 30px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--pv-g200); margin-bottom: 26px; }
.pv-tabs::-webkit-scrollbar { display: none; }
.is-tabbed .pv-tabs { display: flex; }
.is-tabbed .pv-tabs__fallback-title { display: none; }
.pv-tabs__fallback-title { font-size: var(--fs-h3); font-weight: 800; margin: 24px 0 16px; }
.pv-tabs__panel + .pv-tabs__panel { margin-top: 24px; }
.is-tabbed .pv-tabs__panel + .pv-tabs__panel { margin-top: 0; }
.pv-tabs [role="tab"] {
	flex: none; padding: 0 0 14px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer;
	font: 700 clamp(19px, 2.4vw, 26px)/1 var(--pv-font); color: var(--pv-g500);
}
.pv-tabs [role="tab"] small { font-size: 15px; font-weight: 500; }
.pv-tabs [role="tab"]:hover { color: var(--pv-black); }
.pv-tabs [role="tab"][aria-selected="true"] { color: var(--pv-black); border-bottom-color: var(--pv-red); }

/* ---------- Griglie + tile prodotto ---------- */
.grid { display: grid; gap: 28px 20px; }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--6, .grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--6, .grid--5, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 14px; } }

.tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--pv-g100); margin-bottom: 8px; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.tile:hover .tile__img img { transform: scale(1.04); }
/* Prima l'album (in grassetto, massimo 2 righe), poi l'artista (24/10/2026). */
.tile__title { font-size: clamp(18px, 1.55vw, 21px); font-weight: 800; line-height: 1.2; color: var(--pv-black); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.tile__artist { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.25; color: var(--pv-g700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile:hover .tile__title { color: var(--pv-red); }
.tile__fmt { display: flex; align-items: center; gap: 7px; font-size: var(--fs-small); color: var(--pv-g500); margin-top: 2px; }
/* Etichette formato sulla copertina (come le card del canale) */
.tile__chips { position: absolute; left: 8px; bottom: 8px; right: 8px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.tile__chips .chip { padding: 4px 8px; border-radius: var(--r-full); background: rgba(13, 13, 13, .82); color: var(--pv-white); font: 700 12px/1.1 var(--pv-font); letter-spacing: .01em; }
.vdot { width: 13px; height: 13px; border-radius: 50%; flex: none; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }

.badge {
	position: absolute; top: 9px; left: 9px; z-index: 2;
	font: 800 15px/1 var(--pv-font); color: var(--pv-white); background: var(--pv-red);
	border-radius: var(--r-full); padding: 8px 11px;
}
.badge.is-pre { background: var(--pv-pre); color: var(--pv-black); }
.badge.is-new { background: var(--pv-new); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.price ins { text-decoration: none; font-weight: 800; font-size: 22px; color: var(--pv-red); font-variant-numeric: tabular-nums; }
.price del { font-size: var(--fs-small); color: var(--pv-g500); }
.price__see { font-weight: 700; font-size: var(--fs-ui); color: var(--pv-red); }
.price__na { color: var(--pv-g500); }

/* Copertine brandizzate del canale: si mostra solo la copertina al centro */
.crop { display: block; position: relative; overflow: hidden; width: 100%; height: 100%; }
.crop > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.92); transform-origin: 50% 47.8%; }
.tile:hover .tile__img .crop > img { transform: scale(2); }
/* Card inquadrata sul suo contenuto (copertina + vinile che esce di lato): il
   quadrato visibile è largo --fs della card e parte da --fx/--fy (frazioni). */
.crop--fit > img {
	position: absolute; max-width: none; height: auto; object-fit: fill;
	width: calc(100% / var(--fs)); left: calc(-100% * var(--fx) / var(--fs)); top: calc(-100% * var(--fy) / var(--fs));
	transform: none; transform-origin: 50% 50%;
}
.tile:hover .tile__img .crop--fit > img { transform: scale(1.04); }

/* ---------- Top 10 (classifica) + box app ---------- */
.chart-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .chart-wrap { grid-template-columns: 1fr; } }
.chart { list-style: none; padding: 0; border-top: 3px solid var(--pv-black); }
.chart li { border-bottom: 1px solid var(--pv-g200); }
.chart__row { display: grid; grid-template-columns: 64px 64px 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; }
.chart__row:hover .chart__t b { color: var(--pv-red); }
.chart__n { font: 800 clamp(34px, 4.4vw, 54px)/1 var(--pv-font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart li:first-child .chart__n { color: var(--pv-red); }
.chart__off { justify-self: start; font: 800 15px/1 var(--pv-font); color: var(--pv-white); background: var(--pv-red); border-radius: var(--r-full); padding: 7px 10px; }
.chart__img { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: var(--r-sm); background: var(--pv-g100); }
.chart__img > img { width: 100%; height: 100%; object-fit: cover; }
.chart__t { min-width: 0; }
.chart__t b { display: block; font-size: 19px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--motion); }
.chart__t span { display: block; font-size: var(--fs-ui); color: var(--pv-g500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart__price { text-align: right; }
.chart__price ins { display: block; text-decoration: none; font: 800 22px var(--pv-font); color: var(--pv-red); font-variant-numeric: tabular-nums; }
.chart__price del { font-size: 14px; color: var(--pv-g500); }
@media (max-width: 640px) {
	.chart__row { grid-template-columns: 40px 56px minmax(0, 1fr); gap: 4px 12px; }
	.chart__off { display: none; }
	.chart__img { width: 56px; height: 56px; grid-row: span 2; }
	.chart__n { grid-row: span 2; }
	.chart__price { grid-column: 3; text-align: left; display: flex; gap: 8px; align-items: baseline; }
	.chart__price ins { font-size: 19px; }
}
.app-box { background: var(--pv-black); color: var(--pv-white); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; }
.app-box h3 { font-size: 28px; font-weight: 800; line-height: 1.05; }
.app-box p:not(.kicker) { font-size: 16.5px; color: var(--pv-g300); margin-bottom: 8px; }
.app-box .kicker { margin-bottom: 0; }

/* ---------- Community ---------- */
.community { background: var(--pv-cream); }
.section + .community, .community + .section { border-top: 0; }
.community__title { font-size: var(--fs-h2); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; max-width: 20ch; }
.community__text { font-size: 18px; color: var(--pv-g700); max-width: 60ch; margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 30px; border-top: 3px solid var(--pv-black); }
.stats div { display: grid; gap: 6px; align-content: start; padding: 16px 16px 0 0; }
.stats b { font: 800 clamp(34px, 4.4vw, 52px)/1 var(--pv-font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats div:first-child b { color: var(--pv-red); }
.stats span { font-size: var(--fs-small); color: var(--pv-g700); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }
.community__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .community__cols { grid-template-columns: 1fr; } }
.tg-box, .ig-box { display: flex; flex-direction: column; gap: 14px; min-width: 0; border-radius: var(--r-lg); padding: 18px; }
.tg-box { background: var(--pv-black); color: var(--pv-white); }
.ig-box { background: var(--pv-white); box-shadow: var(--sh-1); }
.tg-box > .btn, .ig-box > .btn { margin-top: auto; }
.box-bar { display: flex; align-items: center; gap: 12px; }
.box-bar__name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.box-bar__name b { font-size: 18px; }
.box-bar__name span { font-size: 14px; color: #9A9A9A; }
.ig-box .box-bar__name span { color: var(--pv-g500); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; }
.avatar--tg { color: var(--pv-red); --tg-plane: var(--pv-white); }
.avatar--tg .pv-icon { width: 46px; height: 46px; }
.avatar--ig { background: var(--pv-black); border: 3px solid var(--pv-red); padding: 4px; }
.live { display: inline-flex; align-items: center; gap: 7px; flex: none; font: 700 13px/1 var(--pv-font); letter-spacing: .05em; text-transform: uppercase; background: var(--pv-g800); border-radius: var(--r-full); padding: 8px 11px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3CC57A; box-shadow: 0 0 0 4px rgba(60, 197, 122, .22); }
.tg-feed { display: grid; gap: 10px; }
.tg-post { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--pv-g900); color: var(--pv-white); border-radius: var(--r-md); padding: 10px; transition: background var(--motion); }
.tg-post:hover { background: var(--pv-g800); }
.tg-post img { width: 96px; height: 96px; border-radius: var(--r-sm); object-fit: cover; background: var(--pv-g800); }
.tg-post > span { min-width: 0; }
.tg-post b { display: block; font-size: 16px; line-height: 1.2; text-transform: uppercase; }
.tg-post__disc { display: block; font-size: var(--fs-small); color: var(--pv-g300); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-post__price { display: block; font-weight: 800; font-size: 17px; color: #FF5A75; margin-top: 4px; }
.tg-post__meta { display: block; font-size: 14px; color: #8A8A8A; margin-top: 2px; }
@media (max-width: 520px) { .tg-post { grid-template-columns: 72px minmax(0, 1fr); } .tg-post img { width: 72px; height: 72px; } }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: var(--r-md); overflow: hidden; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; background: var(--pv-g100); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; }
.ig-grid a::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; background: rgba(13, 13, 13, .62); color: var(--pv-white); font: 800 16px/1.15 var(--pv-font); opacity: 0; transition: opacity var(--motion); }
.ig-grid a:hover::after, .ig-grid a:focus-visible::after { opacity: 1; }

/* ---------- Generi + formati ---------- */
.browse { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 860px) { .browse { grid-template-columns: 1fr; } }
.browse__title { font-size: var(--fs-h3); font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.genre-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; aspect-ratio: 16 / 10; padding: 14px; border-radius: var(--r-md); overflow: hidden; background: var(--pv-black); color: var(--pv-white); }
.genre-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .5; transition: opacity var(--motion); }
.genre-tile:hover img { opacity: .78; }
.genre-tile span { position: relative; font: 800 clamp(18px, 2vw, 24px)/1 var(--pv-font); text-transform: uppercase; }
.genre-tile small { position: relative; font-size: 14px; font-weight: 700; color: var(--pv-g300); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 18px; border: 2px solid var(--pv-black); border-radius: var(--r-full); font-weight: 700; font-size: var(--fs-ui); transition: background var(--motion), color var(--motion); }
.pill:hover { background: var(--pv-black); color: var(--pv-white); }
/* Sfoglia per formato: pillole con l'icona del formato (includes/format-icons.php) */
.pill--fmt { gap: 10px; min-height: 52px; padding: 9px 20px 9px 11px; }
.fmt-ico { width: 30px; height: 30px; flex: none; }

/* ---------- Striscia servizi ---------- */
.services { border-block: 1px solid var(--pv-g200); background: var(--pv-white); }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services__grid > * { display: grid; gap: 6px; align-content: start; padding: 32px 24px 32px 0; }
.services__grid > * + * { border-left: 1px solid var(--pv-g200); padding-left: 24px; }
.services b { font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.15; }
.services span { font-size: 18px; line-height: 1.4; color: var(--pv-g700); }
.services a { color: var(--pv-black); text-decoration: none; }
.services__grid > :has(.services__icon) { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.services__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pv-black); color: var(--pv-white); }
.services__icon svg { width: 24px; height: 24px; }
.services a:hover b { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
	.services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.services__grid > :nth-child(odd) { border-left: 0; padding-left: 0; }
	.services__grid > :nth-child(n+3) { border-top: 1px solid var(--pv-g200); }
}

/* ---------- App (home, dopo Sfoglia per genere) ---------- */
.app-home { background: var(--pv-black); color: var(--pv-white); overflow: hidden; }
.section + .app-home, .app-home + .section { border-top: 0; }
.app-home__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.app-home .section-title { max-width: 18ch; }
.app-home__text { max-width: 56ch; margin-top: 16px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--pv-g300); }
.app-home__features { list-style: none; counter-reset: feat; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 30px 0 32px; padding-top: 22px; border-top: 3px solid var(--pv-red); }
.app-home__features li { counter-increment: feat; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; align-content: start; }
.app-home__features li::before { content: counter(feat, decimal-leading-zero); grid-row: 1 / 3; font: 800 22px/1.1 var(--pv-font); color: var(--pv-red); font-variant-numeric: tabular-nums; }
.app-home__features b { font: 800 19px/1.2 var(--pv-font); }
.app-home__features span { font-size: 16px; line-height: 1.45; color: var(--pv-g300); }
.app-home__stores { --badge-h: 52px; }
.app-home__phones { display: flex; justify-content: center; align-items: center; }
.app-home__phone { flex: none; width: 32%; max-width: 210px; aspect-ratio: 360 / 778; overflow: hidden; border: 6px solid #2a2a2a; border-radius: 30px; background: #0D0D0D; box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.app-home__phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-home__phone:nth-child(1) { transform: translateX(14%) rotate(-6deg) scale(.9); }
.app-home__phone:nth-child(2) { position: relative; z-index: 2; }
.app-home__phone:nth-child(3) { transform: translateX(-14%) rotate(6deg) scale(.9); }
@media (max-width: 900px) {
	.app-home__grid { grid-template-columns: 1fr; gap: 36px; }
	.app-home__phones { order: -1; }
}
@media (max-width: 560px) {
	.app-home__features { grid-template-columns: 1fr; }
	.app-home__phone { border-width: 4px; border-radius: 20px; }
	.app-home__stores { --badge-h: 46px; }
}

/* ---------- Fiere (home) ---------- */
.fairs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.fairs__text { max-width: 56ch; margin: 16px 0 22px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--pv-g800); }
.fairs__next { display: grid; gap: 4px; margin-bottom: 22px; padding: 14px 18px; border-left: 4px solid var(--pv-red); background: var(--pv-cream); font: 800 clamp(18px, 1.8vw, 21px)/1.25 var(--pv-font); }
.fairs__next span { font: 800 14px/1 var(--pv-font); letter-spacing: .12em; text-transform: uppercase; color: var(--pv-red); }
.fairs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fairs__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: var(--r-md); background: var(--pv-g100); }
.fairs__grid--1 { grid-template-columns: 1fr; }
.fairs__grid--1 img { aspect-ratio: 4 / 3; }
.fairs__grid--2, .fairs__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fairs__grid--3 img:first-child, .fairs__grid--5 img:first-child { grid-column: span 2; grid-row: span 2; }
.fairs__empty { display: grid; place-content: center; gap: 8px; min-height: 320px; border-radius: var(--r-lg); background: var(--pv-cream); text-align: center; transition: background var(--motion); }
.fairs__empty b { font: 800 var(--fs-h3)/1.1 var(--pv-font); text-transform: uppercase; }
.fairs__empty span { font-size: var(--fs-ui); font-weight: 700; color: var(--pv-red); }
.fairs__empty:hover { background: var(--pv-g200); }
@media (max-width: 860px) {
	.fairs { grid-template-columns: 1fr; gap: 28px; }
	.fairs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fairs__grid--1 { grid-template-columns: 1fr; }
	.fairs__empty { min-height: 200px; }
}

/* ---------- Pagina "Passione Vinile in fiera" (page-fiere.php) ---------- */
.fair-hero .cat-hero__bg { filter: none; opacity: .38; }
.fair-hero .kicker { margin-bottom: 0; }
.fair-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.fair-story .section-title { max-width: 20ch; }
.fair-story__body { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--pv-g800); max-width: 62ch; }
.fair-story__body > * + * { margin-top: 1em; }
.fair-story__body strong { color: var(--pv-black); }
.fair-story__photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 18px 44px rgba(0, 0, 0, .18); }
.fair-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; padding-top: 18px; border-top: 3px solid var(--pv-black); }
.fair-facts dt { font: 800 14px/1 var(--pv-font); letter-spacing: .12em; text-transform: uppercase; color: var(--pv-red); }
.fair-facts dd { margin: 8px 0 0; font: 800 clamp(19px, 1.8vw, 23px)/1.2 var(--pv-font); }
.fair-where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: stretch; }
.fair-where__card { display: grid; align-content: center; gap: 18px; padding: 36px; border-radius: var(--r-lg); background: var(--pv-cream); }
.fair-where__card .kicker, .fair-where__card .fairs__next { margin-bottom: 0; }
.fair-where__card address { display: grid; gap: 4px; font-style: normal; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.4; }
.fair-where__card address b { font-size: 1.15em; }
.fair-where__card .fairs__next { background: var(--pv-white); }
.fair-where__note { font-size: 17px; color: var(--pv-g700); }
.fair-where__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fair-map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: var(--pv-g100); }
.fair-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fair-map__link { position: absolute; right: 14px; bottom: 14px; padding: 10px 16px; border-radius: var(--r-full); background: var(--pv-black); color: var(--pv-white); font-weight: 700; font-size: 15px; }
.fair-map__link:hover { background: var(--pv-red); }
.fair-gallery__grid { columns: 3 280px; column-gap: 12px; margin-top: 22px; }
.fair-gallery__grid a { display: block; }
.fair-gallery__grid img { width: 100%; margin-bottom: 12px; border-radius: var(--r-md); break-inside: avoid; display: block; background: var(--pv-g100); }
@media (max-width: 900px) {
	.fair-story, .fair-where { grid-template-columns: 1fr; gap: 28px; }
	.fair-story__photo img { max-height: 420px; }
	.fair-map { min-height: 340px; }
}
@media (max-width: 560px) {
	.fair-facts { grid-template-columns: 1fr; gap: 12px; }
	.fair-where__card { padding: 24px; }
	.fair-gallery__grid { columns: 2; column-gap: 8px; }
	.fair-gallery__grid img { margin-bottom: 8px; }
}

/* ---------- Testi della home (ripresi dalla homepage precedente) ---------- */
.section-head--stack { display: block; }
.section-head--stack .section-sub { max-width: 920px; margin-top: 10px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--pv-g700); }
.section-head--stack .section-sub a { color: var(--pv-red); font-weight: 700; text-decoration: underline; }
/* Allineato a sinistra come gli altri blocchi: è il testo a stringersi, non la sezione. */
.home-seo__body { max-width: 920px; margin-top: 22px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; color: var(--pv-g800); }
.home-seo__body > * + * { margin-top: 1em; }
.home-seo__body h3 { margin-top: 1.4em; font: 800 clamp(21px, 2.1vw, 26px)/1.2 var(--pv-font); color: var(--pv-black); }
.home-seo__body h3:first-child { margin-top: 0; }
.home-seo__body a { color: var(--pv-red); text-decoration: underline; }

/* ---------- Domande frequenti (home) ---------- */
.faq { max-width: 960px; border-top: 3px solid var(--pv-black); }
.faq__item { border-bottom: 1px solid var(--pv-g200); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 800 clamp(18px, 1.8vw, 21px)/1.25 var(--pv-font); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 30px; font-weight: 500; line-height: 1; color: var(--pv-red); }
.faq__item[open] summary::after { content: "−"; }
.faq__body { padding-bottom: 22px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--pv-g800); }
.faq__body > * + * { margin-top: .8em; }
.faq__body a { color: var(--pv-red); text-decoration: underline; }

/* ---------- Footer (portato da twentytwenty-child, uguale alla produzione) ---------- */
.pv-ftr { background: #121212; color: #a1a1a1; text-align: center; padding: 40px 20px; }
.pv-ftr * { box-sizing: border-box; }
.pv-ftr p { margin: 0; }

/* Ricerca compatta in cima al footer (l'unica del sito) */
.pv-ftr__search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; height: 52px; margin: 0 auto 36px; padding: 0 6px 0 20px; background: #1F1F1F; border: 1px solid #2E2E2E; border-radius: var(--r-full); }
.pv-ftr__search:focus-within { border-color: var(--pv-red); box-shadow: 0 0 0 2px var(--pv-red); }
.pv-ftr__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 400 16px var(--pv-font); color: #fff; outline: none; }
.pv-ftr__search input::placeholder { color: #8A8A8A; }
.pv-ftr__search button { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--pv-red); color: #fff; cursor: pointer; }
.pv-ftr__search button:hover { background: var(--pv-red-d); }
.pv-ftr__search .pv-icon { width: 18px; height: 18px; }

.pv-ftr__app { margin: 0 0 34px; }
.pv-ftr__app-title { font: 800 23px/1.1 var(--pv-font); color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.pv-ftr .pv-ftr__app-sub { margin: 8px 0 18px; font: 400 15.2px/1.4 var(--pv-font); color: #a1a1a1; }
.pv-ftr__apps { --badge-h: 46px; justify-content: center; }

.pv-ftr__links { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 28px; padding: 0; }
.pv-ftr__links a { font: 700 19.2px/1.12 var(--pv-font); color: #a1a1a1; text-decoration: none; margin: 0 12px 12px; }
.pv-ftr__links a:hover { color: #fff; }

.pv-ftr__social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 0 36px; padding: 0; }
.pv-ftr__social li { margin: 0; }
.pv-ftr__social a { display: inline-flex; color: #a1a1a1; }
.pv-ftr__social svg { width: 24px; height: 24px; fill: currentColor; }
.pv-ftr__social a:hover { color: #ec0814; }

.pv-ftr__logo { display: flex; justify-content: center; align-items: center; width: 100%; margin: 44px auto 26px; line-height: 0; }
.pv-ftr__logo img { display: block; height: 72px; width: auto; max-width: 80%; margin: 0 auto; }

.pv-ftr__copy p { font: 700 19.2px/1.12 var(--pv-font); color: #a1a1a1; }
.pv-ftr__copy .pv-ftr__disclaimer { margin-top: 10px; font-weight: 400; font-size: 15.2px; line-height: 1.5; color: #9A9A9A; }

/* ---------- Testata nera (categoria, offerte, artisti) ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 18px; font-size: var(--fs-small); color: var(--pv-g500); }
.crumb a:hover { color: var(--pv-red); }
.crumb [aria-current] { color: var(--pv-black); font-weight: 700; }
.crumb--dark { padding: 0; color: #9A9A9A; }
.crumb--dark [aria-current] { color: var(--pv-white); }
.cat-hero { position: relative; overflow: hidden; background: var(--pv-black); color: var(--pv-white); }
.cat-hero__bg { position: absolute; right: -40px; top: -24px; display: grid; grid-template-columns: repeat(4, 150px); gap: 10px; transform: rotate(-8deg); opacity: .3; filter: grayscale(1); pointer-events: none; }
.cat-hero__cover { display: block; width: 150px; height: 150px; overflow: hidden; border-radius: var(--r-md); }
.cat-hero__cover > img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .cat-hero__bg { opacity: .16; right: -220px; } }
.cat-hero__in { position: relative; z-index: 2; display: grid; gap: 14px; padding-block: 36px 34px; }
.cat-hero__title { font: 800 clamp(52px, 9vw, 104px)/.9 var(--pv-font); text-transform: uppercase; letter-spacing: -.02em; max-width: 14ch; overflow-wrap: anywhere; }
.cat-hero__title--md { font-size: clamp(40px, 6vw, 72px); }
.cat-hero__count { font-weight: 700; font-size: var(--fs-ui); }
.cat-hero__count b { color: var(--pv-red); }
.cat-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-hero__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid #4A4A4A; border-radius: var(--r-full); font-weight: 700; font-size: var(--fs-small); }
.cat-hero__chips a:hover { border-color: var(--pv-white); }
.cat-hero__chips a.cat-hero__chip-all { border-color: var(--pv-red); background: var(--pv-red); color: var(--pv-white); }
.cat-hero__chips a.cat-hero__chip-all:hover { background: var(--pv-red-d); border-color: var(--pv-red-d); }

/* ---------- Pagine, artisti, vuoti ---------- */
.page-content { padding-block: var(--sp-6); max-width: 860px; }
.page-title { font-size: var(--fs-h1); font-weight: 800; margin-bottom: 24px; }
.entry { font-size: var(--fs-body); }
.entry > * + * { margin-top: 1em; }
.entry a { color: var(--pv-red); text-decoration: underline; text-underline-offset: 3px; }
.entry h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.entry img { border-radius: var(--r-md); }
.page-intro { padding-block: 28px 0; max-width: 860px; }
.post-list { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 18px; }
.post-list a:hover { color: var(--pv-red); }

.artists { padding-block: 32px var(--sp-6); }
.artists__index { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; padding-block: 12px; background: var(--pv-white); border-bottom: 1px solid var(--pv-g200); margin-bottom: 24px; }
.artists__index a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: var(--r-sm); font-weight: 800; }
.artists__index a:hover { background: var(--pv-black); color: var(--pv-white); }
.artists__group { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--pv-g200); scroll-margin-top: 80px; }
.artists__letter { font: 800 48px/1 var(--pv-font); color: var(--pv-red); }
.artists__list { list-style: none; padding: 0; columns: 3 220px; column-gap: 24px; }
.artists__list li { break-inside: avoid; padding: 5px 0; }
.artists__list a { font-size: var(--fs-ui); font-weight: 500; }
.artists__list a:hover { color: var(--pv-red); }
.artists__list small { color: var(--pv-g500); font-size: 14px; }

.empty { display: grid; justify-items: start; gap: 14px; padding-block: 48px; max-width: 640px; }
.empty h1, .empty h2 { font-size: var(--fs-h2); font-weight: 800; }
.empty p { font-size: 18px; color: var(--pv-g700); }
.empty--page { padding-block: 80px; }

/* ---------- Telefono: fascia Telegram compatta ---------- */
@media (max-width: 600px) {
	.topbar__link { font-size: 18px; padding: 13px 16px; gap: 10px; flex-wrap: nowrap; text-align: left; }
	.topbar__cta { display: none; }
}

/* Banner home, slide «Ritiro a Napoli»: loghi Moby D × Napolitressessanta sopra l'occhiello */
.hero__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.hero__logo { display: block; width: auto; max-width: 100%; }
.hero__logo--moby { height: 72px; }
.hero__logo--n360 { height: 30px; }
.hero__logos-x { font: 800 22px/1 var(--pv-font); color: var(--pv-red); }
@media (max-width: 560px) { .hero__logo--moby { height: 48px; } .hero__logo--n360 { height: 24px; } }

/* ==========================================================================
   Preferiti: cuore sulle copertine + pagina /preferiti/ (includes/preferiti.php)
   ========================================================================== */
.fav {
	position: absolute; top: 8px; right: 8px; z-index: 3;
	display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: var(--r-full); background: rgba(255, 255, 255, .92); color: var(--pv-black);
	box-shadow: var(--sh-1); cursor: pointer; transition: transform .15s ease-out, color .15s;
}
.fav .pv-icon { width: 21px; height: 21px; }
.fav:hover, .fav:focus-visible { color: var(--pv-red); transform: scale(1.08); }
.fav:focus-visible { outline: 2px solid var(--pv-red); outline-offset: 2px; }
.fav.is-on { color: var(--pv-red); }
.fav.is-on .pv-icon { fill: var(--pv-red); }
.fav.is-pop { animation: pv-fav-pop .3s ease-out; }
@keyframes pv-fav-pop { 50% { transform: scale(1.25); } }

.favs__empty { max-width: 560px; margin: 0 auto; padding: 48px 0 64px; text-align: center; }
.favs__empty .pv-icon { width: 56px; height: 56px; color: var(--pv-red); margin-bottom: 12px; }
.favs__empty h2 { font-size: var(--fs-h3); margin-bottom: 8px; }
.favs__empty p { color: var(--pv-g700); margin-bottom: 20px; }
.favs__note { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--r-md); background: var(--pv-cream); font-size: var(--fs-small); }
.favs__note a { color: var(--pv-red); font-weight: 700; }
.favs__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.favs__bar b { font-size: 18px; }
.favs__clear { background: none; border: 0; padding: 0; color: var(--pv-g500); font: 700 var(--fs-small) var(--pv-font); text-decoration: underline; cursor: pointer; }

/* ==========================================================================
   Barra in basso (telefono e tablet): Menu · Profilo · Preferiti · Carrello
   ========================================================================== */
:root { --pv-tabbar-h: 64px; }
.tabbar { display: none; }
@media (max-width: 900px) {
	.tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		display: grid; grid-template-columns: repeat(4, 1fr);
		height: calc(var(--pv-tabbar-h) + env(safe-area-inset-bottom, 0px));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: var(--pv-black); border-top: 1px solid var(--pv-g800);
	}
	.tabbar__item {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		min-width: 0; color: var(--pv-g300); text-decoration: none;
		font: 700 13px/1 var(--pv-font); letter-spacing: .01em;
		background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
	}
	.tabbar__item:hover, .tabbar__item:focus-visible { color: var(--pv-white); }
	.tabbar__item.is-on { color: var(--pv-red); }
	.tabbar__item.is-on .tabbar__icon .pv-icon { stroke-width: 2.4; }
	.tabbar__icon { position: relative; display: grid; place-items: center; }
	.tabbar__icon .pv-icon { width: 25px; height: 25px; }
	.tabbar__count, .tabbar .pv-cart-count {
		position: absolute; top: -6px; right: -11px; min-width: 19px; height: 19px; padding: 0 5px;
		border-radius: var(--r-full); background: var(--pv-red); color: var(--pv-white);
		font: 800 12px/19px var(--pv-font); text-align: center;
	}
	/* spazio in fondo alla pagina perché il footer non finisca sotto la barra */
	body { padding-bottom: calc(var(--pv-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
	/* la barra d'acquisto della scheda prodotto sta SOPRA la barra in basso */
	.buybar { bottom: calc(var(--pv-tabbar-h) + env(safe-area-inset-bottom, 0px)) !important; padding-bottom: 12px !important; }
	/* il pannello filtri a tutto schermo resta sopra a tutto */
	body.no-scroll .tabbar { display: none; }

	/* Fascia Telegram: testo centrato, icona in linea con la prima riga */
	.topbar__link { display: block; text-align: center; }
	.topbar__icon { display: inline-block; vertical-align: -.18em; margin-right: 8px; }
	.topbar__text { display: inline; }
	.topbar__cta { display: none; } /* niente tasto "Unisciti": tutta la fascia è già il link al canale */

	/* Header: solo il logo, al centro. Account, carrello e menu sono nella barra in basso. */
	.site-header__row { justify-content: center; }
	.site-header .site-header__logo { height: 76px; } /* logo più grande (scelta utente 24/10) */
	.site-header__actions { display: none; }

	/* Menu aperto dalla barra: pannello a tutto schermo sopra la barra */
	.site-nav.is-open {
		position: fixed; left: 0; right: 0; top: 0; z-index: 94;
		bottom: calc(var(--pv-tabbar-h) + env(safe-area-inset-bottom, 0px));
		overflow-y: auto; overscroll-behavior: contain;
		background: var(--pv-black); border-top: 0; padding-top: calc(12px + env(safe-area-inset-top, 0px));
	}
	html.menu-open, html.menu-open body { overflow: hidden; }
	.site-nav__link { font-size: 19px; }
	/* logo in cima al menu a tutto schermo, centrato come nell'header */
	.site-nav.is-open .site-nav__brand { display: flex; justify-content: center; padding: 8px var(--gutter) 16px; border-bottom: 1px solid #2A2A2A; }
	.site-nav__brand img { height: 76px; width: auto; max-width: none; }
}
