.navbar-brand {
  flex-shrink: 0;
}

.navbar-brand-item {
  min-height: 75px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .navbar-brand-item {
    min-height: 56px;
  }
}

.text-primary {
  color: #FF6300 !important;
}

.bg-theme {
  background-color: #404040; !important;
}

.btn-theme {
  background-color: #000;
  color: #FFF;
}

.btn-primary {
  background-color: #FF6300 !important;
  border: none;
  color: #FFF !important;
}

.btn-primary:hover {
  background-color: #000 !important;
  border: none;
  color: #FFF !important;
}

/* Catálogo: hero interno com espaço para o header absoluto. */
.catalog-hero {
	padding: 12.5rem 0 5.5rem;
	background: #202020 url('../images/fallback.jpg') center / cover no-repeat;
}

.catalog-hero-overlay {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.62));
}

@media (max-width: 767.98px) {
	.catalog-hero {
		padding: 9.5rem 0 4rem;
	}
}

.btn-off {
  background-color: #222;
  color: #FFF;
}

.cookies {
  position: fixed;
  bottom: 20px;
  left: -370px;
  max-width: 345px;
  width: 100%;
  background: #FFF;
  border-radius: 8px;
  padding: 15px 25px 22px;
  transition: left 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.cookies.show {
  left: 20px;
}

.cookies .info {
  margin-top: 16px;
}
.cookies .info p {
  color: #333;
  font-size: 12px;
  margin: 15px auto;
}

.cookies .info p a {
  text-decoration: none;
}

.cookies .info p a:hover {
  text-decoration: underline;
}

.cookies .btns {
  margin-top: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookies .btns .button {
  border: none;
  color: #FFF;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.2s ease;
}

.ratio-custom {
  position: relative;
  width: 100%;
  padding-top: calc(100% * (576 / 480)); /* altura/largura */
}

.ratio-custom video,
.ratio-custom iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.375rem; /* equivale a class 'rounded' do Bootstrap */
  object-fit: cover;
}

/* Home - carrossel de produtos em destaque */
.home-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 260px;
	background-color: var(--bs-light);
}

.home-product-image-content {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 575.98px) {
	.home-product-image {
		max-height: 240px;
	}
}

/* ==========================================================================
   Orçamento — link do header, badge e toast (global, todas as páginas)
   ========================================================================== */
