/*
Theme Name: AR-Tech Motorsport
Theme URI: https://artechmotorsport.com/
Description: Tema del negozio AR-Tech Motorsport, figlio di Twenty Twenty-Five.
Author: AR-Tech di Caldini Aaron
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Text Domain: artech-motorsport
*/

:root {
	--am-bg: var(--wp--preset--color--base);
	--am-bg-2: var(--wp--preset--color--base-2);
	--am-bg-3: var(--wp--preset--color--base-3);
	--am-border: var(--wp--preset--color--border);
	--am-text: var(--wp--preset--color--contrast);
	--am-muted: var(--wp--preset--color--contrast-2);
	--am-red: var(--wp--preset--color--accent);
	--am-red-2: var(--wp--preset--color--accent-2);
	--am-photo: var(--wp--preset--color--light);
	--am-radius: 6px;
	--am-hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

/* Titoli larghi come il logo */
h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.am-logo__text,
.wp-element-button,
.wp-block-button__link {
	font-stretch: 118%;
}

::selection { background: var(--am-red); color: #fff; }

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Testata ---------- */
.am-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--am-border);
}
/* Sfocatura su uno strato a parte: un backdrop-filter sulla testata
   chiuderebbe dentro di essa il menu a tutto schermo del telefono */
.am-site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(10, 10, 15, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.admin-bar .am-site-header { top: var(--wp-admin--admin-bar--height, 32px); }

.am-header__bar {
	min-height: 72px;
	gap: 1.5rem;
}

.am-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: #fff;
	flex-shrink: 0;
}
.am-logo:hover { color: #fff; }
.am-logo__mark { width: 50px; height: auto; display: block; }
.am-logo__text {
	display: flex;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	line-height: 1;
	text-transform: uppercase;
}
.am-logo__small {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	color: var(--am-muted);
}
.am-logo__big {
	font-size: 1.15rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	margin-top: 0.2rem;
}

.am-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 700;
	font-stretch: 112%;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
	text-decoration: none;
	color: var(--am-text);
	padding-block: 0.4rem;
	border-bottom: 2px solid transparent;
}
.am-nav .wp-block-navigation-item__content:hover,
.am-nav .current-menu-item > .wp-block-navigation-item__content {
	color: #fff;
	border-bottom-color: var(--am-red);
}
/* Menu aperto (telefono e tablet): a tutto schermo, voci grandi */
.am-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--am-bg) !important;
	color: var(--am-text) !important;
	padding: 1.25rem 1.5rem 2rem;
}
.am-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4rem;
	align-items: flex-start;
}
.am-nav .is-menu-open .wp-block-navigation__container {
	gap: 0.4rem !important;
	align-items: stretch !important;
	width: 100%;
}
.am-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.am-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	font-size: 1.5rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--am-border);
	color: var(--am-text);
}
.am-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus {
	outline: none;
}
.am-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
.am-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: #fff;
	border-bottom-color: var(--am-red);
}
.am-nav .wp-block-navigation__responsive-container-close {
	top: 1.1rem;
	right: 1.25rem;
	padding: 0.5rem;
	color: var(--am-text);
}
.am-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; fill: currentColor; }
.am-nav .wp-block-navigation__responsive-container-open { padding: 0.5rem; }
.am-nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }

.am-header__tools { flex-shrink: 0; }
.am-header__tools svg { fill: currentColor; }
.am-header__tools .wc-block-mini-cart__button,
.am-header__tools .wc-block-customer-account a,
.am-search .wp-block-search__button {
	color: var(--am-text);
	background: transparent;
	border: 0;
	padding: 0.35rem;
}
.am-header__tools .wc-block-mini-cart__button:hover,
.am-header__tools .wc-block-customer-account a:hover,
.am-search .wp-block-search__button:hover { color: var(--am-red); }
.am-header__tools .wc-block-mini-cart__badge {
	background: var(--am-red);
	color: #fff;
	border: 0;
}
.am-search .wp-block-search__input {
	background: var(--am-bg-2);
	color: var(--am-text);
	border: 1px solid var(--am-border);
	border-radius: 3px;
}

