/* =========================================================================
 * Active Plus Spa — ستايل الصفحات الداخلية (single / archive / contact / blog)
 * يعتمد على نفس متغيرات style.css (--gold, --dark, --cream, --beige, --sage ...)
 * ====================================================================== */

.single-section {
	padding: 70px 0;
	background: var(--white);
}

/* ---- ترويسة الصفحات الداخلية ---- */
.page-hero {
	position: relative;
	background: var(--dark);
	background-image: url("../images/intro-bg.png");
	background-size: cover;
	background-position: center;
	padding-bottom: 55px;
}

.page-hero .top-bar {
	padding-top: 14px;
}

.page-hero-body {
	padding: 80px 0;
}

.page-hero-title {
	color: #ffd694;
	font-size: 50px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* ---- مسار التنقل ---- */
.aps-breadcrumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	color: #d9d2cb;
	font-size: 34px;
}

.aps-breadcrumb a {
	color: var(--white);
}

.aps-breadcrumb-separator {
	color: rgba(255, 255, 255, 0.38);
}

/* =========================================================================
 * الجاليري (single الباقات والخدمات)
 * ====================================================================== */
.aps-gallery {
	width: 100%;
}

.gallery-main {
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	margin-bottom: 14px;
}

.gallery-main img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
}

.gallery-thumbs .thumb {
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	width: 100px;
	height: 55px;
	transition: border-color 0.3s ease;
}

.gallery-thumbs .thumb img {
	width: 100px;
	height: 55px;
	object-fit: cover;
	display: block;
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
	border-color: var(--gold);
}

.gallery-thumbs .thumb.active img,
.gallery-thumbs .thumb:hover img {
	opacity: 1;
}

.package-single .gallery-thumbs,
.service-single .gallery-thumbs {
	position: relative;
}

.package-single .gallery-thumbs.owl-carousel,
.service-single .gallery-thumbs.owl-carousel {
	display: block;
}

.package-single .gallery-thumbs .owl-stage-outer,
.service-single .gallery-thumbs .owl-stage-outer {
	overflow: hidden;
}

.package-single .gallery-thumbs .thumb,
.service-single .gallery-thumbs .thumb {
	width: 100%;
}

.gallery-thumbs .owl-nav .owl-prev,
.gallery-thumbs .owl-nav .owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--white) !important;
	color: var(--dark) !important;
	font-size: 14px;
	line-height: 1 !important;
	box-shadow:
			0 10px 22px rgba(0, 0, 0, 0.14),
			0 0 0 1px rgba(224, 169, 109, 0.28);
	z-index: 3;
	transition:
			color 0.3s ease,
			background 0.3s ease,
			box-shadow 0.3s ease,
			transform 0.3s ease;
}

.gallery-thumbs .owl-nav .owl-prev:hover,
.gallery-thumbs .owl-nav .owl-next:hover {
	transform: translateY(-50%) scale(1.06);
	background: var(--gold) !important;
	color: var(--dark) !important;
	box-shadow:
			0 14px 26px rgba(224, 169, 109, 0.35),
			0 0 0 5px rgba(224, 169, 109, 0.12);
}

.gallery-thumbs .owl-nav .owl-prev.disabled,
.gallery-thumbs .owl-nav .owl-next.disabled {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

.gallery-thumbs .owl-nav .owl-prev i,
.gallery-thumbs .owl-nav .owl-next i {
	line-height: 1;
}

.gallery-thumbs .owl-nav .owl-prev {
	inset-inline-start: 0;
}
.gallery-thumbs .owl-nav .owl-next {
	inset-inline-end: 0;
}

/* =========================================================================
 * صفحة الباقة المفردة
 * ====================================================================== */
.package-top,
.service-top {
	display: flex;
	gap: 40px;
	align-items: start;
}

.package-single .aps-gallery,
.service-single .aps-gallery {
	flex: 0 0 calc(45% - 20px);
	max-width: calc(45% - 20px);
	min-width: 0;
}

.package-details,
.service-details {
	flex: 0 0 calc(55% - 20px);
	max-width: calc(55% - 20px);
	min-width: 0;
}

.single-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	background: var(--gold);
	color: var(--dark);
	padding: 8px 22px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.single-price-number {
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
}

.single-price-currency {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.single-content {
	color: var(--muted);
	font-size: 15px;
	line-height: 2;
	margin-bottom: 24px;
}

.single-content p {
	margin-bottom: 14px;
}

.terms-block {
	margin-bottom: 26px;
}



.terms-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--dark);
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 16px;
}

