/* REDI Dual Button Slider — estilos base */

.redi-dbs-wrapper {
	position: relative;
	width: 100%;
}

.redi-dbs-swiper {
	width: 100%;
	height: 100vh;
	position: relative;
	overflow: hidden;
}

.redi-dbs-slide {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.redi-dbs-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 1;
}

.redi-dbs-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(0, 0, 0, 0.35);
	z-index: 2;
}

.redi-dbs-content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 900px;
	/* Sem margin:0 auto de propósito — a posição horizontal/vertical do bloco
	   é controlada pelo justify-content/align-items de .redi-dbs-slide
	   (ver painel "Posição do Conteúdo" no Elementor). Margens automáticas
	   num item flex ganham ao justify-content do pai, por isso ficam de fora. */
	padding: 40px 20px 80px;
	text-align: center;
	color: #fff;
}

.redi-dbs-heading {
	margin: 0 0 16px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.redi-dbs-description {
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.5;
}

.redi-dbs-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.redi-dbs-buttons a {
	display: inline-block;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 14px 32px;
	border: 1px solid transparent;
	border-radius: 0;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	cursor: pointer;
	white-space: nowrap;
}

.redi-dbs-button-1 {
	color: #fff;
	background-color: transparent;
	border-color: #fff;
}

.redi-dbs-button-1:hover {
	background-color: #fff;
	color: #111;
}

.redi-dbs-button-2 {
	color: #111;
	background-color: #fff;
	border-color: #fff;
}

.redi-dbs-button-2:hover {
	background-color: transparent;
	color: #fff;
}

/* Swiper navigation/pagination overrides mínimos para não colidir com o tema */
.redi-dbs-swiper .swiper-button-prev,
.redi-dbs-swiper .swiper-button-next {
	color: #fff;
	z-index: 4;
}

.redi-dbs-swiper .swiper-pagination {
	z-index: 4;
}

.redi-dbs-swiper .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.6;
}

.redi-dbs-swiper .swiper-pagination-bullet-active {
	opacity: 1;
}

/* Botões com o mesmo tamanho (opção ligada por omissão no widget).
   Grid com colunas 1fr: todas as colunas ficam com a largura do botão mais
   largo, por isso "CATÁLOGO" e "LOJA ONLINE" ficam iguais. inline-grid para
   que o bloco só ocupe o necessário e siga o alinhamento (text-align) do conteúdo. */
.redi-dbs-equal-buttons .redi-dbs-buttons {
	display: inline-grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	max-width: 100%;
}

.redi-dbs-equal-buttons .redi-dbs-buttons a {
	text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
	.redi-dbs-equal-buttons .redi-dbs-buttons {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		grid-template-columns: 1fr;
		min-width: min(260px, 100%);
	}

	.redi-dbs-equal-buttons .redi-dbs-buttons a {
		width: auto;
		max-width: none;
	}

	.redi-dbs-heading {
		font-size: 28px;
	}

	.redi-dbs-description {
		font-size: 15px;
	}

	.redi-dbs-buttons {
		flex-direction: column;
		gap: 12px;
	}

	.redi-dbs-buttons a {
		width: 100%;
		max-width: 320px;
		text-align: center;
	}
}
