/*
 * Arance Chimera — visual layer, direction A "Bottega" (chosen by the client on 05/10/2026).
 * White retail layout, full-bleed photography, light serif titles (Fraunces) over a neutral UI face (Inter),
 * round category tiles, bordered product cards. Palette and type scale come from theme.json.
 */

:root {
	/* Brand colours from the current site and logo (provisional until the client sends official codes, K8). */
	--ac-green: var(--wp--preset--color--verde);
	--ac-green-deep: var(--wp--preset--color--verde-scuro);
	--ac-green-tint: var(--wp--preset--color--verde-chiaro);
	--ac-orange: var(--wp--preset--color--arancio);
	--ac-orange-text: var(--wp--preset--color--arancio-testo);
	--ac-orange-tint: var(--wp--preset--color--pesca);
	--ac-red: var(--wp--preset--color--rosso);
	--ac-ink: var(--wp--preset--color--inchiostro);
	--ac-muted: var(--wp--preset--color--grigio);
	--ac-line: var(--wp--preset--color--linea);
	--ac-soft: var(--wp--preset--color--sfondo);
	--ac-radius: var(--wp--custom--radius);
	--ac-radius-small: var(--wp--custom--radius-small);
	--ac-shadow: 0 12px 32px rgb(20 30 22 / 0.1);
	--ac-display: var(--wp--preset--font-family--insegna);
}

/* Focus and motion baseline */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--ac-ink);
	outline-offset: 2px;
	border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

:where(.ac-calendar, .ac-lab, .ac-promo, .ac-strip, .ac-card, .ac-product__buy, .ac-food-info, .ac-note) {
	box-sizing: border-box;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(h1, h2, h3) {
	font-optical-sizing: auto;
	text-wrap: balance;
}

.ac-main {
	padding-bottom: var(--wp--preset--spacing--70);
}

.home .ac-main {
	padding-bottom: 0;
}

/* Header, main and footer touch: sections bring their own spacing. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.ac-main > .wp-block-post-content > :first-child {
	margin-block-start: 0;
}

.ac-eyebrow {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ac-green);
}

.ac-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px currentColor;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ac-green);
}

.ac-more {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
}

.ac-more a {
	text-decoration: none;
}

.ac-more a::after {
	content: " →";
}

.ac-more a:hover {
	text-decoration: underline;
}

/* Prototype bar (plugin) */
.ac-proto-bar {
	margin: 0;
	padding: 0.35rem 1rem;
	background: var(--ac-ink);
	color: #fff;
	font-size: 0.75rem;
	text-align: center;
}

/* Utility bar */
.ac-utility {
	background: var(--ac-green-tint);
	font-size: 0.8125rem;
}

.ac-utility__row {
	min-height: 38px;
	gap: 1rem;
}

.ac-next-shipment--bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--ac-green-deep);
	font-weight: 500;
}

.ac-next-shipment--bar svg {
	flex: none;
}

.ac-utility__nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	white-space: nowrap;
}

.ac-utility__nav a {
	color: var(--ac-ink);
	font-weight: 500;
	text-decoration: none;
}

.ac-utility__nav a:hover {
	text-decoration: underline;
}

.ac-lang {
	display: inline-flex;
	gap: 0.75rem;
	margin: 0;
}

.ac-lang a[aria-current] {
	color: var(--ac-green);
	font-weight: 700;
}

/* Header */
.ac-site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--ac-line);
}

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

.ac-site-header__bar {
	min-height: 84px;
	gap: 2rem;
}

.ac-brand {
	display: block;
	flex: none;
	line-height: 0;
}

/* Qualified selector: WooCommerce small-screen CSS sets `.woocommerce-page img { height: auto }`. */
.ac-site-header img.ac-brand__logo {
	display: block;
	width: auto;
	max-width: none;
	height: 64px;
}

.ac-nav {
	flex: 1 1 auto;
	gap: 1.75rem;
}

.ac-nav .wp-block-navigation__container {
	gap: 1.75rem;
}

.ac-nav .wp-block-navigation-item__content {
	padding-block: 0.35rem;
	color: var(--ac-ink);
}

.ac-nav .wp-block-navigation-item__content:hover,
.ac-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--ac-green);
}

