/* Integração robusta com Hello Elementor, Elementor e WooCommerce */
.single-product .site-main,
.single-product .content-area,
.single-product .woocommerce-notices-wrapper { max-width: none; }
.single-product .site-main { width: 100%; }
.wb-product { width: min(100% - 32px, 1280px); margin: 0 auto 48px; }
.wb-product figure, .wb-product form, .wb-product p { margin-top: 0; }
.wb-product button, .wb-product input, .wb-product select, .wb-product textarea { font: inherit; }
.wb-product button { text-transform: none; }
.wb-product img { box-shadow: none; }
.wb-product .woocommerce-notices-wrapper { margin-bottom: 16px; }
@media (max-width: 767px) { .wb-product { width: 100%; padding: 0 10px 80px; } }

/*
 * Rede de segurança contra overflow horizontal em mobile/tablet (sintoma:
 * espaço em branco à direita ao dar zoom out na página). position: sticky
 * só é usado a partir de min-width: 900px, então overflow-x aqui embaixo
 * disso não quebra o comportamento sticky do desktop.
 */
@media (max-width: 899px) { .wb-product { overflow-x: hidden; } }

/* =========================================================================
   Winkbuy — Página de produto
   Tokens no :root. Para trocar a identidade, mexa só aqui.
   ========================================================================= */

.wb-product {
	--wb-accent: #4d4df8;
	--wb-accent-hover: #6868fa;
	--wb-accent-soft: rgba(77, 77, 248, .12);
	--wb-accent-soft-hover: rgba(77, 77, 248, .2);
	--wb-cta: #4d4df8;
	--wb-cta-hover: #6868fa;
	--wb-cta-active: #3d3dd8;
	--wb-success: #00a650;
	--wb-danger: #e5342a;
	--wb-warning: #f5a623;

	--wb-text: #1a1a1a;
	--wb-text-muted: #737373;
	--wb-text-faint: #999;
	--wb-surface: #fff;
	--wb-bg: #f2f2f2;
	--wb-border: #e6e6e6;
	--wb-border-strong: #cfcfcf;

	--wb-radius: 10px;
	--wb-radius-sm: 6px;
	--wb-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .05);

	--wb-gap: 20px;
	--wb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	font-family: var(--wb-font);
	color: var(--wb-text);
	line-height: 1.45;
}

.wb-product *,
.wb-product *::before,
.wb-product *::after { box-sizing: border-box; }

.wb-product :focus-visible {
	outline: 2px solid var(--wb-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.wb-product .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Breadcrumb ---------- */
.wb-breadcrumb {
	font-size: 13px;
	color: var(--wb-text-muted);
	padding: 10px 0 14px;
}
.wb-breadcrumb a { color: var(--wb-text-muted); text-decoration: none; }
.wb-breadcrumb a:hover { color: var(--wb-accent); text-decoration: underline; }
.wb-crumb-sep { margin: 0 6px; color: var(--wb-border-strong); }

/* ---------- Layout ---------- */
.wb-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wb-gap);
	background: var(--wb-surface);
	border: 1px solid var(--wb-border);
	border-radius: var(--wb-radius);
	padding: var(--wb-gap);
	box-shadow: var(--wb-shadow);
}

@media (min-width: 900px) {
	.wb-layout {
		grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
		gap: 32px;
		padding: 28px;
	}
	.wb-col-buy { position: sticky; top: 90px; align-self: start; }
}

/* =========================================================================
   GALERIA
   ========================================================================= */
.wb-gallery { display: grid; gap: 12px; }

@media (min-width: 768px) {
	.wb-gallery {
		grid-template-columns: 72px minmax(0, 1fr);
		align-items: start;
	}
}

.wb-thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	order: 2;
	scrollbar-width: thin;
	padding-bottom: 4px;
}
@media (min-width: 768px) {
	.wb-thumbs {
		order: 1;
		flex-direction: column;
		overflow-x: visible;
		overflow-y: auto;
		max-height: 520px;
		padding-right: 4px;
	}
}

.wb-thumb {
	flex: 0 0 auto;
	width: 60px; height: 60px;
	padding: 2px;
	border: 1px solid var(--wb-border);
	border-radius: var(--wb-radius-sm);
	background: var(--wb-surface);
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
/*
 * O botão do Elementor Kit (.elementor-kit-61 button, especificidade 0,1,1)
 * vence ".wb-thumb { background }" (0,1,0) e pinta o fundo com a cor
 * secundária global do site (um cinza-escuro) — só não aparecia porque a
 * <img> lazy cobre o quadrado assim que carrega, mas o fundo real ficava
 * escuro o tempo todo por trás dela. Sobe a especificidade aqui.
 */
.wb-gallery .wb-thumb,
.wb-swatches .wb-swatch--image {
	background: var(--wb-surface);
	background-color: var(--wb-surface);
}
.wb-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wb-thumb:hover { border-color: var(--wb-accent); }
.wb-thumb.is-active {
	border-color: var(--wb-accent);
	box-shadow: 0 0 0 1px var(--wb-accent);
}

.wb-stage {
	order: 1;
	position: relative;
	background: var(--wb-surface);
	border-radius: var(--wb-radius-sm);
	overflow: hidden;
}
@media (min-width: 768px) { .wb-stage { order: 2; } }

.wb-stage-track {
	display: flex;
	transition: transform .3s cubic-bezier(.4, 0, .2, 1);
	touch-action: pan-y;
}
.wb-slide {
	flex: 0 0 100%;
	margin: 0;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wb-surface);
}
.wb-slide img {
	max-width: 100%;
	max-height: 100%;
	width: auto; height: auto;
	object-fit: contain;
	display: block;
}
@media (min-width: 768px) {
	.wb-slide { cursor: zoom-in; }
}

/* Slide de vídeo (AliDropship, ver gallery.php): tem controles nativos,
   então não herda o cursor de zoom nem o clique-pra-ampliar do slide de
   imagem — só ocupa o espaço igual a uma imagem faria. */
.wb-slide.is-video {
	cursor: default;
	background: #000;
}
@media (min-width: 768px) {
	.wb-slide.is-video { cursor: default; }
}
.wb-slide.is-video video {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Miniatura do vídeo: mesma imagem (poster) das outras, com um ícone de
   play por cima pra diferenciar das fotos na lista de miniaturas. */
.wb-thumb--video {
	position: relative;
}
.wb-thumb--video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wb-thumb-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wb-thumb-play::before {
	content: '';
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(16, 16, 20, .78);
	border: 1px solid rgba(255, 255, 255, .88);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .34);
}
.wb-thumb-play::after {
	content: '';
	position: absolute;
	margin-left: 3px;
	border-style: solid;
	border-width: 7px 0 7px 11px;
	border-color: transparent transparent transparent #fff;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45));
}

