/* Quintal Mineiro — Home nova (linguagem da landing do Tender) */
.qmh {
	--kraft: #E8D6B8;
	--papel: #FFFDF8;
	--vinho: #7E0700;
	--vinho-9: #560400;
	--vinho-95: #2A0400;
	--mostarda: #F3BE00;
	--tinta: #2B1B17;
	--tinta-2: #5E4B45;
	--linha: #CDBBA6;
	--pad: clamp(16px, 4vw, 56px);
	color: var(--tinta);
	font: 400 17px/1.55 'Source Sans 3', 'Source Sans Pro', sans-serif;
	overflow-x: clip;
	width: 100%;
}
.qmh *, .qmh *::before, .qmh *::after { box-sizing: border-box; }
.qmh :where(h1, h2, h3, p, ol, ul, li, figure, blockquote, cite) { margin: 0; padding: 0; }
.qmh img { display: block; max-width: 100%; height: auto; }
.qmh a { text-decoration: none; }
.qmh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.qmh-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

/* papel kraft: fibras finas, sem imagem */
.qmh-kraft { position: relative; background: var(--kraft); }
.qmh-kraft::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; background:
	repeating-linear-gradient(83deg, transparent 0 3px, rgba(120, 80, 30, .07) 3px 4px),
	repeating-linear-gradient(-11deg, transparent 0 7px, rgba(255, 255, 255, .18) 7px 8px); }
.qmh-kraft > * { position: relative; }
.qmh-papel { background: var(--papel); }

.qmh-rotulo { font: 800 12px Montserrat, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--vinho); }
.qmh-titulo { font: 900 clamp(32px, 4.2vw, 58px)/1 Montserrat, sans-serif; letter-spacing: -.03em; color: var(--vinho); margin-top: 12px; }
.qmh-lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--tinta-2); max-width: 46ch; }

