/* ==========================================================================
   Tema CBS — estilos base (todas as páginas)
   ========================================================================== */

:root {
	--c-primary: #312783;
	--c-alt: #dd9c00;
	--c-text: #000;
	--c-link: #333;
	--c-muted: #777;
	--c-soft: #a5a5a5;
	--c-border: rgba(0, 0, 0, .105);
	--c-bg-soft: #f7f7f7;
	--font: "Quicksand", Arial, Helvetica, sans-serif;
	--container: 1222px;
	--gutter: 15px;
	--header-h: 90px;
	--header-h-sticky: 60px;
	--sbw: 0px; /* largura da barra de rolagem (definida pelo JS) */
	--radius-form: 35px;
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 14px/1.6 var(--font);
	color: var(--c-text);
	background: #fff;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--c-link); text-decoration: none; transition: color .2s, opacity .2s, background-color .2s, border-color .2s; }
a:hover { color: #242424; }
p { margin: 0 0 20px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-family: var(--font); font-weight: 700; line-height: 1.4; color: var(--c-text); }
h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 12px; }
ul, ol { margin: 0 0 20px; padding-left: 20px; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--c-link); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cbs-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 15px; }
.cbs-skip:focus { left: 10px; top: 10px; }

/* ---------- Formulários ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
	width: 100%;
	height: 42px;
	padding: 0 15px;
	border: 2px solid rgba(129, 129, 129, .2);
	border-radius: var(--radius-form);
	background: transparent;
	font-size: 14px;
	transition: border-color .2s;
	-webkit-appearance: none;
	appearance: none;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 15px center; padding-right: 35px; }
textarea { height: auto; min-height: 140px; padding: 12px 15px; border-radius: 20px; }
input:focus, select:focus, textarea:focus { border-color: rgba(129, 129, 129, .3); outline: none; }
label { display: block; margin-bottom: 5px; color: #2d2a2a; }

/* ---------- Botões ---------- */
.cbs-btn, button.button, a.button, input[type="submit"], .wpcf7-submit {
	--btn-c: #f3f3f3;
	--btn-t: #333;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 2px solid transparent;
	border-radius: 0;
	background: var(--btn-c);
	color: var(--btn-t);
	font: 600 13px/18px var(--font);
	text-transform: uppercase;
	letter-spacing: .3px;
	text-align: center;
	cursor: pointer;
	transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s, opacity .25s;
}
.cbs-btn:hover, button.button:hover, a.button:hover, input[type="submit"]:hover, .wpcf7-submit:hover { box-shadow: inset 0 0 200px rgba(0, 0, 0, .1); color: var(--btn-t); }
.cbs-btn .e-font-icon-svg, .cbs-btn svg { width: 1em; height: 1em; fill: currentColor; }
.cbs-btn--color-primary { --btn-c: var(--c-primary); --btn-t: #fff; }
input[type="submit"], .wpcf7-submit { --btn-t: #3e3e3e; }
.cbs-btn--color-alt { --btn-c: var(--c-alt); --btn-t: #fff; }
.cbs-btn--color-black { --btn-c: #212121; --btn-t: #fff; }
.cbs-btn--color-white { --btn-c: #fff; --btn-t: #333; }
.cbs-btn--color-custom { --btn-t: #fff; }
.cbs-btn--scheme-light { --btn-t: #fff; }
.cbs-btn--scheme-dark { --btn-t: #333; }
.cbs-btn--size-extra-small { padding: 5px 10px; font-size: 11px; }
.cbs-btn--size-small { padding: 8px 14px; font-size: 12px; }
.cbs-btn--size-large { padding: 14px 28px; font-size: 14px; line-height: 20px; }
.cbs-btn--size-extra-large { padding: 18px 40px; font-size: 16px; }
.cbs-btn--shape-semi-round { border-radius: 5px; }
.cbs-btn--shape-round { border-radius: 35px; }
.cbs-btn--full { display: flex; width: 100%; }
.cbs-btn--bordered { background: transparent; border-color: var(--btn-c); color: var(--btn-c); }
.cbs-btn--bordered.cbs-btn--scheme-light { color: #fff; }
.cbs-btn--bordered:hover { background: var(--btn-c); color: #fff; box-shadow: none; }
.cbs-btn--link { padding: 0 0 2px; border: 0; border-bottom: 2px solid var(--btn-c); background: none; color: var(--c-link); }
.cbs-btn--link.cbs-btn--color-primary { color: var(--c-primary); }
.cbs-btn--link:hover { box-shadow: none; opacity: .7; color: var(--c-link); }
.cbs-btn--3d { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.cbs-btn--sm { padding: 8px 14px; font-size: 12px; }
.cbs-btn-wrap { line-height: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.cbs-main { padding-top: 40px; padding-bottom: 40px; min-height: 40vh; }
.cbs-main > .cbs-pagetitle:first-child { margin-top: -40px; }
.cbs-layout { display: grid; gap: 30px; }
.cbs-layout--sidebar-right { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.cbs-layout--sidebar-left { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.cbs-layout--sidebar-left .cbs-layout__aside { order: -1; }
.cbs-empty { text-align: center; padding: 40px 0 60px; }
.cbs-404__code { font-size: 110px; font-weight: 700; line-height: 1; color: var(--c-primary); margin-bottom: 10px; }

/* Alinhamentos e esquemas usados pelos widgets */
.cbs-align-left { text-align: left; }
.cbs-align-center { text-align: center; }
.cbs-align-right { text-align: right; }
.cbs-color-primary { color: var(--c-primary); }
.cbs-color-alt { color: var(--c-alt); }
.cbs-color-white { color: #fff; }
.cbs-color-black, .cbs-color-title { color: #000; }
/* O esquema de cor (claro/escuro) prevalece sobre a cor pré-definida, como no Woodmart. */
.cbs-scheme-light, .cbs-scheme-light h1, .cbs-scheme-light h2, .cbs-scheme-light h3, .cbs-scheme-light h4, .cbs-scheme-light h5, .cbs-scheme-light h6, .cbs-scheme-light a:not(.cbs-btn) { color: #fff; }
.cbs-scheme-dark { color: #333; }
.cbs-text-center { text-align: center; }

/* ---------- Cabeçalho ---------- */
.cbs-header {
	position: sticky;
	top: 0;
	z-index: 390;
	background: #fff;
	transition: transform .3s ease, box-shadow .3s ease;
}
.admin-bar .cbs-header { top: 32px; }
.cbs-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--header-h);
	padding: 0 20px;
	transition: height .3s ease;
}
.cbs-header.is-stuck { box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.cbs-header.is-stuck .cbs-header__inner { height: var(--header-h-sticky); }
.cbs-header.is-hidden { transform: translateY(-100%); }
.cbs-header__brand { flex: 1 1 0; min-width: 0; }
.cbs-logo { display: inline-flex; align-items: center; }
.cbs-logo__img { max-height: var(--header-h); width: auto; transition: max-height .3s ease; }
.cbs-header.is-stuck .cbs-logo__img { max-height: calc(var(--header-h-sticky) - 4px); }
.cbs-logo__img--mobile { display: none; }
.cbs-logo__text { font-size: 22px; font-weight: 700; color: var(--c-primary); }

.cbs-nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.cbs-nav__list > li { position: relative; }
.cbs-nav__list > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 40px;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #333;
}
.cbs-nav__list > li:hover > a, .cbs-nav__list > li.current-menu-item > a, .cbs-nav__list > li.current-menu-ancestor > a { color: var(--c-primary); }
.cbs-nav__caret { opacity: .6; }
.cbs-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, .15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.cbs-nav__list .sub-menu .sub-menu { top: -10px; left: 100%; }
.cbs-nav__list li:hover > .sub-menu, .cbs-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cbs-nav__list .sub-menu li { position: relative; }
.cbs-nav__list .sub-menu a { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px; font-size: 14px; line-height: 20px; color: #777; }
.cbs-nav__list .sub-menu a:hover { color: #333; }

.cbs-header__tools { flex: 1 1 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.cbs-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #333; }
.cbs-iconbtn:hover { color: var(--c-primary); }
.cbs-header__burger { display: none; }

/* Busca em tela cheia */
.cbs-search {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18vh 20px 40px;
	overflow-y: auto;
	background: rgba(255, 255, 255, .98);
	animation: cbs-fade .2s ease;
}
.cbs-search__close { position: absolute; top: 20px; right: 20px; }
.cbs-search__form { width: 100%; max-width: 900px; text-align: center; }
.cbs-search input.cbs-search__input {
	height: auto;
	padding: 10px 0;
	border: 0;
	border-bottom: 2px solid var(--c-border);
	border-radius: 0;
	font-size: clamp(24px, 4vw, 48px);
	font-weight: 600;
	text-align: center;
}
.cbs-search input.cbs-search__input:focus { border-color: var(--c-primary); }
.cbs-search__hint { margin: 15px 0 0; color: var(--c-muted); }
.cbs-search__results { width: 100%; max-width: 900px; margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cbs-search__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--c-border); }
.cbs-search__item:hover { box-shadow: 0 0 0 1px var(--c-primary); }
.cbs-search__item img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.cbs-search__item span { font-size: 13px; line-height: 1.35; color: #000; }
.cbs-search__item small { display: block; color: var(--c-soft); }
.cbs-search__all { grid-column: 1 / -1; text-align: center; font-weight: 700; text-transform: uppercase; color: var(--c-primary); }
.cbs-search__empty { grid-column: 1 / -1; text-align: center; color: var(--c-muted); }

/* Menu lateral (celular) */
.cbs-drawer { position: fixed; inset: 0; z-index: 480; }
.cbs-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: cbs-fade .2s ease; }
.cbs-drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	width: min(340px, 86vw);
	overflow-y: auto;
	background: #fff;
	animation: cbs-slide-in .25s ease;
}
.cbs-drawer__head { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 15px; border-bottom: 1px solid var(--c-border); }
.cbs-drawer__search { flex: 1; display: flex; align-items: center; }
.cbs-drawer__search input { height: 40px; border: 0; padding: 0; border-radius: 0; }
.cbs-drawer__search button { border: 0; background: none; color: #333; padding: 6px; }
.cbs-drawer__menu, .cbs-drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.cbs-drawer__menu li { border-bottom: 1px solid var(--c-border); }
.cbs-drawer__menu a { display: block; padding: 13px 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #333; }
.cbs-drawer__menu .sub-menu a { padding-left: 35px; font-weight: 500; text-transform: none; font-size: 14px; color: #555; }
.cbs-drawer__menu .sub-menu .sub-menu a { padding-left: 50px; }

/* ---------- Faixa de título ---------- */
.cbs-pagetitle { margin-bottom: 40px; padding: 60px 0; background: var(--c-primary); color: #fff; text-align: center; }
.cbs-pagetitle__title { margin: 0 0 10px; font-size: 68px; line-height: 1.2; font-weight: 700; color: #fff; }
.cbs-pagetitle__crumbs { font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.cbs-pagetitle__crumbs a { font-weight: 600; color: #fff; }
.cbs-pagetitle__crumbs a:hover { color: rgba(255, 255, 255, .8); }
.cbs-pagetitle .sep, .cbs-crumbs .sep { margin: 0 6px; opacity: .6; }
.cbs-crumbs { font-size: 13.3px; color: #000; }
.cbs-crumbs a { color: var(--c-muted); }
.cbs-crumbs a:hover { color: #333; }

/* Citação destacada do editor de blocos usada dentro de páginas do Elementor (ex.: Orçamento) */
.wp-block-pullquote { margin: 0 0 21px; padding: 84px 0; border-top: 2px solid #000; border-bottom: 2px solid #000; font-size: 21px; line-height: 1.6; text-align: center; }
.wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: 1.1em; }
.wp-block-pullquote p { margin: 0 0 10px; font-size: inherit; line-height: 1.6; }

/* ---------- Alinhamentos padrão do WordPress ---------- */
.alignleft { float: left; margin: 0 15px 10px 0; }
.alignright { float: right; margin: 0 0 10px 15px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignnone { margin: 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--c-muted); text-align: center; }
.cbs-text::after, .cbs-entry::after { content: ""; display: table; clear: both; }

/* ---------- Conteúdo de texto ---------- */
.cbs-entry { font-size: 14px; }
.cbs-entry img { border-radius: 2px; }
.cbs-entry a, .cbs-entry-text a { color: var(--c-primary); }
.cbs-entry blockquote { margin: 0 0 20px; padding: 10px 20px; border-left: 3px solid var(--c-primary); background: var(--c-bg-soft); }
.cbs-entry table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cbs-entry th, .cbs-entry td { padding: 10px; border-bottom: 1px solid var(--c-border); text-align: left; }
.cbs-single__media { margin: 0 0 20px; }
.cbs-single__meta { margin-bottom: 20px; color: var(--c-muted); font-size: 13px; }
.cbs-single__meta a { color: var(--c-primary); }
.cbs-postnav { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; padding: 20px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); font-weight: 600; }
.cbs-postnav a { display: inline-flex; align-items: center; gap: 6px; }
.cbs-comments { margin-top: 30px; }
.cbs-comments__list { list-style: none; padding: 0; }
.cbs-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--c-border); }

/* Paginação */
.pagination .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 20px 0 0; padding: 0; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 34px; font-weight: 600; color: #333; }
.page-numbers.current { background: var(--c-primary); color: #fff; }
a.page-numbers:hover { background: #f1f1f1; }

/* Barra lateral e widgets */
.cbs-layout__aside .widget { margin-bottom: 30px; }
.widget-title { margin-bottom: 15px; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 5px 0; }
.widget li a { color: #777; }
.widget li a:hover { color: #333; }
.cbs-recent li { display: flex; gap: 12px; align-items: flex-start; padding: 0 0 15px; }
.cbs-recent__thumb { flex: none; }
.cbs-recent__title { display: block; font-weight: 600; line-height: 1.4; color: #000 !important; }
.cbs-recent__meta { margin-top: 4px; font-size: 12px; color: var(--c-soft); }
.cbs-searchform { position: relative; }
.cbs-searchform button { position: absolute; top: 0; right: 0; height: 42px; width: 46px; border: 0; background: none; color: #333; }

/* ---------- Blog (cartões) ---------- */
.cbs-posts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 20px); }
.cbs-layout--sidebar-right .cbs-posts { --cols: 2; }
.cbs-card { display: flex; flex-direction: column; height: 100%; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .12); text-align: center; }
.cbs-card__media { position: relative; overflow: hidden; }
.cbs .cbs-card__media img { display: block; width: 100%; transition: transform .5s ease; }
.cbs-card:hover .cbs-card__media img { transform: scale(1.05); }
.cbs-card__date { position: absolute; top: 15px; left: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 53px; height: 56px; background: #fff; box-shadow: 0 0 9px rgba(0, 0, 0, .1); color: #333; font-size: 13px; line-height: 14px; text-transform: lowercase; }
.cbs-card__date strong { font-size: 20px; line-height: 22px; font-weight: 600; }
.cbs-card__cat { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 0 10px; background: var(--c-primary); color: #fff; font-size: 12px; line-height: 25px; text-transform: uppercase; white-space: nowrap; }
.cbs-card__cat:hover { color: #fff; }
.cbs-card__body { flex: 1; padding: 20px 25px 25px; }
.cbs-card__title { margin: 0 0 10px; font-size: 24px; font-weight: 500; line-height: 1.4; }
.cbs-card__title a { color: #000; }
.cbs-card__title a:hover { color: rgba(51, 51, 51, .65); }
.cbs-card__meta { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13px; color: var(--c-soft); }
.cbs-card__meta img { border-radius: 50%; }
.cbs-card__excerpt { margin-bottom: 15px; color: #000; }
.cbs-card__more { font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--c-primary); }

/* ---------- Rodapé ---------- */
.cbs-footer { background: #fff; color: #777; }
.cbs-footer__main { padding-top: 0; }
.cbs-footer__bar { border-top: 1px solid var(--c-border); }
.cbs-footer__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 58px; padding-top: 15px; padding-bottom: 15px; font-size: 14px; }
.cbs-footer__bar a { color: #777; }

.cbs-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 350;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #333;
	box-shadow: 0 0 5px rgba(0, 0, 0, .17);
	animation: cbs-fade .2s ease;
}

/* Aviso de cookies */
.cbs-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 470; background: #fff; box-shadow: 0 0 9px rgba(0, 0, 0, .1); animation: cbs-up .3s ease; }
.cbs-cookies__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 15px 30px; }
.cbs-cookies p { margin: 0; color: #333; }
.cbs-cookies .cbs-btn { --btn-c: var(--c-primary); --btn-t: #fff; flex: none; }

/* Popup de aviso */
.cbs-popup { position: fixed; inset: 0; z-index: 520; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cbs-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); animation: cbs-fade .3s ease; }
.cbs-popup__box { position: relative; z-index: 1; width: 800px; max-width: 100%; max-height: 90vh; overflow: auto; padding: 30px; background: #fff; animation: cbs-zoom .3s ease; }
.cbs-popup__close { position: absolute; top: 5px; right: 5px; }
.cbs-popup__content img { display: block; margin: 0 auto; }

@keyframes cbs-fade { from { opacity: 0; } }
@keyframes cbs-up { from { transform: translateY(100%); } }
@keyframes cbs-zoom { from { opacity: 0; transform: scale(.94); } }
@keyframes cbs-slide-in { from { transform: translateX(-100%); } }

/* Ampliação de imagens (galerias) */
.cbs-lightbox { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .9); animation: cbs-fade .2s ease; }
.cbs-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.cbs-lightbox button { position: absolute; border: 0; background: none; color: #fff; padding: 12px; }
.cbs-lightbox__close { top: 10px; right: 10px; }
.cbs-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.cbs-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Elementor: seções "esticadas" (opção do Woodmart preservada)
   ========================================================================== */
.elementor-section.wd-section-stretch,
.elementor-section.wd-section-stretch-content,
.elementor-section.wd-section-stretch_row_content {
	width: calc(100vw - var(--sbw));
	max-width: none;
	left: calc(50% - (100vw - var(--sbw)) / 2);
}
.cbs .elementor-section.wd-section-stretch > .elementor-container { max-width: 1212px; margin-inline: auto; }
.cbs .elementor-section.wd-section-stretch > .elementor-column-gap-no { max-width: 1192px; }
.cbs .elementor-section.wd-section-stretch > .elementor-column-gap-narrow { max-width: 1202px; }
.cbs .elementor-section.wd-section-stretch > .elementor-column-gap-extended { max-width: 1222px; }
.cbs .elementor-section.wd-section-stretch > .elementor-column-gap-wide { max-width: 1232px; }
.cbs .elementor-section.wd-section-stretch > .elementor-column-gap-wider { max-width: 1252px; }
.cbs .elementor-section.wd-section-stretch-content > .elementor-container { max-width: none; }
.cbs-page--builder .container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ==========================================================================
   Widgets CBS (substitutos dos widgets do Woodmart)
   ========================================================================== */

/* Título */
.cbs-title > * { margin-bottom: 10px; }
.cbs-title > *:last-child { margin-bottom: 0; }
.cbs-title.cbs-align-center > * { margin-left: auto; margin-right: auto; }
.cbs-title.cbs-align-right > * { margin-left: auto; }
.cbs-title__sub { font-size: 14px; color: #777; }
.cbs-title__title { font-size: 22px; font-weight: 700; line-height: 1.4; color: #000; }
.cbs-size-small .cbs-title__title { font-size: 18px; }
.cbs-size-medium .cbs-title__title { font-size: 26px; }
.cbs-size-large .cbs-title__title { font-size: 36px; }
.cbs-size-extra-large .cbs-title__title { font-size: 48px; line-height: 1.2; }
.cbs-title__after { font-size: 15px; line-height: 1.6; }
.cbs-title__after p:last-child { margin-bottom: 0; }
.cbs-title--primary .cbs-title__sub { color: var(--c-primary); }
.cbs-title--alt .cbs-title__sub { color: var(--c-alt); }
.cbs-title--white, .cbs-title--white .cbs-title__title, .cbs-title--white .cbs-title__sub { color: #fff; }
.cbs-title--black .cbs-title__sub { color: #000; }

/* Texto */
.cbs-text > *:last-child { margin-bottom: 0; }
.cbs-text.cbs-align-center { margin-left: auto; margin-right: auto; }

/* Imagem */
.cbs-image img { display: inline-block; }
.cbs-image.cbs-align-center { text-align: center; }

/* Lista */
.cbs-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cbs-list li > a, .cbs-list li { display: flex; align-items: baseline; gap: 10px; }
.cbs-list.cbs-align-center li { justify-content: center; }
.cbs-list__icon { flex: none; color: #2c2c2c; font-size: 14px; line-height: 1; }
.cbs-list__icon svg { width: 1em; height: 1em; fill: currentColor; }
.cbs-list__icon--img img { max-width: 50px; }
.cbs-list--ordered { list-style: decimal; padding-left: 20px; display: block; }
.cbs-list--ordered li, .cbs-list--unordered li { display: list-item; }
.cbs-list--unordered { list-style: disc; padding-left: 20px; display: block; }
.cbs-list__text > *:last-child { margin-bottom: 0; }
.cbs-size-small.cbs-list { font-size: 12px; }
.cbs-size-large.cbs-list { font-size: 16px; }

/* Caixa de informação */
.cbs-infobox { position: relative; display: flex; flex-direction: column; gap: 20px; height: 100%; transition: background-color .3s, color .3s, box-shadow .3s; }
.cbs-infobox.cbs-align-center { align-items: center; }
.cbs-infobox.cbs-align-right { align-items: flex-end; }
.cbs-infobox--img-left { flex-direction: row; align-items: flex-start; }
.cbs-infobox--img-right { flex-direction: row-reverse; align-items: flex-start; }
.cbs-infobox__icon img { display: block; }
.cbs-infobox__icon--text { font-size: 52px; font-weight: 600; line-height: 1; color: var(--c-primary); }
.cbs-infobox__sub { margin-bottom: 5px; font-size: 14px; color: var(--c-primary); }
.cbs-infobox__title { margin-bottom: 10px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.cbs-infobox__content > *:last-child { margin-bottom: 0; }
.cbs-infobox__btn { margin-top: 15px; }
.cbs-infobox__cover { position: absolute; inset: 0; z-index: 2; }
.cbs-infobox--border { padding: 30px; border: 2px solid var(--c-border); }
.cbs-infobox--shadow { padding: 30px; box-shadow: 0 0 9px rgba(0, 0, 0, .1); }
.cbs-infobox--bg-hover { padding: 30px; }
.cbs-infobox--bg-hover:hover { background: var(--ib-hover, var(--c-primary)); color: #fff; box-shadow: 2px 3px 14px rgba(0, 0, 0, .1); }
.cbs-infobox--bg-hover:hover .cbs-infobox__title, .cbs-infobox--bg-hover:hover .cbs-infobox__sub { color: #fff; }
.cbs-infobox--bg-hover:hover .cbs-infobox__icon img { filter: brightness(0) invert(1); }
.cbs-infobox--btn-hover .cbs-infobox__btn { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.cbs-infobox--btn-hover:hover .cbs-infobox__btn { opacity: 1; transform: none; }

/* Acordeão */
.cbs-acc__item { border-bottom: 1px solid var(--c-border); }
.cbs-acc__title { display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.cbs-acc__title::-webkit-details-marker { display: none; }
.cbs-acc--opener-right .cbs-acc__title { flex-direction: row-reverse; justify-content: space-between; }
.cbs-acc__opener { flex: none; transition: transform .25s; }
.cbs-acc__item[open] .cbs-acc__opener { transform: rotate(180deg); }
.cbs-acc__content { padding: 0 0 16px 26px; }
.cbs-acc--opener-right .cbs-acc__content { padding-left: 0; }
.cbs-acc__content > *:last-child { margin-bottom: 0; }

/* Contador */
.cbs-counter__value { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--c-primary); }
.cbs-counter--small .cbs-counter__value { font-size: 28px; }
.cbs-counter--large .cbs-counter__value { font-size: 60px; }
.cbs-counter__label { margin-top: 5px; font-size: 14px; font-weight: 400; }
.cbs-counter.cbs-scheme-light .cbs-counter__value { color: #fff; }
.cbs-counter.cbs-scheme-light .cbs-counter__label { color: rgba(255, 255, 255, .8); }

/* Compartilhar */
.cbs-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cbs-social.cbs-align-center { justify-content: center; }
.cbs-social.cbs-align-right { justify-content: flex-end; }
.cbs-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #333; }
.cbs-social--small a { width: 30px; height: 30px; }
.cbs-social--large a { width: 48px; height: 48px; }
.cbs-social--colored a, .cbs-social--colored-alt a:hover { color: #fff; }
.cbs-social--colored-alt a { background: #f1f1f1; }
.cbs-social--colored .cbs-social__facebook, .cbs-social--colored-alt .cbs-social__facebook:hover { background: #365493; }
.cbs-social--colored .cbs-social__twitter, .cbs-social--colored-alt .cbs-social__twitter:hover { background: #000; }
.cbs-social--colored .cbs-social__pinterest, .cbs-social--colored-alt .cbs-social__pinterest:hover { background: #cb2027; }
.cbs-social--colored .cbs-social__linkedin, .cbs-social--colored-alt .cbs-social__linkedin:hover { background: #0274b3; }
.cbs-social--colored .cbs-social__telegram, .cbs-social--colored-alt .cbs-social__telegram:hover { background: #37aee2; }
.cbs-social__label { margin-right: 6px; font-weight: 600; }

/* Membro da equipe */
.cbs-team__photo { margin-bottom: 15px; }
.cbs-team__name { margin-bottom: 4px; font-size: 18px; }
.cbs-team__role { margin-bottom: 10px; font-size: 13px; text-transform: uppercase; color: #777; }
.cbs-team__social { display: flex; gap: 10px; }
.cbs-team.cbs-align-center .cbs-team__social { justify-content: center; }
.cbs-team__social a { color: #777; }

/* Galeria / grade genérica */
.cbs-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 0); }
.cbs .cbs-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cbs-gallery--masonry { display: block; columns: var(--cols, 3); column-gap: var(--gap, 0); }
.cbs-gallery--masonry .cbs-gallery__item { break-inside: avoid; margin-bottom: var(--gap, 0); }
.cbs .cbs-gallery--masonry .cbs-gallery__item img { height: auto; }
/* Mosaico montado pelo JS: cada foto entra na coluna mais curta, na ordem (como no Woodmart). */
.cbs-gallery--masonry.is-js { display: flex !important; align-items: flex-start; gap: var(--gap, 0); columns: auto !important; }
.cbs-gallery__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap, 0); }
.cbs-gallery--masonry.is-js .cbs-gallery__item { margin: 0; }
.cbs-gallery a { display: block; overflow: hidden; }
.cbs-gallery a img { transition: transform .4s ease; }
.cbs-gallery a:hover img { transform: scale(1.04); }

/* Mapa */
.cbs-map { position: relative; overflow: hidden; background: #e5e3df; }
.cbs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cbs-map__wrap { position: relative; z-index: 1; display: flex; height: 100%; padding-top: 30px; padding-bottom: 30px; pointer-events: none; }
.cbs-map--middle .cbs-map__wrap { align-items: center; }
.cbs-map--bottom .cbs-map__wrap { align-items: flex-end; }
.cbs-map__box { max-width: 100%; padding: 30px; background: #fff; box-shadow: 0 0 9px rgba(0, 0, 0, .1); pointer-events: auto; }

/* Carrossel */
.cbs-carousel { position: relative; --pv: var(--per); }
.cbs-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--pv) - 1) * var(--gap)) / var(--pv));
	gap: var(--gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.cbs-carousel__track::-webkit-scrollbar { display: none; }
.cbs-carousel__item { scroll-snap-align: start; min-width: 0; }
.cbs-carousel__prev, .cbs-carousel__next {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	opacity: .7;
	transition: opacity .2s;
}
.cbs-carousel__prev { left: -45px; }
.cbs-carousel__next { right: -45px; }
.cbs-carousel__prev:hover, .cbs-carousel__next:hover { opacity: 1; }
.cbs-carousel__prev[disabled], .cbs-carousel__next[disabled] { opacity: .2; cursor: default; }
.cbs-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.cbs-carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #bbb; }
.cbs-carousel__dots button.is-active { background: #333; }
.cbs-scheme-light .cbs-carousel__dots button.is-active, .cbs-slider--dots-light .cbs-carousel__dots button.is-active { background: #fff; }

/* Marcas */
.cbs-brand { display: flex; align-items: center; justify-content: center; height: 100px; padding: 0 10px; }
.cbs .cbs-brand img { max-height: 70px; width: auto; max-width: 160px; object-fit: contain; transition: opacity .3s; }
.cbs-brands .cbs-carousel__prev { left: -30px; }
.cbs-brands .cbs-carousel__next { right: -30px; }

/* Slider da home */
.cbs-slider--stretch { position: relative; width: calc(100vw - var(--sbw)); left: calc(50% - (100vw - var(--sbw)) / 2); }
.cbs-slide { position: relative; display: flex; min-height: var(--h, 600px); padding: 35px 15px; background-repeat: no-repeat; }
.cbs-slide__inner { position: relative; width: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.cbs-slide--v-top .cbs-slide__inner { justify-content: flex-start; }
.cbs-slide--v-bottom .cbs-slide__inner { justify-content: flex-end; }
.cbs-slide__inner > .elementor { width: 100%; }
.cbs-slide__link { position: absolute; inset: 0; z-index: 1; }
.cbs-slider .cbs-carousel__prev { left: 10px; color: #fff; }
.cbs-slider .cbs-carousel__next { right: 10px; color: #fff; }
.cbs-slider .cbs-carousel__dots { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; }

/* Depoimentos */
.cbs-testi { margin: 0; }
.cbs .cbs-testi .cbs-testi__img { width: 100px; height: 100px; margin: 0 auto 15px; border-radius: 50%; object-fit: cover; }
.cbs-align-left .cbs-testi__img { margin-left: 0; }
.cbs-testi__stars { margin-bottom: 10px; color: #eabe12; letter-spacing: 2px; }
.cbs-testi__text { margin: 0 0 15px; font-size: 14px; }
.cbs-testi__text > *:last-child { margin-bottom: 0; }
.cbs-testi__by { font-size: 14px; }
.cbs-testi__by span { color: var(--c-muted); }
.cbs-testimonials.cbs-scheme-light { color: rgba(255, 255, 255, .8); }
.cbs-testimonials.cbs-scheme-light strong { color: #fff; }
.cbs-testimonials.cbs-scheme-light .cbs-testi__by span { color: rgba(255, 255, 255, .8); }
.cbs-testimonials.cbs-scheme-light .cbs-carousel__prev, .cbs-testimonials.cbs-scheme-light .cbs-carousel__next { color: #fff; }

/* Grade .row / .col usada em conteúdos e formulários existentes (o Woodmart a fornecia para o site todo) */
.row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.row > .col { flex: 1 0 0%; min-width: 0; padding: 0 15px; }
.row > [class*="col-"] { width: 100%; padding: 0 15px; }
.wpcf7 .row { margin: 0 -10px; }
.wpcf7 .row > [class*="col-"] { padding: 0 10px; }
@media (min-width: 769px) { .row > .col-md-6 { width: 50%; } .row > .col-md-4 { width: 33.333%; } .row > .col-md-3 { width: 25%; } }
/* Formulário (Contact Form 7) */
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .wpcf7-list-item { display: inline-flex; align-items: center; gap: 6px; margin: 0 15px 6px 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.wpcf7 input[type="file"] { padding: 8px 0; }
.cbs-cf7 .wpcf7-form p { margin-bottom: 15px; }
.cbs-cf7 .wpcf7-not-valid-tip { font-size: 13px; }
.cbs-cf7 .wpcf7-response-output { margin: 15px 0 0 !important; padding: 10px 15px !important; border-radius: 6px; }
.cbs-cf7--bg input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]), .cbs-cf7--bg textarea { background: #fff; }

/* Favoritos */
.cbs-fav { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: 14px; color: #333; }
.cbs-fav:hover { color: var(--c-primary); }
.cbs-fav.is-on { color: var(--c-primary); }
.cbs-fav.is-on svg { fill: currentColor; }

/* Setas dos carrosséis aparecem ao passar o mouse (como no Woodmart), exceto no banner */
@media (hover: hover) and (min-width: 1025px) {
	.cbs-carousel:not(:hover):not(:focus-within) .cbs-carousel__prev,
	.cbs-carousel:not(:hover):not(:focus-within) .cbs-carousel__next { opacity: 0; }
	.cbs-slider .cbs-carousel .cbs-carousel__prev, .cbs-slider .cbs-carousel .cbs-carousel__next { opacity: .7; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
	:root { --header-h: 60px; }
	.cbs-nav { display: none; }
	.cbs-header__burger { display: inline-flex; }
	.cbs-header__inner { padding: 0 10px; gap: 6px; }
	.cbs-header__brand { flex: 1 1 auto; text-align: center; }
	.cbs-header__tools { flex: 0 0 auto; gap: 0; }
	.cbs-header__burger { flex: 0 0 auto; }
	.cbs-header__tools .cbs-iconbtn--fav { display: none; }
	.cbs-logo__img--desktop { display: none; }
	.cbs-logo__img--mobile { display: inline-block; max-height: 40px; }
	.cbs-layout--sidebar-right, .cbs-layout--sidebar-left { grid-template-columns: minmax(0, 1fr); }
	.cbs-layout--sidebar-left .cbs-layout__aside { order: 0; }
	.cbs-posts { --cols: 2 !important; }
	.cbs-carousel { --pv: var(--per-t); }
	.cbs-carousel__prev { left: 0; }
	.cbs-carousel__next { right: 0; }
	.cbs-gallery { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); }
	.cbs-gallery--masonry { columns: var(--cols-t, 2); }
	.cbs-slide { min-height: var(--h-t, 500px); }
	.admin-bar .cbs-header { top: 0; }
	.cbs-pagetitle { padding: 45px 0; }
	.cbs-pagetitle__title { font-size: 48px; }
}
@media (max-width: 767px) {
	.cbs-pagetitle { padding: 35px 0; margin-bottom: 25px; }
	.cbs-pagetitle__title { font-size: 32px; }
	.cbs-hide-mobile { display: none !important; }
	.cbs-posts { --cols: 1 !important; }
	.cbs-carousel { --pv: var(--per-m); }
	.cbs-gallery { grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)); }
	.cbs-gallery--masonry { columns: var(--cols-m, 2); }
	.cbs-slide { min-height: var(--h-m, 500px); }
	.cbs-size-large .cbs-title__title { font-size: 28px; }
	.cbs-size-extra-large .cbs-title__title { font-size: 34px; }
	.cbs-footer__bar-inner { flex-direction: column; justify-content: center; text-align: center; gap: 4px; }
	.cbs-cookies__inner { flex-direction: column; text-align: center; padding: 15px; gap: 10px; }
	.cbs-map__wrap { align-items: flex-end !important; }
	.cbs-popup__box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
