/* ==========================================================================
   SORBOS: stili WooCommerce (negozio, scheda prodotto, carrello, cassa)
   Si appoggiano agli stili base di WooCommerce e ne cambiano l'aspetto.
   ========================================================================== */

.shop-wrap {
	padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(4rem, 8vw, 6rem);
}

.woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.woocommerce-breadcrumb a {
	text-decoration: none;
}

.woocommerce-breadcrumb .sep {
	opacity: 0.4;
}

.woocommerce-products-header__title,
.woocommerce .page-title {
	font-size: clamp(2.6rem, 7vw, 5.6rem);
	margin-bottom: 1.5rem;
}

.woocommerce-result-count {
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.woocommerce-ordering select,
.woocommerce select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce-page select {
	min-height: 48px;
	padding: 0.6rem 1rem;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
	font: inherit;
	color: var(--ink);
}

.woocommerce input.input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
	border-color: var(--ink);
	outline: none;
}

/* --- Griglia prodotti --- */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: 2rem 1.4rem;
	margin: 0 0 2rem;
}

.woocommerce ul.products.columns-2 { --cols: 2; }
.woocommerce ul.products.columns-4 { --cols: 4; }

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	text-align: left;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
	margin: 0 0 1rem;
	border-radius: var(--radius);
	background: linear-gradient(145deg, var(--pink-soft), #ffe2c7);
	transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.woocommerce ul.products li.product:hover a img {
	transform: translateY(-6px) rotate(-1deg);
	box-shadow: var(--shadow);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--f-display);
	font-size: 1.45rem;
	font-weight: 700;
	font-variation-settings: "SOFT" 100, "WONK" 1;
	padding: 0;
	margin: 0 0 0.3rem;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin-bottom: 1rem;
	color: var(--ink);
	font-size: 1.05rem;
	font-weight: 600;
}

.woocommerce ul.products li.product .button {
	margin-top: auto;
	align-self: flex-start;
}

.woocommerce span.onsale {
	top: 0.9rem !important;
	left: 0.9rem !important;
	right: auto !important;
	min-width: 0;
	min-height: 0;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: var(--pink);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.woocommerce ul.products,
	.woocommerce ul.products.columns-4 {
		--cols: 2;
	}
}

@media (max-width: 480px) {
	.woocommerce ul.products {
		gap: 1.6rem 0.8rem;
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.15rem;
	}
}

/* --- Bottoni WooCommerce (stesso stile dei bottoni del tema) --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wc-block-components-button,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 50px;
	padding: 0.8rem 1.5rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--cream);
	font-family: var(--f-body);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
	transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--pink);
	border-color: var(--ink);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 0 var(--ink);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--pink);
	color: #fff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--ink);
}

.woocommerce a.added_to_cart {
	display: inline-block;
	margin-top: 0.5rem;
	font-weight: 600;
}

.woocommerce a.button.loading::after {
	top: auto;
	right: 1rem;
}

/* --- Avvisi --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.3rem !important;
	margin-bottom: 1.5rem !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: var(--paper) !important;
	box-shadow: inset 0 0 0 1.5px var(--line);
	color: var(--ink) !important;
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	position: static !important;
	color: var(--cyan) !important;
}

.woocommerce-error::before {
	color: var(--pink) !important;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	margin-left: auto;
}

/* --- Carrello, cassa e account (sia classici sia a blocchi) --- */
.woocommerce table.shop_table {
	border: 0;
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: inset 0 0 0 1.5px var(--line);
	overflow: hidden;
	border-collapse: separate;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 1rem 1.2rem;
	border-color: var(--line);
}

.woocommerce table.shop_table img {
	width: 72px;
	border-radius: 12px;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-account h2 {
	font-size: 1.8rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 0.3rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.7rem 1rem;
	border-radius: 14px;
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: var(--paper);
	box-shadow: inset 0 0 0 1.5px var(--line);
}

.wc-block-cart,
.wc-block-checkout {
	font-family: var(--f-body);
}

.wc-block-components-title,
.wc-block-cart__totals-title {
	font-family: var(--f-display) !important;
	font-variation-settings: "SOFT" 100, "WONK" 1;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control input,
.wc-blocks-components-select__select {
	border-radius: 14px !important;
}

.wc-block-components-product-name {
	font-weight: 700;
	text-decoration: none;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-family: var(--f-display);
	font-size: 1.4rem;
	font-weight: 700;
}

/* --- Impaginazione negozio --- */
.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--ink);
	color: var(--cream);
}

/* --- Scelta del gusto con bottoni colorati (assets/js/product.js) --- */
.woocommerce div.product form.cart .variations {
	width: 100%;
}

.has-swatches select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0;
	pointer-events: none;
}

.flavor-chosen {
	color: var(--pink);
	letter-spacing: 0.06em;
}

.flavor-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 0.5rem;
	margin: 0.3rem 0 0.8rem;
}

.flavor-swatch {
	display: grid;
	justify-items: center;
	gap: 0.4rem;
	padding: 0.7rem 0.4rem 0.6rem;
	border: 2px solid transparent;
	border-radius: 18px;
	background: var(--paper);
	box-shadow: inset 0 0 0 1.5px var(--line);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.15;
	transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.flavor-swatch:hover {
	transform: translateY(-2px);
}

.flavor-swatch__dot {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75), transparent 40%),
		linear-gradient(145deg, var(--from), var(--to));
	box-shadow: inset 0 0 0 2px rgba(27, 21, 21, 0.1);
}

.flavor-swatch.is-active {
	border-color: var(--ink);
	box-shadow: 0 4px 0 var(--ink);
}

.flavor-swatch:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.woocommerce div.product .woocommerce-variation-description {
	margin: 0.5rem 0 1rem;
	padding: 0.9rem 1.1rem;
	border-radius: 16px;
	background: var(--paper);
	box-shadow: inset 0 0 0 1.5px var(--line);
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.woocommerce div.product .woocommerce-variation-description p {
	margin: 0;
}

.woocommerce .reset_variations {
	font-size: 0.85rem;
	margin-left: 0.3rem;
}

.shipping-note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.shipping-note::before {
	content: "🚚";
}

.woocommerce div.product .woocommerce-tabs .panel table {
	max-width: 520px;
}

/* ==========================================================================
   Carrello laterale
   ========================================================================== */

.drawer-open,
.drawer-open body {
	overflow: hidden;
}

.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.cart-drawer[hidden] {
	display: none;
}

.cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(27, 21, 21, 0.45);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(560px, 100vw);
	background: var(--bg);
	box-shadow: -30px 0 60px -30px rgba(27, 21, 21, 0.4);
	transform: translateX(100%);
	transition: transform 0.5s var(--ease);
	outline: none;
}

.cart-drawer.is-open .cart-drawer__overlay {
	opacity: 1;
}

.cart-drawer.is-open .cart-drawer__panel {
	transform: none;
}

.cart-drawer__panel.is-loading .cart-drawer__scroll,
.cart-drawer__panel.is-loading .cart-drawer__footer {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s;
}

.cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 1.4rem;
	border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
	margin: 0;
	font-size: 1.6rem;
}

.cart-drawer__count {
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 500;
	color: var(--ink-soft);
}

.cart-drawer__scroll {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.2rem 1.4rem 1.6rem;
}

.cart-drawer__footer {
	display: grid;
	gap: 0.6rem;
	padding: 1rem 1.4rem 1.2rem;
	border-top: 1px solid var(--line);
	background: var(--bg);
}

.cart-drawer__footer[hidden] {
	display: none;
}

.btn--block {
	width: 100%;
}

.cart-drawer__trust {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	color: var(--ink-soft);
	text-align: center;
}

/* Barra spedizione gratuita (anche nella pagina carrello) */
.ship-progress {
	padding: 1rem 1.1rem 0.9rem;
	margin-bottom: 1.2rem;
	border-radius: 20px;
	background: var(--bg-alt);
}

.ship-progress__title {
	margin: 0 0 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.ship-progress__title strong {
	color: var(--pink);
}

.ship-progress__bar {
	position: relative;
	height: 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--ink);
}

.ship-progress__bar > span {
	display: block;
	height: 100%;
	min-width: 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--pink), var(--peach));
	box-shadow: inset 0 0 0 2px var(--ink);
	transition: width 0.6s var(--ease);
}

.ship-progress__truck {
	position: absolute;
	top: 50%;
	right: -6px;
	width: 38px;
	height: 38px;
	transform: translateY(-58%);
}

.ship-progress__hint {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.ship-progress.is-free {
	background: #e9fbe4;
}

.ship-progress.is-free .ship-progress__bar > span {
	background: linear-gradient(90deg, #7ed957, #1fc7c1);
}

/* Righe prodotto */
.cd-items {
	display: grid;
	gap: 1rem;
	margin-bottom: 1.4rem;
}

.cd-item {
	display: grid;
	grid-template-columns: 76px 1fr auto;
	gap: 0.9rem;
	align-items: start;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}

.cd-thumb img,
.cd-thumb__flavor {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border-radius: 16px;
	object-fit: cover;
}

.cd-thumb__flavor {
	background:
		radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.7), transparent 50%),
		linear-gradient(145deg, var(--from), var(--to));
}

.cd-thumb__flavor .illu {
	width: 54px;
	height: 54px;
}

.cd-item__name {
	margin: 0 0 0.1rem;
	font-family: var(--f-display);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.cd-item__meta {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--line);
	border-radius: 999px;
}

.qty-stepper button {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 1.1rem;
	line-height: 1;
}

.qty-stepper button:hover {
	background: var(--bg-alt);
}

.qty-stepper span {
	min-width: 1.8em;
	font-weight: 700;
	text-align: center;
}

.cd-item__side {
	display: grid;
	justify-items: end;
	gap: 0.5rem;
}

.cd-item__total {
	font-weight: 700;
}

.cd-item__remove {
	padding: 0;
	border: 0;
	background: none;
	font-size: 0.78rem;
	color: var(--ink-soft);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cd-item__remove:hover {
	color: var(--pink);
}

/* Aggiungi un altro gusto */
.cd-upsell {
	margin-bottom: 1.4rem;
}

.cd-upsell__title {
	margin: 0 0 0.5rem;
}

.cd-upsell__title .script {
	font-size: 1.45rem;
}

.cd-upsell__list {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	/* Spazio sopra e ai lati: il bottone si solleva al passaggio del mouse senza essere tagliato */
	padding: 8px 4px 10px;
	margin: -8px -4px 0;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.cd-upsell__list button {
	display: grid;
	justify-items: center;
	gap: 0.15rem;
	width: 88px;
	padding: 0.6rem 0.3rem 0.5rem;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(160deg, color-mix(in srgb, var(--from) 25%, #fff), #fff);
	box-shadow: inset 0 0 0 1.5px var(--line);
	scroll-snap-align: start;
	transition: transform 0.3s var(--ease), box-shadow 0.2s;
}

.cd-upsell__list button:hover {
	transform: translateY(-3px);
	box-shadow: inset 0 0 0 2px var(--ink);
}

.cd-upsell__list .illu {
	width: 44px;
	height: 44px;
}

.cd-upsell__list span {
	font-size: 0.78rem;
	font-weight: 700;
}

.cd-upsell__list small {
	font-size: 0.72rem;
	color: var(--ink-soft);
}

/* Codice sconto */
.cd-coupon {
	margin-bottom: 1.2rem;
}

.cd-coupon summary {
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--pink);
}

.cd-coupon summary::-webkit-details-marker {
	display: none;
}

.cd-coupon__form {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.7rem;
}

.cd-coupon__form input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 1rem;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font: inherit;
	text-transform: uppercase;
}

.cd-coupon__form input:focus {
	border-color: var(--ink);
	outline: none;
}

.cd-coupon__form .btn {
	min-height: 48px;
	padding-inline: 1.1rem;
}

.cd-coupon__applied {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 0.6rem;
	padding: 0.6rem 0.9rem;
	border-radius: 14px;
	background: #e9fbe4;
	font-size: 0.9rem;
}

.cd-coupon__applied button {
	border: 0;
	background: none;
	font-size: 0.8rem;
	text-decoration: underline;
}

/* Totali */
.cd-totals {
	display: grid;
	gap: 0.45rem;
	margin: 0;
}

.cd-totals div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.cd-totals dt,
.cd-totals dd {
	margin: 0;
}

.cd-totals__discount dd {
	color: #0a8a3a;
	font-weight: 600;
}

.cd-totals__grand {
	padding-top: 0.6rem;
	margin-top: 0.3rem;
	border-top: 1px solid var(--line);
	font-family: var(--f-display);
	font-size: 1.35rem;
	font-weight: 750;
}

.cd-totals__note {
	margin: 0.4rem 0 0;
	font-size: 0.78rem;
	color: var(--ink-soft);
}

.cd-notice {
	margin: 0 0 1rem;
	padding: 0.7rem 0.9rem;
	border-radius: 14px;
	font-size: 0.9rem;
	background: #e9fbe4;
}

.cd-notice--error {
	background: #ffe3ea;
}

.cd-empty {
	display: grid;
	justify-items: center;
	gap: 0.3rem;
	padding: 1.5rem 0.5rem;
	text-align: center;
}

.cd-empty__illu {
	width: 120px;
	height: 120px;
}

.cd-empty__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: 1.5rem;
	font-weight: 750;
}

/* ==========================================================================
   Scheda prodotto (woocommerce/content-single-product.php)
   ========================================================================== */

.sp-hero {
	padding: calc(var(--header-h) + clamp(1.5rem, 3vw, 2.5rem)) 0 clamp(3rem, 6vw, 5rem);
}

.sp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5.5rem);
	align-items: start;
	max-width: 1560px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.sp-hero__media {
	position: sticky;
	top: calc(var(--header-h) + 1.2rem);
}

