/* [cpc_type_tiles] / [cpc_location_tiles] — carrusel encapsulado. */

.cpc-explore-carousel{
	--cpc-visible:5;
	--cpc-tile-gap:16px;
	--cpc-arrow:42px;
	--cpc-arrow-gap:12px;
	position:relative;
	width:90%;
	max-width:1400px;
	margin-inline:auto;
	min-width:0;
	box-sizing:border-box;
	overflow:visible;
	font-size:16px;
}
.cpc-explore-carousel *,
.cpc-explore-carousel *::before,
.cpc-explore-carousel *::after{box-sizing:border-box}

.cpc-explore-carousel__viewport{
	display:flex;
	flex-wrap:nowrap;
	gap:var(--cpc-tile-gap);
	width:100%;
	max-width:100%;
	min-width:0;
	overflow-x:auto;
	overflow-y:hidden;
	scroll-snap-type:x mandatory;
	scroll-behavior:smooth;
	-webkit-overflow-scrolling:touch;
	touch-action:pan-x;
	scrollbar-width:none;
}
.cpc-explore-carousel__viewport::-webkit-scrollbar{display:none}

.cpc-explore-carousel .cpc-tile{
	position:relative;
	flex:0 0 calc((100% - (var(--cpc-visible) - 1) * var(--cpc-tile-gap)) / var(--cpc-visible));
	width:calc((100% - (var(--cpc-visible) - 1) * var(--cpc-tile-gap)) / var(--cpc-visible));
	max-width:none;
	min-width:0;
	aspect-ratio:1.4 / 1;
	display:block;
	overflow:hidden;
	border-radius:10px;
	text-decoration:none;
	background:#24382E;
	color:#fff;
	scroll-snap-align:start;
	scroll-snap-stop:normal;
}
.elementor-widget-shortcode:has(.cpc-explore-carousel),
.elementor-element:has(.cpc-explore-carousel){
	overflow:visible;
}
.elementor-widget-shortcode .cpc-explore-carousel,
.elementor-element .cpc-explore-carousel{
	min-width:0;
	width:90%;
	max-width:1400px;
	margin-inline:auto;
	overflow:visible;
}
.elementor-widget-shortcode .cpc-explore-carousel .cpc-tile img,
.elementor-element .cpc-explore-carousel .cpc-tile img,
.cpc-explore-carousel .cpc-tile img,
.cpc-explore-carousel .cpc-tile .cpc-tile__img,
.cpc-explore-carousel .cpc-tile-fallback{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	max-width:none;
	max-height:none;
	object-fit:cover;
	object-position:center;
	display:block;
	border-radius:0;
}
.cpc-explore-carousel .cpc-tile-fallback{
	background:linear-gradient(160deg,#2E4B3A,#1C2621);
}
.cpc-explore-carousel .cpc-tile-overlay{
	position:absolute;
	inset:0;
	z-index:1;
	background:
		linear-gradient(180deg, rgba(18,24,21,.12) 18%, rgba(18,24,21,.42) 58%, rgba(18,24,21,.78) 100%);
	pointer-events:none;
}
.cpc-explore-carousel .cpc-tile-caption{
	position:absolute;
	inset:0;
	z-index:2;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	padding:16px 14px;
	text-align:center;
	background:transparent;
	pointer-events:none;
}
.cpc-explore-carousel .cpc-tile-name{
	font-family:'Montserrat',sans-serif;
	font-weight:600;
	font-size:16px;
	line-height:1.2;
	letter-spacing:.01em;
	color:#fff;
}
.cpc-explore-carousel .cpc-tile-count{
	margin-top:6px;
	font-family:'Montserrat',sans-serif;
	font-weight:400;
	font-size:13px;
	line-height:1.3;
	color:rgba(255,255,255,.86);
}

.cpc-explore-carousel__btn{
	position:absolute;
	top:50%;
	z-index:3;
	transform:translateY(-50%);
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:var(--cpc-arrow);
	height:var(--cpc-arrow);
	padding:0;
	border:1px solid rgba(28,38,33,.12);
	border-radius:50%;
	background:#FAF9F6;
	color:#244B35;
	cursor:pointer;
	box-shadow:0 2px 8px rgba(28,38,33,.08);
	transition:background-color .2s ease, border-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.cpc-explore-carousel__btn svg{
	width:16px;
	height:16px;
	stroke-width:1.6;
}
.cpc-explore-carousel__btn:hover,
.cpc-explore-carousel__btn:focus-visible{
	background:#fff;
	border-color:rgba(36,75,53,.28);
	color:#244B35;
	box-shadow:0 3px 10px rgba(28,38,33,.12);
	outline:none;
}
.cpc-explore-carousel__btn--prev{
	left:auto;
	right:100%;
	margin-right:var(--cpc-arrow-gap);
}
.cpc-explore-carousel__btn--next{
	right:auto;
	left:100%;
	margin-left:var(--cpc-arrow-gap);
}
.cpc-explore-carousel__btn.is-disabled,
.cpc-explore-carousel__btn:disabled{
	opacity:0;
	pointer-events:none;
	visibility:hidden;
}

@media (max-width:1199px){
	.cpc-explore-carousel{--cpc-visible:4}
}
@media (max-width:1023px){
	.cpc-explore-carousel{--cpc-visible:3;--cpc-tile-gap:14px;--cpc-arrow:36px;--cpc-arrow-gap:8px}
}
@media (max-width:767px){
	.cpc-explore-carousel{--cpc-visible:2;--cpc-tile-gap:12px}
	.cpc-explore-carousel .cpc-tile-name{font-size:15px}
	.cpc-explore-carousel .cpc-tile-count{font-size:12px}
	.cpc-explore-carousel__btn{display:none}
}
@media (max-width:579px){
	.cpc-explore-carousel{--cpc-visible:1.2}
}

@media (prefers-reduced-motion:reduce){
	.cpc-explore-carousel__viewport{scroll-behavior:auto}
}
