/*
 * VDF BR Product — mobile-first PDP CSS
 * Reset 2026-04-24. Sem legado. Tokens: navy/gold/cream.
 */

:root {
	--gloow-navy: #1E3A5F;
	--gloow-gold: #C9A961;
	--gloow-gold-dk: #A88A49;
	--gloow-cream: #F5F1E8;
	--gloow-white: #FFFFFF;
	--gloow-green: #16A34A;
	--gloow-green-bg: #DCFCE7;
	--gloow-g600: #6B7280;
	--gloow-g400: #9CA3AF;
	--gloow-g200: #E5E7EB;
	--gloow-g100: #F3F4F6;
	--gloow-g900: #111827;
	--gloow-radius: 6px;
	--gloow-shadow: 0 1px 2px rgba(17,24,39,.05), 0 2px 8px rgba(30,58,95,.08);
	--gloow-ff-display: 'Playfair Display', Georgia, serif;
	--gloow-ff-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Resets PDP scope */
.gloow-pdp * { box-sizing: border-box; }
.gloow-pdp { font-family: var(--gloow-ff-text); color: var(--gloow-g900); line-height: 1.5; }
.gloow-pdp img { max-width: 100%; height: auto; display: block; }
.gloow-pdp a { color: var(--gloow-navy); text-decoration: none; }
.gloow-pdp a:hover { text-decoration: underline; }

.gloow-pdp__wrap { max-width: 860px; margin: 0 auto; padding: 0 16px 120px; }

/* 02. GALLERY */
.gloow-gallery { position: relative; margin: 0 -16px 16px; background: var(--gloow-g100); }
.gloow-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.gloow-gallery__track::-webkit-scrollbar { display: none; }
.gloow-gallery__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gloow-white);
}
.gloow-gallery__slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gloow-gallery__dots {
	display: flex;
	gap: 6px;
	justify-content: center;
	padding: 10px 0;
	background: var(--gloow-white);
}
.gloow-gallery__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	border: 0;
	background: var(--gloow-g200);
	padding: 0;
	cursor: pointer;
}
.gloow-gallery__dot.is-active { background: var(--gloow-navy); }
.gloow-gallery--empty { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; color: var(--gloow-g600); }

/* 03. TITLE */
.gloow-title {
	font-family: var(--gloow-ff-display);
	font-size: 24px;
	font-weight: 700;
	color: var(--gloow-navy);
	margin: 0 0 8px;
	line-height: 1.2;
}

/* 04. RATING */
.gloow-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	margin: 0 0 16px;
	color: var(--gloow-g600);
}
.gloow-rating:hover { text-decoration: none; }
.gloow-rating__stars { color: var(--gloow-gold); letter-spacing: 1px; font-size: 15px; }
.gloow-rating__half { position: relative; display: inline-block; }
.gloow-rating__value { color: var(--gloow-g900); font-weight: 600; }
.gloow-rating__label { color: var(--gloow-g600); }

/* 05. PRICE */
.gloow-price-block { margin: 0 0 20px; }
.gloow-price-block__from { font-size: 13px; color: var(--gloow-g600); margin-bottom: 2px; }
.gloow-price-block__main {
	font-family: var(--gloow-ff-display);
	font-size: 36px;
	font-weight: 700;
	color: var(--gloow-navy);
	line-height: 1.1;
	margin-bottom: 8px;
}
.gloow-price-block__pix {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--gloow-green-bg);
	color: var(--gloow-green);
	font-size: 14px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 6px;
}
.gloow-price-block__pix-ico { color: var(--gloow-green); }
.gloow-price-block__pix-off { font-weight: 700; }
.gloow-price-block__inst { font-size: 13px; color: var(--gloow-g600); }

/* 06. ATC */
.gloow-atc-form { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; }
.gloow-atc-form .quantity { display: flex; align-items: center; }
.gloow-atc-form .quantity label { display: none; }
.gloow-atc-form .quantity input.qty {
	width: 72px;
	height: 48px;
	border: 1px solid var(--gloow-g200);
	border-radius: var(--gloow-radius);
	text-align: center;
	font-size: 16px;
	padding: 0 8px;
}
.gloow-atc {
	display: block;
	width: 100%;
	min-height: 52px;
	background: var(--gloow-gold);
	color: var(--gloow-navy);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 0;
	border-radius: var(--gloow-radius);
	cursor: pointer;
	box-shadow: var(--gloow-shadow);
	transition: background .15s ease;
}
.gloow-atc:hover { background: var(--gloow-gold-dk); }
.gloow-atc:active { transform: translateY(1px); }

