:root {
	--vpm-primary: #0057b8;
	--vpm-primary-interactive: #0286e7;
	--vpm-primary-dark: #003f87;
	--vpm-primary-dark: color-mix(in srgb, var(--vpm-primary) 80%, #000);
	--vpm-accent: #e30613;
	--vpm-accent-dark: #b7040e;
	--vpm-accent-dark: color-mix(in srgb, var(--vpm-accent) 82%, #000);
	--vpm-selected: #eaf4ff;
	--vpm-selected: color-mix(in srgb, var(--vpm-primary) 9%, #fff);
	--vpm-support: #eef6ff;
	--vpm-support: color-mix(in srgb, var(--vpm-primary) 7%, #fff);
	--vpm-text: #111827;
	--vpm-muted: #64748b;
	--vpm-border: #dbe3ef;
	--vpm-panel: #ffffff;
	--vpm-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.vpm,
.vpm * {
	box-sizing: border-box;
}

.vpm[hidden],
.vpm [hidden] {
	display: none !important;
}

.vpm {
	color: var(--vpm-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	text-align: left;
	transition: opacity 180ms ease, visibility 0s linear 180ms;
	visibility: hidden;
}

.vpm.is-visible {
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0s;
	visibility: visible;
}

.vpm a,
.vpm button,
.vpm input,
.vpm summary {
	font: inherit;
}

.vpm a {
	color: inherit;
	text-decoration: none;
}

.vpm button,
.vpm summary {
	cursor: pointer;
}

.vpm a:focus-visible,
.vpm button:focus-visible,
.vpm input:focus-visible,
.vpm summary:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--vpm-primary-interactive) 55%, white);
	outline-offset: 2px;
}

.vpm__icon {
	flex: 0 0 auto;
	pointer-events: none;
}

/* Existing CriaImagem VICO category triggers. */
.masterheader:not(.mobile-header) .cat-nav-trigger {
	align-items: center;
	background: var(--vpm-accent);
	border: 0;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	transition: background-color 180ms ease;
}

.masterheader:not(.mobile-header) .cat-nav-trigger:hover,
.masterheader:not(.mobile-header) .cat-nav-trigger[aria-expanded="true"] {
	background: var(--vpm-accent-dark);
}

body.single-product .masterheader:not(.mobile-header) .cat-nav-trigger,
body.tax-product_cat .masterheader:not(.mobile-header) .cat-nav-trigger {
	background: var(--vpm-accent-dark);
	box-shadow: inset 0 -4px 0 #fff;
}

.masterheader:not(.mobile-header) .cat-nav-trigger:focus-visible,
.mobile-header .cat-nav-trigger:focus-visible {
	outline: 3px solid #ffbf3f;
	outline-offset: 2px;
}

.masterheader:not(.mobile-header) .cat-nav-trigger .icon {
	height: 18px;
	position: relative;
	width: 18px;
}

.masterheader:not(.mobile-header) .cat-nav-trigger .icon .line {
	display: none;
}

.masterheader:not(.mobile-header) .cat-nav-trigger .icon::before {
	background: currentColor;
	border-radius: 1px;
	box-shadow: 9px 0 currentColor, 0 9px currentColor, 9px 9px currentColor;
	content: "";
	height: 6px;
	left: 1px;
	position: absolute;
	top: 1px;
	width: 6px;
}

.masterheader:not(.mobile-header) .cat-nav-trigger .title::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	display: inline-block;
	height: 7px;
	margin-left: 9px;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 180ms ease;
	width: 7px;
}

.masterheader:not(.mobile-header) .cat-nav-trigger[aria-expanded="true"] .title::after {
	transform: rotate(225deg) translate(-2px, -1px);
}

.mobile-header .cat-nav-trigger {
	align-items: center;
	background: var(--vpm-accent);
	border: 0;
	border-radius: 8px;
	color: #fff;
	display: flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	width: 48px;
}

.mobile-header .cat-nav-trigger .icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	height: 20px;
	justify-content: center;
	position: relative;
	width: 22px;
}

.mobile-header .cat-nav-trigger .line {
	background: currentColor;
	display: block;
	height: 2px;
	transition: opacity 180ms ease, transform 180ms ease;
	width: 22px;
}

.mobile-header .cat-nav-trigger[aria-expanded="true"] .line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-header .cat-nav-trigger[aria-expanded="true"] .line:nth-child(2) {
	opacity: 0;
}

.mobile-header .cat-nav-trigger[aria-expanded="true"] .line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

body.single-product .mobile-header .cat-nav-trigger,
body.tax-product_cat .mobile-header .cat-nav-trigger {
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.72);
}