/* Stories móvel: o vídeo permanece como primeira mídia, mas vira um preview
   vertical flutuante acima da barra fixa de compra. */
.wb-video-story-float { display: none; }
@media (max-width: 767px) {
	.wb-thumb--video-story-source { display: none; }
	.wb-video-story-float {
		position: fixed;
		left: max(12px, env(safe-area-inset-left));
		bottom: calc(76px + env(safe-area-inset-bottom));
		z-index: 9988;
		display: block;
		width: 68px;
		height: 121px;
		padding: 0;
		overflow: hidden;
		border: 2px solid #fff;
		border-radius: 12px;
		background: #111;
		box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
		cursor: pointer;
		touch-action: none;
		transition: opacity .18s ease, transform .18s ease;
	}
	.wb-video-story-float.is-dragging { transition: none; cursor: grabbing; }
	.wb-video-story-float.is-scrolling { opacity: 0; transform: translateY(18px); pointer-events: none; }
	.wb-video-story-float video {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}
	.wb-video-story-float .wb-thumb-play::before {
		width: 38px;
		height: 38px;
	}
	.wb-video-story-float .wb-thumb-play::after {
		margin-left: 4px;
		border-width: 9px 0 9px 14px;
	}
	body.wb-mobile-scrolling .wb-sticky.is-visible { transform: translateY(100%); }
}

/* Em orientação horizontal, o vídeo selecionado usa todo o viewport mobile.
   A mídia continua contain para não cortar o produto e mantém os controles
   nativos do navegador disponíveis. */
/* Visualizador do vídeo Stories. No mobile ocupa o viewport; no desktop mantém 9:16. */
.wb-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .94);
	padding: 16px;
	opacity: 1;
	transition: opacity .25s ease;
}
.wb-video-modal.is-closing { opacity: 0; }
.wb-video-modal[hidden] { display: none; }
.wb-video-modal__frame {
	position: relative;
	width: min(100%, 420px);
	height: min(100%, 746px);
	max-height: calc(100vh - 32px);
	aspect-ratio: 9 / 16;
	background: #000;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .48);
	transition: transform .22s ease;
}
.wb-video-modal__frame.is-swiping { transition: none; }
.wb-video-modal__frame::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, .32), transparent 24%, transparent 62%, rgba(0, 0, 0, .48));
}
.wb-video-modal video {
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}
.wb-video-modal-toggle {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	color: #fff;
	background: rgba(0, 0, 0, .46);
	backdrop-filter: blur(6px);
	transform: translate(-50%, -50%) scale(.82);
	opacity: 0;
	pointer-events: none;
	transition: opacity .16s ease, transform .2s ease;
}
.wb-video-modal-toggle.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wb-video-modal-toggle svg { width: 30px; height: 30px; fill: currentColor; }
.wb-video-modal-toggle__pause { display: none; }
.wb-video-modal-toggle.is-paused .wb-video-modal-toggle__play { display: none; }
.wb-video-modal-toggle.is-paused .wb-video-modal-toggle__pause { display: block; }
.wb-video-modal-close {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 38px;
	padding: 0 12px 0 9px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	background: rgba(0, 0, 0, .45) !important;
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
	outline: none;
}
.wb-video-modal-close > span:first-child { font-size: 25px; font-weight: 400; }
.wb-video-modal-actions {
	position: absolute;
	right: 12px;
	bottom: 88px;
	z-index: 2;
	display: grid;
	gap: 18px;
}
.wb-video-modal-action {
	display: grid;
	justify-items: center;
	gap: 5px;
	min-width: 60px;
	min-height: 0 !important;
	min-width: 60px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.15;
	cursor: pointer;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
.wb-video-modal-action svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6));
}
.wb-video-modal-action.wb-favorite-heart.is-favorited svg { fill: currentColor; }
.wb-video-modal-action:active { transform: scale(.92); }
@media (max-width: 767px) {
	.wb-video-modal { padding: 0; }
	.wb-video-modal__frame {
		width: 100vw;
		height: 100vh;
		max-height: none;
		border-radius: 0;
	}
	.wb-video-modal video { object-fit: cover; }
	.wb-video-modal-close {
		top: max(30px, calc(env(safe-area-inset-top) + 16px));
		left: max(16px, env(safe-area-inset-left));
		width: 34px;
		min-height: 34px;
		padding: 0 !important;
		justify-content: center;
		border-radius: 50% !important;
		background: rgba(0, 0, 0, .32) !important;
	}
	.wb-video-modal-close > span:first-child { font-size: 22px; }
	.wb-video-modal-close > span:last-child { display: none; }
	.wb-video-modal-actions {
		right: max(14px, env(safe-area-inset-right));
		bottom: calc(106px + env(safe-area-inset-bottom));
		gap: 24px;
	}
	.wb-video-modal-action { min-width: 44px !important; }
	.wb-video-modal-action > span { display: none; }
	.wb-video-modal-action svg { width: 28px; height: 28px; }
}
@media (max-width: 1024px) and (orientation: landscape) {
	.wb-video-modal { padding: 0; }
	.wb-video-modal__frame {
		width: 100vw;
		height: 100vh;
		max-height: none;
		border-radius: 0;
	}
	.wb-video-modal video { object-fit: contain; }
}

/* Fullscreen nativo em portrait: mantém o enquadramento vertical dos
   Stories mesmo quando o arquivo original é widescreen. */
/* ".wb-stage" no seletor sobe a especificidade acima de
 * ".elementor-kit-61 button" (0,1,1) — sem isso o Kit do Elementor pinta o
 * fundo do botão com a cor secundária global do site (ver correção nas
 * miniaturas/swatches, mesma causa). */
.wb-stage .wb-stage-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px; height: 42px;
	display: none;
	align-items: center; justify-content: center;
	font-size: 32px; line-height: 1;
	color: #4a4a4a;
	background: none;
	border: 0;
	filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .7));
	cursor: pointer;
}
.wb-stage:hover .wb-stage-nav { display: flex; }
.wb-stage-nav--prev { left: 8px; }
.wb-stage-nav--next { right: 8px; }
.wb-stage-nav[disabled] { opacity: .35; cursor: default; }

.wb-stage-expand {
	position: absolute;
	right: 8px; bottom: 8px;
	width: 34px; height: 34px;
	background: rgba(255, 255, 255, .9);
	border: 1px solid var(--wb-border);
	border-radius: var(--wb-radius-sm);
	cursor: pointer;
	font-size: 16px;
}

