/*
Theme Name:   Fata Morgana
Theme URI:    https://laboratoriofatamorgana.it/
Description:  Child theme di OceanWP per lo shop Fata Morgana.
Author:       Fata Morgana
Author URI:   https://laboratoriofatamorgana.it/
Template:     oceanwp
Version:      1.5.9
Text Domain:  fatamorgana
*/

/* -------------------------------------------------------------------------
   Lato — body font come su https://laboratoriofatamorgana.it/
   File locali (SIL Open Font License) in assets/fonts/
   ------------------------------------------------------------------------- */

/* latin-ext */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/lato-latin-ext-300-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/lato-latin-ext-700-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/lato-latin-300-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/lato-latin-700-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Body come landing: Lato 300 / 20px (contenuti un filo più leggibili) */
body,
button,
input,
select,
textarea {
	font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-weight: 300;
	font-size: 20px;
}

b,
strong {
	font-weight: 700;
}

/* Pagine e articoli */
.entry-content,
.entry-content p {
	font-size: 20px;
	line-height: 1.65;
}

/* Scheda prodotto: descrizione breve + tab a 17px */
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description p,
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p,
body.single-product .woocommerce div.product .woocommerce-tabs .panel,
body.single-product .woocommerce div.product .woocommerce-tabs .panel p,
body.single-product .woocommerce-Tabs-panel--description,
body.single-product .woocommerce-Tabs-panel--description p,
body.single-product .woocommerce-Tabs-panel--additional_information,
body.single-product .woocommerce-Tabs-panel--additional_information p,
body.single-product .woocommerce table.shop_attributes,
body.single-product .woocommerce table.shop_attributes th,
body.single-product .woocommerce table.shop_attributes td,
body.single-product .woocommerce table.shop_attributes p {
	font-size: 17px;
	line-height: 1.65;
}

/* -------------------------------------------------------------------------
   Scheda prodotto — varianti (Pezzi / confezione)
   ------------------------------------------------------------------------- */
body.single-product .woocommerce div.product form.cart .variations .reset_variations,
.woocommerce div.product form.cart .variations a.reset_variations,
.woocommerce div.product form.cart a.reset_variations {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

body.single-product .woocommerce div.product form.cart table.variations {
	margin-bottom: 1rem;
}

body.single-product .woocommerce div.product form.cart table.variations tbody,
body.single-product .woocommerce div.product form.cart table.variations tr {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

/* Override OceanWP: .variations td.value { padding: 15px 0 } */
.woocommerce div.product form.cart .variations td.value,
.woocommerce div.product form.cart .variations td.label,
.woocommerce div.product form.cart .variations th.label,
.woocommerce div.product form.cart .variations tr:first-child td.value,
.woocommerce div.product form.cart .variations tr:first-child td.label,
.woocommerce div.product form.cart table.variations td.value,
.woocommerce div.product form.cart table.variations td.label,
.woocommerce div.product form.cart table.variations th.label,
body.single-product .woocommerce div.product form.cart table.variations th.label,
body.single-product .woocommerce div.product form.cart table.variations td.label,
body.single-product .woocommerce div.product form.cart table.variations td.value {
	display: flex !important;
	align-items: center !important;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-top: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	border: 0 !important;
	vertical-align: middle !important;
	line-height: 1 !important;
}

body.single-product .woocommerce div.product form.cart table.variations th.label,
body.single-product .woocommerce div.product form.cart table.variations td.label {
	flex: 0 0 auto;
	white-space: nowrap;
}

body.single-product .woocommerce div.product form.cart table.variations td.value {
	flex: 1 1 auto;
	position: relative;
}

body.single-product .woocommerce div.product form.cart table.variations th.label label,
body.single-product .woocommerce div.product form.cart table.variations td.label label {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	line-height: 1.2;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

body.single-product .woocommerce div.product form.cart table.variations td.value select {
	display: block;
	width: 100%;
	max-width: 220px;
	height: 44px;
	min-height: 44px;
	margin: 0;
	/* OceanWP forza padding-top/bottom 0 !important: niente padding verticale nostro */
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0.75rem !important;
	padding-right: 2rem !important;
	font-size: 16px;
	line-height: 44px;
	border: 1px solid #c2c2c2;
	border-radius: 4px;
	background-color: #fff;
	box-sizing: border-box;
	vertical-align: middle;
}

body.single-product .woocommerce div.product form.cart table.variations td.value select:focus {
	border-color: #f39200;
	outline: none;
	box-shadow: 0 0 0 2px rgba(243, 146, 0, 0.2);
}

body.single-product .fm-variation-hint {
	display: block;
	width: 100%;
	margin: 0 0 0.75rem;
	padding: 0;
	text-align: left;
	font-family: var(--fm-heading-font);
	font-weight: var(--fm-heading-weight);
	font-size: 1.3rem;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: #1a1a1a;
}

/* Prezzo dinamico variante — Rockwell bold su .woocommerce-Price-amount.amount */
body.single-product .woocommerce-variation-price,
body.single-product .woocommerce-variation-price .price,
body.single-product .single_variation .price,
body.single-product .woocommerce-variation .price,
body.single-product .woocommerce-variation-price .woocommerce-Price-amount,
body.single-product .woocommerce-variation-price .woocommerce-Price-amount.amount,
body.single-product .woocommerce-variation-price span.amount,
body.single-product .woocommerce-variation-price bdi,
body.single-product .single_variation .woocommerce-Price-amount,
body.single-product .single_variation .woocommerce-Price-amount.amount,
body.single-product .single_variation span.amount,
body.single-product .single_variation bdi,
body.single-product form.variations_form .woocommerce-variation-price .woocommerce-Price-amount.amount,
body.single-product form.cart .woocommerce-variation-price .woocommerce-Price-amount.amount,
body.single-product form.cart .single_variation .woocommerce-Price-amount.amount {
	font-family: "Rockwell", "Rockwell Nova", "Roboto Slab", Georgia, serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	font-size: 2.5rem !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	color: #f39200 !important;
}

body.single-product .woocommerce-variation-price {
	margin: 0.75rem 0 1rem;
}

body.single-product .woocommerce-variation-price del,
body.single-product .woocommerce-variation-price del .woocommerce-Price-amount,
body.single-product .woocommerce-variation-price del .amount,
body.single-product .woocommerce-variation-price del bdi {
	font-family: "Rockwell", "Rockwell Nova", "Roboto Slab", Georgia, serif !important;
	font-weight: 400 !important;
	font-size: 1.15rem !important;
	color: #999 !important;
}

/* -------------------------------------------------------------------------
   Heading = Rockwell come https://laboratoriofatamorgana.it/
   (Rufina in Customizer spesso non viene caricata → fallback sbagliato)
   ------------------------------------------------------------------------- */
:root {
	--fm-heading-font: "Rockwell", "Rockwell Nova", "Roboto Slab", Georgia, serif;
	--fm-heading-weight: 700;
	--fm-checkout-text: #1a1a1a;
	--fm-checkout-muted: #4a4a4a;
	--fm-checkout-border: #c2c2c2;
	--fm-checkout-border-focus: #f39200;
	--fm-checkout-bg: #ffffff;
	--fm-checkout-panel: #fafafa;
	--fm-checkout-line: #ebebeb;
	--fm-cart-icon: #2a2a2a;
	--fm-cart-icon-hover: #f39200;
	--fm-cart-icon-hover-text: #ffffff;
	--fm-reviews-accent: #f39200;
	--fm-reviews-text: #1a1a1a;
	--fm-reviews-muted: #5c5c5c;
	--fm-reviews-line: #ececec;
	--fm-reviews-card: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.theme-heading,
.widget-title,
.oceanwp-widget-recent-posts-title,
.comment-reply-title,
.entry-title,
.sidebar-box .widget-title,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--fm-heading-font) !important;
	font-weight: var(--fm-heading-weight) !important;
}

/* -------------------------------------------------------------------------
   Header: menu centrato + area di servizio (ex top bar)
   ------------------------------------------------------------------------- */

/* Top bar OceanWP nascosta (voci spostate in .fm-header-service) */
#top-bar-wrap {
	display: none !important;
}

/* Voce testuale Carrello nel menu di servizio: solo icona dinamica */
.fm-header-service__menu a[href*="/cart"],
.fm-header-service__menu a[href*="carrello"],
.fm-header-service__menu li:has(> a[href*="/cart"]),
.fm-header-service__menu li:has(> a[href*="carrello"]) {
	display: none !important;
}

/* Carrello OceanWP nel menu principale: mai */
#site-header .woo-menu-icon,
#site-header li.woo-menu-icon,
#site-header .wcmenucart,
#site-header a.wcmenucart,
#site-header .oceanwp-mobile-menu-icon a.wcmenucart,
#site-navigation-wrap .woo-menu-icon {
	display: none !important;
}