.ac-nav .ac-nav__new > .wp-block-navigation-item__content::after {
	content: "Nuovo";
	margin-left: 0.4rem;
	padding: 0.05rem 0.4rem;
	border-radius: 999px;
	background: var(--ac-orange-tint);
	color: var(--ac-orange-text);
	font-size: 0.6875rem;
	font-weight: 700;
	vertical-align: 0.1em;
}

.ac-nav .wp-block-navigation__submenu-container {
	min-width: 16rem !important;
	padding-block: 0.5rem;
	border: 1px solid var(--ac-line) !important;
	border-radius: var(--ac-radius);
	box-shadow: var(--ac-shadow);
}

.ac-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.45rem 1rem;
}

.ac-search {
	flex: 0 1 300px;
	margin: 0;
}

.ac-search .wp-block-search__inside-wrapper {
	padding: 0;
	border: 1px solid var(--ac-line);
	border-radius: 999px;
	background: var(--ac-soft);
}

.ac-search .wp-block-search__input {
	height: 44px;
	padding: 0 0.5rem 0 1.1rem;
	border: 0;
	background: transparent;
	font-size: 0.875rem;
}

.ac-search .wp-block-search__button {
	margin: 0;
	padding: 0 0.9rem;
	border: 0;
	background: transparent;
	color: var(--ac-muted);
}

.ac-search .wp-block-search__button svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.ac-tools {
	flex: none;
	gap: 0.25rem;
	align-items: center;
}

/* Page heads and breadcrumbs */
.ac-crumbs {
	margin-block: 0 !important;
	background: var(--ac-soft);
}

.ac-crumbs .wc-block-breadcrumbs,
.ac-crumbs .woocommerce-breadcrumb {
	margin: 0;
	padding-block: 0.7rem;
	font-size: 0.8125rem;
	color: var(--ac-muted);
}

.ac-crumbs a {
	color: var(--ac-ink);
}

.ac-page-head {
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
}

.ac-page-head h1,
.ac-page-head .wp-block-post-title,
.ac-page-head .wp-block-query-title {
	margin-block: 0.5rem 0;
	font-size: var(--wp--preset--font-size--xx-large);
}

.ac-lead {
	max-width: 42rem;
	font-size: 1.125rem;
}

/* Sections used in page content */
.ac-section {
	padding-block: var(--wp--preset--spacing--60) 0;
}

.ac-section--glaze {
	padding-bottom: var(--wp--preset--spacing--60);
	background: var(--ac-soft);
}

.ac-section__intro {
	max-width: 44rem;
	color: var(--ac-muted);
}

.ac-section__head {
	gap: 0.5rem 2rem;
	margin-bottom: 1.75rem;
}

.ac-section__head > * {
	margin: 0;
}

.ac-section__head .ac-section__intro {
	flex-basis: 100%;
}

/* Hero: full-bleed photo of the grove with a dark gradient for the text */
.wp-block-cover.ac-hero {
	padding-block: 4rem 7rem;
	color: #fff;
}

.ac-hero .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, rgb(12 20 14 / 0.72) 0%, rgb(12 20 14 / 0.38) 50%, rgb(12 20 14 / 0) 80%) !important;
}

.wp-block-cover.ac-hero.has-custom-content-position .wp-block-cover__inner-container {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto !important;
}

.ac-hero .wp-block-cover__inner-container > * {
	max-width: 36rem;
	margin-inline: 0 !important;
}

.ac-hero .ac-eyebrow {
	color: #fff;
	opacity: 0.9;
}

.ac-hero h1 {
	max-width: 12ch !important;
	margin-block: 1rem;
	color: #fff;
	font-size: var(--wp--preset--font-size--insegna);
	font-weight: 300;
	line-height: 1.02;
}

.ac-hero .ac-lead {
	opacity: 0.95;
}

.ac-hero .wp-block-buttons {
	margin-top: 1.5rem;
}

.ac-hero .is-style-light .wp-block-button__link {
	border-color: #fff;
	background: #fff;
	color: var(--ac-ink);
}

.ac-hero .is-style-ghost .wp-block-button__link {
	border-color: rgb(255 255 255 / 0.8);
	background: transparent;
	color: #fff;
}

.ac-hero .wp-block-button__link:hover {
	border-color: var(--ac-green-tint);
	background: var(--ac-green-tint);
	color: var(--ac-ink);
}

