.alk-offers{
	--alk-primary: #0860a9;
	--alk-secondary: #e21f35;
	--alk-ink: #0f2540;
	--alk-muted: #66788f;

	padding: 72px 24px;
	max-width: 1280px;
	margin: 0 auto;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}

.alk-offers__head{
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}
.alk-offers__title{
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--alk-ink);
	letter-spacing: .2px;
}
.alk-offers__subtitle{
	color: var(--alk-muted);
	font-size: .98rem;
	margin: 0;
	line-height: 1.7;
}

/* ===== أزرار الفلترة (أيقونة + نص) ===== */
.alk-offers__filters{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 40px;
}
.alk-offers__filter{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f4f6f9;
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 9px 18px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--alk-muted);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
	font-family: inherit;
}
.alk-offers__filter:hover{
	background: #eaf0f7;
	color: var(--alk-ink);
}
.alk-offers__filter.is-active{
	background: color-mix(in srgb, var(--alk-primary) 10%, #fff);
	border-color: var(--alk-primary);
	color: var(--alk-primary);
}
.alk-offers__filter-icon{
	display: inline-flex;
	width: 20px;
	height: 20px;
}
.alk-offers__filter-icon img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ===== زر عرض جميع العروض ===== */
.alk-offers__more{
	text-align: center;
	margin-top: 44px;
}
.alk-offers__more-btn{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	background: var(--alk-primary);
	color: #fff !important;
	font-weight: 700;
	font-size: .98rem;
	padding: 14px 34px;
	border-radius: 12px;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--alk-primary) 35%, transparent);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.alk-offers__more-btn:hover,
.alk-offers__more-btn:focus{
	transform: translateY(-2px);
	filter: brightness(1.06);
}

.alk-offers__empty{
	text-align: center;
	color: var(--alk-muted);
	padding: 40px 0;
}

.alk-offers__grid{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 34px;
}

/* ===== البطاقة: تصميم عيادي هادئ، أبيض/رمادي فاتح ===== */
.alk-offer-card{
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid #eef1f5;
	box-shadow: 0 1px 3px rgba(15,37,64,.04);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	animation: alkOfferFadeUp .55s ease both;
}
.alk-offer-card:hover{
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(15,37,64,.10);
	border-color: #e3e8ee;
}
.alk-offer-card:nth-child(1){ animation-delay: .02s; }
.alk-offer-card:nth-child(2){ animation-delay: .07s; }
.alk-offer-card:nth-child(3){ animation-delay: .12s; }
.alk-offer-card:nth-child(4){ animation-delay: .17s; }
.alk-offer-card:nth-child(5){ animation-delay: .22s; }
.alk-offer-card:nth-child(6){ animation-delay: .27s; }

/* المساحة الخاصة بالتصميم -- بدون أي نص أو شارة أو زر فوقها */
.alk-offer-card__media{
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f4f6f9;
}
.alk-offer-card__img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.alk-offer-card:hover .alk-offer-card__img{ transform: scale(1.035); }

.alk-offer-card__placeholder{
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef2f6, #e3e8ee);
}

/* المحتوى تحت التصميم -- منطقة نظيفة منفصلة */
.alk-offer-card__body{
	padding: 20px 20px 22px;
}

.alk-offer-card__name{
	color: var(--alk-ink);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 16px;
	line-height: 1.5;
}

