/**
 * Painel Gods — pré-login landing shell
 *
 * Blocksy DOM:
 *   body > #main-container > header#header + main#main (+ footer)
 * The 100dvh flex root MUST be #main-container (header is inside it).
 *
 * Stack inside .pg-landing:
 *   hero (flex:1, mascot cover) → popular (auto) → bottom CTAs (auto, flush)
 */

html:has(body.pg-prelogin-landing) {
	height: auto;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--pg-bg, #000f14);
}

body.pg-prelogin-landing {
	--pg-landing-max: var(--pg-wide-max, 1600px);
	--pg-landing-cta-h: clamp(3rem, 5.8vh, 3.75rem);
	--pg-landing-cta-icon: clamp(2.15rem, 4.6vh, 2.85rem);
	/* Shared with marketplace feature icon vars (landing.css loads after). */
	--pg-feature-h: clamp(3rem, 5.8vh, 3.75rem);
	--pg-cta-icon: clamp(2.15rem, 4.6vh, 2.85rem);
	--pg-cta-icon-glyph: clamp(1.35rem, 3vh, 1.85rem);
	--pg-cta-icon-inset: 0.55rem;
	--pg-cta-pad-left: calc(var(--pg-cta-icon-inset) + var(--pg-cta-icon) + 0.85rem);
	--pg-cat-thumb: clamp(3.5rem, 8.5vh, 5.5rem);
	--pg-site-max: var(--pg-wide-max, 1600px);
	--pg-content-max: var(--pg-wide-max, 1600px);
	--wp--style--global--content-size: var(--pg-wide-max, 1600px);
	--wp--style--global--wide-size: var(--pg-wide-max, 1600px);
	--theme-content-spacing: 0px;
	--theme-content-vertical-spacing: 0px;
	--pg-header-main-gap: 0px;

	background: var(--pg-bg, #000f14) !important;
	background-image: none !important;
	color: var(--pg-text, #fff);
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100dvh !important;
	height: auto !important;
	max-height: none !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	display: block !important;
}

.admin-bar.pg-prelogin-landing {
	min-height: calc(100dvh - 32px) !important;
	height: auto !important;
	max-height: none !important;
}

/* —— Viewport shell (scrollable — catalog sections below hero) —— */
body.pg-prelogin-landing #main-container {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100dvh !important;
	height: auto !important;
	max-height: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: hidden !important;
	overflow-y: visible !important;
	box-sizing: border-box !important;
	background: var(--pg-bg, #000f14) !important;
}

.admin-bar.pg-prelogin-landing #main-container {
	min-height: calc(100dvh - 32px) !important;
	height: auto !important;
	max-height: none !important;
}

body.pg-prelogin-landing header#header,
body.pg-prelogin-landing .ct-header,
body.pg-prelogin-landing #header [data-row],
body.pg-prelogin-landing #header [data-row*="middle"] {
	background-color: var(--pg-bg, #000f14) !important;
	background-image: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
}

body.pg-prelogin-landing header#header {
	flex: 0 0 auto !important;
	position: relative;
	z-index: 40;
	width: 100%;
	overflow: visible;
}

body.pg-prelogin-landing #header .header-menu-1 > ul,
body.pg-prelogin-landing #header .menu,
body.pg-prelogin-landing #header .ct-menu {
	background: rgba(0, 15, 20, 0.92);
	backdrop-filter: blur(8px);
}

body.pg-prelogin-landing .entry-header,
body.pg-prelogin-landing .page-title,
body.pg-prelogin-landing .hero-section,
body.pg-prelogin-landing .ct-page-title-container,
body.pg-prelogin-landing .ct-footer,
body.pg-prelogin-landing footer#footer,
body.pg-prelogin-landing .pg-site-footer,
body.pg-prelogin-landing .pg-landing-mascot,
body.pg-prelogin-landing .pg-landing-mascot-wrap,
body.pg-prelogin-landing .pg-cat-strip,
body.pg-prelogin-landing .pg-cat-chips {
	display: none !important;
}

