/*
 * 1by1 Core: estilos funcionais dos blocos. Usam as cores do tema quando existem
 * (variáveis --wp--preset--*) e caem para a paleta 1by1shop em outros temas.
 */
:root {
	--obo-ink: var(--wp--preset--color--ink, #171B3F);
	--obo-muted: var(--wp--preset--color--muted, #5B6170);
	--obo-line: var(--wp--preset--color--line, #E2E6EF);
	--obo-surface: var(--wp--preset--color--surface, #F3F5FA);
	--obo-accent: var(--wp--preset--color--accent, #D02B34);
	--obo-accent-strong: var(--wp--preset--color--accent-strong, #A81F28);
	--obo-success: var(--wp--preset--color--success, #0F6B41);
	--obo-success-soft: var(--wp--preset--color--success-soft, #E9F5EE);
	--obo-radius: 24px;
}

/* ---------- Banner de produtos ---------- */
.obo-hero { position: relative; }
.obo-slider__track,
.is-style-obo-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	gap: 0 !important;
}
.obo-slider__track::-webkit-scrollbar,
.is-style-obo-slider::-webkit-scrollbar { display: none; }
.obo-slider__track > *,
.is-style-obo-slider > * {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin-block: 0 !important;
	max-width: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.obo-slider__track, .is-style-obo-slider { scroll-behavior: auto; }
}

.obo-hero__slide {
	position: relative; /* contém os textos para leitores de tela; sem isto eles vazavam e criavam rolagem lateral */
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	min-height: clamp(380px, 42vw, 480px);
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 6vw, 4.5rem);
	border-radius: var(--obo-radius);
	overflow: hidden;
	box-sizing: border-box;
}
.obo-hero__slide.is-tone-ink { background: var(--obo-ink); color: #fff; }
.obo-hero__slide.is-tone-navy { background: var(--wp--preset--color--navy, #2E3370); color: #fff; }
.obo-hero__slide.is-tone-sand { background: var(--wp--preset--color--sand, #EEF1F8); color: var(--obo-ink); }
.obo-hero__slide.is-tone-surface { background: var(--obo-surface); color: var(--obo-ink); }
.obo-hero__text { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.obo-hero__chip {
	align-self: flex-start;
	margin: 0;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.14);
}
.is-tone-sand .obo-hero__chip, .is-tone-surface .obo-hero__chip { background: #fff; color: var(--obo-accent-strong); }
.obo-hero__title {
	margin: 0;
	font-size: clamp(2rem, 4.4vw, 3.375rem);
	line-height: 1.04;
	letter-spacing: -0.035em;
	font-weight: 800;
}
.obo-hero__title a { color: inherit; text-decoration: none; }
.obo-hero__desc { margin: 0; font-size: 1.0625rem; line-height: 1.55; opacity: 0.86; max-width: 34em; }
.obo-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.9rem; }
.obo-hero__amount { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.obo-hero__amount del { font-size: 0.45em; font-weight: 500; opacity: 0.7; }
.obo-hero__amount ins { text-decoration: none; }
.obo-hero__pix {
	font-size: 0.875rem;
	font-weight: 700;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--obo-success-soft);
	color: var(--obo-success);
}
.obo-hero__cta { margin: 0.25rem 0 0; }
.obo-hero__cta .wp-element-button { display: inline-flex; align-items: center; min-height: 52px; padding-inline: 1.9rem; font-size: 1rem; }
.obo-hero__media { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.obo-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--obo-accent);
	opacity: 0.9;
}
.is-tone-sand .obo-hero__media::before { background: #E8D9C4; }
.is-tone-navy .obo-hero__media::before { background: #2F3D60; }
.obo-hero__img {
	position: relative;
	display: block;
	width: 78%;
	height: 78%;
	margin: 11%;
	object-fit: contain;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.obo-hero__off {
	position: absolute;
	top: 4%;
	right: 0;
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--obo-accent);
	color: #fff;
	font-size: 1.4rem;
	font-weight: 800;
	transform: rotate(-10deg);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Controles do carrossel (criados pelo slider.js) */
.obo-slider__nav {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.obo-hero .obo-slider__nav {
	position: absolute;
	left: clamp(1.5rem, 5vw, 4rem);
	right: clamp(1rem, 2vw, 1.5rem);
	bottom: 1rem;
	margin: 0;
}
.obo-slider__dots { display: flex; flex: 1; }
.obo-slider__dot {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.obo-slider__dot span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: currentColor;
	opacity: 0.4;
	transition: width 0.25s ease, opacity 0.25s ease;
}
.obo-slider__dot[aria-current="true"] span { width: 28px; opacity: 1; background: var(--obo-accent); }
.obo-hero .obo-slider__dots { flex: 0 0 auto; margin-right: auto; padding: 0 0.5rem; border-radius: 999px; background: rgba(23, 27, 63, 0.55); color: #fff; }
.obo-slider__arrow,
.obo-slider__toggle {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--obo-ink);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	cursor: pointer;
}
.obo-slider__arrow:hover, .obo-slider__toggle:hover { color: var(--obo-accent); }

@media (max-width: 760px) {
	.obo-hero__slide { grid-template-columns: minmax(0, 1fr); padding-bottom: 5rem; }
	.obo-hero__media { grid-row: 1; width: min(78%, 320px); }
	.obo-slider__arrow { display: none; }
}

/* ---------- Pix e parcelas ---------- */
.obo-pay { display: flex; flex-direction: column; gap: 0.35rem; }
.obo-pay p { margin: 0; }
.obo-pay__pix {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--obo-success);
	font-size: 0.9375rem;
}
.obo-pay__logo { flex: 0 0 auto; display: block; }
.obo-pay__pix .woocommerce-Price-amount { white-space: nowrap; }
.obo-pay:not(.is-compact) .obo-pay__pix {
	padding: 0.8rem 1rem;
	border-radius: 14px;
	background: var(--obo-success-soft);
}
.obo-pay:not(.is-compact) .obo-pay__pix strong { font-size: 1.125rem; }
.obo-pay__inst { color: var(--obo-muted); font-size: 0.875rem; }
.obo-pay.is-compact .obo-pay__pix { gap: 0.3rem; font-size: 0.8125rem; font-weight: 600; }
.obo-pay.is-compact .obo-pay__pix strong { font-weight: 800; }
.obo-pay.is-compact .obo-pay__inst { font-size: 0.75rem; }

/* ---------- Contagem regressiva ---------- */
.obo-countdown { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700; }
.obo-countdown__label { color: var(--obo-muted); font-weight: 600; }
.obo-countdown__time { display: inline-flex; align-items: center; gap: 0.25rem; font-variant-numeric: tabular-nums; }
.obo-countdown__unit { padding: 0.35rem 0.5rem; border-radius: 8px; background: var(--obo-ink); color: #fff; }

/* ---------- Favoritos ---------- */
.obo-wish {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--obo-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}
.obo-wish:hover, .obo-wish.is-active { color: var(--obo-accent); }
.obo-wish.is-active svg { fill: currentColor; }
.obo-wishlink { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: inherit; }
.obo-wishlink__count {
	position: absolute;
	top: 0;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--obo-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-sizing: border-box;
}
.obo-wishlist__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.obo-wishlist__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.75rem;
	border: 1px solid var(--obo-line);
	border-radius: 20px;
}
.obo-wishlist__link { display: flex; flex-direction: column; gap: 0.5rem; color: inherit; text-decoration: none; font-weight: 600; }
.obo-wishlist__link img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--obo-surface); }
.obo-wishlist__price { font-weight: 800; font-size: 1.125rem; }
.obo-wishlist__remove {
	min-height: 44px;
	margin-top: auto;
	border: 1.5px solid var(--obo-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--obo-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.obo-wishlist[aria-busy="true"] { opacity: 0.6; }

/* ---------- Barra de compra fixa ---------- */
.obo-sticky {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	background: #fff;
	border-top: 1px solid var(--obo-line);
	box-shadow: 0 -8px 24px rgba(23, 27, 63, 0.08);
	padding-bottom: env(safe-area-inset-bottom);
}
.obo-sticky[hidden] { display: none; }
.obo-sticky__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size, 1320px);
	margin: 0 auto;
	padding: 0.6rem clamp(1rem, 3vw, 1.5rem);
	box-sizing: border-box;
}
.obo-sticky__thumb img { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 12px; }
.obo-sticky__info { flex: 1; min-width: 0; }
.obo-sticky__info p { margin: 0; }
.obo-sticky__name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obo-sticky__price { font-weight: 800; }
.obo-sticky__price del { font-weight: 400; opacity: 0.6; font-size: 0.8em; }
.obo-sticky__pix { margin-left: 0.5rem; color: var(--obo-success); font-size: 0.875rem; }
.obo-sticky__btn { min-height: 52px; white-space: nowrap; }
body.obo-has-sticky { padding-bottom: 80px; }
@media (max-width: 600px) {
	.obo-sticky__thumb, .obo-sticky__name { display: none; }
}

/* ---------- Frete grátis ---------- */
.obo-freebar { padding: 1rem 1.25rem; border-radius: 16px; background: var(--obo-surface); }
.obo-freebar__msg { margin: 0 0 0.6rem; font-size: 0.9375rem; font-weight: 600; }
.obo-freebar__track { height: 8px; border-radius: 999px; background: var(--obo-line); overflow: hidden; }
.obo-freebar__fill { display: block; height: 100%; border-radius: inherit; background: var(--obo-accent); transition: width 0.4s ease; }
.obo-freebar.is-done .obo-freebar__fill { background: var(--obo-success); }
.obo-freebar.is-done .obo-freebar__msg { color: var(--obo-success); }

/* ---------- Selos ---------- */
.obo-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.obo-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.3;
}
.obo-badge.is-sale { background: var(--obo-accent); color: #fff; }
.obo-badge.is-intl { background: var(--wp--preset--color--sky-soft, #E6F7FD); color: var(--wp--preset--color--navy, #2E3370); box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.35); }
.obo-badge.is-intl::before {
	content: "";
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.obo-badge.is-low { background: #FDEDEE; color: var(--obo-accent-strong); }

/* ---------- Prazo de entrega ---------- */
.obo-delivery { list-style: none; margin: 0; padding: 14px 16px; border: 1px solid var(--obo-line); border-radius: 14px; display: grid; gap: 12px; }
.obo-delivery__row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.obo-delivery__icon { width: 22px; height: 22px; background: currentColor; color: var(--obo-success); -webkit-mask: var(--obo-icon) center / contain no-repeat; mask: var(--obo-icon) center / contain no-repeat; }
.obo-delivery__row.is-date .obo-delivery__icon { --obo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.obo-delivery__row.is-origin .obo-delivery__icon { --obo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); color: var(--wp--preset--color--navy, #2E3370); }
.obo-delivery__title { display: block; }
.obo-delivery__country { display: inline-flex; align-items: center; gap: 0.4rem; vertical-align: -2px; }
.obo-flag { flex: 0 0 auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(23, 27, 63, 0.12); }
.obo-delivery__note { display: block; font-size: 0.85em; color: var(--obo-muted); margin-top: 2px; }

/* ---------- Preço em atualização (Remessa Conforme) ---------- */

/* ---------- Avise-me ---------- */
.obo-stock-alert { padding: 16px; border-radius: 14px; background: var(--obo-surface); display: grid; gap: 8px; }
.obo-stock-alert p { margin: 0; }
.obo-stock-alert__title { font-weight: 700; }
.obo-stock-alert__text { color: var(--obo-muted); font-size: 0.92em; }
.obo-stock-alert__row { display: flex; gap: 8px; }
.obo-stock-alert__row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--obo-line); border-radius: 999px; font: inherit; background: #fff; }
.obo-stock-alert__consent { display: flex; gap: 8px; font-size: 0.82em; color: var(--obo-muted); align-items: flex-start; }
.obo-stock-alert__consent input { margin-top: 3px; }
.obo-stock-alert__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.obo-stock-alert__msg:empty { display: none; }
.obo-stock-alert.is-done .obo-stock-alert__msg { color: var(--obo-success); font-weight: 600; }
.obo-stock-alert.is-error .obo-stock-alert__msg { color: #B42318; }

/* ---------- Busca com sugestões ---------- */
.wp-block-search.has-obo-ls { position: relative; }
.obo-ls { position: absolute; z-index: 120; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--obo-line); border-radius: 16px; box-shadow: 0 16px 40px rgba(23, 27, 63, 0.14); max-height: min(70vh, 480px); overflow-y: auto; }
.obo-ls[hidden] { display: none; }
.obo-ls a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--obo-ink); text-decoration: none; }
.obo-ls img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--obo-surface); flex: none; }
.obo-ls__name { display: block; font-size: 0.92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.obo-ls__price { display: block; font-size: 0.85rem; font-weight: 700; margin-top: 2px; }
.obo-ls [aria-selected="true"] a, .obo-ls a:hover { background: var(--obo-surface); }
.obo-ls__all a { justify-content: center; font-weight: 600; font-size: 0.9rem; color: var(--obo-accent-strong); }

/* ---------- Barra do celular ---------- */
.obo-mnav { display: none; }
@media (max-width: 781px) {
	.obo-mnav { display: block; position: fixed; inset: auto 0 0 0; z-index: 95; background: #fff; border-top: 1px solid var(--obo-line); box-shadow: 0 -6px 20px rgba(23, 27, 63, 0.06); padding-bottom: env(safe-area-inset-bottom); }
	.obo-mnav ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
	.obo-mnav__link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 58px; justify-content: center; font-size: 11px; font-weight: 600; color: var(--obo-muted); text-decoration: none; }
	.obo-mnav__link[aria-current="page"] { color: var(--obo-accent); }
	.obo-mnav__count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--obo-accent); color: #fff; font-size: 10px; line-height: 18px; text-align: center; }
	.obo-mnav__count[hidden] { display: none; }
	body.has-obo-mnav { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
	body.has-obo-mnav .obo-sticky { bottom: calc(59px + env(safe-area-inset-bottom)); padding-bottom: 0; }
}

/* ---------- Idioma ---------- */
.obo-lang { display: inline-flex; align-items: center; gap: 0.4rem; }
.obo-lang__link { display: inline-flex; padding: 3px; border-radius: 6px; line-height: 0; opacity: 0.55; filter: saturate(0.6); transition: opacity 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease; }
.obo-lang__link svg { display: block; width: 24px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.obo-lang__link:hover, .obo-lang__link:focus-visible { opacity: 1; filter: none; }
.obo-lang__link.is-current { opacity: 1; filter: none; box-shadow: 0 0 0 2px currentColor; }

/* ---------- WhatsApp ---------- */
.obo-wa { position: fixed; z-index: 94; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1F8A4C; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; box-shadow: 0 10px 28px rgba(23, 27, 63, 0.2); }
.obo-wa:hover, .obo-wa:focus-visible { background: #17703C; color: #fff; }
body:has(.obo-sticky:not([hidden])) .obo-wa { bottom: 100px; }
@media (max-width: 781px) {
	.obo-wa { padding: 12px; right: 14px; bottom: calc(74px + env(safe-area-inset-bottom)); }
	.obo-wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	body:has(.obo-sticky:not([hidden])) .obo-wa { bottom: calc(150px + env(safe-area-inset-bottom)); }
	body:not(.has-obo-mnav) .obo-wa { bottom: 14px; }
}

/* ---------- Aviso de cookies ---------- */
.obo-consent { position: fixed; z-index: 130; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.obo-consent[hidden] { display: none; }
.obo-consent__inner { pointer-events: auto; width: min(100%, 760px); background: #fff; color: var(--obo-ink); border: 1px solid var(--obo-line); border-radius: 18px; box-shadow: 0 20px 50px rgba(23, 27, 63, 0.2); padding: 18px 20px; display: grid; gap: 10px; }
.obo-consent__title { margin: 0; font-weight: 700; }
.obo-consent__text { margin: 0; font-size: 0.9rem; color: var(--obo-muted); }
.obo-consent__text a { color: inherit; text-decoration: underline; }
.obo-consent__prefs { display: grid; gap: 6px; font-size: 0.9rem; }
.obo-consent__prefs[hidden] { display: none; }
.obo-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.obo-consent__btn { min-height: 42px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.obo-consent__btn[hidden] { display: none; }
.obo-consent__btn.is-secondary { background: #fff; color: var(--obo-ink); border: 1px solid var(--obo-line); }
.obo-consent__btn.is-primary { border: 0; }
@media (max-width: 781px) {
	.obo-consent { left: 8px; right: 8px; bottom: calc(68px + env(safe-area-inset-bottom)); }
	body:not(.has-obo-mnav) .obo-consent { bottom: 8px; }
	.obo-consent__actions { justify-content: stretch; }
	.obo-consent__btn { flex: 1 1 auto; }
}
/* ---------- Primeira compra ---------- */
.obo-first { display: grid; gap: 6px; padding: 14px 18px; border: 1.5px dashed var(--obo-accent); border-radius: 16px; background: var(--wp--preset--color--accent-soft, #FFF1EA); color: var(--obo-ink); }
.obo-first p { margin: 0; }
.obo-first__offer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.obo-first__tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--obo-accent); padding: 3px 8px; border-radius: 999px; }
.obo-first__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-size: 0.95rem; padding: 2px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--obo-line); user-select: all; }
.obo-first__terms { font-size: 0.8rem; color: var(--obo-muted); }
.obo-first__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.obo-first__apply { min-height: 40px; padding: 0 16px !important; font-size: 0.9rem !important; }
.obo-first__copy { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--obo-line); background: #fff; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--obo-ink); }
.obo-first__msg { font-size: 0.85rem; font-weight: 600; color: var(--obo-success); }
.obo-first.is-inline { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); color: inherit; }
.obo-first.is-inline .obo-first__terms { color: inherit; opacity: 0.75; }
.obo-first.is-inline .obo-first__code { color: var(--obo-ink); }
.obo-first.is-inline .obo-first__msg { color: inherit; }

/* ---------- Fotos nas avaliações ---------- */
.obo-review-photos { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 10px 0 0; padding: 0; }
.obo-review-photos img { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 10px; border: 1px solid var(--obo-line); }
.obo-review-photos a:focus-visible img { outline: 3px solid var(--obo-accent); outline-offset: 2px; }
.obo-review-photos__pending, .obo-review-photos__help, .obo-review-photos__hint { font-size: 0.82rem; color: var(--obo-muted); }
.obo-review-photos__field label { display: block; font-weight: 600; margin-bottom: 4px; }
.obo-review-photos__field input[type="file"] { display: block; max-width: 100%; margin-bottom: 4px; }
.obo-review-photos__help { display: block; }
.obo-review-photos__msg { display: block; font-size: 0.85rem; font-weight: 600; }