.alk-offer-card__actions{
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.alk-offer-card__btn{
	text-decoration: none;
	border-radius: 10px;
	font-weight: 600;
	font-size: .9rem;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	font-family: inherit;
	line-height: normal;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.alk-offer-card__btn--primary{
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 14px;
	color: var(--alk-primary);
	background: #fff;
	border: 1.5px solid var(--alk-primary);
}
.alk-offer-card__btn--primary:hover,
.alk-offer-card__btn--primary:focus{
	background: var(--alk-primary);
	color: #fff;
}

.alk-offer-card__btn--whatsapp{
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1.5px solid #e3e8ee;
}
.alk-offer-card__btn--whatsapp svg{
	width: 18px;
	height: 18px;
	fill: #25D366;
	transition: fill .2s ease;
}
.alk-offer-card__btn--whatsapp:hover,
.alk-offer-card__btn--whatsapp:focus{
	background: #25D366;
	border-color: #25D366;
}
.alk-offer-card__btn--whatsapp:hover svg,
.alk-offer-card__btn--whatsapp:focus svg{ fill: #fff; }

@keyframes alkOfferFadeUp{
	from{ opacity: 0; transform: translateY(20px); }
	to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
	.alk-offer-card{ animation: none; }
}

/* ===== تجاوب ===== */
@media (max-width: 560px){
	.alk-offers{ padding: 48px 16px; }
	.alk-offers__grid{ grid-template-columns: 1fr; gap: 24px; }
	.alk-offers__filters{ justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; margin-bottom: 32px; }
	.alk-offers__filter{ flex-shrink: 0; }
}

/* ===== نافذة حجز واتساب المنبثقة ===== */
.alk-wa-modal{
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.alk-wa-modal[hidden]{
	display: none !important;
}
.alk-wa-modal:not([hidden]){
	display: flex;
}
.alk-wa-modal__overlay{
	position: absolute;
	inset: 0;
	background: transparent;
}
.alk-wa-modal__box{
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 20px;
	padding: 30px 26px 26px;
	max-width: 380px;
	width: 100%;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 24px 60px rgba(15,37,64,.25);
	direction: rtl;
	text-align: right;
	animation: alkWaModalIn .25s ease both;
	margin: auto;
}
@keyframes alkWaModalIn{
	from{ opacity: 0; transform: translateY(14px) scale(.98); }
	to{ opacity: 1; transform: translateY(0) scale(1); }
}
.alk-wa-modal__close{
	position: absolute;
	top: 14px;
	left: 14px;
	width: 30px;
	height: 30px;
	padding: 0;
	margin: 0;
	border: none;
	background: #f4f6f9;
	border-radius: 50%;
	font-size: 1.2rem;
	line-height: 1;
	color: var(--alk-muted, #66788f);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.alk-wa-modal__close:hover{ background: #e3e8ee; }

.alk-wa-modal__title{
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--alk-ink, #0f2540);
	margin: 0 0 8px;
}
.alk-wa-modal__offer{
	font-size: .92rem;
	color: var(--alk-muted, #66788f);
	margin: 0 0 20px;
}
.alk-wa-modal__offer strong{ color: var(--alk-ink, #0f2540); }

.alk-wa-modal__form{
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.alk-wa-modal__field{
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: .88rem;
	font-weight: 600;
	color: var(--alk-ink, #0f2540);
}
.alk-wa-modal__field input{
	font-family: inherit;
	font-size: 16px; /* لا تقل عن 16px حتى لا يكبّر سفاري آيفون الصفحة تلقائياً عند التركيز على الحقل */
	padding: 11px 14px;
	border: 1.5px solid #e3e8ee;
	border-radius: 10px;
	color: var(--alk-ink, #0f2540);
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}
.alk-wa-modal__field input[type="text"]{
	-webkit-appearance: none;
	appearance: none;
}
.alk-wa-modal__field input:focus{
	outline: none;
	border-color: var(--alk-primary, #0860a9);
}
.alk-wa-modal__hint{
	font-weight: 400;
	font-size: .78rem;
	color: var(--alk-muted, #66788f);
}

.alk-wa-modal__error{
	background: #fdeceb;
	color: #b3261e;
	font-size: .85rem;
	padding: 10px 12px;
	border-radius: 8px;
	margin: 0;
}

.alk-wa-modal__submit{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #25D366;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 13px 16px;
	font-size: .96rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: filter .2s ease, transform .2s ease;
	margin-top: 4px;
}
.alk-wa-modal__submit:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.alk-wa-modal__submit svg{ width: 18px; height: 18px; fill: #fff; }

@media (max-width: 420px){
	.alk-wa-modal{
		align-items: flex-start;
		padding: 16px;
	}
	.alk-wa-modal__box{
		padding: 24px 18px 20px;
		border-radius: 16px;
		margin-top: 30px;
	}
	.alk-wa-modal__title{ font-size: 1.05rem; }
	.alk-wa-modal__close{
		top: 10px;
		left: 10px;
	}
}