.sp-hero__media .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.sp-hero__media .woocommerce-product-gallery img {
	border-radius: var(--radius-lg);
}

/* Riquadro illustrato che segue il gusto scelto */
.sp-stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background:
		radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.75), transparent 45%),
		linear-gradient(150deg, var(--from), var(--to));
	transition: background 0.6s var(--ease);
}

.sp-stage__tubes {
	position: absolute;
	left: 50%;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	gap: 4%;
	width: 34%;
	height: 78%;
	transform: translateX(-50%);
}

.sp-stage__tubes i {
	position: relative;
	flex: 1;
	border-radius: 0.3rem 0.3rem 0 0;
	background: linear-gradient(90deg, #d9d6d2 0%, #fff 30%, #f6f4f1 55%, #fff 70%, #cfcac4 100%);
	box-shadow: 10px 14px 30px -10px rgba(27, 21, 21, 0.35);
}

.sp-stage__tubes i::before {
	content: "";
	position: absolute;
	top: -6%;
	left: 0;
	right: 0;
	aspect-ratio: 2.4;
	transform: translateY(50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, #b9b3ac 35%, #fbfaf8 40%);
}

.sp-stage__tubes i:nth-child(1) { height: 70%; }
.sp-stage__tubes i:nth-child(2) { height: 96%; }
.sp-stage__tubes i:nth-child(3) { height: 58%; }

.sp-stage__illu {
	position: absolute;
	width: 46%;
	height: auto;
	opacity: 0;
	transform: scale(0.6) rotate(-20deg);
	transition: opacity 0.4s, transform 0.7s var(--ease);
	filter: drop-shadow(0 18px 20px rgba(27, 21, 21, 0.2));
}

.sp-stage__illu.is-active {
	opacity: 1;
	transform: translate(-42%, -18%) rotate(-8deg);
}

.sp-stage__illu.is-active + .sp-stage__illu.is-active {
	display: none;
}

.sp-stage__label {
	position: absolute;
	right: 8%;
	bottom: 7%;
	margin: 0;
	padding: 0.2rem 1rem 0.3rem;
	border-radius: 999px;
	background: var(--paper);
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	box-shadow: 0 5px 0 var(--ink);
	border: 2px solid var(--ink);
	transform: rotate(-4deg);
}

/* Colonna destra */
.sp-crumbs {
	max-width: 1560px;
	margin: 0 auto 1rem;
	padding-inline: var(--gutter);
}

.sp-crumbs .woocommerce-breadcrumb {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}

.sp-crumbs .woocommerce-breadcrumb a:hover {
	color: var(--pink);
}

.sp-kicker {
	margin: 0;
}

.sp-kicker .script {
	display: inline-block;
	font-size: 2rem;
	color: var(--pink);
	transform: rotate(-5deg);
}

.sp-title {
	display: grid;
	margin: 0 0 1rem;
	font-size: clamp(3.4rem, 7vw, 6.4rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.04em;
}

.sp-title__logo {
	height: clamp(56px, 7.5vw, 96px);
	margin-bottom: 0.3rem;
}

.sp-title em {
	font-size: 0.42em;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-top: 0.3rem;
}

.sp-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 0.9rem;
	margin-bottom: 1.2rem;
}

.sp-price .price {
	font-family: var(--f-display);
	font-size: 2.2rem;
	font-weight: 750;
}

.sp-price .price del {
	font-size: 0.6em;
	opacity: 0.5;
}

.sp-price .price ins {
	text-decoration: none;
	color: var(--pink);
}

.sp-price__note {
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.sp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.4rem;
}

.sp-badges li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.9rem 0.3rem 0.4rem;
	border-radius: 999px;
	background: var(--bg-alt);
	font-size: 0.85rem;
	font-weight: 600;
}

.sp-badges .illu {
	width: 28px;
	height: 28px;
}

.sp-excerpt {
	color: var(--ink-soft);
	font-size: 1.05rem;
	margin-bottom: 1.4rem;
}

.sp-excerpt p {
	margin-bottom: 0.6rem;
}

.sp-buy form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-bottom: 1rem;
}

.sp-buy form.variations_form {
	display: block;
}

.sp-buy .variations {
	width: 100%;
	margin-bottom: 0.4rem;
	border: 0;
}

.sp-buy .variations tr,
.sp-buy .variations th,
.sp-buy .variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
}

.sp-buy .variations th label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sp-buy .single_variation_wrap {
	display: grid;
	gap: 0.8rem;
}

.sp-buy .woocommerce-variation-price {
	display: none;
}

.sp-buy .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 0.8rem;
}

.sp-buy .quantity .qty {
	width: 5.2rem;
	min-height: 60px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	font: inherit;
	font-size: 1.1rem;
	font-weight: 700;
	text-align: center;
	background: var(--paper);
}

.sp-buy .single_add_to_cart_button {
	flex: 1;
	min-height: 60px !important;
	font-size: 1rem !important;
}

.sp-buy .single_add_to_cart_button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.sp-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
	padding-top: 1.2rem;
	margin-top: 1.4rem;
	border-top: 1px solid var(--line);
}

.sp-trust li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.88rem;
	line-height: 1.3;
}

.sp-trust .illu {
	flex: none;
	width: 44px;
	height: 44px;
}

.sp-trust strong {
	display: block;
}

@media (max-width: 960px) {
	.sp-hero__inner {
		grid-template-columns: 1fr;
	}
	.sp-hero__media {
		position: static;
		max-width: 560px;
		width: 100%;
		margin-inline: auto;
	}
}

@media (max-width: 480px) {
	.sp-trust {
		grid-template-columns: 1fr;
	}
}

