.store-card {
	background-color: #fff;
	border-radius: 8px;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
	width: 100%;
	box-shadow: none;
	padding: 0;
	margin: 0;
	max-width: 243px;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);

	&:hover {
		transform: translateY(-5px);
	}

	.store-img {
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 8px 8px 0 0;
		overflow: hidden;
		margin-bottom: 16px;
		color: var(--secTextColor);

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			aspect-ratio: 1/1;
		}
	}

	.text-container {
		padding: 0 10px 10px 10px;
		height: 113px;

		.store-title {
			font-size: 18px;
			font-weight: 600;
			color: #000;
			margin-bottom: 10px;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			line-clamp: 2;
			-webkit-line-clamp: 2;
			overflow: hidden;
			line-height: normal;
		}

		.store-description {
			font-size: 13px;
			color: #5b5b5b;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			line-clamp: 2;
			-webkit-line-clamp: 2;
			overflow: hidden;
			font-weight: 400;
			line-height: unset;

			p {
				margin: 0;
			}
		}
	}
}

@media only screen and (max-width: 991px) {
	.store-card {
		max-width: 218px;
	}
}

@media only screen and (max-width: 769px) {
	.store-card {
		margin-inline: 5px;
		max-width: 165px;

		.store-img {
			margin-bottom: 10px;
		}

		.text-container {
			height: 60px;
			padding: 0 10px 10px 10px;

			.store-title {
				font-size: 20px;
				margin: 0;
			}

			.store-description {
				display: none;
			}
		}
	}
}

.stores-carousel {
	.store-card {
		width: 100%;
		max-width: unset;
	}
}

@media only screen and (max-width: 575px) {
	.store-card {
		max-width: 150px;
		.text-container {
			height: 54px;

			.store-title {
				font-size: 18px;
			}
		}
	}
}

.page-stores {
	.header {
		display: flex;
		justify-content: space-between;
		align-items: start;
		margin-bottom: 25px;

		h1 {
			font-size: 45px;
			font-weight: medium;
			font-stretch: normal;
			font-style: normal;
			line-height: 1.33;
			letter-spacing: normal;
			text-align: left;
			color: var(--secTextColor);
		}

		.title {
			font-size: 16px;
			font-weight: 600;
			z-index: 1;
			margin: 0;

			a {
				color: #000;
				font-style: italic;
				cursor: pointer;
				font-weight: normal;
				transition: all 0.3s ease-in-out;

				&:hover {
					color: var(--mainColor);
				}
			}
		}

		.open-filters-btn {
			border-radius: 8px;
			border: 2px solid #ddd;
			background-color: #fff;
			color: #000;
			cursor: pointer;
			transition: all 0.3s ease-in-out;
			padding: 5px 14px;
			z-index: 1;

			&:hover {
				border-color: #aaa;
			}

			@media only screen and (max-width: 991px) {
				border: none;
			}
		}

		.open-map-button {
			display: flex;
			align-items: center;
			justify-content: center;
			background-color: #fff;
			color: #000;
			padding: 5px 14px;
			border-radius: 8px;
			border: 2px solid #ddd;
			cursor: pointer;
			transition: all 0.3s ease-in-out;
			gap: 10px;

			&:hover {
				border-color: #aaa;
			}

			@media only screen and (max-width: 991px) {
				border: none;
			}
		}
	}

	.map-wrapper {
		opacity: 0;
		height: 0;
		border-radius: 10px;
		overflow: hidden;
		margin: 0;
		box-shadow: 2px 0 8px 0 rgba(0, 0, 0, 0.16);
		border: 2px solid white;
		transition: all 0.3s ease-in-out;

		&.active {
			height: 300px;
			opacity: 1;
			margin-block: 20px;
		}
	}

	.leaflet-popup-content-wrapper {
		background: black;
		color: white;
		border-radius: 25px;
	}

	.leaflet-popup-tip-container {
		display: none;
	}

	.stores {
		display: flex;
		flex-wrap: wrap;
		gap: 50px 20px;
		align-items: center;

		@media only screen and (max-width: 768px) {
			gap: 30px 10px;
		}
	}

	.pagination-wrapper {
		color: #000;
		font-size: 18px;
		margin-top: 1.5rem;
		display: flex;
		justify-content: center;
		gap: 1rem;

		.current {
			color: var(--mainColor);
		}

		a {
			color: #000;

			&:hover {
				color: var(--mainColor);
			}
		}
	}
}

.store-banner {
	max-height: 40vh;
	border-bottom: solid 10px var(--mainColor);
	overflow: hidden;
	align-items: center;
	display: flex;
	justify-content: center;

	img {
		width: 100%;
		height: 100%;
		max-height: 40vh;
		object-fit: cover;
	}
}

@media only screen and (max-width: 991px) {
	.store-banner {
		max-height: 35vh;

		img {
			max-height: 35vh;
		}
	}
}

@media only screen and (max-width: 769px) {
	.store-banner {
		max-height: 30vh;

		img {
			max-height: 30vh;
		}
	}
}

@media only screen and (max-width: 551px) {
	.store-banner {
		max-height: 25vh;

		img {
			max-height: 25vh;
		}
	}
}

.store-container {
	.store-content {
		.store-image {
			display: flex;
			flex-direction: column;
			align-items: center;
			margin-bottom: 20px;

			img {
				width: 100%;
				max-width: 300px;
				border-radius: 8px;
			}
		}

		.store-details {
			margin-bottom: 24px;
			font-size: 14px;
			font-weight: 700;
			overflow-wrap: anywhere;

			a {
				color: #000;
				text-decoration: underline !important;

				&:hover {
					color: var(--mainColor);
				}
			}
		}

		.store-info {
			.store-name {
				color: #000;
				font-size: 40px;
				font-weight: 700;
				margin-bottom: 24px;
			}

			.store-description {
				font-size: 14px;

				ul {
					list-style: disc;
				}

				/* p {
					margin: 0;
				} */

				br {
					display: none;
				}

			}

			.store-map {
				height: 250px;
				border-radius: 10px;
				overflow: hidden;

				.leaflet-popup-content-wrapper {
					background: black;
					color: white;
					border-radius: 8px;
				}

				.leaflet-popup-tip-container {
					display: none;
				}
			}
		}
	}
}
