/* Listing Slider Pro - Styles */

.page-testing-for-listing .container {
	width: unset !important;
	margin: 0 auto;
}

.page-home-2 .listingSlider {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 20px 10px;
}

.page-home-2 .listingSlider .swiper-wrapper {
	box-sizing: border-box !important;
}

.page-home-2 .listingSlider .rh-card {
	border-radius: 5px;
	box-shadow: 0 5px 30px rgba(7, 36, 86, 0.075);
	background-color: #fff;
	height: 440px;
	display: flex;
	flex-direction: column;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	transform: translateZ(0);
}

.page-home-2 .listingSlider .rh-card:hover {
	transform: translateY(-10px) scale(1.01);
	box-shadow: 0 12px 40px rgba(7, 36, 86, 0.15);
}

.page-home-2 .listingSlider .rh-image {
	max-height: 220px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden;
}

.page-home-2 .listingSlider .rh-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.page-home-2 .listingSlider .rh-body {
	padding: 15px;
	padding-bottom: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.page-home-2 .listingSlider .rh-body-topbar {
	border-radius: 5px;
	box-shadow: 0 5px 30px rgba(7, 36, 86, 0.075);
	background-color: #fff;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: -3.25rem 0 5px;
	padding: 0.625rem 1rem;
}

.page-home-2 .listingSlider .rh-vendor {
	display: flex;
	gap: 10px;
	align-items: center;
}

.page-home-2 .listingSlider .rh-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.page-home-2 .listingSlider .rh-name {
	font-weight: 500;
	font-size: 14px;
	color: #666;
	text-decoration: none;
	font-family: Quicksand, sans-serif;
}

.page-home-2 .listingSlider .rh-pro,
.page-home-2 .listingSlider .rh-verified {
	font-size: 12px;
	color: #4caf50;
}

.page-home-2 .listingSlider .rh-rating-wrap {}

.page-home-2 .listingSlider .rh-rating {
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #f39c12;
}

.page-home-2 .listingSlider .rating-circle-wrapper {
	display: flex;
	align-items: center;
}

.page-home-2 .listingSlider .rating-info {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.page-home-2 .listingSlider .rh-rating .rating__circle {
	line-height: 0;
}

.page-home-2 .listingSlider .rh-review-count {
	font-size: 13px;
	color: #666;
}

.page-home-2 .listingSlider .rh-title {
	display: block;
	margin: 10px 0;
	font-size: 20px;
	color: #666;
	text-decoration: none;
	font-family: Quicksand, sans-serif;
	font-weight: 500;
	line-height: 1.2;
}

.page-home-2 .listingSlider .rh-location {
	color: #777;
	font-size: 14px;
	display: inline-block;
	text-decoration: none;
}

.page-home-2 .listingSlider .rh-location i {
	color: #3d82f0;
}

.page-home-2 .listingSlider .rh-footer {
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(7, 36, 86, 0.075);
}

.page-home-2 .listingSlider .rh-price {
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 4px;
	color: #777;
}

.page-home-2 .listingSlider .rh-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.page-home-2 .listingSlider .rh-action {
	font-size: 20px;
	line-height: 1;
	color: rgba(7, 36, 86, .25);
	transition: color .25s;
	text-decoration: none;
}

.page-home-2 .listingSlider .rh-action:hover {
	color: #333;
}

.page-home-2 .listingSlider .rh-fav[data-state='active'] {
	color: #ff5a5f;
}

.page-home-2 .listingSlider .swiper {
	overflow: visible;
}

.page-home-2 .listingSlider {
	position: relative;
}

.page-home-2 .listingSlider .swiper-slide {
	height: auto;
}

.page-home-2 .listingSlider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	position: absolute;
	z-index: 2;
	top: 50%;
	width: 3.125rem;
	height: 3.125rem;
	margin-top: -1.5625rem;
	cursor: pointer;
	transition: color 0.25s ease, opacity 0.5s ease, transform 0.2s ease;
	opacity: 0;
	color: rgba(7, 36, 86, 0.25);
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 5px 30px rgba(7, 36, 86, 0.095);
}

.page-home-2 .listingSlider-nav:hover {
	color: #ffc107;
	transform: scale(1.1);
}

.page-home-2 .listingSlider-prev {
	left: 2.5rem;
}

.page-home-2 .listingSlider-next {
	right: 2.5rem;
}

.page-home-2 .listingSlider:hover .listingSlider-nav {
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 1200px) {
	.page-home-2 .listingSlider {
		padding: 20px;
	}
}

@media (max-width: 768px) {
	.page-home-2 .listingSlider .swiper {
		padding-left: 0px;
		padding-right: 15px;
	}
}

@media (min-width: 480px) and (max-width: 1550px) {
	.page-home-2 .listingSlider .rh-body-topbar {
		flex-direction: column;
		gap: 10px;
	}
}

@media (min-width: 767px) {
	.page-home-2 .listingSlider .rh-title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}
}