/* Area di servizio: menu + carrello, separata dal menu principale */
.fm-header-service {
	display: none;
}

@media (min-width: 960px) {
	.fm-header-service {
		display: flex;
		align-items: center;
		flex: 0 0 auto;
		align-self: stretch;
		gap: 0.65rem;
		margin-left: 0.85rem;
		padding-left: 1rem;
		border-left: 1px solid rgba(255, 255, 255, 0.35);
		line-height: 1;
	}

	.fm-header-service__menu {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 0.15rem 0.85rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.fm-header-service__menu li {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.fm-header-service__menu a {
		display: inline-flex;
		align-items: center;
		font-family: "Lato", system-ui, sans-serif;
		font-size: 13px;
		font-weight: 400;
		letter-spacing: 0.02em;
		text-transform: none;
		text-decoration: none;
		color: #ffffff;
		line-height: 1.2;
		padding: 0;
		transition: opacity 0.15s ease, color 0.15s ease;
	}

	.fm-header-service__menu a:hover,
	.fm-header-service__menu a:focus {
		color: #ffffff;
		opacity: 0.75;
		outline: none;
	}

	.fm-header-service__cart {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		color: #ffffff;
		text-decoration: none;
		border-radius: 6px;
		transition: opacity 0.15s ease, color 0.15s ease;
	}

	.fm-header-service__cart:hover,
	.fm-header-service__cart:focus {
		color: #ffffff;
		opacity: 0.75;
		outline: none;
	}

	.fm-header-service__cart i,
	.fm-header-service__cart .owp-icon,
	.fm-header-service__cart svg {
		font-size: 18px;
		width: 20px;
		height: 20px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #ffffff;
		fill: currentColor;
	}

	.fm-header-service__cart .owp-icon use {
		stroke: #ffffff;
	}

	.fm-header-service__count {
		position: absolute;
		top: -2px;
		right: -4px;
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border-radius: 999px;
		background: #f39200;
		color: #ffffff;
		font-family: "Lato", system-ui, sans-serif;
		font-size: 11px;
		font-weight: 700;
		line-height: 18px;
		text-align: center;
	}

	.fm-header-service__count.is-empty {
		display: none;
	}
}

@media (min-width: 960px) {
	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-header-inner {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
	}

	/* .clr:after clearfix rompe il flex */
	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-header-inner::before,
	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-header-inner::after {
		content: none !important;
		display: none !important;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-logo {
		float: none;
		display: flex;
		align-items: center;
		height: auto;
		flex: 0 0 auto;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-logo #site-logo-inner {
		display: block;
		height: auto !important;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-navigation-wrap {
		float: none;
		display: flex;
		align-items: center;
		margin-left: auto;
		right: 0;
		height: auto;
	}

	/* Menu a sinistra: niente margin-left auto */
	#site-header.left-menu:not(.vertical-header):not(.top-header):not(.medium-header) #site-navigation-wrap,
	#site-header.minimal-header.left-menu #site-navigation-wrap,
	#site-header.transparent-header.left-menu #site-navigation-wrap {
		margin-left: 0;
		order: -1;
	}

	/* Menu centrato assoluto: non forzare flex end */
	#site-header.center-menu:not(.vertical-header) #site-navigation-wrap,
	.center-menu #site-header:not(.vertical-header) #site-navigation-wrap {
		margin-left: 0;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-navigation-wrap .dropdown-menu {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-navigation-wrap .dropdown-menu > li {
		float: none;
		display: flex;
		align-items: center;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-navigation-wrap .dropdown-menu > li > a,
	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) #site-navigation-wrap .dropdown-menu > li > span.opl-logout-link {
		line-height: 1.3;
		display: flex;
		align-items: center;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) .oceanwp-social-menu {
		float: none;
		display: flex;
		align-items: center;
		height: auto;
		position: relative;
		right: auto;
		left: auto;
	}

	#site-header:not(.vertical-header):not(.top-header):not(.medium-header):not(.full_screen-header):not(.center-header) .oceanwp-social-menu .social-menu-inner {
		display: flex;
		align-items: center;
		height: auto !important;
	}
}

/* -------------------------------------------------------------------------
   Sticky header — ancora in cima + logo ridotto allo scroll
   ------------------------------------------------------------------------- */
#fm-header-sticky-placeholder {
	display: none;
	width: 100%;
	pointer-events: none;
}

body.fm-header-is-sticky #fm-header-sticky-placeholder {
	display: block;
}

#site-header.fm-is-sticky {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	z-index: 9999 !important;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
}

body.admin-bar #site-header.fm-is-sticky {
	top: 32px !important;
}

#site-header.fm-is-sticky #site-header-inner {
	min-height: 0 !important;
	height: auto !important;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}

/* Logo sticky: riempie la barra (via di mezzo) */
#site-header.fm-is-sticky #site-logo,
#site-header.fm-is-sticky #site-logo #site-logo-inner {
	height: 52px !important;
	max-height: 52px !important;
	line-height: 52px !important;
	display: flex !important;
	align-items: center !important;
}

#site-header.fm-is-sticky #site-logo #site-logo-inner a,
#site-header.fm-is-sticky #site-logo #site-logo-inner picture {
	display: flex !important;
	align-items: center !important;
	height: 52px !important;
	max-height: 52px !important;
}

#site-header.fm-is-sticky #site-logo img,
#site-header.fm-is-sticky #site-logo .custom-logo,
#site-header.fm-is-sticky #site-logo picture img {
	max-height: 52px !important;
	height: 52px !important;
	width: auto !important;
	object-fit: contain !important;
}

#site-header.fm-is-sticky #site-navigation-wrap .dropdown-menu > li > a,
#site-header.fm-is-sticky #site-navigation-wrap .dropdown-menu > li > span.opl-logout-link {
	line-height: 1.2 !important;
	padding-top: 0.45rem !important;
	padding-bottom: 0.45rem !important;
}

/* Desktop sticky: non mostrare mai il blocco icone mobile (duplicava il carrello) */
@media (min-width: 960px) {
	#site-header.fm-is-sticky .oceanwp-mobile-menu-icon {
		display: none !important;
	}
}

@media (max-width: 782px) {
	body.admin-bar #site-header.fm-is-sticky {
		top: 46px !important;
	}
}

