/* =========================================================
   Catálogo Elevador Brasil — Front-end
   ========================================================= */

.recb-catalogo {
	--recb-primary: #0B5FAE;
	--recb-secondary: #0A2540;
	--recb-accent: #F2A900;
	--recb-bg: #f5f7fa;
	--recb-card: #ffffff;
	--recb-border: #e6eaf0;
	--recb-text: #1b2733;
	--recb-muted: #6b7a8d;
	--recb-radius: 16px;
	--recb-shadow: 0 6px 24px rgba(16, 42, 67, 0.08);
	--recb-shadow-hover: 0 14px 36px rgba(16, 42, 67, 0.16);

	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px 48px;
	color: var(--recb-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}
.recb-catalogo *,
.recb-catalogo *::before,
.recb-catalogo *::after {
	box-sizing: border-box;
}

/* ---------- HERO ---------- */
.recb-hero {
	position: relative;
	border-radius: var(--recb-radius);
	margin: 24px 0 32px;
	padding: 64px 32px;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, var(--recb-primary), var(--recb-secondary));
	overflow: hidden;
}
.recb-hero-img {
	background-size: cover;
	background-position: center;
}
.recb-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 10%, rgba(242, 169, 0, 0.25), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 40%);
	pointer-events: none;
}
.recb-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
}
.recb-hero-title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.12;
	margin: 0 0 14px;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: #fff;
}
.recb-hero-sub {
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	margin: 0;
	opacity: 0.92;
	line-height: 1.5;
}

/* ---------- TOOLBAR / FILTROS ---------- */
.recb-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-bottom: 28px;
	position: sticky;
	top: 0;
	z-index: 5;
	background: rgba(245, 247, 250, 0.92);
	backdrop-filter: blur(6px);
	padding: 12px 0;
}
.recb-search {
	position: relative;
	flex: 1 1 280px;
	min-width: 220px;
}
.recb-search svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--recb-muted);
}
.recb-search-input {
	width: 100%;
	padding: 13px 16px 13px 42px;
	border: 1px solid var(--recb-border);
	border-radius: 12px;
	font-size: 15px;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.recb-search-input:focus {
	outline: none;
	border-color: var(--recb-primary);
	box-shadow: 0 0 0 3px rgba(11, 95, 174, 0.12);
}
.recb-filter {
	padding: 13px 16px;
	border: 1px solid var(--recb-border);
	border-radius: 12px;
	font-size: 15px;
	background: #fff;
	color: var(--recb-text);
	cursor: pointer;
	min-width: 180px;
}
.recb-filter:focus {
	outline: none;
	border-color: var(--recb-primary);
}

/* ---------- GRID ---------- */
.recb-grid {
	display: grid;
	gap: 22px;
}
.recb-cols-2 { grid-template-columns: repeat(2, 1fr); }
.recb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.recb-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
	.recb-cols-3, .recb-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.recb-cols-2, .recb-cols-3, .recb-cols-4 { grid-template-columns: 1fr; }
	.recb-filter { flex: 1 1 100%; }
}

/* ---------- CARD ---------- */
.recb-card {
	background: var(--recb-card);
	border: 1px solid var(--recb-border);
	border-radius: var(--recb-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--recb-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recb-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--recb-shadow-hover);
}
.recb-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #eef2f7;
	overflow: hidden;
}
.recb-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.recb-card:hover .recb-card-media img {
	transform: scale(1.05);
}
.recb-card-noimg {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c2cdd9;
}
.recb-card-noimg svg { width: 56px; height: 56px; }

.recb-badge-dest {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--recb-accent);
	color: #1b2733;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	padding: 5px 10px;
	border-radius: 999px;
}

.recb-card-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}
.recb-card-cat {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--recb-primary);
}
.recb-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
	color: var(--recb-secondary);
}
.recb-card-ref {
	font-size: 12px;
	color: var(--recb-muted);
}
.recb-card-empresa {
	font-size: 13px;
	color: var(--recb-muted);
	font-weight: 600;
}
.recb-card-preco {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--recb-secondary);
	margin-top: 2px;
}
.recb-card-actions {
	display: flex;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
}
.recb-btn-primary {
	flex: 1;
	background: var(--recb-accent);
	color: #1b2733;
	border: none;
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.2s, transform 0.1s;
}
.recb-btn-primary:hover { filter: brightness(0.94); }
.recb-btn-primary:active { transform: scale(0.98); }
.recb-btn-ghost {
	background: transparent;
	color: var(--recb-primary);
	border: 1px solid var(--recb-border);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.recb-btn-ghost:hover {
	background: #f0f5fb;
	border-color: var(--recb-primary);
}

.recb-card-data { display: none; }

/* ---------- VAZIO ---------- */
.recb-vazio, .recb-empty-search {
	text-align: center;
	padding: 48px 16px;
	color: var(--recb-muted);
	font-size: 1.05rem;
}

/* ---------- RODAPÉ ---------- */
.recb-footer {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--recb-border);
	text-align: center;
	color: var(--recb-muted);
	font-size: 13px;
}