.terms-title::before {
	content: "";
	width: 26px;
	height: 26px;
	background: url("../images/about-title-before.png") center / contain no-repeat;
}

.terms-list li {
	position: relative;
	padding-inline-start: 26px;
	margin-bottom: 12px;
	color: var(--dark-2);
	font-size: 15px;
	line-height: 1.9;
}

.terms-list li::before {
	content: "\f111";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 7px;
	color: var(--gold);
	position: absolute;
	inset-inline-start: 0;
	top: 9px;
}

/* =========================================================================
 * صفحة الخدمة المفردة
 * ====================================================================== */
.service-details {
	padding-top: 10px;
}

.service-detail-icon {
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin-bottom: 18px;
}

.service-detail-title {
	color: var(--dark);
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 14px;
}

.service-detail-price {
	margin-bottom: 18px;
}

.service-detail-desc {
	color: var(--muted);
	font-size: 16px;
	line-height: 2;
	margin-bottom: 18px;
}

/* فقرات «من نحن» القادمة من محرر ACF تأخذ نفس تنسيق التصميم (.about-body) */
.about-text p {
	font-size: 15px;
	font-weight: 400;
	line-height: 39px;
	margin-bottom: 14px;
}

/* =========================================================================
 * صفحة الانترو المفردة
 * ====================================================================== */
.intro-single-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 45px;
	align-items: center;
}

.intro-single-image {
	border-radius: 24px;
	overflow: hidden;
 }

.intro-single-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.intro-single-subtitle {
	display: inline-block;
	color: var(--gold-deep);
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 12px;
}

.intro-single-title {
	color: var(--dark);
	font-size: 34px;
	font-weight: bold;
	margin-bottom: 18px;
}

.intro-single-desc {
	color: var(--muted);
	font-size: 16px;
	line-height: 2.1;
	margin-bottom: 26px;
}

/* =========================================================================
 * شبكات الأرشيف
 * ====================================================================== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.archive-grid-section .service-card {
	height: 100%;
}

.archive-grid-section .packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	background: transparent;
	padding: 0;
}

.archive-grid-section .package-card {
	background: var(--sage);
	height: 100%;
	min-width: 0;
}

.archive-grid-section .package-card.featured,
.archive-grid-section .package-card:hover {
	background: var(--white);
	transform: translateY(-15px);
}

.blog-archive .blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

/* =========================================================================
 * صفحة آراء العملاء
 * ====================================================================== */
.testimonials-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: var(--cream);
	border: 1px solid #efe6d7;
	border-radius: 18px;
	padding: 28px 24px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
	transition:
			background 0.3s ease,
			border-color 0.3s ease,
			box-shadow 0.3s ease,
			transform 0.3s ease;
}

.testimonial-card:hover {
	background: var(--white);
	border-color: rgba(224, 169, 109, 0.45);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
	transform: translateY(-6px);
}

.testimonial-card-quote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--dark);
	font-size: 18px;
}

.testimonial-card-text {
	flex: 1;
	color: var(--muted);
	font-size: 15px;
	line-height: 2;
	margin-bottom: 24px;
}