@media (max-width: 959px) {
	#site-header.fm-is-sticky #site-header-inner {
		padding-top: 5px !important;
		padding-bottom: 5px !important;
	}

	#site-header.fm-is-sticky #site-logo,
	#site-header.fm-is-sticky #site-logo #site-logo-inner,
	#site-header.fm-is-sticky #site-logo #site-logo-inner a,
	#site-header.fm-is-sticky #site-logo #site-logo-inner picture {
		height: 48px !important;
		max-height: 48px !important;
		line-height: 48px !important;
	}

	#site-header.fm-is-sticky #site-logo img,
	#site-header.fm-is-sticky #site-logo .custom-logo,
	#site-header.fm-is-sticky #site-logo picture img {
		max-height: 48px !important;
		height: 48px !important;
	}

	/* Solo mobile: hamburger sticky allineato al logo */
	#site-header.fm-is-sticky .oceanwp-mobile-menu-icon,
	#site-header.fm-is-sticky .oceanwp-mobile-menu-icon a.mobile-menu {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 48px !important;
		max-height: 48px !important;
		min-height: 0 !important;
		line-height: 1 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#site-header #site-logo img,
	#site-header #site-logo .custom-logo {
		transition: none;
	}
}

/* Nasconde il carrello nell’header su mobile (c’è già nella bottom bar) */
@media (max-width: 959px) {
	/* Allinea hamburger al centro verticale rispetto al logo (in cima alla pagina) */
	#site-header:not(.fm-is-sticky) #site-header-inner {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;
		min-height: 0 !important;
		height: auto !important;
	}

	#site-header:not(.fm-is-sticky) #site-header-inner::before,
	#site-header:not(.fm-is-sticky) #site-header-inner::after {
		content: none !important;
		display: none !important;
	}

	#site-header:not(.fm-is-sticky) #site-logo {
		float: none !important;
		display: flex !important;
		align-items: center !important;
		height: auto !important;
		flex: 1 1 auto;
		min-width: 0;
	}

	#site-header:not(.fm-is-sticky) #site-logo #site-logo-inner {
		display: flex !important;
		align-items: center !important;
		height: auto !important;
		line-height: 1 !important;
	}

	#site-header:not(.fm-is-sticky) .oceanwp-mobile-menu-icon {
		float: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		height: auto !important;
		flex: 0 0 auto;
		margin-left: auto !important;
	}

	#site-header:not(.fm-is-sticky) .oceanwp-mobile-menu-icon a.mobile-menu {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: auto !important;
		min-height: 44px !important;
		line-height: 1 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	/* Dopo le regole flex, così non vengono sovrascritte */
	#site-header .oceanwp-mobile-menu-icon a.wcmenucart,
	#site-header .oceanwp-mobile-menu-icon a.wcmenucart-toggle-drop_down,
	#site-header .oceanwp-mobile-menu-icon a.wcmenucart-toggle-overlay,
	#site-header .oceanwp-mobile-menu-icon a.wcmenucart-toggle-slide_in,
	#site-header .woo-menu-icon,
	#site-header li.woo-menu-icon,
	#site-header .wcmenucart,
	#site-header a.wcmenucart {
		display: none !important;
	}
}

/* -------------------------------------------------------------------------
   Icona carrello header (bag-style) — hover allineato al brand #f39200
   ------------------------------------------------------------------------- */
.wcmenucart-cart-icon .wcmenucart-count {
	min-width: 1.85em;
	height: 1.85em;
	font-family: "Lato", system-ui, sans-serif;
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.55em;
	letter-spacing: 0;
	color: var(--fm-cart-icon);
	border: 1.5px solid var(--fm-cart-icon);
	border-radius: 2px;
	background-color: transparent;
	padding: 0 4px;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wcmenucart-cart-icon .wcmenucart-count:after {
	width: 12px;
	height: 7px;
	margin-left: -6px;
	border-width: 1.5px;
	border-color: var(--fm-cart-icon);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	transition: border-color 0.2s ease, height 0.2s ease;
}

.bag-style:hover .wcmenucart-cart-icon .wcmenucart-count,
.show-cart .wcmenucart-cart-icon .wcmenucart-count {
	background-color: var(--fm-cart-icon-hover);
	border-color: var(--fm-cart-icon-hover);
	color: var(--fm-cart-icon-hover-text);
}

.bag-style:hover .wcmenucart-cart-icon .wcmenucart-count:after,
.show-cart .wcmenucart-cart-icon .wcmenucart-count:after {
	border-color: var(--fm-cart-icon-hover);
	height: 8px;
}

/* Icona SVG / FontAwesome carrello (stile non-bag) */
#site-header .wcmenucart:hover,
#site-header .wcmenucart:focus,
#site-header .woo-menu-icon a:hover,
#site-header .woo-menu-icon a:focus,
#site-navigation-wrap .dropdown-menu > li > a.wcmenucart:hover,
#site-navigation-wrap .dropdown-menu > li > a.wcmenucart:focus {
	color: var(--fm-cart-icon-hover);
}

#site-header .wcmenucart:hover .owp-icon use,
#site-header .wcmenucart:focus .owp-icon use,
#site-header .woo-menu-icon a:hover .owp-icon use,
#site-header .woo-menu-icon a:focus .owp-icon use {
	stroke: var(--fm-cart-icon-hover);
}

/* Badge conteggio (stile icona) + bordo mini-cart */
.wcmenucart-details.count {
	background-color: var(--fm-cart-icon-hover);
}

.wcmenucart-details.count:before {
	border-color: var(--fm-cart-icon-hover);
}

.current-shop-items-dropdown {
	border-top-color: var(--fm-cart-icon-hover);
}

/* -------------------------------------------------------------------------
   Carrello / Checkout — pulsanti forzati a #f39200
   ------------------------------------------------------------------------- */
body.woocommerce-cart .button,
body.woocommerce-cart button.button,
body.woocommerce-cart input.button,
body.woocommerce-cart a.button,
body.woocommerce-cart .wp-element-button,
body.woocommerce-cart a.checkout-button,
body.woocommerce-cart button[type="submit"],
body.woocommerce-cart input[type="submit"],
body.woocommerce-checkout .button,
body.woocommerce-checkout button.button,
body.woocommerce-checkout input.button,
body.woocommerce-checkout a.button,
body.woocommerce-checkout .wp-element-button,
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button[type="submit"],
body.woocommerce-checkout input[type="submit"] {
	background-color: #f39200 !important;
	border-color: #f39200 !important;
	color: #ffffff !important;
}

body.woocommerce-cart .button:hover,
body.woocommerce-cart button.button:hover,
body.woocommerce-cart input.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .wp-element-button:hover,
body.woocommerce-cart a.checkout-button:hover,
body.woocommerce-cart button[type="submit"]:hover,
body.woocommerce-cart input[type="submit"]:hover,
body.woocommerce-checkout .button:hover,
body.woocommerce-checkout button.button:hover,
body.woocommerce-checkout input.button:hover,
body.woocommerce-checkout a.button:hover,
body.woocommerce-checkout .wp-element-button:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout button[type="submit"]:hover,
body.woocommerce-checkout input[type="submit"]:hover,
body.woocommerce-cart .button:focus,
body.woocommerce-checkout .button:focus,
body.woocommerce-checkout #place_order:focus {
	background-color: #d97e00 !important;
	border-color: #d97e00 !important;
	color: #ffffff !important;
}

/* -------------------------------------------------------------------------
   Carrello — stacca “Paga con PayPal” da “Procedi all’ordine”
   (cart / cart-2: PayPal può stare prima o dopo il CTA)
   ------------------------------------------------------------------------- */