.wb-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 10px 0 2px;
}
@media (min-width: 768px) { .wb-dots { display: none; } }
.wb-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--wb-border-strong);
	transition: background .2s ease, width .2s ease;
}
.wb-dot.is-active { background: var(--wb-accent); width: 18px; border-radius: 3px; }

.wb-lightbox {
	position: fixed; inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, .92);
	display: flex; align-items: center; justify-content: center;
	padding: 24px;
}
.wb-lightbox[hidden] { display: none; }
.wb-lightbox img {
	/* min-width/min-height:0 — item flex sem isso usa o tamanho intrínseco
	 * da imagem como mínimo por padrão, ignorando max-width/max-height e
	 * deixando a imagem maior que a tela em fotos de alta resolução. */
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform .25s ease;
}
.wb-lightbox-close {
	position: absolute; top: 16px; right: 20px;
	width: 40px; height: 40px;
	font-size: 28px; line-height: 1;
	color: #fff; background: transparent; border: 0; outline: none; cursor: pointer;
}

.wb-stage-counter {
	position: absolute;
	left: 8px; bottom: 8px;
	padding: 3px 9px;
	font-size: 12px; font-weight: 600;
	color: #fff;
	background: rgba(0, 0, 0, .55);
	border-radius: 20px;
}

.wb-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	font-size: 32px; line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.wb-lightbox-nav:hover:not([disabled]) { background: rgba(255, 255, 255, .22); }
.wb-lightbox-nav[disabled] { opacity: .3; cursor: default; }
/* Posição padrão (perto da borda da tela) — vira só um fallback caso o JS
 * não consiga medir a imagem a tempo; normalmente é sobrescrita inline por
 * gallery.js com a posição real da borda da imagem (ver wb-lightbox-frame
 * mais abaixo), pra ficar perto da foto como na página, não da tela toda. */
.wb-lightbox-nav--prev { left: 16px; }
.wb-lightbox-nav--next { right: 16px; }

.wb-lightbox-counter {
	position: absolute;
	bottom: 20px; left: 50%;
	transform: translateX(-50%);
	padding: 4px 12px;
	font-size: 13px; font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	border-radius: 20px;
}

@media (max-width: 767px) {
	.wb-lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
	.wb-lightbox-nav--prev { left: 6px; }
	.wb-lightbox-nav--next { right: 6px; }
}

/* =========================================================================
   BUYBOX
   ========================================================================= */
.wb-eyebrow {
	font-size: 13px;
	color: var(--wb-text-muted);
	display: flex; align-items: center; gap: 6px;
	margin-bottom: 6px;
}
.wb-sep { color: var(--wb-border-strong); }

.wb-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 8px;
	color: var(--wb-text);
}
@media (min-width: 900px) { .wb-title { font-size: 22px; } }

.wb-rating-line {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; color: var(--wb-text-muted);
	text-decoration: none;
	margin-bottom: 14px;
}
.wb-rating-line:hover .wb-rating-count { text-decoration: underline; }

.wb-stars {
	position: relative;
	display: inline-block;
	color: var(--wb-border-strong);
	letter-spacing: 1px;
	font-size: 14px;
}
.wb-stars::before {
	content: "★★★★★";
	position: absolute; left: 0; top: 0;
	width: var(--wb-fill, 0%);
	overflow: hidden;
	color: var(--wb-accent);
	white-space: nowrap;
}

/* ---------- Preço ---------- */
.wb-price-block { margin: 14px 0 18px; }
.wb-price-was { font-size: 14px; color: var(--wb-text-faint); min-height: 18px; }
.wb-price-was[hidden] { display: none; }
.wb-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wb-price-from { flex-basis: 100%; font-size: 13px; color: var(--wb-text-muted); }
.wb-price-now {
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -.5px;
	color: var(--wb-text);
}
.wb-price-now .woocommerce-Price-currencySymbol { font-size: .6em; margin-right: 2px; }
.wb-discount {
	font-size: 15px;
	font-weight: 600;
	color: var(--wb-success);
}
.wb-discount[hidden] { display: none; }
.wb-installments { font-size: 15px; color: var(--wb-success); margin-top: 4px; }
.wb-installments[hidden] { display: none; }
.wb-pix { font-size: 14px; color: var(--wb-text-muted); margin-top: 6px; }
.wb-pix strong { color: var(--wb-text); }

/* ---------- Swatches ---------- */
.wb-swatch-group { margin-bottom: 16px; }
.wb-swatch-head {
	display: flex; gap: 6px; align-items: baseline;
	font-size: 14px; margin-bottom: 8px;
}
.wb-swatch-label { color: var(--wb-text-muted); }
.wb-swatch-selected { font-weight: 600; }
.wb-swatch-options { display: flex; flex-wrap: wrap; gap: 8px; }

.wb-swatch {
	position: relative;
	background: var(--wb-surface);
	border: 1px solid var(--wb-border-strong);
	border-radius: var(--wb-radius-sm);
	cursor: pointer;
	padding: 0;
	transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.wb-swatch--text {
	min-width: 44px;
	padding: 8px 12px;
	font-size: 14px;
	color: var(--wb-text);
}
.wb-swatch--color { width: 52px; height: 52px; overflow: hidden; }
.wb-swatch--color img,
.wb-swatch-chip { width: 100%; height: 100%; display: block; object-fit: cover; }

.wb-swatch:hover { border-color: var(--wb-accent); }
.wb-swatch[aria-checked="true"] {
	border-color: var(--wb-accent);
	box-shadow: 0 0 0 1px var(--wb-accent);
}
.wb-swatch.is-unavailable {
	opacity: .4;
	border-style: dashed;
	/* Clicável mesmo "indisponível" — o clique troca automaticamente a
	 * outra variação (ex.: região de envio) pra uma combinação válida. */
	cursor: pointer;
}
.wb-swatch.is-unavailable::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top left, transparent 47%, var(--wb-border-strong) 47%, var(--wb-border-strong) 53%, transparent 53%);
	pointer-events: none;
}

.wb-reset {
	background: none; border: 0; padding: 0;
	color: var(--wb-accent); font-size: 13px; cursor: pointer;
	text-decoration: underline;
}
.wb-reset[hidden] { display: none; }

.wb-availability {
	font-size: 13px;
	color: var(--wb-danger);
	margin: 0 0 10px;
	min-height: 18px;
}
.wb-availability:empty { display: none; }

.wb-stock { font-size: 14px; color: var(--wb-text-muted); margin-bottom: 12px; }
.wb-stock.is-low { color: var(--wb-danger); font-weight: 600; }
.wb-stock:empty { display: none; }