/* Selettore lingua IT · EN */
.am-lang {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 700;
	font-stretch: 112%;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	padding: 0.3rem 0.55rem;
	border: 1px solid var(--am-border);
	border-radius: 3px;
}
.am-lang__item { color: var(--am-muted); text-decoration: none; }
.am-lang a.am-lang__item:hover { color: #fff; }
.am-lang__item.is-current { color: #fff; }
.am-lang__sep { color: var(--am-border); }
.wp-block-shortcode:has(.am-lang), .am-header__tools p:has(.am-lang) { margin: 0; }

/* Sotto i 960 px il menu diventa "hamburger" (WordPress lo farebbe solo sotto i 600 px) */
@media (max-width: 960px) {
	.am-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.am-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.am-nav { margin-left: auto; }
	.am-header__bar { gap: 0.9rem; }
}
.am-nav .wp-block-navigation__responsive-container-open { color: var(--am-text); }
.am-nav .wp-block-navigation__responsive-container-open svg { fill: currentColor; }

@media (max-width: 781px) {
	.am-logo__text { display: none; }
	.am-header__bar { min-height: 60px; gap: 0.75rem; }
	.am-search { display: none; }
}

/* ---------- Titoli di sezione con filetto tricolore ---------- */
.am-title {
	position: relative;
	padding-bottom: 0.9rem;
	margin-bottom: 1.5rem;
	font-size: var(--wp--preset--font-size--xx-large);
}
.am-title::after,
.am-tricolore {
	content: "";
	display: block;
	width: 84px;
	height: 4px;
	transform: skewX(-20deg);
	background: linear-gradient(90deg,
		var(--wp--preset--color--tricolore-verde) 0 30%, transparent 30% 35%,
		#fff 35% 65%, transparent 65% 70%,
		var(--wp--preset--color--tricolore-rosso) 70% 100%);
}
.am-title::after { position: absolute; left: 2px; bottom: 0; }
.am-tricolore i { display: none; }

.am-eyebrow {
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 600;
	font-stretch: 118%;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.8rem;
	color: var(--am-red);
}

.am-muted { color: var(--am-muted); }

/* ---------- Home: hero ---------- */
.am-home > * { margin-block: 0; }

.am-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
	background:
		radial-gradient(60% 70% at 78% 45%, rgba(239, 68, 68, 0.16), transparent 70%),
		var(--am-bg);
}
.am-hero::before {
	/* trama a esagoni, molto discreta */
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.07;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
	background-size: 56px 97px;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.am-hero__cols { position: relative; gap: clamp(1.5rem, 4vw, 4rem); }
.am-hero__title {
	font-size: var(--wp--preset--font-size--display);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin-block: 0.6rem 1.2rem;
	text-wrap: balance;
}
.am-hero__lead {
	font-size: var(--wp--preset--font-size--large);
	color: var(--am-muted);
	max-width: 36em;
}
.am-hero__cta { margin-top: 2rem; }

.am-hero__product {
	position: relative;
	display: block;
	max-width: 460px;
	margin-inline: auto;
	text-decoration: none;
	color: inherit;
}
.am-hero__hex {
	position: absolute;
	inset: 6% 2%;
	clip-path: var(--am-hex);
	background: var(--am-red);
	opacity: 0.9;
}
.am-hero__hex::after {
	content: "";
	position: absolute;
	inset: 14px;
	clip-path: var(--am-hex);
	background: radial-gradient(circle at 50% 40%, #1d1d29, var(--am-bg) 75%);
}
.am-hero__product img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	padding: 9% 13% 13%;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
	transition: transform 0.4s ease;
}
.am-hero__product:hover img { transform: translateY(-6px) rotate(-1deg); }
.am-hero__tag {
	position: absolute;
	right: 4%;
	bottom: 6%;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	background: var(--am-bg-2);
	border: 1px solid var(--am-border);
	border-left: 3px solid var(--am-red);
	padding: 0.55rem 0.9rem;
}
.am-hero__tag-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--am-muted);
}
.am-hero__tag-name {
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 800;
	font-stretch: 112%;
	color: #fff;
}

/* ---------- Home: punti di forza ---------- */
.am-usp { border-block: 1px solid var(--am-border); background: var(--am-bg-2); }
.am-usp__list {
	list-style: none;
	margin: 0;
	padding: 1.6rem 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}