.qmh-cta { display: inline-block; text-align: center; background: var(--vinho); color: #fff !important; font: 800 14px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 18px 30px; border-radius: 4px; transition: background .2s, transform .2s; }
.qmh-cta:hover { background: var(--vinho-9); transform: translateY(-1px); }
.qmh-link { display: inline-flex; align-items: center; gap: 8px; color: var(--vinho) !important; font: 800 13px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.qmh-link svg { transition: transform .2s; }
.qmh-link:hover svg, a:hover > .qmh-link svg, .qmh-lado:hover .qmh-link svg { transform: translateX(4px); }

/* revelação suave */
.qmh-revela { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.qmh-revela.is-visivel { opacity: 1; transform: none; }
.qmh-sem-js .qmh-revela { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.qmh-revela { opacity: 1; transform: none; transition: none; }
}

/* ---------- seções ---------- */
.qmh-sec { padding: clamp(72px, 9vw, 110px) 0; }
.qmh-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* ---------- vitrines ---------- */
.qmh-vitrine { contain: paint; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.qmh-prod { position: relative; display: flex; flex-direction: column; background: #fff; box-shadow: 0 1px 0 var(--linha), 0 18px 30px -24px rgba(43, 27, 23, .45); transition: transform .25s, box-shadow .25s; }
.qmh-kraft .qmh-prod { background: var(--papel); }
.qmh-prod:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--linha), 0 26px 40px -24px rgba(43, 27, 23, .55); }
.qmh-prod__img { position: relative; display: block; aspect-ratio: 1; background: #F6F1E8; overflow: hidden; }
.qmh-prod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; transition: transform .4s; }
.qmh-prod:hover .qmh-prod__img img { transform: scale(1.04); }
.qmh-prod__selo { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--mostarda); color: var(--vinho-95); font: 800 11px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; }
.qmh-prod__info { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 12px; flex: 1; border-top: 1px dashed var(--linha); }
.qmh-prod__cat { font: 700 11px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); }
.qmh-prod__nome { color: var(--tinta) !important; font: 700 15px/1.3 Montserrat, sans-serif; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qmh-prod__nome:hover { color: var(--vinho) !important; }
.qmh-prod__preco { margin-top: auto; padding-top: 6px; font: 800 18px Montserrat, sans-serif; color: var(--vinho); }
.qmh-prod__preco del { color: var(--tinta-2); font-size: 13px; font-weight: 600; margin-right: 6px; }
.qmh-prod__preco ins { text-decoration: none; }
.qmh .qmh-prod__btn { display: block; margin: 0 16px 16px !important; text-align: center; background: transparent !important; color: var(--vinho) !important; border: 1.5px solid var(--vinho) !important; border-radius: 4px !important; font: 800 12px Montserrat, sans-serif !important; letter-spacing: .1em; text-transform: uppercase; padding: 11px 10px !important; line-height: 1.2 !important; transition: background .2s, color .2s; }
.qmh .qmh-prod__btn:hover, .qmh .qmh-prod__btn.added { background: var(--vinho) !important; color: #fff !important; }
.qmh .qmh-prod__btn.loading { opacity: .6; }
.qmh .added_to_cart { display: block; text-align: center; margin: -8px 16px 14px; font: 700 12px Montserrat, sans-serif; color: var(--vinho); text-decoration: underline; }


/* ---------- 7. RECEBER / FATIAR ---------- */
.qmh-par { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--papel); box-shadow: 0 30px 50px -30px rgba(43, 27, 23, .45); }
.qmh-lado { display: flex; flex-direction: column; color: var(--tinta) !important; }
.qmh-lado + .qmh-lado { border-left: 2px dashed var(--linha); }
.qmh-lado__foto { aspect-ratio: 16 / 10; overflow: hidden; }
.qmh-lado__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.qmh-lado:hover .qmh-lado__foto img { transform: scale(1.04); }
.qmh-lado__txt { padding: 34px 36px 38px; }
.qmh-tag { display: inline-block; font: 800 11px Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; background: var(--mostarda); color: var(--vinho-95); padding: 5px 10px; margin-bottom: 14px; }
.qmh-lado h3 { font: 900 clamp(26px, 2.6vw, 34px)/1.05 Montserrat, sans-serif; color: var(--vinho); letter-spacing: -.02em; }
.qmh-lado p { color: var(--tinta-2); margin: 12px 0 22px; max-width: 40ch; }

/* ---------- 9. ENTREGA ---------- */
.qmh-entrega { background: var(--vinho); color: #fff; padding: clamp(84px, 10vw, 110px) 0; }
.qmh-entrega .qmh-rotulo { color: var(--mostarda); }
.qmh-entrega .qmh-titulo { color: #fff; }
.qmh-trilha { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; position: relative; }
.qmh-trilha::before { content: ''; position: absolute; left: 4%; right: 4%; top: 31px; border-top: 2px dashed rgba(255, 255, 255, .3); }
.qmh-trilha li { position: relative; padding-right: 28px; }
.qmh-trilha b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mostarda); color: var(--vinho-95); margin-bottom: 22px; box-shadow: 0 0 0 8px var(--vinho); }
.qmh-trilha b svg { width: 26px; height: 26px; }
.qmh-trilha strong { display: block; font: 900 22px Montserrat, sans-serif; letter-spacing: -.01em; margin-bottom: 8px; }
.qmh-trilha span { color: #F1E4D0; max-width: 32ch; display: block; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
	.qmh-vitrine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.qmh-par { grid-template-columns: minmax(0, 1fr); }
	.qmh-lado + .qmh-lado { border-left: 0; border-top: 2px dashed var(--linha); }
	.qmh-trilha { grid-template-columns: 1fr; gap: 32px; }
	.qmh-trilha::before { left: 31px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .3); }
	.qmh-trilha li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 0; }
	.qmh-trilha b { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
	.qmh { font-size: 16px; }
	.qmh-cab { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
	.qmh-vitrine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
	.qmh-prod:nth-child(n+7) { display: none; }
	.qmh-prod__info { padding: 12px 12px 10px; }
	.qmh-prod__nome { font-size: 14px; }
	.qmh-prod__preco { font-size: 15px; line-height: 1.25; }
	.qmh .qmh-prod__btn { margin: 0 10px 12px !important; padding: 10px 6px !important; font-size: 11px !important; letter-spacing: .06em; }
	.qmh-lado__txt { padding: 26px 22px 30px; }
}

/* ---------- dentro da home do Elementor ---------- */
.qmh-el > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; }
.qmh-el .elementor-widget-shortcode, .qmh-el .elementor-shortcode { margin: 0 !important; }
.qmh-vit-w { margin: 18px 0 26px !important; }
.qmh-vit-w .qmh { overflow: visible; }
.qmh-vit-w .qmh-vitrine { contain: none; padding: 6px 0 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
@media (max-width: 1024px) { .qmh-vit-w .qmh-vitrine { grid-template-columns: repeat(3, minmax(0, 1fr)); } .qmh-vit-w .qmh-prod:nth-child(n+10) { display: none; } }
@media (max-width: 640px) { .qmh-vit-w .qmh-vitrine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; } .qmh-vit-w .qmh-prod:nth-child(n+7) { display: none; } }
.qmh-vit--ofertas:not(:has(.qmh-prod)), .qmh-vit--selecao:not(:has(.qmh-prod)) { display: none !important; }
@media (max-width: 1024px) { .qmh-vit--selecao .qmh-prod:nth-child(n+4) { display: none; } }
@media (max-width: 640px) { .qmh-vit--selecao .qmh-prod:nth-child(n+4) { display: flex; } .qmh-vit--selecao .qmh-prod:nth-child(n+5) { display: none; } }

/* banners: a fonte da landing do Tender */
.qmh-hero .qm-banner-titulo .elementor-heading-title { font-family: Montserrat, sans-serif !important; font-weight: 900 !important; font-size: clamp(34px, 4.3vw, 60px) !important; line-height: 1 !important; letter-spacing: -.035em !important; max-width: 14ch; margin: 14px 0 10px !important; }
.qmh-hero .qm-eyebrow .elementor-heading-title { font-family: Montserrat, sans-serif !important; font-weight: 800 !important; letter-spacing: .18em !important; }
.qmh-hero .qm-lead, .qmh-hero .qm-lead p { font-size: clamp(17px, 1.3vw, 19px) !important; max-width: 44ch; }
@media (max-width: 767px) {
	.qmh-hero .qm-banner-titulo .elementor-heading-title { font-size: 32px !important; max-width: none; }
}