/* Benefit strip over the bottom of the hero */
.ac-strip {
	position: relative;
	z-index: 2;
	max-width: var(--wp--style--global--wide-size);
	margin: -3.25rem auto 0 !important;
	padding: 1.5rem 2rem;
	border-radius: var(--ac-radius);
	background: #fff;
	box-shadow: var(--ac-shadow);
}

.ac-benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ac-benefits li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: var(--ac-muted);
}

.ac-benefits svg {
	flex: none;
	color: var(--ac-green);
}

.ac-benefits strong {
	display: block;
	font-size: 0.9375rem;
	color: var(--ac-ink);
}

/* Round category tiles */
.ac-cats {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1.25rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.ac-cats a {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	color: var(--ac-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.ac-cats img {
	width: min(140px, 100%);
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--ac-line);
	transition: transform 0.2s;
}

.ac-cats a:hover img {
	transform: scale(1.04);
}

.ac-cats a:hover span {
	color: var(--ac-green);
}

.ac-cats .is-new img {
	box-shadow: 0 0 0 2px var(--ac-orange);
}

.ac-cats .is-new span::after {
	content: "Nuovo";
	display: block;
	width: fit-content;
	margin: 0.3rem auto 0;
	padding: 0.05rem 0.45rem;
	border-radius: 999px;
	background: var(--ac-orange-tint);
	color: var(--ac-orange-text);
	font-size: 0.6875rem;
	font-weight: 700;
}

/* Product cards */
.ac-products .wc-block-product-template {
	gap: 1.25rem;
}

.ac-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	height: 100%;
	padding: 0.75rem;
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
	background: #fff;
}

.ac-card .wc-block-components-product-image {
	margin: 0 0 0.6rem !important;
	border-radius: var(--ac-radius-small);
	overflow: hidden;
	background: var(--ac-soft);
}

.ac-card .wc-block-components-product-image img {
	aspect-ratio: 1;
	object-fit: cover;
}

.ac-card > .ac-badges {
	position: absolute;
	top: 1.35rem;
	left: 1.35rem;
	right: 1.35rem;
	z-index: 1;
	pointer-events: none;
}

.ac-card__title {
	margin: 0 0.25rem;
	font-family: var(--wp--preset--font-family--testo) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.3;
	letter-spacing: 0;
}

.ac-card__title a {
	color: var(--ac-ink);
	text-decoration: none;
}

.ac-card__title a:hover {
	text-decoration: underline;
}

.ac-card__price {
	margin: 0 0.25rem !important;
	font-size: 1.125rem;
	font-weight: 700;
	text-align: left !important;
}

.ac-card__price .ac-unit-price,
.ac-card__price .ac-lowest-price {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--ac-muted);
}

.ac-card .ac-card__button {
	margin: auto 0.25rem 0.25rem !important;
	padding-top: 0.6rem;
	align-items: stretch;
}

.ac-card__button .wp-block-button__link,
.ac-card__button .wc-block-components-product-button__button {
	width: 100%;
	min-height: 42px;
	font-size: 0.875rem !important;
}

/* Badges (plugin) */
.ac-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ac-badge {
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.ac-badge--bio {
	background: var(--ac-green-tint);
	color: var(--ac-green);
}

.ac-badge--season {
	background: #fff;
	color: var(--ac-ink);
	box-shadow: inset 0 0 0 1px var(--ac-line);
}

.ac-badge--fresh {
	background: var(--ac-orange-tint);
	color: var(--ac-orange-text);
}

.ac-badge--sale {
	background: var(--ac-red);
	color: #fff;
}

.ac-badge--provisional {
	background: #fff8d6;
	color: #6b5200;
	box-shadow: inset 0 0 0 1px #e7d27a;
}

/* Prices */
.ac-unit-price {
	font-weight: 400;
	color: var(--ac-muted);
}

.ac-lowest-price {
	margin-top: 0.15rem;
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--ac-muted);
}

.wc-block-components-product-price del,
.price del {
	color: var(--ac-muted);
	font-weight: 400;
}

/* Laboratory band (home) */
.ac-lab {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 2rem;
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 16px;
	background: var(--ac-orange-tint);
}

.ac-lab__text {
	display: grid;
	justify-items: start;
	gap: 1rem;
}