/* ---------- Quantidade ---------- */
.wb-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wb-qty-label { font-size: 14px; color: var(--wb-text-muted); }
.wb-qty {
	display: inline-flex; align-items: center;
	border: 1px solid var(--wb-border-strong);
	border-radius: var(--wb-radius-sm);
	overflow: hidden;
}
.wb-qty-btn {
	width: 38px; height: 38px;
	border: 0; background: var(--wb-surface);
	font-size: 18px; line-height: 1; cursor: pointer;
	color: var(--wb-text);
}
.wb-qty-btn:hover:not([disabled]) { background: var(--wb-bg); }
.wb-qty-btn[disabled] { color: var(--wb-text-faint); cursor: default; }
.wb-qty-input {
	width: 48px; height: 38px;
	border: 0;
	border-left: 1px solid var(--wb-border);
	border-right: 1px solid var(--wb-border);
	text-align: center;
	font-size: 15px;
	-moz-appearance: textfield;
}
.wb-qty-input::-webkit-outer-spin-button,
.wb-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Botões ---------- */
.wb-actions { display: grid; gap: 10px; margin-bottom: 20px; }

.wb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	border: 1px solid transparent;
	border-radius: var(--wb-radius-sm);
	cursor: pointer;
	transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.wb-btn.is-loading,
.single_add_to_cart_button.is-loading {
	position: relative;
	color: transparent !important;
	text-shadow: none !important;
	-webkit-text-fill-color: transparent !important;
	/* Sem isso, o color herda a transition do tema (mais longa que os
	 * ~50ms que temos antes do submit ser retomado) e o texto fica só
	 * parcialmente esmaecido em vez de sumir no frame seguinte. */
	transition: none !important;
	pointer-events: none;
}
.wb-btn.is-loading::after,
.single_add_to_cart_button.is-loading::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 18px; height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wb-spin .6s linear infinite;
}
.wb-btn--secondary.is-loading::after,
.single_add_to_cart_button.is-loading::after {
	border-color: rgba(77, 77, 248, .3);
	border-top-color: var(--wb-accent);
}
@keyframes wb-spin {
	to { transform: rotate(360deg); }
}
.wb-btn--primary { background: var(--wb-cta); color: #fff; }
.wb-btn--primary:hover:not([disabled]) { background: var(--wb-cta-hover); }
.wb-btn--secondary { background: var(--wb-accent-soft); color: var(--wb-accent); }
.wb-btn--secondary:hover:not([disabled]) { background: var(--wb-accent-soft-hover); }
.wb-btn--ghost {
	width: auto; min-height: 40px;
	background: transparent;
	color: var(--wb-accent);
	border-color: var(--wb-accent);
	font-size: 14px;
	padding: 8px 16px;
}
.wb-btn--ghost:hover { background: var(--wb-accent-soft); }
.wb-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Formulário nativo (kill switch ligado no engine do Woo) */
.wb-form--native .quantity { margin-bottom: 0; }
.wb-form--native .single_add_to_cart_button {
	min-height: 48px;
	background: #fff;
	border: 1px solid var(--wb-accent);
	color: var(--wb-accent);
	border-radius: var(--wb-radius-sm);
	font-weight: 600;
}

/* ---------- Frete ---------- */
.wb-shipping {
	border-top: 1px solid var(--wb-border);
	padding-top: 16px;
	margin-bottom: 16px;
}
.wb-shipping-head { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.wb-shipping-form { display: flex; gap: 8px; }
/* O display:flex acima vence o [hidden] nativo do navegador — sem esta regra o
   formulário continua na tela quando o JS o esconde no modo "frete por país"
   (produto do ALD, onde o CEP não muda a cotação). Mesmo caso já tratado em
   amazon.css para .wb-stage-expand. */
.wb-shipping-form[hidden] { display: none; }
.wb-cep {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	font-size: 15px;
	font-family: inherit;
	border: 1px solid var(--wb-border-strong);
	border-radius: var(--wb-radius-sm);
	background: var(--wb-surface);
	color: var(--wb-text);
}
.wb-cep-help {
	display: inline-block;
	font-size: 13px;
	color: var(--wb-accent);
	margin-top: 8px;
	text-decoration: none;
}
.wb-cep-help:hover { text-decoration: underline; }
.wb-cep-help[hidden] { display: none; }

.wb-shipping-results { margin-top: 12px; font-size: 14px; }
.wb-rate {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--wb-border);
}
.wb-rate:last-child { border-bottom: 0; }
.wb-rate-cost { font-weight: 600; color: var(--wb-success); white-space: nowrap; }
.wb-shipping-error { color: var(--wb-danger); }

/* ---------- Frete por transportadora (ALD Dropshipping) ---------- */
.wb-buybox .vi-wad-single-product-shipping-wrap {
	margin: 0 0 16px;
	padding-top: 16px;
	border-top: 1px solid var(--wb-border);
	font-family: var(--wb-font);
	font-size: 14px;
	color: var(--wb-text);
}
.wb-buybox .vi-wad-single-product-shipping-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--wb-text);
}
.wb-buybox .vi-wad-single-product-shipping-error {
	color: var(--wb-text-muted);
	font-size: 13px;
}
.wb-buybox .vi-wad-single-product-shipping-wrap.vi-wad-single-product-shipping-not-available .vi-wad-single-product-shipping-error {
	color: var(--wb-danger);
}

/* Gatilho (linha clicável que mostra a opção selecionada e abre o modal) */
.wb-buybox .vi-wad-item-shipping-select-popup {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 40px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--wb-border-strong);
	border-radius: var(--wb-radius-sm);
	background: var(--wb-surface);
	color: var(--wb-text) !important;
	transition: border-color .15s ease;
}
.wb-buybox .vi-wad-item-shipping-select-popup:hover { border-color: var(--wb-accent); }
.wb-buybox .vi-wad-item-shipping-select-popup-selected {
	padding-right: 0 !important;
	display: block !important;
	width: 100%;
}
.wb-buybox .vi-wad-item-shipping-select-popup-selected:after {
	right: -20px !important;
	border-top-color: var(--wb-text-muted) !important;
}

/* ---------- Selos ---------- */
.wb-trust {
	list-style: none;
	margin: 0 0 16px;
	padding: 16px 0 0;
	border-top: 1px solid var(--wb-border);
	display: grid; gap: 12px;
}
.wb-trust-item { display: flex; gap: 10px; align-items: flex-start; }
.wb-trust-icon { font-size: 16px; line-height: 1.3; color: var(--wb-success); }
.wb-trust-body { display: flex; flex-direction: column; font-size: 13px; color: var(--wb-text-muted); }
.wb-trust-body strong { color: var(--wb-accent); font-weight: 600; font-size: 14px; }