/* Desktop panel. Geometry is set by JavaScript from the real theme container. */
.vpm--desktop {
	left: var(--vpm-left, 16px);
	max-height: calc(100dvh - var(--vpm-top, 160px) - 16px);
	position: fixed;
	top: var(--vpm-top, 160px);
	width: var(--vpm-width, calc(100vw - 32px));
	z-index: 1000001;
}

.vpm__surface {
	background: var(--vpm-panel);
	border: 1px solid var(--vpm-border);
	border-radius: 0 0 12px 12px;
	box-shadow: var(--vpm-shadow);
	display: flex;
	flex-direction: column;
	max-height: inherit;
	overflow: hidden;
	transform: translateY(-8px);
	transition: transform 180ms ease;
}

.vpm.is-visible .vpm__surface {
	transform: translateY(0);
}

.vpm__header {
	align-items: center;
	border-bottom: 1px solid var(--vpm-border);
	display: grid;
	flex: 0 0 auto;
	gap: 24px;
	grid-template-columns: minmax(240px, 1fr) minmax(280px, 0.9fr) auto;
	padding: 20px 24px;
}

.vpm__header h2,
.vpm__mobile-title h2 {
	color: var(--vpm-text);
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.vpm__header p,
.vpm__mobile-head p {
	color: var(--vpm-muted);
	font-size: 14px;
	margin: 4px 0 0;
}

.vpm__search-wrap {
	align-items: center;
	background: #fff;
	border: 1px solid var(--vpm-border);
	border-radius: 8px;
	display: flex;
	min-height: 46px;
	padding: 0 12px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.vpm__search-wrap:focus-within {
	border-color: var(--vpm-primary-interactive);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vpm-primary-interactive) 18%, transparent);
}

.vpm__search-wrap input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--vpm-text);
	flex: 1;
	height: 44px;
	min-width: 0;
	outline: 0;
	padding: 0 10px;
}

.vpm__search-wrap button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--vpm-muted);
	display: flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	width: 36px;
}

.vpm__view-all,
.vpm__category-all,
.vpm__text-link {
	align-items: center;
	color: var(--vpm-primary) !important;
	display: inline-flex;
	font-weight: 700;
	gap: 7px;
}

.vpm__view-all:hover,
.vpm__category-all:hover,
.vpm__text-link:hover {
	color: var(--vpm-primary-dark) !important;
	text-decoration: underline;
}

.vpm__desktop-body {
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: minmax(230px, 27%) minmax(360px, 47%) minmax(230px, 26%);
	min-height: 320px;
	overflow: auto;
}

.vpm__macros,
.vpm__subcategories,
.vpm__groups,
.vpm__support {
	padding: 24px;
}

.vpm__macros {
	background: #f8fafc;
	border-right: 1px solid var(--vpm-border);
}

.vpm__eyebrow {
	color: var(--vpm-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.vpm__macro-list,
.vpm__child-list,
.vpm__results ul,
.vpm__noscript ul,
.vpm-category-index ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vpm__macro-row {
	align-items: center;
	display: flex;
	margin: 2px 0;
	position: relative;
}

.vpm__macro-row::before {
	background: transparent;
	border-radius: 0 2px 2px 0;
	content: "";
	height: calc(100% - 8px);
	left: 0;
	position: absolute;
	top: 4px;
	width: 4px;
}

.vpm__macro-row.is-selected {
	background: var(--vpm-selected);
}

.vpm__macro-row.is-selected::before {
	background: var(--vpm-primary-interactive);
}

.vpm__macro-button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--vpm-text);
	display: grid;
	font-weight: 600;
	gap: 10px;
	grid-template-columns: 20px minmax(0, 1fr) 18px;
	min-height: 48px;
	padding: 8px 10px 8px 14px;
	text-align: left;
	width: 100%;
}

.vpm__macro-row.is-selected .vpm__macro-button {
	color: var(--vpm-primary);
}