body.woocommerce-cart .wc-proceed-to-checkout,
body.page-slug-cart-2 .wc-proceed-to-checkout {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

/* CTA principale sempre in cima */
body.woocommerce-cart .wc-proceed-to-checkout > a.checkout-button,
body.page-slug-cart-2 .wc-proceed-to-checkout > a.checkout-button {
	order: 1;
	margin: 0 !important;
	width: 100%;
}

/* Separatore “oppure” (inserito da PHP o via CSS se manca) */
body.woocommerce-cart .wc-proceed-to-checkout > .fm-cart-pay-separator,
body.page-slug-cart-2 .wc-proceed-to-checkout > .fm-cart-pay-separator {
	order: 2;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 1.35rem 0 0.85rem;
	padding: 0;
	border: 0;
	width: 100%;
	font-family: "Lato", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888888;
	text-align: center;
}

body.woocommerce-cart .wc-proceed-to-checkout > .fm-cart-pay-separator::before,
body.woocommerce-cart .wc-proceed-to-checkout > .fm-cart-pay-separator::after,
body.page-slug-cart-2 .wc-proceed-to-checkout > .fm-cart-pay-separator::before,
body.page-slug-cart-2 .wc-proceed-to-checkout > .fm-cart-pay-separator::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--fm-checkout-line, #ebebeb);
}

body.woocommerce-cart .wc-proceed-to-checkout > .fm-cart-pay-separator span,
body.page-slug-cart-2 .wc-proceed-to-checkout > .fm-cart-pay-separator span {
	flex: 0 0 auto;
}

/* Niente “oppure” se sotto non c’è PayPal / altri bottoni */
body.woocommerce-cart .wc-proceed-to-checkout:not(:has(> *:not(a.checkout-button):not(.fm-cart-pay-separator))) > .fm-cart-pay-separator,
body.page-slug-cart-2 .wc-proceed-to-checkout:not(:has(> *:not(a.checkout-button):not(.fm-cart-pay-separator))) > .fm-cart-pay-separator {
	display: none;
}

/* Tutto ciò che non è il CTA (PayPal, Express, Smart Buttons, messaggi) sotto */
body.woocommerce-cart .wc-proceed-to-checkout > *:not(a.checkout-button):not(.fm-cart-pay-separator),
body.page-slug-cart-2 .wc-proceed-to-checkout > *:not(a.checkout-button):not(.fm-cart-pay-separator) {
	order: 3;
	margin-top: 0.35rem !important;
	width: 100%;
}

/* Fallback CSS se il separatore PHP non c’è ma ci sono altri bottoni */
body.woocommerce-cart .wc-proceed-to-checkout:not(:has(> .fm-cart-pay-separator)):has(> *:not(a.checkout-button)) > a.checkout-button,
body.page-slug-cart-2 .wc-proceed-to-checkout:not(:has(> .fm-cart-pay-separator)):has(> *:not(a.checkout-button)) > a.checkout-button {
	margin-bottom: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout:not(:has(> .fm-cart-pay-separator)):has(> *:not(a.checkout-button))::after,
body.page-slug-cart-2 .wc-proceed-to-checkout:not(:has(> .fm-cart-pay-separator)):has(> *:not(a.checkout-button))::after {
	content: "oppure";
	order: 2;
	display: block;
	margin: 1.35rem 0 0.85rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--fm-checkout-line, #ebebeb);
	text-align: center;
	font-family: "Lato", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888888;
}

/* PayPal fuori da .wc-proceed-to-checkout (alcuni plugin) */
body.woocommerce-cart .cart_totals .ppc-button-wrapper,
body.woocommerce-cart .cart_totals #ppc-button,
body.woocommerce-cart .cart_totals [id*="ppc-button"],
body.woocommerce-cart .cart_totals .paypal-buttons,
body.woocommerce-cart .cart_totals .wcppec-checkout-buttons,
body.woocommerce-cart .cart_totals #woo_pp_ec_button,
body.page-slug-cart-2 .cart_totals .ppc-button-wrapper,
body.page-slug-cart-2 .cart_totals [id*="ppc-button"] {
	margin-top: 1.35rem !important;
	padding-top: 1.15rem;
	border-top: 1px solid var(--fm-checkout-line, #ebebeb);
}

/* Non ereditare l’arancio del CTA sul bottone PayPal HTML */
body.woocommerce-cart .wc-proceed-to-checkout a:not(.checkout-button),
body.woocommerce-cart .wcppec-checkout-buttons a,
body.woocommerce-cart .wcppec-checkout-buttons .button,
body.woocommerce-cart a.paypal-ec-button,
body.woocommerce-cart #woo_pp_ec_button,
body.woocommerce-cart #woo_pp_ec_button .button,
body.woocommerce-cart .angelleye-button-cart .button,
body.woocommerce-cart .cart_totals a.button.alt:not(.checkout-button),
body.page-slug-cart-2 .wc-proceed-to-checkout a:not(.checkout-button),
body.page-slug-cart-2 .cart_totals a.button.alt:not(.checkout-button) {
	background-color: #ffc439 !important;
	border: 1px solid #f0b72b !important;
	color: #003087 !important;
	font-weight: 700 !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a:not(.checkout-button):hover,
body.woocommerce-cart .wcppec-checkout-buttons a:hover,
body.woocommerce-cart .wcppec-checkout-buttons .button:hover,
body.woocommerce-cart a.paypal-ec-button:hover,
body.woocommerce-cart #woo_pp_ec_button:hover,
body.woocommerce-cart #woo_pp_ec_button .button:hover,
body.woocommerce-cart .angelleye-button-cart .button:hover,
body.woocommerce-cart .cart_totals a.button.alt:not(.checkout-button):hover,
body.page-slug-cart-2 .wc-proceed-to-checkout a:not(.checkout-button):hover,
body.page-slug-cart-2 .cart_totals a.button.alt:not(.checkout-button):hover {
	background-color: #f0b72b !important;
	border-color: #e6a820 !important;
	color: #003087 !important;
}

/* -------------------------------------------------------------------------
   Carrello / Checkout — comfort visivo + titoli = font heading OceanWP
   ------------------------------------------------------------------------- */
body.woocommerce-cart,
body.woocommerce-checkout {
	--fm-checkout-text: #1a1a1a;
	--fm-checkout-muted: #4a4a4a;
	--fm-checkout-border: #c2c2c2;
	--fm-checkout-border-focus: #f39200;
	--fm-checkout-bg: #ffffff;
	--fm-checkout-panel: #fafafa;
	--fm-checkout-line: #ebebeb;
}

/* Titoli sezione: font/weight da Customizer → Typography → All Headings */
body.woocommerce-cart .cart_totals > h2,
body.woocommerce-cart .cross-sells > h2,
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #customer_details h3 {
	font-family: var(--fm-heading-font) !important;
	font-weight: var(--fm-heading-weight) !important;
	font-size: 1.15rem;
	line-height: 1.35;
	letter-spacing: normal;
	text-transform: none;
	color: var(--fm-checkout-text);
	margin: 0 0 1.35rem;
	padding: 0 0 0.65rem;
	border-bottom: 1px solid var(--fm-checkout-line);
	background: transparent;
	text-align: left;
}

/* OceanWP cart_totals h2: toglie uppercase/bande grigie del tema */
body.woocommerce-cart .cart-collaterals .cart_totals > h2 {
	margin: 0 0 1.35rem !important;
	padding: 0 0 0.65rem !important;
	border-width: 0 0 1px !important;
	border-style: solid !important;
	border-color: var(--fm-checkout-line) !important;
	background: transparent !important;
	text-align: left !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	font-size: 1.15rem !important;
}

/* Layout checkout: form a sinistra, riepilogo a destra */
@media (min-width: 768px) {
	body.woocommerce-checkout form.checkout.woocommerce-checkout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 4%;
		row-gap: 0;
		align-items: start;
		width: 100%;
	}

	body.woocommerce-checkout form.checkout > #customer_details,
	body.woocommerce-checkout form.checkout > .col2-set {
		grid-column: 1;
		grid-row: 1 / span 50;
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		clear: none !important;
	}

	body.woocommerce-checkout form.checkout > #order_review_heading {
		grid-column: 2;
		grid-row: 1;
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		clear: none !important;
		margin: 0;
		padding: 1.25rem 1.35rem 0.85rem;
		border: 1px solid var(--fm-checkout-line);
		border-bottom: 0;
		border-radius: 8px 8px 0 0;
		background: var(--fm-checkout-panel);
	}

	body.woocommerce-checkout form.checkout > #order_review {
		grid-column: 2;
		grid-row: 2 / span 49;
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		clear: none !important;
		border-radius: 0 0 8px 8px;
		border-top: 0;
		padding-top: 0.35rem;
	}
}

