/* ==========================================================================
   QUARTO FUOCO - PAGINA CARRELLO
   Figma 275:1654 (desktop 1728)
   Plugin: marketplace-prodotti
   ========================================================================== */

.qf-cart {
	display: block;
	background: #FFFFFF;
	min-height: 100vh;
	color: #12110F;
	overflow: visible !important;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
}
.qf-cart * {
	box-sizing: border-box;
}

/* Breadcrumb */
.qf-cart-breadcrumb {
	padding: 24px 0 0;
}
.qf-cart-breadcrumb__inner {
	max-width: 1464px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
}
.qf-cart-breadcrumb__link {
	color: #494949;
	text-decoration: none !important;
	font-weight: 400;
}
.qf-cart-breadcrumb__link:hover,
.qf-cart-breadcrumb__link:focus,
.qf-cart-breadcrumb__link:active {
	color: #12110F;
	text-decoration: none !important;
}
.qf-cart-breadcrumb__current {
	text-decoration: none !important;
}
.qf-cart-breadcrumb__sep {
	display: inline-flex;
	color: #494949;
}
.qf-cart-breadcrumb__current {
	font-weight: 500;
	color: #12110F;
}

/* Header full-width (titolo/sottotitolo/banner) */
.qf-cart-header {
	max-width: 1464px;
	margin: 0 auto;
	padding: 24px 24px 40px 24px;
	display: flex;
	flex-direction: column;
	gap: 23px;
}

/* Layout 2-col: main 896 + sidebar 472 (Figma) */
.qf-cart__inner {
	max-width: 1464px;
	margin: 0 auto;
	padding: 75px 24px 60px;
	display: grid;
	grid-template-columns: minmax(0, 896px) 472px;
	column-gap: 96px;
	row-gap: 36px;
	align-items: start;
	justify-content: space-between;
	position: relative;
	isolation: isolate;
}
.qf-cart__inner::before {
	content: '';
	position: absolute;
	inset: 0 calc(50% - 50vw);
	background: #F9F9F9;
	z-index: -1;
}
.qf-cart-header {
	position: relative;
}
.qf-cart-header::after {
	content: '';
	position: absolute;
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	bottom: 0;
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
}
.qf-cart__main {
	display: flex;
	flex-direction: column;
	gap: 36px;
	min-width: 0;
	max-width: 896px;
}