.ac-lab__text > * {
	margin: 0 !important;
}

.ac-lab__text p:not(.ac-eyebrow) {
	color: var(--ac-muted);
}

.ac-lab .ac-eyebrow {
	color: var(--ac-orange-text);
}

/* Adoption promo (home) */
.ac-promo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	border-radius: 16px;
	background: var(--ac-green-tint);
}

.ac-promo__text {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 1rem;
	padding: clamp(2rem, 5vw, 4rem);
}

.ac-promo__text > * {
	margin: 0 !important;
}

.ac-promo__text p:not(.ac-eyebrow) {
	max-width: 30rem;
	color: var(--ac-muted);
}

.ac-promo__media {
	margin: 0 !important;
}

.ac-promo__media img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

/* Stories band (home) */
.ac-band {
	margin-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	background: var(--ac-soft);
}

.ac-band > h2 {
	margin-top: 0.25rem;
}

.ac-stories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.75rem;
}

.ac-story {
	display: grid;
	justify-items: start;
	align-content: start;
	gap: 0.75rem;
	color: var(--ac-ink);
	text-decoration: none;
}

.ac-story img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ac-radius);
}

.ac-story h3 {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.2;
}

.ac-story:hover h3 {
	text-decoration: underline;
}

/* Blog / recipe grid */
.ac-post-grid .wp-block-post-featured-image {
	margin-bottom: 0.75rem;
}

.ac-post-grid .wp-block-post-featured-image img {
	border-radius: var(--ac-radius);
	object-fit: cover;
}

.ac-post-grid .wp-block-post-title {
	margin-top: 0;
	font-size: 1.375rem;
	font-weight: 400;
}

.ac-post-grid .wp-block-post-title a {
	color: var(--ac-ink);
	text-decoration: none;
}

.ac-post-grid .wp-block-post-title a:hover {
	text-decoration: underline;
}

.ac-article__head {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.ac-article__cat a {
	font-weight: 600;
}

.ac-article__date {
	font-size: 0.875rem;
	color: var(--ac-muted);
}

.ac-article__image img {
	border-radius: var(--ac-radius);
}

/* Newsletter (home, demo form) */
.ac-newsletter {
	margin-top: var(--wp--preset--spacing--70);
	padding-block: 3.5rem;
	background: var(--ac-green-tint);
	text-align: center;
}

.ac-newsletter h2 {
	margin-bottom: 0.5rem;
}

.ac-newsletter p {
	color: var(--ac-muted);
}

.ac-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	max-width: 30rem;
	margin: 1.5rem auto 0;
}

.ac-newsletter__form input {
	flex: 1 1 14rem;
	height: 48px;
	padding: 0 1.1rem;
	border: 1px solid var(--ac-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
}

.ac-newsletter__form button {
	padding: 0 1.5rem;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: var(--ac-green);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ac-newsletter__form button:hover {
	background: var(--ac-green-deep);
}

.ac-newsletter__form .ac-form__status {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.875rem;
}

/* Main of pages built before direction A (other content pages) */
.ac-tile-frame img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--ac-radius);
}

/* Next shipment line (plugin block) */
.ac-next-shipment:not(.ac-next-shipment--bar) {
	margin-block: 1rem;
	padding: 0.8rem 1rem;
	border-radius: 10px;
	background: var(--ac-orange-tint);
	font-size: 0.9375rem;
	max-width: 36rem;
}

/* Steps: order → harvest → ship → deliver */
.ac-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.5rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: ac-step;
}

.ac-steps li {
	position: relative;
	padding-top: 3.5rem;
	counter-increment: ac-step;
	color: var(--ac-muted);
}

.ac-steps li::before {
	content: counter(ac-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--ac-green-tint);
	color: var(--ac-green);
	font-weight: 700;
}

.ac-steps strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--ac-ink);
	font-size: 1.0625rem;
}

/* Single product */
.ac-product__top {
	gap: 2.5rem 3.5rem;
	margin-top: 2.5rem !important;
}

.ac-product__media .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	overflow: hidden;
}

.ac-product__media,
.ac-product__media .woocommerce-product-gallery__image {
	position: relative;
	overflow: hidden;
}

.ac-product__media .woocommerce-product-gallery img {
	border-radius: var(--ac-radius);
}