body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
	margin-top: 2rem;
}

body.woocommerce-checkout #owp-checkout-timeline {
	margin-bottom: 2rem;
}

body.woocommerce-checkout #owp-checkout-timeline .timeline-wrapper,
body.woocommerce-checkout #owp-checkout-timeline .timeline-step,
body.woocommerce-checkout #owp-checkout-timeline .timeline-label,
body.woocommerce-checkout #owp-checkout-timeline li {
	font-size: 15px;
	font-weight: 400;
	color: var(--fm-checkout-muted);
}

body.woocommerce-checkout #owp-checkout-timeline li.active .timeline-wrapper,
body.woocommerce-checkout #owp-checkout-timeline li.active .timeline-step,
body.woocommerce-checkout #owp-checkout-timeline li.active .timeline-label,
body.woocommerce-checkout #owp-checkout-timeline li.active {
	color: #ffffff;
	font-weight: 600;
}

body.woocommerce-checkout .form-row {
	margin-bottom: 1.25rem !important;
	padding: 0;
	box-sizing: border-box;
}

body.woocommerce-checkout .form-row label {
	display: block;
	margin: 0 0 0.45rem !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: var(--fm-checkout-text) !important;
	letter-spacing: 0 !important;
}

body.woocommerce-checkout .form-row label .required,
body.woocommerce-checkout .required {
	color: #c62828 !important;
	font-weight: 700;
	text-decoration: none;
}

body.woocommerce-checkout .form-row label .optional {
	font-weight: 400;
	color: #777777;
	font-size: 0.9em;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .form-row .select2-container .select2-selection--single {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--fm-checkout-text) !important;
	background-color: var(--fm-checkout-bg) !important;
	border: 1px solid var(--fm-checkout-border) !important;
	border-radius: 6px !important;
	min-height: 48px;
	padding: 0.7rem 0.9rem !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-checkout .form-row .select2-container {
	width: 100% !important;
}

body.woocommerce-checkout .form-row .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 48px !important;
	padding: 0 0.9rem !important;
}

body.woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__rendered {
	font-size: 16px !important;
	color: var(--fm-checkout-text) !important;
	line-height: 48px !important;
	padding: 0 !important;
}

body.woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__arrow {
	height: 46px !important;
}

body.woocommerce-checkout .form-row textarea {
	min-height: 100px;
}

body.woocommerce-checkout .form-row input.input-text::placeholder,
body.woocommerce-checkout .form-row textarea::placeholder {
	color: #7a7a7a !important;
	opacity: 1;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout .form-row .select2-container--open .select2-selection--single,
body.woocommerce-checkout .form-row .select2-container--focus .select2-selection--single {
	border-color: var(--fm-checkout-border-focus) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.18) !important;
}

/* Nome / Cognome affiancati — solo dentro i campi cliente */
@media (min-width: 768px) {
	body.woocommerce-checkout #customer_details .form-row-first,
	body.woocommerce-checkout #customer_details .form-row-last {
		width: 48% !important;
		float: left;
		clear: none !important;
	}

	body.woocommerce-checkout #customer_details .form-row-first {
		margin-right: 4% !important;
	}

	body.woocommerce-checkout #customer_details .form-row-last {
		float: right;
		margin-right: 0 !important;
	}

	body.woocommerce-checkout #customer_details .form-row-wide,
	body.woocommerce-checkout #customer_details #billing_email_field,
	body.woocommerce-checkout #customer_details #billing_phone_field {
		width: 100% !important;
		float: none !important;
		clear: none !important;
	}

	body.woocommerce-checkout #customer_details .form-row-wide::before {
		content: "";
		display: table;
		clear: both;
	}
}

body.woocommerce-checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce-invalid select,
body.woocommerce-checkout .woocommerce-invalid .select2-selection {
	border-color: #c62828 !important;
}

body.woocommerce-checkout .woocommerce-validated input.input-text,
body.woocommerce-checkout .woocommerce-validated select,
body.woocommerce-checkout .woocommerce-validated .select2-selection {
	border-color: #2e7d32 !important;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-notice {
	font-size: 15px;
	line-height: 1.55;
	color: var(--fm-checkout-text);
}

/* Riepilogo ordine + pagamento */
body.woocommerce-checkout #order_review {
	font-size: 16px;
	color: var(--fm-checkout-text);
	background: var(--fm-checkout-panel);
	border: 1px solid var(--fm-checkout-line);
	border-radius: 8px;
	padding: 1.25rem 1.35rem 1.5rem;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
	font-size: 15px;
	color: var(--fm-checkout-text);
	margin-bottom: 1.25rem !important;
	border-collapse: collapse;
	width: 100%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 0.75rem 0 !important;
	border-color: var(--fm-checkout-line) !important;
	line-height: 1.45;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	font-size: 16px;
	font-weight: 700;
	padding-top: 1rem !important;
	border-top: 2px solid #ddd !important;
}

body.woocommerce-checkout #payment {
	font-size: 16px;
	color: var(--fm-checkout-text);
	background: transparent;
	margin-top: 0.5rem;
}

body.woocommerce-checkout #payment ul.payment_methods {
	padding: 0 !important;
	border: 0 !important;
	margin-bottom: 1rem !important;
}

body.woocommerce-checkout #payment ul.payment_methods > li {
	margin-bottom: 0.5rem !important;
	border-radius: 6px;
	overflow: hidden;
}

body.woocommerce-checkout #payment .payment_methods li label {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--fm-checkout-text) !important;
	padding: 1rem 1.1rem !important;
}

body.woocommerce-checkout #payment .payment_box {
	font-size: 15px;
	line-height: 1.55;
	color: var(--fm-checkout-muted);
	padding: 0.85rem 1.1rem 1.1rem !important;
}

body.woocommerce-checkout #place_order {
	margin-top: 0.75rem;
	min-height: 52px;
	font-size: 16px !important;
}

body.woocommerce-checkout a.oceanwp-backward,
body.woocommerce-checkout .ocean-multistep-checkout-nav a {
	font-size: 15px;
	font-weight: 600;
	color: #f39200 !important;
}

/* Carrello: tabella e totali più leggibili */
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
	padding: 1rem 0.75rem !important;
	font-size: 15px;
	line-height: 1.45;
	color: var(--fm-checkout-text);
	border-color: var(--fm-checkout-line) !important;
}

body.woocommerce-cart table.shop_table thead th {
	font-family: var(--fm-heading-font) !important;
	font-weight: var(--fm-heading-weight) !important;
	font-size: 13px !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fm-checkout-muted);
	background: var(--fm-checkout-panel);
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 0.85rem 0 !important;
	font-size: 15px;
	line-height: 1.45;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
	font-size: 16px;
	font-weight: 700;
	border-top: 2px solid #ddd !important;
	padding-top: 1rem !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	padding: 1.25rem 1.35rem 1.5rem;
	border-color: var(--fm-checkout-line);
	border-radius: 8px;
	background: var(--fm-checkout-panel);
}

@media (max-width: 767px) {
	body.woocommerce-checkout #customer_details .form-row-first,
	body.woocommerce-checkout #customer_details .form-row-last {
		width: 100% !important;
		float: none !important;
		margin-right: 0 !important;
	}

	body.woocommerce-checkout #order_review {
		margin-top: 1.5rem;
	}
}