.wb-meta {
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--wb-text-faint);
	border-top: 1px solid var(--wb-border);
	padding-top: 12px;
}
.wb-share {
	background: none; border: 0; padding: 0;
	color: var(--wb-accent); font-size: 13px; cursor: pointer;
}

/* =========================================================================
   BLOCOS INFERIORES
   ========================================================================= */
.wb-lower { margin-top: var(--wb-gap); }
.wb-section {
	background: var(--wb-surface);
	border: 1px solid var(--wb-border);
	border-radius: var(--wb-radius);
	padding: 24px;
	margin-bottom: var(--wb-gap);
	box-shadow: var(--wb-shadow);
}
.wb-section-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 18px;
}

/* Ficha técnica */
.wb-specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wb-specs-table tr:nth-child(odd) { background: #fafafa; }
.wb-specs-table th,
.wb-specs-table td {
	text-align: left;
	padding: 12px 14px;
	vertical-align: top;
	border: 0;
}
.wb-specs-table th { width: 40%; font-weight: 600; color: var(--wb-text-muted); }
.wb-spec-row.is-hidden { display: none; }

.wb-more {
	margin-top: 14px;
	background: none;
	border: 0;
	padding: 8px 0;
	color: var(--wb-accent);
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}
.wb-more:hover { text-decoration: underline; }

/* Descrição */
.wb-desc-body {
	position: relative;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
	overflow: hidden;
}
.wb-desc-body.is-clamped { max-height: 340px; }
.wb-desc-body img { max-width: 100%; height: auto; display: block; margin: 12px auto; }
.wb-desc-body table { max-width: 100%; }
.wb-desc-fade {
	display: none;
	position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--wb-surface));
	pointer-events: none;
}
.wb-desc-body.is-clamped .wb-desc-fade { display: block; }

/* Avaliações */
.wb-reviews-summary {
	display: grid;
	gap: 24px;
	align-items: center;
	margin-bottom: 24px;
}
@media (min-width: 600px) {
	.wb-reviews-summary { grid-template-columns: 160px minmax(0, 1fr); }
}
.wb-reviews-score { text-align: center; }
.wb-score-number { display: block; font-size: 46px; font-weight: 300; line-height: 1; }
.wb-reviews-score .wb-stars { font-size: 18px; margin: 6px 0; }
.wb-score-count { display: block; font-size: 13px; color: var(--wb-text-muted); }

.wb-reviews-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wb-bar-row { display: grid; grid-template-columns: 14px 1fr 30px; gap: 10px; align-items: center; font-size: 12px; color: var(--wb-text-muted); }
.wb-bar { height: 8px; background: var(--wb-bg); border-radius: 4px; overflow: hidden; }
.wb-bar-fill { display: block; height: 100%; background: var(--wb-accent); }
.wb-bar-count { text-align: right; }

/* =========================================================================
   BARRA FIXA MOBILE
   ========================================================================= */
.wb-sticky {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9990;
	display: flex; align-items: center; gap: 12px;
	padding: 10px 14px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
	background: var(--wb-surface);
	border-top: 1px solid var(--wb-border);
	box-shadow: 0 -2px 12px rgba(0, 0, 0, .1);
	transform: translateY(100%);
	transition: transform .25s ease;
}
.wb-sticky[hidden] { display: none; }
.wb-sticky.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .wb-sticky { display: none !important; } }

.wb-sticky-info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.wb-sticky-price { font-size: 18px; font-weight: 600; white-space: nowrap; }
.wb-sticky-sub { font-size: 12px; color: var(--wb-success); }
.wb-sticky-cta { width: auto; flex: 0 0 auto; min-width: 140px; min-height: 44px; }

/* =========================================================================
   RELACIONADOS
   ========================================================================= */
.wb-product .related.products,
.wb-product .up-sells {
	background: var(--wb-surface);
	border: 1px solid var(--wb-border);
	border-radius: var(--wb-radius);
	padding: 24px;
	margin-top: var(--wb-gap);
}
.wb-product .related.products > h2,
.wb-product .up-sells > h2 { font-size: 20px; font-weight: 600; margin: 0 0 18px; }

