// =====================================================================
// Redesign 2026 — Casa Parrina
// Layer sopra Bootstrap 5.3: palette oliva / miele / carta, Fraunces + Work Sans.
// Le variabili stanno in variables.scss.
// =====================================================================
@use "sass:color";
@use "variables" as v;

// ---------- base ----------
body {
	color: v.$ink;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a { color: v.$link_color; }
a:hover { color: v.$link_hover_color; }

h1, h2, h3, h4 {
	font-family: v.$titleFontFamily;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: v.$ink;
}
h1#main-title { font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; color: v.$ink; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.primary-color { color: v.$green; }

:focus-visible { outline: 3px solid v.$honey; outline-offset: 2px; }

// ---------- barra di servizio ----------
.cp-servicebar {
	background: v.$green;
	color: #EFE8D6;
	font-size: 13px;
}
.cp-servicebar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.cp-servicebar a { color: #EFE8D6; text-decoration: none; margin-left: 18px; }
.cp-servicebar a:first-child { margin-left: 0; }
.cp-servicebar a:hover { text-decoration: underline; color: #fff; }

// ---------- header / menu ----------
.cp-logo { height: 48px; width: auto; margin: 10px; display: block; }

body .navbar,
body .navbar.bg-light {
	background: transparent !important;
	border: 0;
	border-top: 1px solid v.$line;
	border-bottom: 1px solid v.$line;
	border-radius: 0 !important;
	box-shadow: none;
}
body .nav-link {
	font-family: v.$menuFontFamily;
	font-size: 15px;
	font-weight: 500;
	color: v.$ink !important;
	padding: 14px 4px;
}
body .nav-item { margin-right: 28px; }
body .nav-item:last-child { margin-right: 0; }
body .nav-item:hover { background: transparent !important; }
body .nav-link:hover,
body .nav-link:focus { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
body .navbar .dropdown-menu {
	border: 1px solid v.$line;
	border-radius: 14px;
	background: v.$card;
	box-shadow: 0 12px 32px -12px rgba(31, 29, 23, .25);
	padding: 8px;
	margin-top: 4px !important;
}
body .dropdown-menu .dropdown-item { border-radius: 8px; padding: 8px 12px; color: v.$ink; }
body .dropdown-menu .dropdown-item:hover { background: v.$sand !important; }
body .dropdown-menu .dropdown-header { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: v.$muted; }
body .dropdown-menu .dropdown-divider { margin: 6px 4px; border-color: v.$line; opacity: 1; }

.cart-link-mobile, .profile-link-mobile { color: v.$ink; }
.cart-total-products { background: v.$honey; color: v.$ink; border-radius: 999px; font-weight: 600; font-size: 12px; padding: 1px 7px; }
.cart-total-products:empty { display: none; }

// ---------- bottoni ----------
.btn {
	border-radius: 999px;
	font-weight: 600;
	padding: .6rem 1.4rem;
	background-image: none;
	box-shadow: none;
	text-shadow: none;
}
body .btn-primary,
body .btn-warning {
	background: v.$honey;
	background-image: none;
	border-color: v.$honey-dark !important;
	color: v.$ink !important;
	/* Bootstrap usa queste variabili per hover, active, focus e .show: senza di esse lo stato selezionato torna blu */
	--bs-btn-color: #{v.$ink};
	--bs-btn-bg: #{v.$honey};
	--bs-btn-border-color: #{v.$honey-dark};
	--bs-btn-hover-color: #{v.$ink};
	--bs-btn-hover-bg: #{v.$honey-dark};
	--bs-btn-hover-border-color: #{v.$honey-dark};
	--bs-btn-focus-shadow-rgb: 217, 162, 58;
	--bs-btn-active-color: #{v.$ink};
	--bs-btn-active-bg: #{v.$honey-dark};
	--bs-btn-active-border-color: #{v.$honey-dark};
	--bs-btn-disabled-bg: #{v.$honey};
	--bs-btn-disabled-border-color: #{v.$honey-dark};
}
body .btn-primary:hover,
body .btn-warning:hover { background: v.$honey-dark; background-image: none; color: v.$ink !important; }
body .btn-default,
body .btn-green {
	background: v.$ink;
	background-image: none;
	border-color: v.$ink;
	color: #F6F1E6 !important;
}
body .btn-default:hover,
body .btn-green:hover { background: v.$green; border-color: v.$green; color: #fff !important; }
.btn-outline-dark, .btn-outline { border: 1.5px solid v.$ink; color: v.$ink; background: transparent; }

.form-control, .form-select { border-radius: 12px; border-color: #BFB394; background-color: v.$card; min-height: 44px; }
.card, .list-group-item { background: v.$card; border-color: #E4DAC3; }
.card { border-radius: 20px; }
.card-header { background: v.$sand; }
.alert { border-radius: 14px; }

// ---------- footer ----------
.modern-footer {
	background: v.$ink;
	color: #CFC8B4;
	padding: 56px 0 24px;
	margin-top: 64px;
	font-size: 14px;
}
.modern-footer a { color: #CFC8B4; text-decoration: none; }
.modern-footer a:hover { color: #fff; text-decoration: underline; }
.modern-footer .text-muted, .modern-footer .motto { color: #A39C88 !important; }
.modern-footer .footer-title { font-family: v.$menuFontFamily; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #F6F1E6; font-weight: 600; }
.modern-footer .quick-links { list-style: none; padding: 0; margin: 0; }
.modern-footer .quick-links li { padding: 3px 0; }
.modern-footer .quick-links a[style] { color: #BFD2A0 !important; }
.modern-footer .list-group-item { background: transparent !important; border: 0; color: #CFC8B4; }
.modern-footer .email, .modern-footer .copyright { color: #CFC8B4; }
.cp-footer-logo { height: 44px; width: auto; }
hr { border-color: v.$line; opacity: 1; }

// =====================================================================
// HOMEPAGE
// =====================================================================
.cp-eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #6B5212; font-weight: 600; }

.cp-hero { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; padding: 0px 0 30px; }
.cp-hero-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cp-hero h1 { margin: 0; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.035em; }
.cp-hero-lead { margin: 0; font-size: 1.15rem; color: v.$ink-soft; max-width: 33rem; }
.cp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cp-hero-actions .btn { min-height: 52px; display: inline-flex; align-items: center; padding: 0 1.8rem; }
.cp-hero-points { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: v.$ink-soft; list-style: none; padding: 0; margin: 8px 0 0; }
.cp-hero-media { flex: 1 1 500px; min-width: 0; }
.cp-hero-media .carousel-inner { border-radius: 24px; overflow: hidden; }

.cp-section { padding: 30px 0; }
.cp-section--sand { background: v.$sand; }
.cp-section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.cp-section-head h2 { margin: 0; }
.cp-section-head a { font-weight: 600; }

.cp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cp-cat { text-decoration: none; color: v.$ink; display: flex; flex-direction: column; gap: 10px; }
.cp-cat:hover { color: v.$ink; }
.cp-cat-img { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #E4D7B8; }
.cp-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cp-cat:hover .cp-cat-img img { transform: scale(1.04); }
.cp-cat-name { font-weight: 600; font-size: 1.05rem; }

.cp-experience { background: v.$green; color: #EFE8D6; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cp-experience h2 { color: #F6F1E6; margin: 8px 0 8px; }
.cp-experience .cp-eyebrow { color: v.$honey; }
.cp-experience p { margin: 0; color: #D8D1BC; max-width: 34rem; }
.cp-experience .btn { min-height: 52px; display: inline-flex; align-items: center; }

.cp-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cp-news-item { text-decoration: none; color: v.$ink; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cp-news-item:hover { color: v.$ink; border-color: v.$green; }
.cp-news-date { font-size: 13px; color: v.$muted; font-weight: 500; }
.cp-news-title { font-family: v.$titleFontFamily; font-size: 1.35rem; line-height: 1.2; margin: 0; }
.cp-news-text { font-size: .95rem; color: v.$ink-soft; margin: 0; }

#other-products-slider .other-product-item { background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 14px; }
.other-product-item-title { font-weight: 600; color: v.$ink; }

.cp-newsletter { background: v.$honey; padding: 48px 24px; margin: 24px 0 0; border-radius: 28px; }
.cp-newsletter h2 { margin: 0 0 6px; color: v.$ink; }
.cp-newsletter p { margin: 0 0 18px; color: #2B2618; }
.cp-newsletter form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cp-newsletter input[type=email] { width: min(100%, 360px) !important; border: 1.5px solid v.$ink; border-radius: 999px; padding: 0 20px; min-height: 52px; background: v.$card; }
.cp-newsletter .btn { min-height: 52px; background: v.$ink !important; border-color: v.$ink !important; color: #F6F1E6 !important; }

@media (max-width: 575.98px) {
	.cp-section { padding: 44px 0; }
	.cp-experience { padding: 28px 22px; }
}


// =====================================================================
// HEADER (riga singola)
// =====================================================================
.cp-header { background: v.$body-background; }
body .cp-navbar.navbar { padding: 0; border-top: 0; }
.cp-header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 6px; padding-bottom: 6px; }
.cp-brand { display: block; line-height: 0; }
.cp-logo { height: 52px; width: auto; margin: 6px 0; }
.cp-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; order: 2; }
.cp-tool { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: v.$ink; font-size: 1.15rem; text-decoration: none; border-radius: 999px; }
.cp-tool:hover { background: v.$sand; color: v.$ink; }
.cp-cartpill { height: 44px; padding: 0 16px; display: inline-flex; gap: 8px; align-items: center; background: v.$ink; color: #F6F1E6; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; }
.cp-cartpill:hover { background: v.$green; color: #fff; }
.cp-cartpill .cart-total-products { margin-left: 2px; }
.cp-toggler { border: 0 !important; width: 44px; height: 44px; font-size: 1.3rem; }
.cp-nav { order: 3; width: 100%; }
.cp-nav .navbar-nav { padding: 8px 0; }
.cp-lang-btn { border: 1px solid v.$line; border-radius: 999px; color: v.$ink; background: transparent; min-height: 36px; font-size: 13px; }
@media (min-width: 1200px) {
	.cp-header-row { flex-wrap: nowrap; }
	.cp-nav { order: 2; width: auto; flex: 1 1 auto; display: flex !important; align-items: center; justify-content: space-between; }
	.cp-nav .navbar-nav { margin: 0 auto; }
	.cp-tools { order: 3; margin-left: 0; }
	.cp-toggler { display: none; }
}

// =====================================================================
// COMPONENTI COMUNI
// =====================================================================
.cp-lead { font-size: 1.1rem; color: v.$ink-soft; max-width: 38rem; margin: 0; }
.cp-h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1.25rem; }
.cp-h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.25rem; }
.cp-more { font-weight: 600; color: v.$green; }

.cp-notice { background: #FBEBD0; border: 1px solid v.$honey; border-radius: 14px; padding: 12px 18px; margin: 16px 0; color: #5A4210; font-weight: 500; }
.cp-notice--small { margin: 10px 0 0; font-size: .9rem; }

.cp-pagehead { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; padding: 48px 0 28px; }
.cp-pagehead--tight { padding: 16px 0 24px; }
.cp-pagehead-text { flex: 1 1 480px; min-width: 0; }
.cp-pagehead h1 { margin: 8px 0 12px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; }
.cp-pagehead-side { flex: 0 1 380px; min-width: 0; }

.cp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: v.$muted; padding-top: 28px; }
.cp-crumbs a { color: v.$muted; }

.cp-infobar { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; padding: 14px 22px; border-radius: 16px; background: v.$sand; font-size: 15px; }
.cp-infobar > .ms-auto { font-weight: 500; }

.cp-search-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.cp-search-field { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1.5px solid v.$ink; border-radius: 999px; background: v.$card; }
.cp-search-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: v.$ink; outline: none; }
.cp-search--inline .cp-search-field { min-height: 44px; border-color: #BFB394; }

.cp-crosslink { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: 20px; background: v.$sand; margin: 40px 0 8px; }
.cp-crosslink strong { display: block; font-size: 1.1rem; }
.cp-crosslink span { color: v.$ink-soft; }
.cp-crosslink-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cp-empty { text-align: center; padding: 72px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cp-empty > i { font-size: 3.5rem; color: #CBB98E; }
.cp-empty h1, .cp-empty h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cp-empty p { margin: 0; color: v.$ink-soft; font-size: 1.1rem; }
.cp-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cp-empty--inline { background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; }

// ---------- indice prodotti ----------
.cp-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cp-catcard { display: flex; flex-direction: column; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; overflow: hidden; text-decoration: none; color: v.$ink; transition: border-color .2s, transform .2s; }
.cp-catcard:hover { color: v.$ink; border-color: v.$green; transform: translateY(-2px); }
.cp-catcard-img { aspect-ratio: 16 / 10; background: #E4D7B8; overflow: hidden; }
.cp-catcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-catcard-body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 18px; }
.cp-catcard-name { font-weight: 600; font-size: 1.1rem; }
.cp-catcard-arrow { width: 38px; height: 38px; flex: none; border: 1px solid #BFB394; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.cp-catcard:hover .cp-catcard-arrow { background: v.$ink; color: #fff; border-color: v.$ink; }

.cp-gift { background: v.$green; color: #EFE8D6; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; margin: 24px 0 40px; }
.cp-gift h2 { color: #F6F1E6; margin: 8px 0 8px; }
.cp-gift .cp-eyebrow { color: v.$honey; }
.cp-gift p { margin: 0; color: #D8D1BC; max-width: 34rem; }
.cp-gift-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-light { border: 1.5px solid #EFE8D6; color: #EFE8D6; background: transparent; }
.btn-outline-light:hover { background: #EFE8D6; color: v.$ink; }

// ---------- categoria / schede prodotto ----------
.cp-shop { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; padding-bottom: 48px; }
.cp-shop-side { flex: 1 1 200px; max-width: 250px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.cp-shop-side .cp-eyebrow { margin-bottom: 8px; }
.cp-side-link { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: v.$ink; text-decoration: none; font-size: 15px; }
.cp-side-link:hover { background: v.$sand; color: v.$ink; }
.cp-side-link.is-active { background: v.$green; color: #EFE8D6; font-weight: 600; }
.cp-shop-main { flex: 999 1 560px; min-width: 0; }
.cp-prodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.cp-prodcard { display: flex; flex-direction: column; gap: 14px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 22px; padding: 14px 14px 20px; }
.cp-prodcard-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #EDE3CC; }
.cp-prodcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: v.$green; color: #EFE8D6; font-size: 12px; font-weight: 600; }
.cp-prodcard-body { padding: 0 6px; display: flex; flex-direction: column; gap: 6px; }
.cp-prodcard-meta { font-size: 13px; color: v.$muted; }
.cp-prodcard-title { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.cp-prodcard-title a { color: v.$ink; text-decoration: none; }
.cp-prodcard-title a:hover { text-decoration: underline; }
.cp-prodcard-desc { margin: 0; font-size: .95rem; color: v.$ink-soft; }
.cp-prodcard-foot { padding: 0 6px; margin-top: auto; }
.cp-pricebox { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin-bottom: 10px; }
.cp-price { font-size: 1.5rem; font-weight: 600; }
.cp-price-old { font-size: .85rem; color: v.$muted; }
.cp-price-label { padding: 2px 10px; font-size: .8rem; border-radius: 999px; }
.cp-addrow { display: flex; gap: 10px; align-items: center; }
.cp-qty { width: 72px; flex: none; }
.cp-addbtn { flex: 1; min-height: 44px; }
.cp-unavailable { padding: 10px 14px; border-radius: 12px; background: #F4DDD6; color: #7A2A1B; font-weight: 600; font-size: .95rem; }

// ---------- carrello ----------
.cp-cartbar { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid v.$line; margin-bottom: 8px; }
.cp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: v.$muted; }
.cp-steps li { display: flex; gap: 8px; align-items: center; }
.cp-steps li span { width: 26px; height: 26px; border-radius: 999px; border: 1px solid #BFB394; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.cp-steps li.is-current { color: v.$ink; font-weight: 600; }
.cp-steps li.is-current span { background: v.$ink; color: #F6F1E6; border-color: v.$ink; }
.cp-backlink { font-weight: 500; }

.cp-cart { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; padding: 24px 0 40px; }
.cp-cart-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cp-cart-side { flex: 1 1 320px; min-width: 0; background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; text-align: left; }
.cp-cart-side h2 { margin: 0; font-size: 1.7rem; text-align: left; }
.cp-shipbar.alert { margin: 0; border: 0; background: v.$sand; color: v.$ink; border-radius: 16px; padding: 16px 20px; }
.cp-shipbar.alert-success { background: #E2EBD0; color: #2F3A22; }
.cp-cartlines { border-top: 1px solid v.$line; }
.cp-cartline { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid v.$line; }
.cp-cartline-img { width: 92px; height: 92px; flex: none; border-radius: 12px; overflow: hidden; background: #EDE3CC; display: block; }
.cp-cartline-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-cartline-info { flex: 1 1 200px; min-width: 0; }
.cp-cartline-title { font-family: v.$titleFontFamily; font-size: 1.3rem; line-height: 1.2; color: v.$ink; text-decoration: none; display: block; }
.cp-cartline-unit { font-size: 14px; color: v.$muted; }
.cp-remove { font-size: 14px; color: v.$green; }
.cp-cartline-qty .form-select { width: 84px; }
.cp-cartline-total { min-width: 90px; text-align: right; font-weight: 600; font-size: 1.15rem; }
.cp-sumrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1.05rem; }
.cp-sumrow strong { font-family: v.$titleFontFamily; font-size: 2rem; font-weight: 400; line-height: 1.1; white-space: nowrap; }
.cp-sumnote { margin: 0; font-size: 14px; color: v.$muted; text-align: left; }
.cp-checkout { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; width: 100%; }
.cp-sumhelp { font-size: 14px; color: v.$ink-soft; text-align: center; }

// ---------- notizie ----------
.cp-featured { display: block; text-decoration: none; color: v.$ink; background: v.$green; border-radius: 28px; padding: 40px; margin-bottom: 32px; }
.cp-featured:hover { color: #fff; }
.cp-featured-body { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; }
.cp-featured-meta { font-size: 13px; color: #C9C2AC; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cp-tag { padding: 3px 12px; border-radius: 999px; background: v.$honey; color: v.$ink; font-weight: 600; }
.cp-featured-title { font-family: v.$titleFontFamily; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; color: #F6F1E6; }
.cp-featured-text { color: #D8D1BC; font-size: 1.05rem; }
.cp-featured .cp-more { color: v.$honey; }

.cp-newsfilter { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-pill { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid #BFB394; border-radius: 999px; color: v.$ink; text-decoration: none; font-size: 14px; font-weight: 500; }
.cp-pill:hover { background: v.$sand; color: v.$ink; }
.cp-pill.is-active { background: v.$ink; border-color: v.$ink; color: #F6F1E6; }
.cp-newstools { display: flex; gap: 12px; align-items: center; }
.cp-rss { font-size: 14px; font-weight: 500; }
.cp-newsgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-bottom: 32px; }
.cp-newscard { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; text-decoration: none; color: v.$ink; }
.cp-newscard:hover { color: v.$ink; border-color: v.$green; }
.cp-newscard-date { font-size: 13px; color: v.$muted; font-weight: 500; }
.cp-newscard-title { margin: 0; font-size: 1.4rem; line-height: 1.2; }
.cp-newscard-text { margin: 0; font-size: .95rem; color: v.$ink-soft; }
.cp-newscard .cp-more { margin-top: auto; font-size: 14px; }
.pagination { justify-content: center; gap: 4px; }
.pagination .page-link { border-radius: 999px !important; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-color: #BFB394; }

// ---------- eventi ----------
.cp-events { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.cp-event { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding: 24px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; }
.cp-datebox { width: 112px; flex: none; border-radius: 16px; background: v.$green; color: #EFE8D6; text-align: center; padding: 14px 8px; display: flex; flex-direction: column; line-height: 1.15; }
.cp-datebox-month { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.cp-datebox-day { font-family: v.$titleFontFamily; font-size: 1.9rem; }
.cp-datebox-year { font-size: 13px; color: #C9C2AC; }
.cp-event-body { flex: 1 1 340px; min-width: 0; }
.cp-event-title { margin: 0 0 4px; font-size: 1.6rem; line-height: 1.15; }
.cp-event-when { font-size: 14px; color: v.$muted; }
.cp-event-text { margin: 8px 0 0; color: v.$ink-soft; }
.cp-event-where { display: flex; gap: 10px; min-width: 200px; font-size: 15px; }
.cp-event-where i { margin-top: 4px; color: v.$green; }
.cp-archive-row { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid v.$line; align-items: baseline; }
.cp-archive-date { width: 230px; font-size: 14px; color: v.$muted; font-weight: 500; }
.cp-archive-title { flex: 1 1 240px; font-weight: 600; }
.cp-archive-where { font-size: 14px; }

// ---------- esperienze ----------
.cp-xhero { margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%); background: linear-gradient(rgba(31, 29, 23, .55), rgba(31, 29, 23, .68)), url('/images/casaparrina_lancio_hp_esperienze.jpg') center / cover, v.$olive-mid; color: #F6F1E6; min-height: 460px; display: flex; align-items: flex-end; }
.cp-xhero-inner { padding: 72px 0 56px; max-width: 46rem; display: flex; flex-direction: column; gap: 18px; }
.cp-xhero h1 { color: #F6F1E6; margin: 0; font-size: clamp(2.3rem, 5.5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.cp-xhero p { margin: 0; font-size: 1.15rem; color: #E4DDC8; }
.cp-xhero .cp-eyebrow { color: #E7BE6B; }
.cp-xmain { display: flex; flex-wrap: wrap; gap: 48px 64px; padding: 72px 0; align-items: flex-start; }
.cp-xinfo { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cp-xinfo h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.cp-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.cp-timeline li { display: flex; gap: 18px; }
.cp-timeline-n { width: 44px; height: 44px; flex: none; border-radius: 999px; background: v.$green; color: #EFE8D6; display: inline-flex; align-items: center; justify-content: center; font-family: v.$titleFontFamily; font-size: 1.2rem; }
.cp-timeline strong { font-size: 1.15rem; }
.cp-timeline p { margin: 4px 0 0; color: v.$ink-soft; }
.cp-seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.cp-seasons span { padding: 16px; border-radius: 14px; background: v.$sand; font-weight: 600; text-align: center; }
.cp-xbook { flex: 1 1 400px; min-width: 0; background: v.$card; border: 1px solid #E4DAC3; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.cp-xbook h3 { margin: 4px 0 0; font-size: 1.6rem; }
.cp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.cp-facts div { padding: 12px 6px; border-radius: 14px; background: v.$sand; }
.cp-facts strong { display: block; font-family: v.$titleFontFamily; font-size: 1.5rem; font-weight: 400; }
.cp-facts span { font-size: 13px; color: v.$muted; }
.cp-stepper { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cp-stepper span { display: block; font-size: 13px; color: v.$muted; }
.cp-stepper-ctl { display: flex; align-items: center; border: 1px solid #BFB394; border-radius: 999px; }
.cp-stepper-ctl button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: v.$ink; border-radius: 999px; }
.cp-stepper-ctl button:hover { background: v.$sand; }
.cp-stepper-ctl output { min-width: 28px; text-align: center; font-weight: 600; }
.cp-check { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.cp-check input { width: 20px; height: 20px; accent-color: v.$green; }
.cp-check small { color: v.$muted; }
.cp-field { font-weight: 600; font-size: 15px; margin-bottom: -8px; }
.cp-xtotal { border-top: 1px solid v.$line; padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.cp-xtotal-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.cp-xtotal-row strong { font-family: v.$titleFontFamily; font-size: 2.2rem; font-weight: 400; }
.cp-xtotal-note { color: v.$green; font-weight: 600; font-size: 14px; }
.cp-xtotal-warn { color: #8A2E1F; font-weight: 600; font-size: 14px; }
.cp-conditions { background: v.$sand; border-radius: 28px; padding: 44px; margin-bottom: 56px; }
.cp-conditions h2 { margin: 0 0 22px; }
.cp-condgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cp-condgrid div { background: v.$card; border-radius: 18px; padding: 22px; }
.cp-condgrid strong { display: block; font-family: v.$titleFontFamily; font-size: 2rem; font-weight: 400; }
.cp-condgrid span { color: v.$ink-soft; }
.cp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cp-gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #E4D7B8; }
.cp-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cp-gallery-item:hover img { transform: scale(1.05); }

// ---------- punto vendita ----------
.cp-shophero { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: stretch; padding: 48px 0 64px; }
.cp-shophero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.cp-shophero h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
.cp-shophero-img { flex: 1 1 520px; min-width: 0; min-height: 360px; border-radius: 28px; overflow: hidden; background: #E4D7B8; display: block; }
.cp-shophero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-openstatus { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 999px; background: v.$card; border: 1px solid #E4DAC3; font-weight: 600; }
.cp-dot { width: 10px; height: 10px; border-radius: 999px; background: #9A9484; }
.cp-openstatus.is-open .cp-dot { background: #3F8A3A; }
.cp-openstatus.is-closed .cp-dot { background: #8A2E1F; }
.cp-shopinfo { background: v.$green; color: #EFE8D6; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px 64px; margin-bottom: 40px; }
.cp-shopinfo h2 { color: #F6F1E6; margin: 0 0 20px; }
.cp-hours, .cp-where { flex: 1 1 380px; min-width: 0; }
.cp-hours-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.cp-hours-table th, .cp-hours-table td { padding: 13px 0; border-bottom: 1px solid #4C5939; font-weight: 500; }
.cp-hours-table th { background: none; color: inherit; text-align: left; }
.cp-hours-table td { text-align: right; }
.cp-hours-table tr.is-closed { opacity: .8; }
.cp-hours-table tr.is-today { color: #E7BE6B; font-weight: 600; }
.cp-address { font-size: 1.3rem; }
.cp-where .cp-sumhelp { text-align: left; color: #D8D1BC; }
.cp-where a { color: #E7BE6B; }
.cp-map { width: 100%; height: 420px; border-radius: 24px; overflow: hidden; }

@media (max-width: 575.98px) {
	.cp-gift, .cp-conditions, .cp-shopinfo, .cp-featured { padding: 28px 22px; }
	.cp-event { padding: 20px; }
	.cp-cartline-total { margin-left: auto; }
}

.cp-nav .nav-link { padding-left: .6rem; padding-right: .6rem; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .cp-logo { height: 44px; } .cp-nav .nav-link { padding-left: .45rem; padding-right: .45rem; font-size: .92rem; } }


// =====================================================================
// PAGINE DI CONTENUTO (miele, azienda, dove siamo, premi, ...)
// =====================================================================
.cp-prose { font-size: 1.08rem; color: v.$ink-soft; }
.cp-prose p { max-width: 44rem; margin: 0 0 1.1rem; }
.cp-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 .8rem; border: 0; }
.cp-split { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; margin-bottom: 40px; }
.cp-split-main { flex: 1 1 420px; min-width: 0; }
.cp-split-side { flex: 0 1 380px; min-width: 0; }
.cp-split--center { align-items: center; }
.cp-photo img { width: 100%; height: auto; border-radius: 20px; display: block; border: 0; padding: 0; background: transparent; }
.cp-card { background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 24px; }
.cp-card h3 { font-size: 1.4rem; margin: 0 0 6px; }
.cp-card p { margin: 0; color: v.$ink-soft; }
.cp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0 0 40px; }
.cp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 0 0 40px; }
.cp-stat { background: v.$green; color: #EFE8D6; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; }
.cp-stat > div { min-width: 0; align-self: stretch; }
.cp-stat-img { width: 56px; height: 56px; flex: none; object-fit: contain; object-position: left center; }
.cp-stat strong { display: block; font-family: v.$titleFontFamily; font-weight: 400; font-size: 2.3rem; line-height: 1; color: #F6F1E6; }
.cp-stat span { display: block; margin-top: 8px; color: #D8D1BC; font-size: .95rem; }
.cp-olsteps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.cp-olsteps li { counter-increment: s; display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid v.$line; }
.cp-olsteps li::before { content: counter(s); flex: none; font-family: v.$titleFontFamily; font-size: 1.9rem; line-height: 1; color: v.$honey-dark; width: 38px; }
.cp-olsteps b { display: block; font-size: 1.1rem; color: v.$ink; }
.cp-olsteps span { color: v.$ink-soft; }
.cp-timeline { border-left: 2px solid v.$honey; padding-left: 28px; display: flex; flex-direction: column; gap: 26px; margin: 0; list-style: none; }
.cp-timeline li { position: relative; }
.cp-timeline li::before { content: ""; position: absolute; left: -37px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: v.$honey; border: 3px solid v.$body-background; }
.cp-timeline .when { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6B5212; font-weight: 600; }
.cp-timeline h3 { font-size: 1.45rem; margin: 2px 0 4px; }
.cp-timeline p { margin: 0; color: v.$ink-soft; }
.cp-rows { background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; padding: 6px 28px; margin: 0 0 40px; list-style: none; }
.cp-rows li { padding: 16px 0; border-bottom: 1px solid v.$line; }
.cp-rows li:last-child { border-bottom: 0; }
.cp-rows .when { font-size: 14px; color: v.$muted; font-weight: 500; }
.cp-prizes { display: flex; flex-direction: column; gap: 16px; margin: 0 0 48px; }
.cp-prize { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding: 22px 24px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; text-decoration: none; color: v.$ink; }
.cp-prize:hover { border-color: v.$green; color: v.$ink; }
.cp-prize-year { width: 104px; flex: none; text-align: center; border-radius: 16px; background: v.$green; color: v.$honey; padding: 16px 8px; font-family: v.$titleFontFamily; font-size: 2rem; }
.cp-prize-text { flex: 1 1 320px; font-family: v.$titleFontFamily; font-size: 1.5rem; line-height: 1.2; }
.cp-prize-go { font-weight: 600; }
.cp-mapframe { border: 0; border-radius: 24px; width: 100%; height: 420px; display: block; }
.cp-qr { display: flex; gap: 18px; align-items: center; background: v.$sand; border-radius: 20px; padding: 20px; margin-top: 20px; }
.cp-qr img { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 6px; flex: none; }
.cp-pager-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 56px; }

// tipi di miele
.cp-honey-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.cp-honey-index a { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; border: 1px solid #BFB394; border-radius: 999px; font-size: 14px; text-decoration: none; color: v.$ink; }
.cp-honey-index a:hover { background: v.$sand; }
.cp-honeys { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 56px; }
.cp-honey { background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.cp-honey img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border: 0; padding: 0; border-radius: 0; }
.cp-honey-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cp-honey h3 { font-size: 1.5rem; margin: 0; }
.cp-honey .latin { font-style: italic; font-size: 13px; color: v.$muted; margin-bottom: 8px; }
.cp-honey dl { margin: 0; }
.cp-honey dl div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid #E4DAC3; font-size: 14px; }
.cp-honey dt { color: v.$muted; font-weight: 400; flex: none; }
.cp-honey dd { margin: 0; text-align: right; }
.cp-honey .cp-honey-buy { margin-top: auto; padding-top: 14px; }

// abbinamenti miele/formaggio
#abbinamenti-container h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 8px; padding-top: 28px; border: 0; }
#abbinamenti-container > p { max-width: 46rem; color: v.$ink-soft; }
#abbinamenti-container hr { border: 0; border-top: 1px solid v.$line; margin: 32px 0 0; opacity: 1; }
.abbinamento-box-cheese { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0; }
.cheese-box { float: none !important; margin: 0 !important; width: 130px; text-align: center; }
.cheese-box img { width: 130px; height: 130px; object-fit: cover; border-radius: 16px; display: block; border: 0; }
.cheese-box p { margin: 6px 0 0; font-size: 13px; font-weight: 500; }
.more-info-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.more-info-links a { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border: 1.5px solid v.$ink; border-radius: 999px; color: v.$ink; text-decoration: none; font-weight: 600; font-size: 14px; }
.more-info-links a:hover { background: v.$ink; color: #F6F1E6; }

// rivenditori
#lista-rivenditori { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; padding: 0; }
#lista-rivenditori li { background: v.$card !important; border: 1px solid #E4DAC3; border-radius: 20px; padding: 20px !important; margin: 0 !important; }
#lista-rivenditori .retailer-name { font-family: v.$titleFontFamily; font-size: 1.3rem; font-weight: 400 !important; }
#map.map-view { border-radius: 24px; overflow: hidden; border: 1px solid #E4DAC3; }
#retailer_city { max-width: 340px; border-radius: 999px; min-height: 46px; border-color: v.$ink; }

// itinerari
.itineraries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 36px; }
@media (max-width: 991.98px) { .itineraries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .itineraries { grid-template-columns: minmax(0, 1fr); } }
.itineraries > .d-flex { flex-direction: column; min-width: 0; margin: 0 !important; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 14px; gap: 14px; }
.itineraries .flex-shrink-0 { width: 100%; }
.itineraries .flex-shrink-0 img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px !important; }
.itineraries .flex-grow-1 { width: 100%; min-width: 0; margin-left: 0 !important; }
.itineraries .description { display: block; overflow-wrap: anywhere; }
.itineraries .itinerary-title { margin: 0 0 4px !important; font-size: 1.15rem; }
.itineraries .itinerary-title a { text-decoration: none; }
body h2.cp-it-h2, .itineraries ~ h2 { border: 0 !important; }


// =====================================================================
// DETTAGLIO PRODOTTO
// =====================================================================
.cp-pd { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; padding: 24px 0 56px; }
.cp-pd-media { flex: 1 1 440px; min-width: 0; }
.cp-pd-media a { display: block; }
.cp-pd-media img { width: 100%; height: auto; border-radius: 24px; background: v.$card; border: 1px solid #E4DAC3; display: block; padding: 0; }
.cp-pd-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cp-pd-title { margin: 6px 0 0; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; }
.cp-pd-info .cp-pricebox { margin: 0; }
.cp-pd-info .cp-price { font-size: 2.2rem; }
.cp-pd-meta { margin: 0; color: v.$ink-soft; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cp-pd-buy { background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cp-pd-buyrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.cp-pd-qty { width: 92px; min-height: 52px; border: 1.5px solid v.$ink; border-radius: 999px; padding-left: 20px; }
.cp-pd-add { flex: 1 1 220px; min-height: 52px; font-size: 1rem; }
.cp-pd-wa { font-weight: 600; font-size: .95rem; }
.cp-pd-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; font-size: 14px; color: v.$ink-soft; }
.cp-pd-trust li { background: v.$sand; border-radius: 14px; padding: 12px 14px; }
.cp-pd-trust b { display: block; color: v.$ink; }
.cp-pd-recycle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: v.$green; }
.cp-pd-recycle img { width: 28px; height: auto; }
.cp-pd-sections { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; padding-bottom: 48px; }
.cp-pd-desc { flex: 1 1 420px; min-width: 0; }
.cp-pd-desc h2:first-child { margin-top: 0; }
.cp-pd-facts { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cp-nutrition table { width: 100%; border-collapse: collapse; font-size: .95rem; --bs-table-bg: transparent; --bs-table-accent-bg: transparent; --bs-table-striped-bg: transparent; color: inherit; }
.cp-nutrition td, .cp-nutrition th { padding: 8px 0; border-top: 1px solid #E4DAC3; text-align: left; }
.cp-nutrition table > tbody > tr > td, .cp-nutrition table > tbody > tr > th, .cp-nutrition table > tr > td, .cp-nutrition table > tr > th { background-color: transparent; box-shadow: none; --bs-table-accent-bg: transparent; color: inherit; }
.cp-nutrition td:last-child, .cp-nutrition th:last-child { text-align: right; font-weight: 600; }
.cp-nutrition tr:first-child td, .cp-nutrition tr:first-child th { border-top: 0; }
.cp-pd-similar { background: v.$sand; border-radius: 28px; padding: 36px 32px 40px; margin-bottom: 56px; }
.cp-pd-similar h2 { margin: 0 0 20px; }


// =====================================================================
// CAROSELLI (bxSlider prodotti + carosello home)
// =====================================================================
body .bx-wrapper { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 4px 0 0 !important; margin: 0 auto 36px !important; max-width: none !important; }
.bx-wrapper .bx-viewport { border: 0 !important; box-shadow: none !important; background: transparent !important; left: 0 !important; }
#other-products-slider .slide.other-product-item,
#other-products-slider .other-product-item { background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 10px 10px 8px; text-align: center; cursor: pointer; height: auto; box-sizing: border-box; transition: border-color .2s, background-color .2s; }
#other-products-slider .other-product-item:hover { border-color: v.$green; }
#other-products-slider .bx-loading, .bx-wrapper .bx-loading { background-color: transparent !important; }
#other-products-slider { background: transparent; }
#other-products-slider .other-product-item > a { text-decoration: none; color: v.$ink; display: block; }
.other-product-item-photo { width: 100% !important; max-width: 110px !important; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 12px; background: #fff !important; margin: 0 auto 8px !important; display: block; }
.other-product-item-title { font-family: v.$titleFontFamily; font-weight: 400 !important; font-size: 1.05rem !important; line-height: 1.2; min-height: 2.4em; height: auto !important; margin: 2px 0 4px !important; color: v.$ink; }
.other-product-item .cp-price, .other-product-item .price { font-size: 1.25rem !important; color: v.$ink !important; font-weight: 600; margin: 0 !important; }
.other-product-item .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.bx-wrapper .bx-controls-direction a { width: 44px !important; height: 44px !important; margin-top: -30px !important; background: v.$ink !important; border-radius: 50%; text-indent: 0 !important; font-size: 0; opacity: .92; transition: background .2s; }
.bx-wrapper .bx-controls-direction a:hover { background: v.$green !important; }
.bx-wrapper .bx-controls-direction a::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border: solid #F6F1E6; border-width: 0 0 2.5px 2.5px; }
.bx-wrapper .bx-prev { left: -8px !important; } .bx-wrapper .bx-prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.bx-wrapper .bx-next { right: -8px !important; } .bx-wrapper .bx-next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.bx-wrapper .bx-controls-direction a.disabled { display: none; }
.bx-wrapper .bx-pager { bottom: -30px !important; padding-top: 0 !important; }
.bx-wrapper .bx-pager.bx-default-pager a { background: #D8CDB1 !important; width: 9px; height: 9px; margin: 0 4px; text-indent: -9999px; }
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus { background: v.$honey-dark !important; }

// carosello home (Bootstrap)
#hp-carousel { max-width: 100% !important; width: 100%; }
#carousel-inner-hp { max-width: none !important; background: v.$card !important; border: 1px solid #E4DAC3 !important; border-radius: 24px !important; padding: 10px !important; }
#hp-carousel .carousel-inner { border-radius: 18px; }
#hp-carousel .carousel-control-prev, #hp-carousel .carousel-control-next { width: 48px; height: 48px; top: 50%; bottom: auto; transform: translateY(-50%); margin: 0 14px; background: v.$ink; border-radius: 50%; opacity: .88; }
#hp-carousel .carousel-control-prev:hover, #hp-carousel .carousel-control-next:hover { background: v.$green; opacity: 1; }
#hp-carousel .carousel-control-prev-icon, #hp-carousel .carousel-control-next-icon { filter: invert(1); width: 1.1rem; height: 1.1rem; }
#hp-carousel .carousel-indicators { bottom: -34px !important; margin-bottom: 0; }
#hp-carousel .carousel-indicators button { width: 9px; height: 9px; border-radius: 50%; border: 0; margin: 0 4px; background-color: #D8CDB1 !important; opacity: 1; }
#hp-carousel .carousel-indicators button.active { background-color: v.$honey-dark !important; }
.cp-hero-media { padding-bottom: 38px; }


// =====================================================================
// HOME — bande a tutta larghezza come da proposta
// =====================================================================
html, body { overflow-x: clip; }
.cp-band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 40px calc(50vw - 50%); }
.cp-band--sand { background: v.$sand; }
.cp-band--green { background: v.$green; color: #EFE8D6; }
.cp-band--card { background: v.$card; border-top: 1px solid #E4DAC3; }
.cp-band--honey { background: v.$honey; border-radius: 0 !important; margin-top: 0 !important; }
.cp-band .cp-section-head { margin-bottom: 36px; }
.cp-band .cp-section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.cp-hero { padding-top: 64px; }
.cp-hero-media { display: flex; flex-direction: column; gap: 16px; padding-bottom: 0; }
.cp-hero-media > div { width: 100%; }
.cp-hero-media #carousel-inner-hp { padding: 0 !important; border: 0 !important; background: transparent !important; }
.cp-hero-news { background: v.$green; color: #EFE8D6; margin: 0 calc(50% - 50vw); padding: 22px calc(50vw - 50%); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; text-decoration: none; }
.cp-hero-news:hover { color: #fff; background: v.$olive-mid; }
.cp-hero-news-title { font-family: v.$titleFontFamily; font-size: 1.25rem; line-height: 1.2; flex: 1 1 260px; }
.cp-hero-news-more { font-size: 14px; white-space: nowrap; }

.cp-hexp { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.cp-hexp-photo { flex: 1 1 440px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 24px; background: url('/images/casaparrina_lancio_hp_esperienze.jpg') center / cover, v.$olive-mid; }
.cp-hexp-body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cp-hexp-body .cp-eyebrow { color: v.$honey; }
.cp-hexp-body h2 { color: #F6F1E6; margin: 0; font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1.08; }
.cp-hexp-body p { margin: 0; color: #D8D1BC; font-size: 1.1rem; }
.cp-hexp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #4C5939; border-radius: 16px; overflow: hidden; }
.cp-hexp-facts div { background: v.$green; padding: 16px 18px; }
.cp-hexp-facts strong { display: block; font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: #F6F1E6; }
.cp-hexp-facts span { font-size: 13px; color: #C9C2AC; }
.cp-hexp-list { margin: 0; padding-left: 18px; color: #D8D1BC; font-size: .95rem; display: flex; flex-direction: column; gap: 4px; }
.cp-hexp .btn { min-height: 52px; display: inline-flex; align-items: center; }

.cp-hfeatured { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.cp-fcard { display: flex; flex-direction: column; gap: 10px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 12px 12px 16px; }
.cp-fcard-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; background: #fff; overflow: hidden; }
.cp-fcard-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.cp-fcard-body { padding: 0 6px; display: flex; flex-direction: column; gap: 4px; }
.cp-fcard-body h3 { margin: 0; font-family: v.$generalFontFamily; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.cp-fcard-body h3 a { color: v.$ink; text-decoration: none; }
.cp-fcard-foot { padding: 0 6px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cp-fcard-foot .cp-pricebox { margin: 0; }
.cp-fcard-foot .btn { min-height: 44px; display: inline-flex; align-items: center; }

.cp-about { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.cp-about-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cp-about-quote { margin: 0; font-family: v.$titleFontFamily; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; letter-spacing: -.01em; }
.cp-about-lead { margin: 0; color: v.$ink-soft; font-size: 1.05rem; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-chips a { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid #BFB394; border-radius: 999px; text-decoration: none; color: v.$ink; font-size: 14px; font-weight: 500; }
.cp-chips a:hover { background: v.$ink; color: #F6F1E6; border-color: v.$ink; }
.cp-about-photos { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-about-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; display: block; }
.cp-about-photos img:last-child { margin-top: 48px; }

.cp-news--lines .cp-news-item { background: transparent; border: 0; border-top: 2px solid v.$ink; border-radius: 0; padding: 22px 4px 8px; }
.cp-news--lines .cp-news-item:hover { border-top-color: v.$honey-dark; }
.cp-news-more { font-weight: 600; font-size: 14px; color: v.$green; }

.cp-visit { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.cp-visit-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cp-visit-text h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); }
.cp-visit-text .btn { min-height: 48px; display: inline-flex; align-items: center; }
.cp-visit-map { flex: 1.4 1 480px; min-width: 0; min-height: 360px; border: 0; border-radius: 24px; }

.cp-newsletter.cp-band { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 575.98px) { .cp-band { padding-top: 52px; padding-bottom: 52px; } .cp-about-photos img:last-child { margin-top: 24px; } }

/* ===== Conferma ordine (cp-co) ===== */
.cp-co { margin: 0 auto; padding: 8px 0 48px; }
.cp-co-head { display: block; margin-bottom: 28px;
  .cp-h1 { font-family: v.$titleFontFamily; font-size: 2.2rem; color: v.$green; margin: 0; }
  a { color: v.$green; text-decoration: none; font-size: .9rem; }
}
.cp-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start;
  @media (max-width: 991px) { grid-template-columns: 1fr; }
}
.cp-co-main { display: flex; flex-direction: column; gap: 28px; min-width: 0;
  section > h2, h2 { font-family: v.$titleFontFamily; font-size: 1.25rem; color: v.$green; margin: 0 0 12px; }
}
.cp-co-side { position: sticky; top: 90px; @media (max-width: 991px) { position: static; } }
.cp-co-address { background: #FBF8F1; border: 1px solid #DED5C0; border-radius: 16px; padding: 18px 22px;
  display: flex; justify-content: space-between; gap: 16px; line-height: 1.5; color: #1F1D17;
  a { color: v.$green; font-weight: 600; white-space: nowrap; }
}
.cp-co-options { display: flex; flex-direction: column; gap: 10px; }
#order-summary-box { background: #FBF8F1; border: 1px solid #DED5C0; border-radius: 20px; padding: 24px; box-shadow: none; }
/* Schede di scelta spedizione / pagamento. Il bordo resta sempre di 1px: il "bordo più spesso" della scelta attiva
   è un'ombra interna, così passando il mouse o selezionando niente cambia dimensione e la pagina non salta. */
.cp-co .shipment-types-item, .cp-co .payment-types-item {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 62px;
  background: #FBF8F1; border: 1px solid #DED5C0; border-radius: 14px; padding: 14px 18px; cursor: pointer;
  color: #1F1D17; -webkit-tap-highlight-color: transparent; user-select: none;
  box-shadow: inset 0 0 0 0 transparent, 0 0 0 0 rgba(47, 58, 34, 0);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  &::before {
    content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
    border: 1.5px solid #BFB394; background: #fff; box-shadow: inset 0 0 0 10px #fff;
    transition: border-color .18s ease, box-shadow .2s ease, background-color .18s ease;
  }
  &:hover { border-color: #C48F2C; background: #FDFBF6; box-shadow: inset 0 0 0 0 transparent, 0 6px 18px rgba(47, 58, 34, .08); }
  &:hover::before { border-color: #C48F2C; }
  &.active, &.active:hover { background: #F6F1E6; border-color: v.$green; box-shadow: inset 0 0 0 1px v.$green, 0 0 0 0 rgba(47, 58, 34, 0); }
  &.active::before { border-color: v.$green; background: v.$green; box-shadow: inset 0 0 0 4px #fff; }
  &:focus { outline: none; }
  &:focus-visible { outline: 3px solid rgba(196, 143, 44, .55); outline-offset: 2px; }
  strong { flex: 1; font-weight: 600; line-height: 1.3; }
  img { flex: none; max-height: 28px; width: auto; margin-left: auto; }
  @media (prefers-reduced-motion: reduce) { transition: none; &::before { transition: none; } }
}
.cp-co-items { background: #FBF8F1; border: 1px solid #DED5C0; border-radius: 16px; padding: 4px 20px; }
.cp-co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #DED5C0;
  &:last-child { border-bottom: 0; }
}
.cp-co-thumb { width: 64px; height: 64px; border-radius: 10px; background: #EFE7D4; object-fit: cover; overflow: hidden;
  img { width: 100%; height: 100%; object-fit: cover; }
}
.cp-co-item-name { font-weight: 600; color: #1F1D17; }
.cp-co-item-qty { font-size: .85rem; color: #6b6657; }
.cp-co-item-total { font-weight: 600; color: v.$green; white-space: nowrap; }
.cp-co-gift { background: #FBF8F1; border: 1px solid #DED5C0; border-radius: 16px; padding: 16px 20px;
  .accordion-button, .accordion-item { background: transparent; border: 0; box-shadow: none; }
}
.cp-co-from { margin-top: 10px; }
.cp-co-coupon { margin-bottom: 18px;
  .cp-co-coupon-row { display: flex; gap: 8px; }
  input[type="text"] { flex: 1; min-width: 0; border: 1.5px solid #DED5C0; background: #fff; border-radius: 999px; padding: 9px 16px; }
  input[type="button"], button { flex: none; width: auto; border-radius: 999px; padding: 8px 18px; white-space: nowrap; }
  #coupon-error-msg { color: #a33; font-size: .85rem; margin-top: 6px; }
}
.cp-co-totals { margin: 0 0 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding-bottom: 14px; border-bottom: 1px solid #DED5C0;
  dt { font-weight: 400; color: #4a463b; }
  dd { margin: 0; text-align: right; font-weight: 600; }
  .cp-co-free { color: #4d7a2b; font-weight: 700; }
}
.cp-co-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: nowrap; margin-bottom: 18px;
  strong, .total-amount { font-family: v.$titleFontFamily; font-size: 2rem; color: v.$green; white-space: nowrap; }
}
.cp-co-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
#order-note { width: 100%; border: 1.5px solid #DED5C0; border-radius: 12px; padding: 10px 14px; background: #fff; min-height: 80px; margin-bottom: 18px; }
.cp-co-confirm { width: 100%; border-radius: 999px; background: #D9A23A; border-color: #D9A23A; color: #1F1D17; font-weight: 700; padding: 14px 20px;
  &:hover { background: #C48F2C; border-color: #C48F2C; color: #1F1D17; }
}
.cp-co-legal { font-size: .78rem; color: #6b6657; margin: 14px 0 0; line-height: 1.45; }

/* ===== Idromele ===== */
.cp-mead-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; gap: 40px 72px; padding: 24px 0 56px; }
.cp-mead-hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cp-mead-hero .cp-eyebrow { color: #6B5212; }
.cp-mead-title { font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(3.4rem, 9vw, 6.5rem); line-height: .95; letter-spacing: -.03em; color: v.$ink; margin: 0; }
.cp-mead-lead { font-size: 1.15rem; color: v.$ink-soft; max-width: 34rem; margin: 0; }
.cp-mead-cta { margin-top: 6px; }
.cp-mead-hero-img { position: relative; margin: 0; min-width: 0; }
.cp-mead-hero-img::before { content: ''; position: absolute; inset: 28px -18px -18px 28px; border-radius: 32px; background: #F4E3B9; }
.cp-mead-hero-img img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: 28px; display: block; border: 0; box-shadow: 0 24px 48px rgba(31, 29, 23, .22); }
.cp-mead-stats { margin-top: 48px; }
.cp-mead-h2 { font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 28px; border: 0; }
.cp-mead-story { margin-bottom: 64px; }
.cp-mead-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: 28px; padding: 0; background: transparent; }
.cp-mead-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.cp-mead-head { margin: 56px 0 24px; }
.cp-mead-types .cp-card .cp-eyebrow { display: block; margin-bottom: 6px; }
.cp-mead-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cp-mead-pair { background: v.$body-background; border: 1px solid #E4DAC3; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.cp-mead-pair b { font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.25rem; color: v.$green; }
.cp-mead-pair span { color: v.$ink-soft; font-size: .95rem; }
.cp-mead-note { margin: 28px 0 0; font-family: v.$titleFontFamily; font-size: 1.3rem; max-width: 44rem; }
.cp-mead-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; margin-bottom: -24px; }
.cp-mead-buy h2 { font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: v.$ink; margin: 0; border: 0; }

/* ===== Titolo pagina uniforme ===== */
h1#main-title, .cp-pagehead h1, .cp-h1 { font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; color: v.$ink; margin: 8px 0 12px; }
#main-title-container { padding-top: 0; }
#main-title-container .cp-pagehead { padding: 40px 0 24px; }
.cp-co-head .cp-h1 { color: v.$ink; font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ===== Riciclo imballi ===== */
.cp-reci-intro { margin-bottom: 24px; }
.cp-reci-logo img { max-width: 150px; width: 100%; display: block; margin-left: auto; }
.cp-reci-warn { color: v.$green; }
.cp-reci-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.cp-mat { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cp-mat--metalli { background: #2894AE; color: #fff; }
.cp-mat--carta { background: #2C5CC0; color: #fff; }
.cp-mat--vetro { background: #0F7C3B; color: #fff; }
.cp-mat--plastica { background: #FEED01; color: #1F1D17; }
.cp-mat--indifferenziato { background: #969696; color: #fff; }
.cp-reci-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-bottom: 48px; }
.cp-reci { background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cp-reci-img { height: 150px; display: flex; align-items: center; justify-content: center; background: v.$sand; border-radius: 14px; }
.cp-reci-img img { max-height: 130px; max-width: 80%; object-fit: contain; }
.cp-reci h2 { font-size: 1.4rem; margin: 6px 0 0; border: 0; }
.cp-reci ul { list-style: none; margin: 0; padding: 0; }
.cp-reci li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #E4DAC3; color: v.$ink-soft; }

/* ===== Contatti ===== */
.cp-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 48px; }
.cp-contact { background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cp-contact--pos { background: v.$sand; }
.cp-contact h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; border: 0; }
.cp-contact h2 a { color: inherit; text-decoration: none; }
.cp-contact-by { margin: -8px 0 0; color: v.$muted; }
.cp-contact-adr { line-height: 1.6; font-size: 1.05rem; }
.cp-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cp-contact-list li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.cp-contact-list i { width: 36px; height: 36px; border-radius: 50%; background: v.$green; color: #F6F1E6; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.cp-contact-list a { color: v.$ink; text-decoration: none; }
.cp-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.cp-contact-links a:not(.btn) { color: v.$green; font-weight: 600; }
.cp-contact-qr { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.cp-contact-qr img { width: 140px; height: 140px; border-radius: 16px; background: #fff; padding: 8px; flex: none; }
.cp-contact-qr p { margin: 0; color: v.$ink-soft; }

/* timeline: le voci con .when/h3/p devono andare in colonna, non in riga */
.cp-timeline li:has(> .when) { display: block; }
.cp-timeline li > .when { display: block; margin-bottom: 4px; }
.cp-mead-story .cp-timeline li { display: block; }

/* eyebrow sopra il titolo: stessa spaziatura ovunque */
.cp-pagehead .cp-eyebrow, .cp-cart-main > .cp-eyebrow, .cp-co-title .cp-eyebrow { display: block; margin: 0; }
.cp-cart-main > .cp-eyebrow { margin-bottom: 4px; }
.cp-co-title .cp-h1 { margin: 8px 0 0; }

/* ===== Footer chiaro e stondato ===== */
.modern-footer { background: v.$sand; color: v.$ink-soft; border: 1px solid v.$line; border-radius: 32px; margin: 64px 16px 16px; padding: 48px 0 20px; }
@media (min-width: 1400px) { .modern-footer { margin-left: auto; margin-right: auto; max-width: 1320px; } }
.modern-footer a { color: v.$ink-soft; }
.modern-footer a:hover { color: v.$green; text-decoration: underline; }
.modern-footer .text-muted, .modern-footer .motto { color: v.$muted !important; }
.modern-footer .footer-title { color: v.$green; }
.modern-footer .quick-links a[style] { color: v.$green !important; font-weight: 600; }
.modern-footer .list-group-item, .modern-footer .email, .modern-footer .copyright { color: v.$ink-soft; }
.modern-footer .fa-solid, .modern-footer .fas, .modern-footer .fa { color: v.$green; }
.modern-footer input[type=text], .modern-footer input[type=search] { border: 1px solid #C9BFA6; border-radius: 999px; background: v.$card; }
.modern-footer img[src*="paypal"], .modern-footer img[src*="satispay"], .modern-footer img[src*="ups"], .modern-footer img[src*="poste"] { background: transparent; }
.cp-footer-logo { height: 44px; }

/* ===== Pagina categoria su mobile: niente lista lunga, griglia compatta ===== */
.cp-catpick { display: none; }
@media (max-width: 767.98px) {
	.cp-shop-side { display: none; }
	.cp-catpick { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
	.cp-catpick label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: v.$muted; margin: 0; padding: 0; flex: none; }
	.cp-catpick select { flex: 1; min-width: 0; min-height: 44px; border-radius: 999px; border: 1px solid #BFB394; background-color: v.$card; padding-left: 16px; font-weight: 600; }
	.cp-shop { gap: 0; padding-bottom: 32px; }
	.cp-crumbs { padding-top: 12px; }
	.cp-pagehead--tight { padding: 12px 0 14px; }
	.cp-prodgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cp-prodcard { padding: 8px 8px 12px; gap: 8px; border-radius: 16px; }
	.cp-prodcard-img { border-radius: 10px; }
	.cp-prodcard-body { padding: 0 4px; gap: 2px; }
	.cp-prodcard-meta, .cp-prodcard-desc { display: none; }
	.cp-prodcard-title { font-size: 1rem; line-height: 1.2; }
	.cp-prodcard-foot { padding: 0 4px; }
	.cp-price { font-size: 1.15rem; }
	.cp-pricebox { margin-bottom: 8px; }
	.cp-price-old { font-size: .75rem; }
	.cp-price-label { display: none; }
	.cp-addrow { gap: 6px; }
	.cp-qty { width: 58px; padding-left: 8px; padding-right: 20px; background-position: right 6px center; }
	.cp-addbtn { min-height: 40px; padding: 0 8px; font-size: 14px; }
	.cp-crosslink { padding: 18px 20px; margin-top: 24px; }
}
@media (max-width: 399.98px) { .cp-addtxt { display: none; } }

/* ===== Area cliente (cp-acc) ===== */
.cp-acc { max-width: none; margin: 0 0 56px; }
.cp-acc--narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.cp-acc--form { max-width: 920px; margin-left: auto; margin-right: auto; }
.cp-acc--center { text-align: center; }
.cp-acc-card { background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; padding: 28px 30px; }
.cp-acc-auth { padding: 32px; }
.cp-acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cp-acc-grid { grid-template-columns: 1fr; } }
.cp-acc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.cp-acc-head h2 { font-family: v.$titleFontFamily; font-size: 1.5rem; margin: 0; border: 0; color: v.$green; }
.cp-acc-head h2 i { margin-right: 8px; font-size: 1.1rem; }
.cp-acc-link { font-weight: 600; color: v.$green; text-decoration: none; }
.cp-acc-link:hover { text-decoration: underline; }
.cp-acc-sub { margin: 0 0 12px; color: v.$muted; }
.cp-acc-empty { color: v.$muted; margin: 4px 0 16px; }
.cp-acc-lead { margin-bottom: 18px; }
.cp-acc-back { margin: 0 0 18px; }
.cp-acc-back a { font-weight: 600; color: v.$green; text-decoration: none; }
.cp-acc-menu { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.cp-acc-menuitem { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border-radius: 14px; background: v.$body-background; border: 1px solid #E4DAC3; color: v.$ink; text-decoration: none; transition: border-color .15s, background .15s; }
.cp-acc-menuitem:hover { border-color: v.$green; background: #fff; color: v.$ink; }
.cp-acc-menuitem span { flex: 1; font-weight: 500; }
.cp-acc-menuitem i:first-child { width: 20px; text-align: center; color: v.$green; }
.cp-acc-menuitem i:last-child { color: v.$muted; font-size: 13px; }
.cp-acc-logout { width: 100%; border-radius: 999px; }
.cp-acc-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; }
.cp-acc-filter label { font-weight: 600; margin: 0; padding: 0; }
.cp-acc-filter .form-select { width: auto; min-width: 220px; }
.cp-acc-iban { font-size: 1.2rem; padding: 12px 16px; background: v.$sand; border-radius: 12px; }
.cp-acc-alert h2 { margin: 0 0 8px; font-size: 1.4rem; }

/* campi dei form: tondi, pieni, uniformi */
.cp-acc label { font-size: 13px; font-weight: 600; color: v.$ink-soft; padding: 0; margin: 0 0 6px; display: block; }
.cp-acc .form-control, .cp-acc .form-select { width: 100% !important; max-width: none; min-height: 46px; border: 1.5px solid #D9CFB6; border-radius: 12px; background-color: #fff; }
.cp-acc .form-control:focus, .cp-acc .form-select:focus { border-color: v.$green; box-shadow: 0 0 0 3px rgba(47,58,34,.15); }
.cp-acc .w-75, .cp-acc .w-50 { width: 100% !important; }
.cp-acc input[style*="width"] { max-width: 100%; }
.cp-acc .invalid-feedback { font-size: 13px; }
.cp-acc .btn { border-radius: 999px; min-height: 46px; font-weight: 600; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2; }
.cp-acc .btn-primary { background: v.$honey !important; border-color: v.$honey-dark !important; color: v.$ink !important; background-image: none !important; }
.cp-acc .btn-primary:hover { background: v.$honey-dark !important; }
.cp-acc .btn-outline-dark { border-color: #BFB394; color: v.$ink; }
.cp-acc .btn-outline-dark:hover { background: v.$ink; color: #F6F1E6; }
.cp-acc-auth form > div + div { margin-top: 14px; }
.cp-acc-auth hr { border-color: v.$line; margin: 22px 0 4px; }
.cp-acc-auth a:not(.btn) { color: v.$green; font-weight: 500; }
.cp-acc .alert { border-radius: 14px; }

/* registrazione e dati personali: sezioni a scheda */
.cp-acc--form form { background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; padding: 28px 30px 32px; }
.cp-acc--form h2 { font-family: v.$titleFontFamily; font-size: 1.5rem; color: v.$green; margin: 28px 0 6px; padding-bottom: 10px; border-bottom: 1px solid #E4DAC3; width: 100%; }
.cp-acc--form h2:first-of-type { margin-top: 0; }
.cp-acc--form hr { display: none; }
.cp-acc--form .container-fluid { padding: 0; }
.cp-acc--form .cp-acc-submit { min-width: 240px; margin-top: 8px; }
.cp-acc--form > p, .cp-acc--form > .cp-acc-back { margin-bottom: 18px; }

/* scheda ordine */
.cp-order { background: v.$card; border: 1px solid #E4DAC3; border-radius: 22px; overflow: hidden; margin-bottom: 18px; }
.cp-order-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; padding: 18px 22px; background: v.$sand; align-items: center; }
@media (max-width: 575.98px) { .cp-order-head { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cp-order-head span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: v.$muted; }
.cp-order-head strong { font-weight: 600; }
.cp-order-items { list-style: none; margin: 0; padding: 4px 22px; }
.cp-order-items li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #E4DAC3; }
.cp-order-items li:last-child { border-bottom: 0; }
.cp-order-thumb { width: 64px; height: 64px; flex: none; border-radius: 12px; background: #EDE3CC; overflow: hidden; display: block; }
.cp-order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-order-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-order-info a { font-weight: 600; color: v.$ink; text-decoration: none; }
.cp-order-info a:hover { text-decoration: underline; }
.cp-order-info small { color: v.$muted; }
.cp-order-line { white-space: nowrap; color: v.$green; }
.cp-order-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid #E4DAC3; }
.cp-order-actions:empty { display: none; }
.cp-progress { padding: 20px 22px 6px; border-bottom: 1px solid #E4DAC3; }
.cp-progress-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.cp-progress-steps li { flex: 1 1 0; min-width: 0; text-align: center; position: relative; font-size: 13px; color: v.$muted; }
.cp-progress-steps li + li::before { content: ''; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: #CFC6AC; z-index: 0; }
.cp-progress-steps li.is-done + li::before, .cp-progress-steps li.is-current::before { background: v.$green; }
.cp-progress-dot { position: relative; z-index: 1; display: block; width: 28px; height: 28px; line-height: 24px; margin: 0 auto 6px; border-radius: 50%; border: 2px solid #CFC6AC; background: #fff; box-sizing: border-box; font-size: 14px; color: #fff; }
.cp-progress-steps li.is-done .cp-progress-dot { background: v.$green; border-color: v.$green; }
.cp-progress-steps li.is-current .cp-progress-dot { border-color: v.$green; box-shadow: 0 0 0 4px rgba(47, 58, 34, .15); background: #fff; }
.cp-progress-steps li.is-done, .cp-progress-steps li.is-current { color: v.$ink; font-weight: 600; }
.cp-progress-label { display: block; line-height: 1.25; padding: 0 2px; }
@media (max-width: 575.98px) { .cp-progress { padding: 16px 12px 4px; } .cp-progress-steps li { font-size: 11px; } }
.cp-progress-notice { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: #FBEAE7; color: #8A2A1E; font-size: 14px; }
.cp-progress-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 20px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed #E4DAC3; }
.cp-progress-info dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: v.$muted; font-weight: 400; }
.cp-progress-info dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
.cp-progress-info small { font-weight: 400; color: v.$muted; display: block; }
.cp-progress-last { grid-column: 1 / -1; }
.cp-progress-history { margin: 10px 0 14px; font-size: 14px; }
.cp-progress-history summary { cursor: pointer; color: v.$green; font-weight: 600; }
.cp-progress-history ul { list-style: none; margin: 8px 0 0; padding: 0; }
.cp-progress-history li { padding: 6px 0; border-bottom: 1px solid #EFE7D2; }
.cp-progress-history li small { display: inline-block; min-width: 118px; color: v.$muted; }

/* ===== Tipi di miele: cerchio colore al posto della foto ===== */
.cp-honey img { display: none; }
.cp-honey-body { padding: 20px; gap: 0; }
.cp-honey-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cp-honey-swatch { width: 56px; height: 56px; flex: none; border-radius: 999px; border: 1px solid #D3C7A9; box-shadow: inset 0 -6px 10px rgba(0,0,0,.06); }
.cp-honey-head h3 { font-size: 1.5rem; line-height: 1.1; margin: 0; }
.cp-honey-head .latin { display: block; margin: 2px 0 0; }
.cp-honey { border-radius: 20px; }

/* ===== Widget fotovoltaico in tempo reale (cp-solar) ===== */
.cp-solar { position: relative; background: v.$card; border: 1px solid v.$line; border-radius: 24px; padding: 24px 28px; color: v.$ink; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.cp-solar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cp-solar-live { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem/1 'Work Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: v.$green; }
.cp-solar-live i { width: 9px; height: 9px; border-radius: 50%; background: v.$honey; box-shadow: 0 0 0 0 rgba(217,162,58,.55); animation: cp-solar-pulse 1.6s infinite; }
.cp-solar[data-state="night"] .cp-solar-live i, .cp-solar[data-state="twilight"] .cp-solar-live i { background: #9a9482; animation: none; }
.cp-solar.is-offline .cp-solar-live i { background: #b5503c; animation: none; }
.cp-solar-tag { font: 500 .72rem/1 'Work Sans', sans-serif; padding: 6px 12px; border-radius: 999px; background: v.$sand; color: v.$muted; }
.cp-solar-main { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.cp-solar-label { display: block; font: 500 .85rem/1.2 'Work Sans', sans-serif; color: v.$muted; margin-bottom: 4px; }
.cp-solar-value { display: flex; align-items: baseline; gap: 8px; }
.cp-solar-value strong { font-family: v.$titleFontFamily; font-weight: 600; font-size: 3.4rem; line-height: 1; letter-spacing: -.02em; color: v.$green; font-variant-numeric: tabular-nums; min-width: 4.4ch; display: inline-block; }
.cp-solar-value em { font-style: normal; font: 600 1.1rem/1 'Work Sans', sans-serif; color: v.$ink-soft; }
.cp-solar-status { display: block; margin-top: 8px; font: 400 .85rem/1.3 'Work Sans', sans-serif; color: v.$ink-soft; min-height: 1.1em; }
.cp-solar-bar { height: 14px; border-radius: 999px; background: v.$sand; overflow: hidden; }
.cp-solar-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, v.$honey, v.$honey-dark); transition: width .9s ease; }
.cp-solar-bar-labels { display: flex; justify-content: space-between; margin-top: 8px; font: 500 .8rem/1 'Work Sans', sans-serif; color: v.$muted; }
.cp-solar-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid v.$line; }
.cp-solar-metrics div { margin: 0; }
.cp-solar-metrics dt { font: 500 .72rem/1.2 'Work Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: v.$muted; margin-bottom: 4px; }
.cp-solar-metrics dd { margin: 0; font: 400 .95rem/1.2 'Work Sans', sans-serif; color: v.$ink-soft; }
.cp-solar-metrics dd strong { font-family: v.$titleFontFamily; font-weight: 600; font-size: 1.5rem; color: v.$ink; font-variant-numeric: tabular-nums; }
.cp-solar-more { display: inline-block; margin-top: 16px; font: 600 .9rem/1 'Work Sans', sans-serif; color: v.$green; text-decoration: none; }
.cp-solar-more:hover { color: v.$honey-dark; }
.cp-solar-note { margin: 18px 0 0; font: 400 .8rem/1.5 'Work Sans', sans-serif; color: v.$muted; }
.cp-solar-spark { display: block; width: 100%; height: 70px; margin-top: 22px; }
.cp-solar-spark-line { fill: none; stroke: v.$honey-dark; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cp-solar-spark-area { fill: rgba(217,162,58,.18); stroke: none; }
.cp-solar-spark-cap { font: 500 .7rem/1 'Work Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: v.$muted; margin-top: 6px; }
.cp-solar--full { padding: 32px 36px; margin: 8px 0 40px; }
.cp-solar--full .cp-solar-value strong { font-size: 4.6rem; }
.cp-solar--compact { max-width: none; width: 100%; }
@keyframes cp-solar-pulse { 0% { box-shadow: 0 0 0 0 rgba(217,162,58,.55); } 70% { box-shadow: 0 0 0 9px rgba(217,162,58,0); } 100% { box-shadow: 0 0 0 0 rgba(217,162,58,0); } }
@media (prefers-reduced-motion: reduce) { .cp-solar-live i { animation: none; } .cp-solar-bar span { transition: none; } }
@media (max-width: 575.98px) {
	.cp-solar, .cp-solar--full { padding: 20px 18px; border-radius: 20px; }
	.cp-solar-main { grid-template-columns: 1fr; gap: 18px; }
	.cp-solar-value strong, .cp-solar--full .cp-solar-value strong { font-size: 3rem; }
}

// ---------- menu categorie (sidebar): colori come da proposta grafica ----------
.cp-shop-side .cp-side-link,
.cp-shop-side .cp-side-link:link,
.cp-shop-side .cp-side-link:visited { color: v.$ink; background: transparent; font-weight: 400; text-decoration: none; }
.cp-shop-side .cp-side-link:hover,
.cp-shop-side .cp-side-link:focus-visible { color: v.$ink; background: v.$sand; text-decoration: none; }
.cp-shop-side .cp-side-link.is-active,
.cp-shop-side .cp-side-link.is-active:link,
.cp-shop-side .cp-side-link.is-active:visited,
.cp-shop-side .cp-side-link.is-active:hover,
.cp-shop-side .cp-side-link.is-active:focus-visible { color: #EFE8D6; background: v.$green; font-weight: 600; text-decoration: none; }
.cp-shop-side .cp-side-link * { color: inherit !important; background: transparent !important; font: inherit; }
.cp-shop-side .cp-eyebrow { color: #6B5212; }

// ---------- progress bar spedizione gratuita (carrello) ----------
.cp-shipbar.alert { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; }
.cp-shipbar #free-shipping { grid-column: 1 / -1; }
.cp-shipprog { height: 10px; border-radius: 999px; background: rgba(31, 29, 23, .12); overflow: hidden; }
.cp-shipprog span { display: block; height: 100%; border-radius: 999px; background: v.$honey-dark; transition: width .5s ease; }
.cp-shipbar.alert-success .cp-shipprog span { background: v.$green; }
.cp-shipprog-pct { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

// ---------- news in evidenza (/notizie): sfondo bianco ----------
a.cp-featured { display: block; background: #fff; border: 1px solid v.$line; }
a.cp-featured:hover { color: v.$ink; border-color: v.$green; }
a.cp-featured .cp-featured-meta { color: v.$muted; }
a.cp-featured .cp-featured-title { color: v.$ink; }
a.cp-featured .cp-featured-text { color: v.$ink-soft; }
a.cp-featured .cp-more { color: v.$green; }

// ---------- punto vendita: mappa dentro la colonna "Dove siamo" ----------
.cp-where .cp-map { height: 280px; min-height: 260px; border-radius: 20px; margin: 4px 0; }
.cp-shopinfo .cp-hours { flex: 1 1 300px; max-width: 420px; }
.cp-shopinfo .cp-where { flex: 2 1 460px; }

// ---------- footer (proposta A: sabbia a colonne) ----------
.cp-foot.modern-footer { padding: 56px 48px 24px; }
.cp-foot-inner { max-width: 1232px; margin: 0 auto; }
.cp-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.cp-foot-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cp-foot-brand .motto { margin: 0; max-width: 300px; font-size: 15px; white-space: pre-line; }
.cp-foot-col { display: flex; flex-direction: column; gap: 10px; }
.cp-foot-col a { font-size: 15px; color: v.$ink-soft; text-decoration: none; overflow-wrap: anywhere; }
.cp-foot-col a:hover { color: v.$green; text-decoration: underline; }
.cp-foot .footer-title { font-family: 'Work Sans', sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: v.$green; margin: 0 0 4px; }
.cp-foot-col a.cp-foot-wa, .cp-foot-col a.cp-foot-wa:hover { margin-top: 6px; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; align-self: flex-start; background: v.$honey; color: v.$ink; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; }
.cp-foot-col a.cp-foot-wa:hover { background: v.$honey-dark; }
.cp-foot .social-links { margin-top: 6px; }
.cp-foot #social-bar { justify-content: flex-start !important; }
.cp-foot #social-bar .col-auto { padding-left: 0 !important; padding-right: 10px !important; }
.cp-foot .social-icon { height: 28px; width: auto; }
.cp-foot-tools { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.cp-foot-tools .btn-default { border: 1px solid #C9BFA6; border-radius: 999px; background: v.$card; color: v.$ink; min-height: 40px; padding: 0 18px; }
.cp-foot-search form { margin: 0; flex-wrap: nowrap; }
.cp-foot-search .btn-primary { border-radius: 999px; min-height: 40px; }
.cp-foot-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid #D4C9AE; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; font-size: 13px; color: v.$muted; }
.cp-foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cp-foot-legal a { color: v.$muted; }
.cp-foot .copyright { color: v.$muted; }
@media (max-width: 991.98px) { .cp-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .cp-foot.modern-footer { padding: 36px 22px 20px; } .cp-foot-grid { grid-template-columns: 1fr; gap: 28px; } .cp-foot-tools { flex-direction: column; align-items: flex-start; } }

// ---------- carosello home: immagini ridimensionate alla larghezza, solo puntini ----------
#hp-carousel .carousel-item img { display: block; width: 100%; max-width: 100%; height: auto; }

// ---------- abbinamenti miele e formaggio ----------
.cp-pairs-lead { max-width: 40rem; margin: 0 0 24px; }
.cp-pairs { display: flex; flex-direction: column; gap: 16px; padding-bottom: 56px; }
.cp-pair { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding: 24px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; }
.cp-pair-main { flex: 1 1 280px; min-width: 0; }
.cp-pair-main h2 { margin: 0 0 12px; font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.75rem; line-height: 1.12; color: v.$ink; }
.cp-pair-note { color: v.$ink-soft; }
.cp-pair-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 600; font-size: 15px; }
.cp-pair-links a { color: v.$green; }
.cp-pair-tags { flex: 2 1 460px; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-pair-tags span { padding: 4px 12px; border-radius: 999px; background: v.$sand; font-size: 13px; color: v.$ink; }

// ---------- scheda prodotto: "Con quale formaggio?" ----------
.cp-pairbox { margin-top: 24px; padding: 20px 22px; border-radius: 20px; background: v.$sand; }
.cp-pairbox h3 { margin: 0 0 12px; font-family: 'Work Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: v.$ink; }
.cp-pairbox .cp-pair-tags span { background: v.$card; border: 1px solid #E4DAC3; }
.cp-pairbox > a { display: inline-block; margin-top: 14px; font-weight: 600; color: v.$green; }

// ---------- pagine legali (condizioni, privacy, cookie, fattura elettronica) ----------
.cp-legal { width: 100%; max-width: none; font-size: 1.04rem; line-height: 1.7; color: v.$ink-soft; padding-bottom: 8px; }
.cp-legal p { margin: 0 0 1.1rem; }
.cp-legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.4rem 0 .8rem; padding: 0; border: 0; color: v.$ink; }
.cp-legal > h2:first-child { margin-top: 0; font-family: 'Work Sans', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .02em; line-height: 1.5; padding: 20px 24px; background: v.$sand; border-radius: 20px; color: v.$ink; }
.cp-legal h3 { font-family: 'Work Sans', sans-serif; font-size: 1.1rem; font-weight: 600; margin: 0 0 .5rem; color: v.$ink; }
.cp-legal > strong { display: block; margin: 2rem 0 .5rem; font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: v.$ink; }
.cp-legal a { color: v.$green; text-decoration: underline; text-underline-offset: 3px; }
.cp-legal a:hover { color: v.$honey-dark; }
.cp-legal ul, .cp-legal ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.cp-legal li { margin-bottom: .45rem; }
.cp-legal > ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cp-legal > ul > li { margin: 0; padding: 20px 24px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; }
.cp-legal > ul > li p:last-child { margin-bottom: 0; }
.cp-legal-key { margin: 0 0 6px !important; padding: 10px 16px; background: v.$sand; border-radius: 12px; font-size: 1.05rem; color: v.$ink; text-align: left; }
.cp-legal-key strong { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cp-legal-table { width: 100%; border-collapse: separate; border-spacing: 0; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; overflow: hidden; margin: 0 0 1.5rem; }
.cp-legal-table th, .cp-legal-table td { padding: 14px 20px; border-bottom: 1px solid #E4DAC3; vertical-align: top; text-align: left; background: none; }
.cp-legal-table tr:last-child th, .cp-legal-table tr:last-child td { border-bottom: 0; }
.cp-legal-table th { width: 38%; font-weight: 600; color: v.$ink; background: v.$sand; }
.cp-legal-nav { margin: 48px 0 56px; padding-top: 28px; border-top: 1px solid v.$line; display: flex; flex-direction: column; gap: 14px; }
.cp-chips a.is-current { background: v.$green; color: #EFE8D6; border-color: v.$green; }
@media (max-width: 575.98px) { .cp-legal-table th, .cp-legal-table td { display: block; width: auto; } .cp-legal-table th { border-bottom: 0; padding-bottom: 4px; } .cp-legal > ul > li { padding: 16px 18px; } }

// ---------- confezioni regalo / regali di Natale ----------
.cp-giftlead { max-width: 42rem; margin: 0 0 24px; }
.cp-gift--help { margin-top: 0; }
.cp-giftgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cp-giftcard { display: flex; flex-direction: column; background: v.$card; border: 1px solid #E4DAC3; border-radius: 20px; overflow: hidden; text-decoration: none; color: v.$ink; transition: border-color .2s, transform .2s; }
.cp-giftcard:hover { color: v.$ink; border-color: v.$green; transform: translateY(-2px); }
.cp-giftcard-img { display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.cp-giftcard-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; transition: transform .3s; }
.cp-giftcard:hover .cp-giftcard-img img { transform: scale(1.04); }
.cp-giftcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.cp-giftcard-title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.cp-giftcard-price { color: v.$green; font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-giftnote { margin: 8px 0 56px; color: v.$muted; font-size: .9rem; }
@media (max-width: 575.98px) { .cp-giftgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cp-giftcard-body { padding: 10px 12px 14px; } }

// ---------- ricette (#InCucinaConCasaParrina) ----------
.cp-recipes-intro { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cp-recipes-intro .cp-lead { flex: 1 1 380px; margin: 0; max-width: 36rem; }
.cp-hashtag { flex: 0 1 420px; padding: 18px 22px; background: v.$sand; border-radius: 20px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; color: v.$ink-soft; }
.cp-hashtag strong { font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.6rem; color: v.$green; }
.cp-recipe-tags { margin-bottom: 28px; }
.cp-chips a.is-current { background: v.$green; color: #EFE8D6; border-color: v.$green; }
.cp-recipegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cp-recipecard { display: flex; flex-direction: column; background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; overflow: hidden; text-decoration: none; color: v.$ink; transition: border-color .2s, transform .2s; }
.cp-recipecard:hover { color: v.$ink; border-color: v.$green; transform: translateY(-2px); }
.cp-recipecard-img { display: block; aspect-ratio: 4 / 3; background: #E4D7B8; overflow: hidden; }
.cp-recipecard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cp-recipecard:hover .cp-recipecard-img img { transform: scale(1.04); }
.cp-recipecard-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; flex: 1; }
.cp-recipecard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-recipecard-tags span { padding: 2px 10px; border-radius: 999px; background: v.$sand; font-size: 12px; }
.cp-recipecard-title { font-family: v.$titleFontFamily; font-size: 1.5rem; line-height: 1.15; }
.cp-recipecard-text { color: v.$ink-soft; font-size: .95rem; }
.cp-recipecard-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid v.$line; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: v.$muted; }
.cp-recipecard-meta i { color: v.$green; margin-right: 4px; }
.cp-recipe-pager { margin: 36px 0 56px; }
.cp-backlink { display: inline-block; margin: 0 0 24px; font-weight: 600; color: v.$green; text-decoration: none; }
.cp-backlink:hover { color: v.$honey-dark; text-decoration: underline; }
.cp-recipe { padding-bottom: 8px; }
.cp-recipe-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.cp-recipe-head .cp-lead { flex: 1 1 420px; margin: 0; max-width: 40rem; }
.cp-recipe-cols { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; }
.cp-recipe-photo { flex: 1 1 380px; min-width: 0; }
.cp-recipe-photo img { width: 100%; border-radius: 24px; display: block; }
.cp-recipe-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cp-recipe-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin: 0; padding: 16px 20px; background: v.$sand; border-radius: 20px; }
.cp-recipe-facts div { margin: 0; }
.cp-recipe-facts dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: v.$muted; font-weight: 600; margin-bottom: 2px; }
.cp-recipe-facts dd { margin: 0; font-weight: 600; color: v.$ink; }
.cp-ingredients h3 { font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.5rem; margin: 0 0 10px; }
.cp-ingredients ul { list-style: none; margin: 0; padding: 0; }
.cp-ingredients li { padding: 9px 0; border-bottom: 1px solid #E4DAC3; color: v.$ink-soft; }
.cp-ingredients li:last-child { border-bottom: 0; }
.cp-recipe-steps { margin: 40px 0 32px; max-width: 46rem; }
.cp-recipe-steps p { max-width: none; line-height: 1.75; }
@media (max-width: 575.98px) { .cp-recipegrid { grid-template-columns: 1fr; } }

// ---------- home: ricetta di stagione ----------
.cp-recipefeat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: v.$card; border: 1px solid #E4DAC3; border-radius: 28px; overflow: hidden; }
.cp-recipefeat-img { display: block; min-height: 280px; background: #E4D7B8; overflow: hidden; }
.cp-recipefeat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-recipefeat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px 40px; justify-content: center; }
.cp-recipefeat-body h3 { margin: 0; font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; }
.cp-recipefeat-body h3 a { color: v.$ink; text-decoration: none; }
.cp-recipefeat-body h3 a:hover { color: v.$green; }
.cp-recipefeat-body p { margin: 0; color: v.$ink-soft; max-width: 36rem; }
.cp-recipefeat-body .cp-recipecard-meta { margin: 0; padding: 0; border: 0; }
.cp-recipefeat.is-noimg { grid-template-columns: 1fr; }
.cp-recipefeat.is-noimg .cp-recipefeat-img { display: none; }
@media (max-width: 767.98px) { .cp-recipefeat { grid-template-columns: 1fr; } .cp-recipefeat-img { min-height: 0; aspect-ratio: 4 / 3; } .cp-recipefeat-body { padding: 24px 22px 28px; } }

// ---------- voci di menu piu strette (spazio per una voce in più) ----------
@media (min-width: 1200px) {
	body .cp-nav .nav-item { margin-right: 0; }
	.cp-nav .nav-link { padding-left: .7rem; padding-right: .7rem; }
	.cp-nav .navbar-nav { gap: 0; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
	.cp-nav .nav-link { padding-left: .5rem; padding-right: .5rem; font-size: .92rem; }
}

/* ===== Tema natalizio (attivo solo quando is_christmas? è vero, body.is-xmas) ===== */
$xmas-berry: #8C2F39;
$xmas-gold: #E7BE6B;

.cp-xmas-strip { background: $xmas-berry; color: #F6F1E6; font-size: 13px; }
.cp-xmas-strip-row { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.cp-xmas-strip i { color: $xmas-gold; margin-right: 6px; }
.cp-xmas-strip a { color: #fff; font-weight: 600; margin-left: 6px; text-decoration: none; }
.cp-xmas-strip a:hover { text-decoration: underline; }

.cp-xmas-garland { height: 8px; opacity: .9; margin: 0 0 6px;
	background: radial-gradient(circle, #D9A23A 0 2.5px, transparent 3px) 0 50% / 36px 8px repeat-x,
	            radial-gradient(circle, #{$xmas-berry} 0 2.5px, transparent 3px) 18px 50% / 36px 8px repeat-x; }

.cp-nav .cp-xmas-link { background: #F4E3B9; color: #6B5212 !important; font-weight: 600; border-radius: 999px; }
.cp-nav .cp-xmas-link i { color: #D9A23A; font-size: .8em; }

.cp-xmas-count { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: #F4E3B9; color: #6B5212; font-size: 13px; font-weight: 600; }
.cp-xmas-count i { color: $xmas-berry; font-size: .85em; }

.cp-hero-media { position: relative; }
.cp-xmas-badge { position: absolute; right: -8px; bottom: 6px; z-index: 3; width: 116px; height: 116px; border-radius: 999px; background: $xmas-berry; color: #F6F1E6;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); line-height: 1.15;
	box-shadow: 0 0 0 4px #F6F1E6, 0 0 0 5px #D9A23A; }
.cp-xmas-badge span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.cp-xmas-badge span:last-child { text-transform: none; letter-spacing: 0; }
.cp-xmas-badge b { font-family: v.$titleFontFamily; font-size: 24px; font-weight: 600; }
@media (max-width: 575.98px) { .cp-xmas-badge { right: 0; width: 96px; height: 96px; } .cp-xmas-badge b { font-size: 20px; } }

.cp-xmas-divider { display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 8px auto 20px; padding: 0 24px; }
.cp-xmas-divider span { flex: 1; height: 1px; background: v.$line; }
.cp-xmas-divider i { color: #D9A23A; font-size: 14px; }

.cp-xmas-banner { position: relative; max-width: 1200px; margin: 0 auto 40px; background: $xmas-berry; color: #F6F1E6; border-radius: 28px; padding: 36px 40px;
	display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; overflow: hidden; }
.cp-xmas-banner .cp-eyebrow { color: $xmas-gold; }
.cp-xmas-banner h2 { font-family: v.$titleFontFamily; font-size: 34px; line-height: 1.1; margin: 8px 0; color: #F6F1E6; }
.cp-xmas-banner p { margin: 0; color: #EBD9D3; max-width: 520px; }
a.cp-xmas-banner { display: block; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.cp-xmas-banner:hover { color: #F6F1E6; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 29, 23, .18); }
.cp-xmas-banner .btn-light { font-weight: 600; color: $xmas-berry; }
.cp-xmas-twig { position: absolute; top: 8px; right: 26px; color: $xmas-gold; opacity: .9; pointer-events: none; }
@media (max-width: 767.98px) { .cp-xmas-banner { border-radius: 20px; padding: 28px 22px; margin-left: 12px; margin-right: 12px; } .cp-xmas-banner h2 { font-size: 28px; } }

.cp-xmas-tag { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 999px; background: $xmas-berry; color: #F6F1E6; font-size: 12px; font-weight: 600; }
.cp-xmas-tag i { color: $xmas-gold; font-size: .8em; }
.cp-xmas-tag + .cp-badge { top: 42px; }

.cp-xmas-giftbox { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 14px 18px; border: 1px solid #E4DAC3; border-radius: 16px; background: v.$card; font-size: .95rem; }
.cp-xmas-giftbox i { color: $xmas-berry; font-size: 1.3rem; margin-top: 2px; }
.cp-cartlines + .cp-xmas-giftbox { margin: 18px 0 0; }

.cp-xmas-greet { color: $xmas-berry; }
.cp-xmas-greet i { font-size: .8em; }

/* mobile/tablet: logo e pulsanti (utente, carrello, menu) sulla stessa riga */
@media (max-width: 1199.98px) {
	.cp-header-row { gap: 0 8px; }
	.cp-brand { flex: 1 1 0; min-width: 0; }
	.cp-logo { height: auto; max-height: 46px; max-width: 100%; object-fit: contain; object-position: left center; }
	.cp-tools { flex: 0 0 auto; }
}
@media (max-width: 400px) {
	.cp-logo { max-height: 38px; }
	.cp-tools { gap: 0; }
}

/* sidebar categorie piu' larga: le voci non vanno a capo */
.cp-shop-side { flex: 0 0 290px; max-width: 290px; }
.cp-shop-side .cp-side-link { white-space: nowrap; }
@media (max-width: 1199.98px) { .cp-shop-side { flex-basis: 250px; max-width: 250px; } }

// sconti per quantità
.cp-qd-tiers { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.cp-qd-tiers li { border: 1px solid v.$muted; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.cp-qd-tiers .cp-qd-unit { color: v.$muted; }
.cp-qd-badge { font-weight: 600; }
.cp-qd-next { font-size: 13px; color: v.$muted; }

// =====================================================================
// Pagina "L'olio" (/olio), con le informazioni sull'olio nuovo
// =====================================================================
.cp-on-lead { margin: 0; font-size: 1.1rem; color: #4A4538; max-width: 38rem; }
.cp-on-hero { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding: 40px 0 24px; }
.cp-on-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cp-on-hero h1 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; }
.cp-on-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-on-chips span { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #F4E3B9; color: #6B5212; font-size: 13px; font-weight: 600; }
.cp-on-hero-media { flex: 1 1 480px; min-width: 0; position: relative; }
.cp-on-hero-media > img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 28px; display: block; background: #EDE3CC; }
.cp-on-badge { position: absolute; right: -8px; bottom: -16px; width: 124px; height: 124px; border-radius: 999px; background: #2F3A22; color: #EFE8D6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); line-height: 1.15; box-shadow: 0 0 0 4px #F6F1E6, 0 0 0 5px #D9A23A; }
.cp-on-badge span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.cp-on-badge b { font-family: "Fraunces", Georgia, serif; font-size: 30px; font-weight: 600; }

.cp-on-facts { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; margin: 24px 0 8px; padding: 22px 28px; background: #FBF8F1; border: 1px solid #E4DAC3; border-radius: 20px; }
.cp-on-facts span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #6B5212; font-weight: 600; }
.cp-on-facts strong { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 1.5rem; }

// cronometro dalla pianta alla bottiglia
.cp-on-clock { position: relative; overflow: hidden; margin: 56px 0 16px; padding: 48px 40px 44px; border-radius: 32px; background: #2F3A22; color: #F6F1E6; }
.cp-on-clock-mark { position: absolute; right: -10px; top: -40px; font-family: "Fraunces", Georgia, serif; font-size: 320px; line-height: 1; font-weight: 600; color: #F6F1E6; opacity: .06; pointer-events: none; }
.cp-on-clock-head { position: relative; display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.cp-on-clock-head > div:first-child { max-width: 50rem; }
.cp-on-clock .cp-eyebrow { color: #F2C879; }
.cp-on-clock h2 { margin: 8px 0 12px; color: #F6F1E6; }
.cp-on-clock-head p { margin: 0; color: #D8D2BE; font-size: 1.05rem; }
.cp-on-clock-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cp-on-clock-steps li { padding-right: 20px; min-width: 0; }
.cp-on-step { position: relative; border-top: 3px solid #D9A23A; padding-top: 18px; }
.cp-on-label { margin: 6px 0 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #C9C3AE; }
.cp-on-photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px; background: #3B4A2C; }
.cp-on-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-on-step h3 { margin: 16px 0 6px; font-size: 1.4rem; line-height: 1.2; color: #F6F1E6; }
.cp-on-step p { margin: 0; color: #D8D2BE; font-size: .95rem; }

// formati in negozio
.cp-on-shop { margin: 56px 0 16px; }

// le tre varieta: tre schede di degustazione affiancate
.cp-on-varieties { margin: 56px 0 16px; }
.cp-on-varieties h2 { margin: 8px 0 24px; }
.cp-on-var-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-on-var { display: flex; flex-direction: column; gap: 16px; background: #FBF8F1; border: 1px solid #E4DAC3; border-top: 4px solid #6B7A2E; border-radius: 20px; padding: 24px 24px 22px; }
.cp-on-var:nth-child(2) { border-top-color: #9AA43A; }
.cp-on-var:nth-child(3) { border-top-color: #C9B24A; }
.cp-on-var-head { display: flex; align-items: center; gap: 14px; }
// le foto originali sono di 60px: le mostro a dimensione naturale come medaglione (mai ingrandite)
.cp-on-var-head img { flex: none; width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #E4DAC3; background: #EDE3CC; }
.cp-on-var-character { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6B5212; }
.cp-on-var h3 { margin: 2px 0 0; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.05; }
.cp-on-var-intensity { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #F1EADB; font-size: 13px; color: #4A4538; }
.cp-on-var-dots { display: inline-flex; gap: 6px; }
.cp-on-var-dots i { width: 12px; height: 12px; border-radius: 50%; background: #DCCFAF; }
.cp-on-var-dots i.on { background: #6B7A2E; }
.cp-on-var p { margin: 0; color: #4A4538; font-size: .95rem; line-height: 1.6; flex: 1 1 auto; }
.cp-on-var-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cp-on-var-notes li { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #E4DAC3; font-size: 13px; color: #2F3A22; }
@media (max-width: 991.98px) {
	.cp-on-var-grid { grid-template-columns: 1fr; }
}

// formati in negozio: carosello standard (#other-products-slider), con formato, prezzo e pulsante
.cp-on-formats .cp-on-format-size { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6B5212; }
.cp-on-formats .cp-price { margin: 4px 0 8px !important; }
.cp-on-formats form { margin: 0 0 6px; }
.cp-on-formats .btn { gap: 6px; }
.cp-on-formats .cp-unavailable { display: block; margin: 6px 0; font-size: 13px; }
// prodotto senza foto: logo come segnaposto
.cp-on-formats .other-product-item-photo.is-placeholder { object-fit: contain; padding: 14px; opacity: .55; }

// in cucina
.cp-on-cook { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; margin: 56px 0 16px; }
.cp-on-cook-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cp-on-cook-text h2 { margin: 0; }
.cp-on-cook-photo { flex: 0 1 360px; min-width: 0; }
.cp-on-cook-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; background: #EDE3CC; }

// guida
.cp-on-guide { margin: 56px 0 16px; }
.cp-on-guide h2 { margin: 8px 0 24px; max-width: 40rem; }
.cp-on-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cp-on-guide-grid > div { background: #FBF8F1; border: 1px solid #E4DAC3; border-radius: 20px; padding: 24px; }
.cp-on-guide-grid h3 { margin: 0 0 8px; font-size: 1.4rem; }
.cp-on-guide-grid p { margin: 0; color: #4A4538; }

// fascia finale
.cp-on-cta { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; margin: 56px 0 72px; padding: 40px; border-radius: 28px; background: #2F3A22; color: #EFE8D6; }
.cp-on-cta-title { font-family: "Fraunces", Georgia, serif; font-size: 2.1rem; line-height: 1.1; margin-bottom: 8px; }
.cp-on-cta .btn { min-height: 48px; display: inline-flex; align-items: center; }

@media (max-width: 767.98px) {
	.cp-on-clock { padding: 32px 20px; border-radius: 24px; }
	.cp-on-clock-mark { font-size: 180px; }
		.cp-on-cta { padding: 28px 22px; }
}

// ---------------------------------------------------------------------
// Blog (/blog): elenco con colonna laterale, pagina articolo
// ---------------------------------------------------------------------
.cp-blog { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.cp-blog-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.cp-blog-side h3 { font-size: 1.15rem; margin: 0 0 12px; }
.cp-blog-cats { list-style: none; margin: 0; padding: 0; }
.cp-blog-cats li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid v.$line; }
.cp-blog-cats li:last-child { border-bottom: 0; }
.cp-blog-cats a { color: v.$ink; text-decoration: none; }
.cp-blog-cats a:hover, .cp-blog-cats li.current a { color: v.$green; font-weight: 600; }
.cp-blog-cats span { color: v.$muted; font-size: 13px; }
.cp-blog-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-blog-tagcloud a { padding: 4px 12px; border-radius: 999px; background: v.$sand; color: v.$ink; text-decoration: none; font-size: 14px; }
.cp-blog-tagcloud a span { color: v.$muted; font-size: 12px; }
.cp-blog-tagcloud a:hover, .cp-blog-tagcloud a.current { background: v.$green; color: #fff; }
.cp-blog-tagcloud a:hover span, .cp-blog-tagcloud a.current span { color: #fff; }
.cp-blog-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.cp-blog-tags span, .cp-blog-tags a { padding: 2px 10px; border-radius: 999px; background: v.$sand; color: v.$ink-soft; text-decoration: none; }
.cp-blog-tags a:hover { background: v.$green; color: #fff; }
.cp-blog-tags--article { margin: 24px 0 40px; font-size: 14px; }
.cp-blog-meta { color: v.$muted; margin: 8px 0 0; }
.cp-blog-article .cp-eyebrow a { color: inherit; text-decoration: none; }
// l'articolo occupa tutta la larghezza del sito, come le altre pagine (il testo non ha il limite di 44rem di .cp-prose)
.cp-blog-article { width: 100%; }
.cp-blog-article .cp-pagehead { padding-top: 32px; }
.cp-blog-body p { max-width: none; }
.cp-blog-body img { max-width: 100%; height: auto; border-radius: 16px; }
.cp-blog-body iframe { max-width: 100%; }
.cp-blog-related { margin-top: 24px; }
.cp-blog-related h2 { font-size: 1.5rem; margin-bottom: 16px; }
@media (max-width: 991.98px) {
	.cp-blog { grid-template-columns: 1fr; }
	.cp-blog-side { position: static; }
}

// Lancio del blog in home: ultimo articolo
.cp-blogfeat { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px 40px; background: v.$card; border: 1px solid #E4DAC3; border-radius: 28px; }
.cp-blogfeat .cp-eyebrow a { color: inherit; text-decoration: none; }
.cp-blogfeat .cp-eyebrow a:hover { text-decoration: underline; }
.cp-blogfeat h3 { margin: 0; font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; max-width: 46rem; }
.cp-blogfeat h3 a { color: v.$ink; text-decoration: none; }
.cp-blogfeat h3 a:hover { color: v.$green; }
.cp-blogfeat p { margin: 0; max-width: 46rem; color: v.$ink-soft; font-size: 1.05rem; }
@media (max-width: 575.98px) {
	.cp-blogfeat { padding: 26px 22px; border-radius: 22px; }
}
.cp-blog-back { margin: 24px 0 0; }
.cp-blog-body ul, .cp-blog-body ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.cp-blog-body li { margin-bottom: .45rem; }
.cp-blog-body li:last-child { margin-bottom: 0; }

// link ai prodotti dentro il testo degli articoli del blog
.cp-blog-body a.cp-prodlink { color: v.$link_color; font-weight: 600; text-decoration: underline; text-decoration-color: v.$honey; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cp-blog-body a.cp-prodlink:hover { color: v.$green; text-decoration-color: v.$green; }


// Contatti e indicazioni: i collegamenti sono già utilizzabili dal telefono.
@media (max-width: 767.98px) {
  .cp-contact-qr, .cp-qr { display: none; }
}

.cp-mead-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-mead-stats .cp-stat { min-width: 0; }
.cp-mead-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-mead-hero .btn { white-space: normal; }
@media (max-width: 991.98px) {
  .cp-mead-hero { grid-template-columns: 1fr; gap: 28px; padding: 8px 0 40px; }
  .cp-mead-hero-img { max-width: 520px; }
  .cp-mead-stats { gap: 12px; }
}
@media (max-width: 575.98px) {
  .cp-mead-hero-img::before { inset: 18px -8px -10px 18px; }
  .cp-mead-types, .cp-mead-steps, .cp-mead-pairs, .cp-mead-stats { grid-template-columns: minmax(0, 1fr); }
  .cp-mead-buy { align-items: stretch; flex-direction: column; }
  .cp-mead-buy .btn { width: 100%; white-space: normal; }
}

// =====================================================================
// Testimonianze (/testimonianze) e componente testimonianze/_mini
// =====================================================================
.cp-tm-stars { color: #D9A23A; letter-spacing: 2px; line-height: 1; font-size: 1.05rem; white-space: nowrap; }
.cp-tm-stars--lg { font-size: 1.15rem; margin-top: 6px; }
.cp-tm-stars--lg span { opacity: .45; }

.cp-tm-hero { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-end; justify-content: space-between; padding: 40px 0 8px; }
.cp-tm-hero-text { flex: 1 1 520px; min-width: 0; }
.cp-tm-hero h1 { margin: 8px 0 12px; font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; }
.cp-tm-score { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 22px 28px; background: #FBF8F1; border: 1px solid #E4DAC3; border-radius: 20px; }
.cp-tm-score-n { font-family: "Fraunces", Georgia, serif; font-size: 3.5rem; line-height: 1; }
.cp-tm-score-detail { font-size: 14px; color: #4A4538; line-height: 1.7; }
.cp-tm-score-detail b { color: #1F1D17; }

.cp-tm-filters { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.cp-tm-filter-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.cp-tm-filter-label { width: 84px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #5E584B; font-weight: 600; }

.cp-tm-featured { margin: 28px 0 0; padding: 44px 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; background: #2F3A22; color: #EFE8D6; border-radius: 28px; }
.cp-tm-quote { flex: none; font-size: 4rem; color: #D9A23A; }
.cp-tm-featured > div { flex: 1 1 520px; min-width: 0; }
.cp-tm-featured blockquote { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; }
.cp-tm-featured figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #D8D1BC; font-size: 14px; }
.cp-tm-featured figcaption b { color: #fff; }

.cp-tm-list { padding: 32px 0 24px; }
.cp-tm-columns { columns: 3 320px; column-gap: 20px; }
.cp-tm-card { break-inside: avoid; margin: 0 0 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; background: #FBF8F1; border: 1px solid #E4DAC3; border-radius: 20px; }
.cp-tm-card p { margin: 0; color: #2B2820; white-space: pre-line; }
.cp-tm-card-top { display: flex; align-items: center; justify-content: space-between; }
.cp-tm-card-foot { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid #E4DAC3; }
.cp-tm-avatar { flex: none; width: 40px; height: 40px; border-radius: 999px; background: #E4D7B8; color: #2F3A22; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.cp-tm-who { min-width: 0; flex: 1 1 auto; line-height: 1.35; }
.cp-tm-who span { color: #5E584B; font-size: 13px; }
.cp-tm-orig { flex: none; color: #5E584B; text-decoration: none; }
.cp-tm-src { padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid #D9CFB6; font-size: 12px; font-weight: 600; }
.cp-tm-src--email { background: #E2EBD0; color: #2F3A22; border-color: #E2EBD0; }
.cp-tm-src--facebook { background: #E3EEFB; color: #2B6CB0; border-color: #E3EEFB; }
.cp-tm-src--trustpilot { background: #DDF3E7; color: #0B6B3A; border-color: #DDF3E7; }
.cp-tm-src--tripadvisor { background: #D9F2EC; color: #00694B; border-color: #D9F2EC; }
.cp-tm-src--dark { background: rgba(246, 241, 230, .14); border-color: transparent; color: #F6F1E6; }
.cp-tm-more { text-align: center; margin-top: 8px; }
.cp-tm-more .btn { min-height: 52px; display: inline-flex; align-items: center; padding: 0 2rem; }

.cp-tm-press { padding: 24px 0 8px; border-top: 1px solid v.$line; }
.cp-tm-press h2 { margin-bottom: 8px; }
.cp-tm-cta { margin-top: 40px; }
.cp-tm-cta-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cp-tm-cta-title { font-family: "Fraunces", Georgia, serif; font-size: 2.1rem; line-height: 1.15; margin-bottom: 6px; }
.cp-tm-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-tm-cta-actions .btn { min-height: 52px; display: inline-flex; align-items: center; padding: 0 1.6rem; }

// componente da inserire in altre pagine
.cp-tm-mini { margin: 40px 0; padding: 32px 32px 28px; background: #EFE7D4; border-radius: 28px; }
.cp-tm-mini-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cp-tm-mini-head a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.cp-tm-mini-score { display: flex; align-items: center; gap: 14px; }
.cp-tm-mini-score b { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 2.5rem; line-height: 1; }
.cp-tm-mini-score small { display: block; font-size: 13px; color: #5E584B; }
.cp-tm-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cp-tm-card--mini { margin: 0; padding: 20px; gap: 10px; }
.cp-tm-card--mini p { font-size: .95rem; }
.cp-tm-mini-by { margin-top: auto; font-size: 13px; color: #5E584B; }
.cp-tm-mini-by b { color: #1F1D17; }

@media (max-width: 767.98px) {
	.cp-tm-featured { padding: 28px 22px; }
	.cp-tm-filter-label { width: 100%; }
	.cp-tm-mini { padding: 22px 18px; }
}

// =====================================================================
// Blocco "Preferisci parlarci?" (WhatsApp / Telegram / Messenger), sopra il footer
// =====================================================================
.cp-social-band { margin-top: 56px; padding-top: 44px; padding-bottom: 44px; }
.cp-social-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cp-social-text { flex: 1 1 420px; min-width: 0; }
.cp-social-title { font-family: "Fraunces", Georgia, serif; font-size: 1.75rem; line-height: 1.15; }
.cp-social-sub { margin-top: 6px; color: #D8D1BC; }
.cp-social-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-social-btn { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid #EFE8D6; border-radius: 999px; color: #EFE8D6; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.cp-social-btn i { font-size: 1.25rem; }
.cp-social-btn:hover { background: #EFE8D6; color: #2F3A22; }
.cp-social-btn--whatsapp { background: #D9A23A; border-color: #D9A23A; color: #1F1D17; }
.cp-social-btn--whatsapp:hover { background: #E7BE6B; border-color: #E7BE6B; color: #1F1D17; }
@media (max-width: 575.98px) {
	.cp-social-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- Premi: sottopagine ---- */
.cp-prize-back { margin: 0 0 8px; }
.cp-prize-detail { margin-bottom: 48px; }
.cp-prize-badge { display: inline-flex; align-items: stretch; margin: 0 0 18px; border-radius: 16px; overflow: hidden; font-family: v.$titleFontFamily; }
.cp-prize-badge-year { background: v.$green; color: v.$honey; padding: 10px 18px; font-size: 1.8rem; line-height: 1.1; }
.cp-prize-badge-label { background: #F4E3B9; color: #4A3A0C; padding: 10px 18px; display: flex; align-items: center; font-size: 1.1rem; }
.cp-prize-lead { margin: 12px 0 0; max-width: 36rem; }
.cp-prize-photo { text-align: center; }
.cp-prize-photo a { display: block; }
.cp-prize-photo img { box-shadow: 0 18px 40px rgba(31, 29, 23, .18); background: #fff; }
.cp-prize-press-title { font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 6px 0 20px; }
.cp-prize-quote { margin: 0; padding: 0 0 0 22px; border-left: 4px solid v.$honey; color: v.$ink-soft; max-width: 52rem; }
.cp-prize-quote p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.65; }
.cp-prize-quote mark { background: #F4E3B9; padding: 1px 6px; border-radius: 6px; color: v.$ink; }
.cp-prize-quote--short { margin: 24px 0; }
.cp-prize-quote--short p { font-family: v.$titleFontFamily; font-size: 1.3rem; line-height: 1.4; color: v.$ink; }
.cp-prize-gallery { margin: 0 0 48px; }
.cp-prize-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cp-prize-pair .cp-gallery-item { aspect-ratio: 4 / 3; border-radius: 20px; }
@media (max-width: 640px) { .cp-prize-pair { grid-template-columns: 1fr; } }

/* ---- Il miele ---- */
.cp-honey-intro { margin-bottom: 48px; }
.cp-honey-note { color: v.$ink-soft; max-width: 38rem; margin: 16px 0 20px; line-height: 1.65; }
.cp-honey-photo { text-align: center; flex-basis: 340px; }
.cp-honey-photo img { width: auto; max-width: 100%; max-height: 460px; border-radius: 0; margin: 0 auto; }
.cp-honey-h2 { font-family: v.$titleFontFamily; font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0 0 24px; }
.cp-honey-steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-honey-step { background: v.$card; border: 1px solid #E4DAC3; border-radius: 24px; padding: 28px 26px; }
.cp-honey-step h3 { font-family: v.$titleFontFamily; font-weight: 400; font-size: 1.5rem; margin: 14px 0 12px; }
.cp-honey-step p { color: v.$ink-soft; line-height: 1.6; margin: 0 0 10px; }
.cp-honey-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: v.$green; color: v.$honey; font-family: v.$titleFontFamily; font-size: 1.3rem; }
.cp-honey-comp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.cp-honey-comp-text p { color: v.$ink-soft; line-height: 1.65; }
.cp-honey-small { font-size: .9rem; }
.cp-honey-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cp-honey-bars li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 3rem; gap: 12px; align-items: center; font-size: .95rem; }
.cp-honey-bar-track { height: 14px; border-radius: 999px; background: #E4D7B8; overflow: hidden; }
.cp-honey-bar-fill { display: block; height: 100%; border-radius: 999px; background: v.$honey; }
.cp-honey-bar-val { text-align: right; font-weight: 600; }
@media (max-width: 900px) {
  .cp-honey-steps, .cp-honey-comp { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cp-honey-bars li { grid-template-columns: 1fr 3rem; }
  .cp-honey-bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* video inseriti con l'editor dei testi dell'admin (Quill): larghezza piena in 16:9 */
iframe.ql-video { display: block; width: 100%; max-width: 760px; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 1.2rem 0; }

/* immagini dei testi scritti con l'editor dell'admin: la larghezza scelta (attributo width) non esce mai dalla colonna */
#notizia-dettaglio img, .cp-blog-body img, .cp-prose img { max-width: 100%; height: auto; }

/* pagina "Notifiche e preferenze" dell'area cliente */
.cp-acc--form .cp-check { align-items: flex-start; padding: 8px 0; }
.cp-acc--form .cp-check input { flex: none; margin-top: 2px; }
.cp-acc--form .cp-check { font-weight: 400; margin: 0; min-height: 0; }
.cp-acc--form .cp-check span { font-weight: 400; line-height: 1.5; }
.cp-acc--form .cp-check small { display: block; margin-top: 4px; font-size: .86rem; line-height: 1.45; }
.cp-acc-note { color: v.$muted; margin: 6px 0 0; }
.cp-acc-note small { font-size: .86rem; }

// hero in tablet (landscape): piu' spazio al carosello, testo piu' compatto
@media (min-width: 768px) and (max-width: 1199.98px) {
	.cp-hero { flex-wrap: nowrap; gap: 32px; align-items: flex-start; padding-top: 20px; }
	.cp-hero-text { flex: 0 1 38%; gap: 16px; }
	.cp-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
	.cp-hero-lead { font-size: 1.05rem; }
	.cp-hero-media { flex: 1 1 62%; align-self: flex-start; }
}