/* -------------------------------------------------------------------------
   Pagine contenuto (Termini, Spedizioni, …)
   ------------------------------------------------------------------------- */
body.page-fm-content .entry-content,
body.page-slug-termini-e-condizioni .entry-content,
body.page-slug-spedizioni .entry-content {
	max-width: 48rem;
	font-size: 20px;
	line-height: 1.65;
	color: #1a1a1a;
}

body.page-fm-content .entry-content h2,
body.page-slug-termini-e-condizioni .entry-content h2,
body.page-slug-spedizioni .entry-content h2 {
	font-family: var(--fm-heading-font, inherit);
	font-weight: var(--fm-heading-weight, 600);
	font-size: 1.15rem;
	line-height: 1.35;
	margin: 2rem 0 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #ebebeb;
	color: #1a1a1a;
}

body.page-fm-content .entry-content h2:first-child,
body.page-slug-termini-e-condizioni .entry-content h2:first-child,
body.page-slug-spedizioni .entry-content h2:first-child {
	margin-top: 0;
}

body.page-fm-content .entry-content p,
body.page-slug-termini-e-condizioni .entry-content p,
body.page-slug-spedizioni .entry-content p {
	margin: 0 0 0.85rem;
}

body.page-fm-content .entry-content ul,
body.page-slug-spedizioni .entry-content ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

body.page-fm-content .entry-content li,
body.page-slug-spedizioni .entry-content li {
	margin: 0 0 0.45rem;
}

body.page-fm-content .entry-content details,
body.page-slug-spedizioni .entry-content details {
	margin: 0 0 0.65rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #ebebeb;
}

body.page-fm-content .entry-content details summary,
body.page-slug-spedizioni .entry-content details summary {
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

body.page-fm-content .entry-content details summary::-webkit-details-marker,
body.page-slug-spedizioni .entry-content details summary::-webkit-details-marker {
	display: none;
}

body.page-fm-content .entry-content details p,
body.page-slug-spedizioni .entry-content details p {
	margin: 0.55rem 0 0;
}

/* Descrizione categoria prodotto (testo unico SEO) */
body.fm-has-cat-description .term-description,
body.tax-product_cat .term-description {
	display: block;
	max-width: 48rem;
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #333;
}

/* -------------------------------------------------------------------------
   Mobile bottom bar — social + account + carrello
   ------------------------------------------------------------------------- */
.fm-mobile-bar {
	display: none;
}

@media (max-width: 959px) {
	/* Nasconde la top bar (social) su mobile — sostituita dalla bottom bar */
	#top-bar-wrap {
		display: none !important;
	}

	body {
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}

	.fm-mobile-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10000;
		min-height: 56px;
		padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
		background: #f39200;
		border-top: 0;
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
		color: #ffffff;
	}

	.fm-mobile-bar__social {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 0.15rem;
		margin: 0;
		padding: 0;
		list-style: none;
		min-width: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.fm-mobile-bar__social-item {
		margin: 0;
		flex: 0 0 auto;
	}

	.fm-mobile-bar__social a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		color: #ffffff;
		font-size: 18px;
		text-decoration: none;
		border-radius: 8px;
		transition: background-color 0.15s ease, color 0.15s ease;
	}

	.fm-mobile-bar__social a:hover,
	.fm-mobile-bar__social a:focus {
		background: rgba(255, 255, 255, 0.18);
		color: #ffffff;
		outline: none;
	}

	.fm-mobile-bar__actions {
		display: flex;
		align-items: center;
		gap: 0.25rem;
		flex: 0 0 auto;
		margin-left: auto;
	}

	.fm-mobile-bar__btn {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.1rem;
		min-width: 52px;
		padding: 0.2rem 0.45rem;
		color: #ffffff;
		text-decoration: none;
		border-radius: 8px;
		line-height: 1.1;
	}

	.fm-mobile-bar__btn i,
	.fm-mobile-bar__btn svg,
	.fm-mobile-bar__btn .owp-icon {
		font-size: 20px;
		width: 22px;
		height: 22px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #ffffff;
		fill: currentColor;
	}

	.fm-mobile-bar__label {
		font-size: 10px;
		font-weight: 600;
		letter-spacing: 0.02em;
		text-transform: uppercase;
		color: #ffffff;
	}

	.fm-mobile-bar__btn:hover,
	.fm-mobile-bar__btn:focus {
		background: rgba(255, 255, 255, 0.18);
		color: #ffffff;
		outline: none;
	}

	.fm-mobile-bar__btn:hover .fm-mobile-bar__label,
	.fm-mobile-bar__btn:focus .fm-mobile-bar__label {
		color: #ffffff;
	}

	.fm-mobile-bar__count {
		position: absolute;
		top: 0;
		right: 0.15rem;
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border-radius: 999px;
		background: #ffffff;
		color: #f39200;
		font-size: 11px;
		font-weight: 700;
		line-height: 18px;
		text-align: center;
	}

	.fm-mobile-bar__count.is-empty {
		display: none;
	}

	/* Scroll-to-top OceanWP non copra la barra */
	#scroll-top {
		bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

/* -------------------------------------------------------------------------
   Recensioni Google — shortcode [fm_google_reviews]
   ------------------------------------------------------------------------- */
.fm-reviews {
	--fm-reviews-accent: #f39200;
	--fm-reviews-text: #1a1a1a;
	--fm-reviews-muted: #5c5c5c;
	--fm-reviews-line: #ececec;
	--fm-reviews-card: #ffffff;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.25rem 0 0.5rem;
	color: var(--fm-reviews-text);
	font-size: 1.05rem;
}

.fm-reviews--notice {
	padding: 1rem 1.25rem;
	background: var(--fm-reviews-card);
	color: var(--fm-reviews-text);
	font-size: 1.05rem;
}

.fm-reviews__intro {
	text-align: center;
	margin-bottom: 1.25rem;
}

.fm-reviews__title {
	margin: 0;
	font-family: var(--fm-heading-font);
	font-weight: var(--fm-heading-weight);
	font-size: clamp(1.6rem, 2.5vw, 2.1rem);
	line-height: 1.25;
	color: inherit;
}

.fm-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem 1.1rem;
	margin: 0 auto 1.5rem;
	padding: 1rem 1.35rem;
	background: var(--fm-reviews-card);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.fm-reviews__g {
	display: inline-flex;
	flex-shrink: 0;
}

.fm-reviews__g svg {
	width: 26px;
	height: 26px;
}

.fm-reviews__summary-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
}

.fm-reviews__score {
	font-family: var(--fm-heading-font);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--fm-reviews-text);
}

.fm-reviews__stars {
	display: inline-flex;
	gap: 2px;
	color: var(--fm-reviews-accent);
	vertical-align: middle;
}

.fm-reviews__star {
	display: inline-flex;
	line-height: 0;
}

.fm-reviews__summary .fm-reviews__stars svg {
	width: 20px;
	height: 20px;
}

.fm-reviews__count {
	width: 100%;
	font-size: 15px;
	font-weight: 400;
	color: var(--fm-reviews-muted);
}

@media (min-width: 600px) {
	.fm-reviews__count {
		width: auto;
	}
}

.fm-reviews__cta {
	display: inline-flex;
	align-items: center;
	margin-left: auto;
	padding: 0.65rem 1.25rem;
	background: var(--fm-reviews-accent);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.fm-reviews__cta:hover,
.fm-reviews__cta:focus {
	background: #d97e00;
	color: #fff !important;
}

/* Una sola riga: scroll orizzontale su mobile, griglia su desktop */
.fm-reviews__grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	overflow-x: auto;
	padding: 0.25rem 0.15rem 0.75rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.fm-reviews__grid::-webkit-scrollbar {
	height: 6px;
}

.fm-reviews__grid::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.35);
	border-radius: 3px;
}