/* 07. CEP + Frete grátis */
.gloow-cep {
	background: var(--gloow-g100);
	border-radius: var(--gloow-radius);
	padding: 12px;
	margin: 0 0 20px;
}
.gloow-cep__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gloow-g900); }
.gloow-cep__row { display: flex; gap: 8px; }
.gloow-cep__freegift {
	margin-bottom: 12px;
	padding: 10px 12px;
	background: rgba(201,169,97,0.10);
	border: 1px solid var(--gloow-gold);
	border-radius: var(--gloow-radius);
	font-size: 13px;
	color: var(--gloow-g900);
	line-height: 1.4;
}
.gloow-cep__freegift strong { color: var(--gloow-navy); font-weight: 700; }
.gloow-cep__freegift-text { margin-bottom: 6px; }
.gloow-cep__freegift-bar {
	height: 6px;
	background: rgba(201,169,97,0.2);
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}
.gloow-cep__freegift-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--gloow-gold), #e0c178);
	border-radius: 999px;
	transition: width 400ms ease;
}
.gloow-cep__freegift--reached {
	background: rgba(22,163,74,0.10);
	border-color: var(--gloow-green);
	color: var(--gloow-g900);
}
.gloow-cep__freegift--reached strong { color: var(--gloow-green); }
.gloow-cep__input {
	flex: 1;
	height: 44px;
	border: 1px solid var(--gloow-g200);
	border-radius: var(--gloow-radius);
	padding: 0 12px;
	font-size: 15px;
	background: #fff;
}
.gloow-cep__btn {
	height: 44px;
	padding: 0 18px;
	background: var(--gloow-navy);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	border: 0;
	border-radius: var(--gloow-radius);
	cursor: pointer;
}
.gloow-cep__btn:hover { background: #17304F; }
.gloow-cep__result { font-size: 13px; color: var(--gloow-g900); margin-top: 8px; min-height: 18px; }
.gloow-cep__result .gloow-cep__free { color: var(--gloow-green); font-weight: 700; }

/* 09. TRUST (3 itens) */
.gloow-trust {
	list-style: none;
	padding: 12px;
	margin: 0 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 8px;
	background: var(--gloow-cream);
	border-radius: var(--gloow-radius);
}
.gloow-trust__item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.gloow-trust__ico { font-size: 18px; }
.gloow-trust__txt { font-size: 12px; color: var(--gloow-g900); font-weight: 500; line-height: 1.3; }

/* 10. DESCRIPTION */
.gloow-description { margin: 0 0 28px; }
.gloow-description__title {
	font-family: var(--gloow-ff-display);
	font-size: 20px;
	color: var(--gloow-navy);
	margin: 0 0 10px;
	font-weight: 700;
}
.gloow-description__short { font-size: 15px; color: var(--gloow-g900); margin-bottom: 10px; font-weight: 500; }
.gloow-description__short ul, .gloow-description__full ul { padding-left: 18px; margin: 8px 0; }
.gloow-description__short li, .gloow-description__full li { margin-bottom: 4px; }
.gloow-description__full { font-size: 14px; color: var(--gloow-g600); line-height: 1.6; }

/* 11. REVIEWS */
.gloow-reviews { margin: 0 0 28px; }
.gloow-reviews__title {
	font-family: var(--gloow-ff-display);
	font-size: 20px;
	color: var(--gloow-navy);
	margin: 0 0 4px;
	font-weight: 700;
}
.gloow-reviews__count {
	font-size: 13px;
	color: var(--gloow-g600);
	margin-bottom: 12px;
}
.gloow-reviews__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gloow-reviews__pager {
	display: flex;
	gap: 6px;
	margin-top: 16px;
	justify-content: center;
}
.gloow-reviews__pager-btn {
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--gloow-g200);
	background: #fff;
	color: var(--gloow-navy);
	border-radius: var(--gloow-radius);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.gloow-reviews__pager-btn:hover { background: var(--gloow-g100); border-color: var(--gloow-gold); }
.gloow-reviews__pager-btn.is-active { background: var(--gloow-navy); color: #fff; border-color: var(--gloow-navy); }
.gloow-reviews__card {
	background: #fff;
	border: 1px solid var(--gloow-g200);
	border-radius: var(--gloow-radius);
	padding: 12px;
	box-shadow: var(--gloow-shadow);
}
.gloow-reviews__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 8px; }
.gloow-reviews__who { font-weight: 600; font-size: 14px; color: var(--gloow-g900); }
.gloow-reviews__when { font-size: 12px; color: var(--gloow-g600); }
.gloow-reviews__stars { color: var(--gloow-gold); font-size: 14px; margin-bottom: 6px; letter-spacing: 1px; }
.gloow-reviews__text { font-size: 14px; color: var(--gloow-g900); margin: 0 0 8px; line-height: 1.5; }
.gloow-reviews__verified {
	display: inline-block;
	background: var(--gloow-g100);
	color: var(--gloow-g600);
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 999px;
}

/* 12. BUNDLE */
.gloow-bundle {
	margin: 0 0 28px;
	padding: 16px;
	background: var(--gloow-cream);
	border-radius: var(--gloow-radius);
	border: 1px dashed var(--gloow-gold);
}
.gloow-bundle__title {
	font-family: var(--gloow-ff-display);
	font-size: 18px;
	color: var(--gloow-navy);
	margin: 0 0 12px;
	font-weight: 700;
}
.gloow-bundle__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	gap: 8px;
	margin-bottom: 14px;
}
.gloow-bundle__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gloow-g200);
	border-radius: var(--gloow-radius);
	overflow: hidden;
	text-decoration: none !important;
	color: var(--gloow-g900);
	position: relative;
}
.gloow-bundle__card:hover { border-color: var(--gloow-gold); }
.gloow-bundle__card.is-current { border-color: var(--gloow-gold); background: rgba(201,169,97,0.05); }
.gloow-bundle__card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--gloow-cream); }
.gloow-bundle__name { display: block; font-size: 13px; font-weight: 500; color: var(--gloow-navy); padding: 8px 10px 2px; line-height: 1.3; }
.gloow-bundle__price { display: block; font-size: 15px; font-weight: 700; color: var(--gloow-navy); padding: 2px 10px 10px; margin-top: auto; }
.gloow-bundle__tag {
	position: absolute;
	top: 6px;
	left: 6px;
	background: var(--gloow-gold);
	color: var(--gloow-navy);
	font-size: 10px;
	font-weight: 700;
	padding: 3px 6px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.gloow-bundle__plus {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	color: var(--gloow-gold);
	padding: 0 4px;
}
.gloow-bundle__total {
	font-size: 14px;
	color: var(--gloow-g600);
	margin-bottom: 12px;
	text-align: center;
}
.gloow-bundle__total strong { color: var(--gloow-navy); font-size: 18px; font-weight: 700; }
.gloow-bundle__total-label { color: var(--gloow-g600); }
.gloow-pdp a.gloow-bundle__btn,
a.gloow-bundle__btn,
.gloow-bundle__btn {
	display: block !important;
	width: 100%;
	min-height: 50px;
	line-height: 50px;
	background: var(--gloow-gold) !important;
	color: var(--gloow-navy) !important;
	text-align: center !important;
	border-radius: var(--gloow-radius);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none !important;
	padding: 0 16px;
	box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 2px 8px rgba(30,58,95,.08);
}
.gloow-bundle__btn:hover,
.gloow-bundle__btn:focus { background: #b89651 !important; color: var(--gloow-navy) !important; text-decoration: none !important; }

/* 13. RELATED */
.gloow-related { margin: 0 0 28px; }
.gloow-related__title {
	font-family: var(--gloow-ff-display);
	font-size: 20px;
	color: var(--gloow-navy);
	margin: 0 0 12px;
	font-weight: 700;
}
.gloow-related__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gloow-related__item a { display: block; background: #fff; border-radius: var(--gloow-radius); overflow: hidden; box-shadow: var(--gloow-shadow); }
.gloow-related__item a:hover { text-decoration: none; }
.gloow-related__item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.gloow-related__name { display: block; padding: 8px 10px 2px; font-size: 13px; color: var(--gloow-g900); font-weight: 500; line-height: 1.3; }
.gloow-related__price { display: block; padding: 0 10px 10px; font-size: 14px; color: var(--gloow-navy); font-weight: 700; }

/* 14. STICKY ATC */
.gloow-sticky-atc {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	border-top: 1px solid var(--gloow-g200);
	box-shadow: 0 -2px 12px rgba(17,24,39,.08);
	padding: 8px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	transform: translateY(100%);
	transition: transform .2s ease;
}
.gloow-sticky-atc[data-visible="true"] { transform: translateY(0); }
.gloow-sticky-atc__thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; background: var(--gloow-g100); flex-shrink: 0; }
.gloow-sticky-atc__meta { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.gloow-sticky-atc__price { font-weight: 700; color: var(--gloow-navy); font-size: 15px; }
.gloow-sticky-atc__inst { font-size: 11px; color: var(--gloow-g600); }
.gloow-sticky-atc__btn {
	background: var(--gloow-gold);
	color: var(--gloow-navy);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	padding: 0 18px;
	height: 40px;
	line-height: 40px;
	border-radius: var(--gloow-radius);
	flex-shrink: 0;
}
.gloow-sticky-atc__btn:hover { background: var(--gloow-gold-dk); color: var(--gloow-navy); text-decoration: none; }

/* BREAKPOINTS */
@media (min-width: 600px) {
	.gloow-title { font-size: 28px; }
	.gloow-price-block__main { font-size: 40px; }
	.gloow-related__grid { grid-template-columns: repeat(4, 1fr); }
	.gloow-trust { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 767px) {
	.gloow-pdp__wrap { padding-bottom: 40px; }
	.gloow-sticky-atc { display: none; }
	.gloow-pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
	.gloow-pdp__left { position: sticky; top: 16px; }
	.gloow-gallery { margin-left: 0; margin-right: 0; }
	.gloow-title { font-size: 32px; }
	.gloow-price-block__main { font-size: 42px; }
}
@media (min-width: 860px) {
	.gloow-pdp__wrap { padding-left: 24px; padding-right: 24px; }
}

/* Hide anything that shouldn't render if old markup bleeds through */
.gloow-pdp .gloow-faq,
.gloow-pdp .gloow-about,
.gloow-pdp .gloow-share,
.gloow-pdp .urgency-pill,
.gloow-pdp .gloow-viewing,
.gloow-pdp .gloow-timer,
.gloow-pdp .woocommerce-tabs,
.gloow-pdp .related.products,
.gloow-pdp .upsells { display: none !important; }