/* Selettore gusti illustrato */
.flavor-swatches {
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.flavor-swatch {
	background: linear-gradient(170deg, color-mix(in srgb, var(--from) 18%, #fff), #fff 70%);
	padding: 0.8rem 0.4rem 0.7rem;
}

.flavor-swatch__illu {
	width: 56px;
	height: 56px;
	transition: transform 0.45s var(--ease);
}

.flavor-swatch:hover .flavor-swatch__illu,
.flavor-swatch.is-active .flavor-swatch__illu {
	transform: rotate(-10deg) scale(1.12);
}

.flavor-swatch.is-active {
	background: linear-gradient(170deg, color-mix(in srgb, var(--from) 45%, #fff), #fff 80%);
}

/* Sezioni sotto l'hero */
.sp-section {
	padding-block: clamp(4rem, 9vw, 7rem);
}

.sp-steps {
	background: var(--bg-alt);
}

.sp-steps__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	counter-reset: none;
}

.sp-step {
	position: relative;
	display: grid;
	justify-items: center;
	padding: 2rem 1.5rem;
	border-radius: var(--radius);
	background: var(--paper);
	text-align: center;
}

.sp-step__num {
	position: absolute;
	top: 1rem;
	left: 1.3rem;
	font-size: 1.8rem;
	color: var(--pink);
}

.sp-step__illu {
	width: 130px;
	height: 130px;
	margin-bottom: 0.6rem;
}

.sp-step h3 {
	font-size: 1.9rem;
	margin-bottom: 0.4rem;
}

.sp-step p {
	margin: 0;
	color: var(--ink-soft);
	max-width: 28ch;
}

@media (max-width: 760px) {
	.sp-steps__list {
		grid-template-columns: 1fr;
	}
}

.sp-infographic .straw-info {
	margin-bottom: 0;
}

.sp-specs {
	background: var(--bg-alt);
}

.sp-specs__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sp-spec h3 {
	padding-bottom: 0.8rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--ink);
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0;
	text-align: center;
}

.sp-spec p {
	text-align: center;
	font-weight: 500;
}

.sp-spec__warn {
	font-size: 0.9rem;
	color: var(--pink);
}

@media (max-width: 860px) {
	.sp-specs__cols {
		grid-template-columns: 1fr;
	}
}

.sp-accordion {
	max-width: 900px;
	margin-inline: auto;
}

.sp-accordion details {
	border-bottom: 1px solid var(--line);
}

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

.sp-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.3rem 0;
	font-family: var(--f-display);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.sp-accordion details[open] .faq__icon {
	transform: rotate(45deg);
	background: var(--yellow);
}

.sp-accordion details > :not(summary) {
	padding-bottom: 1.6rem;
}

.sp-ingredients {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem 2rem;
}

.sp-ingredients li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 0.8rem;
	align-items: start;
}

.sp-ingredients .illu {
	width: 48px;
	height: 48px;
}

.sp-ingredients p {
	margin: 0.1rem 0 0;
	font-size: 0.88rem;
	color: var(--ink-soft);
	line-height: 1.45;
}

@media (max-width: 700px) {
	.sp-ingredients {
		grid-template-columns: 1fr;
	}
}

.sp-description {
	max-width: none;
	font-size: 1rem;
}

.sp-description h2 {
	display: none;
}

.sp-description h3 {
	margin-top: 1.4em;
	font-size: 1.3rem;
}

/* Dopo l'aggiunta si apre il carrello laterale: niente link "Vedi carrello" né spunta sul pulsante */
.sp-buy .added_to_cart,
.single-product form.cart .added_to_cart {
	display: none !important;
}

.woocommerce .single_add_to_cart_button.added::after {
	content: none !important;
}

/* ==========================================================================
   Carrello, cassa, account: pagina larga (page.php → .shop-page)
   ========================================================================== */

.shop-page {
	padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(4rem, 8vw, 6rem);
	background: var(--bg);
}

.shop-page__inner {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.shop-page__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-bottom: 1.5rem;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
	border-bottom: 1px solid var(--line);
}

.shop-page__title {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.shop-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.shop-steps li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.shop-steps span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--line);
	border-radius: 50%;
	font-size: 0.8rem;
}

.shop-steps .is-current {
	color: var(--ink);
}

.shop-steps .is-current span {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.shop-steps .is-done span {
	border-color: var(--cyan);
	background: var(--cyan);
	color: var(--ink);
}

/* Carrello */
.sc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}

.sc-items {
	display: grid;
	margin-bottom: 1.5rem;
	border-top: 1px solid var(--line);
}

.sc-item {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) auto auto 44px;
	align-items: center;
	gap: 1.2rem;
	padding: 1.3rem 0;
	border-bottom: 1px solid var(--line);
}

.sc-item__thumb img,
.sc-item__thumb .cd-thumb__flavor {
	display: grid;
	place-items: center;
	width: 110px;
	height: 110px;
	border-radius: 22px;
	object-fit: cover;
}

.sc-item__thumb .cd-thumb__flavor .illu {
	width: 76px;
	height: 76px;
}

.sc-item__name {
	margin: 0 0 0.2rem;
	font-size: 1.45rem;
}

.sc-item__name a {
	text-decoration: none;
}

.sc-item__meta {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.sc-item__total {
	min-width: 5.5rem;
	font-family: var(--f-display);
	font-size: 1.3rem;
	font-weight: 750;
	text-align: right;
}

.sc-item__remove a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--ink) !important;
	background: transparent !important;
	font-size: 0 !important;
	transition: background-color 0.2s;
}

.sc-item__remove a:hover {
	background: var(--bg-alt) !important;
}

.sc-item__remove .icon {
	width: 18px;
	height: 18px;
}

/* Quantità con − / + (carrello e scheda prodotto) */
.quantity.has-stepper {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--paper);
}

