/**
 * Doctors carousel — compact, balanced card layout.
 */

.doctors-section {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

.doctors-swiper-wrap {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 44px;
}

.doctors-swiper {
	max-width: 100%;
	margin: 0 auto;
	padding-bottom: 36px !important;
}

/* Hide nav when all doctors fit on screen */
.doctors-swiper--static .doctors-swiper-prev,
.doctors-swiper--static .doctors-swiper-next,
.doctors-swiper--static .swiper-pagination {
	display: none !important;
}

/* Show pagination + arrows when carousel is navigable */
.doctors-swiper--navigable .swiper-pagination {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 8px;
	position: relative !important;
	bottom: auto !important;
	margin-top: 8px;
	padding-top: 4px;
}

.doctors-swiper--navigable .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #e63946;
	opacity: 0.3;
	transition: all 0.3s ease;
}

.doctors-swiper--navigable .swiper-pagination-bullet-active {
	background: #e63946;
	opacity: 1;
	width: 24px;
	border-radius: 5px;
}

.doctors-swiper--navigable .swiper-pagination-bullet:hover {
	opacity: 0.6;
}

.doctors-swiper-prev,
.doctors-swiper-next {
	width: 40px;
	height: 40px;
	margin-top: 0;
	top: 42%;
	transform: translateY(-50%);
	color: #d94e4e;
	background: #fff;
	border: 1px solid #d94e4e;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(217, 78, 78, 0.15);
	transition: background 0.2s ease, color 0.2s ease;
}

.doctors-swiper-prev::after,
.doctors-swiper-next::after {
	font-size: 16px;
	font-weight: 700;
}

.doctors-swiper-prev:hover,
.doctors-swiper-next:hover {
	background: #d94e4e;
	color: #fff;
}

.doctors-swiper-prev {
	left: 0;
}

.doctors-swiper-next {
	right: 0;
}

.doctors-swiper-prev.swiper-button-disabled,
.doctors-swiper-next.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.doctors-swiper .swiper-wrapper {
	align-items: stretch;
}

.doctors-swiper .swiper-slide {
	height: auto;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.doctors-swiper .swiper-slide .doctor-card {
	width: 100%;
	max-width: 300px;
	height: 100%;
	margin: 0 auto;
}

.doctors-section .doctor-card {
	overflow: hidden;
}

.doctors-section .doctor-image {
	width: 100%;
	max-width: 200px;
	height: 220px;
	aspect-ratio: auto;
	margin: 20px auto 0;
	padding: 0;
	box-sizing: border-box;
	flex-shrink: 0;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #f3f3f3;
}

.doctors-section .doctor-image img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center 12%;
	display: block;
	border-radius: 10px;
}

.doctors-section .doctor-info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 14px 16px 18px !important;
}

.doctors-section .doctor-name {
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	margin-bottom: 6px !important;
	min-height: auto !important;
}

.doctors-section .doctor-title {
	font-size: 0.82rem !important;
	line-height: 1.4 !important;
	min-height: 2.6em;
	margin-bottom: 14px !important;
	padding: 0 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #606060 !important;
}

.doctors-section .doc-appointment-section {
	margin-top: auto;
	gap: 10px !important;
}

.doctors-section .call-icon {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	padding: 8px !important;
	flex-shrink: 0;
}

.doctors-section .call-icon img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.doctors-section .btn-appointment {
	padding: 8px 12px !important;
	font-size: 0.78rem !important;
	line-height: 1.25 !important;
	border-radius: 22px !important;
}

.doctors-section .btn-appointment.mt-2 {
	margin-top: 8px !important;
}

@media (max-width: 991.98px) {
	.doctors-swiper .swiper-slide .doctor-card {
		max-width: 280px;
	}

	.doctors-section .doctor-image {
		max-width: 180px;
		height: 200px;
	}
}

@media (max-width: 639.98px) {
	.doctors-swiper-wrap {
		padding: 0 36px;
	}

	.doctors-swiper-prev,
	.doctors-swiper-next {
		width: 34px;
		height: 34px;
	}

	.doctors-swiper-prev::after,
	.doctors-swiper-next::after {
		font-size: 14px;
	}

	.doctors-swiper .swiper-slide .doctor-card {
		max-width: 260px;
	}

	.doctors-section .doctor-image {
		max-width: 170px;
		height: 190px;
		margin-top: 16px;
	}

	.doctors-section .doctor-name {
		font-size: 1rem !important;
	}

	.doctors-section .doctor-title {
		font-size: 0.8rem !important;
	}
}

@media (min-width: 1200px) {
	.doctors-swiper .swiper-slide .doctor-card {
		max-width: 310px;
	}
}