.fm-reviews__item {
	flex: 0 0 min(300px, 85vw);
	scroll-snap-align: start;
	margin: 0;
	padding: 1.35rem 1.35rem 1.45rem;
	border: 0;
	background: var(--fm-reviews-card);
	color: var(--fm-reviews-text);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	min-height: 100%;
	box-sizing: border-box;
}

@media (min-width: 1100px) {
	.fm-reviews__grid {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		overflow: visible;
		padding-bottom: 0.25rem;
		gap: 1rem;
	}

	.fm-reviews__grid--cols-1 { grid-template-columns: 1fr; }
	.fm-reviews__grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fm-reviews__grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fm-reviews__grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.fm-reviews__grid--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

	.fm-reviews__item {
		flex: none;
		width: auto;
		min-width: 0;
	}
}

@media (min-width: 900px) and (max-width: 1099px) {
	.fm-reviews__grid {
		display: grid;
		grid-template-columns: repeat(var(--fm-reviews-cols, 5), minmax(0, 1fr));
		overflow: visible;
		gap: 0.85rem;
	}

	.fm-reviews__grid--cols-5 { --fm-reviews-cols: 5; }
	.fm-reviews__grid--cols-4 { --fm-reviews-cols: 4; }
	.fm-reviews__grid--cols-3 { --fm-reviews-cols: 3; }
	.fm-reviews__grid--cols-2 { --fm-reviews-cols: 2; }
	.fm-reviews__grid--cols-1 { --fm-reviews-cols: 1; }

	.fm-reviews__item {
		flex: none;
		width: auto;
		min-width: 0;
		padding: 1.15rem;
	}
}

.fm-reviews__item-head {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.95rem;
}

.fm-reviews__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #eee;
}

.fm-reviews__avatar--fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fm-reviews-accent);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
}

.fm-reviews__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.fm-reviews__author {
	font-family: var(--fm-heading-font);
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: var(--fm-reviews-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fm-reviews__author a {
	color: inherit;
	text-decoration: none;
}

.fm-reviews__author a:hover,
.fm-reviews__author a:focus {
	color: var(--fm-reviews-accent);
}

.fm-reviews__meta .fm-reviews__stars {
	margin-top: 0.15rem;
}

.fm-reviews__meta .fm-reviews__stars svg {
	width: 16px;
	height: 16px;
}

.fm-reviews__time {
	font-size: 15px;
	color: var(--fm-reviews-muted);
}

.fm-reviews__text {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.55;
	color: #222222;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
}

.fm-reviews__attribution {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.72);
}

.fm-reviews__attribution a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fm-reviews__attribution a:hover,
.fm-reviews__attribution a:focus {
	color: var(--fm-reviews-accent);
}

/* Footer: niente barra "|" a sinistra dei titoli sezione */
#footer-widgets .footer-box .widget-title {
	border-width: 0;
	padding-left: 0;
}

/* -------------------------------------------------------------------------
   Footer social — colori brand + icona proporzionata all’area cliccabile
   ------------------------------------------------------------------------- */
#footer-widgets .social-widget li a,
#footer-widgets .oceanwp-social li a,
#footer-widgets .oceanwp-social-icons li a,
#footer .elementor-social-icon {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	/* Override inline style del widget OceanWP (font-size:13px su area 48px) */
	font-size: 26px !important;
	line-height: 1 !important;
}

#footer-widgets .social-widget li a i,
#footer-widgets .oceanwp-social li a i,
#footer-widgets .oceanwp-social-icons li a i,
#footer-widgets .social-widget li a .owp-icon,
#footer-widgets .oceanwp-social-icons li a .owp-icon,
#footer .elementor-social-icon i,
#footer .elementor-social-icon svg {
	font-size: 26px !important;
	width: 1em !important;
	height: 1em !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

#footer-widgets .social-widget li a .owp-icon use,
#footer-widgets .oceanwp-social li a .owp-icon use,
#footer-widgets .oceanwp-social-icons li a .owp-icon use {
	stroke: currentColor !important;
}

#footer-widgets .social-widget li a,
#footer-widgets .oceanwp-social li a,
#footer-widgets .oceanwp-social-icons li a {
	color: inherit;
}

#footer-widgets .social-widget li.oceanwp-facebook a,
#footer-widgets .oceanwp-social li.oceanwp-facebook a,
#footer-widgets .oceanwp-social-icons li.oceanwp-facebook a,
#footer .elementor-social-icon-facebook {
	color: #1877f2 !important;
	background: transparent !important;
	fill: #1877f2 !important;
}

#footer-widgets .social-widget li.oceanwp-instagram a,
#footer-widgets .oceanwp-social li.oceanwp-instagram a,
#footer-widgets .oceanwp-social-icons li.oceanwp-instagram a,
#footer .elementor-social-icon-instagram {
	color: #e4405f !important;
	background: transparent !important;
	fill: #e4405f !important;
}

#footer-widgets .social-widget li.oceanwp-youtube a,
#footer-widgets .oceanwp-social li.oceanwp-youtube a,
#footer-widgets .oceanwp-social-icons li.oceanwp-youtube a,
#footer .elementor-social-icon-youtube {
	color: #ff0000 !important;
	background: transparent !important;
	fill: #ff0000 !important;
}

#footer-widgets .social-widget li.oceanwp-twitter a,
#footer-widgets .oceanwp-social li.oceanwp-twitter a,
#footer-widgets .oceanwp-social-icons li.oceanwp-twitter a,
#footer-widgets .social-widget li.oceanwp-x a,
#footer .elementor-social-icon-twitter,
#footer .elementor-social-icon-x-twitter {
	color: #000000 !important;
	background: transparent !important;
	fill: #000000 !important;
}

#footer-widgets .social-widget li.oceanwp-linkedin a,
#footer-widgets .oceanwp-social li.oceanwp-linkedin a,
#footer-widgets .oceanwp-social-icons li.oceanwp-linkedin a,
#footer .elementor-social-icon-linkedin {
	color: #0a66c2 !important;
	background: transparent !important;
	fill: #0a66c2 !important;
}

#footer-widgets .social-widget li.oceanwp-tiktok a,
#footer-widgets .oceanwp-social li.oceanwp-tiktok a,
#footer-widgets .oceanwp-social-icons li.oceanwp-tiktok a,
#footer .elementor-social-icon-tiktok {
	color: #000000 !important;
	background: transparent !important;
	fill: #000000 !important;
}

#footer-widgets .social-widget li.oceanwp-whatsapp a,
#footer-widgets .oceanwp-social li.oceanwp-whatsapp a,
#footer-widgets .oceanwp-social-icons li.oceanwp-whatsapp a,
#footer .elementor-social-icon-whatsapp {
	color: #25d366 !important;
	background: transparent !important;
	fill: #25d366 !important;
}

#footer-widgets .social-widget li.oceanwp-email a,
#footer-widgets .oceanwp-social li.oceanwp-email a,
#footer-widgets .oceanwp-social-icons li.oceanwp-email a,
#footer .elementor-social-icon-email {
	color: #ea4335 !important;
	background: transparent !important;
	fill: #ea4335 !important;
}

#footer-widgets .social-widget li a:hover,
#footer-widgets .oceanwp-social li a:hover,
#footer-widgets .oceanwp-social-icons li a:hover,
#footer .elementor-social-icon:hover {
	opacity: 0.85;
	background: transparent !important;
}

/* -------------------------------------------------------------------------
   Prodotti correlati — 4 colonne, foto stessa altezza
   ------------------------------------------------------------------------- */
