/* =========================================================
   VINHOS MENU APP — estilo "Vinhos do Italiano"
   ========================================================= */

:root {
	--vm-red: #7a1220;
	--vm-red-dark: #5e0d18;
	--vm-grey-bg: #efefef;
	--vm-grey-line: #d8d8d8;
	--vm-text: #3a3a3a;
	--vm-text-light: #7a7a7a;
	--vm-white: #ffffff;
	--vm-radius: 6px;
	--vm-max-width: 1440px;
}

.vm-header, .vm-header * , .vm-bottom-nav, .vm-bottom-nav *,
.vm-mobile-layer, .vm-mobile-layer *, .vm-mobile-topbar, .vm-mobile-topbar *,
.vm-mega-menu, .vm-mega-menu *,
.vm-drawer, .vm-drawer * {
	box-sizing: border-box;
}

.vm-container {
	max-width: var(--vm-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.vm-btn {
	display: inline-block;
	border: none;
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .3px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}
.vm-btn-primary {
	background: var(--vm-red);
	color: var(--vm-white);
}
.vm-btn-primary:hover {
	background: var(--vm-red-dark);
	color: var(--vm-white);
}

/* ---------- LINHA 1: topbar ---------- */
.vm-topbar {
	background: var(--vm-grey-bg);
	border-bottom: 1px solid var(--vm-grey-line);
	font-size: 14px;
	color: var(--vm-text);
}
.vm-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 10px 24px;
	gap: 10px;
}
.vm-welcome { display: flex; align-items: center; gap: 8px; }
.vm-welcome strong { color: var(--vm-red); }
.vm-shipping {
	color: var(--vm-red);
	font-weight: 800;
	letter-spacing: .5px;
}
.vm-toplinks a {
	color: var(--vm-text);
	text-decoration: none;
	margin-left: 22px;
	font-weight: 600;
}
.vm-toplinks a:hover { color: var(--vm-red); }

/* ---------- LINHA 2: logo / busca / login / carrinho ---------- */
.vm-mainbar { background: var(--vm-grey-bg); padding: 16px 0; }
.vm-mainbar-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}
.vm-logo { flex: 0 0 auto; display: flex; align-items: center; }
.vm-logo img { max-height: 90px; width: auto; }
.vm-logo-fallback { font-weight: 800; font-size: 20px; color: var(--vm-red); }

.vm-search-form {
	flex: 1 1 auto;
	position: relative;
	max-width: 900px;
}
.vm-search-box {
	display: flex;
	align-items: center;
	background: var(--vm-white);
	border: 1px solid #b9b9b9;
	border-radius: 999px;
}
.vm-search-input {
	flex: 1 1 auto;
	border: none;
	outline: none;
	padding: 12px 10px 12px 20px;
	font-size: 15px;
	font-style: italic;
	color: var(--vm-text);
	border-radius: 999px 0 0 999px;
	background: transparent;
}
.vm-search-submit {
	border-radius: 999px;
	margin: 4px;
	padding: 10px 26px;
}
.vm-search-suggestions {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	width: 100%;
	background: var(--vm-white);
	border: 1px solid var(--vm-grey-line);
	border-radius: 14px;
	max-height: 420px;
	overflow-y: auto;
	overflow-x: hidden;
	/* z-index bem alto: o painel agora recebe "position: fixed" calculado
	   em JS (ver vinhos-menu.js) para nunca ficar cortado por overflow do
	   construtor de página (Divi/Elementor); o z-index precisa ser maior
	   que o de qualquer seção/linha do construtor para aparecer por cima. */
	z-index: 999999;
	box-shadow: 0 16px 32px rgba(0,0,0,.12);
	padding: 18px 0;
}

/* ---- filtro de categoria, agora dentro do painel/subbuscador ---- */
.vm-panel-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 20px 14px;
	margin-bottom: 4px;
	border-bottom: 1px solid #f1f1f1;
}
.vm-panel-filter-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--vm-text-light);
	text-transform: uppercase;
	letter-spacing: .3px;
}
.vm-panel-filter .vm-search-cat {
	border: 1px solid var(--vm-grey-line);
	border-radius: 999px;
	background: var(--vm-white);
	padding: 6px 14px;
	font-size: 13px;
	color: var(--vm-text);
	max-width: 220px;
}

/* ---- título de seção comum aos dois estados do painel ---- */
.vm-panel-title {
	font-weight: 800;
	font-size: 14px;
	color: var(--vm-text);
	text-transform: lowercase;
}
.vm-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px 10px;
}
.vm-panel-section + .vm-panel-section {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f1f1f1;
}
.vm-panel-clear {
	background: none;
	border: none;
	color: var(--vm-text-light);
	font-size: 13px;
	cursor: pointer;
	padding: 0;
}
.vm-panel-clear:hover { color: var(--vm-red); text-decoration: underline; }