.ac-product__media .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.6rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.ac-product__media .flex-control-thumbs img {
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius-small);
	cursor: pointer;
}

.ac-product__media .flex-control-thumbs .flex-active {
	outline: 2px solid var(--ac-green);
	outline-offset: 1px;
}

.ac-product__buy {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-self: flex-start;
	padding: 2rem;
	border: 1px solid var(--ac-line);
	border-radius: 16px;
}

.ac-product__buy > * {
	margin-block: 0 !important;
}

.ac-product__buy .wp-block-post-title {
	font-size: var(--wp--preset--font-size--xx-large);
}

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

.ac-product__summary p {
	margin: 0;
}

.ac-product__summary p + p {
	margin-top: 0.5rem;
}

.ac-product__price {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

.ac-product__price .ac-unit-price {
	display: block;
	font-size: 0.875rem;
}

.ac-product .variations {
	border: 0;
	margin-bottom: 0.75rem;
}

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

.ac-product .variations th label {
	font-size: 0.875rem;
	font-weight: 600;
}

.ac-product .variations td {
	padding-top: 0.4rem;
}

.ac-product form.cart .variations select {
	width: 100%;
	max-width: 22rem;
	height: auto !important;
	line-height: 1.4 !important;
	padding: 0.7rem 2.5rem 0.7rem 0.9rem !important;
	border: 1.5px solid var(--ac-line);
	border-radius: 10px;
	background-color: #fff;
	font: inherit;
}

.ac-product form.cart .variations select:focus {
	border-color: var(--ac-green);
}

.ac-product .reset_variations {
	display: inline-block;
	margin-top: 0.4rem;
	font-size: 0.8125rem;
}

.ac-product form.cart .quantity .qty {
	width: 5rem;
	height: 48px !important;
	line-height: 1.4 !important;
	padding: 0 0.5rem;
	border: 1.5px solid var(--ac-line);
	border-radius: 999px;
	font: inherit;
	text-align: center;
}

.ac-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.ac-product form.cart.variations_form {
	display: block;
}

.ac-product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.ac-product .single_add_to_cart_button {
	flex: 1;
	min-width: 220px;
	min-height: 48px;
	padding: 0.9rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--ac-green);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ac-product .single_add_to_cart_button:hover {
	background: var(--ac-green-deep);
}

.ac-product .single_add_to_cart_button.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.ac-product .woocommerce-variation-price {
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.ac-tree-name {
	flex-basis: 100%;
	margin: 0;
}

.ac-tree-name label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.ac-tree-name input {
	width: 100%;
	max-width: 22rem;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--ac-line);
	border-radius: 10px;
	font: inherit;
}

.ac-product__details {
	margin-top: var(--wp--preset--spacing--60) !important;
}

/* Accordion (core/details) */
.ac-accordion .wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--ac-line);
}

.ac-accordion .wp-block-details:first-child {
	border-top: 1px solid var(--ac-line);
}

.ac-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 0;
	font-size: 1.0625rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.ac-accordion summary::-webkit-details-marker {
	display: none;
}

.ac-accordion summary::after {
	content: "+";
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
	transition: transform 0.2s;
}

.ac-accordion details[open] > summary::after {
	transform: rotate(45deg);
}

.ac-accordion details > :not(summary) {
	max-width: 72ch;
	color: var(--ac-muted);
}

.ac-accordion details > :last-child {
	padding-bottom: 1.25rem;
}

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

/* Season notice (plugin) */
.ac-season-notice {
	padding: 0.8rem 1rem;
	border-radius: 10px;
	font-size: 0.9375rem;
}

.ac-season-notice p {
	margin: 0;
}

.ac-season-notice p + p {
	margin-top: 0.35rem;
}

.ac-season-notice.is-out {
	background: var(--ac-soft);
	box-shadow: inset 3px 0 0 var(--ac-green);
}

.ac-season-notice.is-in {
	width: fit-content;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: var(--ac-orange-tint);
	color: var(--ac-orange-text);
	font-size: 0.8125rem;
	font-weight: 600;
}

.ac-season-notice.is-in strong {
	font-weight: 700;
}

.ac-provisional-note {
	margin: 0;
	padding: 0.6rem 0.9rem;
	border-radius: 10px;
	background: #fff8d6;
	color: #6b5200;
	font-size: 0.875rem;
}