.am-usp__list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.am-usp__list svg,
.am-cats__icon svg {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	fill: none;
	stroke: var(--am-red);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.am-usp__list span { font-size: 0.9rem; color: var(--am-muted); line-height: 1.45; }
.am-usp__list strong {
	display: block;
	color: #fff;
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 700;
	font-stretch: 112%;
	font-size: 0.98rem;
	margin-bottom: 0.15rem;
}
@media (max-width: 900px) { .am-usp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .am-usp__list { grid-template-columns: 1fr; } }

/* ---------- Sezioni ---------- */
.am-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.am-section__head { margin-bottom: 0.5rem; }
.am-section__head .am-title { margin-bottom: 1rem; }
.am-more { margin: 0 0 1.4rem; }
.am-more a {
	font-weight: 600;
	text-decoration: none;
	color: var(--am-red);
}
.am-more a:hover { text-decoration: underline; }

/* Categorie */
.am-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}
.am-cats a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	box-sizing: border-box;
	height: 100%;
	padding: 1.25rem 1.25rem 1.4rem;
	background: var(--am-bg-2);
	border: 1px solid var(--am-border);
	border-radius: var(--am-radius);
	text-decoration: none;
	color: var(--am-text);
	transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.am-cats a::after {
	content: "→";
	position: absolute;
	right: 1.1rem;
	top: 1.2rem;
	color: var(--am-muted);
	transition: transform 0.2s, color 0.2s;
}
.am-cats a:hover { border-color: var(--am-red); background: var(--am-bg-3); transform: translateY(-2px); }
.am-cats a:hover::after { color: var(--am-red); transform: translateX(3px); }
.am-cats__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 46px;
	margin-bottom: 0.8rem;
	clip-path: var(--am-hex);
	background: rgba(239, 68, 68, 0.12);
}
.am-cats__name {
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 800;
	font-stretch: 112%;
	font-size: 1.05rem;
	color: #fff;
	line-height: 1.2;
}
.am-cats__sub { font-size: 0.85rem; color: var(--am-muted); }
@media (max-width: 900px) { .am-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Consulenza */
.am-advice { padding-block: 1rem; }
.am-advice__box {
	position: relative;
	gap: 2rem;
	padding: clamp(1.75rem, 4vw, 3rem);
	background:
		linear-gradient(120deg, rgba(239, 68, 68, 0.14), transparent 55%),
		var(--am-bg-2);
	border: 1px solid var(--am-border);
	border-left: 4px solid var(--am-red);
	border-radius: var(--am-radius);
}
.am-advice__text { max-width: 640px; }
.am-advice__text p { color: var(--am-muted); margin: 0; }
.am-advice__text .am-title { margin-top: 0; }

/* ---------- Card prodotto (home, negozio, categorie, correlati) ---------- */
.wc-block-product-template,
ul.wc-block-product-template {
	gap: 1.25rem !important;
}
.wc-block-product,
.wc-block-product-template > li {
	display: flex;
	flex-direction: column;
	background: var(--am-bg-2);
	border: 1px solid var(--am-border);
	border-radius: var(--am-radius);
	padding: 0.75rem 0.75rem 1rem;
	transition: border-color 0.2s, transform 0.2s;
}
.wc-block-product:hover,
.wc-block-product-template > li:hover { border-color: var(--am-red); transform: translateY(-3px); }

.wc-block-components-product-image,
.wc-block-product .wc-block-components-product-image {
	background: var(--am-photo);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.9rem !important;
}
.wc-block-components-product-image a { display: block; }
.wc-block-components-product-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	mix-blend-mode: multiply;
	padding: 8%;
	box-sizing: border-box;
	transition: transform 0.3s ease;
}
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.04); }

.wc-block-product .wp-block-post-title,
.wc-block-product-template .wp-block-post-title {
	font-size: 1rem !important;
	font-weight: 700;
	font-stretch: 105%;
	line-height: 1.3;
	text-align: left !important;
	margin: 0 0 0.4rem !important;
	padding-inline: 0.25rem;
}
.wc-block-product .wp-block-post-title a { text-decoration: none; color: #fff; }
.wc-block-product .wp-block-post-title a:hover { color: var(--am-red); }
.wc-block-product .wc-block-components-product-price,
.wc-block-product .wp-block-woocommerce-product-price {
	text-align: left !important;
	padding-inline: 0.25rem;
	font-size: 1.05rem;
	color: #fff;
	margin-bottom: 0.9rem !important;
}
.wc-block-components-product-price del { color: var(--am-muted); font-weight: 400; }
.wc-block-components-product-price ins { text-decoration: none; color: var(--am-red); }
.wc-block-product .wp-block-woocommerce-product-button {
	margin-top: auto !important;
	text-align: left !important;
	padding-inline: 0.25rem;
}
.wc-block-product .wp-block-button__link,
.wc-block-components-product-button__button {
	width: 100%;
	font-size: 0.8rem !important;
	padding: 0.7rem 1rem !important;
}

/* Etichetta sconto */
.wc-block-components-product-sale-badge,
.wc-block-components-product-image .wc-block-components-product-sale-badge {
	background: var(--am-red) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 2px !important;
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
	padding: 0.3rem 0.6rem;
}

/* Pulsante contorno */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1px solid var(--am-border);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--am-red);
	color: #fff;
	background: rgba(239, 68, 68, 0.1);
}