/* =========================================================================
   ACESSIBILIDADE / MOVIMENTO
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	.wb-product *,
	.wb-sticky,
	.wb-stage-track { transition: none !important; animation: none !important; }
	.wb-btn.is-loading::after,
	.single_add_to_cart_button.is-loading::after { animation: none !important; }
}

/* Refinamento visual: experiência premium de e-commerce. */
.single-product { background: #f6f7fb; }
.wb-product {
	--wb-accent: #4d4df8; --wb-accent-hover: #6868fa; --wb-accent-active: #3d3dd8; --wb-accent-soft: rgba(77, 77, 248, .1); --wb-accent-soft-hover: rgba(77, 77, 248, .16);
	--wb-text: #171725; --wb-text-muted: #68687a; --wb-bg: #f6f7fb; --wb-border: #e8e8ef; --wb-border-strong: #d5d5e0;
	--wb-radius: 16px; --wb-radius-sm: 10px; --wb-shadow: 0 10px 30px rgba(29, 27, 53, .06);
	width: min(100% - 40px, 1360px); margin-bottom: 64px;
}
.wb-breadcrumb { padding: 22px 2px 12px; font-size: 12px; }
.wb-assurance { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 16px; color: #59586c; font-size: 12px; font-weight: 600; }
.wb-assurance span { display: inline-flex; align-items: center; gap: 7px; }
.wb-assurance span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #20a765; box-shadow: 0 0 0 3px rgba(32, 167, 101, .12); }
.wb-layout { border: 0; border-radius: 20px; padding: 16px; gap: 28px; box-shadow: var(--wb-shadow); }
@media (min-width: 900px) { .wb-layout { grid-template-columns: minmax(0, 1.22fr) minmax(385px, .78fr); padding: 24px; gap: 40px; } .wb-col-buy { padding: 8px 4px 4px 0; } }
.wb-gallery { gap: 14px; }
.wb-stage { border: 1px solid #f0f0f4; border-radius: 14px; background: #fafafd; }
.wb-slide { background: #fafafd; }
.wb-stage-expand { width: 38px; height: 38px; right: 14px; bottom: 14px; border-radius: 50%; box-shadow: 0 4px 12px rgba(25, 23, 45, .12); }
.wb-stage-nav { width: 42px; height: 42px; border: 0; box-shadow: 0 4px 14px rgba(25, 23, 45, .12); }
.wb-thumb { width: 66px; height: 66px; padding: 4px; border-radius: 10px; }
.wb-thumb.is-active { border-color: var(--wb-accent); box-shadow: 0 0 0 2px rgba(77, 77, 248, .16); }
.wb-eyebrow { color: var(--wb-accent); font-size: 12px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; margin-bottom: 9px; }
.wb-title { max-width: 26ch; overflow-wrap: anywhere; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; letter-spacing: -.025em; font-weight: 720; margin-bottom: 12px; }
.wb-rating-line { background: #fafafd; border-radius: 8px; padding: 6px 9px; margin-bottom: 16px; }
.wb-stars, .wb-stars::before { color: #f0a500; }
.wb-price-block { border-top: 1px solid var(--wb-border); border-bottom: 1px solid var(--wb-border); padding: 18px 0; margin: 0 0 22px; }
.wb-price-was { font-size: 13px; }
.wb-price-now { font-size: clamp(31px, 2.6vw, 38px); line-height: 1.05; font-weight: 760; letter-spacing: -.035em; }
.wb-discount { padding: 4px 8px; border-radius: 6px; background: var(--wb-danger); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.wb-installments { margin-top: 9px; font-size: 14px; font-weight: 600; }
.wb-pix { display: inline-flex; margin-top: 9px; padding: 6px 9px; color: #258c58; background: #f0faf4; border-radius: 6px; font-size: 13px; }
.wb-pix strong { color: #167543; margin-right: 4px; }
.wb-swatch-group { margin-bottom: 20px; }
.wb-variation-products { margin: 0 0 22px; }
.wb-variation-products-title { margin: 0 0 10px; color: var(--wb-text); font-size: 14px; font-weight: 650; }
.wb-variation-products-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.wb-variation-product { display: flex; align-items: center; min-width: 0; gap: 10px; padding: 7px; border: 1px solid var(--wb-border-strong); border-radius: 7px; color: var(--wb-text); background: #fff; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.wb-variation-product:hover { border-color: var(--wb-accent); background: #fcfbff; }
.wb-variation-product.is-active { border-color: var(--wb-accent); box-shadow: 0 0 0 2px rgba(77, 77, 248, .16); background: #faf8ff; }
.wb-variation-product img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 5px; background: #f5f5f8; }
.wb-variation-product-details { display: grid; min-width: 0; gap: 3px; }
.wb-variation-product-details strong { overflow: hidden; color: var(--wb-text); font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.wb-variation-product-price { color: var(--wb-accent); font-size: 13px; font-weight: 700; }
.wb-swatch-head { font-size: 14px; margin-bottom: 10px; }
.wb-swatch-label { color: var(--wb-text); font-weight: 650; }
.wb-swatch--text { min-width: 52px; padding: 9px 14px; font-size: 13px; font-weight: 600; }
.wb-swatch--color { width: 54px; height: 54px; }
.wb-swatch--image { width: 68px; height: 68px; overflow: hidden; border-radius: 7px; background: #fff; }
.wb-swatch--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px rgba(77, 77, 248, .16); }
.wb-purchase { margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--wb-border); }
.wb-qty-row { padding: 0; border: 0; border-radius: 0; justify-content: space-between; margin: 0 0 12px; }
.wb-qty-label { color: var(--wb-text); font-size: 13px; font-weight: 700; }
.wb-qty { width: 142px; min-width: 142px; height: 48px; border: 1px solid rgba(77, 77, 248, .38); border-radius: 9px; background: #fff; box-shadow: 0 3px 10px rgba(77, 77, 248, .08); }
.wb-qty-btn { width: 44px; height: 46px; flex: 0 0 44px; padding: 0; border-radius: 0; background: var(--wb-accent-soft); color: var(--wb-accent); font-size: 22px; font-weight: 700; transition: background .15s ease, color .15s ease; }
.wb-qty-btn:hover:not([disabled]) { background: var(--wb-accent); color: #fff; }
.wb-qty-btn:active:not([disabled]) { background: var(--wb-accent-active); }
.wb-qty-input { min-width: 0; width: 52px; height: 46px; color: var(--wb-text); background: #fff; border-color: rgba(77, 77, 248, .18); font-size: 16px; font-weight: 700; }
.wb-actions { gap: 10px; margin: 0; }
.wb-btn { min-height: 54px; padding: 13px 16px; border-radius: 9px; font-size: 15px; font-weight: 720; line-height: 1.2; letter-spacing: .003em; }
.wb-btn--primary { box-shadow: 0 8px 18px rgba(77, 77, 248, .24); }
.wb-btn--primary:hover:not([disabled]) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(77, 77, 248, .32); }
.wb-btn--primary:active:not([disabled]) { transform: translateY(0); background: var(--wb-cta-active); box-shadow: 0 4px 10px rgba(77, 77, 248, .2); }
.wb-btn--secondary { background: #fff; border-color: var(--wb-accent); color: var(--wb-accent); }
.wb-btn--secondary:hover:not([disabled]) { background: var(--wb-accent-soft); }
.wb-swatch, .wb-thumb, .wb-qty, .wb-qty-btn, .wb-cep { border-radius: 7px; }
.wb-qty { overflow: hidden; }
.wb-shipping { margin-top: 4px; padding: 18px; border: 1px solid var(--wb-border); border-radius: 12px; background: #fcfcfe; }
.wb-shipping-head { color: var(--wb-text); font-size: 14px; }
.wb-cep { border-radius: 8px; height: 40px; }
.wb-btn--ghost { min-height: 40px; border-radius: 7px; }
.wb-cep-help { font-size: 12px; }
.wb-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 18px 0; }
.wb-trust-item { display: block; padding: 8px; border-radius: 8px; }
.wb-trust-icon { display: block; margin-bottom: 5px; }
.wb-trust-body strong { color: var(--wb-text); font-size: 12px; }
.wb-trust-body span { font-size: 11px; line-height: 1.35; }
.wb-meta { padding-top: 16px; }
.wb-lower { margin-top: 28px; max-width: 920px; }
.wb-section { border: 0; border-radius: 16px; padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; box-shadow: var(--wb-shadow); }
.wb-section-title { font-size: 21px; letter-spacing: -.02em; margin-bottom: 20px; }
.wb-specs-table { border: 1px solid var(--wb-border); border-radius: 10px; overflow: hidden; }
.wb-specs-table th, .wb-specs-table td { padding: 13px 16px; }
.wb-specs-table tr:nth-child(odd) { background: #f9f9fc; }
.wb-desc-body { color: #404052; }
@media (max-width: 899px) { .wb-trust { grid-template-columns: 1fr; gap: 2px; } .wb-trust-item { display: flex; padding: 6px 0; } .wb-trust-icon { margin: 0 8px 0 0; } .wb-product { width: min(100% - 20px, 680px); } }
@media (max-width: 500px) { .wb-layout { padding: 12px; border-radius: 14px; } .wb-assurance { gap: 5px 14px; font-size: 11px; } .wb-title { font-size: 25px; } .wb-price-now { font-size: 34px; } .wb-shipping { padding: 14px; } }
@media (max-width: 420px) { .wb-variation-products-list { grid-template-columns: 1fr; } }

/* Modo nativo: os selects seguem ativos, mas a escolha passa a ser visual. */
.wb-native-swatches { margin: 0 0 20px; }
.wb-native-swatch-group:last-child { margin-bottom: 0; }
.wb-native-visual-variations .variations { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Hierarquia e responsividade finais da area de compra. */
.wb-btn { transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease, opacity .15s ease; }
.wb-btn--secondary { background: #fff; border-color: rgba(77, 77, 248, .55); color: var(--wb-accent); box-shadow: none; }
.wb-btn--secondary:hover:not([disabled]) { background: var(--wb-accent-soft); border-color: var(--wb-accent); }
.wb-btn[disabled] { opacity: .46; box-shadow: none; transform: none; }

.wb-form--native form.cart,
.wb-form--native .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/*
 * flex-wrap empacota os itens pela largura disponível, não estritamente
 * pela ordem do DOM — dependendo da largura de cada item, a ordem visual
 * pode não bater com a ordem real do HTML. "order" é a única propriedade
 * que o flexbox realmente respeita de forma determinística pra sequência,
 * então fixamos explicitamente em vez de depender do encaixe automático:
 * quantidade+"Adicionar ao carrinho" na mesma linha, "Comprar agora" logo
 * abaixo, e por último qualquer coisa que plugins pendurem no mesmo hook
 * (ex.: o bloco de frete do ALD Dropshipping).
 */
.wb-form--native .quantity {
	margin: 0;
	/* Existe alguma regra fora do nosso CSS (tema/Woo) disputando order e
	 * width nesses itens — !important em tudo pra garantir que vence. */
	order: 1 !important;
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: 90px !important;
}
.wb-form--native .quantity .qty { width: 100%; min-height: 48px; border: 1px solid rgba(77, 77, 248, .38); border-radius: 9px; color: var(--wb-text); font-weight: 700; }
.wb-form--native .single_add_to_cart_button { order: 2 !important; flex: 1 1 auto; min-width: 160px; min-height: 54px; border: 1px solid var(--wb-accent); border-radius: 9px; background: #fff; color: var(--wb-accent); font-size: 15px; font-weight: 700; }
.wb-form--native .single_add_to_cart_button:hover { background: var(--wb-accent-soft); }
.wb-form--native .wb-native-buynow { order: 3 !important; flex: 1 1 100%; min-height: 54px; margin: 0 0 2px; }
.wb-form--native .vi-wad-single-product-shipping-wrap { order: 4 !important; flex: 1 1 100%; }
@media (max-width: 420px) {
	.wb-form--native .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; }
	.wb-form--native .quantity { flex: 0 0 auto; }
}

.wb-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
.wb-cart-row { display: grid; grid-template-columns: 142px minmax(0, 1fr); align-items: end; gap: 10px; }
.wb-cart-row .wb-qty-row { align-items: flex-start; flex-direction: column; gap: 6px; margin: 0; }
.wb-cart-row .wb-btn { min-width: 0; min-height: 48px; }

@media (max-width: 1023px) {
	.wb-layout { grid-template-columns: minmax(0, 1fr); }
	.wb-col-buy { position: static; padding: 4px 2px 2px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.wb-product { width: min(100% - 32px, 820px); }
	.wb-layout { padding: 22px; gap: 30px; }
	.wb-title { max-width: 32ch; }
}

@media (max-width: 767px) {
	.wb-product { width: 100%; padding: 0 12px 88px; margin-bottom: 32px; }
	.wb-breadcrumb { padding: 14px 2px 9px; }
	.wb-assurance { margin-bottom: 11px; }
	.wb-layout { padding: 12px; gap: 20px; border-radius: 14px; }
	.wb-title { max-width: none; font-size: clamp(21px, 6.2vw, 25px); line-height: 1.23; }
	.wb-price-block { padding: 15px 0; margin-bottom: 18px; }
	.wb-price-now { font-size: clamp(30px, 9vw, 35px); }
	.wb-swatch-group { margin-bottom: 16px; }
	.wb-swatch--image { width: 62px; height: 62px; }
	.wb-purchase { margin: 16px 0 20px; padding-top: 16px; }
	.wb-qty-row { min-height: 48px; }
	.wb-btn { min-height: 52px; }
	.wb-shipping { padding: 14px; }
}

@media (max-width: 420px) {
	.wb-product { padding-right: 9px; padding-left: 9px; }
	.wb-layout { padding: 10px; }
	.wb-eyebrow { font-size: 11px; }
	.wb-rating-line { font-size: 12px; }
	.wb-swatch-options { gap: 7px; }
	.wb-swatch--image { width: 58px; height: 58px; }
	.wb-swatch--text { min-width: 46px; padding: 8px 11px; font-size: 12px; }
	.wb-qty { width: 138px; min-width: 138px; }
	.wb-btn { padding-right: 12px; padding-left: 12px; font-size: 14px; }
	.wb-cart-row { grid-template-columns: 138px minmax(0, 1fr); gap: 8px; }
}

/* Estados interativos consistentes para todos os botoes. */
.wb-product a.button,
.wb-product button.button,
.wb-product input.button {
	border-color: var(--wb-accent);
	background: var(--wb-accent);
	color: #fff;
	box-shadow: 0 8px 18px rgba(77, 77, 248, .24);
}
.wb-product .wb-btn--secondary,
.wb-product .single_add_to_cart_button {
	border-color: var(--wb-accent);
	background: #fff;
	color: var(--wb-accent);
	box-shadow: none;
}
.wb-product .wb-btn--ghost {
	border-color: var(--wb-accent);
	background: transparent;
	color: var(--wb-accent);
	box-shadow: none;
}

.wb-thumb,
.wb-swatch,
.wb-stage-nav,
.wb-stage-expand,
.wb-lightbox-close,
.wb-reset,
.wb-share,
.wb-more {
	transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease, opacity .15s ease;
}
.wb-reset { margin-left: -8px; padding: 6px 8px; border-radius: 7px; text-decoration: none; }
.wb-share { margin: -6px -8px; padding: 6px 8px; border-radius: 7px; }
.wb-more { margin-left: -10px; padding-right: 10px; padding-left: 10px; border-radius: 7px; }
.wb-stage-nav,
.wb-stage-expand { color: var(--wb-accent); }

@media (hover: hover) and (pointer: fine) {
	.wb-product a.button:hover,
	.wb-product button.button:hover:not(:disabled),
	.wb-product input.button:hover:not(:disabled) {
		border-color: var(--wb-accent);
		background: var(--wb-accent-hover);
		color: #fff;
		box-shadow: 0 10px 22px rgba(77, 77, 248, .32);
		transform: translateY(-1px);
	}
	.wb-product .wb-btn--secondary:hover:not(:disabled),
	.wb-product .single_add_to_cart_button:hover:not(:disabled) {
		border-color: var(--wb-accent);
		background: var(--wb-accent-soft);
		color: var(--wb-accent);
		box-shadow: none;
		transform: translateY(-1px);
	}
	.wb-product .wb-btn--ghost:hover:not(:disabled) {
		border-color: var(--wb-accent);
		background: var(--wb-accent-soft-hover);
		color: var(--wb-accent);
		box-shadow: 0 4px 10px rgba(77, 77, 248, .1);
	}
	.wb-qty-btn:hover:not(:disabled) { background: var(--wb-accent-soft-hover); color: var(--wb-accent); }
	.wb-thumb:hover {
		border-color: var(--wb-accent);
		background: var(--wb-accent-soft);
		box-shadow: 0 5px 14px rgba(77, 77, 248, .15);
		transform: translateY(-1px);
	}
	.wb-swatch:hover:not(:disabled) {
		border-color: var(--wb-accent);
		background: var(--wb-accent-soft);
		box-shadow: 0 5px 14px rgba(77, 77, 248, .14);
		transform: translateY(-1px);
	}
	.wb-swatch[aria-checked="true"]:hover { box-shadow: 0 0 0 2px rgba(77, 77, 248, .2), 0 6px 15px rgba(77, 77, 248, .16); }
	.wb-stage-expand:hover { border-color: var(--wb-accent); background: var(--wb-accent-soft-hover); color: var(--wb-accent); box-shadow: 0 6px 14px rgba(77, 77, 248, .14); }
	.wb-stage .wb-stage-nav:hover { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .65)); }
	.wb-reset:hover,
	.wb-share:hover,
	.wb-more:hover { background: var(--wb-accent-soft); color: var(--wb-accent-hover); text-decoration: none; }
	.wb-lightbox-close:hover { color: #fff; transform: rotate(5deg); }
}

.wb-product .wb-btn:not(.wb-btn--primary):active:not(:disabled),
.wb-product a.button:active,
.wb-product button.button:active:not(:disabled),
.wb-product input.button:active:not(:disabled) {
	border-color: var(--wb-accent-active);
	background: var(--wb-accent-active);
	color: #fff;
	box-shadow: 0 4px 10px rgba(77, 77, 248, .2);
	transform: translateY(0) scale(.985);
}
.wb-product .wb-btn--secondary:active:not(:disabled),
.wb-product .single_add_to_cart_button:active:not(:disabled) {
	border-color: var(--wb-accent-active);
	background: var(--wb-accent-soft-hover);
	color: var(--wb-accent-active);
	transform: translateY(0) scale(.985);
}
.wb-qty-btn:active:not(:disabled) { background: var(--wb-accent-active); color: #fff; }
.wb-thumb:active,
.wb-swatch:active:not(:disabled),
.wb-stage-expand:active { transform: scale(.97); }
.wb-stage .wb-stage-nav:active { transform: translateY(-50%) scale(.92); }

.wb-product button:disabled,
.wb-product input:disabled,
.wb-product .disabled {
	cursor: not-allowed;
}
.wb-product .wb-btn:not(.wb-btn--primary):disabled,
.wb-product button.button:disabled,
.wb-product input.button:disabled {
	border-color: rgba(77, 77, 248, .3);
	background: rgba(77, 77, 248, .11);
	color: #7777d6;
	box-shadow: none;
	transform: none;
}
.wb-product .single_add_to_cart_button:disabled {
	border-color: #b8b8fc;
	background: #b8b8fc;
	color: #fff;
	box-shadow: none;
	transform: none;
}

@media (hover: none) {
	.wb-product a.button:hover:not(:active),
	.wb-product button.button:hover:not(:active):not(:disabled),
	.wb-product input.button:hover:not(:active):not(:disabled) {
		border-color: var(--wb-accent);
		background: var(--wb-accent);
		box-shadow: 0 8px 18px rgba(77, 77, 248, .24);
		transform: none;
	}
	.wb-product .wb-btn--secondary:hover:not(:active):not(:disabled),
	.wb-product .single_add_to_cart_button:hover:not(:active):not(:disabled) { border-color: var(--wb-accent); background: #fff; color: var(--wb-accent); box-shadow: none; transform: none; }
	.wb-product .wb-btn--ghost:hover:not(:active):not(:disabled) { background: transparent; color: var(--wb-accent); box-shadow: none; }
	.wb-qty-btn:hover:not(:active):not(:disabled) { background: var(--wb-accent-soft); color: var(--wb-accent); }
	.wb-thumb:hover:not(:active),
	.wb-swatch:hover:not(:active):not(:disabled) { background: #fff; transform: none; }
}

/* Definição única do CTA primário (--wb-cta), fora dos seletores genéricos
   .button acima — não há mais disputa de especificidade/ordem entre os dois. */
.wb-product .wb-btn--primary {
	border-color: var(--wb-cta);
	background: var(--wb-cta);
	box-shadow: 0 8px 18px rgba(77, 77, 248, .24);
}
@media (hover: hover) and (pointer: fine) {
	.wb-product .wb-btn--primary:hover:not(:disabled) {
		border-color: var(--wb-cta-hover);
		background: var(--wb-cta-hover);
		box-shadow: 0 10px 22px rgba(77, 77, 248, .32);
	}
}
.wb-product .wb-btn--primary:active:not(:disabled) {
	border-color: var(--wb-cta-active);
	background: var(--wb-cta-active);
	box-shadow: 0 4px 10px rgba(77, 77, 248, .2);
}
.wb-product .wb-btn--primary:disabled {
	border-color: #b8b8fc;
	background: #b8b8fc;
	color: #fff;
}
@media (hover: none) {
	.wb-product .wb-btn--primary:hover:not(:active):not(:disabled) {
		border-color: var(--wb-cta);
		background: var(--wb-cta);
		box-shadow: 0 8px 18px rgba(77, 77, 248, .24);
	}
}