/* Unit price table (plugin) */
.ac-unit-prices {
	max-width: 30rem;
	font-size: 0.875rem;
}

.ac-unit-prices caption,
.ac-calendar caption {
	caption-side: top;
	padding-bottom: 0.5rem;
	font-weight: 600;
	text-align: left;
}

.ac-unit-prices th,
.ac-unit-prices td {
	padding: 0.45rem 0.5rem 0.45rem 0;
	border-bottom: 1px solid var(--ac-line);
	text-align: left;
	font-weight: 400;
}

.ac-unit-prices thead th {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ac-muted);
}

.ac-unit-prices tr.is-unavailable {
	opacity: 0.7;
}

.ac-unit-prices__note {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: var(--ac-muted);
}

/* Food information and organic certification (plugin) */
.ac-food-info {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
	color: var(--ac-ink);
}

.ac-food-info h2 {
	margin-top: 0;
	font-family: var(--wp--preset--font-family--testo);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
}

.ac-food-info dl {
	margin: 0;
}

.ac-food-info__row {
	display: grid;
	grid-template-columns: minmax(8rem, 12rem) 1fr;
	gap: 0.25rem 1rem;
	padding-block: 0.5rem;
	border-bottom: 1px solid var(--ac-line);
	font-size: 0.9375rem;
}

.ac-food-info dt {
	font-weight: 600;
}

.ac-food-info dd {
	margin: 0;
	color: var(--ac-muted);
}

.ac-food-info__row.is-placeholder dd {
	font-style: italic;
}

.ac-food-info__note {
	margin-bottom: 0;
	font-size: 0.75rem;
	color: var(--ac-muted);
}

.ac-bio-info {
	padding: 0.75rem 1rem;
	border: 1px solid var(--ac-line);
	border-radius: 10px;
	font-size: 0.8125rem;
}

.ac-bio-info p {
	margin: 0;
}

.ac-bio-info p:first-child {
	font-weight: 600;
	color: var(--ac-green);
}

.ac-bio-info p + p {
	margin-top: 0.25rem;
	color: var(--ac-muted);
}

.ac-note {
	padding: 1.25rem 1.5rem;
	border-radius: var(--ac-radius);
	background: var(--ac-soft);
}

.ac-note h2 {
	margin-top: 0;
}

.ac-note--shop {
	margin-top: var(--wp--preset--spacing--60);
}

/* Season calendar (plugin) */
.ac-calendar {
	overflow-x: auto;
	padding: 1rem 1.5rem 0.5rem;
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
}

.ac-calendar table {
	width: 100%;
	min-width: 38rem;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.ac-calendar caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.ac-calendar th,
.ac-calendar td {
	padding: 0;
	border-bottom: 1px solid var(--ac-line);
}

.ac-calendar thead th {
	padding-block: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ac-muted);
	text-align: center;
}

.ac-calendar thead th:first-child {
	width: 30%;
	text-align: left;
}

.ac-calendar abbr {
	text-decoration: none;
}

.ac-calendar tbody th {
	padding: 0.55rem 0.75rem 0.55rem 0;
	font-weight: 400;
	text-align: left;
}

.ac-calendar tbody th a {
	display: block;
	font-weight: 600;
	color: var(--ac-ink);
	text-decoration: none;
}

.ac-calendar tbody th a:hover {
	text-decoration: underline;
}

.ac-calendar__status {
	font-size: 0.75rem;
	color: var(--ac-muted);
}

.ac-calendar td {
	position: relative;
	height: 2.75rem;
}

.ac-calendar td.is-on::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 12px;
	transform: translateY(-50%);
	background: var(--ac-orange);
}

.ac-calendar td:not(.is-on) + td.is-on::before,
.ac-calendar th + td.is-on::before {
	left: 4px;
	border-top-left-radius: 99px;
	border-bottom-left-radius: 99px;
}

.ac-calendar td.is-on:has(+ td:not(.is-on))::before,
.ac-calendar td.is-on:last-child::before {
	right: 4px;
	border-top-right-radius: 99px;
	border-bottom-right-radius: 99px;
}

.ac-calendar .is-now {
	background: var(--ac-green-tint);
}

.ac-calendar thead th.is-now {
	background: var(--ac-green);
	color: #fff;
	border-radius: 6px 6px 0 0;
}

