/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* =========================================================
   00. Palette globale
   ========================================================= */

:root {
	--ias-primary: #004369;
	--ias-primary-dark: #003452;
	--ias-accent: #1CA0A0;
	--ias-accent-dark: #0E7777;
	--ias-accent-bright: #1CA0A0;
	--ias-accent-bg: #E8F9F9;
	--ias-soft-bg: #F1F7FB;
	--ias-soft-bg-2: #F6FAFD;
	--ias-border: #DDE8F2;
	--ias-text: #5F6F82;
	--ias-muted: #8A98AA;
	--ias-price-blue: #004369;

	--ias-icon-step-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2 3h3l3 13h11l3-8H6'/%3E%3C/svg%3E");
	--ias-icon-step-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M7 15h4'/%3E%3C/svg%3E");
	--ias-icon-step-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");
	--ias-icon-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 14h10l1-14'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
	--ias-icon-button-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 13H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
	--ias-icon-button-payment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m8 15 2 2 4-4'/%3E%3C/svg%3E");
}

/* =========================================================
   01. Badge spedizione prodotto / archivio / carrello
   ========================================================= */

.wd-product-thumb {
	position: relative;
}

/* Card prodotto: badge spedizione sovrapposto alla parte bassa dell'immagine */
.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping),
.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping),
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping),
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	position: relative !important;
}

.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping) > .wd-loop-prod-thumb,
.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping) > .wd-loop-prod-thumb,
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping) > .wd-loop-prod-thumb,
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping) > .wd-loop-prod-thumb {
	grid-column: 1 !important;
	grid-row: 1 !important;
	position: relative !important;
	z-index: 1 !important;
}

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping),
.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping) {
	grid-column: 1 !important;
	grid-row: 1 !important;
	align-self: end !important;
	justify-self: center !important;
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 5 !important;
	pointer-events: none !important;
}

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	transform: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	max-width: calc(100% - 32px) !important;
	min-height: 20px !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--ias-text) !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	pointer-events: none !important;
}

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping {
	background: var(--ias-accent-dark) !important;
}

.wd-hover-small .free-shipping,
.wd-hover-small .reduced-shipping {
	display: none;
}

.single-product .free-shipping,
.single-product .reduced-shipping {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	min-height: 22px;
	margin: 0 0 0 8px;
	padding: 5px 7px;
	border: 0;
	border-radius: 3px;
	background: var(--ias-primary);
	color: #ffffff;
	font-family: "Poppins", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

.single-product .reduced-shipping {
	background: var(--ias-accent-dark);
}

.wd-sticky-btn .free-shipping,
.wd-sticky-btn .reduced-shipping {
	display: flex;
	justify-content: center;
	margin-top: 3px;
	background: #f7f7f7 !important;
	color: var(--ias-primary) !important;
	font-size: 12px !important;
}

.woocommerce-cart .cart-badge.free-shipping,
.woocommerce-cart .cart-badge.reduced-shipping {
	display: block;
	width: fit-content;
	margin-top: 4px;
	padding: 4px 6px;
	border-radius: 3px;
	background: var(--ias-primary);
	color: #ffffff;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.woocommerce-mini-cart .mini-cart-badge {
	width: fit-content;
	margin-top: 4px;
	padding: 2px 4px;
	border-radius: 3px;
	background: var(--ias-primary);
	color: #ffffff;
	font-size: 7px;
	font-weight: 700;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
	.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping),
	.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
	.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping) {
		margin-bottom: 8px !important;
	}

	.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
	.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
	.slide-wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
	.slide-wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping {
		padding: 3px 7px !important;
		font-size: 9px !important;
	}
}

/* =========================================================
   02. Blog / Articoli
   ========================================================= */

.post-single-page .entry-header img,
.single-post .page-title,
.single-post .wd-post-date.wd-style-with-bg,
.page-title-default .wd-back-btn,
.wd-post-author,
.wd-meta-author,
.wd-post-meta .wd-post-author,
.wd-post-header .wd-post-author {
	display: none !important;
}

.single-post .entry-header .entry-title {
	padding: 0.5rem 0;
	font-size: 1rem;
}

.blog-post-loop .post-title {
	line-height: 30px;
}

.blog-post-loop .post-title a {
	color: #ffffff;
}

/* =========================================================
   03. Breadcrumbs
   ========================================================= */

.new-breadcrumbs {
	margin-bottom: 0.5rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid rgba(129, 129, 129, 0.2);
}

@media (max-width: 768px) {
	.new-breadcrumbs {
		margin-bottom: calc(0.5rem + 20px);
	}
}

/* =========================================================
   04. Checkout / pagamento
   ========================================================= */

.before-payment-title {
	text-align: center;
	text-transform: uppercase;
}

.before-payment-message {
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	background-color: #ffffff;
}

/* =========================================================
   05. Navigazione categorie shop
   ========================================================= */

.nav-shop li.cat-item {
	margin: 5px;
	border: solid;
	border-color: var(--ias-accent);
	background: #ffffff;
}

.nav-shop li.cat-item:hover {
	background: var(--ias-primary);
	color: #ffffff;
}

.nav-shop li.cat-item:hover a {
	color: #ffffff;
}

.nav-shop li.cat-item:hover .category-nav-link .category-name::after {
	content: none;
}

/* =========================================================
   06. Messaggi carrello
   ========================================================= */

.cart-message {
	margin-bottom: 1rem;
	padding: 1rem;
	border: 1px solid var(--ias-primary);
	color: var(--ias-primary);
	text-align: center;
}

/* =========================================================
   07. Frequently bought together / sezioni prodotto
   ========================================================= */

.yith-wfbt-section {
	border-bottom: 1px solid rgba(129, 129, 129, 0.2);
}

/* =========================================================
   08. Archivio categoria - contatori
   ========================================================= */

.ias-archive-counters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.ias-archive-counter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--ias-border);
	border-radius: 999px;
	background: var(--ias-soft-bg-2);
	color: var(--ias-primary);
	font-size: 13px;
	line-height: 1.2;
}

.ias-archive-counter strong {
	color: var(--ias-accent);
	font-weight: 700;
}

/* =========================================================
   09. Filtri attivi Woodmart
   ========================================================= */

.wd-active-filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}