/* ---------- Pagina prodotto ---------- */
.woocommerce-product-gallery,
.wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery,
.wc-block-product-gallery-large-image,
.wp-block-woocommerce-product-gallery-large-image {
	background: var(--am-photo);
	border-radius: var(--am-radius);
}
.woocommerce-product-gallery img,
.wc-block-product-gallery-large-image img { mix-blend-mode: multiply; }
.woocommerce-product-gallery .flex-control-thumbs li img { background: var(--am-photo); border-radius: 3px; }

.single-product .wp-block-post-title {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 900;
}
.single-product .wp-block-woocommerce-product-price { font-size: 1.6rem; }
.wp-block-woocommerce-product-meta,
.product_meta { color: var(--am-muted); font-size: 0.9rem; }

.woocommerce-tabs .tabs,
.wc-tabs { border-bottom: 1px solid var(--am-border) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.wc-tabs li { background: transparent !important; border-color: var(--am-border) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--am-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--am-red) !important; }
.woocommerce-Tabs-panel h3,
.wp-block-woocommerce-product-details h3 { margin-top: 1.8rem; font-size: 1.15rem; }
.woocommerce-Tabs-panel ul li::marker { color: var(--am-red); }

/* Quantità + aggiungi al carrello */
.quantity .qty,
.wc-block-components-quantity-selector {
	background: var(--am-bg-2) !important;
	color: var(--am-text) !important;
	border: 1px solid var(--am-border) !important;
	border-radius: 3px;
}
.wc-block-components-quantity-selector input { color: var(--am-text); background: transparent; }
.wc-block-components-quantity-selector button { color: var(--am-text); }

