/* ==========================================================================
   Quarto Fuoco — Pagina Prodotto
   Desktop: Figma 192:883
   ========================================================================== */

.qf-product,
.qf-product * {
	box-sizing: border-box;
}

.qf-product {
	font-family: "Inter", sans-serif;
	color: #12110F;
	background: #FFFFFF;
}

/* No margin-top sul footer in pagina prodotto: la sezione "Prodotti correlati"
 * ha il suo padding e arriva fino al footer senza gap visibile. */
.qf-product ~ .qf-footer,
.qf-product + .qf-footer {
	margin-top: 0 !important;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.qf-product-breadcrumb--mobile { display: none; }
.qf-product-breadcrumb {
	padding: 24px 0 16px;
}
.qf-product-breadcrumb__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 16px;
	line-height: 24px;
}
.qf-product-breadcrumb a {
	color: #494949;
	text-decoration: none;
	font-weight: 400;
}
.qf-product-breadcrumb a:hover {
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-product-breadcrumb__sep {
	display: inline-flex;
	align-items: center;
}
.qf-product-breadcrumb__sep svg {
	display: block;
}
.qf-product-breadcrumb__current {
	color: #12110F;
	font-weight: 500;
}

/* ==========================================================================
   VENDOR TOP BAR
   ========================================================================== */
.qf-product-vendor {
	padding: 16px 0 30px;
}
.qf-product-vendor__inner {
	max-width: calc(var(--qf-max-width) - 48px);
	margin: 0 auto;
	padding: 14px 14px 14px 28px;
	background: #F4F4F5;
	border-radius: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.qf-product-vendor__info {
	display: flex;
	align-items: center;
	gap: 16px;
}
.qf-product-vendor__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--qf-bottega-color, #5C2E26);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.qf-product-vendor__icon svg {
	width: 24px;
	height: 24px;
}
.qf-product-vendor__icon svg path {
	stroke: currentColor;
	fill: none;
}
/* Avatar con logo: nessun bg colorato dietro al PNG */
.qf-product-vendor__icon:has(img) {
	background: transparent !important;
}
.qf-product-vendor__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	background: #fff;
}
.qf-product-vendor__text {
	margin: 0;
	color: #12110F;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
}
.qf-product-vendor__text strong {
	margin-left: 8px;
	font-weight: 700;
}
.qf-product-vendor__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	background: var(--qf-bottega-color, #5C2E26);
	color: #FFFFFF !important;
	border: 2px solid var(--qf-bottega-color, #5C2E26);
	border-radius: 100px;
	text-decoration: none;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	transition: background-color 150ms ease, color 150ms ease;
	white-space: nowrap;
}
.qf-product-vendor__btn:hover,
.qf-product-vendor__btn:focus,
.qf-product-vendor__btn:active {
	background: #FFFFFF;
	color: var(--qf-bottega-color, #5C2E26) !important;
	text-decoration: none !important;
}
.qf-product-vendor__btn svg path {
	stroke: #FFFFFF;
}
.qf-product-vendor__btn:hover svg path,
.qf-product-vendor__btn:focus svg path,
.qf-product-vendor__btn:active svg path {
	stroke: var(--qf-bottega-color, #5C2E26);
}
/* Default: solo icona desktop visibile, icona mobile nascosta */
.qf-product-vendor__btn-icon--mobile {
	display: none;
}

/* ==========================================================================
   BODY: gallery + info
   ========================================================================== */
.qf-product-body {
	padding: 30px 0 60px;
}
.qf-product-body__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 720fr 678fr;
	gap: 0px 66px;
	align-items: start;
}

/* Gallery */
.qf-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.qf-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(135deg, #f0ebe5 0%, #e3d4c6 100%);
}
.qf-product-gallery__main:not(:has(img))::before {
	content: 'Quarto Fuoco';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter', 'Helvetica Neue', sans-serif;
	font-weight: 700;
	font-size: clamp(20px, 4vw, 48px);
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(92, 46, 38, 0.3);
	text-align: center;
	pointer-events: none;
	z-index: 0;
}
.qf-product-gallery__empty {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	font-size: 14px;
	color: rgba(92, 46, 38, 0.6);
	font-style: italic;
	pointer-events: none;
}
.qf-product-gallery__main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Frecce gallery — Figma 192:1171 (pixel perfect) */
.qf-product-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px !important;
	height: 46px !important;
	padding: 0 8px !important;
	border-radius: 9999px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
	border: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer;
	z-index: 2;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 150ms ease;
	box-shadow: none !important;
}
.qf-product-gallery__nav:hover,
.qf-product-gallery__nav:focus {
	background: #FFFFFF !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
}
.qf-product-gallery__nav svg {
	display: block;
	width: 13px;
	height: 13px;
	color: currentColor;
}
.qf-product-gallery__nav svg path,
.qf-product-gallery__nav svg polyline {
	stroke: currentColor !important;
	stroke-width: 1.67 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	fill: none !important;
}
.qf-product-gallery__nav--prev {
	left: 16px;
}
.qf-product-gallery__nav--next {
	right: 16px;
}
.qf-product-gallery__thumbs {
	display: flex;
	gap: 12px;
}
.qf-product-gallery__thumb {
	width: 150px;
	height: 150px;
	flex: 1 1 0;
	max-width: 150px;
	border-radius: 10px;
	overflow: hidden;
	border: 0 !important;
	outline: 0 !important;
	background: #F5F5F5;
	padding: 0;
	cursor: pointer;
	transition: box-shadow 150ms ease, transform 150ms ease;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: inset 0 0 0 0 transparent;
}
.qf-product-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.qf-product-gallery__thumb:hover {
	transform: translateY(-2px);
}
/* Override aggressivo: batte qualsiasi regola Elementor/tema parent che applica colori sistema/focus */
.qf-product-gallery__thumb,
.qf-product-gallery__thumb:hover,
.qf-product-gallery__thumb:focus,
.qf-product-gallery__thumb:active,
.qf-product-gallery__thumb:focus-within,
.qf-product-gallery__thumb.is-active,
.qf-product-gallery__thumb.mprod-thumb-wrap,
.qf-product-gallery__thumb.mprod-thumb-wrap.is-active {
	border: 0 !important;
	outline: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #F5F5F5 !important;
	opacity: 1 !important;
	-webkit-tap-highlight-color: transparent !important;
	box-shadow: none !important;
}
.qf-product-gallery__thumb::-moz-focus-inner {
	border: 0 !important;
	padding: 0 !important;
}
.qf-product-gallery__thumb:focus-visible {
	outline: 2px solid var(--qf-bottega-color, #5C2E26) !important;
	outline-offset: -2px !important;
}
/* Thumb non attiva: nessun bordo, solo radius */
.qf-product-gallery__thumb:not(.is-active) {
	outline: 0 !important;
	outline-offset: -1px !important;
	border-radius: 10px !important;
}
/* SOLO la thumb attiva (.is-active gestita dal JS) ha bordo brand. La classe .active legacy
 * NON è gestita dal JS quindi NON viene usata come selettore (resterebbe sulla prima thumb) */
.qf-product-gallery__thumb.is-active,
.qf-product-gallery__thumb.mprod-thumb-wrap.is-active {
	outline: 3px solid var(--qf-bottega-color, #5C2E26) !important;
	outline-offset: -3px !important;
	box-shadow: none !important;
	border-radius: 10px !important;
}

/* Info */
.qf-product-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 12px;
}
/* Tag: pillola con colore bottega */
.qf-product-info__tag {
	align-self: flex-start;
	display: inline-flex;
	padding: 4px 10px;
	background: transparent !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
	border: 1px solid var(--qf-bottega-color, #5C2E26) !important;
	border-radius: 10px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.12px;
}

/* Titolo: Epilogue 700 / 48 / 72, colore bottega */
.qf-product .qf-product-info__name {
	margin: 0;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 60px;
	letter-spacing: 0.12px;
	color: var(--qf-bottega-color, #5C2E26) !important;
}

/* Prezzo: 34/51 700 nero */
.qf-product-info__price {
	display: flex;
	align-items: baseline;
	gap: 16px;
}
.qf-product-info__price-old {
	font-weight: 400;
	font-size: 22px;
	line-height: 33px;
	color: #616161;
	text-decoration: line-through;
}
.qf-product-info__price-now {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 34px;
	line-height: 51px;
	color: #12110F !important;
	letter-spacing: 0.12px;
}

/* Card "Collezione Quarto Fuoco / Tavola" */
.qf-product-info__collection {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-left: 16px;
	background: color-mix(in srgb, var(--qf-bottega-color, #5C2E26) 5%, #FFFFFF);
	border-radius: 10px;
	min-height: 76px;
}
.qf-product-info__collection-icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--qf-bottega-color, #5C2E26);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.qf-product-info__collection-icon svg {
	width: 22px;
	height: 22px;
}
.qf-product-info__collection-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.qf-product-info__collection-eyebrow {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #12110F !important;
	font-weight: 600 !important;
	letter-spacing: 0.12px;
}
.qf-product-info__collection-name {
	font-family: "Inter", sans-serif;
	font-size: 22px;
	line-height: 33px;
	font-weight: 700;
	color: var(--qf-bottega-color, #5C2E26) !important;
	letter-spacing: 0.12px;
	text-transform: uppercase;
}

/* Descrizione */
.qf-product-info__desc {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: #12110F;
}

/* Dettagli prodotto: titolo + lista bullet */
.qf-product-info__details {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 15px;
	padding-bottom: 15px;
}
.qf-product-info__details-title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: var(--qf-bottega-color, #5C2E26) !important;
	letter-spacing: 0.12px;
}
.qf-product-info__details-list {
	margin: 0;
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	list-style: disc;
}
.qf-product-info__details-list li {
	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 27px;
	color: #12110F;
	font-weight: 400;
	letter-spacing: 0.12px;
}
.qf-product-info__details-list strong {
	font-weight: 700;
	color: #12110F;
}
.qf-product-info__details-list a {
	color: #12110F;
	text-decoration: underline;
}
.qf-product-info__details-list a:hover {
	color: var(--qf-bottega-color, #5C2E26);
}

/* Disponibilità */
.qf-product-info__avail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 20px;
	line-height: 30px;
	color: #12110F;
	margin-top: 4px;
}
.qf-product-info__avail strong {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	color: var(--qf-bottega-color, #5C2E26) !important;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
}
.qf-product-info__avail-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 8px;
	border-radius: 4px;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: 0.12px;
}
.qf-product-info__avail-badge.is-in {
	background: rgba(51, 121, 59, 0.10);
	color: #33793B !important;
}
.qf-product-info__avail-badge.is-out {
	background: rgba(207, 38, 23, 0.10);
	color: #CF2617 !important;
}
.qf-product-info__avail-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
	flex-shrink: 0;
}

/* Divider + perks finali */
.qf-product-info__divider {
	margin: 12px 0 4px;
	border: 0;
	border-top: 1px solid #E5E5E5;
}
.qf-product-info__perks {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.qf-product-info__perks li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 27px;
	color: #12110F;
	font-weight: 400;
	letter-spacing: 0.12px;
}
.qf-product-info__perks-icon {
	display: inline-flex;
	color: #12110F;
}

/* Actions: qty + add to cart */
.qf-product-info__actions {
	display: flex;
	gap: 16px;
	margin-top: 12px;
}
.qf-product-info__qty-row {
	display: contents;
}
.qf-product-info__qty-label {
	display: none;
}
.qf-product-info__qty {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	background: #FBFBFB !important;
	border: 0 !important;
	border-radius: 100px;
	overflow: hidden;
	width: 146px;
	height: 60px;
	flex-shrink: 0;
}
.qf-product-info__qty-btn,
.qf-product-info__qty-btn:hover,
.qf-product-info__qty-btn:focus,
.qf-product-info__qty-btn:focus-visible,
.qf-product-info__qty-btn:focus-within,
.qf-product-info__qty-btn:active {
	width: 48px;
	height: 100%;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	cursor: pointer;
	font-size: 24px;
	color: var(--qf-bottega-color, #5C2E26) !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: none !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-tap-highlight-color: transparent !important;
	transform: none !important;
	filter: none !important;
}
.qf-product-info__qty-btn::-moz-focus-inner {
	border: 0 !important;
	padding: 0 !important;
}
/* Super-specifici per battere eventuali override Elementor / tema parent */
.qf-product .qf-product-info__qty-row .qf-product-info__qty .qf-product-info__qty-btn,
.qf-product .qf-product-info__qty-row .qf-product-info__qty .qf-product-info__qty-btn:hover,
.qf-product .qf-product-info__qty-row .qf-product-info__qty .qf-product-info__qty-btn:focus,
.qf-product .qf-product-info__qty-row .qf-product-info__qty .qf-product-info__qty-btn:focus-visible,
.qf-product .qf-product-info__qty-row .qf-product-info__qty .qf-product-info__qty-btn:focus-within,
.qf-product .qf-product-info__qty-row .qf-product-info__qty .qf-product-info__qty-btn:active,
button.qf-product-info__qty-btn:hover,
button.qf-product-info__qty-btn:focus,
button.qf-product-info__qty-btn:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	transform: none !important;
	transition: none !important;
	filter: none !important;
	-webkit-tap-highlight-color: transparent !important;
}
.qf-product-info__qty-input {
	width: 44px;
	height: 100%;
	border: 0 !important;
	background: transparent !important;
	text-align: center;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: var(--qf-bottega-color, #5C2E26) !important;
	outline: none !important;
	box-shadow: none !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
	-webkit-appearance: textfield !important;
}
.qf-product-info__qty-input:focus,
.qf-product-info__qty-input:hover {
	outline: none !important;
	box-shadow: none !important;
	border: 0 !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}
.qf-product-info__qty-input::-webkit-outer-spin-button,
.qf-product-info__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	margin: 0 !important;
	display: none !important;
	height: 0 !important;
	width: 0 !important;
}
.qf-product-info__add {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	padding: 12px 28px !important;
	min-height: 0 !important;
	border: 2px solid var(--qf-bottega-color, #5C2E26) !important;
	border-radius: 100px !important;
	max-width: 406px !important;
	width: 100% !important;
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	text-decoration: none;
	font-family: "Inter", sans-serif;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 24px;
	letter-spacing: 0.12px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
	white-space: nowrap;
	text-align: center !important;
}
.qf-product-info__add > svg {
	flex: 0 0 auto !important;
	margin: 0 !important;
}
.qf-product-info__add > span {
	flex: 0 0 auto !important;
	margin: 0 !important;
}
.qf-product-info__add:hover,
.qf-product-info__add:focus,
.qf-product-info__add:focus-visible,
.qf-product-info__add:active {
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border-color: var(--qf-bottega-color, #5C2E26) !important;
	opacity: 0.9;
	transform: none !important;
	scale: 1 !important;
	outline: none !important;
	box-shadow: none !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 24px !important;
	padding: 12px 28px !important;
	letter-spacing: 0.12px !important;
}
.qf-product-info__add svg {
	display: block;
	width: 20px;
	height: 20px;
	color: currentColor;
	flex-shrink: 0;
}
.qf-product-info__add svg path,
.qf-product-info__add svg circle,
.qf-product-info__add svg line {
	stroke: currentColor;
	fill: none;
}
/* Stato "disabilitato" tramite aria-disabled (cliccabile per mostrare alert, non vero disabled HTML) */
.qf-product-info__add.is-disabled,
.qf-product-info__add[aria-disabled="true"] {
	background: #C7BDB6 !important;
	border-color: #C7BDB6 !important;
	color: #FFFFFF !important;
	cursor: not-allowed !important;
	opacity: 0.95;
}
.qf-product-info__add.is-disabled:hover,
.qf-product-info__add.is-disabled:focus,
.qf-product-info__add[aria-disabled="true"]:hover,
.qf-product-info__add[aria-disabled="true"]:focus {
	background: #C7BDB6 !important;
	border-color: #C7BDB6 !important;
	color: #FFFFFF !important;
}

/* ==========================================================================
   PRODOTTI CORRELATI
   ========================================================================== */
.qf-product-related {
	background: color-mix(in srgb, var(--qf-bottega-color, #5C2E26) 10%, #FFFFFF);
	padding: 100px 0 100px;
}
.qf-product-related__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
}
.qf-product-related__head {
	margin-bottom: 60px;
	color: #FFFFFF;
}
.qf-product-related__eyebrow {
	margin: 0 0 5px;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	color: var(--qf-bottega-color, #5C2E26) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.qf-product-related__title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 72px;
	color: #12110F !important;
	letter-spacing: 0.12px;
}
.qf-product-related__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* Carousel layout — pattern uniforme alla home (grid 48px / 1fr / 48px) */
.qf-product-related__carousel {
	display: grid;
	grid-template-columns: 48px 1fr 48px;
	column-gap: 20px;
	align-items: center;
	position: relative;
}
.qf-product-related__carousel .qf-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	min-width: 0;
}
.qf-product-related__carousel .qf-carousel__viewport::-webkit-scrollbar {
	display: none;
}
.qf-product-related__carousel .qf-carousel__viewport--dragging {
	cursor: grabbing;
}
.qf-product-related__carousel .qf-carousel__track {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0 0 20px 0;
	list-style: none;
}
.qf-product-related__carousel .qf-product-card {
	flex: 0 0 calc((100% - 72px) / 4);
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/* Frecce (parte della grid, una in colonna 1 e una in colonna 3) */
.qf-product-related__carousel .qf-carousel__arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 150ms ease, color 150ms ease;
}
.qf-product-related__carousel .qf-carousel__arrow--prev {
	grid-column: 1;
	grid-row: 1;
	background: #FFFFFF !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
	border: 1px solid var(--qf-bottega-color, #5C2E26) !important;
}
.qf-product-related__carousel .qf-carousel__arrow--prev:hover:not(:disabled) {
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
}
.qf-product-related__carousel .qf-carousel__arrow--next {
	grid-column: 3;
	grid-row: 1;
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--qf-bottega-color, #5C2E26) !important;
}
.qf-product-related__carousel .qf-carousel__arrow--next:hover:not(:disabled) {
	background: #FFFFFF !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
}
.qf-product-related__carousel .qf-carousel__arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.qf-product-related__carousel .qf-carousel__arrow svg {
	width: 18px;
	height: 18px;
	display: block;
}
.qf-product-related__carousel .qf-carousel__arrow svg path {
	stroke: currentColor;
}

/* Dots */
.qf-product-related__carousel .qf-carousel__dots {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 80px;
}
.qf-product-related__carousel .qf-carousel__dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--qf-bottega-color, #5C2E26);
	opacity: 0.5;
	border: 0;
	padding: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: opacity 150ms ease;
}
.qf-product-related__carousel .qf-carousel__dot:hover {
	opacity: 1;
	background: var(--qf-bottega-color, #5C2E26);
	color: #FFFFFF;
}
.qf-product-related__carousel .qf-carousel__dot--active {
	opacity: 1;
}
.qf-product-related__carousel .qf-carousel__dot--active:hover {
	opacity: 1;
	background: var(--qf-bottega-color, #5C2E26);
	color: #FFFFFF;
}

/* Card prodotto reuses .qf-product-card from bottega.css if loaded.
   Otherwise minimal copy here for standalone use. */
.qf-product-related .qf-product-card {
	position: relative;
	background: #FFFFFF;
	border: 1px solid color-mix(in srgb, var(--qf-bottega-color, #5C2E26) 20%, transparent);
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 250ms ease, box-shadow 250ms ease;
}
.qf-product-related .qf-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.qf-product-related .qf-product-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 4px 8px;
	background: #CF2617;
	color: #FFFFFF;
	border-radius: 4px;
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
}
.qf-product-related .qf-product-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #F5F5F5;
}
.qf-product-related .qf-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}
.qf-product-related .qf-product-card:hover .qf-product-card__image img {
	transform: scale(1.04);
}
.qf-product-related .qf-product-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}
.qf-product-related .qf-product-card__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qf-product-related .qf-product-card__name {
	margin: 0;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-product-related .qf-product-card__cat {
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
}
.qf-product-related .qf-product-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: auto;
}
.qf-product-related .qf-product-card__price {
	display: flex;
	flex-direction: column;
}
.qf-product-related .qf-product-card__price-old {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #616161;
	text-decoration: line-through;
}
.qf-product-related .qf-product-card__price-now {
	font-weight: 700;
	font-size: 22px;
	line-height: 33px;
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-product-related .qf-product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 14px;
	border: 0;
	border-radius: 100px;
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	white-space: nowrap;
	flex-shrink: 0;
}
.qf-product-related .qf-product-card__btn svg {
	width: 24px;
	height: 24px;
}
.qf-product-related .qf-product-card__btn svg path {
	stroke: #FFFFFF;
}

/* ==========================================================================
   LAPTOP / TABLET — 992-1463
   ========================================================================== */
@media (max-width: 1463px) and (min-width: 992px) {
	.qf-product-vendor__inner,
	.qf-product-body__inner,
	.qf-product-related__inner {
		padding-left: 32px;
		padding-right: 32px;
	}
	.qf-product-info__name {
		font-size: 40px;
		line-height: 60px;
	}
}

/* ==========================================================================
   TABLET — 768-991
   ========================================================================== */
@media (max-width: 991px) and (min-width: 768px) {
	.qf-product-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.qf-product-related__carousel .qf-product-card {
		flex: 0 0 calc((100% - 24px) / 2);
	}
}

/* ==========================================================================
   MOBILE — fino a 767
   ========================================================================== */
@media (max-width: 804px) {
	/* Breadcrumb: mostra solo "Torna indietro" mobile */
	.qf-product-breadcrumb--desktop { display: none; }
	.qf-product-breadcrumb--mobile { display: block; padding: 16px 0 8px; }
	.qf-product-breadcrumb--mobile .qf-product-breadcrumb__inner {
		max-width: 100%;
		padding: 0 20px;
	}
	.qf-product-breadcrumb__back {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		color: #5C2E26;
		text-decoration: none;
		font-weight: 700;
		font-size: 16px;
		line-height: 24px;
	}
	.qf-product-breadcrumb__back:hover {
		color: #5C2E26;
		opacity: 0.85;
	}
	.qf-product-breadcrumb__back svg path {
		stroke: currentColor;
	}

	.qf-product-vendor {
		padding: 8px 0 20px;
	}
	.qf-product-vendor__inner {
		flex-direction: row;
		align-items: center;
		padding: 12px 16px 12px 16px;
		border-radius: 20px;
		gap: 12px;
		margin: 0 20px;
		max-width: calc(100% - 40px);
	}
	.qf-product-vendor__info {
		flex: 1;
		gap: 12px;
		min-width: 0;
	}
	.qf-product-vendor__icon {
		width: 40px;
		height: 40px;
	}
	.qf-product-vendor__icon svg {
		width: 20px;
		height: 20px;
	}
	.qf-product-vendor__text {
		display: flex;
		flex-direction: column;
		font-size: 14px;
		line-height: 20px;
	}
	.qf-product-vendor__text strong {
		margin-left: 0;
		font-size: 14px;
		line-height: 20px;
	}
	/* Bottone "Visita ›" mobile: link testo, no pillola */
	.qf-product-vendor__btn {
		background: transparent !important;
		color: #12110F !important;
		border: 0 !important;
		padding: 0 !important;
		min-height: 0;
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
		gap: 4px;
		flex-shrink: 0;
	}
	.qf-product-vendor__btn:hover,
	.qf-product-vendor__btn:focus,
	.qf-product-vendor__btn:active {
		background: transparent !important;
		color: var(--qf-bottega-color, #5C2E26) !important;
	}
	.qf-product-vendor__btn-rest {
		display: none;
	}
	.qf-product-vendor__btn-icon--desktop {
		display: none;
	}
	.qf-product-vendor__btn-icon--mobile {
		display: inline-block;
	}
	.qf-product-vendor__btn svg path {
		stroke: currentColor !important;
	}
	.qf-product-vendor__btn:hover svg path,
	.qf-product-vendor__btn:focus svg path,
	.qf-product-vendor__btn:active svg path {
		stroke: currentColor !important;
	}

	.qf-product-body {
		padding: 0 0 40px;
	}
	.qf-product-body__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 20px;
	}
	.qf-product-gallery {
		padding-top: 30px;
		gap: 0;
	}
	.qf-product-gallery__thumbs {
		gap: 8px;
		padding: 12px 0 0 16px;
	}
	.qf-product-gallery__thumb {
		width: 64px;
		height: 64px;
		max-width: 64px;
		flex: 0 0 64px;
		border: 2px solid #E3D4C6;
		padding: 2px;
	}
	.qf-product-gallery__thumb:hover {
		transform: none;
	}
	.qf-product-gallery__nav {
		width: 36px;
		height: 36px;
		box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	}

	.qf-product-info {
		gap: 30px;
	}
	.qf-product-info__tag + .qf-product-info__name {
		margin-top: -22px;
	}
	.qf-product-info__name + .qf-product-info__price {
		margin-top: -15px;
	}
	.qf-product .qf-product-info__name {
		font-size: 28px;
		line-height: 42px;
	}
	.qf-product-info__price-now {
		font-size: 28px;
		line-height: 42px;
	}
	.qf-product-info__collection {
		min-height: 0;
		height: 88px;
		border: 1px solid color-mix(in srgb, var(--qf-bottega-color, #5C2E26) 10%, transparent);
	}
	.qf-product-info__collection-icon {
		width: 44px;
		height: 44px;
	}
	.qf-product-info__collection-icon svg {
		width: 24px;
		height: 24px;
	}
	.qf-product-info__collection-text {
		gap: 5px;
	}
	.qf-product-info__collection-name {
		font-size: 20px;
		line-height: 30px;
	}
	.qf-product-info__desc {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-product-info__details {
		gap: 12px;
		padding-top: 0;
		padding-bottom: 0;
	}
	.qf-product-info__details-title {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-product-info__details-list li {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-product-info__details-list strong {
		font-weight: 600;
	}
	.qf-product-info__avail {
		gap: 24px;
	}
	.qf-product-info__avail strong {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-product-info__avail-badge {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-product-info__avail-badge.is-in {
		background: rgba(51, 121, 59, 0.05);
		border: 1px solid #33793B;
	}
	.qf-product-info__avail-dot {
		width: 8px;
		height: 8px;
	}
	.qf-product-info__actions {
		flex-direction: column;
	}
	.qf-product-info__qty-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
	.qf-product-info__qty-label {
		display: inline-block;
		font-family: "Inter", sans-serif;
		font-weight: 700;
		font-size: 18px;
		line-height: 27px;
		color: var(--qf-bottega-color, #5C2E26);
		letter-spacing: 0.12px;
	}
	.qf-product-info__qty {
		align-self: auto;
		width: 120px;
		height: 48px;
	}
	.qf-product-info__qty-btn {
		width: 40px;
		font-size: 18px;
	}
	.qf-product-info__qty-input {
		width: 40px;
		font-size: 16px;
		line-height: 24px;
		padding: 0 !important;
	}
	.qf-product-info__add {
		width: 100%;
		padding: 16px;
		font-size: 16px;
		line-height: 24px;
	}
	.qf-product-info__divider {
		margin: 0;
		border-top-color: #E3D4C6;
	}
	.qf-product-info__perks {
		padding-top: 0;
		padding-bottom: 40px;
	}
	.qf-product-info__perks li {
		font-size: 14px;
		line-height: 21px;
		color: #22286A;
	}

	.qf-product-related {
		padding: 60px 0;
	}
	.qf-product-related__inner {
		padding: 0 20px;
	}
	.qf-product-related__title {
		font-size: 32px;
		line-height: 48px;
	}
	.qf-product-related__head {
		margin-bottom: 32px;
	}
	.qf-product-related__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	/* Carosello mobile: 1 card per volta, frecce nascoste, swipe touch */
	.qf-product-related__carousel {
		grid-template-columns: 1fr;
		column-gap: 0;
	}
	.qf-product-related__carousel .qf-carousel__arrow {
		display: none !important;
	}
	.qf-product-related__carousel .qf-product-card {
		flex: 0 0 100%;
	}
	.qf-product-related__carousel .qf-carousel__track {
		gap: 16px;
	}
	.qf-product-related__carousel .qf-carousel__dots {
		margin-top: 32px;
	}
}