.wd-active-filters .widget,
.wd-active-filters .widget_layered_nav_filters,
.wd-active-filters .wd-clear-filters {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.wd-active-filters .widget-title,
.wd-active-filters .wd-widget-title {
	display: none !important;
}

.wd-active-filters .widget_layered_nav_filters ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wd-active-filters .widget_layered_nav_filters li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wd-active-filters .widget_layered_nav_filters a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 7px 12px;
	border: 1px solid #C7EEEE;
	border-radius: 999px;
	background: var(--ias-accent-bg);
	color: var(--ias-accent-dark);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.wd-active-filters .widget_layered_nav_filters a::after {
	content: "\00D7";
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	opacity: 0.75;
}

.wd-active-filters .wd-clear-filters a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 7px 12px;
	border: 1px solid var(--ias-border);
	border-radius: 999px;
	background: var(--ias-soft-bg-2);
	color: var(--ias-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.wd-active-filters .wd-clear-filters .wd-action-icon {
	display: none !important;
}

.wd-active-filters .widget[data-ias-filter-ready] {
	border: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.wd-active-filters .widget .ias-filter-body {
	display: block !important;
	padding: 0 !important;
}

/* =========================================================
   10. Sidebar filtri Woodmart - Accordion a box
   ========================================================= */

.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) {
	position: relative;
	margin-bottom: 10px;
	padding: 0 16px;
	border: 1px solid var(--ias-border);
	border-radius: 14px;
	background: #ffffff;
	overflow: hidden;
}

.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > .widget-title,
.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > .wd-widget-title,
.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > h4,
.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > h5 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 16px 0;
	cursor: pointer;
	color: var(--ias-primary);
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	user-select: none;
}

.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > .widget-title::after,
.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > .wd-widget-title::after,
.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > h4::after,
.ias-shop-filters .widget.ias-filter-ready:not(.widget_layered_nav_filters) > h5::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-left: 12px;
	border-radius: 50%;
	background: var(--ias-soft-bg);
	color: var(--ias-primary);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.ias-shop-filters .widget.ias-filter-open:not(.widget_layered_nav_filters) > .widget-title::after,
.ias-shop-filters .widget.ias-filter-open:not(.widget_layered_nav_filters) > .wd-widget-title::after,
.ias-shop-filters .widget.ias-filter-open:not(.widget_layered_nav_filters) > h4::after,
.ias-shop-filters .widget.ias-filter-open:not(.widget_layered_nav_filters) > h5::after {
	content: "\2013";
	background: var(--ias-accent-bg);
	color: var(--ias-accent);
}

.ias-shop-filters .widget.ias-filter-open:not(.widget_layered_nav_filters) > .ias-filter-body {
	display: block !important;
	padding: 0 0 16px;
}

.ias-shop-filters .widget.ias-filter-collapsed:not(.widget_layered_nav_filters) > .ias-filter-body {
	display: none !important;
}

/* =========================================================
   11. Valori interni filtri
   ========================================================= */

.ias-shop-filters .ias-filter-body,
.ias-shop-filters .ias-filter-body li,
.ias-shop-filters .ias-filter-body a,
.ias-shop-filters .ias-filter-body span,
.ias-shop-filters .ias-filter-body label,
.ias-shop-filters .ias-filter-body .wd-swatch-text,
.ias-shop-filters .ias-filter-body .wd-swatch-name,
.ias-shop-filters .ias-filter-body .wd-filter-lable,
.ias-shop-filters .ias-filter-body .layer-term-lable {
	color: var(--ias-text) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}

.ias-shop-filters .ias-filter-body ul,
.ias-shop-filters .ias-filter-body .product-categories,
.ias-shop-filters .ias-filter-body .woocommerce-widget-layered-nav-list,
.ias-shop-filters .ias-filter-body .wd-filter-list,
.ias-shop-filters .ias-filter-body .wd-swatches-filter {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.ias-shop-filters .ias-filter-body .wd-scroll,
.ias-shop-filters .ias-filter-body .wd-scroll-content {
	width: 100% !important;
}

.ias-shop-filters .ias-filter-body li,
.ias-shop-filters .ias-filter-body .wc-layered-nav-term {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-height: 26px !important;
	margin: 0 0 7px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.ias-shop-filters .ias-filter-body li > a,
.ias-shop-filters .ias-filter-body .layered-nav-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--ias-text) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}

.ias-shop-filters .ias-filter-body li:hover,
.ias-shop-filters .ias-filter-body li:hover > a,
.ias-shop-filters .ias-filter-body li > a:hover {
	background: transparent !important;
	background-color: transparent !important;
}

.ias-shop-filters .ias-filter-body li:hover > a,
.ias-shop-filters .ias-filter-body li > a:hover,
.ias-shop-filters .ias-filter-body li:hover .wd-swatch-text,
.ias-shop-filters .ias-filter-body li:hover .wd-swatch-name,
.ias-shop-filters .ias-filter-body li:hover .wd-filter-lable,
.ias-shop-filters .ias-filter-body li:hover .layer-term-lable {
	color: var(--ias-accent-dark) !important;
}

.ias-shop-filters .ias-filter-body li.wd-active,
.ias-shop-filters .ias-filter-body li.chosen,
.ias-shop-filters .ias-filter-body li.current-cat,
.ias-shop-filters .ias-filter-body li.ias-selected-value,
.ias-shop-filters .ias-filter-body li.woocommerce-widget-layered-nav-list__item--chosen {
	background: transparent !important;
	background-color: transparent !important;
}

.ias-shop-filters .ias-filter-body li.wd-active > a,
.ias-shop-filters .ias-filter-body li.chosen > a,
.ias-shop-filters .ias-filter-body li.current-cat > a,
.ias-shop-filters .ias-filter-body li.ias-selected-value > a,
.ias-shop-filters .ias-filter-body li.woocommerce-widget-layered-nav-list__item--chosen > a,
.ias-shop-filters .ias-filter-body li.wd-active .wd-swatch-text,
.ias-shop-filters .ias-filter-body li.chosen .wd-swatch-text,
.ias-shop-filters .ias-filter-body li.current-cat .wd-swatch-text,
.ias-shop-filters .ias-filter-body li.ias-selected-value .wd-swatch-text,
.ias-shop-filters .ias-filter-body li.wd-active .wd-swatch-name,
.ias-shop-filters .ias-filter-body li.chosen .wd-swatch-name,
.ias-shop-filters .ias-filter-body li.current-cat .wd-swatch-name,
.ias-shop-filters .ias-filter-body li.ias-selected-value .wd-swatch-name,
.ias-shop-filters .ias-filter-body li.wd-active .wd-filter-lable,
.ias-shop-filters .ias-filter-body li.chosen .wd-filter-lable,
.ias-shop-filters .ias-filter-body li.current-cat .wd-filter-lable,
.ias-shop-filters .ias-filter-body li.ias-selected-value .wd-filter-lable,
.ias-shop-filters .ias-filter-body li.wd-active .layer-term-lable,
.ias-shop-filters .ias-filter-body li.chosen .layer-term-lable,
.ias-shop-filters .ias-filter-body li.current-cat .layer-term-lable,
.ias-shop-filters .ias-filter-body li.ias-selected-value .layer-term-lable {
	color: var(--ias-accent-dark) !important;
	font-weight: 600 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch,
.ias-shop-filters .ias-filter-body .wd-swatch-text,
.ias-shop-filters .ias-filter-body .wd-swatch-name,
.ias-shop-filters .ias-filter-body .wd-filter-lable,
.ias-shop-filters .ias-filter-body .layer-term-lable {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ias-shop-filters .ias-filter-body li > a::before,
.ias-shop-filters .ias-filter-body li > a::after,
.ias-shop-filters .ias-filter-body .wd-swatch::before,
.ias-shop-filters .ias-filter-body .wd-swatch::after,
.ias-shop-filters .ias-filter-body .wd-swatch-text::before,
.ias-shop-filters .ias-filter-body .wd-swatch-text::after {
	content: none !important;
	display: none !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch-wrap > a > .wd-swatch.wd-text {
	display: none !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch-wrap > a > .wd-filter-lable.layer-term-lable,
.ias-shop-filters .ias-filter-body .wd-swatch-wrap > a > .layer-term-lable {
	display: inline-flex !important;
	align-items: center !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch:not(.wd-text) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch-wrap > a {
	overflow: visible !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch-wrap .wd-swatch.wd-bg {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 16px !important;
	width: 16px !important;
	min-width: 16px !important;
	height: 16px !important;
	min-height: 16px !important;
	margin: 0 1px 0 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch-bg[style*="background-color"],
.ias-shop-filters .ias-filter-body .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-bg {
	display: block !important;
	width: 13px !important;
	min-width: 13px !important;
	height: 13px !important;
	min-height: 13px !important;
	max-width: 13px !important;
	max-height: 13px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	overflow: visible !important;
	clip-path: none !important;
	box-sizing: border-box !important;
}

.ias-shop-filters .ias-filter-body .wd-swatches-brands .wd-swatch-bg,
.ias-shop-filters .ias-filter-body .wd-swatch-bg:has(img) {
	display: inline-flex !important;
	width: 34px !important;
	height: 18px !important;
	min-width: 34px !important;
	min-height: 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.ias-shop-filters .ias-filter-body .wd-swatch-bg img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.ias-shop-filters .ias-filter-body .count,
.ias-shop-filters .ias-filter-body .wd-count {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	min-width: 22px !important;
	height: 20px !important;
	margin-left: auto !important;
	padding: 0 7px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ias-soft-bg) !important;
	color: var(--ias-muted) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
}

.ias-shop-filters .ias-filter-body li.wd-active .count,
.ias-shop-filters .ias-filter-body li.chosen .count,
.ias-shop-filters .ias-filter-body li.current-cat .count,
.ias-shop-filters .ias-filter-body li.ias-selected-value .count,
.ias-shop-filters .ias-filter-body li.woocommerce-widget-layered-nav-list__item--chosen .count,
.ias-shop-filters .ias-filter-body li.wd-active .wd-count,
.ias-shop-filters .ias-filter-body li.chosen .wd-count,
.ias-shop-filters .ias-filter-body li.current-cat .wd-count,
.ias-shop-filters .ias-filter-body li.ias-selected-value .wd-count {
	background: var(--ias-accent-bg) !important;
	color: var(--ias-accent-dark) !important;
}

/* =========================================================
   12. Categorie filtro sidebar
   ========================================================= */

.ias-shop-filters .ias-filter-body .product-categories {
	width: 100% !important;
	padding-right: 10px !important;
	box-sizing: border-box !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) max-content 16px !important;
	grid-template-rows: auto auto !important;
	column-gap: 5px !important;
	row-gap: 0 !important;
	align-items: start !important;
	width: 100% !important;
	min-height: 26px !important;
	margin: 0 0 9px !important;
	padding: 0 !important;
	position: relative !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item:not(:has(> .wd-cats-toggle)) {
	grid-template-columns: minmax(0, 1fr) max-content !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item > a {
	grid-column: 1 !important;
	grid-row: 1 !important;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	line-height: 1.35 !important;
	color: var(--ias-text) !important;
	box-sizing: border-box !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item > .count,
.ias-shop-filters .ias-filter-body .product-categories li.cat-item > .wd-count {
	grid-column: 2 !important;
	grid-row: 1 !important;
	position: static !important;
	justify-self: end !important;
	align-self: start !important;
	margin: 0 !important;
	transform: none !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item > .wd-cats-toggle {
	grid-column: 3 !important;
	grid-row: 1 !important;
	position: static !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	justify-self: center !important;
	align-self: start !important;
	width: 16px !important;
	min-width: 16px !important;
	height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2 !important;
	cursor: pointer !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item > ul.children {
	grid-column: 1 / -1 !important;
	grid-row: 2 !important;
	width: 100% !important;
	margin: 7px 0 0 0 !important;
	padding: 0 0 0 14px !important;
	box-sizing: border-box !important;
}

.ias-shop-filters .ias-filter-body .product-categories ul.children li.cat-item {
	grid-template-columns: minmax(0, 1fr) max-content 14px !important;
	column-gap: 4px !important;
	margin-bottom: 7px !important;
}

.ias-shop-filters .ias-filter-body .product-categories ul.children li.cat-item:not(:has(> .wd-cats-toggle)) {
	grid-template-columns: minmax(0, 1fr) max-content !important;
}

.ias-shop-filters .ias-filter-body .product-categories ul.children li.cat-item > .wd-cats-toggle {
	width: 14px !important;
	min-width: 14px !important;
}

.ias-shop-filters .ias-filter-body .product-categories ul.children li.cat-item > a {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	line-height: 1.35 !important;
}

.ias-shop-filters .ias-filter-body .product-categories li.cat-item:hover > a,
.ias-shop-filters .ias-filter-body .product-categories li.cat-item.current-cat > a,
.ias-shop-filters .ias-filter-body .product-categories li.cat-item.current-cat-parent > a,
.ias-shop-filters .ias-filter-body .product-categories li.cat-item.current-cat-ancestor > a,
.ias-shop-filters .ias-filter-body .product-categories li.cat-item.ias-selected-value > a {
	color: var(--ias-accent-dark) !important;
	font-weight: 600 !important;
}

/* =========================================================
   13. Campo ricerca filtri / prezzo
   ========================================================= */

.ias-shop-filters .ias-filter-body .wd-filter-search {
	margin-bottom: 12px !important;
}

.ias-shop-filters .ias-filter-body .wd-filter-search input,
.ias-shop-filters .ias-filter-body input[type="text"],
.ias-shop-filters .ias-filter-body input[type="search"] {
	width: 100% !important;
	min-height: 32px !important;
	padding: 6px 10px !important;
	border-radius: 6px !important;
	color: var(--ias-text) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
}

.ias-shop-filters .widget_price_filter .price_slider_amount,
.ias-shop-filters .widget_price_filter .price_label {
	color: var(--ias-text) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
}

.ias-shop-filters .widget_price_filter .button {
	margin-top: 8px !important;
}

/* =========================================================
   14. Regole importate dal vecchio Global CSS Woodmart
   ========================================================= */

.product-grid-item .woodmart-product-brands-links a {
	color: #696969;
	font-weight: bold;
}

.footer-sidebar {
	padding-bottom: 0;
}

.footer-column {
	margin-bottom: 0;
}

.wd-sticky-btn .payplug-oney {
	display: none;
}

.wapf-field-label label {
	font-weight: bold;
	font-size: 18px;
}

.wapf-product-totals div span {
	font-size: 18px;
}

div.wapf-swatch--text.wapf-checked {
	font-weight: bold;
}

.apf-plusmin button {
	background: var(--apf-ns-bg, transparent);
	min-height: auto;
}

.wd-sticky-btn .wapf {
	display: none !important;
}

.wapf-layer-image img {
	height: auto !important;
}

span.attribute-label.product-label.label-attribute-pa_certificazioni {
	border: 1px solid #f7f7f7;
	border-radius: 0;
}

span.attribute-label.product-label.label-attribute-pa_materiale {
	border-radius: 0;
}

.show_note_on_apply_products,
.show_note_on_adjustment_products {
	margin: 20px 0;
	width: fit-content;
	padding: 0 10px;
	background: var(--ias-primary);
	color: #ffffff;
	vertical-align: middle;
	line-height: 40px;
	font-size: 15px;
}

a.btn {
	color: #ffffff;
}

a.wd-switch-to-register {
	color: var(--ias-primary) !important;
}

a.wd-sticky-add-to-cart {
	color: #ffffff !important;
}

.custom-feedaty-wrapper {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin: 10px 0 !important;
	text-align: center !important;
}

.custom-feedaty-wrapper .feedaty_widget {
	max-width: 100% !important;
	text-align: center !important;
	height: auto;
}

.fdt_productStriscia-slim_widget_wrapper > a {
	color: var(--ias-primary);
	font-family: Cabin;
}

.fdt_productStriscia-slim_ratx,
.fdt_productStriscia-slim_widget_row {
	display: none !important;
}

.fdt_productStriscia-slim_ratx_star {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.fdt_productStriscia-slim_stars {
	max-width: 100px;
	height: auto;
}

img.fdt_productStriscia-slim_stars {
	max-width: 100px !important;
	min-width: 100px !important;
	width: 100px !important;
	height: 25px !important;
}

.fdt_productStriscia-slim_widget_product {
	background-color: transparent !important;
	max-width: 100px !important;
	height: 25px !important;
	min-height: 25px !important;
	max-height: 25px !important;
}

.wapf-checked span {
	font-weight: bold;
	color: #ffffff;
}

.wapf-field-description {
	padding: 0 0 10px 0;
}

.product-wrapper .single_variation_wrap {
	display: none !important;
}

.wd-sticky-btn .woocommerce-price-suffix {
	display: inline-flex !important;
	font-size: 11px;
}

a.feedaty-astar-extension-seeder > i {
	color: var(--ias-primary);
	font-size: 13px;
}

#ywdpd-quantity-table tr td.ywdpd_active {
	border: 1px solid var(--ias-primary);
	color: var(--ias-primary);
}

#ywdpd-quantity-table tr.ywdpd_row:hover {
	background-color: var(--ias-soft-bg-2) !important;
}

#ywdpd-quantity-table tr.ywdpd_row:hover td,
#ywdpd-quantity-table tr.ywdpd_row:hover td span.woocommerce-Price-amount,
#ywdpd-quantity-table tr.ywdpd_row:hover td span.woocommerce-Price-currencySymbol {
	color: var(--ias-primary) !important;
}

.ywdpd-table-discounts-wrapper {
	padding-top: 5px;
	padding-left: 1px;
	padding-right: 1px;
	background: #f9f9f9;
}

p.ywdpd-table-discounts-label {
	padding-top: 3px;
	padding-left: 3px;
	text-align: center;
}

.product-labels.labels-rounded-sm .onsale.product-label {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 7px;
	min-height: 50px;
	min-width: 50px;
	border-radius: 35px;
	font-size: 14px;
	white-space: nowrap;
	word-break: normal !important;
	overflow-wrap: normal;
}

body:not(.single-product) .product-labels.labels-rounded-sm .onsale.product-label {
	padding: 3px 5px;
	min-height: 36px;
	min-width: 36px;
	border-radius: 24px;
	font-size: 12px;
}

.product-element-bottom table.variations .wd-swatches-product,
.product-grid-item .wd-swatches-product,
.wd-products-element .wd-swatches-product {
	--wd-swatch-text-size: 12px;
}

body:not(.single-product) [class*="wd-swatches"].wd-text-style-2 .wd-swatch.wd-text .wd-swatch-text {
	line-height: 1.15;
}

.product-element-bottom table.variations select:not([hidden]):not(.wd-hide):not(.hide):not([style*="display:none"]) {
	font-weight: 600;
	font-size: 10px;
	line-height: 1.2;
	border: none;
	border-bottom: 1px solid var(--color-gray-300, #ddd);
	background: #ffffff;
	color: var(--color-gray-900, #111);
	padding: 4px 10px 2px;
	height: auto;
	box-shadow: none;
	transition: border-color .25s ease;
	border-radius: 0;
	appearance: none;
}

.text-center .product-element-bottom table.variations,
.text-right .product-element-bottom table.variations {
	display: table !important;
	width: 100%;
}

.text-center .product-element-bottom table.variations > tbody,
.text-right .product-element-bottom table.variations > tbody,
.product-element-bottom table.variations > tbody {
	display: table-row-group !important;
}

.text-center .product-element-bottom table.variations > tbody > tr,
.text-right .product-element-bottom table.variations > tbody > tr,
.product-element-bottom table.variations > tbody > tr {
	display: table-row !important;
}

.text-center .product-element-bottom table.variations th,
.text-center .product-element-bottom table.variations td,
.text-right .product-element-bottom table.variations th,
.text-right .product-element-bottom table.variations td {
	display: table-cell !important;
	vertical-align: middle;
	text-align: left;
}

.product-element-bottom .wd-swatches-product {
	width: inherit;
}

.ywdpd-cart-notice-info {
	padding: 20px 15px;
	margin-bottom: 10px;
}

.ywdpd_single_cart_notice {
	background: #f2f2f2;
	padding: 10px;
	text-align: center;
}

.woocommerce-orders-table .woocommerce-button.rma_expired,
.woocommerce-orders-table a.woocommerce-button.rma_expired {
	background: #e6e6e6 !important;
	border: 1px solid #d0d0d0 !important;
	color: #777 !important;
	pointer-events: none !important;
	cursor: default !important;
	text-decoration: none !important;
	opacity: 1 !important;
}

/* =========================================================
   15. Responsive - Desktop / Tablet / Mobile
   ========================================================= */

@media (min-width: 1025px) {
	span.attribute-label.product-label.label-attribute-pa_certificazioni {
		min-width: 30px;
		max-width: 40px;
	}

	span.attribute-label.product-label.label-attribute-pa_materiale {
		min-width: 30px;
		max-width: 150px;
		font-size: 10px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	span.attribute-label.product-label.label-attribute-pa_certificazioni {
		min-width: 30px;
		max-width: 35px;
	}
}

@media (max-width: 767px) {
	.home #rassicurativa-top .box-icon-wrapper {
		display: none;
	}

	.page-title .entry-title {
		font-size: 24px;
	}

	span.attribute-label.product-label.label-attribute-pa_certificazioni {
		min-width: 30px;
		max-width: 35px;
	}

	span.attribute-label.product-label.label-attribute-pa_materiale {
		min-width: 80px;
		max-width: 130px;
		font-size: 8px;
	}
}

/* =========================================================
   16. Conteggio risultati categoria
   ========================================================= */

.wd-shop-result-count .woocommerce-result-count,
.woocommerce-result-count.ig-result-count {
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
	color: #6f7f95;
	margin: 0;
}

.wd-shop-result-count .woocommerce-result-count .ig-count-num,
.woocommerce-result-count.ig-result-count .ig-count-num {
	font-weight: 700;
	color: var(--ias-primary);
}

/* =========================================================
   17. Carrello e checkout - layout, prezzi, icone
   Versione pulita: niente regole duplicate successive
   ========================================================= */

body.woocommerce-cart,
body.woocommerce-checkout {
	--ias-cart-blue: var(--ias-price-blue);
	--ias-cart-blue-dark: var(--ias-primary-dark);
	--ias-cart-teal: var(--ias-accent-dark);
	--ias-cart-teal-main: var(--ias-accent-bright);
	--ias-cart-teal-bg: var(--ias-accent-bg);
	--ias-cart-light: var(--ias-soft-bg);
	--ias-cart-border: var(--ias-border);
	--ias-cart-text: #2B2F33;
	--ias-cart-muted: #7B8794;
	--ias-cart-row-gap: #ffffff;
	--ias-icon-button-cart-clean: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2.2l2.1 10.4a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 1.9-1.4L21 7H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.7'/%3E%3Ccircle cx='18' cy='20' r='1.7'/%3E%3C/svg%3E");
}

/* Step Carrello / Cassa / Ordine completato */
body.woocommerce-cart .wd-checkout-steps,
body.woocommerce-checkout .wd-checkout-steps {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 18px !important;
}

body.woocommerce-cart .wd-checkout-steps li,
body.woocommerce-checkout .wd-checkout-steps li {
	display: flex !important;
	align-items: center !important;
}

body.woocommerce-cart .wd-checkout-steps li span,
body.woocommerce-cart .wd-checkout-steps li a span,
body.woocommerce-checkout .wd-checkout-steps li span,
body.woocommerce-checkout .wd-checkout-steps li a span {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
}

body.woocommerce-cart .wd-checkout-steps li span::before,
body.woocommerce-cart .wd-checkout-steps li a span::before,
body.woocommerce-checkout .wd-checkout-steps li span::before,
body.woocommerce-checkout .wd-checkout-steps li a span::before {
	content: "" !important;
	display: inline-flex !important;
	width: 19px !important;
	height: 19px !important;
	flex: 0 0 19px !important;
	background: currentColor !important;
	opacity: .95 !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
}

body.woocommerce-cart .wd-checkout-steps .step-cart span::before,
body.woocommerce-cart .wd-checkout-steps .step-cart a span::before,
body.woocommerce-checkout .wd-checkout-steps .step-cart span::before,
body.woocommerce-checkout .wd-checkout-steps .step-cart a span::before {
	-webkit-mask-image: var(--ias-icon-step-cart) !important;
	mask-image: var(--ias-icon-step-cart) !important;
}

body.woocommerce-cart .wd-checkout-steps .step-checkout span::before,
body.woocommerce-cart .wd-checkout-steps .step-checkout a span::before,
body.woocommerce-checkout .wd-checkout-steps .step-checkout span::before,
body.woocommerce-checkout .wd-checkout-steps .step-checkout a span::before {
	-webkit-mask-image: var(--ias-icon-step-card) !important;
	mask-image: var(--ias-icon-step-card) !important;
}

body.woocommerce-cart .wd-checkout-steps .step-complete span::before,
body.woocommerce-cart .wd-checkout-steps .step-complete a span::before,
body.woocommerce-checkout .wd-checkout-steps .step-complete span::before,
body.woocommerce-checkout .wd-checkout-steps .step-complete a span::before {
	-webkit-mask-image: var(--ias-icon-step-check) !important;
	mask-image: var(--ias-icon-step-check) !important;
}

body.woocommerce-cart .wd-checkout-steps li.step-active span,
body.woocommerce-cart .wd-checkout-steps li.step-active a span,
body.woocommerce-checkout .wd-checkout-steps li.step-active span,
body.woocommerce-checkout .wd-checkout-steps li.step-active a span {
	padding: 7px 12px !important;
	border: 1px solid var(--ias-border) !important;
	border-radius: 999px !important;
	background: #F6FAFD !important;
	color: var(--ias-cart-blue) !important;
}

body.woocommerce-cart .wd-checkout-steps li.step-active span::before,
body.woocommerce-cart .wd-checkout-steps li.step-active a span::before,
body.woocommerce-checkout .wd-checkout-steps li.step-active span::before,
body.woocommerce-checkout .wd-checkout-steps li.step-active a span::before {
	color: var(--ias-accent) !important;
}

/* Tabella prodotti carrello */
body.woocommerce-cart .woocommerce-cart-form .shop_table th {
	font-size: 13px;
	font-weight: 700;
	color: var(--ias-cart-text);
	text-transform: uppercase;
}

body.woocommerce-cart .woocommerce-cart-form .shop_table th.product-price,
body.woocommerce-cart .woocommerce-cart-form .shop_table th.product-quantity {
	text-align: center !important;
}

body.woocommerce-cart .woocommerce-cart-form .shop_table th.product-subtotal {
	text-align: right !important;
}

html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name,
html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name > a,
html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name a:not(.remove),
html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name .wd-entities-title,
html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name .wd-entities-title a,
html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name .product-title,
html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name .product-title a {
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	color: var(--ias-cart-text) !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-name a:hover {
	color: var(--ias-cart-blue) !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-price,
body.woocommerce-cart .woocommerce-cart-form td.product-subtotal,
body.woocommerce-cart .woocommerce-cart-form td.product-quantity {
	vertical-align: middle;
	white-space: nowrap;
}

body.woocommerce-cart .woocommerce-cart-form td.product-price,
body.woocommerce-cart .woocommerce-cart-form td.product-quantity {
	text-align: center !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
	text-align: right !important;
}

/* Prezzi non scontati */
html body.woocommerce-cart .woocommerce-cart-form td.product-price > .woocommerce-Price-amount,
html body.woocommerce-cart .woocommerce-cart-form td.product-price > .amount,
html body.woocommerce-cart .woocommerce-cart-form td.product-price > span.amount {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	color: var(--ias-cart-muted) !important;
}

html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal > .woocommerce-Price-amount,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal > .amount,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal > span.amount {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	color: var(--ias-cart-blue) !important;
}

/* Prezzi scontati: vecchio prezzo sopra, prezzo nuovo sotto */
html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 3px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	white-space: nowrap !important;
}

html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price,
html body.woocommerce-checkout .wd-checkout-prod-total p.price,
html body.woocommerce-checkout .product-total p.price {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	justify-content: center !important;
	gap: 3px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.15 !important;
	text-align: right !important;
	white-space: nowrap !important;
}

html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price ins,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price ins {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center !important;
	line-height: 1.15 !important;
}

html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price ins,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price ins,
html body.woocommerce-checkout .wd-checkout-prod-total p.price del,
html body.woocommerce-checkout .product-total p.price del,
html body.woocommerce-checkout .wd-checkout-prod-total p.price ins,
html body.woocommerce-checkout .product-total p.price ins {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
	line-height: 1.15 !important;
}

html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price del,
html body.woocommerce-checkout .wd-checkout-prod-total p.price del,
html body.woocommerce-checkout .product-total p.price del,
html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price del *,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price del *,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price del *,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price del *,
html body.woocommerce-checkout .wd-checkout-prod-total p.price del *,
html body.woocommerce-checkout .product-total p.price del * {
	color: #B8BEC7 !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	text-decoration-color: #B8BEC7 !important;
}

html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price ins,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price ins,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price ins,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price ins,
html body.woocommerce-checkout .wd-checkout-prod-total p.price ins,
html body.woocommerce-checkout .product-total p.price ins,
html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price ins *,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price ins *,
html body.woocommerce-cart .woocommerce-cart-form td.product-price .price ins *,
html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price ins *,
html body.woocommerce-checkout .wd-checkout-prod-total p.price ins *,
html body.woocommerce-checkout .product-total p.price ins * {
	color: var(--ias-cart-blue) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

/* Rimozione prodotto: cestino uniforme su carrello e checkout */
body.woocommerce-cart .woocommerce-cart-form td.product-remove,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-remove {
	width: 42px;
	text-align: center;
}

html body.woocommerce-cart table.shop_table td.product-remove a.remove,
html body.woocommerce-cart table.shop_table a.remove,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-remove a.remove,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table a.remove,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-remove a.remove {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 28px !important;
	padding: 0 !important;
	border: 1px solid var(--ias-cart-border) !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	text-indent: -9999px !important;
	box-shadow: none !important;
	overflow: hidden !important;
	opacity: 1 !important;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease !important;
}

html body.woocommerce-cart table.shop_table td.product-remove a.remove::before,
html body.woocommerce-cart table.shop_table a.remove::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-remove a.remove::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table a.remove::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-remove a.remove::before {
	content: "" !important;
	display: block !important;
	width: 14px !important;
	height: 14px !important;
	min-width: 14px !important;
	min-height: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--ias-cart-muted) !important;
	-webkit-mask-image: var(--ias-icon-trash) !important;
	mask-image: var(--ias-icon-trash) !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
	text-indent: 0 !important;
}

html body.woocommerce-cart table.shop_table td.product-remove a.remove::after,
html body.woocommerce-cart table.shop_table a.remove::after,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-remove a.remove::after,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table a.remove::after,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-remove a.remove::after {
	content: none !important;
	display: none !important;
}

html body.woocommerce-cart table.shop_table td.product-remove a.remove:hover,
html body.woocommerce-cart table.shop_table a.remove:hover,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-remove a.remove:hover,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table a.remove:hover,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-remove a.remove:hover {
	border-color: #C7EEEE !important;
	background: var(--ias-cart-teal-bg) !important;
	color: transparent !important;
	transform: translateY(-1px) !important;
}

html body.woocommerce-cart table.shop_table td.product-remove a.remove:hover::before,
html body.woocommerce-cart table.shop_table a.remove:hover::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-remove a.remove:hover::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table a.remove:hover::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-remove a.remove:hover::before {
	background: var(--ias-cart-teal) !important;
}

/* Checkout: testi prodotto piÃƒÂ¹ compatti */
html body.woocommerce-checkout .wd-checkout-prod-title,
html body.woocommerce-checkout .wd-checkout-prod-title a,
html body.woocommerce-checkout .wd-checkout-prod-title .cart-product-label,
html body.woocommerce-checkout .wd-checkout-prod-title .cart-product-label-link,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name a {
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	color: var(--ias-cart-text) !important;
}

html body.woocommerce-checkout .wd-checkout-prod-total > .woocommerce-Price-amount,
html body.woocommerce-checkout .wd-checkout-prod-total > .amount,
html body.woocommerce-checkout .wd-checkout-prod-total > span.amount,
html body.woocommerce-checkout .product-total > .woocommerce-Price-amount,
html body.woocommerce-checkout .product-total > .amount,
html body.woocommerce-checkout .product-total > span.amount {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	color: var(--ias-cart-muted) !important;
}

/* Checkout: quantitÃƒ  a capo in pill */
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name .product-quantity,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-product-label .product-quantity,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-title .product-quantity {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	margin-top: 5px !important;
	padding: 2px 8px !important;
	border-radius: 999px !important;
	background: var(--ias-cart-light) !important;
	color: var(--ias-cart-muted) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
}

/* Totali carrello / checkout */
html body.woocommerce-cart .cart_totals table.shop_table,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr > th,
html body.woocommerce-cart .cart_totals table.shop_table tr > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr > td {
	padding-left: 14px !important;
	padding-right: 14px !important;
}

/* Hai risparmiato: fascia evidenziata con spazio sopra/sotto, senza bordo visibile
   Nota: il margine sui tr delle tabelle WooCommerce non Ã¨ affidabile.
   Qui lo spazio viene creato lasciando trasparente l'area esterna alla fascia. */
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > th,
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > td,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > td {
	position: relative !important;
	z-index: 1 !important;
	padding-top: 16px !important;
	padding-bottom: 16px !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	vertical-align: middle !important;
}

/* Sfondo della fascia: resta piÃ¹ piccolo della cella, quindi sopra/sotto si vede lo stacco */
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > th::before,
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > td::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > th::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > td::before,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > th::before,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > td::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > th::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > td::before {
	content: "" !important;
	position: absolute !important;
	top: 7px !important;
	bottom: 7px !important;
	left: 0 !important;
	right: 0 !important;
	z-index: -1 !important;
	display: block !important;
	background: #F4FAFC !important;
	pointer-events: none !important;
}

/* Lato sinistro fascia */
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > th {
	padding-left: 14px !important;
	padding-right: 8px !important;
	color: var(--ias-cart-text) !important;
	text-align: left !important;
	white-space: nowrap !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > th::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > th::before,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > th::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > th::before {
	border-radius: 12px 0 0 12px !important;
}

/* Lato destro fascia */
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > td,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > td {
	padding-left: 8px !important;
	padding-right: 14px !important;
	color: var(--ias-cart-teal-main) !important;
	text-align: right !important;
	white-space: nowrap !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > td::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > td::before,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > td::before,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > td::before {
	border-radius: 0 12px 12px 0 !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > td *,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > td *,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > td *,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > td * {
	color: var(--ias-cart-teal-main) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}

/* Totale finale: niente bordo di order-total, solo spazio pulito sopra */
html body.woocommerce-cart .cart_totals table.shop_table tr.order-total > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.order-total > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td {
	border-top: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	padding-top: 16px !important;
}

html body.woocommerce-cart .cart_totals tr.order-total td[data-title="Totale"],
html body.woocommerce-cart .cart_totals tr.order-total td[data-title="Totale"] *,
html body.woocommerce-checkout tr.order-total td[data-title="Totale"],
html body.woocommerce-checkout tr.order-total td[data-title="Totale"] * {
	color: var(--ias-cart-blue) !important;
	font-weight: 700 !important;
}

/* Bottoni carrello / checkout: icone solo qui, non sugli add-to-cart del sito */
html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
html body.woocommerce-checkout #place_order,
html body.woocommerce-checkout button#place_order {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: row !important;
	gap: 10px !important;
	text-align: center !important;
}

html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after,
html body.woocommerce-checkout #place_order::after,
html body.woocommerce-checkout button#place_order::after {
	content: none !important;
	display: none !important;
}

html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::before {
	content: "" !important;
	display: inline-block !important;
	width: 21px !important;
	height: 21px !important;
	min-width: 21px !important;
	margin: 0 !important;
	background: currentColor !important;
	border-radius: 0 !important;
	transform: translateY(-1px) !important;
	-webkit-mask-image: var(--ias-icon-button-cart-clean) !important;
	mask-image: var(--ias-icon-button-cart-clean) !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
}

html body.woocommerce-checkout #place_order::before,
html body.woocommerce-checkout button#place_order::before {
	content: "" !important;
	display: inline-block !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 !important;
	background: currentColor !important;
	transform: translateY(-1px) !important;
	-webkit-mask-image: var(--ias-icon-button-payment) !important;
	mask-image: var(--ias-icon-button-payment) !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
}

/* Nessuna icona forzata sui pulsanti add-to-cart in archivio e scheda prodotto */
html body:not(.woocommerce-cart) a.add_to_cart_button::before,
html body:not(.woocommerce-cart) button.single_add_to_cart_button::before,
html body:not(.woocommerce-cart) button[name="add-to-cart"]::before,
html body:not(.woocommerce-cart) a.add_to_cart_button::after,
html body:not(.woocommerce-cart) button.single_add_to_cart_button::after,
html body:not(.woocommerce-cart) button[name="add-to-cart"]::after {
	content: none !important;
	display: none !important;
}

/* Responsive */
@media (max-width: 767px) {
	html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name,
	html body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name a:not(.remove),
	html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name,
	html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name a,
	html body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-product-label {
		font-size: 12px !important;
	}

	body.woocommerce-cart .woocommerce-cart-form td.product-price,
	body.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
		text-align: left !important;
		white-space: normal !important;
	}

	html body.woocommerce-cart .woocommerce-cart-form td.product-price > .woocommerce-Price-amount,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price > .amount,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price > span.amount,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal > .woocommerce-Price-amount,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal > .amount,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal > span.amount,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price .price,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price del,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price .price del,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price p.price ins,
	html body.woocommerce-cart .woocommerce-cart-form td.product-price .price ins,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price del,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price del,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal p.price ins,
	html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .price ins {
		text-align: left !important;
		align-items: flex-start !important;
	}

	html body.woocommerce-cart .cart_totals table.shop_table tr > th,
	html body.woocommerce-cart .cart_totals table.shop_table tr > td,
	html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr > th,
	html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr > td {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

/* =========================================================
   18. Fix finale anti-conflitto
   ========================================================= */

/* Se Woodmart o WooCommerce aggiungono bordi alle celle, la riga "Hai risparmiato" resta senza bordo visibile. */
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]),
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]),
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total),
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) {
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > th,
html body.woocommerce-cart .cart_totals table.shop_table tr:has(td[data-title="Hai risparmiato"]) > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr:has(td[data-title="Hai risparmiato"]) > td,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate + tr:not(.order-total) > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.tax-rate + tr:not(.order-total) > td {
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr.order-total > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.order-total > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td {
	border-top: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

/* =========================================================
   19. Patch correttive finali - ripristino + modifiche sicure
   ========================================================= */

/* ---------------------------------------------------------
   19.1 Badge spedizione: forza il badge in archivio sopra
   l'immagine, non sotto prezzo/recensioni.
   --------------------------------------------------------- */

.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping),
.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping),
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping),
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	position: relative !important;
}

.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping) > .wd-loop-prod-thumb,
.wd-products .wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping) > .wd-loop-prod-thumb,
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .free-shipping) > .wd-loop-prod-thumb,
.slide-wd-product .wd-product-wrapper:has(> .wd-el-hook > .reduced-shipping) > .wd-loop-prod-thumb {
	grid-column: 1 !important;
	grid-row: 1 !important;
	position: relative !important;
	z-index: 1 !important;
}

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping),
.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping) {
	grid-column: 1 !important;
	grid-row: 1 !important;
	align-self: end !important;
	justify-self: center !important;
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 5 !important;
	pointer-events: none !important;
}

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping {
	position: relative !important;
	inset: auto !important;
	transform: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	max-width: calc(100% - 32px) !important;
	min-height: 20px !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--ias-text) !important;
	color: #ffffff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	pointer-events: none !important;
}

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping {
	background: var(--ias-accent-dark) !important;
}

/* Scheda prodotto: stesso stile compatto del badge carrello, ma non minuscolo. */
.single-product .summary .free-shipping,
.single-product .summary .reduced-shipping,
.single-product .product-info .free-shipping,
.single-product .product-info .reduced-shipping,
.single-product .entry-summary .free-shipping,
.single-product .entry-summary .reduced-shipping {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	max-width: 100% !important;
	min-height: 22px !important;
	margin: 0 0 0 8px !important;
	padding: 5px 7px !important;
	border: 0 !important;
	border-radius: 3px !important;
	background: var(--ias-primary) !important;
	color: #ffffff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
	box-shadow: none !important;
}

.single-product .summary .reduced-shipping,
.single-product .product-info .reduced-shipping,
.single-product .entry-summary .reduced-shipping {
	background: var(--ias-accent-dark) !important;
}

/* ---------------------------------------------------------
   19.2 Varianti nelle card prodotto:
   - non forza la select se Woodmart l'ha nascosta
   - nasconde la select solo quando per quello stesso attributo
     esistono giÃ  swatch/etichette cliccabili
   - lascia visibile la select quando Ã¨ l'unico controllo utile.
   --------------------------------------------------------- */

body:not(.single-product) .wd-product table.variations select.wd-hide,
body:not(.single-product) .wd-product table.variations select.hide,
body:not(.single-product) .wd-product table.variations select.hidden,
body:not(.single-product) .wd-product table.variations select[hidden],
body:not(.single-product) .wd-product table.variations select[style*="display: none"],
body:not(.single-product) .wd-product table.variations select[style*="display:none"] {
	display: none !important;
}

body:not(.single-product) .wd-product table.variations tr:has(.wd-swatches-product) select,
body:not(.single-product) .wd-product table.variations tr:has(.wd-swatches-filter) select,
body:not(.single-product) .wd-product table.variations tr:has(.wd-swatch) select {
	display: none !important;
}

body:not(.single-product) .wd-product table.variations {
	width: 100% !important;
	margin: 10px 0 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body:not(.single-product) .wd-product table.variations th.label,
body:not(.single-product) .wd-product table.variations td.label {
	display: none !important;
}

body:not(.single-product) .wd-product table.variations td.value {
	padding: 0 !important;
	border: 0 !important;
}

body:not(.single-product) .wd-product table.variations select:not(.wd-hide):not(.hide):not(.hidden):not([hidden]) {
	width: 100% !important;
	min-height: 42px !important;
	padding: 0 38px 0 12px !important;
	border: 1px solid var(--ias-border) !important;
	border-radius: 7px !important;
	background-color: #ffffff !important;
	color: var(--ias-text) !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 42px !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

body:not(.single-product) .wd-product table.variations select:not(.wd-hide):not(.hide):not(.hidden):not([hidden]):focus {
	border-color: var(--ias-accent) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(28, 160, 160, 0.12) !important;
}

body:not(.single-product) .wd-product table.variations .reset_variations {
	display: none !important;
}

/* Piccolo respiro sulle label attributo giÃ  presenti nella card. */
body:not(.single-product) .wd-product .attribute-label,
body:not(.single-product) .wd-product .product-label[class*="label-attribute"] {
	padding: 2px 5px !important;
	line-height: 1.2 !important;
}

/* ---------------------------------------------------------
   19.3 Spedizione in carrello/checkout: non schiacciare testo
   e form, mantenendo lo sfondo chiaro del box spedizione.
   --------------------------------------------------------- */

html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td,
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > td {
	background: var(--ias-soft-bg-2) !important;
	vertical-align: top !important;
	white-space: normal !important;
	overflow: visible !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td,
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > td {
	text-align: left !important;
}

html body.woocommerce-cart .shipping-calculator-form,
html body.woocommerce-checkout .shipping-calculator-form {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 12px !important;
	border: 1px solid var(--ias-border) !important;
	border-radius: 12px !important;
	background: #ffffff !important;
	text-align: left !important;
}

html body.woocommerce-cart .shipping-calculator-form p,
html body.woocommerce-checkout .shipping-calculator-form p,
html body.woocommerce-cart .shipping-calculator-form .form-row,
html body.woocommerce-checkout .shipping-calculator-form .form-row {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

html body.woocommerce-cart .shipping-calculator-form input,
html body.woocommerce-cart .shipping-calculator-form select,
html body.woocommerce-cart .shipping-calculator-form .select2-container,
html body.woocommerce-checkout .shipping-calculator-form input,
html body.woocommerce-checkout .shipping-calculator-form select,
html body.woocommerce-checkout .shipping-calculator-form .select2-container {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

html body.woocommerce-cart .woocommerce-shipping-destination,
html body.woocommerce-checkout .woocommerce-shipping-destination,
html body.woocommerce-cart .woocommerce-shipping-calculator,
html body.woocommerce-checkout .woocommerce-shipping-calculator {
	max-width: 100% !important;
	white-space: normal !important;
}

html body.woocommerce-cart .woocommerce-shipping-destination,
html body.woocommerce-checkout .woocommerce-shipping-destination,
html body.woocommerce-cart .shipping-calculator-button,
html body.woocommerce-checkout .shipping-calculator-button {
	font-size: 13px !important;
	line-height: 1.4 !important;
}

html body.woocommerce-cart .woocommerce-shipping-destination,
html body.woocommerce-checkout .woocommerce-shipping-destination {
	color: var(--ias-cart-muted) !important;
}

/* =========================================================
   20. FIX 23/05 - carrello, checkout, badge spedizione, select archivio
   Da lasciare in fondo a style.css
   ========================================================= */

/* ---------------------------------------------------------
   20.1 Badge spedizione: stesso stile cromatico ovunque
   --------------------------------------------------------- */

.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .free-shipping,
.slide-wd-product .wd-product-wrapper > .wd-el-hook > .reduced-shipping,
.woocommerce-cart .cart-badge.free-shipping,
.woocommerce-cart .cart-badge.reduced-shipping,
.woocommerce-mini-cart .mini-cart-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	max-width: calc(100% - 32px) !important;
	min-height: 20px !important;
	padding: 4px 8px !important;
	border: 1px solid #C7EEEE !important;
	border-radius: 999px !important;
	background: #E8F9F9 !important;
	color: #0E7777 !important;
	box-shadow: none !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
}

/* Archivio: il badge resta sovrapposto all'immagine */
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
.wd-products .wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping),
.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .free-shipping),
.slide-wd-product .wd-product-wrapper > .wd-el-hook:has(> .reduced-shipping) {
	grid-column: 1 !important;
	grid-row: 1 !important;
	align-self: end !important;
	justify-self: center !important;
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 5 !important;
	pointer-events: none !important;
}

/* Scheda prodotto: stesso colore, ma dimensione molto piÃ¹ leggibile */
.single-product .summary .free-shipping,
.single-product .summary .reduced-shipping,
.single-product .product-info .free-shipping,
.single-product .product-info .reduced-shipping,
.single-product .entry-summary .free-shipping,
.single-product .entry-summary .reduced-shipping {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	max-width: 100% !important;
	min-height: 32px !important;
	margin: 0 0 0 10px !important;
	padding: 5px 10px !important;
	border: 1px solid #C7EEEE !important;
	border-radius: 999px !important;
	background: #E8F9F9 !important;
	color: #0E7777 !important;
	box-shadow: none !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.01em !important;
	text-transform: uppercase !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
}

/* Sticky add-to-cart: non enorme */
.wd-sticky-btn .free-shipping,
.wd-sticky-btn .reduced-shipping {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	margin-top: 3px !important;
	padding: 4px 8px !important;
	border: 1px solid #C7EEEE !important;
	border-radius: 999px !important;
	background: #E8F9F9 !important;
	color: #0E7777 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	text-transform: uppercase !important;
}

/* ---------------------------------------------------------
   20.2 Select varianti in archivio: solo bordo inferiore
   --------------------------------------------------------- */

body:not(.single-product) .wd-product table.variations select:not([hidden]):not(.wd-hide):not(.hide):not(.hidden),
body:not(.single-product) .product-grid-item table.variations select:not([hidden]):not(.wd-hide):not(.hide):not(.hidden),
body:not(.single-product) .wd-products-element table.variations select:not([hidden]):not(.wd-hide):not(.hide):not(.hidden) {
	width: 100% !important;
	min-height: 28px !important;
	height: 28px !important;
	padding: 2px 22px 2px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #DDE8F2 !important;
	border-radius: 0 !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #5F6F82 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
}

body:not(.single-product) .wd-product table.variations select:not([hidden]):not(.wd-hide):not(.hide):not(.hidden):focus,
body:not(.single-product) .product-grid-item table.variations select:not([hidden]):not(.wd-hide):not(.hide):not(.hidden):focus,
body:not(.single-product) .wd-products-element table.variations select:not([hidden]):not(.wd-hide):not(.hide):not(.hidden):focus {
	border: 0 !important;
	border-bottom: 1px solid #1CA0A0 !important;
	outline: none !important;
	box-shadow: none !important;
}

body:not(.single-product) .wd-product table.variations td.value,
body:not(.single-product) .product-grid-item table.variations td.value,
body:not(.single-product) .wd-products-element table.variations td.value {
	padding: 0 !important;
	border: 0 !important;
}

body:not(.single-product) .wd-product table.variations .wd-select,
body:not(.single-product) .product-grid-item table.variations .wd-select,
body:not(.single-product) .wd-products-element table.variations .wd-select {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Label attributo nelle card: un filo di respiro */
body:not(.single-product) .wd-product .attribute-label,
body:not(.single-product) .wd-product .product-label[class*="label-attribute"],
body:not(.single-product) .product-grid-item .attribute-label,
body:not(.single-product) .product-grid-item .product-label[class*="label-attribute"] {
	padding: 2px 5px !important;
	line-height: 1.2 !important;
}

/* ---------------------------------------------------------
   20.3 Spedizione carrello/checkout:
   niente sfondo sull'intera riga, sfondo solo nel form.
   --------------------------------------------------------- */

html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals,
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping {
	background: transparent !important;
	box-shadow: none !important;
}

html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td,
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > th,
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > td {
	background: transparent !important;
	background-color: transparent !important;
	vertical-align: top !important;
	white-space: normal !important;
	overflow: visible !important;
}

/* La nota testuale deve essere piÃ¹ piccola del campo selezionabile */
html body.woocommerce-cart .woocommerce-shipping-destination,
html body.woocommerce-checkout .woocommerce-shipping-destination,
html body.woocommerce-cart .shipping-calculator-button,
html body.woocommerce-checkout .shipping-calculator-button,
html body.woocommerce-cart #shipping_method li p,
html body.woocommerce-checkout #shipping_method li p,
html body.woocommerce-cart #shipping_method li .woocommerce-shipping-methods__description,
html body.woocommerce-checkout #shipping_method li .woocommerce-shipping-methods__description {
	font-size: 12px !important;
	line-height: 1.35 !important;
	color: #7B8794 !important;
}

/* Link calcola spedizione */
html body.woocommerce-cart .shipping-calculator-button,
html body.woocommerce-checkout .shipping-calculator-button {
	color: #0E7777 !important;
	font-weight: 600 !important;
}

/* Lo sfondo azzurro resta solo sul form di calcolo, non su tutta la riga */
html body.woocommerce-cart .shipping-calculator-form,
html body.woocommerce-checkout .shipping-calculator-form {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 12px !important;
	border: 1px solid #DDE8F2 !important;
	border-radius: 12px !important;
	background: #F6FAFD !important;
	text-align: left !important;
	overflow: hidden !important;
}

/* Campi sempre dentro il form */
html body.woocommerce-cart .shipping-calculator-form p,
html body.woocommerce-cart .shipping-calculator-form .form-row,
html body.woocommerce-checkout .shipping-calculator-form p,
html body.woocommerce-checkout .shipping-calculator-form .form-row {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

html body.woocommerce-cart .shipping-calculator-form input,
html body.woocommerce-cart .shipping-calculator-form select,
html body.woocommerce-cart .shipping-calculator-form .select2-container,
html body.woocommerce-checkout .shipping-calculator-form input,
html body.woocommerce-checkout .shipping-calculator-form select,
html body.woocommerce-checkout .shipping-calculator-form .select2-container {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Carrello: quando la colonna si stringe, la riga spedizione non deve uscire fuori */
@media (max-width: 1199px) {
	html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals,
	html body.woocommerce-cart .cart_totals table.shop_table tr.shipping {
		display: grid !important;
		grid-template-columns: 125px minmax(0, 1fr) !important;
		column-gap: 14px !important;
		align-items: start !important;
	}

	html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > th,
	html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > th {
		grid-column: 1 !important;
		width: auto !important;
		min-width: 0 !important;
		padding-right: 0 !important;
	}

	html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td,
	html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > td {
		grid-column: 2 !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		text-align: left !important;
		overflow: hidden !important;
	}
}

/* Sotto una certa larghezza diventa una riga impilata, senza compressioni */
@media (max-width: 640px) {
	html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals,
	html body.woocommerce-cart .cart_totals table.shop_table tr.shipping {
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 8px !important;
	}

	html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > th,
	html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > th,
	html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td,
	html body.woocommerce-cart .cart_totals table.shop_table tr.shipping > td {
		grid-column: 1 !important;
		width: 100% !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

/* =========================================================
   21. FIX 23/05 - checkout shipping title + badge scheda prodotto
   Da lasciare in fondo a style.css
   ========================================================= */

/* Checkout: il titolo "Shipment" deve stare in alto, come nel carrello */
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > th,
html body.woocommerce-checkout table.shop_table tr.woocommerce-shipping-totals > th,
html body.woocommerce-checkout table.shop_table tr.shipping > th {
	vertical-align: top !important;
	align-self: start !important;
	padding-top: 18px !important;
}

/* Checkout: anche la colonna opzioni parte dall'alto */
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping > td,
html body.woocommerce-checkout table.shop_table tr.woocommerce-shipping-totals > td,
html body.woocommerce-checkout table.shop_table tr.shipping > td {
	vertical-align: top !important;
	align-self: start !important;
}

/* Scheda prodotto: badge spedizione piÃ¹ grande e coerente con il resto del sito */
html body.single-product span.free-shipping,
html body.single-product span.reduced-shipping,
html body.single-product .product-info span.free-shipping,
html body.single-product .product-info span.reduced-shipping,
html body.single-product .summary span.free-shipping,
html body.single-product .summary span.reduced-shipping,
html body.single-product .entry-summary span.free-shipping,
html body.single-product .entry-summary span.reduced-shipping,
html body.single-product p.price span.free-shipping,
html body.single-product p.price span.reduced-shipping,
html body.single-product .price span.free-shipping,
html body.single-product .price span.reduced-shipping {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	max-width: 100% !important;
	min-height: 34px !important;
	margin: 0 0 0 12px !important;
	padding: 5px 10px !important;
	border: 1px solid #C7EEEE !important;
	border-radius: 999px !important;
	background: #E8F9F9 !important;
	background-color: #E8F9F9 !important;
	color: #0E7777 !important;
	box-shadow: none !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.01em !important;
	text-transform: uppercase !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
}

/* Scheda prodotto: anche il link attorno al badge non deve colorarlo di blu */
html body.single-product p.price a:has(> span.free-shipping),
html body.single-product p.price a:has(> span.reduced-shipping),
html body.single-product .price a:has(> span.free-shipping),
html body.single-product .price a:has(> span.reduced-shipping) {
	display: inline-flex !important;
	align-items: center !important;
	width: fit-content !important;
	text-decoration: none !important;
	vertical-align: middle !important;
}

/* =========================================================
   22. FIX 24/05 - badge spedizione nello shortcode prodotto
   Non deve estendersi ai prodotti correlati / caroselli compatti
   ========================================================= */

/* Nei caroselli compatti/prodotti correlati della scheda prodotto le label spedizione non devono vedersi */
html body.single-product .wd-products-element .wd-product.wd-hover-small .wd-product-thumb .free-shipping,
html body.single-product .wd-products-element .wd-product.wd-hover-small .wd-product-thumb .reduced-shipping,
html body.single-product .wd-products-element .wd-product.wd-hover-small .product-element-top .free-shipping,
html body.single-product .wd-products-element .wd-product.wd-hover-small .product-element-top .reduced-shipping,
html body.single-product .related-products .wd-product.wd-hover-small .free-shipping,
html body.single-product .related-products .wd-product.wd-hover-small .reduced-shipping,
html body.single-product .upsells-products .wd-product.wd-hover-small .free-shipping,
html body.single-product .upsells-products .wd-product.wd-hover-small .reduced-shipping,
html body.single-product .cross-sells .wd-product.wd-hover-small .free-shipping,
html body.single-product .cross-sells .wd-product.wd-hover-small .reduced-shipping {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* Annulla la regola troppo ampia sul badge quando il badge si trova dentro una card prodotto */
html body.single-product .wd-product .free-shipping,
html body.single-product .wd-product .reduced-shipping,
html body.single-product .product-grid-item .free-shipping,
html body.single-product .product-grid-item .reduced-shipping,
html body.single-product .wd-products-element .free-shipping,
html body.single-product .wd-products-element .reduced-shipping {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Lo stile grande resta valido solo nella scheda prodotto, vicino al prezzo/shortcode */
html body.single-product .summary .price > .free-shipping,
html body.single-product .summary .price > .reduced-shipping,
html body.single-product .summary .price > a > .free-shipping,
html body.single-product .summary .price > a > .reduced-shipping,
html body.single-product .entry-summary .price > .free-shipping,
html body.single-product .entry-summary .price > .reduced-shipping,
html body.single-product .entry-summary .price > a > .free-shipping,
html body.single-product .entry-summary .price > a > .reduced-shipping,
html body.single-product .ias-shipping-badge-shortcode .free-shipping,
html body.single-product .ias-shipping-badge-shortcode .reduced-shipping {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: fit-content !important;
	max-width: 100% !important;
	min-height: 34px !important;
	margin: 0 0 0 12px !important;
	padding: 5px 10px !important;
	border: 1px solid #C7EEEE !important;
	border-radius: 999px !important;
	background: #E8F9F9 !important;
	background-color: #E8F9F9 !important;
	color: #0E7777 !important;
	box-shadow: none !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.01em !important;
	text-transform: uppercase !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Link attorno al badge nello shortcode/prezzo */
html body.single-product .summary .price > a:has(> .free-shipping),
html body.single-product .summary .price > a:has(> .reduced-shipping),
html body.single-product .entry-summary .price > a:has(> .free-shipping),
html body.single-product .entry-summary .price > a:has(> .reduced-shipping) {
	display: inline-flex !important;
	align-items: center !important;
	width: fit-content !important;
	text-decoration: none !important;
	vertical-align: middle !important;
}