/* ---- estado vazio: histórico + mais buscados ---- */
.vm-history-list,
.vm-top-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.vm-history-item,
.vm-top-item,
.vm-suggest-item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 9px 20px;
	font-size: 15px;
	color: var(--vm-text);
	cursor: pointer;
	text-decoration: none;
}
.vm-history-item:hover,
.vm-top-item:hover,
.vm-suggest-item:hover { background: #faf4f4; }

.vm-icon-clock,
.vm-icon-search-sm {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--vm-red);
}
.vm-icon-clock::before,
.vm-icon-search-sm::before {
	content: "";
	position: absolute; inset: 0;
	background-color: currentColor;
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.vm-icon-clock::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16zm.5-13H11v6l5.2 3.1.8-1.3-4.5-2.7z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16zm.5-13H11v6l5.2 3.1.8-1.3-4.5-2.7z'/%3E%3C/svg%3E");
}
.vm-icon-search-sm::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.8l-.3-.3c1-1.1 1.6-2.7 1.6-4.2C16 5.9 13.1 3 9.5 3S3 5.9 3 9.5 5.9 16 9.5 16c1.6 0 3.1-.6 4.2-1.6l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.8l-.3-.3c1-1.1 1.6-2.7 1.6-4.2C16 5.9 13.1 3 9.5 3S3 5.9 3 9.5 5.9 16 9.5 16c1.6 0 3.1-.6 4.2-1.6l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14z'/%3E%3C/svg%3E");
}

.vm-top-rank {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--vm-red);
	color: var(--vm-white);
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---- estado com resultados: lista única de produtos ---- */
.vm-search-results-list { display: flex; flex-direction: column; }

.vm-search-result-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 24px;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid #f1f1f1;
	transition: background .15s ease;
}
.vm-search-result-row:last-child { border-bottom: none; }
.vm-search-result-row:hover { background: #faf4f4; }

.vm-search-result-img {
	flex: 0 0 auto;
	width: 64px; height: 64px;
	display: flex; align-items: center; justify-content: center;
	background: #fafafa;
	border: 1px solid var(--vm-grey-line);
	border-radius: 6px;
	padding: 6px;
}
.vm-search-result-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.vm-search-result-body { flex: 1 1 auto; min-width: 0; }
.vm-search-result-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #222;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vm-search-result-subtitle { margin: 0; font-size: 13px; font-weight: 600; color: var(--vm-red); }

.vm-search-result-side { flex: 0 0 auto; text-align: right; }
.vm-search-result-price { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: #222; white-space: nowrap; }
.vm-search-result-pix { font-size: 12px; font-weight: 600; color: var(--vm-text-light); }
.vm-search-result-rating { display: flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.vm-search-result-count { font-size: 12px; color: var(--vm-text-light); }

.vm-panel-empty-message {
	padding: 10px 20px;
	color: var(--vm-text-light);
	font-size: 14px;
}

@media (max-width: 640px) {
	.vm-search-result-row { padding: 12px 16px; gap: 12px; }
	.vm-search-result-img { width: 52px; height: 52px; }
	.vm-search-result-title { font-size: 14px; }
	.vm-search-result-price { font-size: 15px; }
}

.vm-account, .vm-cart { flex: 0 0 auto; position: relative; }

/* ---------- Submenu "Minha Conta" (desktop) ----------
   Some ao passar o mouse (hover) ou ao navegar por teclado (focus-within).
   A classe .is-open (via JS) cobre o caso de toque em telas híbridas. */
.vm-account-submenu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 190px;
	margin-top: 10px;
	background: var(--vm-white);
	border: 1px solid var(--vm-grey-line);
	border-radius: var(--vm-radius);
	box-shadow: 0 14px 30px rgba(0,0,0,.14);
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 60;
}
/* "ponte" invisível entre o link e o submenu, para o hover não cair
   fora ao mover o mouse na diagonal até a caixa. */
.vm-account-submenu::before {
	content: "";
	position: absolute;
	top: -10px; left: 0; right: 0; height: 10px;
}
.vm-account.vm-has-submenu:hover .vm-account-submenu,
.vm-account.vm-has-submenu:focus-within .vm-account-submenu,
.vm-account.vm-has-submenu.is-open .vm-account-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.vm-account-submenu-link {
	display: block;
	padding: 10px 14px;
	border-radius: calc(var(--vm-radius) - 2px);
	color: var(--vm-text);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}
.vm-account-submenu-link:hover,
.vm-account-submenu-link:focus {
	background: #faf4f4;
	color: var(--vm-red);
}
.vm-account-submenu-logout {
	color: var(--vm-red);
	border-top: 1px solid var(--vm-grey-line);
	margin-top: 4px;
	padding-top: 12px;
}

.vm-account-link, .vm-cart-link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--vm-red);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.25;
}
.vm-icon { position: relative; display: inline-flex; width: 26px; height: 26px; }
.vm-icon::before {
	content: "";
	position: absolute; inset: 0;
	background-color: currentColor;
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.vm-icon-user::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.7 0 4.9-2.2 4.9-4.9S14.7 2.2 12 2.2 7.1 4.4 7.1 7.1 9.3 12 12 12zm0 2.5c-3.3 0-9.8 1.6-9.8 4.9V22h19.6v-2.6c0-3.3-6.5-4.9-9.8-4.9z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.7 0 4.9-2.2 4.9-4.9S14.7 2.2 12 2.2 7.1 4.4 7.1 7.1 9.3 12 12 12zm0 2.5c-3.3 0-9.8 1.6-9.8 4.9V22h19.6v-2.6c0-3.3-6.5-4.9-9.8-4.9z'/%3E%3C/svg%3E");
}
.vm-icon-cart::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h-2l-1 2H2v2h2l3.6 7.6-1.4 2.5c-.5.9.1 2 1.2 2h11.6v-2H8l1.1-2h7.5c.8 0 1.4-.4 1.8-1.1l3.6-6.6c.4-.8-.2-1.8-1.1-1.8H6.2l-.9-1.6zM7 20a2 2 0 100-4 2 2 0 000 4zm10 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h-2l-1 2H2v2h2l3.6 7.6-1.4 2.5c-.5.9.1 2 1.2 2h11.6v-2H8l1.1-2h7.5c.8 0 1.4-.4 1.8-1.1l3.6-6.6c.4-.8-.2-1.8-1.1-1.8H6.2l-.9-1.6zM7 20a2 2 0 100-4 2 2 0 000 4zm10 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
}
.vm-icon-search::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.8l-.3-.3c1-1.1 1.6-2.7 1.6-4.2C16 5.9 13.1 3 9.5 3S3 5.9 3 9.5 5.9 16 9.5 16c1.6 0 3.1-.6 4.2-1.6l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.8l-.3-.3c1-1.1 1.6-2.7 1.6-4.2C16 5.9 13.1 3 9.5 3S3 5.9 3 9.5 5.9 16 9.5 16c1.6 0 3.1-.6 4.2-1.6l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14z'/%3E%3C/svg%3E");
}
.vm-icon-home::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v8h6v-6h2v6h6v-8h3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v8h6v-6h2v6h6v-8h3z'/%3E%3C/svg%3E");
}
.vm-icon-grid::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E");
}
.vm-cart-count {
	position: absolute;
	top: -6px; right: -6px;
	background: var(--vm-red);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	width: 16px; height: 16px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	line-height: 1;
}