/* Titolo */
.qf-cart__title {
	margin: 0;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 72px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart__subtitle {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: #12110F;
}

/* Banner avviso */
.qf-cart-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 14px;
	background: rgba(92, 46, 38, 0.07);
	border-radius: 10px;
}
.qf-cart-banner__icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--qf-shop-color, #5C2E26);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.qf-cart-banner__icon svg path {
	stroke: #FFFFFF !important;
}
.qf-cart-banner__text {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-cart-banner__text strong {
	font-weight: 700;
}

/* Card negozio: bianca con border, header in alto tinted */
.qf-cart-shop {
	background: #FFFFFF;
	border: 1px solid rgba(92, 46, 38, 0.12);
	border-radius: 24px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Header negozio: bg tinted col colore negozio */
.qf-cart-shop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 32px;
	background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 6%, #FFFFFF);
}
.qf-cart-shop__brand {
	display: flex;
	align-items: center;
	gap: 20px;
}
.qf-cart-shop__avatar {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--qf-shop-color, #5C2E26);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
/* Quando c'è un logo (img): bg bianco neutro per non distorcere il PNG */
.qf-cart-shop__avatar:has(img) {
	background: #FFFFFF !important;
}
.qf-cart-shop__avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}
.qf-cart-shop__avatar svg {
	width: 30px;
	height: 30px;
}
.qf-cart-shop__name {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	text-transform: uppercase;
	color: #12110F;
}
.qf-cart-shop__visit {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #12110F !important;
	text-decoration: none !important;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
}
.qf-cart-shop__visit:hover,
.qf-cart-shop__visit:focus,
.qf-cart-shop__visit:active {
	color: var(--qf-shop-color, #5C2E26) !important;
	text-decoration: none !important;
}
.qf-cart-shop__visit svg {
	width: 12px;
	height: 24px;
}

/* Lista prodotti dentro la card negozio */
.qf-cart-shop__items {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px 32px;
}
.qf-cart-item__sep {
	margin: 0;
	border: 0;
	border-top: 1px solid rgba(34, 40, 106, 0.15);
}

/* Riga prodotto */
.qf-cart-item {
	display: grid;
	grid-template-columns: 162px 1fr auto;
	grid-template-rows: auto auto auto;
	column-gap: 32px;
	row-gap: 0;
	align-items: start;
}
.qf-cart-item__image {
	grid-row: 1 / 3;
	width: 162px;
	height: 162px;
	border-radius: 20px;
	object-fit: cover;
	display: block;
	overflow: hidden;
	background: #EEEEEE;
	text-decoration: none !important;
}
.qf-cart-item__image,
.qf-cart-item__image * {
	text-decoration: none !important;
}
/* Watermark "Quarto Fuoco" nel placeholder cart item: una riga, scalato per box piccoli */
a.qf-cart-item__image.qf-noimg-box--watermark::after {
	font-size: 11px !important;
	letter-spacing: 1px !important;
	white-space: nowrap !important;
}
.qf-cart-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.qf-cart-item__body {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}
.qf-cart-item__name {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart-item__name a {
	color: inherit;
	text-decoration: none;
}
.qf-cart-item__name a:hover {
	text-decoration: underline;
}
.qf-cart-item__meta {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-cart-item__meta strong {
	font-weight: 600;
}
.qf-cart-item__price {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	min-width: 90px;
}
.qf-cart-item__price-old {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: #616161;
	text-decoration: line-through;
}
.qf-cart-item__price-now {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 33px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart-item__price-unit {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 21px;
	color: #616161;
}
.qf-cart-item__bundle {
	grid-column: 2 / 4;
	grid-row: 2 / 3;
}
.qf-cart-item__actions {
	grid-column: 2 / 4;
	grid-row: 3 / 4;
	display: flex;
	align-items: center;
	gap: 20px;
}
.qf-cart-item__qty,
.qf-cart-item__qty:hover,
.qf-cart-item__qty:focus,
.qf-cart-item__qty:focus-within,
.qf-cart-item__qty:active {
	display: inline-flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 0 18px !important;
	border: 2px solid rgba(34, 40, 106, 0.2) !important;
	border-radius: 9999px !important;
	background: transparent !important;
	width: 120px !important;
	height: 46px !important;
	box-shadow: none !important;
	max-width: 120px !important;
	min-width: 120px !important;
	transition: none !important;
}
.qf-cart-item__qty .qf-cart-item__qty-btn,
.qf-cart-item .qf-cart-item__qty-btn {
	width: 24px !important;
	height: 24px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	cursor: pointer;
	color: var(--qf-shop-color, #22286A) !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	font: inherit;
	letter-spacing: normal;
}
.qf-cart-item__qty-btn:hover,
.qf-cart-item__qty-btn:focus,
.qf-cart-item__qty-btn:active {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: var(--qf-shop-color, #22286A) !important;
}
.qf-cart-item__qty-btn svg {
	width: 24px;
	height: 24px;
	display: block;
}
.qf-cart-item__qty-input {
	width: 28px !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	text-align: center !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	letter-spacing: 0.12px !important;
	color: var(--qf-shop-color, #22286A) !important;
	-moz-appearance: textfield;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}
.qf-cart-item__qty-input:focus {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
}
.qf-cart-item__qty-input::-webkit-outer-spin-button,
.qf-cart-item__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.qf-cart-item__remove {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	cursor: pointer;
	color: #12110F !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	line-height: 21px !important;
	letter-spacing: 0.12px !important;
	border-radius: 0 !important;
	-webkit-appearance: none;
	appearance: none;
	text-transform: none;
}
.qf-cart-item__remove svg {
	width: 16px;
	height: 16px;
	display: block;
}
.qf-cart-item__remove:hover,
.qf-cart-item__remove:focus,
.qf-cart-item__remove:active {
	color: #CF2617 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Totali del negozio - footer tinted */
.qf-cart-shop__totals {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px 32px;
	background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 6%, #FFFFFF);
}
.qf-cart-shop__totals-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-cart-shop__totals-val {
	font-size: 18px;
	line-height: 27px;
	text-align: right;
}
.qf-cart-shop__totals-sep {
	margin: 4px 0;
	border: 0;
	border-top: 1px solid rgba(34, 40, 106, 0.15);
}
.qf-cart-shop__totals-row--final {
	font-weight: 700;
	font-size: 20px;
}
.qf-cart-shop__totals-label {
	color: #12110F;
}
.qf-cart-shop__totals-final {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 33px;
	letter-spacing: 0.12px;
	text-align: right;
	color: var(--qf-shop-color, #5C2E26);
}

/* CTA negozio - sullo stesso footer tinted dei totali */
.qf-cart-shop__actions {
	display: flex;
	gap: 20px;
	padding: 0 32px 32px;
	background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 6%, #FFFFFF);
}
.qf-cart-shop__cta,
.qf-cart-shop__continue {
	flex: 1 1 auto !important;
	min-width: max-content !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 62px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	margin: 0 !important;
	box-shadow: none !important;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
}
.qf-cart-shop__cta span,
.qf-cart-shop__continue span {
	white-space: nowrap !important;
	flex-shrink: 0;
}
.qf-cart-shop__cta {
	padding: 16px 64px !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	background-color: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
}
.qf-cart-shop__cta:hover,
.qf-cart-shop__cta:focus {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: var(--qf-shop-color, #5C2E26) !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
}
.qf-cart-shop__cta svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}
.qf-cart-shop__continue {
	padding: 16px 37px !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--qf-shop-color, #5C2E26) !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
}
.qf-cart-shop__continue:hover,
.qf-cart-shop__continue:focus {
	background: var(--qf-shop-color, #5C2E26) !important;
	background-color: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
}
.qf-cart-shop__continue svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

/* ==========================================================================
   SIDEBAR - RIEPILOGO ORDINE (sticky a destra in desktop)
   ========================================================================== */
.qf-cart-summary {
	background: #FFFFFF;
	border: 1px solid rgba(92, 46, 38, 0.15);
	border-radius: 16px;
	padding: 24px 25px;
	display: flex;
	flex-direction: column;
	gap: 23px;
	position: sticky;
	top: 50px;
	margin-bottom: 0px;
	align-self: start;
}
.qf-cart-summary__title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-cart-summary__subhead {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: #3C3C3C;
}
.qf-cart-summary__shops {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 23px;
}
.qf-cart-summary__shop {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.qf-cart-summary__avatar {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 50%;
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
}
.qf-cart-summary__avatar svg {
	width: 20px;
	height: 20px;
}
.qf-cart-summary__shop-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.qf-cart-summary__shop-name {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	text-transform: uppercase;
	color: #12110F;
}
.qf-cart-summary__shop-count {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: #3C3C3C;
}
.qf-cart-summary__shop-amount {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
	flex-shrink: 0;
}
.qf-cart-summary__sep {
	margin: 0;
	border: 0;
	border-top: 1px solid #E3D4C6;
}
.qf-cart-summary__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.qf-cart-summary__total-label {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-cart-summary__total-amount {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart-summary__note {
	background: #F5F5F5;
	border-radius: 8px;
	padding: 16px;
}
.qf-cart-summary__note p {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-cart-summary__note strong {
	font-weight: 700;
}

/* ==========================================================================
   PRODOTTI CORRELATI - bg beige come Figma, flush col footer
   ========================================================================== */
.qf-cart-related {
	background: #E3D4C6 !important;
	margin: 0 !important;
	padding-bottom: 0 !important;
}
.qf-cart-related .qf-carousel__dots {
	margin-bottom: 100px !important;
}
/* Disabilita hover box-shadow heavy del tema sui correlati del carrello */
.qf-cart-related .qf-product-card:hover {
	transform: none !important;
	box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

/* Visit il negozio mobile link: nascosto su desktop, visibile su mobile */
.qf-cart-shop__visit-mobile {
	display: none;
}
/* Quando i dots sono nascosti (poche card) mantieni lo spazio 100px sotto */
.qf-cart-related .qf-product-related__carousel {
	padding-bottom: 100px !important;
}
.qf-cart-related .qf-carousel__dots:not([style*="display: none"]) {
	margin-bottom: 0 !important;
}

/* Rimuovi padding/margin su questa pagina (WP/tema + footer) + sblocca overflow per sticky */
body:has(.qf-cart),
html:has(.qf-cart),
body:has(.qf-cart) .page-content,
body:has(.qf-cart) #content,
body:has(.qf-cart) main#content,
body:has(.qf-cart) .site-main,
body:has(.qf-cart) .entry-content,
body:has(.qf-cart) .qf-cart__inner {
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
}
body:has(.qf-cart) .qf-cart__inner {
	padding: 75px 24px 60px !important;
	margin: 0 auto !important;
}
body:has(.qf-cart) .qf-footer {
	margin-top: 0 !important;
}
.qf-cart {
	margin: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
.qf-cart .qf-product-related {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
.mprod-cart-group {
	margin-bottom: 0 !important;
}

/* ==========================================================================
   STATO CARRELLO VUOTO
   ========================================================================== */
.qf-cart-empty {
	max-width: 1464px;
	margin: 0 auto;
	padding: 80px 132px 120px;
}
.qf-cart-empty__inner {
	max-width: 480px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart-empty__inner h1 {
	margin: 8px 0 0;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.25;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart-empty__inner p {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 27px;
	color: #12110F;
}
.qf-cart-empty__btn,
a.qf-cart-empty__btn {
	margin-top: 12px;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 14px 28px !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 62px !important;
	text-decoration: none !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 27px !important;
}
.qf-cart-empty__btn:hover,
.qf-cart-empty__btn:focus,
a.qf-cart-empty__btn:hover,
a.qf-cart-empty__btn:focus {
	background: #FFFFFF !important;
	color: var(--qf-shop-color, #5C2E26) !important;
	text-decoration: none !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1463px) {
	.qf-cart-breadcrumb__inner,
	.qf-cart-header,
	.qf-cart__inner {
		padding-left: 40px;
		padding-right: 40px;
	}
}

/* ==========================================================================
   MOBILE - Figma 400:1417 (frame 362px)
   ========================================================================== */
@media (max-width: 1199px) {
	/* Breadcrumb mobile Figma 399:838 */
	.qf-cart-breadcrumb {
		display: block;
		padding: 0;
		background: #FFFFFF;
	}
	.qf-cart-breadcrumb__inner {
		padding: 0px 20px 10px !important;
		max-width: none;
		gap: 8px;
		font-size: 16px;
		line-height: 24px;
		letter-spacing: 0.12px;
	}
	.qf-cart-breadcrumb__link {
		color: #494949;
	}
	.qf-cart-breadcrumb__sep svg {
		width: 16px;
		height: 16px;
	}
	.qf-cart-breadcrumb__current {
		color: #12110F;
		font-weight: 400;
	}

	/* Header: full white, no border, gap 32 (Figma layout_UO9B55), inner gap 8 (layout_JIKD0P) */
	.qf-cart-header {
		padding: 24px 20px 30px !important;
		gap: 32px;
	}
	.qf-cart-header::after {
		display: none;
	}
	/* Tra titolo e sottotitolo: gap 8 invece dei 32 dell'header */
	.qf-cart-header .qf-cart__subtitle {
		margin-top: -24px;
	}
	.qf-cart__title {
		font-family: "Epilogue", sans-serif;
		font-size: 28px;
		line-height: 42px;
		letter-spacing: 0.12px;
	}
	.qf-cart__subtitle {
		font-size: 18px;
		line-height: 27px;
		letter-spacing: 0.12px;
	}

	/* Banner mobile: avatar 36, padding 15/10, gap 15 */
	.qf-cart-banner {
		padding: 15px 10px;
		gap: 15px;
		border-radius: 20px;
	}
	.qf-cart-banner__icon {
		width: 36px;
		height: 36px;
	}
	.qf-cart-banner__icon svg {
		width: 36px;
		height: 36px;
	}
	.qf-cart-banner__text {
		font-size: 16px;
		line-height: 24px;
		font-weight: 400;
		letter-spacing: 0.12px;
	}
	.qf-cart-banner__text strong {
		font-weight: 700;
	}

	/* Inner: 1 colonna, riepilogo PRIMA degli shop (order) */
	body:has(.qf-cart) .qf-cart__inner {
		padding: 0 20px 40px !important;
	}
	.qf-cart__inner {
		display: flex !important;
		flex-direction: column;
		gap: 32px;
	}
	.qf-cart__inner::before {
		display: none;
	}
	.qf-cart__main {
		order: 2;
		gap: 32px;
		width: 100%;
	}
	.qf-cart-summary {
		order: 1;
		position: static !important;
		top: auto !important;
		margin-bottom: 0 !important;
		padding: 24px 12px;
		gap: 23px;
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}

	/* Riepilogo Figma 404:2082: title 18/27 Bold, subhead 16/24 Regular, gap titles 8 */
	.qf-cart-summary__title {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-cart-summary__subhead {
		font-size: 16px;
		line-height: 24px;
		margin-top: -15px;
	}
	.qf-cart-summary__shops {
		gap: 23px;
	}
	.qf-cart-summary__shop-name {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-cart-summary__shop-count {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-cart-summary__shop-amount {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-cart-summary__total-label {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-cart-summary__total-amount {
		font-size: 20px;
		line-height: 30px;
	}
	.qf-cart-summary__note {
		padding: 16px 12px;
	}
	.qf-cart-summary__note p {
		font-size: 16px;
		line-height: 21px;
		font-weight: 600;
	}

	/* Shop card mobile: bianco con border, header tinted in alto, footer tinted in basso radius 20 */
	.qf-cart-shop {
		background: #FFFFFF;
		border: 1px solid color-mix(in srgb, var(--qf-shop-color, #5C2E26) 15%, transparent);
		border-radius: 20px;
		padding: 0;
		overflow: hidden;
	}
	.qf-cart-shop__head {
		padding: 16px 12px;
		background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 5%, #FFFFFF);
		border-bottom: 1px solid color-mix(in srgb, var(--qf-shop-color, #5C2E26) 15%, transparent);
		gap: 8px;
		justify-content: flex-start;
	}
	.qf-cart-shop__brand {
		gap: 8px;
	}
	.qf-cart-shop__avatar {
		width: 36px;
		height: 36px;
	}
	.qf-cart-shop__avatar svg {
		width: 24px;
		height: 24px;
	}
	.qf-cart-shop__name {
		font-size: 18px;
		line-height: 27px;
		letter-spacing: 0.12px;
	}
	.qf-cart-shop__visit {
		display: none;
	}
	.qf-cart-shop__items {
		padding: 20px 12px;
		gap: 24px;
		background: #FFFFFF;
	}
	.qf-cart-item__sep {
		border-top-color: rgba(34, 40, 106, 0.15);
	}

	/* Riga prodotto mobile: image 106 + body/price stack a destra, qty+remove sotto */
	.qf-cart-item {
		grid-template-columns: 106px 1fr;
		grid-template-rows: auto auto auto auto;
		column-gap: 12px;
		row-gap: 0;
		padding-bottom: 0px;
	}
	.qf-cart-item__bundle {
		grid-column: 1 / 3;
		grid-row: 3 / 4;
	}
	.qf-cart-item__kitbadge {
		margin-left: 0 !important;
	}
	.qf-cart-item__image {
		width: 106px;
		height: 106px;
		grid-column: 1 / 2;
		grid-row: 1 / 3;
		border-radius: 10px;
	}
	.qf-cart-item__body {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		gap: 7px;
	}
	.qf-cart-item__name {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-cart-item__meta {
		font-size: 14px;
		line-height: 18px;
		font-weight: 400;
	}
	.qf-cart-item__meta strong {
		display: block;
		margin-bottom: 4px;
		font-weight: 600;
		font-size: 14px;
		line-height: 21px;
	}
	.qf-cart-item__meta br {
		display: none;
	}
	.qf-cart-item__price {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
		min-width: 0;
	}
	.qf-cart-item__price-now {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-cart-item__price-old {
		font-size: 14px;
		letter-spacing: 0.12px;
	}
	.qf-cart-item__actions {
		grid-column: 1 / 3;
		grid-row: 4 / 5;
		justify-content: space-between;
		gap: 12px;
		margin-top: 30px;
	}
	.qf-cart-item__qty {
		height: 46px;
		max-width: none;
		padding: 16px 18px;
	}
	.qf-cart-item__remove {
		font-size: 16px !important;
		line-height: 18px !important;
	}
	.qf-cart-item__remove svg {
		width: 18px;
		height: 18px;
	}

	/* Totali e bottoni footer card: bg tinted shop 4%, sequenza totals + actions + visit */
	.qf-cart-shop__totals {
		padding: 25px 24px 14px;
		background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 4%, #FFFFFF);
		border-top: 0;
		gap: 14px;
	}
	.qf-cart-shop__totals-row {
		font-size: 16px;
		line-height: 24px;
		font-weight: 400;
		color: #252525;
	}
	.qf-cart-shop__totals-val {
		font-size: 16px;
		line-height: 24px;
		font-weight: 500;
		color: #0A0A0A;
	}
	.qf-cart-shop__totals-row--final {
		font-weight: 700;
		font-size: 18px;
		line-height: 28px;
		letter-spacing: -0.44px;
	}
	.qf-cart-shop__totals-row--final .qf-cart-shop__totals-label {
		color: #0A0A0A;
	}
	.qf-cart-shop__totals-final {
		font-size: 24px;
		line-height: 32px;
		letter-spacing: 0.07px;
		font-weight: 700;
		color: var(--qf-shop-color, #22286A);
	}
	.qf-cart-shop__totals-sep {
		border-top-color: #D1D5DC;
	}
	.qf-cart-shop__actions {
		flex-direction: column;
		gap: 8px;
		padding: 0 12px 20px 12px;
		background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 4%, #FFFFFF);
	}
	.qf-cart-shop__cta,
	.qf-cart-shop__continue {
		font-size: 16px !important;
		line-height: 24px !important;
		padding: 16px 0 !important;
		min-width: 0 !important;
		width: 100%;
		gap: 7px !important;
		letter-spacing: 0.12px !important;
	}

	/* Visit il negozio: link reale centrato sotto i bottoni nel footer tinted */
	.qf-cart-shop__visit-mobile {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 4px 0 0;
		text-decoration: none !important;
		font-family: "Inter", sans-serif;
		font-weight: 500;
		font-size: 16px;
		line-height: 24px;
		color: #252525 !important;
		letter-spacing: -0.31px;
		align-self: center;
	}
	.qf-cart-shop__visit-mobile svg {
		width: 16px;
		height: 16px;
	}

	/* Sezione correlati mobile - Figma 404:2118 */
	.qf-cart-related {
		padding: 60px 0 60px !important;
		background: #E3D4C6 !important;
		margin-bottom: 0 !important;
	}
	/* Annullo la grid 48/1fr/48 del carousel parent (default desktop) */
	.qf-cart-related .qf-product-related__carousel {
		grid-template-columns: 1fr !important;
		column-gap: 0 !important;
	}
	.qf-cart {
		padding-bottom: 0 !important;
	}
	body:has(.qf-cart) .qf-footer {
		margin-top: 0 !important;
	}
	/* 60px sotto la sezione correlati prima del footer su mobile */
	.qf-cart-related::after {
		content: '';
		display: block;
		height: 0;
	}
	.qf-cart .qf-product-related {
		padding-bottom: 80px !important;
	}
	.qf-cart-related .qf-product-related__inner {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 40px !important;
		max-width: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	.qf-cart-related .qf-product-related__head {
		display: flex !important;
		flex-direction: column !important;
		gap: 8px !important;
		padding: 0 24px !important;
		margin: 0 !important;
		align-self: stretch !important;
		text-align: left !important;
		align-items: flex-start !important;
	}
	.qf-cart-related .qf-product-related__eyebrow {
		font-family: "Inter", sans-serif !important;
		font-weight: 700 !important;
		font-size: 16px !important;
		line-height: 24px !important;
		letter-spacing: 0.12px !important;
		text-transform: uppercase !important;
		color: var(--qf-shop-color, #5C2E26) !important;
		margin: 0 !important;
	}
	.qf-cart-related .qf-product-related__title {
		font-family: "Inter", sans-serif !important;
		font-weight: 700 !important;
		font-size: 32px !important;
		line-height: 48px !important;
		letter-spacing: 0.12px !important;
		color: #12110F !important;
		margin: 0 !important;
	}

	/* Carosello: scroll orizzontale nativo, no frecce, no dots */
	.qf-cart-related .qf-product-related__carousel,
	.qf-cart-related .qf-carousel {
		position: static !important;
		padding: 0 !important;
		margin: 0 !important;
		width: 100%;
	}
	.qf-cart-related .qf-carousel__arrow {
		display: none !important;
	}
	.qf-cart-related .qf-carousel__dots {
		display: none !important;
	}
	.qf-cart-related .qf-carousel__viewport {
		overflow-x: auto !important;
		overflow-y: visible !important;
		padding: 0 !important;
		scroll-snap-type: x mandatory !important;
		scroll-padding-inline-start: 24px !important;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.qf-cart-related .qf-product-card {
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
	}
	.qf-cart-related .qf-carousel__viewport::-webkit-scrollbar {
		display: none;
	}
	.qf-cart-related .qf-carousel__track {
		display: flex !important;
		flex-direction: row !important;
		gap: 16px !important;
		padding: 0 !important;
		margin: 0 !important;
		list-style: none !important;
		width: max-content !important;
	}
	.qf-cart-related .qf-carousel__track > li:first-child {
		margin-left: 24px !important;
	}
	.qf-cart-related .qf-carousel__track > li:last-child {
		margin-right: 24px !important;
	}

	/* Card mobile: 322 wide, bg #FFF border #E3D4C6 r:24 shadow */
	.qf-cart-related .qf-product-card {
		flex: 0 0 322px !important;
		width: 322px !important;
		max-width: 322px !important;
		background: #FFFFFF !important;
		border: 1px solid #E3D4C6 !important;
		border-radius: 24px !important;
		box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
		padding: 0 !important;
		overflow: hidden;
		display: flex !important;
		flex-direction: column !important;
		transform: none !important;
	}
	.qf-cart-related .qf-product-card:hover {
		transform: none !important;
		box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
	}
	.qf-cart-related .qf-product-card__image {
		display: block !important;
		width: 100% !important;
		height: 278px !important;
		background: #F3F4F6 !important;
		overflow: hidden;
		border-radius: 0 !important;
	}
	.qf-cart-related .qf-product-card__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.qf-cart-related .qf-product-card__body {
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		padding: 16px !important;
		height: 234px !important;
		gap: 12px;
	}
	.qf-cart-empty {
		padding: 60px 20px 80px;
	}
	.qf-cart-empty__inner h1 {
		font-size: 28px;
	}
}

/* ==========================================================================
   QUARTO FUOCO - PAGINA CHECKOUT
   Token estratti dal Figma node 290:355 (Checkout - Desktop)
   Solo CSS sopra il markup esistente (.mprod-checkout / .mprod-ck-*).
   ========================================================================== */

.mprod-checkout {
	display: block;
	background: #F9F9F9;
	min-height: 100vh;
	color: #12110F;
	overflow: visible !important;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	font-family: "Inter", sans-serif;
	padding: 0 !important;
}
.mprod-checkout * {
	box-sizing: border-box;
}

/* Variante banner header: "Ordine da NOME" — nome negozio in maiuscolo */
.qf-cart-banner__text--order strong {
	text-transform: uppercase;
	letter-spacing: 0.12px;
}

/* Quando .mprod-checkout è annidato in .qf-cart (header carrello sopra),
   il full-width breakout lo gestisce già .qf-cart: neutralizzo il doppione. */
.qf-cart .mprod-checkout {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	background: #F9F9F9;
	min-height: 0;
	padding: 0 !important;
}

/* Reset di tema/WP */
body:has(.mprod-checkout),
html:has(.mprod-checkout),
body:has(.mprod-checkout) .page-content,
body:has(.mprod-checkout) #content,
body:has(.mprod-checkout) main#content,
body:has(.mprod-checkout) .site-main,
body:has(.mprod-checkout) .entry-content {
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
}
body:has(.mprod-checkout) .qf-footer {
	margin-top: 0 !important;
}

/* ==========================================================================
   BANNER NEGOZIO — pill blu-indaco 7%, padding 10/14, radius 82
   Figma: Frame 60 (291:856)
   ========================================================================== */
.mprod-ck-banner {
	width: 100%;
	max-width: 1464px;
	margin: 10px auto 0;
	padding: 10px 14px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	background: rgba(26, 35, 126, 0.07);
	border: 0;
	border-radius: 82px;
	box-shadow: none;
}
.mprod-ck-banner-avatar {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 59px;
	background-size: cover;
	background-position: center;
	background-color: var(--qf-shop-color, #22286A);
	background-color: #fff;
}
.mprod-ck-banner-info {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.mprod-ck-banner-label {
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.mprod-ck-banner-info strong {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	text-transform: uppercase;
	color: #12110F;
}

/* ==========================================================================
   PROGRESS — non presente nel Figma, nascosta per coerenza
   ========================================================================== */
.mprod-ck-progress {
	display: none !important;
}

/* ==========================================================================
   LAYOUT 2 COLONNE — main 908 + sidebar 472, gap derivato
   Figma: Frame 95 + Checkout (sidebar)
   ========================================================================== */
.mprod-ck-layout {
	max-width: 1464px;
	margin: 0 auto;
	padding: 47px 24px 60px;
	display: grid;
	grid-template-columns: minmax(0, 908px) 472px;
	column-gap: 84px;
	row-gap: 47px;
	align-items: start;
	justify-content: space-between;
}

/* ==========================================================================
   COLONNA SX: card form — padding 60, radius 24, border 1px rgba(92,46,38,0.15)
   shadow 0 1 2 -1 rgba(0,0,0,.1), 0 1 3 0 rgba(0,0,0,.1)
   ========================================================================== */
.mprod-ck-main {
	display: flex;
	flex-direction: column;
	gap: 47px;
	min-width: 0;
	max-width: 908px;
}
.mprod-ck-step {
	background: #FFFFFF;
	border: 1px solid rgba(92, 46, 38, 0.15);
	border-radius: 24px;
	padding: 60px;
	display: flex;
	flex-direction: column;
	gap: 47px;
	box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Step header: row gap 15, numero 36×36 var(--qf-shop-color, #5C2E26) radius 59, label 24/700 */
.mprod-ck-step h3 {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 15px;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.mprod-ck-num {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 59px;
	background: var(--qf-shop-color, #5C2E26);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
}

/* Form fields — gap 22 verticale, label-input gap 15 */
.mprod-ck-step .mprod-checkout-field {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
}
.mprod-ck-step .mprod-checkout-row,
.mprod-ck-step .mprod-checkout-row-3 {
	display: grid;
	gap: 22px;
}
.mprod-ck-step .mprod-checkout-row {
	grid-template-columns: 1fr 1fr;
}
.mprod-ck-step .mprod-checkout-row-3 {
	grid-template-columns: 1fr 1fr 1fr;
}
/* Wrapper esterno dei campi: distanza verticale 22 */
.mprod-ck-step > .mprod-checkout-field,
.mprod-ck-step > .mprod-checkout-row,
.mprod-ck-step > .mprod-checkout-row-3 {
	margin-bottom: 0;
}
.mprod-ck-step > * + .mprod-checkout-field,
.mprod-ck-step > * + .mprod-checkout-row,
.mprod-ck-step > * + .mprod-checkout-row-3 {
	margin-top: -25px;
}
/* Gap pieno (47) tra titolo step e primo campo */
.mprod-ck-step h3 + .mprod-checkout-field,
.mprod-ck-step h3 + .mprod-checkout-row,
.mprod-ck-step h3 + .mprod-checkout-row-3 {
	margin-top: 0 !important;
}

/* Label: Inter Medium 500 18px */
.mprod-ck-step .mprod-checkout-field label {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
/* Asterisco campo obbligatorio */
.mprod-ck-step .mprod-ck-req,
.mprod-ck-req {
	color: #8B1B2B;
	font-weight: 500;
}
/* Tag "(facoltativo)" inline accanto al label */
.mprod-ck-step .mprod-ck-optional,
.mprod-ck-optional {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: #626262;
}

/* Select con freccia 32×32 a destra (Figma 291:991 / 291:1009) */
.mprod-ck-step .mprod-ck-select {
	position: relative;
}
.mprod-ck-step .mprod-ck-select select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2312110F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 24px 24px !important;
	padding-right: 48px !important;
	cursor: pointer;
}
.mprod-ck-step .mprod-ck-select select:invalid,
.mprod-ck-step .mprod-ck-select select option[value=""] {
	color: #535353;
}

/* Input: padding 10/16, border 1px #7F7F7F, radius 10, value 18/400 #535353 */
.mprod-ck-step .mprod-checkout-field input,
.mprod-ck-step .mprod-checkout-field select,
.mprod-ck-step .mprod-checkout-field textarea {
	width: 100% !important;
	padding: 10px 16px !important;
	border: 1px solid #7F7F7F !important;
	border-radius: 10px !important;
	background: #FFFFFF !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	color: #535353 !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.mprod-ck-step .mprod-checkout-field input::placeholder,
.mprod-ck-step .mprod-checkout-field textarea::placeholder {
	color: #535353;
	font-weight: 400;
	opacity: 1;
}
.mprod-ck-step .mprod-checkout-field input:focus,
.mprod-ck-step .mprod-checkout-field select:focus,
.mprod-ck-step .mprod-checkout-field textarea:focus {
	border-color: var(--qf-shop-color, #5C2E26) !important;
	box-shadow: 0 0 0 3px rgba(92, 46, 38, 0.1) !important;
	color: #12110F !important;
}

/* Errori: input rosso #FBEBF0/#8B1B2B, msg #8B1B2B 16px */
.mprod-ck-step .mprod-checkout-field.has-error input,
.mprod-ck-step .mprod-checkout-field.has-error select,
.mprod-ck-step .mprod-checkout-field.has-error textarea,
.mprod-ck-step .mprod-checkout-field input[aria-invalid="true"],
.mprod-ck-step .mprod-checkout-field input.error {
	background: #FBEBF0 !important;
	border-color: #8B1B2B !important;
	color: #8B1B2B !important;
}
/* Stato vuoto/non valido (campi required): bg rosa appena l'utente esce dal focus */
.mprod-ck-step .mprod-checkout-field input:required:invalid:not(:focus),
.mprod-ck-step .mprod-checkout-field select:required:invalid:not(:focus),
.mprod-ck-step .mprod-checkout-field textarea:required:invalid:not(:focus) {
	background: #FBEBF0 !important;
	border-color: #8B1B2B !important;
}
.mprod-ck-step .mprod-ck-field-err {
	display: block;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
	text-decoration: underline;
}
.mprod-ck-step .mprod-ck-field-err:empty {
	display: none;
}
.mprod-ck-step .mprod-ck-field-err:not(:empty) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.mprod-ck-step .mprod-ck-field-err:not(:empty)::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	text-decoration: none;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='%238B1B2B'/><rect x='11' y='6' width='2' height='8' rx='1' fill='%23FFFFFF'/><circle cx='12' cy='17' r='1.25' fill='%23FFFFFF'/></svg>") no-repeat center;
	background-size: contain;
}
.mprod-ck-step .mprod-ck-global-err {
	display: block;
	margin-top: 4px;
	padding: 10px 14px;
	background: #FBEBF0;
	border: 1px solid #8B1B2B;
	border-radius: 10px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	color: #8B1B2B;
}
.mprod-ck-step .mprod-ck-global-err:empty {
	display: none;
}

/* Privacy: blocco con bg marrone 4%, radius 10 */
.mprod-ck-privacy {
	margin: 0;
	padding: 14px 16px;
	background: rgba(92, 46, 38, 0.04);
	border-radius: 10px;
}
.mprod-ck-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: #12110F;
	cursor: pointer;
}
.mprod-ck-checkbox input[type="checkbox"] {
	margin: 4px 0 0 0 !important;
	width: 18px;
	height: 18px;
	accent-color: var(--qf-shop-color, #5C2E26);
	flex-shrink: 0;
}
.mprod-ck-checkbox a {
	color: var(--qf-shop-color, #5C2E26);
	font-weight: 600;
	text-decoration: underline;
}

/* Email-exists alert */
.mprod-ck-email-exists {
	margin-top: 4px;
	padding: 12px 14px;
	background: rgba(92, 46, 38, 0.07);
	border: 1px solid rgba(92, 46, 38, 0.2);
	border-radius: 10px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
}
.mprod-ck-email-exists a {
	color: var(--qf-shop-color, #5C2E26);
	font-weight: 600;
}

/* Bottoni step (continua/back) — pill brand */
.mprod-ck-step .mprod-btn-primary,
.mprod-ck-step #mprod-step1-next,
.mprod-ck-step .mprod-step1-next {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	align-self: flex-end;
	min-width: max-content !important;
	margin: 0 !important;
	padding: 14px 64px !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	background-color: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 9999px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	white-space: nowrap !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.mprod-ck-step .mprod-btn-primary:hover,
.mprod-ck-step .mprod-btn-primary:focus,
.mprod-ck-step #mprod-step1-next:hover,
.mprod-ck-step #mprod-step1-next:focus {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: var(--qf-shop-color, #5C2E26) !important;
}
.mprod-ck-step .mprod-btn-back,
.mprod-ck-step #mprod-step2-back {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	align-self: flex-start;
	min-width: max-content !important;
	margin: 0 !important;
	padding: 12px 32px !important;
	background: transparent !important;
	color: var(--qf-shop-color, #5C2E26) !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 9999px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	letter-spacing: 0.12px !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
	transition: background-color 150ms ease, color 150ms ease;
}
.mprod-ck-step .mprod-btn-back:hover,
.mprod-ck-step #mprod-step2-back:hover {
	background: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
}

/* ==========================================================================
   STEP "DONE" — riepilogo collassato dopo conferma
   ========================================================================== */
.mprod-ck-step-done {
	background: #FFFFFF;
	border: 1px solid rgba(92, 46, 38, 0.15);
	border-radius: 24px;
	padding: 24px 32px;
	box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.mprod-ck-done-header {
	display: flex;
	align-items: center;
	gap: 16px;
}
.mprod-ck-done-header > div {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
}
.mprod-ck-edit-btn {
	background: transparent !important;
	color: var(--qf-shop-color, #5C2E26) !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 9999px !important;
	padding: 8px 18px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	line-height: 21px !important;
	cursor: pointer;
}
.mprod-ck-edit-btn:hover {
	background: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
}
.mprod-ck-done-body {
	margin-top: 16px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
}

/* ==========================================================================
   RADIO METODO PAGAMENTO (Figma 291:1203 / 291:1212)
   Container column gap 15, ogni opzione row gap 15 padding 10/14 radius 10
   border 1px var(--qf-shop-color, #5C2E26), selezionato bg rgba(92,46,38,0.07)
   testo Inter SemiBold 600 20/24 #12110F
   ========================================================================== */
.mprod-ck-pay-methods {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
}
.mprod-ck-pay-method {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px 14px;
	border: 1px solid var(--qf-shop-color, #5C2E26);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	color: #12110F;
	transition: background-color 150ms ease;
}
.mprod-ck-pay-method:has(input[type="radio"]:checked) {
	background: rgba(92, 46, 38, 0.07);
	margin-bottom: 0px;
}
.mprod-ck-pay-method input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	margin: 0;
	flex-shrink: 0;
	border: 1.5px solid var(--qf-shop-color, #5C2E26);
	border-radius: 50%;
	background: #FFFFFF;
	cursor: pointer;
	position: relative;
	outline: none;
	box-shadow: none;
}
.mprod-ck-pay-method input[type="radio"]:checked {
	background: var(--qf-shop-color, #5C2E26);
	border-color: var(--qf-shop-color, #5C2E26);
}
.mprod-ck-pay-method input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #FFFFFF;
}
.mprod-ck-pay-method input[type="radio"]:focus-visible {
	box-shadow: 0 0 0 3px rgba(92, 46, 38, 0.15);
}

/* Tutti i blocchi step pagamento full-width (radio + campi alla stessa larghezza) */
#mprod-step-2 .mprod-ck-pay-method,
#mprod-step-2 .mprod-checkout-field,
#mprod-step-2 .mprod-checkout-row,
#mprod-step-2 .mprod-checkout-row-3 {
	width: 100%;
	max-width: none;
	align-self: stretch;
}
/* Step 2 sempre visibile (come da Figma 291:1127), override dell'inline display:none */
#mprod-step-2 {
	display: flex !important;
}
/* Nascondo il bottone back: il flusso non è più bloccato a step 1 */
#mprod-step-2 #mprod-step2-back {
	display: none !important;
}
/* Pay methods container: visibile, popolato dalla JS con i radio reali del plugin */
#mprod-step-2 [id^="mprod-pay-methods-"] {
	display: block;
}
#mprod-step-2 [id^="mprod-pay-methods-"]:empty {
	display: none;
}
/* Pay area: nascosta finché vuota; visibile quando la JS inietta il billing form Stripe */
#mprod-step-2 [id^="mprod-pay-area-"]:empty {
	display: none !important;
}
/* Bottone "Paga con carta" iniettato da Stripe init: nascosto, triggerato dal CTA sidebar */
#mprod-step-2 .mprod-stripe-pay {
	display: none !important;
}
/* Bottone "Continua al pagamento" sempre nascosto: triggerato programmaticamente dal CTA sidebar */
.mprod-ck-step #mprod-step1-next,
.mprod-ck-step .mprod-step1-next,
.qf-cart .mprod-checkout #mprod-step1-next {
	display: none !important;
}

/* Wrapper 3 campi Stripe (Numero / MM-AA | CVV) - inset 740 come Figma */
#mprod-step-2 .mprod-stripe-card-fields {
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 100%;
	max-width: 740px;
	align-self: center;
	margin-top: 0px;
}
#mprod-step-2 .mprod-stripe-card-fields > .mprod-checkout-field,
#mprod-step-2 .mprod-stripe-card-fields > .mprod-checkout-row {
	padding-left: 20px;
	padding-right: 20px;
}

/* Container Stripe Element (cardNumber / cardExpiry / cardCvc) — stile come input testo */
#mprod-step-2 .mprod-stripe-element {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #7F7F7F;
	border-radius: 10px;
	background: #FFFFFF;
	min-height: 47px;
	box-sizing: border-box;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
#mprod-step-2 .mprod-stripe-element.StripeElement--focus {
	border-color: var(--qf-shop-color, #5C2E26);
	box-shadow: 0 0 0 3px rgba(92, 46, 38, 0.1);
}
#mprod-step-2 .mprod-stripe-element.StripeElement--invalid {
	border-color: #8B1B2B;
	background: #FBEBF0;
}

/* Wrapper campi carta: visibili solo se radio "card" è selezionato */
#mprod-step-2 .mprod-ck-card-fields {
	display: none;
	flex-direction: column;
	gap: 22px;
	width: 100%;
	max-width: 740px;
	align-self: center;
	padding: 0;
}
#mprod-step-2 .mprod-ck-card-fields > .mprod-checkout-field,
#mprod-step-2 .mprod-ck-card-fields > .mprod-checkout-row {
	padding-left: 20px;
	padding-right: 20px;
}
#mprod-step-2:has(input[type="radio"][value="card"]:checked) .mprod-ck-card-fields {
	display: flex;
}
.mprod-ck-pay-method span {
	flex: 1;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	color: #12110F;
}
.mprod-ck-step .mprod-pay-error {
	display: block;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #8B1B2B;
}
.mprod-ck-step .mprod-pay-error:empty {
	display: none;
}

/* ============== Modal "Pagamento rifiutato" ============== */
.mprod-pay-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 200ms ease;
}
.mprod-pay-modal.is-open { opacity: 1; pointer-events: auto; }
.mprod-pay-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}
.mprod-pay-modal__dialog {
	position: relative;
	background: #FFFFFF;
	border-radius: 24px;
	padding: 40px 32px;
	max-width: 440px;
	width: 100%;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	font-family: "Inter", sans-serif;
	transform: scale(0.96);
	transition: transform 200ms ease;
}
.mprod-pay-modal.is-open .mprod-pay-modal__dialog { transform: scale(1); }
.mprod-pay-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: transparent;
	border: 0;
	width: 32px;
	height: 32px;
	font-size: 24px;
	line-height: 1;
	color: #494949;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 150ms ease;
}
.mprod-pay-modal__close:hover { background: rgba(0, 0, 0, 0.06); }
.mprod-pay-modal__icon { margin: 0 auto 16px; display: inline-flex; }
.mprod-pay-modal__title {
	margin: 0 0 12px;
	font-family: "Epilogue", "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	color: var(--qf-shop-color, #5C2E26);
}
.mprod-pay-modal__msg {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 24px;
	color: #494949;
}
.mprod-pay-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: var(--qf-shop-color, #5C2E26);
	color: #FFFFFF;
	border: 1px solid var(--qf-shop-color, #5C2E26);
	border-radius: 62px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease;
}
.mprod-pay-modal__btn:hover, .mprod-pay-modal__btn:focus {
	background: #FFFFFF;
	color: var(--qf-shop-color, #5C2E26);
}

/* ==========================================================================
   COLONNA DX: SIDEBAR riepilogo
   padding 24/25, gap 23, radius 16, border 1px #E3D4C6, sticky
   ========================================================================== */
.mprod-ck-sidebar {
	position: sticky;
	top: 50px;
	align-self: start;
}
.mprod-ck-summary-box {
	background: #FFFFFF;
	border: 1px solid #E3D4C6;
	border-radius: 16px;
	padding: 24px 25px;
	display: flex;
	flex-direction: column;
	gap: 23px;
	box-shadow: none;
}
.mprod-ck-summary-box h3 {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	color: #12110F;
}

/* Items lista */
.mprod-ck-items {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
}
.mprod-ck-item {
	display: grid;
	grid-template-columns: 79px 1fr auto;
	column-gap: 16px;
	align-items: stretch;
	border: 0 !important;
	padding: 0 !important;
	background: transparent;
}
.mprod-ck-item-img {
	width: 79px;
	height: 79px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	background-color: #EEEEEE;
	align-self: stretch;
}
/* Box troppo piccolo per ospitare anche il watermark "Quarto Fuoco" → solo placeholder */
.mprod-ck-item-img.qf-noimg-box--watermark::after { display: none !important; }
.mprod-ck-item-img.qf-noimg-box .qf-noimg-icon { gap: 4px; }
.mprod-ck-item-img.qf-noimg-box .qf-noimg-label { font-size: 9px; line-height: 1.2; letter-spacing: 0.4px; }
.mprod-ck-item-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	justify-content: center;
}
.mprod-ck-item-name {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.mprod-ck-item-variant {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: #616161;
}
.mprod-ck-item-qty {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.mprod-ck-item-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	min-width: 90px;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
	white-space: nowrap;
}

/* Separatore + righe totali */
.mprod-ck-totals {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding-top: 23px;
	border-top: 1px solid #E3D4C6;
	margin: 0;
}
.mprod-ck-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0;
	border: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #616161;
}
.mprod-ck-row span:last-child {
	font-weight: 600;
	color: #12110F;
}
/* Box "Consegna stimata" — sotto il totale (Figma 291:1077) */
.mprod-ck-summary-box .mprod-ck-delivery-box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	background: #F5F5F5;
	border-radius: 8px;
}
.mprod-ck-summary-box .mprod-ck-delivery-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 21px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.mprod-ck-summary-box .mprod-ck-delivery-head svg {
	flex-shrink: 0;
}
.mprod-ck-summary-box .mprod-ck-delivery-value {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 19.5px;
	letter-spacing: 0.12px;
	color: #616161;
}

/* CTA "Completa ordine" full-width pill */
.mprod-ck-summary-box .mprod-ck-complete-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 24px !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 9999px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.mprod-ck-summary-box .mprod-ck-complete-btn:hover,
.mprod-ck-summary-box .mprod-ck-complete-btn:focus {
	background: #FFFFFF !important;
	color: var(--qf-shop-color, #5C2E26) !important;
}
.mprod-ck-summary-box .mprod-ck-complete-btn svg {
	flex-shrink: 0;
}

/* Note legali sotto al CTA */
.mprod-ck-summary-box .mprod-ck-tos {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 21.5px;
	letter-spacing: 0.12px;
	color: #616161;
	text-align: left;
}
.mprod-ck-summary-box .mprod-ck-tos a {
	color: var(--qf-shop-color, #5C2E26);
	text-decoration: underline;
}
.mprod-ck-row.mprod-ck-total {
	margin-top: 8px;
	padding-top: 23px;
	border-top: 1px solid #E3D4C6;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.mprod-ck-row.mprod-ck-total strong,
.mprod-ck-row.mprod-ck-total span:last-child {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	color: var(--qf-shop-color, #5C2E26);
}

/* CTA "Completa ordine" — eventuale bottone dentro la sidebar (se markup lo include) */
.mprod-ck-summary-box .mprod-btn-primary,
.mprod-ck-summary-box a.mprod-ck-cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 24px !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 9999px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 150ms ease, color 150ms ease;
}
.mprod-ck-summary-box .mprod-btn-primary:hover,
.mprod-ck-summary-box a.mprod-ck-cta:hover {
	background: #FFFFFF !important;
	color: var(--qf-shop-color, #5C2E26) !important;
}

/* ==========================================================================
   RESPONSIVE — desktop intermedio
   ========================================================================== */
@media (max-width: 1463px) {
	.mprod-ck-banner,
	.mprod-ck-layout {
		margin-left: 40px;
		margin-right: 40px;
		max-width: none;
	}
	.mprod-ck-layout {
		margin-left: auto;
		margin-right: auto;
		padding-left: 40px;
		padding-right: 40px;
	}
	.mprod-ck-banner {
		margin-left: auto;
		margin-right: auto;
		max-width: calc(100% - 80px);
	}
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 1199px) {
	.mprod-ck-banner {
		max-width: calc(100% - 40px);
		margin: 24px auto 0;
		padding: 10px 14px;
		gap: 10px;
		border-radius: 60px;
	}
	.mprod-ck-banner-avatar {
		width: 40px;
		height: 40px;
	}
	.mprod-ck-banner-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	.mprod-ck-banner-label {
		font-size: 14px;
		line-height: 21px;
	}
	.mprod-ck-banner-info strong {
		font-size: 14px;
		line-height: 21px;
	}

	.mprod-ck-layout {
		display: flex !important;
		flex-direction: column;
		padding: 24px 20px 40px !important;
		gap: 24px;
	}
	.mprod-ck-main {
		order: 1;
		gap: 24px;
		width: 100%;
	}
	.mprod-ck-sidebar {
		order: 2;
		position: static !important;
		top: auto !important;
		width: 100%;
	}

	.mprod-ck-step {
		padding: 24px 20px;
		gap: 24px;
		border-radius: 20px;
	}
	.mprod-ck-step h3 {
		font-size: 20px;
		line-height: 30px;
		gap: 12px;
	}
	.mprod-ck-num {
		width: 32px;
		height: 32px;
		font-size: 16px;
		padding: 6px;
	}

	.mprod-ck-step .mprod-checkout-row,
	.mprod-ck-step .mprod-checkout-row-3 {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.mprod-ck-step > * + .mprod-checkout-field,
	.mprod-ck-step > * + .mprod-checkout-row,
	.mprod-ck-step > * + .mprod-checkout-row-3 {
		margin-top: -8px;
	}
	.mprod-ck-step .mprod-checkout-field {
		gap: 10px;
	}
	.mprod-ck-step .mprod-checkout-field label {
		font-size: 16px;
		line-height: 24px;
	}
	.mprod-ck-step .mprod-checkout-field input,
	.mprod-ck-step .mprod-checkout-field select,
	.mprod-ck-step .mprod-checkout-field textarea {
		font-size: 16px !important;
		line-height: 24px !important;
		padding: 10px 14px !important;
	}

	.mprod-ck-step .mprod-btn-primary,
	.mprod-ck-step #mprod-step1-next {
		width: 100%;
		align-self: stretch;
		padding: 14px 24px !important;
		font-size: 16px !important;
	}
	.mprod-ck-step .mprod-btn-back,
	.mprod-ck-step #mprod-step2-back {
		width: 100%;
		align-self: stretch;
	}

	.mprod-ck-summary-box {
		padding: 20px 16px;
		gap: 16px;
	}
	.mprod-ck-summary-box h3 {
		font-size: 18px;
		line-height: 27px;
	}
	.mprod-ck-item {
		grid-template-columns: 64px 1fr auto;
		column-gap: 12px;
	}
	.mprod-ck-item-img {
		width: 64px;
		height: 64px;
	}
	.mprod-ck-item-name {
		font-size: 16px;
		line-height: 24px;
	}
	.mprod-ck-item-variant,
	.mprod-ck-item-qty {
		font-size: 14px;
		line-height: 21px;
	}
	.mprod-ck-item-price {
		font-size: 16px;
		line-height: 24px;
	}
	.mprod-ck-row {
		font-size: 16px;
		line-height: 24px;
	}
	.mprod-ck-row.mprod-ck-total strong,
	.mprod-ck-row.mprod-ck-total span:last-child {
		font-size: 20px;
		line-height: 30px;
	}
}

/* ==========================================================================
   PAGAMENTO — markup iniettato dinamicamente dalla JS del plugin
   .mprod-pay-options / .mprod-pay-option / .mprod-billing-* / .mprod-stripe-*
   Stilizzati come Figma (radio brand + form coerente)
   ========================================================================== */

/* Container metodi pagamento (Stripe + PayPal) — gap 47 come Figma 291:1127 Frame 96
   In mezzo (fra Stripe e Paypal radio) verrà inserita dinamicamente la pay-area */
#mprod-step-2 .mprod-pay-options {
	display: flex;
	flex-direction: column;
	gap: 47px;
	margin: 0;
}
/* Quando l'area è dentro pay-options, ha proprio gap interno (no margin extra) */
#mprod-step-2 .mprod-pay-options [id^="mprod-pay-area-"] {
	display: flex;
	flex-direction: column;
	gap: 47px;
	margin: 0;
}

/* Singolo metodo come radio Figma (row, padding 20/14, border var(--qf-shop-color, #5C2E26), radius 10) */
#mprod-step-2 .mprod-pay-option {
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	gap: 15px;
	width: 100%;
	padding: 20px 14px !important;
	background: transparent !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 10px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 700 !important;
	font-size: 20px !important;
	line-height: 24px !important;
	color: #12110F !important;
	cursor: pointer;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
	text-align: left !important;
	transition: background-color 150ms ease;
}
#mprod-step-2 .mprod-pay-option:hover {
	background: rgba(92, 46, 38, 0.04) !important;
}
#mprod-step-2 .mprod-pay-option.active {
	background: rgba(92, 46, 38, 0.07) !important;
}
/* Pseudo-radio prima del testo */
#mprod-step-2 .mprod-pay-option::before {
	content: '';
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	border: 1.5px solid var(--qf-shop-color, #5C2E26);
	border-radius: 50%;
	background: #FFFFFF;
	box-sizing: border-box;
	position: relative;
	display: inline-block;
}
#mprod-step-2 .mprod-pay-option.active::before {
	background: var(--qf-shop-color, #5C2E26);
	box-shadow: inset 0 0 0 4px #FFFFFF;
}
#mprod-step-2 .mprod-pay-option svg {
	flex-shrink: 0;
}

/* Area pagamento (form fatturazione + Stripe Card / PayPal buttons) */
#mprod-step-2 .mprod-billing-section {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 24px;
	padding: 20px;
	background: #FFFFFF;
	border: 1px solid rgba(92, 46, 38, 0.12);
	border-radius: 10px;
}
#mprod-step-2 .mprod-billing-notice {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #616161;
}
#mprod-step-2 .mprod-billing-field {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
}
#mprod-step-2 .mprod-billing-field label,
#mprod-step-2 .mprod-billing-label {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	color: #12110F;
}
#mprod-step-2 .mprod-billing-field input,
#mprod-step-2 .mprod-billing-field select {
	width: 100% !important;
	padding: 10px 16px !important;
	border: 1px solid #7F7F7F !important;
	border-radius: 10px !important;
	background: #FFFFFF !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	color: #535353 !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
#mprod-step-2 .mprod-billing-field input:focus,
#mprod-step-2 .mprod-billing-field select:focus {
	border-color: var(--qf-shop-color, #5C2E26) !important;
	box-shadow: 0 0 0 3px rgba(92, 46, 38, 0.1) !important;
	color: #12110F !important;
}
#mprod-step-2 .mprod-billing-row,
#mprod-step-2 .mprod-billing-row-3 {
	display: grid;
	gap: 22px;
}
#mprod-step-2 .mprod-billing-row { grid-template-columns: 1fr 1fr; }
#mprod-step-2 .mprod-billing-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Stripe Card Element wrapper */
#mprod-step-2 .mprod-stripe-card-wrap {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
}
#mprod-step-2 .mprod-stripe-card {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #7F7F7F;
	border-radius: 10px;
	background: #FFFFFF;
	min-height: 48px;
	box-sizing: border-box;
}
#mprod-step-2 .mprod-stripe-card.StripeElement--focus {
	border-color: var(--qf-shop-color, #5C2E26);
	box-shadow: 0 0 0 3px rgba(92, 46, 38, 0.1);
}

/* Bottone "Paga con carta" finale (primary brand pill) */
#mprod-step-2 .mprod-stripe-pay,
#mprod-step-2 .mprod-btn-primary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	align-self: stretch;
	width: 100%;
	margin-top: 16px !important;
	padding: 14px 24px !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	background-color: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-shop-color, #5C2E26) !important;
	border-radius: 9999px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	letter-spacing: 0.12px !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
	transition: background-color 150ms ease, color 150ms ease;
}
#mprod-step-2 .mprod-stripe-pay:hover,
#mprod-step-2 .mprod-btn-primary:hover {
	background: #FFFFFF !important;
	color: var(--qf-shop-color, #5C2E26) !important;
}
#mprod-step-2 .mprod-stripe-pay:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Mobile: 1 colonna anche su billing */
@media (max-width: 1199px) {
	#mprod-step-2 .mprod-billing-row,
	#mprod-step-2 .mprod-billing-row-3 {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	#mprod-step-2 .mprod-billing-section {
		padding: 16px;
	}
}

/* ==========================================================================
   MOBILE — token Figma 405:3400 (frame 402px)
   Override completi per la card di checkout su mobile
   ========================================================================== */
@media (max-width: 1199px) {
	/* Banner negozio: avatar 36×36, radius 20 (no più pill 82), label 14, name 16 */
	.mprod-ck-banner {
		border-radius: 20px;
		padding: 15px 10px;
		gap: 15px;
		margin-top: 8px;
		margin: 0px !important;
		max-width: 100% !important;
	}
	.mprod-ck-banner-avatar {
		width: 36px;
		height: 36px;
	}
	.mprod-ck-banner-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}
	.mprod-ck-banner-label {
		font-size: 14px;
		line-height: 21px;
	}
	.mprod-ck-banner-info strong {
		font-size: 16px;
		line-height: 24px;
	}

	/* Layout 1 colonna, padding 20 (Frame 149 wrapper) */
	.mprod-ck-layout {
		padding: 40px 20px 40px !important;
		gap: 32px;
	}

	/* Card form spedizione: padding 20, gap 24, radius 20 (Figma 404:2926) */
	.mprod-ck-step {
		padding: 20px;
		gap: 24px;
		border-radius: 20px;
		box-shadow: none;
	}

	/* Step header: numero 32×32, label 18px Bold (Figma 404:2929) */
	.mprod-ck-step h3 {
		font-size: 18px;
		line-height: 30px;
		gap: 12px;
	}
	.mprod-ck-num {
		width: 32px;
		height: 32px;
		font-size: 14px;
		line-height: 21px;
		padding: 0;
	}

	/* Override gap fra primo campo e h3: 24 (gap del parent) */
	.mprod-ck-step h3 + .mprod-checkout-field,
	.mprod-ck-step h3 + .mprod-checkout-row,
	.mprod-ck-step h3 + .mprod-checkout-row-3 {
		margin-top: 0 !important;
	}

	/* Form fields: gap label-input 10, label Inter 500 16, input value 16 */
	.mprod-ck-step .mprod-checkout-field {
		gap: 10px;
	}
	.mprod-ck-step .mprod-checkout-field label {
		font-size: 16px;
		line-height: 24px;
	}
	.mprod-ck-step .mprod-checkout-field input,
	.mprod-ck-step .mprod-checkout-field select,
	.mprod-ck-step .mprod-checkout-field textarea {
		font-size: 16px !important;
		line-height: 24px !important;
		padding: 10px 16px !important;
	}

	/* Riduco lo "stretch" verticale fra campi step (gap 12 invece di -25 trick desktop) */
	.mprod-ck-step > * + .mprod-checkout-field,
	.mprod-ck-step > * + .mprod-checkout-row,
	.mprod-ck-step > * + .mprod-checkout-row-3 {
		margin-top: -12px !important;
	}

	/* Card pagamento: padding 20, gap 32 (Figma 404:3169) */
	#mprod-step-2 {
		padding: 20px;
		gap: 32px;
	}
	#mprod-step-2 h3 {
		gap: 15px;
	}
	#mprod-step-2 .mprod-pay-options {
		gap: 24px;
	}

	/* Radio metodo pagamento: padding e font invariati (uguale desktop) */
	#mprod-step-2 .mprod-pay-option {
		padding: 16px 14px !important;
		font-size: 20px !important;
		line-height: 30px !important;
	}
	#mprod-step-2 .mprod-pay-option span {
		font-weight: 700;
		font-size: 20px;
		line-height: 30px;
	}

	/* Stripe card-fields: full width della card, gap 22 come Figma */
	#mprod-step-2 .mprod-ck-card-fields,
	#mprod-step-2 .mprod-stripe-card-fields {
		max-width: none;
		gap: 22px;
		padding: 0;
	}
	#mprod-step-2 .mprod-ck-card-fields > .mprod-checkout-field,
	#mprod-step-2 .mprod-ck-card-fields > .mprod-checkout-row,
	#mprod-step-2 .mprod-stripe-card-fields > .mprod-checkout-field,
	#mprod-step-2 .mprod-stripe-card-fields > .mprod-checkout-row {
		padding-left: 20px;
		padding-right: 20px;
	}
	/* Riga MM-AA | CVV: gap 22 (Figma layout_BVLX78) */
	#mprod-step-2 .mprod-checkout-row {
		grid-template-columns: 1fr 1fr;
		gap: 22px;
	}
	/* Label e input più grandi nei campi carta come da screenshot */
	#mprod-step-2 .mprod-ck-card-fields .mprod-checkout-field label,
	#mprod-step-2 .mprod-stripe-card-fields .mprod-checkout-field label {
		font-size: 16px !important;
		line-height: 25px !important;
		min-height: 50px;
		display: flex;
		align-items: flex-start;
	}
	#mprod-step-2 .mprod-ck-card-fields .mprod-checkout-field input,
	#mprod-step-2 .mprod-ck-card-fields .mprod-checkout-field select,
	#mprod-step-2 .mprod-stripe-card-fields .mprod-checkout-field input,
	#mprod-step-2 .mprod-stripe-card-fields .mprod-checkout-field select,
	#mprod-step-2 .mprod-stripe-element {
		font-size: 18px !important;
		line-height: 27px !important;
		padding: 12px 16px !important;
	}

	/* Sidebar: padding 20, gap 21, radius 20, border rgba(92,46,38,0.15) */
	.mprod-ck-sidebar {
		position: static !important;
		top: auto !important;
		width: 100%;
	}
	.mprod-ck-summary-box {
		padding: 20px;
		gap: 21px;
		border-radius: 20px;
		border-color: rgba(92, 46, 38, 0.15);
	}
	.mprod-ck-summary-box h3 {
		font-size: 20px;
		line-height: 30px;
	}

	/* Items: thumb 60, info gap 3, nome 600 16, qty 14 */
	.mprod-ck-items {
		gap: 16px;
	}
	.mprod-ck-item {
		grid-template-columns: 60px 1fr auto;
		column-gap: 12px;
	}
	.mprod-ck-item-img {
		width: 60px;
		height: 60px;
	}
	.mprod-ck-item-info {
		gap: 3px;
	}
	.mprod-ck-item-name {
		font-size: 16px;
		line-height: 21px;
	}
	.mprod-ck-item-variant {
		font-size: 14px;
		line-height: 18px;
	}
	.mprod-ck-item-qty {
		font-size: 14px;
		line-height: 19.5px;
	}
	.mprod-ck-item-price {
		font-size: 18px;
		line-height: 27px;
	}

	/* Totali */
	.mprod-ck-totals {
		gap: 14px;
		padding: 10px 0 0;
	}
	.mprod-ck-row {
		font-size: 16px;
		line-height: 24px;
	}
	.mprod-ck-row span:last-child {
		font-size: 16px;
	}
	.mprod-ck-row.mprod-ck-total {
		font-size: 18px;
		line-height: 28px;
	}
	.mprod-ck-row.mprod-ck-total strong,
	.mprod-ck-row.mprod-ck-total span:last-child {
		font-size: 24px;
		line-height: 32px;
	}

	/* Box "Consegna stimata" */
	.mprod-ck-summary-box .mprod-ck-delivery-box {
		padding: 16px;
		gap: 8px;
		border-radius: 8px;
	}
	.mprod-ck-summary-box .mprod-ck-delivery-head {
		font-size: 14px;
		line-height: 21px;
	}
	.mprod-ck-summary-box .mprod-ck-delivery-value {
		font-size: 13px;
		line-height: 19.5px;
	}

	/* CTA "Completa ordine": full-width, padding 16/0, font 16 */
	.mprod-ck-summary-box .mprod-ck-complete-btn {
		width: 100%;
		padding: 16px 0 !important;
		font-size: 16px !important;
		line-height: 24px !important;
		gap: 7px;
	}

	/* Note T&C: 14/16.5, centered */
	.mprod-ck-summary-box .mprod-ck-tos {
		font-size: 14px;
		line-height: 16.5px;
	}
}


/* Hint "Aggiungi €X per spedizione gratuita" — nel carrello (gruppo negozio) */
.qf-cart-free-shipping-hint {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 4px 0 8px;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 8%, #fff);
	border-radius: 8px;
	font-size: 13px;
	line-height: 18px;
	color: var(--qf-shop-color, #5C2E26);
}
.qf-cart-free-shipping-hint svg { flex-shrink: 0; margin-top: 1px; }

.qf-cart-item__kitbadge {
	display: inline-block;
	margin-left: 0;
	padding: 2px 8px;
	background: #5C2E26;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 10px;
	letter-spacing: 0.6px;
	border-radius: 999px;
	vertical-align: middle;
	font-style: normal;
}
/* Cart item: lista componenti bundle */
.qf-cart-item__bundle {
	margin: 8px 0 0;
	padding: 10px 12px;
	background: #FAF6F1;
	border: 1px solid #E3D4C6;
	border-radius: 10px;
	font-family: "Inter", sans-serif;
}
.qf-cart-item__bundle-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 11px;
	color: #5C2E26;
}
.qf-cart-item__bundle-title > span { opacity: 0.85; }
.qf-cart-item__bundle-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qf-cart-item__bundle-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
}
.qf-cart-item__bundle-thumb {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: #fff center/cover no-repeat;
	border: 1px solid #E3D4C6;
}
.qf-cart-item__bundle-thumb--empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #F4ECE3;
	color: #B3A39C;
}
.qf-cart-item__bundle-name {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	color: #12110F;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.qf-cart-item__bundle-qty {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
	color: #5C2E26;
}

/* Checkout: badge KIT + lista componenti bundle */
.mprod-ck-item-kitbadge {
	display: inline-block;
	margin-left: 0;
	padding: 2px 7px;
	background: #5C2E26;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 9px;
	letter-spacing: 0.6px;
	border-radius: 999px;
	vertical-align: middle;
	font-style: normal;
}
.mprod-ck-item-bundle {
	margin: 6px 0 4px;
	padding: 8px 10px;
	background: #FAF6F1;
	border: 1px solid #E3D4C6;
	border-radius: 8px;
}
.mprod-ck-item-bundle-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 10px;
	color: #5C2E26;
	margin-bottom: 5px;
}
.mprod-ck-item-bundle-label { opacity: 0.85; }
.mprod-ck-item-bundle ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mprod-ck-item-bundle li { display: flex; align-items: center; gap: 8px; padding: 0; }
.mprod-ck-item-bundle-thumb {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 5px;
	background: #fff center/cover no-repeat;
	border: 1px solid #E3D4C6;
}
.mprod-ck-item-bundle-thumb--empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #F4ECE3;
	color: #B3A39C;
}
.mprod-ck-item-bundle-name {
	flex: 1;
	min-width: 0;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	color: #12110F;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mprod-ck-item-bundle-qty {
	flex-shrink: 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #5C2E26;
}

/* ============================================================
   CROSS-SELL nel carrello (per gruppo negozio)
   "Potrebbe interessarti anche" — markup .qf-cart-crosssell-card
   ============================================================ */
.qf-cart-shop__crosssell {
	margin: 16px 0 20px;
	padding: 16px;
	background: #FAF6F1;
	border-radius: 14px;
}
.qf-cart-shop__crosssell-title {
	margin: 0 0 12px;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5C2E26;
}
.qf-cart-shop__crosssell-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.qf-cart-crosssell-card {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	background: #FFFFFF;
	border: 1px solid #E3D4C6;
	border-radius: 12px;
	transition: box-shadow 150ms ease;
}
.qf-cart-crosssell-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.qf-cart-crosssell-card__image {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #F4ECE3;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #5C2E26;
	text-decoration: none;
}
.qf-cart-crosssell-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.qf-cart-crosssell-card__image .qf-noimg-icon {
	opacity: 0.5;
}
.qf-cart-crosssell-card__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.qf-cart-crosssell-card__name {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.35;
	color: #5C2E26;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.qf-cart-crosssell-card__name a {
	color: inherit;
	text-decoration: none !important;
}
.qf-cart-crosssell-card__name a:hover {
	text-decoration: none !important;
}
.qf-cart-crosssell-card__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-family: "Inter", sans-serif;
}
.qf-cart-crosssell-card__price-old {
	font-weight: 400;
	font-size: 13px;
	line-height: 1.4;
	color: #999999;
	text-decoration: line-through;
}
.qf-cart-crosssell-card__price-now {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	color: #5C2E26;
}
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add,
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add:hover,
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add:focus,
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add:focus-visible,
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add:active {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	background: var(--qf-shop-color, #5C2E26) !important;
	background-color: var(--qf-shop-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 0 !important;
	border-color: transparent !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
	font-size: 0 !important;
	line-height: 0 !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 150ms ease, transform 150ms ease;
}
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add:hover {
	background: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 85%, #000) !important;
	background-color: color-mix(in srgb, var(--qf-shop-color, #5C2E26) 85%, #000) !important;
}
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add:active {
	transform: scale(0.95);
}
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	stroke: #FFFFFF !important;
	color: #FFFFFF !important;
	fill: none !important;
}
.qf-cart-shop__crosssell .qf-cart-crosssell-card button.qf-cart-crosssell-card__add svg path {
	stroke: #FFFFFF !important;
}
@media (max-width: 991px) {
	.qf-cart-shop__crosssell-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.qf-cart-shop__crosssell-list { grid-template-columns: 1fr; }
}