body.pg-prelogin-landing #main,
body.pg-prelogin-landing main#main,
body.pg-prelogin-landing .site-main,
body.pg-prelogin-landing article.page,
body.pg-prelogin-landing .entry-content,
body.pg-prelogin-landing .ct-container:not(.ct-header-container) {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	background: transparent !important;
	background-image: none !important;
	background-size: auto !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

body.pg-prelogin-landing .pg-landing {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
	/* Override .pg-landing token shrink so feature icons and pad-left stay in sync. */
	--pg-cta-icon: clamp(2.15rem, 4.6vh, 2.85rem);
	--pg-cta-icon-glyph: clamp(1.35rem, 3vh, 1.85rem);
	--pg-cta-icon-inset: 0.55rem;
	--pg-cta-pad-left: calc(var(--pg-cta-icon-inset) + var(--pg-cta-icon) + 0.85rem);
	--pg-feature-h: clamp(3rem, 5.8vh, 3.75rem);
}

/* Hero Cover — Media Library image (Gutenberg). Cats live inside the same Cover.
 * Content zones: left copy · right feature stack · categorias band below.
 * Extra top offset reveals more Guardian above the CTAs. */
body.pg-prelogin-landing .pg-landing-hero.wp-block-cover,
body.pg-prelogin-landing .wp-block-cover.pg-landing-hero {
	--pg-landing-hero-pad-y: clamp(3.25rem, 7.5vh, 5.5rem);
	--pg-landing-hero-row-min: clamp(20rem, 38vh, 26rem);
	--pg-landing-cats-gap: clamp(4.5rem, 10vh, 7.5rem);
	flex: 0 0 auto !important;
	min-height: min(78vh, 46rem) !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: var(--pg-landing-hero-pad-y) clamp(0.85rem, 2.2vw, 1.5rem) 1.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	border: 0 !important;
	box-shadow: none !important;
	position: relative;
	z-index: 0;
	background-color: #000f14 !important;
	background-image: none !important;
}

/* Readability overlays — do not replace the Cover image. */
body.pg-prelogin-landing .pg-landing-hero.wp-block-cover > .wp-block-cover__background {
	background:
		linear-gradient(90deg, rgba(0, 15, 20, 0.88) 0%, rgba(0, 15, 20, 0.35) 26%, rgba(0, 15, 20, 0.08) 50%, rgba(0, 15, 20, 0.35) 74%, rgba(0, 15, 20, 0.9) 100%),
		linear-gradient(180deg, rgba(0, 15, 20, 0.28) 0%, transparent 42%, rgba(0, 15, 20, 0.45) 100%) !important;
	opacity: 1 !important;
}

body.pg-prelogin-landing .pg-landing-hero.wp-block-cover > .wp-block-cover__image-background,
body.pg-prelogin-landing .pg-landing-hero.wp-block-cover > video.wp-block-cover__video-background {
	display: block !important;
	object-fit: cover !important;
	object-position: center center !important;
}

/* Phone art is a separate Image block so it can be replaced in the editor. */
body.pg-prelogin-landing .pg-landing-hero__mobile {
	display: none;
}

body.pg-prelogin-landing .pg-landing-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
	z-index: 1;
}

body.pg-prelogin-landing .pg-landing-hero > .pg-landing-hero__grid,
body.pg-prelogin-landing .pg-landing-hero .pg-landing-hero__grid {
	flex: 0 0 auto;
	min-height: var(--pg-landing-hero-row-min, clamp(20rem, 38vh, 26rem));
	width: 100%;
	max-width: var(--pg-landing-max);
	margin: clamp(0.75rem, 2vh, 1.5rem) auto 0;
	align-items: stretch !important;
	gap: clamp(0.6rem, 1.8vw, 1.5rem) !important;
	position: relative;
	z-index: 1;
}

/* Legacy Group hero (pre-Cover seed): keep theme JPG fallback. */
body.pg-prelogin-landing .pg-landing-hero:not(.wp-block-cover) {
	--pg-landing-hero-pc: url("../img/landing-hero-pc.jpg?v=20260924a");
	flex: 0 0 auto !important;
	min-height: min(52vh, 28rem) !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(0.3rem, 1vh, 0.75rem) clamp(0.85rem, 2.2vw, 1.5rem) 1.15rem !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	border: 0 !important;
	box-shadow: none !important;
	position: relative;
	z-index: 0;
	background-color: #000f14 !important;
	background-image:
		linear-gradient(90deg, rgba(0, 15, 20, 0.88) 0%, rgba(0, 15, 20, 0.35) 26%, rgba(0, 15, 20, 0.08) 50%, rgba(0, 15, 20, 0.35) 74%, rgba(0, 15, 20, 0.9) 100%),
		linear-gradient(180deg, rgba(0, 15, 20, 0.28) 0%, transparent 42%, rgba(0, 15, 20, 0.45) 100%),
		var(--pg-landing-hero-pc) !important;
	background-repeat: no-repeat !important;
	background-position: center, center, center 28% !important;
	background-size: 100% 100%, 100% 100%, cover !important;
}