.quantity.has-stepper .qty {
	width: 2.8rem !important;
	min-height: 0 !important;
	height: 44px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.quantity.has-stepper .qty::-webkit-outer-spin-button,
.quantity.has-stepper .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.qty-btn {
	width: 40px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 1.2rem;
	line-height: 1;
}

.qty-btn:hover {
	color: var(--pink);
}

.sp-buy .quantity.has-stepper {
	min-height: 60px;
}

.sp-buy .quantity.has-stepper .qty {
	height: 56px;
}

/* Codice sconto e aggiorna */
.sc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.sc-coupon label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.sc-coupon__row {
	display: flex;
	gap: 0.5rem;
}

.sc-coupon__row input {
	min-width: 220px;
	min-height: 50px;
	padding: 0 1.1rem;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font: inherit;
	text-transform: uppercase;
}

.sc-update[disabled] {
	opacity: 0.4;
	pointer-events: none;
}

.js .sc-update {
	display: none;
}

.sc-back {
	font-weight: 600;
	text-decoration: none;
}

.sc-back:hover {
	color: var(--pink);
}

/* Riepilogo a destra */
.sc-side {
	position: sticky;
	top: calc(var(--header-h) + 1.2rem);
}

.sc-side .cart_totals {
	width: 100% !important;
	float: none !important;
	padding: 1.6rem;
	border-radius: var(--radius);
	background: var(--bg-alt);
}

.sc-side .cart_totals h2 {
	margin: 0 0 1rem;
	font-size: 1.7rem;
}

.sc-side .cart_totals table.shop_table {
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	margin: 0 0 1rem;
}

.sc-side .cart_totals table th,
.sc-side .cart_totals table td {
	padding: 0.7rem 0;
	border-top: 1px solid var(--line) !important;
	background: transparent;
	vertical-align: top;
}

.sc-side .cart_totals table th {
	font-weight: 600;
	width: 40%;
}

.sc-side .cart_totals table td {
	text-align: right;
}

.sc-side .cart_totals .order-total th,
.sc-side .cart_totals .order-total td {
	padding-top: 1rem;
	font-family: var(--f-display);
	font-size: 1.45rem;
	font-weight: 750;
}

.sc-side .cart_totals .order-total small {
	display: block;
	font-family: var(--f-body);
	font-size: 0.78rem;
	font-weight: 400;
	color: var(--ink-soft);
}

.sc-side #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-side .woocommerce-shipping-destination,
.sc-side .shipping-calculator-button {
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.sc-side .wc-proceed-to-checkout {
	padding: 0;
}

.sc-side .wc-proceed-to-checkout .checkout-button {
	display: flex !important;
	width: 100%;
	min-height: 60px !important;
	margin: 0 !important;
	font-size: 1rem !important;
}

.sc-trust {
	display: grid;
	gap: 0.7rem;
	margin-top: 1.2rem;
	padding: 0 0.4rem;
}

.sc-trust li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.88rem;
}

.sc-trust .illu {
	flex: none;
	width: 40px;
	height: 40px;
}

@media (max-width: 960px) {
	.sc-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.sc-side {
		position: static;
	}
}

@media (max-width: 640px) {
	.sc-item {
		grid-template-columns: 80px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb info remove"
			"thumb qty total";
		gap: 0.6rem 0.9rem;
	}
	.sc-item__thumb { grid-area: thumb; align-self: start; }
	.sc-item__info { grid-area: info; }
	.sc-item__qty { grid-area: qty; }
	.sc-item__total { grid-area: total; align-self: center; }
	.sc-item__remove { grid-area: remove; align-self: start; }
	.sc-item__thumb img,
	.sc-item__thumb .cd-thumb__flavor {
		width: 80px;
		height: 80px;
	}
	.sc-item__thumb .cd-thumb__flavor .illu {
		width: 56px;
		height: 56px;
	}
	.sc-item__name {
		font-size: 1.2rem;
	}
	.sc-coupon,
	.sc-coupon__row {
		width: 100%;
	}
	.sc-coupon__row input {
		flex: 1;
		min-width: 0;
	}
}

/* Carrello vuoto */
.sc-empty {
	display: grid;
	justify-items: center;
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem 0;
	text-align: center;
}

.sc-empty__illu {
	width: 160px;
	height: 160px;
}

.sc-empty h2 {
	font-size: clamp(2rem, 4vw, 2.8rem);
	margin: 0.5rem 0;
}

.sc-empty p {
	color: var(--ink-soft);
}

.sc-empty__flavors {
	width: 100%;
	margin: 1rem 0 2rem;
}

/* Cassa (blocco Checkout di WooCommerce) */
.shop-page .wp-block-woocommerce-checkout {
	max-width: none;
	padding-top: 0;
}

.shop-page .wc-block-components-sidebar-layout .wc-block-components-main {
	padding-right: clamp(1rem, 4%, 3rem);
}

.shop-page .wc-block-checkout__sidebar,
.shop-page .wc-block-components-sidebar {
	padding: 1.6rem !important;
	border-radius: var(--radius);
	background: var(--bg-alt);
}

.shop-page .wc-block-components-checkout-step__title,
.shop-page .wc-block-components-title.wc-block-components-title {
	font-family: var(--f-display);
	font-size: 1.5rem;
	font-weight: 750;
}

.shop-page .wc-block-components-text-input input,
.shop-page .wc-block-components-text-input textarea,
.shop-page .wc-blocks-components-select .wc-blocks-components-select__select,
.shop-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	border: 1.5px solid var(--line) !important;
	border-radius: 14px !important;
	background: var(--paper) !important;
}

.shop-page .wc-block-components-text-input.is-active input,
.shop-page .wc-block-components-text-input input:focus {
	border-color: var(--ink) !important;
	box-shadow: none !important;
}

.shop-page .wc-block-components-checkout-place-order-button,
.shop-page .wc-block-cart__submit-button {
	min-height: 60px;
	border-radius: 999px !important;
	background: var(--ink) !important;
	color: #fff !important;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.shop-page .wc-block-components-checkout-place-order-button:hover {
	background: var(--pink) !important;
}

.shop-page .wc-block-components-radio-control__option,
.shop-page .wc-block-components-radio-control-accordion-option {
	border-radius: 14px;
}

.shop-page .wc-block-components-order-summary-item__image img {
	border-radius: 12px;
}

/* Account */
.woocommerce-account .shop-page .woocommerce::before,
.woocommerce-account .shop-page .woocommerce::after {
	display: none;
}

/* Da loggati: menu a sinistra, contenuto a destra */
.woocommerce-account.logged-in .shop-page .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation,
.woocommerce-account .shop-page .woocommerce-MyAccount-content {
	width: auto;
	float: none;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation {
	grid-column: 1;
	position: sticky;
	top: calc(var(--header-h) + 1.2rem);
	padding: 0.8rem;
	border-radius: var(--radius);
	background: var(--bg-alt);
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 0.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.75rem 1rem;
	border-radius: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation .is-active a {
	background: var(--ink);
	color: #fff;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation a:hover {
	background: var(--paper);
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation .is-active a:hover {
	background: var(--ink);
}

.woocommerce-account .shop-page .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--ink-soft);
}

.woocommerce-account .shop-page .woocommerce-MyAccount-content {
	grid-column: 2;
	min-width: 0;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-content > p:first-child {
	font-size: 1.1rem;
}

.woocommerce-account .shop-page .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .shop-page .woocommerce-MyAccount-content .wc-block-components-notice-banner,
.woocommerce-account .shop-page .woocommerce-MyAccount-content .woocommerce-message {
	width: 100%;
	max-width: none;
}

.woocommerce-account .shop-page .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.2rem;
}

.woocommerce-account .shop-page .woocommerce-Address {
	width: auto !important;
	float: none !important;
	padding: 1.3rem;
	border-radius: 20px;
	background: var(--bg-alt);
}

.woocommerce-account .shop-page .woocommerce-Addresses::before,
.woocommerce-account .shop-page .woocommerce-Addresses::after {
	display: none;
}

/* Da non loggati: modulo di accesso centrato */
.woocommerce-account:not(.logged-in) .shop-page .woocommerce {
	max-width: 480px;
	margin: 0 auto;
}

.woocommerce-account:not(.logged-in) .shop-page .woocommerce h2 {
	font-size: 1.8rem;
	text-align: center;
}

.woocommerce-account .shop-page form.login,
.woocommerce-account .shop-page form.register,
.woocommerce-account .shop-page form.lost_reset_password {
	margin: 0 0 1.5rem;
	padding: 1.8rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--bg-alt);
}

.woocommerce-account .shop-page form .form-row {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
	padding: 0;
}

.woocommerce-account .shop-page form .woocommerce-button {
	width: 100%;
	margin-top: 0.4rem;
}

.woocommerce-account .shop-page .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.8rem;
}

.woocommerce-account .shop-page .u-columns {
	display: grid;
	gap: 1.5rem;
}

.woocommerce-account .shop-page .u-columns .u-column1,
.woocommerce-account .shop-page .u-columns .u-column2 {
	width: auto;
	float: none;
}

@media (max-width: 860px) {
	.woocommerce-account.logged-in .shop-page .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}
	.woocommerce-account .shop-page .woocommerce-MyAccount-navigation {
		position: static;
	}
	.woocommerce-account .shop-page .woocommerce-MyAccount-navigation ul {
		display: flex;
		overflow-x: auto;
	}
	.woocommerce-account .shop-page .woocommerce-MyAccount-navigation a {
		white-space: nowrap;
	}
	.woocommerce-account .shop-page .woocommerce-MyAccount-content {
		grid-column: 1;
	}
}