@media (min-width: 960px) {
	body.single-product .related.products ul.products li.product,
	body.single-product .upsells.products ul.products li.product {
		width: 25% !important;
		max-width: 25% !important;
		float: left;
		clear: none !important;
	}

	body.single-product .related.products ul.products li.product:nth-child(4n+1),
	body.single-product .upsells.products ul.products li.product:nth-child(4n+1) {
		clear: both !important;
	}
}

@media (min-width: 768px) and (max-width: 959px) {
	body.single-product .related.products ul.products li.product,
	body.single-product .upsells.products ul.products li.product {
		width: 50% !important;
		max-width: 50% !important;
	}
}

body.single-product .related.products ul.products li.product .woo-entry-image,
body.single-product .related.products ul.products li.product .woo-entry-image-swap,
body.single-product .related.products ul.products li.product .product-entry-slider-wrap,
body.single-product .upsells.products ul.products li.product .woo-entry-image,
body.single-product .upsells.products ul.products li.product .woo-entry-image-swap,
body.single-product .upsells.products ul.products li.product .product-entry-slider-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	width: 100%;
}

body.single-product .related.products ul.products li.product .woo-entry-image img,
body.single-product .related.products ul.products li.product .woo-entry-image-swap img,
body.single-product .related.products ul.products li.product .product-entry-slider-wrap img,
body.single-product .upsells.products ul.products li.product .woo-entry-image img,
body.single-product .upsells.products ul.products li.product .woo-entry-image-swap img,
body.single-product .upsells.products ul.products li.product .product-entry-slider-wrap img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
}

body.single-product .related.products ul.products li.product .woo-entry-image-swap .woo-entry-image-main,
body.single-product .upsells.products ul.products li.product .woo-entry-image-swap .woo-entry-image-main {
	height: 100%;
}

body.single-product .related.products ul.products li.product .woo-entry-image-swap .woo-entry-image-secondary,
body.single-product .upsells.products ul.products li.product .woo-entry-image-swap .woo-entry-image-secondary {
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
   Griglia prodotti — 2 colonne su mobile (shortcode [products] / shop)
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.woocommerce ul.products li.product,
	ul.products.oceanwp-row li.product {
		width: 50% !important;
		max-width: 50% !important;
		float: left;
		clear: none !important;
	}

	.woocommerce ul.products li.product:nth-child(2n+1),
	ul.products.oceanwp-row li.product:nth-child(2n+1) {
		clear: both !important;
	}

	/* Titoli più piccoli: in 2 colonne non devono sforare lo schermo */
	.woocommerce ul.products li.product li.title,
	.woocommerce ul.products li.product li.title h2,
	.woocommerce ul.products li.product li.title a,
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product-category .woocommerce-loop-category__title,
	ul.products.oceanwp-row li.product li.title,
	ul.products.oceanwp-row li.product li.title h2,
	ul.products.oceanwp-row li.product li.title a {
		display: block !important;
		font-size: 12px !important;
		line-height: 1.25 !important;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
	}
}

/* -------------------------------------------------------------------------
   Page header (titolo + breadcrumb)
   ------------------------------------------------------------------------- */
.page-header,
#page-header.page-header,
header.page-header {
	background-color: #372216 !important;
	background-image: none !important;
}

.page-header .page-header-title,
.page-header.background-image-page-header .page-header-title {
	color: #ffffff !important;
}

.page-header .site-breadcrumbs,
.page-header .site-breadcrumbs a,
.page-header .site-breadcrumbs .breadcrumb-sep,
.background-image-page-header .site-breadcrumbs {
	color: #efefef !important;
}

.page-header .site-breadcrumbs a:hover {
	color: #f39200 !important;
}

/* -------------------------------------------------------------------------
   Cart drawer laterale (sostituisce overlay vuoto OceanWP)
   ------------------------------------------------------------------------- */
.owp-cart-overlay {
	display: none !important;
	pointer-events: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

/* Sidebar disponibile anche su desktop (OceanWP la limita a mobile) */
#oceanwp-cart-sidebar-wrap {
	display: block !important;
}

.show-cart #oceanwp-cart-sidebar-wrap,
.show-cart-sidebar #oceanwp-cart-sidebar-wrap {
	visibility: visible !important;
	opacity: 1 !important;
}

.show-cart #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar,
.show-cart-sidebar #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar {
	right: 0 !important;
}

#oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar {
	width: min(400px, 92vw);
	padding: 1.25rem 0 1.5rem;
	background-color: #ffffff;
}

#oceanwp-cart-sidebar-wrap .owp-cart-title {
	font-family: var(--fm-heading-font);
	font-weight: var(--fm-heading-weight);
	font-size: 1.35rem;
	line-height: 1.3;
	color: #1a1a1a;
	padding: 0 1.35rem;
	margin: 0;
}

#oceanwp-cart-sidebar-wrap .divider {
	background-color: #ebebeb;
	height: 1px;
	margin: 0.85rem 0 0;
}

#oceanwp-cart-sidebar-wrap .oceanwp-cart-close {
	top: 1rem;
	right: 1rem;
	width: 32px;
	height: 32px;
	line-height: 30px;
	font-size: 1.5rem;
	color: #1a1a1a;
	border-radius: 4px;
	text-align: center;
}

#oceanwp-cart-sidebar-wrap .oceanwp-cart-close:hover {
	color: #f39200;
	background: rgba(243, 146, 0, 0.08);
}

#oceanwp-cart-sidebar-wrap .owp-mini-cart {
	padding: 0.85rem 1.35rem 0;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart ul.cart_list li {
	padding: 0.85rem 0;
	border-bottom: 1px solid #f0f0f0;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart .total {
	margin: 1rem 0;
	padding: 0.85rem 0;
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
	font-size: 1rem;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart .total strong {
	font-family: var(--fm-heading-font);
	font-weight: 700;
	color: #1a1a1a;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart .total .amount {
	font-family: var(--fm-heading-font);
	font-weight: 700;
	color: #f39200;
	font-size: 1.15rem;
}

/* Pulsanti uno sotto l’altro, full width */
#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0.65rem;
	float: none !important;
	margin: 0 0 0.5rem !important;
	padding: 0 !important;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons:after,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons:after {
	display: none !important;
	content: none !important;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons .button,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons .button,
#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons a.button,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons a.button {
	float: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0.85rem 1rem !important;
	box-sizing: border-box;
	text-align: center;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 4px !important;
	line-height: 1.3 !important;
}

/* Visualizza carrello: outline */
#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons .button:not(.checkout),
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons .button:not(.checkout),
#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons a.button:first-child:not(.checkout) {
	background-color: #ffffff !important;
	border: 2px solid #f39200 !important;
	color: #f39200 !important;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons .button:not(.checkout):hover,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
	background-color: rgba(243, 146, 0, 0.08) !important;
	color: #d97e00 !important;
	border-color: #d97e00 !important;
}

/* Pagamento / checkout: pieno arancio */
#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons .checkout,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons .checkout,
#oceanwp-cart-sidebar-wrap .button.checkout,
#oceanwp-cart-sidebar-wrap a.checkout-button {
	background-color: #f39200 !important;
	border: 2px solid #f39200 !important;
	color: #ffffff !important;
	order: 2;
}

#oceanwp-cart-sidebar-wrap .widget_shopping_cart_content .buttons .checkout:hover,
#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__buttons .checkout:hover,
#oceanwp-cart-sidebar-wrap .button.checkout:hover {
	background-color: #d97e00 !important;
	border-color: #d97e00 !important;
	color: #ffffff !important;
}

#oceanwp-cart-sidebar-wrap .woocommerce-mini-cart__empty-message {
	padding: 1.5rem 0;
	text-align: center;
	color: #6a6a6a;
}
