/* Carrossel de banners da home — Cipó Aromas */

.loja-cipo-banners {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.loja-cipo-banners-track {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}

.loja-cipo-banners-slide {
	flex: 0 0 100%;
	max-width: 100%;
	min-width: 0;
}

.loja-cipo-banners-slide a {
	display: block;
	line-height: 0;
}

.loja-cipo-banners-picture,
.loja-cipo-banners-img {
	display: block;
	width: 100%;
	height: auto;
}

/* Mesmo motivo documentado em search.css/notices.css: um seletor de
   atributo (tipo "[type=button]") tem a MESMA especificidade de uma classe
   — um reset global de botão nessa forma empata com ".loja-cipo-banners-arrow"
   e, em empate, quem carrega por último no cascade vence. !important nas
   propriedades que esse tipo de reset costuma mexer (display, border,
   background, padding, border-radius) garante que a gente sempre ganhe,
   não dependa da ordem de carregamento. */
.loja-cipo-banners-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.85) !important;
	border: none !important;
	border-radius: 50% !important;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	color: #222;
	z-index: 2;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background 0.2s ease;
}

.loja-cipo-banners-arrow:hover {
	background: #fff !important;
}

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

.loja-cipo-banners-prev .loja-cipo-banners-chevron {
	margin-right: 1px;
}

.loja-cipo-banners-next .loja-cipo-banners-chevron {
	margin-left: 1px;
}

.loja-cipo-banners-prev {
	left: 14px;
}

.loja-cipo-banners-next {
	right: 14px;
}

.loja-cipo-banners-dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}

.loja-cipo-banners-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	padding: 0;
}

.loja-cipo-banners-dot.is-active {
	background: #fff;
}

@media (max-width: 600px) {
	.loja-cipo-banners-arrow {
		width: 32px;
		height: 32px;
	}

	.loja-cipo-banners-chevron {
		width: 15px;
		height: 15px;
	}
}

@media (max-width: 767px) {
	.loja-cipo-banners--hide-arrows-mobile .loja-cipo-banners-arrow {
		/* !important: a regra base de ".loja-cipo-banners-arrow" agora força
		   display com !important (ver comentário acima) — sem repetir aqui,
		   essa regra base "trava" e o mobile nunca conseguiria esconder a
		   seta de novo. */
		display: none !important;
	}
}