/* Riepilogo ordine della cassa: nomi più compatti e senza la lista ingredienti */
.shop-page .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-family: var(--f-display);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
}

.shop-page .wc-block-components-product-metadata__description {
	display: none;
}

/* La colonna del riepilogo della cassa resta ferma sotto l'header, senza finirci sotto */
.shop-page .wc-block-checkout__sidebar.is-sticky,
.shop-page .wc-block-components-sidebar.is-sticky,
.shop-page .wc-block-checkout__sidebar {
	top: calc(var(--header-h) + 1.2rem) !important;
}

body.admin-bar .shop-page .wc-block-checkout__sidebar {
	top: calc(var(--header-h) + 32px + 1.2rem) !important;
}

/* In cassa l'header resta sempre visibile (non si nasconde scorrendo) */
.woocommerce-checkout .site-header.is-hidden {
	transform: none;
}

/* ==========================================================================
   Personalizzazione (inc/personalize.php + assets/js/personalize.js)
   ========================================================================== */

.sp-custom {
	width: 100%;
	margin: 0.4rem 0 1rem;
	border: 2px solid var(--ink);
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 79, 154, 0.12), transparent 45%),
		var(--paper);
	overflow: hidden;
	transition: box-shadow 0.3s var(--ease);
}

.sp-custom.is-on {
	box-shadow: 0 5px 0 var(--ink);
}

.sp-custom__switch {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.9rem 1.1rem;
	cursor: pointer;
}

.sp-custom__switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sp-custom__illu {
	flex: none;
	width: 52px;
	height: 52px;
}

.sp-custom__intro {
	display: grid;
	flex: 1;
	gap: 0.1rem;
	font-size: 0.9rem;
	line-height: 1.35;
	color: var(--ink-soft);
}

.sp-custom__intro strong {
	font-family: var(--f-display);
	font-size: 1.15rem;
	color: var(--ink);
}

.sp-custom__toggle {
	flex: none;
	position: relative;
	width: 52px;
	height: 30px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--bg-alt);
	transition: background-color 0.25s;
}

.sp-custom__toggle i {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ink);
	transition: transform 0.35s var(--ease);
}

.sp-custom__switch input:checked ~ .sp-custom__toggle {
	background: var(--pink);
}

.sp-custom__switch input:checked ~ .sp-custom__toggle i {
	background: #fff;
	transform: translateX(22px);
}

.sp-custom__switch input:focus-visible ~ .sp-custom__toggle {
	outline: 3px solid var(--pink);
	outline-offset: 3px;
}

.sp-custom__panel {
	display: none;
	padding: 0 1.1rem 1.1rem;
}

.sp-custom.is-on .sp-custom__panel,
.sp-custom:has(input[data-custom-on]:checked) .sp-custom__panel {
	display: block;
	animation: custom-in 0.45s var(--ease);
}

@keyframes custom-in {
	from { opacity: 0; transform: translateY(-8px); }
}

.sp-custom__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.sp-custom__label {
	display: block;
	margin: 0.4rem 0 0.4rem;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sp-custom__count {
	font-size: 0.8rem;
	color: var(--ink-soft);
}

.sp-custom__input {
	width: 100%;
	min-height: 54px;
	padding: 0 1.1rem;
	border: 2px solid var(--ink);
	border-radius: 16px;
	background: var(--paper);
	font: inherit;
	font-size: 1.1rem;
	font-weight: 600;
}

.sp-custom__input:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(255, 79, 154, 0.25);
}

.sp-custom__error {
	margin: 0.5rem 0 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #d6245f;
}

.sp-custom__preview {
	margin-top: 0.8rem;
	padding: 0.8rem 0.8rem 1rem;
	border-radius: 16px;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.8), transparent 50%),
		linear-gradient(145deg, #ffe3ef, #fff1df);
}

.sp-custom__preview .sp-custom__label {
	margin-top: 0;
}

.sp-custom__note {
	margin: 0.8rem 0 0;
	font-size: 0.82rem;
	color: var(--ink-soft);
}

/* Anteprima grande nel riquadro a sinistra: la foto del gusto si sfoca e arriva la cannuccia
   reale in primo piano, così grande che la punta con la stampa si legge bene. */
.sp-stage__custom {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	align-content: center;
	gap: 1rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	opacity: 0;
	transition: opacity 0.45s var(--ease);
	pointer-events: none;
}

.sp-stage__custom-label {
	margin: 0 0 0 8%;
	font-size: clamp(1.6rem, 2.6vw, 2.3rem);
	color: var(--pink);
	transform: rotate(-4deg);
}

.real-straw--stage {
	width: 150%;
	margin-left: 5%;
	transform: translateX(-12%) rotate(-6deg);
	transition: transform 0.9s var(--ease);
}

.is-customizing .sp-stage__custom {
	opacity: 1;
}

.is-customizing .real-straw--stage {
	transform: rotate(-6deg);
}

.sp-custom__preview .real-straw {
	width: 130%;
}

.sp-custom__preview {
	overflow: hidden;
}

.sp-custom__hint {
	margin: 0.7rem 0 0;
	font-size: 0.8rem;
	color: var(--ink-soft);
}

/* Riga "Personalizzata: «…»" nel carrello */
.custom-line {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	font-weight: 600;
}

.custom-line span {
	color: var(--pink);
}

.sc-item .custom-line {
	margin-top: 0.3rem;
}

/* Il riquadro personalizzazione occupa tutta la riga, sopra quantità e pulsante */
.sp-buy .woocommerce-variation-add-to-cart,
.sp-buy form.cart:not(.variations_form) {
	flex-wrap: wrap;
}

.sp-buy .sp-custom {
	flex: 0 0 100%;
}

/* Riquadro con le foto dei gusti (assets/img/gusti/): dissolvenza da un gusto all'altro */
.sp-stage--photos {
	box-shadow: 0 30px 60px -30px rgba(27, 21, 21, 0.35);
}

.sp-stage__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
}

.sp-stage__photo.is-active {
	opacity: 1;
	transform: scale(1);
}

/* Etichetta col nome del gusto: in alto a sinistra, per non coprire la cannuccia in primo piano */
.sp-stage--photos .sp-stage__label {
	z-index: 3;
	top: 6%;
	left: 6%;
	right: auto;
	bottom: auto;
}

/* Personalizzazione: la foto si attenua e sopra compare l'anteprima della scritta */
.is-customizing .sp-stage__photo.is-active {
	opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
	.sp-stage__photo {
		transform: none;
		transition: opacity 0.2s;
	}
}

/* Su mobile l'anteprima nel riquadro mostra solo la punta, più grande, per leggere bene la stampa */
@media (max-width: 700px) {
	.sp-custom__preview .real-straw {
		width: 230%;
	}
}

