/* Growizards · Instruções de Lavagem */

/* Botão — estilo neutro; herda a tipografia do tema e é fácil de
   personalizar no Elementor (seletor: .gw-lavagem-btn). */
.gw-lavagem-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid #1f2937;
	border-radius: 6px;
	background: transparent;
	color: #1f2937;
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.gw-lavagem-btn:hover,
.gw-lavagem-btn:focus-visible {
	background: #1f2937;
	color: #fff;
}

/* Overlay / modal */
.gw-lavagem-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba( 0, 0, 0, 0.75 );
	box-sizing: border-box;
}

.gw-lavagem-overlay.is-open {
	display: flex;
}

.gw-lavagem-box {
	position: relative;
	max-width: min( 900px, 100% );
	max-height: 100%;
	box-sizing: border-box;
}

.gw-lavagem-img {
	display: block;
	max-width: 100%;
	max-height: calc( 100vh - 48px );
	width: auto;
	height: auto;
	border-radius: 6px;
	background: #fff;
}

.gw-lavagem-close {
	position: absolute;
	top: -14px;
	right: -14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1f2937;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.35 );
}

.gw-lavagem-close:hover {
	background: #1f2937;
	color: #fff;
}

/* Bloqueia o scroll da página com o modal aberto. */
body.gw-lavagem-no-scroll {
	overflow: hidden;
}

@media (max-width: 600px) {
	.gw-lavagem-overlay {
		padding: 16px;
	}

	.gw-lavagem-close {
		top: 8px;
		right: 8px;
	}
}