.testimonial-card-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.testimonial-card-avatar {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-card-name {
	color: var(--dark);
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 4px;
}

.testimonial-card-role {
	color: #7b756f;
	font-size: 13px;
}

/* =========================================================================
 * المقال المفرد
 * ====================================================================== */
.single-post .post-thumb {
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 22px;
}

.single-post .post-thumb img {
	width: 100%;
	display: block;
}

.single-post .post-meta {
	margin-bottom: 16px;
}

.single-post .blog-date {
	color: var(--gold-deep);
	font-size: 14px;
	border: none;
	display: inline-flex;
}
.logged-in-as {
	display: none;
}
.comment-form-cookies-consent{
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.comment-form-cookies-consent input{
	width: 40px !important;
}
/* =========================================================================
 * صفحة تواصل معنا
 * ====================================================================== */
.contact-intro {
	color: var(--muted);
	font-size: 16px;
	line-height: 2;
	margin-bottom: 30px;
	max-width: 760px;
}

.contact-info-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	height: 100%;
}

.contact-info-grid .contact-info-card {
	flex: 1 1 0;
	min-width: 160px;
}

.contact-info-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: var(--cream);
	border: 1px solid #efe6d7;
	border-radius: 16px;
	padding: 22px 20px;
	transition: all 0.3s ease;
}

a.contact-info-card:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
}

.ci-icon {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--gold);
	color: var(--white);
	font-size: 18px;
	margin-bottom: 6px;
}

.ci-label {
	color: var(--muted);
	font-size: 13px;
}
.ci-value {
	color: var(--dark);
	font-weight: bold;
	font-size: 16px;
	word-break: break-word;
}

.contact-social-box,
.contact-form-box {
	background: var(--sage);
	border-radius: 20px;
	padding: 26px;
	height: 100%;
}

.contact-box-title {
	color: var(--dark);
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 18px;
}

.contact-social,
.footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.contact-social a {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--white);
	color: var(--dark);
	font-size: 18px;
}

.contact-social a:hover {
	background: var(--gold);
	color: var(--white);
}

.contact-top-row {
	margin-bottom: 30px;
}

.contact-map-box {
	border-radius: 20px;
	overflow: hidden;
	height: 100%;
	min-height: 340px;
}

.contact-map-box iframe {
	width: 100%;
	height: 100%;
	min-height: 340px;
	border: 0;
}

/* =========================================================================
 * فورمات Contact Form 7 (الحجز + التواصل)
 * ====================================================================== */
.booking-form-wrap {
	background: var(--sage);
	border-radius: 24px;
	padding: 40px;
	margin-top: 50px;
}

.booking-title,
.booking-form-wrap > .booking-title {
	text-align: center;
	color: var(--dark);
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 26px;
}

.aps-form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-bottom: 24px;
}

.aps-form-grid .aps-field {
	display: flex;
	flex-direction: column;
}

.wpcf7-form-control-wrap {
	display: block;
}

.booking-form-wrap input.wpcf7-form-control:not(.wpcf7-submit),
.booking-form-wrap select.wpcf7-form-control,
.booking-form-wrap textarea.wpcf7-form-control,
.contact-form-box input.wpcf7-form-control:not(.wpcf7-submit),
.contact-form-box select.wpcf7-form-control,
.contact-form-box textarea.wpcf7-form-control {
	width: 100%;
	background: var(--white);
	border: 1px solid #e6ddcd;
	border-radius: 15px;
	padding: 15px 22px;
	font-family: inherit;
	font-size: 15px;
	color: var(--dark);
	text-align: right;
	direction: rtl;
}

.booking-form-wrap textarea.wpcf7-form-control,
.contact-form-box textarea.wpcf7-form-control {
	border-radius: 18px;
	min-height: 120px;
}

.booking-form-wrap input::placeholder,
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
	color: #000	;
}

.booking-form-wrap input:focus,
.booking-form-wrap select:focus,
.contact-form-box input:focus,
.contact-form-box textarea:focus {
	outline: 0;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(224, 169, 109, 0.18);
}

/* زر الإرسال على شكل التصميم */
.wpcf7-submit,
.booking-form-wrap .wpcf7-submit,
.contact-form-box .wpcf7-submit {
	display: inline-block;
	background: var(--gold);
	color: var(--dark);
	font-weight: bold;
	font-size: 16px;
	border: 0;
	border-radius: 999px;
	padding: 15px 50px;
	cursor: pointer;
	box-shadow: 0 12px 24px rgba(224, 169, 109, 0.3);
	transition: all 0.3s ease;
}