/* ---------- MODAL ---------- */
.recb-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.recb-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 37, 64, 0.55);
	backdrop-filter: blur(3px);
}
.recb-modal-box {
	position: relative;
	background: #fff;
	border-radius: 18px;
	max-width: 760px;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
	animation: recb-pop 0.22s ease;
}
@keyframes recb-pop {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.recb-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: rgba(255,255,255,0.9);
	border: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	color: var(--recb-secondary);
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.recb-modal-close:hover { background: #fff; }

.recb-modal-content { display: flex; flex-direction: column; }
.recb-modal-img {
	width: 100%;
	max-height: 340px;
	object-fit: cover;
	background: #eef2f7;
}
.recb-modal-img-placeholder {
	width: 100%;
	height: 180px;
	background: linear-gradient(135deg, var(--recb-primary), var(--recb-secondary));
}
.recb-modal-inner { padding: 26px 28px 30px; }
.recb-modal-cat {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--recb-primary);
}
.recb-modal-title {
	font-size: 1.6rem;
	margin: 6px 0 10px;
	color: var(--recb-secondary);
	line-height: 1.2;
}
.recb-modal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	color: var(--recb-muted);
	font-size: 14px;
	margin-bottom: 16px;
}
.recb-modal-meta strong { color: var(--recb-text); }
.recb-modal-desc {
	color: var(--recb-text);
	line-height: 1.65;
	font-size: 15px;
}
.recb-modal-desc p { margin: 0 0 12px; }
.recb-modal-cta {
	display: inline-block;
	margin-top: 18px;
	background: var(--recb-accent);
	color: #1b2733;
	padding: 14px 26px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: filter 0.2s;
}
.recb-modal-cta:hover { filter: brightness(0.94); }

body.recb-modal-open { overflow: hidden; }

/* =========================================================
   Card como link inteiro (página da empresa) + dashicons noimg
   ========================================================= */
.recb-card-noimg .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #c2cdd9;
}
.recb-card-link {
	text-decoration: none;
	color: inherit;
}
.recb-card-link .recb-card-title { color: var(--recb-secondary); }
.recb-card-vermais {
	margin-top: auto;
	padding-top: 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--recb-primary);
}

/* =========================================================
   PÁGINAS INDIVIDUAIS (produto / empresa)
   ========================================================= */
.recb-single {
	--recb-primary: #0B5FAE;
	--recb-secondary: #0A2540;
	--recb-accent: #F2A900;
	--recb-border: #e6eaf0;
	--recb-muted: #6b7a8d;
	--recb-text: #1b2733;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--recb-text);
	max-width: 1140px;
	margin: 0 auto;
}
.recb-single *, .recb-single *::before, .recb-single *::after { box-sizing: border-box; }

/* Breadcrumb */
.recb-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 13px;
	color: var(--recb-muted);
	margin-bottom: 22px;
}
.recb-breadcrumb a { color: var(--recb-primary); text-decoration: none; }
.recb-breadcrumb a:hover { text-decoration: underline; }
.recb-breadcrumb .recb-bc-current { color: var(--recb-text); font-weight: 600; }

/* ---------- PRODUTO: topo em duas colunas ---------- */
.recb-prod-top {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 36px;
	align-items: start;
	margin-bottom: 40px;
}
@media (max-width: 820px) {
	.recb-prod-top { grid-template-columns: 1fr; gap: 24px; }
}

.recb-prod-gallery {
	border: 1px solid var(--recb-border);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
}
.recb-prod-gallery img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 18px;
}
.recb-prod-noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #eef2f7;
	color: #c2cdd9;
}
.recb-prod-noimg .dashicons { font-size: 80px; width: 80px; height: 80px; }

.recb-prod-cat {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--recb-primary);
	margin-bottom: 8px;
}
.recb-prod-title {
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	line-height: 1.15;
	margin: 0 0 18px;
	color: var(--recb-secondary);
	font-weight: 800;
}

.recb-prod-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	border: 1px solid var(--recb-border);
	border-radius: 12px;
	padding: 10px 16px 10px 10px;
	margin-bottom: 22px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.recb-prod-brand:hover { border-color: var(--recb-primary); box-shadow: 0 4px 14px rgba(11,95,174,.1); }
.recb-prod-brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #f5f7fa; }
.recb-prod-brand span { display: flex; flex-direction: column; line-height: 1.3; }
.recb-prod-brand small { font-size: 11px; color: var(--recb-muted); text-transform: uppercase; letter-spacing: .4px; }
.recb-prod-brand strong { font-size: 15px; color: var(--recb-secondary); }

.recb-prod-meta {
	list-style: none;
	margin: 0 0 22px;
	padding: 18px 0;
	border-top: 1px solid var(--recb-border);
	border-bottom: 1px solid var(--recb-border);
	display: grid;
	gap: 12px;
}
.recb-prod-meta li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.recb-prod-meta li span { color: var(--recb-muted); }
.recb-prod-meta li strong { color: var(--recb-text); text-align: right; }

