/* ==========================================================================
   Quarto Fuoco — Pagina Bottega (listing)
   Desktop: Figma 192:516
   ========================================================================== */

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

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

/* ==========================================================================
   HERO
   ========================================================================== */
.qf-shop-hero__cover {
	position: relative;
	width: 100%;
	aspect-ratio: 1728 / 461;
	overflow: hidden;
	background: #E3D4C6;
}
.qf-shop-hero__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.qf-shop-hero__cover::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
	z-index: 1;
}
.qf-shop-hero__cover-inner { z-index: 2; }
.qf-shop-hero__cover-inner {
	position: absolute;
	inset: 0;
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 37px 24px;
}

/* Torna al Marketplace button */
.qf-shop-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #FFFFFF;
	border-radius: 49px;
	text-decoration: none;
	color: #5C2E26;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	transition: background-color 150ms ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.qf-shop-hero__back:hover {
	background: #F5F5F5;
	color: #5C2E26;
}
.qf-shop-hero__back svg {
	display: block;
	width: 16px;
	height: 16px;
}
.qf-shop-hero__back svg path {
	stroke: currentColor;
}

/* Hero body (logo + title) */
.qf-shop-hero__body {
	background: #FFFFFF;
	position: relative;
	padding: 0 0 44px;
	z-index: 9;
}
.qf-shop-hero__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 221px 1fr;
	gap: 22px;
	align-items: start;
}
.qf-shop-hero__logo {
	width: 221px;
	height: 221px;
	margin-top: -106px; /* lift half above cover */
	border-radius: 50%;
	background: #E3D4C6;
	border: 2px solid #FFFFFF;
	overflow: hidden;
	flex-shrink: 0;
	box-sizing: border-box;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.qf-shop-hero__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}
.qf-shop-hero__text {
	padding-top: 24px;
}
.qf-shop-hero__name {
	margin: 0 0 5px;
	font-weight: 700;
	font-size: 48px;
	line-height: 72px;
	color: var(--qf-bottega-color, #5C2E26);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.qf-shop-hero__tag {
	margin: 0;
	font-weight: 500;
	font-size: 22px;
	line-height: 33px;
	color: #12110F;
}

/* ==========================================================================
   TABS + SEARCH
   ========================================================================== */
.qf-shop-nav {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #FFFFFF;
}
.qf-shop-nav__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	min-height: 60px;
}
.qf-shop-tabs {
	display: flex;
	gap: 40px;
	overflow-x: auto;
	overflow-y: hidden;
	flex-wrap: nowrap;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}