/* --- Barra fissa "Aggiungi al carrello" (assets/js/buybar.js) ---
   Su desktop è una capsula scura che galleggia sopra la pagina; su mobile è ancorata in basso. */
.buybar {
	position: fixed;
	left: 50%;
	bottom: calc(1rem + env(safe-area-inset-bottom));
	z-index: 85;
	width: min(1120px, calc(100% - 2rem));
	padding: 0.55rem 0.55rem 0.55rem 0.7rem;
	border-radius: 999px;
	background:
		radial-gradient(circle at 85% 0%, rgba(255, 79, 154, 0.35), transparent 45%),
		var(--ink);
	color: var(--cream);
	box-shadow: 0 24px 50px -18px rgba(27, 21, 21, 0.65), 0 0 0 3px rgba(255, 255, 255, 0.9);
	transform: translate(-50%, 140%);
	visibility: hidden;
	transition: transform 0.55s var(--ease), visibility 0.55s;
}

.buybar.is-visible {
	transform: translate(-50%, 0);
	visibility: visible;
}

.buybar__inner {
	display: flex;
	align-items: center;
	gap: clamp(0.6rem, 1.6vw, 1.2rem);
	width: 100%;
	max-width: none;
	padding: 0;
}

.buybar__thumb {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--cream);
	overflow: hidden;
}

.buybar__thumb img {
	width: 125%;
	height: 125%;
	object-fit: contain;
}

.buybar__info {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 0.05rem;
}

.buybar__name {
	overflow: hidden;
	font-family: var(--f-display);
	font-size: 1.15rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.buybar__name span {
	font-family: var(--f-script);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--yellow);
}

.buybar__meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.92rem;
}

.buybar__price,
.buybar__price .amount {
	font-weight: 700;
	color: var(--cream);
}

.buybar__price del {
	opacity: 0.5;
	font-weight: 400;
}

.buybar__custom {
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: var(--pink);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.buybar__qty {
	flex: none;
	display: flex;
	align-items: center;
	border: 1.5px solid rgba(255, 247, 239, 0.35);
	border-radius: 999px;
}

.buybar__qty button {
	width: 38px;
	height: 44px;
	border: 0;
	background: none;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--cream);
	cursor: pointer;
}

.buybar__qty span {
	min-width: 1.6em;
	font-weight: 700;
	text-align: center;
}

.buybar .buybar__cta {
	--btn-bg: var(--pink);
	--btn-fg: #fff;
	flex: none;
	min-height: 52px;
	white-space: nowrap;
}

.buybar .buybar__cta:hover {
	--btn-bg: var(--yellow);
	--btn-fg: var(--ink);
}

/* Il "Torna su" sale sopra la barra */
.has-buybar .back-to-top {
	bottom: calc(100px + env(safe-area-inset-bottom));
}

@media (max-width: 700px) {
	.buybar {
		left: 0;
		bottom: 0;
		width: 100%;
		padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
		border-radius: 22px 22px 0 0;
		box-shadow: 0 -16px 40px -16px rgba(27, 21, 21, 0.6);
		transform: translateY(110%);
	}
	.buybar.is-visible {
		transform: none;
	}
	.buybar__inner {
		flex-wrap: wrap;
		gap: 0.55rem 0.7rem;
	}
	.buybar__thumb {
		width: 44px;
		height: 44px;
	}
	.buybar__name {
		font-size: 1rem;
	}
	.buybar__qty button {
		width: 32px;
		height: 38px;
	}
	.buybar .buybar__cta {
		flex: 1 1 100%;
		justify-content: center;
		min-height: 48px;
	}
	.has-buybar .back-to-top {
		bottom: calc(150px + env(safe-area-inset-bottom));
	}
}

/* --- Mobile: anteprima del gusto sopra i bottoni (assets/js/product.js) --- */
.flavor-peek {
	display: none;
}

@media (max-width: 900px) {
	.flavor-peek {
		position: relative;
		display: block;
		height: clamp(170px, 46vw, 260px);
		margin: 0 0 0.9rem;
		border: 2px solid var(--ink);
		border-radius: 20px;
		overflow: hidden;
		background: var(--bg-alt);
		box-shadow: 0 4px 0 var(--ink);
	}
	.flavor-peek.is-empty {
		display: none;
	}
	.flavor-peek__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 50% 40%;
		opacity: 0;
		transition: opacity 0.45s ease;
	}
	.flavor-peek__img.is-front {
		opacity: 1;
	}
	.flavor-peek.is-pop .flavor-peek__img.is-front {
		animation: peek-zoom 0.7s var(--ease);
	}
	.flavor-peek__name {
		position: absolute;
		left: 0.8rem;
		bottom: 0.7rem;
		padding: 0.15rem 0.9rem 0.25rem;
		border: 2px solid var(--ink);
		border-radius: 999px;
		background: #fff;
		font-size: 1.35rem;
		line-height: 1.1;
		box-shadow: 0 3px 0 var(--ink);
		transform: rotate(-3deg);
	}
}

@keyframes peek-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

/* Listino a scaglioni (inc/pricing.php) ------------------------------------- */
.price-table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	border: 2px solid var(--ink);
	border-radius: 18px;
	overflow: hidden;
	background: var(--paper);
	font-size: 0.95rem;
}

.price-table th,
.price-table td {
	padding: 0.65rem 0.9rem;
	border: 0;
	text-align: left;
	vertical-align: middle;
}

.price-table thead th {
	background: var(--ink);
	color: var(--cream);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.price-table tbody tr + tr > * {
	border-top: 1px solid var(--line);
}

.price-table tbody th {
	font-weight: 700;
}

.price-table td:last-child {
	color: var(--ink-soft);
	font-size: 0.85rem;
	white-space: nowrap;
}

.price-table strong {
	font-family: var(--f-display);
	font-size: 1.15rem;
}

.price-table__save {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: var(--lime);
	font-size: 0.72rem;
	font-weight: 800;
	vertical-align: 0.15em;
}

.price-table tr.is-current > * {
	background: color-mix(in srgb, var(--yellow) 55%, #fff);
}

.price-table tr.is-current th::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: var(--pink);
	vertical-align: 0.1em;
}

.price-table--compact {
	font-size: 0.85rem;
	border-radius: 14px;
}

.price-table--compact th,
.price-table--compact td {
	padding: 0.45rem 0.7rem;
}

.price-table--compact strong {
	font-size: 1rem;
}

.sp-price__best {
	display: inline-block;
	margin-top: 0.3rem;
	color: #0a8a3a;
	font-weight: 700;
}

.sp-tiers {
	width: 100%;
	margin: 0.4rem 0 1.2rem;
}

.sp-tiers__title {
	margin: 0 0 0.4rem;
}

.sp-tiers__title .script {
	font-size: 1.6rem;
	color: var(--pink);
}

.sp-tiers__note {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

/* Omaggio primo ordine */
.gift-banner {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.2rem;
	padding: 0.85rem 1rem;
	border: 2px dashed var(--ink);
	border-radius: 18px;
	background: color-mix(in srgb, var(--yellow) 60%, #fff);
	font-size: 0.92rem;
	line-height: 1.4;
}

.gift-banner__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pink);
	color: #fff;
	animation: gift-wiggle 3s ease-in-out infinite;
}

.gift-banner__icon .icon {
	width: 22px;
	height: 22px;
}

@keyframes gift-wiggle {
	0%, 80%, 100% { transform: rotate(0); }
	85% { transform: rotate(-12deg); }
	90% { transform: rotate(10deg); }
	95% { transform: rotate(-6deg); }
}

.gift-banner--kit {
	margin: 1rem 0;
}

/* Porta cannucce in ogni collo */
.sp-holder {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin: 0 0 1.2rem;
	padding: 0.6rem 1rem 0.6rem 0.6rem;
	border-radius: 20px;
	background: var(--bg-alt);
}

.sp-holder__img {
	width: 110px;
	height: 110px;
	object-fit: contain;
	filter: drop-shadow(0 10px 10px rgba(27, 21, 21, 0.2));
}

.sp-holder__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--ink-soft);
}