.wpcf7-submit:hover {
	background: var(--gold-deep);
}

.booking-submit-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin-inline: auto;
	text-align: center;
	border-radius: 999px;
	isolation: isolate;
}

.booking-submit-row .wpcf7-submit {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 7px 45px 7px 45px;
	background: #ffd694;
	color: #171412 !important;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;
	border: 1px solid rgba(255, 236, 188, 0.75);
	border-radius: 999px;
	box-shadow: none;
	overflow: visible;
	transition:
			color 0.35s ease,
			background 0.35s ease,
			border-color 0.35s ease,
			box-shadow 0.35s ease,
			transform 0.35s ease;
}



.booking-submit-row::after {
	content: "\f177";
	position: absolute;
	left: 8px;
	top: 30%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #3b3430;
	color: #ffd994;
	font-family: "Font Awesome 6 Free";
	font-style: normal;
	font-variant: normal;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	text-rendering: auto;
	transform: translate(-15px, -50%);
	pointer-events: none;
	transition:
			color 0.35s ease,
			background 0.35s ease,
			box-shadow 0.35s ease,
			transform 0.35s ease;
}

.booking-submit-row:hover .wpcf7-submit {
	background: linear-gradient(135deg, #3b3430 0%, #241f1c 100%);
	color: #ffd994 !important;
	border-color: rgba(255, 217, 148, 0.46);
	transform: translateY(-3px);
}

.booking-submit-row:hover::before {
	background-position: -120% 0;
}

.booking-submit-row:hover::after {
	background: #ffd994;
	color: #241f1c;
	box-shadow: 0 8px 18px rgba(255, 217, 148, 0.26);
	transform: translate(-17px, -50%) rotate(33deg);
}

html[dir="ltr"] .booking-submit-row::after {
	right: 8px;
	left: auto;
	transform: translate(15px, -50%) rotate(180deg);
}

html[dir="ltr"] .booking-submit-row:hover::after {
	transform: translate(17px, -50%) rotate(-33deg);
}

.booking-submit-row .wpcf7-submit:focus-visible {
	outline: 3px solid rgba(255, 217, 148, 0.45);
	outline-offset: 4px;
}

.contact-form-box .wpcf7-form p {
	margin-bottom: 14px;
}

/* رسائل CF7 */
.wpcf7 form .wpcf7-response-output {
	border-radius: 12px;
	margin: 16px 0 0;
}

.aps-form-missing {
	background: #fff3cd;
	color: #856404;
	padding: 12px 16px;
	border-radius: 10px;
}

/* =========================================================================
 * wp-pagenavi
 * ====================================================================== */
.wp-pagenavi {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 45px;
	flex-wrap: wrap;
}

.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid #e6ddcd;
	border-radius: 10px;
	color: var(--dark);
	text-decoration: none;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--white);
}

/* =========================================================================
 * Responsive
 * ====================================================================== */
@media (max-width: 991px) {
	.intro-single-inner {
		grid-template-columns: 1fr;
	}

	.contact-social-box,
	.contact-form-box {
		margin-top: 30px;
	}

	.package-top,
	.service-top {
		flex-direction: column;
	}
	.package-single .aps-gallery,
	.service-single .aps-gallery,
	.package-details,
	.service-details {
		flex-basis: 100%;
		max-width: 100%;
		width: 100%;
	}
	.services-grid,
	.blog-archive .blog-grid,
	.testimonials-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.aps-form-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.gallery-main img {
		height: 320px;
	}
}

@media (max-width: 767px) {
	.contact-info-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}.contact-map-box{
	margin-top: 50px;
		 }
	.aps-breadcrumb{
		font-size: 20px;
	}
	.contact-info-grid .contact-info-card {
		min-width: 0;
	}

	.contact-info-grid .contact-info-card:nth-child(3) {
		grid-column: 1 / -1;
	}

	.aps-form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.services-grid,
	.blog-archive .blog-grid,
	.testimonials-cards-grid,
	.aps-form-grid {
		grid-template-columns: 1fr;
	}
	.page-hero-title {
		font-size: 24px;
	}
}