.qf-shop-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.qf-shop-tabs__item {
	position: relative;
	padding: 0 0 8px;
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: #12110F;
	text-decoration: none;
	transition: color 150ms ease;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	flex: 0 0 auto;
}
.qf-shop-tabs__item.is-active {
	font-weight: 700;
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-shop-tabs__item.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--qf-bottega-color, #5C2E26);
}
.qf-shop-tabs__item:hover {
	color: var(--qf-bottega-color, #5C2E26);
}
/* Dashboard negozio (owner loggato): tabs più piccole di 3px per evitare l'accavallamento con 6 voci */
.qf-shop[data-owner="1"] .qf-shop-tabs__item {
	font-size: 17px;
	line-height: 26px;
}

/* Search */
.qf-shop-search {
	flex: 0 0 auto;
	width: 325px;
	max-width: 100%;
	height: 46px !important;
	min-height: 46px !important;
	max-height: 46px !important;
	border: 2px solid var(--qf-bottega-color, #5C2E26);
	border-radius: 60px;
	background: transparent;
	display: flex;
	align-items: center;
	padding: 0 5px 0 21px !important;
	box-sizing: border-box;
}
.qf-shop-search input,
.qf-shop-search input[type="search"] {
	flex: 1 1 auto !important;
	width: auto !important;
	height: 100% !important;
	min-width: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	line-height: 27px !important;
	color: #12110F !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}
.qf-shop-search input::placeholder {
	color: #12110F;
	opacity: 1;
}
.qf-shop-search__btn {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	max-width: 36px !important;
	max-height: 36px !important;
	padding: 0 !important;
	border: 0 !important;
	background: var(--qf-bottega-color, #5C2E26);
	background-color: var(--qf-bottega-color, #5C2E26);
	cursor: pointer;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	border-radius: 50% !important;
	aspect-ratio: 1 / 1;
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 150ms ease;
}
.qf-shop-search__btn,
.qf-shop-search__btn:hover,
.qf-shop-search__btn:active,
.qf-shop-search__btn:focus,
.qf-shop-search__btn:focus-visible {
	background: var(--qf-bottega-color, #5C2E26) !important;
	background-color: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	outline: none !important;
	box-shadow: none !important;
}
.qf-shop-search__btn:hover {
	opacity: 0.9;
}
.qf-shop-search__btn svg {
	display: block;
	width: 29px;
	height: 28px;
	padding: 0px !important;
	margin: auto;
}
.qf-shop-search__btn svg rect {
	display: none;
}
.qf-shop-search__btn svg path {
	stroke: #FFFFFF !important;
}

/* ==========================================================================
   CATALOG HEAD
   ========================================================================== */
.qf-shop-catalog-head {
	padding: 52px 0 0;
}
.qf-shop-catalog-head__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
}
.qf-shop-catalog-head__eyebrow {
	margin: 0 0 0;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	color: #12110F;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.qf-shop-catalog-head__title {
	margin: 0;
	font-weight: 700;
	font-size: 36px;
	line-height: 54px;
	color: var(--qf-bottega-color, #5C2E26);
}

/* ==========================================================================
   FILTERS
   ========================================================================== */
.qf-shop-filters {
	padding: 35px 0 40px;
}
.qf-shop-filters__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.qf-shop-filters__row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.qf-shop-filters__row--dropdowns {
	gap: 16px;
}
.qf-shop-filters__title {
	margin: 0;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: #12110F;
}

/* Dropdown wrapper (position per menu absolute) */
.qf-shop-filter-drop-wrap {
	position: relative;
}

/* Dropdown pill buttons */
.qf-shop button.qf-shop-filter-drop,
.qf-shop .qf-shop-filter-drop {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 10px 16px !important;
	border: 2px solid var(--qf-bottega-color, #5C2E26) !important;
	border-radius: 9999px !important;
	background: #FFFFFF !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 24px !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: background-color 150ms ease, color 150ms ease;
	white-space: nowrap;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
}
.qf-shop-filter-drop:hover,
.qf-shop-filter-drop.is-active,
.qf-shop-filter-drop[aria-expanded="true"],
.qf-shop button.qf-shop-filter-drop:hover,
.qf-shop button.qf-shop-filter-drop.is-active,
.qf-shop button.qf-shop-filter-drop[aria-expanded="true"] {
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	border-color: var(--qf-bottega-color, #5C2E26) !important;
}
.qf-shop-filter-drop.is-active:hover,
.qf-shop-filter-drop[aria-expanded="true"]:hover {
	opacity: 0.92;
}
.qf-shop-filter-drop__chevron {
	display: block;
	flex-shrink: 0;
}
.qf-shop-filter-drop__chevron path {
	stroke: currentColor;
}
.qf-shop-filter-drop__count[hidden] {
	display: none !important;
}
.qf-shop-filter-drop__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	color: #FFFFFF;
}
.qf-shop-filter-drop__chevron {
	transition: transform 180ms ease;
}
.qf-shop-filter-drop-wrap.is-open .qf-shop-filter-drop__chevron {
	transform: rotate(180deg);
}

/* Dropdown menu */
.qf-shop-filter-drop__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 10;
	min-width: 200px;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 280px;
	overflow-y: auto;
}
.qf-shop-filter-drop__menu[hidden] {
	display: none;
}
.qf-shop-filter-drop__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
	user-select: none;
	transition: background-color 120ms ease;
}
.qf-shop-filter-drop__opt:hover {
	background: #F5F5F5;
}
.qf-shop-filter-drop__opt input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--qf-bottega-color, #5C2E26);
	cursor: pointer;
}

/* Active filter row */
.qf-shop-filters__count {
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: #555555;
}
.qf-shop button.qf-shop-filters__chip,
.qf-shop a.qf-shop-filters__chip,
.qf-shop-filters__chip {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 16px !important;
	border: 1px solid var(--qf-bottega-color, #5C2E26) !important;
	border-radius: 9999px !important;
	background: #FFFFFF !important;
	color: var(--qf-bottega-color, #5C2E26) !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 16px;
	cursor: pointer;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	line-height: 24px;
	color: var(--qf-bottega-color, #5C2E26);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 150ms ease, color 150ms ease;
}
.qf-shop-filters__chip svg {
	display: block;
	width: 16px;
	height: 16px;
}
.qf-shop-filters__chip svg path {
	stroke: currentColor;
}
.qf-shop-filters__chip:hover,
.qf-shop button.qf-shop-filters__chip:hover {
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
}
.qf-shop button.qf-shop-filters__clear,
.qf-shop a.qf-shop-filters__clear,
.qf-shop-filters__clear {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	color: #313131 !important;
	cursor: pointer;
	text-decoration: underline !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}
.qf-shop-filters__clear:hover,
.qf-shop button.qf-shop-filters__clear:hover {
	color: var(--qf-bottega-color, #5C2E26) !important;
	background: transparent !important;
}
.qf-shop-filters__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */
.qf-shop-products {
	padding: 0 0 60px;
}
.qf-shop-products__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
}
.qf-shop-products__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.qf-shop-products__empty {
	padding: 60px 20px;
	text-align: center;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	color: #555555;
}

/* --------- CARD --------- */
.qf-product-card {
	position: relative;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 250ms ease, box-shadow 250ms ease;
}
.qf-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Saldo badge */
.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-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #F5F5F5;
	display: block;
	text-decoration: none;
}
.qf-product-card__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}
.qf-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}
.qf-product-card:hover .qf-product-card__image img {
	transform: scale(1.04);
}

.qf-product-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}
.qf-product-card__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qf-product-card__name {
	margin: 0;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-product-card__cat {
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
}

.qf-product-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: auto;
}
.qf-product-card__price {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}
.qf-product-card__price-old {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #616161;
	text-decoration: line-through;
}
.qf-product-card__price-now {
	font-weight: 700;
	font-size: 22px;
	line-height: 33px;
	color: var(--qf-bottega-color, #5C2E26);
}

.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);
	background-color: var(--qf-bottega-color, #5C2E26);
	color: #FFFFFF;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 150ms ease, transform 150ms ease;
	white-space: nowrap;
	flex-shrink: 0;
}
.qf-product-card__btn,
.qf-product-card__btn:hover,
.qf-product-card__btn:active,
.qf-product-card__btn:focus,
.qf-product-card__btn:focus-visible {
	background: var(--qf-bottega-color, #5C2E26) !important;
	background-color: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	outline: none !important;
	box-shadow: none !important;
}
.qf-product-card__btn:hover {
	opacity: 0.9;
}
.qf-product-card__btn:active {
	transform: scale(0.97);
}
.qf-product-card__btn svg {
	display: block;
	width: 24px;
	height: 24px;
	color: #FFFFFF;
}
.qf-product-card__btn svg path {
	stroke: #FFFFFF;
}

/* ==========================================================================
   CHI SIAMO TAB
   ========================================================================== */
.qf-shop-about {
	padding: 60px 0 30px;
}
.qf-shop-about__inner {
	max-width: 1016px; /* 968 content + 24*2 padding */
	margin: 0 auto;
	padding: 0 24px;
}
.qf-shop-about__title {
	margin: 0 0 20px;
	font-weight: 700;
	font-size: 36px;
	line-height: 54px;
	letter-spacing: 0.12px;
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-shop-about__body {
	margin: 0;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: #12110F;
	white-space: pre-line;
}

.qf-shop-about-gallery {
	padding: 30px 0 60px;
}
.qf-shop-about-gallery__inner {
	max-width: 1266px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.qf-shop-about-gallery__item {
	width: 100%;
	aspect-ratio: 390 / 392;
	border-radius: 20px;
	overflow: hidden;
	background: #E3D4C6;
}
.qf-shop-about-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Info cards (Dove Siamo / Orari Bottega / Social) — Figma 192:856 */
.qf-shop-info {
	padding: 30px 0 60px;
}
.qf-shop-info__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.qf-shop-info__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.qf-shop-info__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--qf-bottega-color, #5C2E26) 8%, transparent);
	color: var(--qf-bottega-color, #5C2E26);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.qf-shop-info__icon svg {
	display: block;
	width: 24px;
	height: 24px;
}
.qf-shop-info__icon svg path,
.qf-shop-info__icon svg circle {
	stroke: currentColor;
}
.qf-shop-info__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qf-shop-info__text h3 {
	margin: 0;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0.12px;
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-shop-info__text p,
.qf-shop-info__text p.muel-editable,
.qf-shop-info__text [contenteditable] {
	margin: 0;
	font-weight: 400;
	font-size: 16px !important;
	letter-spacing: 0.12px;
	color: #4E4C48;
}
.qf-shop-info__socials input,
.qf-shop-info__socials a {
	font-size: 16px !important;
	line-height: 24px !important;
}
.qf-shop-info__text a {
	color: inherit;
	text-decoration: none;
}
.qf-shop-info__text a:hover {
	color: var(--qf-bottega-color, #5C2E26);
}
.qf-shop-info__socials {
	display: flex;
	gap: 8px;
}
.qf-shop-info__socials--edit {
	flex-direction: column;
	gap: 10px;
}
.muel-social-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.muel-social-row__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(34, 40, 106, 0.08);
	color: var(--qf-bottega-color, #22286A);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.muel-social-row__icon svg { width: 18px; height: 18px; }
.muel-social-row__icon svg path {
}
.muel-social-input {
	flex: 1;
	height: 40px;
	padding: 0 14px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	color: #12110F;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.muel-social-input:focus {
	outline: none;
	border-color: var(--qf-bottega-color, #22286A);
	box-shadow: 0 0 0 3px rgba(34, 40, 106, 0.08);
}
.muel-social-input::placeholder { color: rgba(0, 0, 0, 0.4); }
.qf-shop-info__socials a,
.qf-shop-info__socials a:hover,
.qf-shop-info__socials a:active,
.qf-shop-info__socials a:focus,
.qf-shop-info__socials a:focus-visible {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--qf-bottega-color, #5C2E26) !important;
	color: #FFFFFF !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	transform: none !important;
	transition: none !important;
}
.qf-shop-info__socials svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: #fff;
}

/* ==========================================================================
   LAPTOP / TABLET — 992-1463
   ========================================================================== */
@media (max-width: 1463px) and (min-width: 992px) {
	.qf-shop-hero__cover-inner,
	.qf-shop-hero__inner,
	.qf-shop-nav__inner,
	.qf-shop-catalog-head__inner,
	.qf-shop-filters__inner,
	.qf-shop-products__inner,
	.qf-shop-about__inner,
	.qf-shop-about-gallery__inner,
	.qf-shop-info__inner {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* Tablet 768-991: 3 col grid */
@media (max-width: 991px) and (min-width: 768px) {
	.qf-shop-products__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Mobile small: 2 col */
@media (max-width: 804px) {
	.qf-shop-products__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

/* ==========================================================================
   MOBILE — fino a 991px
   ========================================================================== */
/* ==========================================================================
   MOBILE NEGOZIO — Figma 192:1968 (lista prodotti) + 192:2139 (chi siamo)
   ========================================================================== */
@media (max-width: 991px) {
	/* HERO: cover 402×268, logo 171 circle, name + subtitle Epilogue brand */
	.qf-shop-hero__cover {
		aspect-ratio: 402 / 268;
	}
	.qf-shop-hero__cover-inner {
		padding: 16px 20px;
	}
	.qf-shop-hero__back {
		padding: 10px;
		gap: 8px;
		font-size: 14px;
		border-radius: 49px;
	}
	.qf-shop-hero__body {
		padding: 0 0 32px;
	}
	.qf-shop-hero__inner {
		grid-template-columns: 1fr;
		padding: 0 20px;
		gap: 5px;
		text-align: center;
		justify-items: center;
	}
	.qf-shop-hero__logo {
		width: 171px;
		height: 171px;
		margin-top: -85px;
		border-width: 2px;
	}
	.qf-shop-hero__text {
		padding-top: 0;
		gap: 5px;
	}
	.qf-shop-hero__name {
		font-family: 'Epilogue', 'Inter', sans-serif;
		font-weight: 700;
		font-size: 32px;
		line-height: 48px;
		letter-spacing: 0.12px;
		color: var(--qf-bottega-color, #22286A);
	}
	.qf-shop-hero__tag {
		font-weight: 500;
		font-size: 18px;
		line-height: 27px;
		letter-spacing: 0.12px;
		color: #12110F;
	}

	/* NAV (search + tabs) impilati */
	.qf-shop-nav__inner {
		padding: 16px 20px 0px;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}
	.qf-shop-search {
		order: 1;
		width: 100%;
		height: 46px;
		border-radius: 60px;
	}
	.qf-shop-search input,
	.qf-shop-search input[type="search"] {
		font-size: 16px;
	}
	.qf-shop-tabs {
		order: 2;
		gap: 30px;
		justify-content: flex-start;
		padding: 0 10px 0px;
		margin: 0;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
	}
	.qf-shop-tabs::-webkit-scrollbar { display: none; }
	.qf-shop-tabs__item {
		font-weight: 500;
		font-size: 18px;
		line-height: 27px;
		letter-spacing: 0.12px;
		text-transform: uppercase;
		color: #12110F;
		white-space: nowrap;
		flex-shrink: 0;
		scroll-snap-align: start;
	}
	.qf-shop-tabs__item.is-active {
		font-weight: 700;
	}
	.qf-shop-tabs__item.is-active::after {
		height: 3px;
		background: var(--qf-bottega-color, #22286A);
	}
	/* Dashboard negozio (owner loggato): tabs più piccole anche su mobile */
	.qf-shop[data-owner="1"] .qf-shop-tabs__item {
		font-size: 15px;
		line-height: 23px;
	}

	/* CATALOG HEAD: eyebrow + title brand */
	.qf-shop-catalog-head {
		padding: 32px 0 0;
	}
	.qf-shop-catalog-head__inner {
		padding: 0 20px;
		gap: 8px;
	}
	.qf-shop-catalog-head__eyebrow,
	.qf-shop-catalog-head__label {
		font-weight: 700;
		font-size: 16px;
		line-height: 24px;
		letter-spacing: 0.12px;
		text-transform: uppercase;
		color: #12110F;
	}
	.qf-shop-catalog-head__title {
		font-weight: 700;
		font-size: 28px;
		line-height: 42px;
		letter-spacing: 0.12px;
		color: var(--qf-bottega-color, #22286A);
	}

	/* FILTRI: chip pill 100px, brand border 1px, padding 10/14 */
	.qf-shop-filters {
		padding: 24px 0 32px;
	}
	.qf-shop-filters__inner {
		padding: 0 20px;
		gap: 16px;
	}
	.qf-shop-filters__row {
		gap: 8px;
	}
	.qf-shop-filters__title {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-shop-filter-drop {
		padding: 10px 14px;
		border-width: 1px;
		font-size: 16px;
		line-height: 24px;
		gap: 8px;
	}
	.qf-shop-filter-drop__count {
		width: 20px;
		height: 20px;
		font-size: 14px;
	}
	.qf-shop-filters__chip {
		padding: 10px 14px;
		font-size: 16px;
		line-height: 24px;
	}
	.qf-shop-filters__count {
		font-size: 14px;
		line-height: 21px;
		color: #565656;
	}
	.qf-shop-filters__clear {
		margin-left: 0;
		order: 10;
		font-size: 16px;
		color: #323232;
	}

	/* PRODUCTS LIST: 2-col, card border morbido, body 16px, btn pill compatto */
	.qf-shop-products {
		padding: 0 0 40px;
	}
	.qf-shop-products__inner {
		padding: 0 20px;
	}
	.qf-shop-products__grid {
		gap: 20px;
	}
	.qf-product-card {
		border: 1px solid #E3D4C6;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	}
	.qf-product-card__body {
		padding: 16px;
		gap: 10px;
	}
	.qf-product-card__info {
		gap: 10px;
	}
	.qf-product-card__name {
		font-weight: 700;
		font-size: 20px;
		line-height: 30px;
		letter-spacing: 0.12px;
	}
	.qf-product-card__cat {
		font-size: 16px;
		line-height: 24px;
		color: #12110F;
	}
	.qf-product-card__price-now {
		font-size: 22px;
		line-height: 33px;
	}
	.qf-product-card__price-old {
		font-size: 14px;
		line-height: 21px;
	}
	.qf-product-card__foot {
		gap: 10px;
	}
	.qf-product-card__btn {
		padding: 11px 14px;
		font-size: 16px;
		line-height: 24px;
		gap: 12px;
		border-radius: 100px;
	}
	/* In 2-col stretto, nascondo il testo del bottone per compattezza */
	.qf-product-card__btn span {
		display: none;
	}
}

/* Tablet 768-991 va in 3 col, sotto 768 = 2 col (definito sopra) */
@media (max-width: 991px) and (min-width: 768px) {
	.qf-product-card__btn span {
		display: inline;
	}
}

/* Mobile piccolissimo: ulteriore stretta su padding */
@media (max-width: 360px) {
	.qf-product-card__body {
		padding: 12px;
	}
	.qf-product-card__name {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-product-card__price-now {
		font-size: 20px;
		line-height: 30px;
	}
}

/* ==========================================================================
   CHI SIAMO MOBILE (Figma 192:2139)
   ========================================================================== */
@media (max-width: 991px) {
	/* Chi siamo mobile (Figma 192:2139) — Frame 7 */
	.qf-shop-about {
		padding: 0 0 40px;
	}
	.qf-shop-about__inner {
		padding: 40px 20px 0px;
		max-width: 100%;
	}
	.qf-shop-about__title {
		font-size: 28px;
		line-height: 42px;
		letter-spacing: 0.12px;
		margin-bottom: 20px;
	}
	.qf-shop-about__body {
		font-size: 18px;
		line-height: 27px;
		letter-spacing: 0.12px;
	}

	/* Gallery — Frame 37 */
	.qf-shop-about-gallery {
		padding: 0 0 40px;
	}
	.qf-shop-about-gallery__inner {
		padding: 0 20px;
		max-width: 100%;
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.qf-shop-about-gallery__item {
		aspect-ratio: 362 / 364;
	}

	/* Info cards — Frame 36 */
	.qf-shop-info {
		padding: 30px 0 60px;
	}
	.qf-shop-info__inner {
		padding: 0 20px;
		max-width: 100%;
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.qf-shop-info__icon {
		width: 48px;
		height: 48px;
	}
	.qf-shop-info__text h3 {
		font-size: 18px;
		line-height: 27px;
	}
	.qf-shop-info__text p {
		font-size: 18px;
		line-height: 27px;
	}
}