.cp-quote-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	height: 44px;
	padding: 0 1.1rem;
	margin-right: 2rem;
	border-radius: 999px;
	background: #FF6300;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: .92rem;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 8px 20px -8px rgba(255, 99, 0, .65);
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cp-quote-link:hover,
.cp-quote-link:focus-visible {
	background: #e55800;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -8px rgba(255, 99, 0, .75);
}
.cp-quote-ico { position: relative; display: inline-flex; align-items: center; }
.cp-quote-link i { font-size: 1.3rem; color: #fff; }
.cp-quote-label { white-space: nowrap; }

@media (max-width: 991.98px) {
	.cp-quote-link { display: none !important; }
	/* Header em uma linha: logo à esquerda, hambúrguer no canto direito */
	header .navbar > .container-fluid { flex-wrap: nowrap; }
	header .navbar-brand { margin-right: auto !important; }
	header .navbar .nav.ms-sm-2 { margin-left: 0 !important; }
}
@media (max-width: 575.98px) {
	.cp-quote-link { height: 42px; padding: 0 .6rem; margin-right: .75rem; }
	.cp-quote-link i { font-size: 1.45rem; }
}
.cp-quote-badge {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #fff;
	color: #FF6300;
	font-size: .68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-shadow: 0 0 0 2px #FF6300;
}
.cp-quote-badge[hidden] { display: none; }

.cp-toast-wrap {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 24px;
	z-index: 1080;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	width: min(92vw, 420px);
}
.cp-toast {
	display: flex;
	align-items: center;
	gap: .65rem;
	background: #1c1611;
	color: #fff;
	padding: .9rem 1.1rem;
	border-radius: 14px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
	font-size: .95rem;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .25s ease, transform .25s ease;
}
.cp-toast.is-in { opacity: 1; transform: translateY(0); }
.cp-toast i { color: #FF6300; font-size: 1.15rem; }
.cp-toast span { flex: 1; }
.cp-toast-link {
	color: #ffd7bf;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.cp-toast-link:hover { color: #fff; }

/* ==========================================================================
   TESTE — Navbar superior laranja (padrão telhacor)
   ========================================================================== */
:root { --menubar-h: 46px; }
@media (max-width: 991.98px) { :root { --menubar-h: 42px; } }

body.has-menubar { padding-top: var(--menubar-h); }
body.has-menubar header.header-absolute { top: var(--menubar-h); }
/* Se o tema tentar fixar o header no scroll, mantém apenas a menubar fixa
   (o header volta a acompanhar a página, como na telhacor) */
body.has-menubar header.header-sticky-on {
	position: absolute;
	top: var(--menubar-h);
	background: transparent;
	border-bottom: 0;
	animation: none;
}

.menubar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1040;
	display: flex;
	align-items: center;
	min-height: var(--menubar-h);
	background-color: #FF6300;
}
.menubar > .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
@media (max-width: 991.98px) {
	.menubar > .container { justify-content: center; }
}
.menubar-nav {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0 0 0 -.85rem;
	padding: 0;
}
.menubar-nav > li { position: relative; display: flex; align-items: center; }
.menubar-nav > li + li::before {
	content: "";
	display: block;
	width: 1px;
	height: 15px;
	margin: 0 .4rem;
	background-color: rgba(255, 255, 255, .4);
}
.menubar-nav > li > a {
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	display: flex;
	align-items: center;
	height: var(--menubar-h);
	padding: 0 .85rem;
	transition: background-color .18s ease, color .18s ease;
}
.menubar-nav > li > a:hover,
.menubar-nav > li.show > a {
	background-color: #fff;
	color: #FF6300;
}
.menubar-contact {
	display: flex;
	align-items: center;
	gap: .6rem;
	flex-shrink: 0;
	white-space: nowrap;
	color: #fff;
	font-size: .8rem;
}
.menubar-contact i { font-size: 1.05rem; }
.menubar-contact .menubar-wa {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: #fff;
	text-decoration: none;
	transition: color .18s ease;
}
.menubar-contact .menubar-wa:hover,
.menubar-contact .menubar-wa:focus-visible { color: #ffe3d1; }
.menubar-contact .menubar-cta {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	background: #fff;
	color: #FF6300;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1;
	padding: .42rem .85rem;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}
.menubar-contact .menubar-cta:hover,
.menubar-contact .menubar-cta:focus-visible {
	background: #1c1611;
	color: #fff;
}
.menubar-nav .dropdown-menu { top: calc(100% + 10px) !important; transform: none !important; }
.menubar-nav .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

/* No desktop o menu fica na menubar; o collapse do navbar só é usado no mobile */
@media (min-width: 992px) {
	header .navbar-collapse.collapse { display: none !important; }
}

/* --------------------------------------------------------------------------
   Menubar — Mega-menu de PRODUTOS com destaque de catálogo
   -------------------------------------------------------------------------- */
.menubar-nav .dropdown-menu.mega-menu {
	min-width: 500px;
	padding: 1.3rem;
	background: #fff;
	color: #2b2420;
	border: 1px solid #ece7e1;
	border-radius: 12px;
	box-shadow: 0 34px 70px -28px rgba(28, 22, 17, .40);
}
.menubar-nav .mega-grid {
	display: grid;
	grid-template-columns: 148px 1fr;
	gap: 1.6rem;
	align-items: start;
}
.menubar-nav .mega-destaque { display: flex; flex-direction: column; }
.menubar-nav .mega-destaque-eyebrow,
.menubar-nav .mega-links-title {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.menubar-nav .mega-destaque-eyebrow { color: #FF6300; margin-bottom: .6rem; }
.menubar-nav .mega-links-title { color: #5b534c; display: block; margin-bottom: .5rem; padding-left: .7rem; }
.menubar-nav .mega-destaque-media {
	display: block;
	max-width: 148px;
	border-radius: 6px;
	overflow: hidden;
}
.menubar-nav .mega-destaque-media img { display: block; width: 100%; height: auto; }
.menubar-nav .mega-destaque-title { margin: .85rem 0 .55rem; font-size: .95rem; font-weight: 700; line-height: 1.25; color: #2b2420; }
.menubar-nav .mega-destaque-title a { color: inherit; text-decoration: none; }
.menubar-nav .mega-destaque-title a:hover { color: #FF6300; }
.menubar-nav .mega-destaque-cta {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .86rem;
	font-weight: 700;
	color: #FF6300;
	text-decoration: none;
	white-space: nowrap;
}
.menubar-nav .mega-destaque-cta i { font-size: 1rem; transition: transform .18s ease; }
.menubar-nav .mega-destaque-cta:hover i { transform: translateY(2px); }
.menubar-nav .mega-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: .12rem;
}
.menubar-nav .mega-links-list a {
	display: block;
	padding: .5rem .7rem;
	border-radius: 9px;
	color: #2b2420;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.menubar-nav .mega-links-list a:hover { background: #fff2e9; color: #FF6300; }
