:root {
	--primary: #6ec1e4;
	--secondary: #54595f;
	--text: #7a7a7a;
	--accent: #61ce70;
	--highlight: #0F3D5E;
	--highlightHover: #0F3D5ED4;
	--white: #ffffff;
	--title: #484848;
}

a {
	text-decoration: none !important;
}

.banner_fest {
	background-color: var(--highlight);
	color: var(--white);
	font-family: "Roboto", Sans-serif;
	font-size: 34px;
	font-weight: 500;
	min-height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.title {
	font-family: "Roboto", Sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3em;
	color: #484848;
}

.text-default {
	font-family: "Roboto", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6em;
}

.text-default.title {
	font-size: 20px;
}

.text-description {
	font-family: "Roboto", Sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4em;
}

.loader-content {
	position: fixed;
	background: rgba(0, 0, 0, 0.8);
	width: 100vw;
	height: 100vh;
	z-index: 9;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
}

.loader {
	width: 50px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 8px solid var(--highlight);
	border-right-color: var(--white);
	position: relative;
	animation: l24 3s infinite linear;
}
.loader:before,
.loader:after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: inherit;
	animation: inherit;
	animation-duration: 3s;
}
.loader:after {
	animation-duration: 5s;
}
@keyframes l24 {
	100% {
		transform: rotate(1turn);
	}
}

.bg-primary {
	background-color: var(--primary);
}

.bg-highlight {
	background-color: var(--highlight);
}

.category-carousel {
	padding: 1rem 0;
	border-top: 2px solid #ebebeb;
	margin: 1rem;
}

.category-carousel h2 {
	color: var(--secondary);
	font-weight: 700;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	border-bottom: 3px solid var(--highlight);
	padding-bottom: 0.3rem;
	max-width: fit-content;
}

.swiper {
	padding-bottom: 3.5rem;
	position: relative;
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: content-box;
	padding-block: 24px;
}

.swiper-wrapper {
	gap: 20px; /* espaçamento entre slides */
	margin-bottom: 24px;
}

.swiper-slide {
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
	overflow: hidden;
	transition: transform 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1rem;
	height: auto !important;
	position: relative;
}

.swiper-slide:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}

.swiper-slide img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.slide-caption {
	color: var(--secondary);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.3;
	min-height: 3em;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.swiper-button-next,
.swiper-button-prev {
	padding: 8px;
	width: 40px !important;
	border-radius: 50%;
	background-color: var(--highlight);
	box-shadow: 0 2px 6px rgb(0 0 0 / 0.15);
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	color: var(--white);
	font-size: 12px !important;
	font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
}

.swiper-pagination {
	bottom: 0 !important;
	text-align: center;
	margin-top: 24px !important; /* distância maior do swiper */
}

.swiper-pagination-bullet {
	color: var(--secondary);
	opacity: 0.5;
	width: 10px;
	height: 10px;
	margin: 0 6px !important;
	transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
	opacity: 1;
	color: var(--primary);
	width: 12px;
	height: 12px;
}

.product-gallery {
	position: relative;
	width: 60%;
	max-height: 60vh;
	flex-shrink: 0;
}

.product-gallery-track {
	display: flex;
	width: 100%;
	max-height: 60vh;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	border-radius: 10px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.product-gallery-track::-webkit-scrollbar {
	display: none;
}

.product-gallery-slide {
	flex: 0 0 100%;
	width: 100%;
	max-height: 60vh;
	object-fit: cover;
	scroll-snap-align: start;
}

.product-gallery-dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.product-gallery-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.product-gallery-dot.active {
	background-color: var(--highlight);
	transform: scale(1.2);
}

@media (max-width: 768px) {
	.category-carousel {
		max-width: 95%;
	}

	.swiper-slide img {
		height: 140px;
	}

	.swiper-button-prev,
	.swiper-button-next {
		width: 28px;
		height: 28px;
		top: 40%;
	}
}

/* select2 */
.select2-container .select2-selection--single {
	height: 43px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 43px !important;
	width: 32px !important;
}

/* Cart */

.custom-cart {
	position: fixed;
	top: 0;
	right: -100%;
	min-width: 350px;
	max-width: 90vw;
	height: 100%;
	background: #fff;
	box-shadow: 8px 0 20px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transition: right 0.25s;
}

.custom-cart.open {
	right: 0;
}

.custom-cart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}

.custom-cart-items {
	flex: 1;
	overflow: auto;
	padding: 8px 12px;
}

.custom-cart-item {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f2f2f2;
}

.custom-cart-item img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
}

.custom-cart-item a {
	color: var(--text);
	font-weight: 600;
}

.custom-cart-footer {
	border-top: 1px solid #eee;
	padding: 12px 16px;
	background: #fafafa;
}
.btnCloseCart {
	right: 16px;
	bottom: 16px;
	padding: 10px 14px;
	background: var(--highlight);
	color: #fff;
	border: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 9999;
}

.cc-plus,
.cc-minus {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	color: var(--highlight);
	padding: 0;
}

.custom-cart-fab {
	position: fixed;
	right: 16px;
	bottom: 80px;
	border-radius: 999px;
	padding: 14px;
	background: var(--highlight);
	color: #fff;
	border: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 9999;
}

.custom-cart-fab:hover,
.btnCloseCart:hover,
.cc-plus:hover,
.cc-minus:hover,
#checkoutCart:hover {
	background: var(--highlightHover);
}

.custom-cart-qty {
	display: flex;
	gap: 6px;
	align-items: center;
}

.custom-cart-qty button {
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 6px;
}

.custom-cart-price {
	white-space: nowrap;
	margin-left: 8px;
}

.custom-cart-remove {
	background: none;
	border: 0;
	font-size: 18px;
	line-height: 1;
	opacity: 0.6;
}

#productModalVendorList .vendor-card {
	flex: 0 0 355px;
}

.tag_promotion {
	position: absolute;
	padding: 4px 12px;
	color: var(--white);
	background-color: var(--highlight);
	right: 8px;
	top: 8px;
	border-radius: 16px;
	font-size: 13px;
	font-weight: 500;
}