.recb-prod-preco {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--recb-secondary);
	margin-bottom: 20px;
}

.recb-prod-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.recb-btn-lg { padding: 15px 30px !important; font-size: 16px !important; }
.recb-btn-wpp {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25D366;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px 22px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: filter 0.2s;
}
.recb-btn-wpp:hover { filter: brightness(0.95); color: #fff; }

/* Botão primário e ghost reaproveitados nas páginas single */
.recb-single .recb-btn-primary {
	display: inline-block;
	background: var(--recb-accent);
	color: #1b2733;
	border: none;
	border-radius: 10px;
	padding: 13px 26px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.2s;
}
.recb-single .recb-btn-primary:hover { filter: brightness(0.94); }

/* Seções (descrição / relacionados) */
.recb-prod-section { margin: 0 0 40px; }
.recb-prod-section > h2 {
	font-size: 1.3rem;
	color: var(--recb-secondary);
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--recb-border);
	display: flex;
	align-items: center;
	gap: 10px;
}
.recb-prod-desc { line-height: 1.7; font-size: 15px; color: var(--recb-text); }
.recb-prod-desc p { margin: 0 0 14px; }

.recb-count-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--recb-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	min-width: 26px;
	height: 26px;
	padding: 0 8px;
	border-radius: 99px;
}

/* Relacionados */
.recb-rel-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
@media (max-width: 820px) { .recb-rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .recb-rel-grid { grid-template-columns: 1fr 1fr; } }
.recb-rel-card {
	border: 1px solid var(--recb-border);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: var(--recb-secondary);
	background: #fff;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}
.recb-rel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(16,42,67,.12); }
.recb-rel-media { aspect-ratio: 4/3; background: #eef2f7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.recb-rel-media img { width: 100%; height: 100%; object-fit: cover; }
.recb-rel-noimg .dashicons { font-size: 36px; width: 36px; height: 36px; color: #c2cdd9; }
.recb-rel-title { padding: 12px 14px; font-size: 14px; font-weight: 600; line-height: 1.35; }

/* ---------- EMPRESA: cabeçalho ---------- */
.recb-emp-header {
	display: flex;
	gap: 24px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--recb-border);
	border-radius: 16px;
	padding: 26px;
	margin-bottom: 24px;
}
@media (max-width: 640px) { .recb-emp-header { flex-direction: column; align-items: flex-start; } }
.recb-emp-logo {
	width: 130px;
	height: 130px;
	flex-shrink: 0;
	border: 1px solid var(--recb-border);
	border-radius: 14px;
	background: #f5f7fa;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.recb-emp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 10px; }
.recb-emp-logo .dashicons { font-size: 54px; width: 54px; height: 54px; color: #c2cdd9; }
.recb-emp-name { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 6px; color: var(--recb-secondary); font-weight: 800; }
.recb-emp-cidade { display: flex; align-items: center; gap: 6px; color: var(--recb-muted); margin: 0 0 12px; font-size: 14px; }
.recb-emp-cidade .dashicons { font-size: 18px; width: 18px; height: 18px; }
.recb-emp-contacts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; font-size: 14px; }
.recb-emp-contacts a, .recb-emp-contacts span { display: inline-flex; align-items: center; gap: 6px; color: var(--recb-primary); text-decoration: none; }
.recb-emp-contacts span { color: var(--recb-muted); }
.recb-emp-contacts a:hover { text-decoration: underline; }
.recb-emp-contacts .dashicons { font-size: 18px; width: 18px; height: 18px; }
.recb-emp-desc { line-height: 1.7; font-size: 15px; margin-bottom: 32px; color: var(--recb-text); }
.recb-emp-desc p { margin: 0 0 14px; }

/* =========================================================
   Ajustes: card-media e título agora são links
   ========================================================= */
a.recb-card-media { display: block; text-decoration: none; }
.recb-card-title a { color: inherit; text-decoration: none; }
.recb-card-title a:hover { color: var(--recb-primary); }
.recb-card-actions .recb-btn-ghost {
	text-decoration: none;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* =========================================================
   MODELO TELA CHEIA (landing) — só o catálogo na página
   ========================================================= */
body.recb-landing-body {
	margin: 0;
	padding: 0;
	background: #f5f7fa;
	overflow-x: hidden;
}
.recb-landing-main {
	min-height: 100vh;
	padding-bottom: 40px;
}
/* Na landing o catálogo ocupa a tela e o hero vai de ponta a ponta */
.recb-landing-main .recb-catalogo {
	max-width: 1200px;
	padding-top: 0;
}
.recb-landing-main .recb-hero {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	margin-top: 0;
	border-radius: 0;
	padding-top: 80px;
	padding-bottom: 80px;
}
.recb-landing-main .recb-toolbar {
	margin-top: 28px;
}