.ac-calendar__note {
	font-size: 0.75rem;
	color: var(--ac-muted);
}

/* Certifications list */
.ac-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.5rem 2rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.ac-facts li {
	padding: 1.25rem;
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
	color: var(--ac-muted);
}

.ac-facts strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--ac-display);
	font-weight: 400;
	font-size: 1.375rem;
	line-height: 1.2;
	color: var(--ac-ink);
}

/* Press quote */
.ac-press {
	max-width: 46rem;
}

/* Shop head and category chips */
.ac-shop-bar {
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.ac-category-chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ac-category-chips ul ul {
	display: none;
}

.ac-category-chips li a {
	display: inline-block;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--ac-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ac-ink);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

.ac-category-chips li a:hover {
	border-color: var(--ac-green);
	color: var(--ac-green);
}

.ac-category-chips li a.is-current {
	border-color: var(--ac-green);
	background: var(--ac-green);
	color: #fff;
}

.wc-block-catalog-sorting select,
.woocommerce-ordering select {
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--ac-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.875rem;
}

/* Forms in page content (visual only in the prototype) */
.ac-form {
	display: grid;
	gap: 1rem;
	max-width: 40rem;
}

.ac-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.ac-form input,
.ac-form select,
.ac-form textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--ac-line);
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.ac-form input:focus,
.ac-form select:focus,
.ac-form textarea:focus {
	border-color: var(--ac-green);
}

.ac-form .ac-form__check {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-weight: 400;
}

.ac-form .ac-form__check input {
	width: auto;
	margin-top: 0.3rem;
}

.ac-form button {
	justify-self: start;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--ac-green);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ac-form button:hover {
	background: var(--ac-green-deep);
}

.ac-form__status {
	margin: 0;
	font-weight: 600;
}

/* Legal placeholders */
.ac-placeholder {
	padding: 1rem 1.25rem;
	border: 1.5px dashed var(--ac-green);
	border-radius: var(--ac-radius);
	background: #fff;
}

/* Footer */
.ac-site-footer {
	margin-top: 0;
	padding-top: 3.5rem;
	background: var(--ac-green-tint);
	color: var(--ac-ink);
	font-size: 0.9375rem;
}

.ac-site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
	gap: 2rem;
	padding-bottom: 2.5rem;
}

.ac-site-footer__grid--short {
	grid-template-columns: 2fr 1fr;
}

.ac-site-footer__grid > * {
	margin: 0 !important;
}

.ac-site-footer img.ac-site-footer__logo {
	display: block;
	width: 132px;
	height: auto;
	padding: 6px;
	border-radius: var(--ac-radius);
	background: #fff;
}

.ac-site-footer__brand p {
	max-width: 22rem;
	margin-top: 1rem;
}

.ac-site-footer a,
.ac-site-footer .ac-link-button {
	color: var(--ac-ink);
	text-decoration: none;
}

.ac-site-footer a:hover,
.ac-site-footer .ac-link-button:hover {
	text-decoration: underline;
}

.ac-site-footer__title {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--testo);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.ac-site-footer__contact .ac-site-footer__title:not(:first-child) {
	margin-top: 1.25rem;
}

.ac-site-footer__contact p {
	margin: 0 0 0.4rem;
}

.ac-site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ac-site-footer__links li + li {
	margin-top: 0.45rem;
}

.ac-pays span {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ac-line);
	font-size: 0.75rem;
	font-weight: 700;
}

.ac-site-footer__legal {
	gap: 0.5rem 1.5rem;
	padding-block: 1.25rem;
	border-top: 1px solid rgb(0 0 0 / 0.1);
	font-size: 0.8125rem;
}

.ac-site-footer__legal p {
	margin: 0;
}

.ac-site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.ac-link-button {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
}

/* Consent banner (plugin) */
.ac-consent {
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
	background: #fff;
	color: var(--ac-ink);
	box-shadow: 0 10px 30px rgb(29 35 32 / 0.18);
}

.ac-consent__title {
	margin: 0 0 0.35rem;
	font-size: var(--wp--preset--font-size--large);
}

.ac-consent__text {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
}