.sp-holder__text .script {
	display: block;
	font-size: 1.35rem;
	color: var(--pink);
	line-height: 1;
}

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

/* Bottone del gusto "Mix": quattro spicchi di colore */
.flavor-swatch__mix {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 46px;
	height: 46px;
	margin: 5px auto;
	border: 2px solid var(--ink);
	border-radius: 50%;
	overflow: hidden;
	transform: rotate(45deg);
	transition: transform 0.45s var(--ease);
}

.flavor-swatch:hover .flavor-swatch__mix,
.flavor-swatch.is-active .flavor-swatch__mix {
	transform: rotate(135deg) scale(1.1);
}

/* Scatola mista personalizzata */
.sp-custom__box {
	margin-top: 0.9rem;
	padding: 0.8rem 0.9rem;
	border: 2px solid var(--line);
	border-radius: 16px;
}

.sp-custom__box:has(input:checked) {
	border-color: var(--ink);
	background: color-mix(in srgb, var(--pink-soft) 45%, #fff);
}

.sp-custom__boxswitch {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.4;
}

.sp-custom__boxswitch input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.1rem;
	accent-color: var(--pink);
}

.sp-custom__boxswitch strong {
	display: block;
}

.sp-custom__boxpick {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin-top: 0.8rem;
}

.sp-custom__boxpick[hidden] {
	display: none;
}

.sp-custom__boxpick label {
	display: grid;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
}

.sp-custom__boxpick label span::after {
	content: " cannucce";
	font-weight: 500;
	color: var(--ink-soft);
}

.sp-custom__boxpick select {
	width: 100%;
	min-height: 42px;
	padding: 0 0.5rem;
	border: 2px solid var(--ink);
	border-radius: 12px;
	background: var(--paper);
	font: inherit;
	font-size: 0.85rem;
}

.sp-custom__prices {
	margin-top: 0.9rem;
}

/* Carrello laterale: MIX, risparmio, scaglione successivo, omaggio */
.cd-mix {
	display: grid;
	grid-template-columns: 84px 1fr;
	align-items: center;
	gap: 0.8rem;
	margin: 1rem 0 0;
	padding: 0.8rem;
	border: 2px solid var(--ink);
	border-radius: 18px;
	background: linear-gradient(135deg, #ffe3ef, #f0ffd2);
}

.cd-mix__img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	filter: drop-shadow(0 8px 8px rgba(27, 21, 21, 0.2));
}

.cd-mix__title {
	margin: 0;
	font-weight: 800;
	line-height: 1.2;
}

.cd-mix__title .script {
	display: block;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--pink);
}

.cd-mix__flavors {
	margin: 0.2rem 0 0.5rem;
	font-size: 0.8rem;
	color: var(--ink-soft);
}

.cd-mix__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.8rem;
}

.cd-mix__link {
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: underline;
}

.cd-totals__save dd,
.cd-totals__save dt {
	color: #0a8a3a;
	font-weight: 700;
}

.cd-tier,
.cd-gift {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0.6rem 0 0;
	padding: 0.6rem 0.8rem;
	border-radius: 14px;
	font-size: 0.82rem;
	line-height: 1.35;
}

.cd-tier {
	background: color-mix(in srgb, var(--lime) 45%, #fff);
}

.cd-gift {
	background: color-mix(in srgb, var(--yellow) 55%, #fff);
}

.cd-gift .icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--pink);
}

@media (prefers-reduced-motion: reduce) {
	.gift-banner__icon {
		animation: none;
	}
}

@media (max-width: 560px) {
	.price-table th,
	.price-table td {
		padding: 0.55rem 0.6rem;
	}

	.price-table thead th {
		font-size: 0.62rem;
		letter-spacing: 0.06em;
	}

	.price-table strong {
		font-size: 1rem;
	}

	.price-table__save {
		margin-left: 0.2rem;
	}

	.sp-custom__boxpick {
		grid-template-columns: 1fr;
	}
}

/* Carrello laterale: miniatura con foto (SORBOS Mix) e voce "Vuoi personalizzare?" */
.cd-thumb__flavor--photo img {
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: contain;
	filter: drop-shadow(0 4px 4px rgba(27, 21, 21, 0.2));
}

.cd-custom {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	align-items: center;
	gap: 0.8rem;
	margin: 0.8rem 0 0;
	padding: 0.7rem 0.9rem 0.7rem 0.7rem;
	border: 2px dashed var(--pink);
	border-radius: 18px;
	background: color-mix(in srgb, var(--pink-soft) 40%, #fff);
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.3s, transform 0.3s var(--ease);
}

.cd-custom:hover {
	background: color-mix(in srgb, var(--pink-soft) 75%, #fff);
	transform: translateY(-2px);
}

.cd-custom__icon .illu {
	width: 52px;
	height: 52px;
}

.cd-custom__text {
	display: grid;
	gap: 0.15rem;
	line-height: 1.3;
}

.cd-custom__text span {
	font-size: 0.8rem;
	color: var(--ink-soft);
}

.cd-custom > .icon {
	width: 20px;
	height: 20px;
	color: var(--pink);
}

/* Barra fissa: prezzo su una riga; sul telefono si nasconde il totale (resta il prezzo a collo) */
.buybar__price {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.buybar__total {
		display: none;
	}

	.buybar__meta {
		flex-wrap: wrap;
		gap: 0.2rem 0.5rem;
	}
}

/* Cassa: asterisco sui campi aziendali obbligatori (ragione sociale, partita IVA, SDI/PEC) */
[class*="address-form__sorbos-"] input:required + label::after {
	content: " *";
	color: #d6245f;
	font-weight: 700;
}

/* Cassa: miniature dei gusti nel riepilogo dell'ordine (foto scontornate) */
.wc-block-components-order-summary-item__image img {
	object-fit: contain;
	background: var(--bg-alt);
	border-radius: 12px;
}