/* ---------- Briciole, ordinamento, paginazione ---------- */
.woocommerce-breadcrumb,
.wc-block-breadcrumbs { color: var(--am-muted); font-size: 0.85rem; }
.woocommerce-breadcrumb a,
.wc-block-breadcrumbs a { color: var(--am-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover,
.wc-block-breadcrumbs a:hover { color: var(--am-red); }

.woocommerce-ordering select,
.wc-block-catalog-sorting select,
select {
	background-color: var(--am-bg-2);
	color: var(--am-text);
	border: 1px solid var(--am-border);
	border-radius: 3px;
	padding: 0.45rem 0.6rem;
}
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers { color: var(--am-text); text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { color: var(--am-red); font-weight: 700; }

/* ---------- Carrello, cassa, account: controlli su fondo scuro ---------- */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-select select,
.wc-blocks-components-select__select,
.woocommerce form .input-text,
.woocommerce-Input,
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"],
textarea {
	background-color: var(--am-bg-2) !important;
	color: var(--am-text) !important;
	border: 1px solid var(--am-border) !important;
	border-radius: 3px !important;
}
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-blocks-components-select__label { color: var(--am-muted) !important; }
.wc-block-components-text-input.is-active label { color: var(--am-muted) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-components-radio-control__input {
	background: var(--am-bg-2) !important;
	border-color: var(--am-border) !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-components-radio-control__input:checked::before { background: var(--am-red) !important; }
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary,
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-cart-items th,
.wc-block-components-panel,
.wc-block-checkout__sidebar,
.wc-block-cart__sidebar { border-color: var(--am-border) !important; }
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--am-bg-2);
	border: 1px solid var(--am-border);
	border-radius: var(--am-radius);
}
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img { background: var(--am-photo); border-radius: 3px; }
.wc-block-components-notice-banner { color: #111; }
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer { background: var(--am-bg) !important; color: var(--am-text); }

/* ---------- Footer ---------- */
.am-site-footer { margin-top: 0; }
.am-footer {
	background: var(--am-bg-2);
	border-top: 1px solid var(--am-border);
	padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
	font-size: 0.92rem;
}
.am-footer__cols { gap: 2.5rem; }
.am-logo--footer { margin-bottom: 1rem; }
.am-footer__title {
	font-size: 0.85rem !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
	margin-bottom: 1rem;
}
.am-footer__links { list-style: none; padding: 0; margin: 0; }
.am-footer__links li { margin-bottom: 0.5rem; color: var(--am-muted); }
.am-footer__links a { color: var(--am-muted); text-decoration: none; }
.am-footer__links a:hover { color: var(--am-red); }
.am-footer__legal {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--am-border);
	color: var(--am-muted);
	font-size: 0.82rem;
	align-items: center;
}
.am-footer__legal p { margin: 0; }

/* ---------- Negozio: intestazione con la FD di notte ---------- */
.am-shop-hero {
	position: relative;
	margin-top: 0 !important;
	margin-bottom: 2rem;
	padding: clamp(2.4rem, 6vw, 4.2rem) max(var(--wp--style--root--padding-left, 16px), calc(50vw - 640px)) clamp(1.8rem, 4vw, 2.6rem);
	min-height: clamp(270px, 32vw, 390px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background:
		linear-gradient(90deg, rgba(10, 10, 15, 0.80) 0%, rgba(10, 10, 15, 0.40) 32%, rgba(10, 10, 15, 0) 58%),
		linear-gradient(0deg, var(--am-bg) 0%, rgba(10, 10, 15, 0) 26%),
		url("assets/negozio-fd-notte.webp") 62% center / cover no-repeat,
		#050507;
	border-bottom: 1px solid var(--am-border);
}
.am-shop-hero > * { margin-block: 0; }
.am-shop-hero .wc-block-breadcrumbs,
.am-shop-hero .woocommerce-breadcrumb { color: #c4c4d4; margin-bottom: 0.6rem; }
.am-shop-hero .wc-block-breadcrumbs a,
.am-shop-hero .woocommerce-breadcrumb a { color: #c4c4d4; }
.am-shop-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 900;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.am-shop-hero .am-title { margin-bottom: 0; }
.am-shop-hero__sub { margin-top: 1rem !important; color: #c4c4d4; font-size: 1.05rem; max-width: 34em; }
.am-shop-home {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 1.3rem !important;
	padding: 0.75rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(10, 10, 15, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	font-family: var(--wp--preset--font-family--archivo);
	font-style: italic;
	font-weight: 700;
	font-stretch: 112%;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
	transition: border-color 0.2s, background 0.2s;
}
.am-shop-home:hover { border-color: var(--am-red); background: rgba(239, 68, 68, 0.15); color: #fff; }
.am-shop-home svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 781px) {
	.am-shop-hero {
		min-height: 320px;
		background:
			linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0) 40%, rgba(10, 10, 15, 0.55) 70%, var(--am-bg) 100%),
			url("assets/negozio-fd-notte-960.webp") 60% 100% / auto 125% no-repeat,
			#050507;
	}
}

/* ---------- Negozio: categorie in cima ---------- */
.am-shop { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.am-shop-cats { margin: 1.5rem 0 3rem; }
.am-shop-all { margin-top: 0; }
.am-shop-bar { margin-bottom: 1rem; color: var(--am-muted); font-size: 0.9rem; }
.am-shop .am-cats { margin-bottom: 2.5rem; }

/* ---------- Pagine legali ---------- */
.am-todo {
	background: #facc15;
	color: #111;
	padding: 0.05em 0.35em;
	border-radius: 2px;
	font-weight: 600;
}
.am-modulo {
	border: 1px dashed var(--am-border);
	border-left: 3px solid var(--am-red);
	background: var(--am-bg-2);
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	font-style: normal;
}
.am-modulo p { margin: 0.45rem 0; }
.page .entry-content h2,
.page .wp-block-post-content h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.page .wp-block-post-content li::marker { color: var(--am-red); }

/* Il selettore lingua fluttuante non serve: è nella testata */
#trp-floater-ls,
.trp-floating-switcher { display: none !important; }

/* Accessibilità: focus visibile */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--am-red);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