.ac-consent__button {
	padding: 0.7rem 1.2rem;
	border: 1.5px solid var(--ac-green);
	border-radius: 999px;
	background: var(--ac-green);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ac-consent__button:hover {
	border-color: var(--ac-green-deep);
	background: var(--ac-green-deep);
}

/* WooCommerce blocks: buttons and notices in the brand style */
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-product-button .wp-block-button__link {
	border-radius: 999px !important;
}

.wc-block-components-button:not(.is-link):not(.outlined) {
	background: var(--ac-green);
	color: #fff;
}

.wc-block-components-product-button__button {
	border: 1.5px solid var(--ac-green) !important;
	background: var(--ac-green) !important;
	color: #fff !important;
	font-weight: 600 !important;
}

.wc-block-components-product-button__button:hover {
	border-color: var(--ac-green-deep) !important;
	background: var(--ac-green-deep) !important;
}

/* "Scegli" / "Leggi" links (variable or out-of-season products): outlined */
.wp-block-woocommerce-product-button a.wc-block-components-product-button__button:not([data-product_id]),
.wc-block-components-product-button a.wp-block-button__link {
	background: #fff !important;
	color: var(--ac-green) !important;
}

@media (max-width: 1100px) {
	.ac-search {
		display: none;
	}

	.ac-nav,
	.ac-nav .wp-block-navigation__container {
		gap: 1.1rem;
	}

	.ac-cats {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 900px) {
	.ac-utility__nav {
		display: none;
	}

	.ac-next-shipment--bar {
		font-size: 0.75rem;
	}

	.ac-site-header__bar {
		min-height: 64px;
		gap: 0.5rem;
	}

	.ac-site-header img.ac-brand__logo {
		height: 48px;
	}

	.ac-nav {
		order: 3;
		flex: none;
	}

	.wp-block-cover.ac-hero {
		min-height: 520px !important;
		padding-bottom: 6rem;
	}

	.ac-strip {
		margin-inline: var(--wp--style--root--padding-left) !important;
		padding: 1.25rem;
	}

	.ac-benefits {
		grid-template-columns: repeat(2, 1fr);
	}

	.ac-cats {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 0.5rem;
	}

	.ac-cats li {
		flex: 0 0 96px;
		scroll-snap-align: start;
	}

	.ac-cats a {
		font-size: 0.8125rem;
	}

	.ac-lab,
	.ac-promo {
		grid-template-columns: 1fr;
	}

	.ac-promo__media {
		order: -1;
	}

	.ac-promo__media img {
		min-height: 220px;
		max-height: 260px;
	}

	.ac-stories {
		grid-template-columns: 1fr;
	}

	.ac-product__top {
		margin-top: 1rem !important;
		gap: 1.5rem;
	}

	.ac-product__buy {
		padding: 0;
		border: 0;
	}

	.ac-site-footer__grid,
	.ac-site-footer__grid--short {
		grid-template-columns: 1fr 1fr;
	}

	.ac-site-footer__brand,
	.ac-site-footer__contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 781px) {
	.ac-calendar {
		padding-inline: 0.75rem;
	}

	.ac-calendar table {
		min-width: 0;
	}

	.ac-calendar thead th {
		font-size: 0.6875rem;
	}

	.ac-calendar thead th:first-child {
		width: 38%;
	}

	.ac-calendar tbody th {
		font-size: 0.8125rem;
		line-height: 1.3;
	}

	.ac-calendar td {
		height: 2.25rem;
	}

	.ac-calendar td.is-on::before {
		height: 10px;
	}

	.ac-hero h1 {
		max-width: none !important;
	}

	.ac-food-info__row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.ac-products .wc-block-product-template {
		gap: 0.75rem;
	}

	.ac-products .wc-block-product-template.is-flex-container > li {
		width: calc(50% - 0.375rem) !important;
	}

	.ac-card {
		padding: 0.5rem;
	}

	.ac-card > .ac-badges {
		top: 1rem;
		left: 1rem;
		right: 1rem;
	}

	.ac-card__title {
		font-size: 0.9375rem !important;
	}

	.ac-card__button .wp-block-button__link,
	.ac-card__button .wc-block-components-product-button__button {
		padding-inline: 0.5rem !important;
		font-size: 0.8125rem !important;
		white-space: nowrap;
	}

	.ac-site-header__bar > .ac-tools {
		margin-left: auto !important;
	}

	.ac-benefits li {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
		font-size: 0.8125rem;
	}
}