.vpm__macro-direct {
	align-items: center;
	color: var(--vpm-primary);
	display: flex;
	height: 44px;
	justify-content: center;
	width: 36px;
}

.vpm__category-panel h3,
.vpm__group-card h3,
.vpm__support h3 {
	color: var(--vpm-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
}

.vpm__category-panel > p,
.vpm__group-card > p,
.vpm__support p,
.vpm__accordion-panel > p {
	color: var(--vpm-muted);
	font-size: 14px;
	margin: 0 0 16px;
}

.vpm__child-list {
	display: grid;
	gap: 2px 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 10px 0 18px;
}

.vpm__child-list a {
	align-items: center;
	border-bottom: 1px solid #edf2f7;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	min-height: 46px;
	padding: 8px 2px;
}

.vpm__child-list a:hover {
	color: var(--vpm-primary);
}

.vpm__support {
	align-self: stretch;
	background: var(--vpm-support);
	border-left: 1px solid var(--vpm-border);
}

.vpm__support > .vpm__icon {
	color: var(--vpm-primary);
	height: 28px;
	margin-bottom: 14px;
	width: 28px;
}

.vpm__button {
	align-items: center;
	border-radius: 7px;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.01em;
	min-height: 44px;
	padding: 10px 16px;
	text-align: center;
	text-transform: uppercase;
}

.vpm__button--primary {
	background: var(--vpm-accent);
	color: #fff !important;
}

.vpm__button--primary:hover {
	background: var(--vpm-accent-dark);
	color: #fff !important;
}

.vpm__button--outline {
	border: 1px solid var(--vpm-primary);
	color: var(--vpm-primary) !important;
}

.vpm__support .vpm__button,
.vpm__support .vpm__text-link {
	margin-top: 10px;
	width: 100%;
}

.vpm__footer {
	align-items: center;
	background: #fff;
	border-top: 1px solid var(--vpm-border);
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	min-height: 68px;
	padding: 10px 24px;
}

.vpm__footer > span {
	align-items: center;
	color: var(--vpm-muted);
	display: flex;
	gap: 9px;
}

.vpm__groups {
	display: grid;
	gap: 16px;
	grid-column: 1 / 3;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vpm-no-support .vpm__desktop-body {
	grid-template-columns: minmax(230px, 28%) minmax(0, 72%);
}

.vpm-no-support .vpm__groups {
	grid-column: 1 / -1;
}

.vpm__group-card {
	border: 1px solid var(--vpm-border);
	border-radius: 9px;
	padding: 18px;
}

.vpm__group-heading {
	align-items: center;
	display: flex;
	gap: 10px;
}

.vpm__group-heading > .vpm__icon {
	color: var(--vpm-primary);
}

.vpm__group-card .vpm__child-list {
	grid-template-columns: 1fr;
}

.vpm__search-state {
	flex: 1 1 auto;
	overflow: auto;
	padding: 22px 24px;
}

.vpm__results-label {
	color: var(--vpm-muted);
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 10px;
}

.vpm__results ul {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vpm__results li a {
	align-items: center;
	border: 1px solid var(--vpm-border);
	border-radius: 8px;
	display: grid;
	gap: 3px 8px;
	grid-template-columns: minmax(0, 1fr) 20px;
	min-height: 58px;
	padding: 9px 12px;
}

.vpm__results li a:hover {
	border-color: var(--vpm-primary-interactive);
	color: var(--vpm-primary);
}

.vpm__results li small {
	color: var(--vpm-muted);
	font-size: 12px;
	grid-column: 1;
}

.vpm__results li .vpm__icon {
	grid-column: 2;
	grid-row: 1 / 3;
}

.vpm__no-results,
.vpm__empty {
	padding: 32px;
	text-align: center;
}

.vpm__empty > p {
	color: var(--vpm-muted);
	margin: 8px 0 0;
}

.vpm__no-results a,
.vpm__empty a {
	color: var(--vpm-primary);
	display: inline-block;
	font-weight: 700;
	margin: 8px 12px;
}

/* Mobile/tablet drawer. */
.vpm--mobile {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: var(--vpm-mobile-top, 0);
	z-index: 1000002;
}

.vpm__backdrop {
	background: rgba(15, 23, 42, 0.64);
	border: 0;
	bottom: 0;
	left: 0;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.vpm__drawer {
	background: #fff;
	display: flex;
	flex-direction: column;
	height: calc(100dvh - var(--vpm-mobile-top, 0px));
	margin-left: auto;
	max-width: 720px;
	position: relative;
	transform: translateX(24px);
	transition: transform 180ms ease;
	width: min(90vw, 720px);
}

.vpm.is-visible .vpm__drawer {
	transform: translateX(0);
}

.vpm__mobile-head {
	border-bottom: 1px solid var(--vpm-border);
	flex: 0 0 auto;
	padding: 18px clamp(16px, 4vw, 28px) 14px;
}

.vpm__mobile-title {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
}

.vpm__mobile-title > .vpm__icon {
	color: var(--vpm-accent);
}

.vpm__mobile-scroll {
	-webkit-overflow-scrolling: touch;
	flex: 1 1 auto;
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 24px;
}

.vpm__accordions {
	padding: 0 clamp(16px, 4vw, 28px);
}

.vpm__accordion {
	border-bottom: 1px solid var(--vpm-border);
}

.vpm__accordion > button {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	display: grid;
	font-weight: 650;
	gap: 12px;
	grid-template-columns: 22px minmax(0, 1fr) 20px;
	min-height: 56px;
	padding: 8px 12px;
	position: relative;
	text-align: left;
	width: 100%;
}

.vpm__accordion.is-open > button {
	background: var(--vpm-selected);
	color: var(--vpm-primary);
}

.vpm__accordion.is-open > button::before {
	background: var(--vpm-primary-interactive);
	content: "";
	height: calc(100% - 8px);
	left: 0;
	position: absolute;
	top: 4px;
	width: 4px;
}

.vpm__accordion.is-open .vpm__icon--chevron {
	transform: rotate(180deg);
}

.vpm__accordion-panel {
	padding: 12px 14px 18px 40px;
}

.vpm__accordion-panel .vpm__child-list {
	display: block;
}

.vpm__accordion-panel .vpm__child-list a {
	min-height: 48px;
}

.vpm__mobile-support {
	padding: 20px clamp(16px, 4vw, 28px);
}

.vpm__mobile-support .vpm__support {
	border: 1px solid var(--vpm-border);
	border-radius: 10px;
	padding: 20px;
}

.vpm__mobile-footer {
	align-items: center;
	background: #fff;
	border-top: 1px solid var(--vpm-border);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.09);
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
	padding: 12px clamp(16px, 4vw, 28px) calc(12px + env(safe-area-inset-bottom));
}

.vpm__mobile-footer .vpm__button {
	flex: 1 1 auto;
}

.vpm__mobile-footer .vpm__text-link {
	flex: 0 1 auto;
	font-size: 14px;
	text-align: center;
}

body.vpm-scroll-locked {
	overflow: hidden;
}

.vpm__noscript {
	background: #fff;
	border: 2px solid var(--vpm-primary);
	padding: 16px;
}

.vpm-category-index {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.vpm-category-index__group {
	border: 1px solid var(--vpm-border);
	border-radius: 10px;
	padding: 20px;
}

.vpm-category-index__group h2 {
	font-size: 20px;
	margin: 0 0 12px;
}

.vpm-category-index__group li + li {
	margin-top: 8px;
}

@media (max-width: 1199px) and (min-width: 1024px) {
	.vpm__header {
		gap: 16px;
		grid-template-columns: minmax(210px, 0.9fr) minmax(260px, 1fr) auto;
	}

	.vpm__desktop-body {
		grid-template-columns: minmax(210px, 28%) minmax(330px, 46%) minmax(210px, 26%);
	}

	.vpm__groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.vpm--desktop {
		display: none !important;
	}
}

@media (min-width: 1024px) {
	.vpm--mobile {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.vpm__drawer {
		max-width: none;
		width: 100%;
	}

	.vpm__mobile-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.vpm__results ul {
		grid-template-columns: 1fr;
	}
}

@media (max-height: 560px) and (max-width: 1023px) {
	.vpm__mobile-footer .vpm__text-link {
		display: none;
	}

	.vpm__mobile-head {
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.vpm__mobile-title {
		margin-bottom: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vpm *,
	.masterheader .cat-nav-trigger * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.vpm {
		transition-duration: 0.01ms;
	}
}
