:root {
	--azul-8: #032337;
	--azul-7: #002c44;
	--azul-6: #3b82f6;
	--azul-5: #0077b6;
	--azul-4: #0084d8;
	--azul-4-slate: #0084d6;
	--azul-3: #00b4d8;
	--azul-2: #90e0ef;
	--azul-1: #caf0f8;
	--azul-0: #bfdbfe;

	--teal-5-stroke: #04527c;
	--teal-5: #004c74;

	--red-3: #ef4444;
	--gray: #e5e7eb;
	--dark-gray: #6b7280;
	--bg-light: #f1f4f7;
	--numeroItensCarrinho: "";
}

body {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100dvh;
	height: 100%;
	background-color: var(--bg-light);
	font-family: "Inter", sans-serif;
	position: relative;
}

.flex_row_space_between {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

footer-component {
	height: 100%;
	flex: 1;
	background-color: var(--azul-7);
}

.whatsAppLogo {
	position: fixed;
	width: 56px;
	height: 56px;
	background-color: #22c55e;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 28px;
	bottom: 20px;
	box-shadow:
		rgba(0, 0, 0, 0.1) 0px 4px 6px,
		rgba(0, 0, 0, 0.1) 0px 10px 15px;
}

#snackbar {
	visibility: hidden;
	min-width: 250px;
	background-color: #0084d8;
	color: #fff;
	text-align: center;
	padding: 20px 12px;
	position: fixed;
	z-index: 1;
	left: 50%;
	bottom: 30px;
	font-size: 17px;
	display: flex;
	flex-direction: row;
	gap: 3rem;
	border-radius: 8px;
	justify-content: center;
	align-items: center;
	font-family: "Inter", sans-serif;
	transform: translateX(-50%);
}

#snackbar > .iconText {
	display: flex;
	flex-direction: row;
	gap: 8px;
	justify-content: center;
	align-items: center;
	font-size: 1rem;
	font-weight: 600;
}
#snackbar > .iconText > svg {
	min-width: 24px;
	min-height: 24px;
}

.snackbar__text
{
	text-align: center;
}

#snackbar.show {
	visibility: visible;
	-webkit-animation:
		fadein 0.5s,
		fadeout 0.5s 4.5s;
	animation:
		fadein 0.5s,
		fadeout 0.5s 4.5s;
}

#snackbar a .snackbar__btn {
	border: none;
	background-color: #fff;
	color: #1056bd;
	padding: 12px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-size: 0.875rem;
}

@-webkit-keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}

	to {
		bottom: 30px;
		opacity: 1;
	}
}

@keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}

	to {
		bottom: 30px;
		opacity: 1;
	}
}

@-webkit-keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}

	to {
		bottom: 0;
		opacity: 0;
	}
}

@keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}

	to {
		bottom: 0;
		opacity: 0;
	}
}

@media screen and (max-width: 800px) {
	#snackbar {
		gap: 1rem;
		flex-direction: column;
		font-size: 0.85rem;
		padding: 20px;
	}
	#snackbar > .iconText {
		align-items: center;
		text-align: left;
		gap: 10px;
		font-weight: 500;
	}
	#snackbar a .snackbar__btn,
	#snackbar a {
		width: 100%;
	}
}

.bottom_car_btn {
	position: fixed;
	left: 28px;
	bottom: 20px;
	background: white;
	padding: 1rem;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
	border-radius: 100%;
	transition: all 400ms ease-in-out;
	display: none;
}

.bottom_car_btn:hover {
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.5);
}

.bottom_car_btn::after {
	content: var(--numeroItensCarrinho);
	font-family: "Montserrat", sans-serif;
	position: absolute;
	top: -10px;
	left: -10px;
	background: var(--azul-3);
	aspect-ratio: 1 / 1;
	width: 30px;
	height: 30px;
	text-align: center;
	border-radius: 100%;
	color: white;
	transform: scale(1);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
}

.bottom_car_btn.atualizando::after {
	animation: fadeOutIn 0.6s ease;
}

.bottom_car_btn.incializacao::after {
	animation: OutfadeIn 0.6s ease;
}

@keyframes OutfadeIn {
	0% {
		opacity: 0;
		transform: scale(1);
	}

	40% {
		opacity: 0;
		transform: scale(0.9);
	}

	60% {
		opacity: 0;
		transform: scale(1.1);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fadeOutIn {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	40% {
		opacity: 0;
		transform: scale(0.9);
	}

	60% {
		opacity: 0;
		transform: scale(1.1);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}