body.pg-prelogin-landing .pg-landing-title {
	margin: 0 0 clamp(0.35rem, 1vh, 0.65rem);
	font-size: clamp(1.2rem, 2.2vw + 0.5vh, 2.75rem);
	line-height: 1.08;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
}

body.pg-prelogin-landing .pg-landing-title__gold,
body.pg-prelogin-landing .pg-landing-title strong {
	color: var(--pg-gold, #ffc107);
}

body.pg-prelogin-landing .pg-landing-lead {
	margin: 0 0 clamp(0.55rem, 1.2vh, 0.9rem);
	max-width: 28rem;
	font-size: clamp(0.8rem, 0.9vw + 0.25vh, 1rem);
	line-height: 1.35;
	color: var(--pg-text-muted, #a8b0bd);
}

body.pg-prelogin-landing .pg-landing-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

body.pg-prelogin-landing .pg-landing-ctas .wp-block-button {
	margin: 0;
}

body.pg-prelogin-landing .pg-landing-ctas .wp-block-button__link {
	min-width: 11rem;
	min-height: clamp(2.4rem, 4.8vh, 2.75rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 1.05rem 0 2.4rem;
	font-size: clamp(0.78rem, 0.9vw, 0.9rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	border-radius: 4px;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: 0.85rem center;
	background-size: 1.1rem;
}

body.pg-prelogin-landing .pg-landing-ctas .pg-cta--primary > .wp-block-button__link {
	color: #fff;
	border: 0;
	background-color: var(--pg-blue, #00a8ff);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 7h15l-1.4 8.2a2 2 0 01-2 1.7H9.2a2 2 0 01-2-1.6L5.2 4.5H3'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E"),
		linear-gradient(135deg, var(--pg-blue, #00a8ff) 0%, var(--pg-blue-deep, #0047ff) 100%);
	background-size: 1.1rem, auto;
	background-position: 0.85rem center, 0 0;
	background-repeat: no-repeat, no-repeat;
}

body.pg-prelogin-landing .pg-landing-ctas .pg-cta--gold > .wp-block-button__link,
body.pg-prelogin-landing .pg-landing-ctas .pg-btn-gold > .wp-block-button__link {
	color: var(--pg-gold, #ffc107);
	background-color: transparent;
	border: 1px solid var(--pg-gold, #ffc107);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 10.5V19h7.2'/%3E%3Cpath d='M4 10.5l1.2-5h13.6l1.2 5'/%3E%3Cpath d='M4 10.5h16'/%3E%3Cpath d='M8 10.5V7M12 10.5V7M16 10.5V7'/%3E%3Cpath d='M14.2 15.2h5.4l-1.6-1.6M19.6 15.2l-1.6 1.6'/%3E%3C/svg%3E");
}

body.pg-prelogin-landing .pg-landing-hero__aside {
	flex-basis: 22% !important;
	width: 22% !important;
	max-width: 17rem;
	margin-left: auto;
	display: flex !important;
	flex-direction: column !important;
	justify-content: stretch !important;
	align-self: stretch !important;
}

body.pg-prelogin-landing .pg-landing-hero__copy {
	flex-basis: 40% !important;
	width: 40% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-self: stretch !important;
	padding-block: 0.35rem;
}

body.pg-prelogin-landing .pg-landing-hero__visual {
	flex-basis: 38% !important;
	width: 38% !important;
	pointer-events: none;
	min-height: 0;
	align-self: stretch !important;
}

body.pg-prelogin-landing .pg-feature-stack {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 1 auto;
	height: 100%;
	min-height: 100%;
	gap: clamp(0.55rem, 1.4vh, 0.9rem);
	width: 100%;
	max-width: 17.5rem;
	margin: 0 0 0 auto;
}

body.pg-prelogin-landing .pg-landing-hero__grid > .wp-block-column {
	display: flex !important;
	flex-direction: column !important;
}

body.pg-prelogin-landing .pg-landing-hero__aside > .pg-feature-stack,
body.pg-prelogin-landing .pg-landing-hero__aside > .wp-block-group {
	flex: 1 1 auto;
	height: 100%;
}

body.pg-prelogin-landing .pg-feature-card {
	position: relative;
	box-sizing: border-box;
	margin: 0;
	flex: 1 1 0;
	height: auto !important;
	min-height: 3.85rem !important;
	max-height: none !important;
	padding: 0.95rem 1rem 0.95rem 4.85rem !important;
	border-radius: 10px !important;
	background: rgba(26, 31, 41, 0.78) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: none !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0.15rem;
}

body.pg-prelogin-landing .pg-feature-card__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.82rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff !important;
	line-height: 1.2 !important;
	white-space: normal !important;
	overflow: visible !important;
	display: block !important;
	-webkit-line-clamp: unset !important;
}

body.pg-prelogin-landing .pg-feature-card__text {
	display: block !important;
	margin: 0.12rem 0 0 !important;
	padding: 0 !important;
	color: var(--pg-text-muted, #a8b0bd) !important;
	font-size: 0.78rem !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	white-space: normal !important;
}

body.pg-prelogin-landing .pg-feature-card::before {
	content: "";
	position: absolute;
	left: 1.05rem !important;
	top: 50%;
	transform: translateY(-50%);
	width: 2.55rem !important;
	height: 2.55rem !important;
	z-index: 1;
	background-color: transparent !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 2.55rem !important;
	border: 0 !important;
	border-radius: 0 !important;
}

body.pg-prelogin-landing .pg-feature-card::after {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 0.7rem !important;
	top: 50%;
	transform: translateY(-50%);
	width: 3.25rem !important;
	height: 3.25rem !important;
	border-radius: 999px !important;
	pointer-events: none;
	z-index: 0;
	background-size: auto !important;
}

body.pg-prelogin-landing .pg-feature-card--blue::after {
	background: radial-gradient(circle, rgba(0, 168, 255, 0.35) 0%, rgba(0, 168, 255, 0.08) 55%, transparent 72%) !important;
}

body.pg-prelogin-landing .pg-feature-card--gold::after {
	background: radial-gradient(circle, rgba(255, 193, 7, 0.32) 0%, rgba(255, 193, 7, 0.08) 55%, transparent 72%) !important;
}

body.pg-prelogin-landing .pg-feature-card--shield-check.pg-feature-card--blue::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300A8FF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6.2c0 4.2-2.8 7.7-7 9-4.2-1.3-7-4.8-7-9V6l7-3z'/%3E%3Cpath d='M8.8 12.1l2.2 2.2 4.4-4.5'/%3E%3C/svg%3E") !important;
}

body.pg-prelogin-landing .pg-feature-card--users::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='2.2'/%3E%3Ccircle cx='16' cy='8.4' r='1.8'/%3E%3Cpath d='M3.8 17.5c.3-2.2 1.8-3.4 4.2-3.4s3.9 1.2 4.2 3.4'/%3E%3Cpath d='M12.6 17.2c.2-1.6 1.4-2.6 3.4-2.6 1.8 0 3 1 3.3 2.6'/%3E%3C/svg%3E") !important;
}

body.pg-prelogin-landing .pg-feature-card--bolt::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300A8FF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L4 14h6l-1 8 11-14h-7z'/%3E%3C/svg%3E") !important;
}

body.pg-prelogin-landing .pg-feature-card--headset::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a8 8 0 00-8 8v3a3 3 0 003 3h1v-6H7a6 6 0 0110 0h-1v6h1a3 3 0 003-3v-3a8 8 0 00-8-8z'/%3E%3Cpath d='M11 19h2a1 1 0 010 2h-2a1 1 0 010-2z'/%3E%3C/svg%3E") !important;
}

/* —— See more: side lines, no arrow, no underline (all mascot sections) —— */
body.pg-prelogin-landing .pg-cat-cards__all,
body.pg-prelogin-landing .pg-inicio-section__more {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 1rem !important;
	margin: 1.25rem 0 0.35rem !important;
	text-align: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	border: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

body.pg-prelogin-landing .pg-cat-cards__all::before,
body.pg-prelogin-landing .pg-cat-cards__all::after,
body.pg-prelogin-landing .pg-inicio-section__more::before,
body.pg-prelogin-landing .pg-inicio-section__more::after {
	content: "" !important;
	display: block !important;
	flex: 1 1 auto !important;
	height: 1px !important;
	max-width: 12rem !important;
	margin: 0 !important;
	border: 0 !important;
	background: rgba(168, 176, 189, 0.4) !important;
}

body.pg-prelogin-landing .entry-content .pg-cat-cards__all a,
body.pg-prelogin-landing .entry-content .pg-inicio-section__more a,
body.pg-prelogin-landing .pg-cat-cards__all a,
body.pg-prelogin-landing .pg-inicio-section__more a {
	flex: 0 0 auto !important;
	display: inline !important;
	align-items: unset !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--pg-blue, #00a8ff) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-thickness: 0 !important;
	text-decoration-color: transparent !important;
	border: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background: none !important;
	background-image: none !important;
	-webkit-text-decoration: none !important;
	text-underline-offset: 0 !important;
	outline: none !important;
}

body.pg-prelogin-landing .pg-cat-cards__all a::before,
body.pg-prelogin-landing .pg-cat-cards__all a::after,
body.pg-prelogin-landing .pg-inicio-section__more a::before,
body.pg-prelogin-landing .pg-inicio-section__more a::after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	border: 0 !important;
	background: none !important;
}

body.pg-prelogin-landing .entry-content .pg-cat-cards__all a:hover,
body.pg-prelogin-landing .entry-content .pg-inicio-section__more a:hover,
body.pg-prelogin-landing .pg-cat-cards__all a:hover,
body.pg-prelogin-landing .pg-cat-cards__all a:focus,
body.pg-prelogin-landing .pg-cat-cards__all a:active,
body.pg-prelogin-landing .pg-inicio-section__more a:hover,
body.pg-prelogin-landing .pg-inicio-section__more a:focus,
body.pg-prelogin-landing .pg-inicio-section__more a:active {
	color: var(--pg-gold, #ffc107) !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
	-webkit-text-decoration: none !important;
}

/* —— Category CTAs + product rails —— */
body.pg-prelogin-landing .pg-landing-section,
body.pg-prelogin-landing .pg-landing-catalog,
body.pg-prelogin-landing .pg-landing-popular {
	flex: 0 0 auto !important;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 1.35rem clamp(0.85rem, 2.2vw, 1.5rem) 0.85rem !important;
	background: var(--pg-bg, #000f14);
	border: 0;
	box-shadow: none;
	box-sizing: border-box;
}

/* Categorias — pushed lower so more Guardian stays visible above the cards. */
body.pg-prelogin-landing .pg-landing-section--cats {
	position: relative;
	z-index: 1;
	margin-top: 0 !important;
	padding-top: var(--pg-landing-cats-gap, clamp(4.5rem, 10vh, 7.5rem)) !important;
	padding-bottom: clamp(1.25rem, 3vh, 2rem) !important;
	background: transparent !important;
	background-image: none !important;
}

body.pg-prelogin-landing .pg-landing-section--cats .pg-landing-section__title {
	margin-bottom: 0.85rem !important;
}

body.pg-prelogin-landing .pg-landing-section--cats .pg-cat-cards__card {
	aspect-ratio: 3 / 4.35;
	min-height: clamp(11.5rem, 22vh, 15.5rem);
}

body.pg-prelogin-landing .pg-landing-section--cats .pg-cat-cards__all {
	margin-top: 1.15rem !important;
	padding-bottom: 0.35rem;
}

body.pg-prelogin-landing .pg-landing-catalog {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.5rem !important;
}

body.pg-prelogin-landing .pg-landing-section__title,
body.pg-prelogin-landing .pg-inicio-section__title {
	margin: 0 0 0.55rem !important;
	font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	max-width: var(--pg-landing-max);
	margin-inline: auto !important;
	width: 100%;
}

/* Match Início section rules — blue → white fade (product rails keep these) */
body.pg-prelogin-landing .pg-inicio-section__rule,
body.pg-prelogin-landing hr.pg-inicio-section__rule {
	border: 0 !important;
	height: 2px !important;
	width: 100% !important;
	max-width: var(--pg-landing-max) !important;
	margin: 0 auto 1.15rem !important;
	background: linear-gradient(
		90deg,
		rgba(0, 168, 255, 0.75),
		rgba(255, 255, 255, 0.14) 55%,
		transparent
	) !important;
	opacity: 1 !important;
}

/* Categorias populares: no title underline rule */
body.pg-prelogin-landing .pg-landing-section--cats .pg-landing-section__rule,
body.pg-prelogin-landing .pg-landing-section--cats hr.pg-landing-section__rule {
	display: none !important;
}

body.pg-prelogin-landing .pg-cat-cards {
	width: 100%;
	max-width: var(--pg-landing-max);
	margin-inline: auto;
}

/* Product rails: same markup as Início — styles come from marketplace body.pg-inicio rules. */
body.pg-prelogin-landing .pg-landing-catalog .pg-inicio-section,
body.pg-prelogin-landing .pg-landing-rails-slot .pg-inicio-section {
	margin: 0 0 1.35rem;
	padding: 0;
	max-width: var(--pg-landing-max);
	margin-inline: auto;
}

/* —— Bottom CTAs —— */
body.pg-prelogin-landing .pg-landing-bottom {
	flex: 0 0 auto !important;
	width: 100%;
	margin: 0 !important;
	padding: 1.15rem clamp(0.85rem, 2.2vw, 1.5rem) 1.35rem !important;
	background: var(--pg-bg, #000f14);
	border: 0;
	border-top: 1px solid rgba(0, 168, 255, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	box-sizing: border-box;
}

body.pg-prelogin-landing .pg-landing-bottom > * {
	width: 100%;
	max-width: var(--pg-landing-max);
	margin-inline: auto;
	margin-block: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner,
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-strip__inner {
	display: flex !important;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: var(--pg-landing-cta-h);
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column,
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-strip__inner > .wp-block-column {
	position: relative;
	flex: 1 1 0 !important;
	width: 25% !important;
	max-width: 25% !important;
	margin: 0 !important;
	min-height: var(--pg-landing-cta-h);
	border: 0 !important;
	display: flex !important;
	align-items: stretch !important;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column:not(:last-child)::after,
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column:not(:last-child)::after,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-strip__inner > .wp-block-column:not(:last-child)::after {
	content: "" !important;
	display: block !important;
	position: absolute;
	top: 12%;
	bottom: 12%;
	right: 0;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(168, 176, 189, 0.45) 20%,
		rgba(168, 176, 189, 0.55) 50%,
		rgba(168, 176, 189, 0.45) 80%,
		transparent 100%
	);
	pointer-events: none;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stat-item,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-card {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-height: var(--pg-landing-cta-h);
	margin: 0;
	padding: 0.15rem 0.55rem 0.15rem calc(0.3rem + var(--pg-landing-cta-icon) + 0.4rem);
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.08rem;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stat-item__value,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-card__title {
	margin: 0;
	font-size: clamp(0.68rem, 0.8vw, 0.85rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.15;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stat-item__text,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-card__text {
	margin: 0;
	font-size: clamp(0.58rem, 0.65vw, 0.72rem);
	line-height: 1.25;
	color: var(--pg-text-muted, #a8b0bd);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	white-space: normal;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-pay-strip {
	padding-top: 0.1rem;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-pay-strip__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-pay-strip__label,
body.pg-prelogin-landing .pg-landing-bottom .pg-pay-strip__pix {
	margin: 0;
	color: #fff;
	font-size: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-pay-strip__pix {
	text-transform: lowercase;
	font-weight: 600;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-pay-strip__pix::before {
	content: "";
	width: 1.15rem;
	height: 1.15rem;
	background: center / contain no-repeat
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2332BCAD' d='M11.9 3.4c-.5-.5-1.2-.5-1.7 0L8.4 5.2 6.6 3.4c-.5-.5-1.2-.5-1.7 0L2.6 5.7c-.5.5-.5 1.2 0 1.7l1.8 1.8L2.6 11c-.5.5-.5 1.2 0 1.7l2.3 2.3c.5.5 1.2.5 1.7 0l1.8-1.8 1.8 1.8c.5.5 1.2.5 1.7 0l2.3-2.3c.5-.5.5-1.2 0-1.7L12.4 9.2l1.8-1.8c.5-.5.5-1.2 0-1.7L11.9 3.4zM8.4 9.9L6.1 7.6l2.3-2.3 2.3 2.3-2.3 2.3z'/%3E%3C/svg%3E");
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stat-item::before,
body.pg-prelogin-landing .pg-landing-bottom .pg-cta-card::before {
	content: "";
	position: absolute;
	left: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	width: var(--pg-landing-cta-icon);
	height: var(--pg-landing-cta-icon);
	background: center / contain no-repeat;
}

body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column:nth-child(1) .pg-stat-item::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300A8FF' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='2.2'/%3E%3Ccircle cx='16' cy='8.4' r='1.8'/%3E%3Cpath d='M3.8 17.5c.3-2.2 1.8-3.4 4.2-3.4s3.9 1.2 4.2 3.4'/%3E%3Cpath d='M12.6 17.2c.2-1.6 1.4-2.6 3.4-2.6 1.8 0 3 1 3.3 2.6'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column:nth-child(2) .pg-stat-item::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M4 10.5V19h7.2'/%3E%3Cpath d='M4 10.5l1.2-5h13.6l1.2 5'/%3E%3Cpath d='M4 10.5h16'/%3E%3Cpath d='M8 10.5V7M12 10.5V7M16 10.5V7'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column:nth-child(3) .pg-stat-item::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300A8FF' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 5v8l-9 5-9-5V8l9-5z'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column:nth-child(4) .pg-stat-item::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6.2c0 4.2-2.8 7.7-7 9-4.2-1.3-7-4.8-7-9V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column:nth-child(1) .pg-cta-card::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300A8FF' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6.2c0 4.2-2.8 7.7-7 9-4.2-1.3-7-4.8-7-9V6l7-3z'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column:nth-child(2) .pg-cta-card::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a8 8 0 00-8 8v3a3 3 0 003 3h1v-6H7a6 6 0 0110 0h-1v6h1a3 3 0 003-3v-3a8 8 0 00-8-8z'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column:nth-child(3) .pg-cta-card::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300A8FF' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L4 14h6l-1 8 11-14h-7z'/%3E%3C/svg%3E");
}
body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column:nth-child(4) .pg-cta-card::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23FFC107' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6.2c0 4.2-2.8 7.7-7 9-4.2-1.3-7-4.8-7-9V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

/* Desktop: keep scrollable (catalog sections below hero). Never unlock X-overflow. */
@media (min-width: 782px) {
	body.pg-prelogin-landing,
	body.pg-prelogin-landing.pg-guest,
	body.pg-prelogin-landing #main-container {
		height: auto !important;
		max-height: none !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
	}

	body.pg-prelogin-landing #main,
	body.pg-prelogin-landing main#main,
	body.pg-prelogin-landing .site-main,
	body.pg-prelogin-landing article.page,
	body.pg-prelogin-landing .entry-content,
	body.pg-prelogin-landing .pg-landing {
		height: auto !important;
		max-height: none !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
	}

	body.pg-prelogin-landing .pg-landing-hero.wp-block-cover,
	body.pg-prelogin-landing .wp-block-cover.pg-landing-hero {
		flex: 0 0 auto !important;
		min-height: min(78vh, 46rem) !important;
	}
}

@media (max-width: 781px) {
	/* Vertical scroll OK; horizontal scrollbar was caused by overflow: auto/visible. */
	html:has(body.pg-prelogin-landing) {
		overflow-x: hidden;
		overflow-y: auto;
		height: auto;
	}

	body.pg-prelogin-landing,
	body.pg-prelogin-landing.pg-guest,
	body.pg-prelogin-landing #main-container {
		height: auto !important;
		max-height: none !important;
		min-height: 100dvh;
		overflow-x: hidden !important;
		overflow-y: visible !important;
		max-width: 100% !important;
	}

	body.pg-prelogin-landing #main,
	body.pg-prelogin-landing main#main,
	body.pg-prelogin-landing .site-main,
	body.pg-prelogin-landing article.page,
	body.pg-prelogin-landing .entry-content,
	body.pg-prelogin-landing .pg-landing {
		height: auto !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
		max-width: 100% !important;
	}

	/*
	 * Mobile hero: copy + CTAs → visual spacer → feature cards.
	 * Cover image paints the full band (including categorias).
	 */
	body.pg-prelogin-landing .pg-landing-hero.wp-block-cover,
	body.pg-prelogin-landing .wp-block-cover.pg-landing-hero {
		--pg-landing-hero-pad-y: 1.15rem;
		--pg-landing-hero-row-min: 0;
		min-height: 0 !important;
		margin-bottom: 0 !important;
		padding: var(--pg-landing-hero-pad-y) 1rem 1.25rem !important;
		text-align: center;
		background-color: #000f14 !important;
		background-image: none !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
		position: relative;
		z-index: 0;
	}

	body.pg-prelogin-landing .pg-landing-hero.wp-block-cover > .wp-block-cover__background {
		background:
			linear-gradient(180deg, rgba(0, 15, 20, 0.55) 0%, rgba(0, 15, 20, 0.2) 40%, rgba(0, 15, 20, 0.55) 78%, rgba(0, 15, 20, 0.82) 100%) !important;
	}

	body.pg-prelogin-landing .pg-landing-hero.wp-block-cover > .wp-block-cover__image-background {
		display: none !important;
	}

	body.pg-prelogin-landing .pg-landing-hero__mobile {
		display: block !important;
		position: absolute;
		inset: 0;
		z-index: 0;
		width: 100% !important;
		max-width: none !important;
		height: 100%;
		margin: 0 !important;
		pointer-events: none;
	}

	body.pg-prelogin-landing .pg-landing-hero__mobile::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgba(0, 15, 20, 0.78) 0%, rgba(0, 15, 20, 0.2) 22%, rgba(0, 15, 20, 0.12) 48%, rgba(0, 15, 20, 0.55) 100%);
	}

	body.pg-prelogin-landing .pg-landing-hero__mobile img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 32%;
	}

	body.pg-prelogin-landing .pg-landing-hero__mobile figcaption {
		display: none;
	}

	body.pg-prelogin-landing .pg-landing-hero__grid,
	body.pg-prelogin-landing .pg-landing-section--cats {
		position: relative;
		z-index: 1;
	}

	body.pg-prelogin-landing .pg-landing-hero__grid {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0.85rem !important;
		min-height: 0 !important;
		height: auto !important;
	}

	body.pg-prelogin-landing .pg-landing-hero__copy {
		order: 1;
		width: 100% !important;
		max-width: none !important;
		flex-basis: auto !important;
	}

	body.pg-prelogin-landing .pg-landing-hero__visual {
		order: 2;
		display: block !important;
		width: 100% !important;
		flex: 0 0 auto !important;
		min-height: clamp(16rem, 62vw, 22rem) !important;
		height: clamp(16rem, 62vw, 22rem) !important;
		margin: 0.35rem 0 0.5rem !important;
		pointer-events: none;
		background: none !important;
	}

	body.pg-prelogin-landing .pg-landing-hero__aside {
		order: 3;
		width: 100% !important;
		max-width: none !important;
		flex-basis: auto !important;
		margin-left: 0 !important;
		align-self: stretch !important;
	}

	body.pg-prelogin-landing .pg-feature-stack {
		height: auto;
		min-height: 0;
		max-width: none;
		margin-inline: auto;
		justify-content: flex-start;
		gap: 0.65rem;
	}

	body.pg-prelogin-landing .pg-feature-card {
		flex: 0 0 auto;
		min-height: 0 !important;
	}

	body.pg-prelogin-landing .pg-landing-lead,
	body.pg-prelogin-landing .pg-feature-stack {
		margin-inline: auto;
	}

	body.pg-prelogin-landing .pg-landing-ctas {
		justify-content: center;
	}

	/* Room between store icon and “Começar a vender” label */
	body.pg-prelogin-landing .pg-landing-ctas .wp-block-button__link {
		padding-left: 2.85rem !important;
		background-position: 0.95rem center;
		gap: 0;
	}

	body.pg-prelogin-landing .pg-landing-ctas .pg-cta--gold > .wp-block-button__link,
	body.pg-prelogin-landing .pg-landing-ctas .pg-btn-gold > .wp-block-button__link {
		padding-left: 2.85rem !important;
		background-position: 0.95rem center !important;
		background-size: 1.15rem !important;
	}

	body.pg-prelogin-landing .pg-feature-stack {
		display: grid;
		grid-template-columns: 1fr 1fr;
		max-width: 100%;
	}

	body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner,
	body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner {
		flex-wrap: wrap !important;
	}

	body.pg-prelogin-landing .pg-landing-bottom .pg-stats-bar__inner > .wp-block-column,
	body.pg-prelogin-landing .pg-landing-bottom .pg-value-bar__inner > .wp-block-column {
		width: 50% !important;
		max-width: 50% !important;
		flex: 1 1 45% !important;
	}
}
