/* Barra de Avisos — faixa acima da navbar. Cores controláveis pelo widget
   Elementor; aqui só o layout/comportamento. */

.loja-cipo-notices {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 5px 44px;
	background: #8bc34a;
	color: #fff;
	overflow: hidden;
	box-sizing: border-box;
}

.loja-cipo-notices-track {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 1.6em;
}

.loja-cipo-notices-item {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.loja-cipo-notices-item.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.loja-cipo-notices-text {
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* !important em quase tudo aqui de propósito: o Elementor injeta CSS
   global em cima de seletor de atributo tipo [type=button] (mais
   específico/carrega depois do nosso), que pisava em cima de
   padding/border-radius/font-size etc. — dava um botão com um "tamanho" no
   estado normal e outro no :hover (o :hover só parecia "certo" porque a
   regra de fundo com !important disfarçava a diferença de padding). */
.loja-cipo-notices-coupon,
.loja-cipo-notices-coupon:hover,
.loja-cipo-notices-coupon:focus,
.loja-cipo-notices-coupon:active {
	flex-shrink: 0;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.03em !important;
	margin: 0 !important;
	padding: 3px 10px !important;
	border: 1px dashed currentColor !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: inherit !important;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.loja-cipo-notices-coupon:hover {
	background: rgba(255, 255, 255, 0.15) !important;
}

.loja-cipo-notices-copy-icon {
	flex-shrink: 0;
	opacity: 0.85;
}

/* Setas — reset explícito pra não deixar o rosa padrão do Elementor/tema
   vazar no hover; troca por um branco bem sutil (opacity 0.3). */

.loja-cipo-notices-arrow,
.loja-cipo-notices-arrow:hover,
.loja-cipo-notices-arrow:focus,
.loja-cipo-notices-arrow:active {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	/* Sem !important aqui, o botão padrão do tema (borda rosa) vazava —
	   ficava visível parado e só sumia no :hover porque o background
	   0.3 opacity acabava disfarçando a borda por cima. */
	border: none !important;
	/* Idem pro padding: o [type=button] global do Elementor tem um padding
	   próprio, e sem !important ele só perdia pro nosso no :hover (que tem
	   o !important do background junto por engano de especificidade) —
	   resultado, a seta "pulava" de tamanho ao passar o mouse. */
	margin: 0 !important;
	padding: 4px !important;
	line-height: 1 !important;
	cursor: pointer;
	color: inherit;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0.85;
	z-index: 2;
}

.loja-cipo-notices-arrow:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.3) !important;
}

.loja-cipo-notices-chevron {
	display: block;
	pointer-events: none;
}

.loja-cipo-notices-prev {
	left: 12px;
}

.loja-cipo-notices-next {
	right: 12px;
}

@media (max-width: 600px) {
	.loja-cipo-notices {
		padding: 5px 34px;
		gap: 6px;
	}

	.loja-cipo-notices-text {
		font-size: 12px;
	}

	.loja-cipo-notices-coupon {
		font-size: 11px;
		padding: 2px 8px;
	}
}