/* ---------- LINHA 3: navbar + mega menu ---------- */
.vm-navbar { background: #e4e4e4; border-top: 3px solid #bdbdbd; border-bottom: 1px solid var(--vm-grey-line); position: relative; z-index: 40; }
.vm-navbar-inner { display: flex; align-items: stretch; gap: 6px; position: relative; }
.vm-navlink {
	display: flex; align-items: center;
	padding: 16px 14px;
	color: var(--vm-text);
	text-decoration: none;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .3px;
	opacity: 1;
	max-width: 260px;
	white-space: nowrap;
	transition: opacity .22s ease, max-width .4s ease .05s, padding .4s ease .05s, margin .4s ease .05s;
}
.vm-navlink:hover { color: var(--vm-red); }
.vm-navlinks-right {
	margin-left: auto;
	display: flex;
	opacity: 1;
	max-width: 600px;
	transition: opacity .22s ease, max-width .4s ease .05s, margin .4s ease .05s;
}

/* Estado "categorias aberto" (desktop, estilo Netshoes): os demais itens
   do menu somem (fade + colapso de largura) enquanto o botão "TODAS
   CATEGORIAS" desliza sozinho até a ponta direita da barra. */
.vm-navbar-collapsed .vm-navlink {
	opacity: 0;
	max-width: 0;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
	pointer-events: none;
	transition: opacity .18s ease, max-width .38s ease .06s, padding .38s ease .06s, margin .38s ease .06s;
}
.vm-navbar-collapsed .vm-navlinks-right {
	opacity: 0;
	max-width: 0;
	margin-left: 0;
	pointer-events: none;
	transition: opacity .18s ease, max-width .38s ease .06s, margin .38s ease .06s;
}

.vm-cat-trigger-wrap {
	/* Fica ESTÁTICO (sem transform) — é aqui dentro que o submenu
	   #vm-mega-menu é posicionado (position:absolute; top:100%; left:0),
	   então ele precisa continuar exatamente no mesmo lugar de sempre.
	   Só o botão .vm-cat-trigger (abaixo) desliza sozinho. */
	position: relative;
}
.vm-cat-trigger {
	height: 100%;
	background: var(--vm-red);
	color: #fff;
	border-radius: 0;
	padding: 16px 26px;
	font-size: 14px;
	display: flex; align-items: center; gap: 10px;
	position: relative;
	transform: translateX(0);
	transition: transform .42s cubic-bezier(.4,0,.2,1);
}
.vm-navbar-collapsed .vm-cat-trigger {
	transform: translateX(var(--vm-cat-slide, 0px));
}
.vm-cat-trigger:hover { background: var(--vm-red-dark); }
.vm-cat-trigger-label { font-size: 12px; }

/* Ícone "hambúrguer" (3 risquinhos) que vira "X" ao abrir — estilo Netshoes. */
.vm-hamburger {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 23px;
	height: 13px;
}
.vm-hamburger-line {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.vm-hamburger-line:nth-child(1) { top: 0; }
.vm-hamburger-line:nth-child(2) { top: 5.5px; }
.vm-hamburger-line:nth-child(3) { top: 11px; }

.vm-cat-trigger[aria-expanded="true"] .vm-hamburger-line:nth-child(1) {
	top: 5.5px;
	transform: rotate(45deg);
}
.vm-cat-trigger[aria-expanded="true"] .vm-hamburger-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.vm-cat-trigger[aria-expanded="true"] .vm-hamburger-line:nth-child(3) {
	top: 5.5px;
	transform: rotate(-45deg);
}

.vm-mega-menu {
	position: absolute;
	top: 100%; left: 0;
	background: var(--vm-white);
	box-shadow: 0 20px 44px rgba(0,0,0,.18);
	border-radius: 0 0 10px 10px;
	z-index: 50;
	width: 980px;
	max-width: calc(100vw - 48px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
	pointer-events: none;
}
.vm-mega-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.vm-mega-close { display: none; }

.vm-mega-menu-inner { padding: 26px 30px 30px; }

/* ---- topo: "Categorias" + carrossel de ícones ---- */
.vm-mega-top { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.vm-mega-heading { flex: 0 0 auto; margin: 0; font-size: 22px; font-weight: 800; color: #1c1c1c; }

.vm-cat-icons-wrap { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.vm-cat-icons-track {
	flex: 1 1 auto;
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 2px;
}
.vm-cat-icons-track::-webkit-scrollbar { display: none; }

.vm-cat-icon-card {
	flex: 0 0 auto;
	width: 116px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #fff;
	border: 1.5px solid var(--vm-grey-line);
	border-radius: 10px;
	padding: 16px 8px;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vm-cat-icon-card:hover,
.vm-cat-icon-card.is-active {
	border-color: var(--vm-red);
	box-shadow: 0 8px 18px rgba(122,18,32,.14);
	transform: translateY(-2px);
}
.vm-cat-icon-graphic { width: 38px; height: 38px; color: var(--vm-red); display: block; }
.vm-cat-icon-graphic svg { width: 100%; height: 100%; display: block; }
.vm-cat-icon-label { font-size: 12.5px; font-weight: 700; color: #2c2c2c; text-align: center; line-height: 1.25; }

.vm-carousel-nav {
	flex: 0 0 auto;
	width: 28px; height: 28px;
	border-radius: 50%;
	border: 1px solid var(--vm-grey-line);
	background: #fff;
	color: var(--vm-red);
	cursor: pointer;
	font-size: 12px;
	transition: background .15s, transform .15s;
}
.vm-carousel-nav:hover { background: var(--vm-grey-bg); }
.vm-carousel-nav:active { transform: scale(.92); }

/* ---- "Linha de Vinhos" (produtos) + card grande de pré-visualização ---- */
.vm-mega-bottom { display: flex; gap: 0; border-top: 1px solid var(--vm-grey-line); padding-top: 20px; }

.vm-mega-products-col { flex: 1 1 62%; min-width: 0; padding-right: 26px; border-right: 1px solid var(--vm-grey-line); }
.vm-products-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vm-products-title { margin: 0; font-size: 17px; font-weight: 800; color: var(--vm-red); }
.vm-products-nav { display: flex; gap: 6px; }

.vm-products-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 2px 2px 6px;
}
.vm-products-track::-webkit-scrollbar { display: none; }

.vm-product-card2 {
	position: relative;
	flex: 0 0 180px;
	border: 2px solid var(--vm-grey-line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}
.vm-product-card2:hover,
.vm-product-card2.is-active {
	border-color: var(--vm-red);
	box-shadow: 0 10px 22px rgba(122,18,32,.14);
	transform: translateY(-3px);
}
.vm-product-card2-link { display: block; padding: 14px; text-decoration: none; color: inherit; }
.vm-product-card2-img { height: 148px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.vm-product-card2-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .2s ease; }
.vm-product-card2:hover .vm-product-card2-img img { transform: scale(1.04); }
.vm-product-card2-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #222;
	line-height: 1.3;
	min-height: 34px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vm-product-card2-cat { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; color: var(--vm-red); }
.vm-product-card2-price { margin: 0 0 6px; font-size: 13.5px; color: #333; }
.vm-product-card2-rating { display: flex; align-items: center; gap: 6px; }

.vm-wish-btn {
	position: absolute;
	top: 10px; right: 10px;
	width: 26px; height: 26px;
	border-radius: 50%;
	border: 1px solid var(--vm-grey-line);
	background: #fff;
	color: #b9b9b9;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: color .15s, border-color .15s, transform .15s;
	z-index: 2;
}
.vm-wish-btn:hover { transform: scale(1.1); }
.vm-wish-btn.is-active { color: var(--vm-red); border-color: var(--vm-red); }
.vm-wish-btn.is-active svg { fill: currentColor; }

.vm-stars { color: #f2a900; letter-spacing: 1px; font-size: 14px; }
.vm-rating-num {
	background: var(--vm-grey-bg);
	color: var(--vm-text);
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	padding: 2px 8px;
}

.vm-products-all-btn { display: inline-block; margin-top: 6px; }

.vm-product-banner {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px;
	padding: 30px 24px;
	text-decoration: none;
	text-align: center;
	background: #fafafa;
	border-radius: 8px;
	width: 100%;
}
.vm-product-banner-logo { width: 70px; height: 70px; object-fit: contain; }
.vm-product-banner-title { font-size: 24px; font-weight: 800; color: var(--vm-text); line-height: 1.1; }
.vm-product-banner-btn { margin-top: 6px; }

/* ---- card grande de pré-visualização (lado direito) ---- */
.vm-mega-preview {
	flex: 0 0 300px;
	padding-left: 26px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	min-width: 0;
	animation: vm-fade-in .18s ease;
}
@keyframes vm-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.vm-mega-preview-imgwrap {
	display: flex; align-items: center; justify-content: center;
	height: 220px;
	border: 1px solid var(--vm-grey-line);
	border-radius: 8px;
	margin-bottom: 12px;
}
.vm-mega-preview-imgwrap img { max-height: 92%; max-width: 90%; object-fit: contain; }
.vm-mega-preview-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--vm-red); }
.vm-mega-preview-price { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: #222; }
.vm-mega-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vm-mega-preview-btn { flex: 0 0 auto; }

/* =========================================================
   MOBILE / RESPONSIVO — estilo aplicativo
   ========================================================= */
@media (max-width: 960px) {

	.vm-topbar-inner { justify-content: center; text-align: center; }
	.vm-toplinks { display: none; }
	.vm-welcome { display: none; }

	.vm-mainbar-inner { flex-wrap: nowrap; gap: 12px; }
	.vm-account-text, .vm-cart-text { display: none; }
	.vm-account, .vm-cart { display: none; } /* ações movidas para a barra inferior */
	.vm-logo img { max-height: 60px; }

	/* a barra de navegação desktop (links + botão "TODAS CATEGORIAS") não é
	   mostrada no celular — o acesso às categorias é pelo botão "Categorias"
	   da barra inferior — mas o próprio elemento continua no DOM (sem
	   display:none) para que o submenu #vm-mega-menu, que é posicionado como
	   tela cheia (position:fixed), não seja escondido junto com ela. */
	.vm-navbar { border-top: 0; border-bottom: 0; min-height: 0; }
	.vm-navbar-inner { padding: 0; min-height: 0; }
	.vm-cat-trigger,
	.vm-navlink,
	.vm-navlinks-right { display: none; }

	/* ---- SUBMENU "Categorias" em tela cheia (mesmo #vm-mega-menu do desktop) ---- */
	.vm-mega-menu {
		position: fixed; inset: 0;
		width: auto; max-width: none;
		border-radius: 0;
		z-index: 99999; /* acima da barra do topo, da barra inferior e do header do tema */
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateY(14px);
		box-shadow: none;
	}
	/* sem transform quando aberto: assim o botão X (position: fixed) fica
	   preso à tela e não rola junto com o conteúdo do submenu. */
	.vm-mega-menu.is-open { transform: none; }
	.vm-mega-menu-inner { padding: 78px 18px 40px; }

	/* X bem visível para fechar, sempre fixo no topo, acima de tudo */
	.vm-mega-close {
		display: flex;
		align-items: center; justify-content: center;
		position: fixed; top: 14px; right: 14px;
		width: 46px; height: 46px;
		border-radius: 50%;
		background: var(--vm-red);
		color: #fff;
		border: none;
		font-size: 26px;
		line-height: 1;
		box-shadow: 0 8px 18px rgba(0,0,0,.28);
		z-index: 10;
		transition: transform .15s ease, background .15s ease;
	}
	.vm-mega-close:hover { background: var(--vm-red-dark); }
	.vm-mega-close:active { transform: scale(.92); }

	.vm-mega-top { flex-direction: column; align-items: flex-start; gap: 12px; }
	.vm-mega-heading { font-size: 19px; }
	.vm-cat-icons-wrap { width: 100%; }
	.vm-cat-icon-card { width: 96px; padding: 12px 6px; }
	.vm-cat-icon-graphic { width: 32px; height: 32px; }
	.vm-cat-icon-label { font-size: 11.5px; }

	.vm-mega-bottom { flex-direction: column; border-top: none; padding-top: 14px; }
	.vm-mega-products-col { padding-right: 0; border-right: none; padding-bottom: 4px; }
	.vm-product-card2 { flex-basis: 150px; }
	.vm-product-card2-img { height: 120px; }

	.vm-mega-preview {
		flex-basis: auto;
		padding-left: 0;
		margin-top: 18px;
		padding: 16px;
		border: 1px solid var(--vm-grey-line);
		border-radius: 10px;
	}
	.vm-mega-preview-imgwrap { height: 190px; }

	/* trava o scroll do body enquanto o submenu está aberto em tela cheia */
	html.vm-noscroll,
	html.vm-noscroll body { overflow: hidden; height: 100%; }

	/* bottom nav estilo app */
	.vm-bottom-nav {
		position: fixed; bottom: 0; left: 0; right: 0;
		background: #fff;
		border-top: 1px solid var(--vm-grey-line);
		display: flex;
		z-index: 190;
		box-shadow: 0 -6px 16px rgba(0,0,0,.08);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
	.vm-bottom-item {
		flex: 1 1 0;
		display: flex; flex-direction: column; align-items: center; justify-content: center;
		gap: 4px;
		padding: 8px 4px 6px;
		background: none; border: none;
		color: var(--vm-text-light);
		text-decoration: none;
		font-size: 11px;
		font-weight: 700;
	}
	.vm-bottom-item .vm-icon { width: 22px; height: 22px; }
	.vm-bottom-item.is-active,
	.vm-bottom-item:active { color: var(--vm-red); }


	/* item central "logo" — substitui o antigo botão de busca da barra
	   inferior; a busca agora vive na barra fixa do topo. Fica elevado
	   acima da linha da barra, com anel dourado, estilo selo/brasão. */
	.vm-bottom-logo-item {
		flex: 1 1 0;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}
	.vm-bottom-logo-btn {
		width: 54px;
		height: 54px;
		border-radius: 50%;
		background: var(--vm-white);
		border: 2px solid #d8b25a;
		box-shadow: 0 6px 14px rgba(0,0,0,.18);
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		transform: translateY(-13px);
		transition: transform .15s ease;
	}
	.vm-bottom-logo-btn:active { transform: translateY(-13px) scale(.94); }
	.vm-bottom-logo-btn img { width: 100%; height: 100%; object-fit: cover; }
	.vm-bottom-logo-btn .vm-bottom-logo-fallback {
		width: 100%; height: 100%;
		display: flex; align-items: center; justify-content: center;
		color: var(--vm-red);
		background: var(--vm-grey-bg);
	}
	.vm-bottom-logo-btn .vm-bottom-logo-fallback svg { width: 60%; height: 60%; }

	.vm-bottom-nav-spacer { height: 62px; }
}

/* =========================================================
   BARRA FIXA MOBILE (TOPO) — busca + WhatsApp + nossas lojas
   Substitui, no celular, as linhas 1 e 2 do cabeçalho desktop
   (aviso de frete / boas-vindas / logo) por uma única barra
   enxuta, fixa no topo, sempre visível ao rolar a página.
   ========================================================= */
.vm-mobile-topbar { display: none; }

@media (max-width: 960px) {
	.vm-topbar,
	.vm-mainbar { display: none; }

	.vm-mobile-topbar {
		display: block;
		position: fixed;
		top: 0; left: 0; right: 0;
		background: var(--vm-white);
		z-index: 250;
		padding: 10px 14px;
		box-shadow: 0 2px 10px rgba(0,0,0,.07);
	}
	.vm-mobile-topbar-inner {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.vm-mobile-topbar-actions {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 0 2px;
	}
	.vm-mobile-icon-btn {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 26px;
		height: 26px;
		color: var(--vm-red);
		text-decoration: none;
		background: none;
		transition: transform .15s ease, opacity .15s ease;
	}
	.vm-mobile-icon-btn:active { transform: scale(.9); opacity: .75; }

	.vm-mobile-topbar-spacer { height: 62px; }
}

@media (min-width: 961px) {
	.vm-mega-close,
	.vm-bottom-nav,
	.vm-bottom-nav-spacer,
	.vm-mobile-topbar,
	.vm-mobile-topbar-spacer { display: none !important; }
}

@media (max-width: 600px) {
	.vm-mainbar-inner { gap: 8px; }
	.vm-product-card2 { flex-basis: 132px; }
	.vm-product-card2-img { height: 105px; }
	.vm-cat-icon-card { width: 84px; }
}

/* =========================================================
   BUSCA MOBILE — campo de verdade no topo (mesmo visual do desktop:
   pílula com borda + botão vermelho) e painel de resultados em
   tela cheia logo abaixo da barra, com histórico, mais buscados,
   filtro de categoria e lista de produtos — igual ao desktop.
   Vários !important porque temas/construtores de página costumam
   estilizar todo <input> e <button> do site e desmontavam o campo.
   ========================================================= */
@media (max-width: 960px) {
	.vm-mobile-topbar {
		height: 62px;
		padding: 10px 14px;
	}
	.vm-mobile-topbar-inner { height: 100%; }

	.vm-mobile-topbar .vm-search-form-mobile {
		display: block !important;
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
		margin: 0 !important;
		padding: 0 !important;
		position: static;
	}
	.vm-mobile-topbar .vm-search-box {
		display: flex;
		align-items: center;
		height: 42px;
		margin: 0;
		padding: 0;
		background: var(--vm-white);
		border: 1.5px solid #b9b9b9;
		border-radius: 999px;
		transition: border-color .15s ease;
	}
	.vm-mobile-topbar.is-searching .vm-search-box { border-color: var(--vm-red); }

	.vm-mobile-topbar .vm-search-input {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 8px 0 16px !important;
		border: 0 !important;
		outline: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
		border-radius: 999px 0 0 999px !important;
		font-size: 16px !important; /* 16px evita o zoom automático do iPhone ao tocar no campo */
		font-style: italic;
		line-height: normal !important;
		color: var(--vm-text) !important;
		-webkit-appearance: none;
		appearance: none;
	}
	.vm-mobile-topbar .vm-search-submit {
		flex: 0 0 auto;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 34px !important;
		height: 34px !important;
		margin: 0 3px 0 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 50% !important;
		background: var(--vm-red) !important;
		color: #fff !important;
		line-height: 1;
		box-shadow: none !important;
	}
	.vm-mobile-topbar .vm-search-submit svg { display: block; }

	/* "Cancelar" — só aparece enquanto a busca está aberta; nesse momento
	   os ícones de WhatsApp/lojas dão lugar a ele. */
	.vm-mobile-search-cancel {
		display: none;
		flex: 0 0 auto;
		background: none !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 2px !important;
		margin: 0 !important;
		color: var(--vm-red) !important;
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
	}
	.vm-mobile-topbar.is-searching .vm-mobile-search-cancel { display: block; }
	.vm-mobile-topbar.is-searching .vm-mobile-topbar-actions { display: none; }

	/* Painel de resultados: tela cheia abaixo da barra, rolagem própria.
	   É filho da barra fixa, então nenhum wrapper do tema consegue cortá-lo. */
	.vm-mobile-topbar .vm-search-suggestions-mobile {
		position: fixed !important;
		top: var(--vm-topbar-h, 62px) !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: auto !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 10px 0 90px;
		background: var(--vm-white);
		border: 0;
		border-top: 1px solid var(--vm-grey-line);
		border-radius: 0;
		box-shadow: none;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		z-index: 5;
	}
	.vm-mobile-topbar .vm-search-suggestions-mobile[hidden] { display: none !important; }
	.vm-mobile-topbar .vm-panel-filter .vm-search-cat { font-size: 16px; max-width: 65%; }
	.vm-mobile-topbar .vm-panel-empty-message { padding: 14px 20px; }
}

/* =========================================================
   MENU LATERAL (mobile) — estilo tela de apps do iPhone,
   fundo branco, ícones pretos com detalhes vermelhos.
   Abre pela direita ao tocar no ☰ da barra do topo.
   ========================================================= */
.vm-mobile-menu-btn {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	box-shadow: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.vm-drawer, .vm-drawer-overlay { display: none; }

@media (max-width: 960px) {
	.vm-drawer-overlay {
		display: block;
		position: fixed; inset: 0;
		background: rgba(0,0,0,.45);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
		z-index: 100000;
	}
	.vm-drawer-overlay.is-open { opacity: 1; visibility: visible; }

	.vm-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: min(88vw, 400px);
		background: #fff;
		border-radius: 24px 0 0 24px;
		box-shadow: -14px 0 44px rgba(0,0,0,.24);
		transform: translateX(104%);
		visibility: hidden;
		transition: transform .36s cubic-bezier(.32,.72,0,1), visibility .36s;
		z-index: 100001;
		padding-top: env(safe-area-inset-top, 0);
		padding-bottom: env(safe-area-inset-bottom, 0);
		font-family: inherit;
	}
	.vm-drawer.is-open { transform: none; visibility: visible; }

	.vm-drawer-head {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 18px 18px 8px 22px;
	}
	.vm-drawer-brand img { display: block; max-height: 36px; width: auto; }
	.vm-drawer-brand-text { font-size: 19px; font-weight: 800; color: var(--vm-red); line-height: 1.1; }
	.vm-drawer-close {
		flex: 0 0 auto;
		display: flex; align-items: center; justify-content: center;
		width: 38px; height: 38px;
		border-radius: 50% !important;
		border: 0 !important;
		background: #f1f1f2 !important;
		color: #111 !important;
		padding: 0 !important;
		box-shadow: none !important;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.vm-drawer-close:active { background: #e4e4e6 !important; }

	/* "telas" internas (principal + submenus) deslizam lado a lado */
	.vm-drawer-views { position: relative; flex: 1 1 auto; overflow: hidden; }
	.vm-drawer-view {
		position: absolute; inset: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		transform: translateX(100%);
		opacity: 0;
		visibility: hidden;
		transition: transform .34s cubic-bezier(.32,.72,0,1), opacity .26s ease, visibility .34s;
	}
	.vm-drawer-view.is-active { transform: none; opacity: 1; visibility: visible; }
	.vm-drawer-view.is-left { transform: translateX(-28%); opacity: 0; visibility: hidden; }

	/* grade: 3 ícones por linha, descendo */
	.vm-drawer-grid {
		list-style: none;
		margin: 0;
		padding: 18px 16px 40px;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 26px 8px;
	}
	.vm-drawer-grid li { margin: 0; padding: 0; list-style: none; }

	.vm-drawer-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 9px;
		width: 100%;
		margin: 0 !important;
		padding: 0 !important;
		background: none !important;
		border: 0 !important;
		box-shadow: none !important;
		color: #111 !important;
		text-decoration: none !important;
		font-family: inherit;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.vm-drawer-icon {
		position: relative;
		display: flex; align-items: center; justify-content: center;
		width: 68px; height: 68px;
		border-radius: 19px;
		background: #f4f4f5;
		border: 1px solid #e9e9ec;
		box-shadow: 0 3px 8px rgba(0,0,0,.07), inset 0 1px 0 #fff;
		color: #111;
		transition: transform .16s ease, background .16s ease, border-color .16s ease;
	}
	.vm-drawer-icon svg { display: block; width: 36px; height: 36px; }
	.vm-drawer-icon .vm-a { stroke: var(--vm-red); }
	.vm-drawer-icon .vm-af { fill: var(--vm-red); stroke: none; }
	.vm-drawer-item:active .vm-drawer-icon { transform: scale(.91); background: #ebebee; }

	/* "pasta" (item com submenu): selinho vermelho com seta no canto */
	.vm-drawer-folder .vm-drawer-icon::after {
		content: "\203A";
		position: absolute; right: -6px; bottom: -6px;
		box-sizing: content-box;
		width: 15px; height: 15px;
		border: 2px solid #fff;
		border-radius: 50%;
		background: var(--vm-red);
		color: #fff;
		font-size: 15px; font-weight: 700; line-height: 14px; text-align: center;
	}

	.vm-drawer-label {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		max-width: 100%;
		font-size: 12.5px;
		font-weight: 600;
		line-height: 1.25;
		text-align: center;
		color: #1c1c1c;
		overflow-wrap: anywhere;
	}
	.vm-drawer-item.is-current .vm-drawer-label { color: var(--vm-red); }
	.vm-drawer-item.is-current .vm-drawer-icon { border-color: var(--vm-red); }

	/* submenu (pasta aberta) */
	.vm-drawer-back {
		display: inline-flex; align-items: center; gap: 2px;
		margin: 6px 0 0 10px !important;
		padding: 10px 8px !important;
		background: none !important;
		border: 0 !important;
		box-shadow: none !important;
		color: var(--vm-red) !important;
		font-size: 16px; font-weight: 700;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.vm-drawer-sub-title {
		margin: 0; padding: 2px 22px 14px;
		font-size: 25px; font-weight: 800; line-height: 1.15;
		color: #111;
	}
	.vm-drawer-sublist { list-style: none; margin: 0; padding: 0 16px 40px; }
	.vm-drawer-sublist li { margin: 0; padding: 0; list-style: none; }
	.vm-drawer-sub-item {
		display: flex; align-items: center; gap: 14px;
		padding: 12px 6px;
		border-bottom: 1px solid #f0f0f2;
		text-decoration: none !important;
		color: #1c1c1c !important;
		-webkit-tap-highlight-color: transparent;
	}
	.vm-drawer-sub-item:active { background: #faf4f4; }
	.vm-drawer-sub-icon {
		flex: 0 0 auto;
		display: flex; align-items: center; justify-content: center;
		width: 46px; height: 46px;
		border-radius: 13px;
		background: #f4f4f5;
		border: 1px solid #e9e9ec;
		color: #111;
	}
	.vm-drawer-sub-icon svg { display: block; width: 26px; height: 26px; }
	.vm-drawer-sub-icon .vm-a { stroke: var(--vm-red); }
	.vm-drawer-sub-label { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
	.vm-drawer-sub-chev { flex: 0 0 auto; color: #b9b9be; }
	.vm-drawer-sub-item.is-current .vm-drawer-sub-label { color: var(--vm-red); }
}

@media (min-width: 961px) {
	.vm-drawer, .vm-drawer-overlay { display: none !important; }
}

/* =========================================================
   FOLHA "MINHA CONTA" (mobile) — sobe do rodapé, título no topo,
   links em grade lado a lado com ícone em cima e nome embaixo,
   igual ao menu lateral estilo app (iPhone).
   ========================================================= */
.vm-account-sheet, .vm-account-sheet-overlay { display: none; }

@media (max-width: 960px) {
	.vm-account-sheet-overlay {
		display: block;
		position: fixed; inset: 0;
		background: rgba(0,0,0,.45);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
		z-index: 100000;
	}
	.vm-account-sheet-overlay.is-open { opacity: 1; visibility: visible; }

	.vm-account-sheet {
		display: flex;
		flex-direction: column;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		min-height: 46vh;
		max-height: 62vh;
		background: #fff;
		border-radius: 22px 22px 0 0;
		box-shadow: 0 -14px 44px rgba(0,0,0,.24);
		transform: translateY(100%);
		visibility: hidden;
		transition: transform .36s cubic-bezier(.32,.72,0,1), visibility .36s;
		z-index: 100001;
		padding-bottom: env(safe-area-inset-bottom, 0);
		font-family: inherit;
	}
	.vm-account-sheet.is-open { transform: none; visibility: visible; }

	.vm-account-sheet-handle {
		flex: 0 0 auto;
		width: 40px; height: 4px;
		border-radius: 999px;
		background: #ddd;
		margin: 10px auto 0;
	}
	.vm-account-sheet-head {
		flex: 0 0 auto;
		display: flex; align-items: center; justify-content: space-between;
		padding: 12px 20px 4px 22px;
	}
	.vm-account-sheet-title { margin: 0; font-size: 18px; font-weight: 800; color: #1c1c1c; }
	.vm-account-sheet-close {
		flex: 0 0 auto;
		display: flex; align-items: center; justify-content: center;
		width: 34px; height: 34px;
		border-radius: 50% !important;
		border: 0 !important;
		background: #f1f1f2 !important;
		color: #111 !important;
		padding: 0 !important;
		box-shadow: none !important;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.vm-account-sheet-close:active { background: #e4e4e6 !important; }

	.vm-account-sheet-body {
		flex: 1 1 auto;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.vm-account-sheet-greeting {
		margin: 6px 0 2px;
		font-size: 13px;
		font-weight: 600;
		color: var(--vm-text-light);
		text-align: center;
	}

	/* grade: ícones grandes lado a lado, estilo app (mesmo espírito do
	   menu lateral, só que com peças maiores por terem só 2 opções). */
	.vm-account-sheet-grid {
		list-style: none;
		margin: 0;
		padding: 26px 24px 38px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 30px;
		width: 100%;
		max-width: 320px;
	}
	.vm-account-sheet-grid li { margin: 0; padding: 0; list-style: none; }

	.vm-account-sheet-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 11px;
		width: 100%;
		text-decoration: none !important;
		color: #111 !important;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.vm-account-sheet-icon {
		display: flex; align-items: center; justify-content: center;
		width: 78px; height: 78px;
		border-radius: 22px;
		background: #f4f4f5;
		border: 1px solid #e9e9ec;
		box-shadow: 0 3px 8px rgba(0,0,0,.07), inset 0 1px 0 #fff;
		color: #111;
		transition: transform .16s ease, background .16s ease, border-color .16s ease;
	}
	.vm-account-sheet-icon svg { display: block; width: 36px; height: 36px; }
	.vm-account-sheet-icon .vm-a { stroke: var(--vm-red); }
	.vm-account-sheet-item:active .vm-account-sheet-icon { transform: scale(.91); background: #ebebee; }

	.vm-account-sheet-label {
		font-size: 12.5px;
		font-weight: 700;
		line-height: 1.25;
		text-align: center;
		color: #1c1c1c;
	}

	/* "Sair da Conta": mesma peça, com destaque vermelho para deixar
	   claro que é uma ação diferente (sair) das demais. */
	.vm-account-sheet-item-logout .vm-account-sheet-icon {
		background: #fbecee;
		border-color: rgba(122,18,32,.22);
		color: var(--vm-red);
	}
	.vm-account-sheet-item-logout .vm-account-sheet-icon .vm-a { stroke: var(--vm-red); }
	.vm-account-sheet-item-logout .vm-account-sheet-label { color: var(--vm-red); }
}

@media (min-width: 961px) {
	.vm-account-sheet, .vm-account-sheet-overlay { display: none !important; }
}

/* ---------- Destaque no formulário de CADASTRO da página "Minha Conta" ----------
   Quando o cliente chega pelo link "Cadastre-se" do menu, o JS rola até o
   formulário de cadastro do WooCommerce e aplica esta classe por alguns
   segundos, para deixar claro qual coluna preencher. */
.vm-highlight-register {
	animation: vm-highlight-pulse 1.8s ease;
	border-radius: var(--vm-radius);
}
@keyframes vm-highlight-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(122, 18, 32, .35); }
	25%  { box-shadow: 0 0 0 6px rgba(122, 18, 32, .12); }
	100% { box-shadow: 0 0 0 0 rgba(122, 18, 32, 0); }
}
