/* بطل الحكاية – واجهة الباقات ونموذج الطلب (ورق مقصوص متعدد الطبقات) */

.bh-app {
	--bh-cream: #FFF8EB;
	--bh-navy: #26334A;
	--bh-blue: #479AE6;
	--bh-green: #97B943;
	--bh-yellow: #F2C84A;
	--bh-red: #E54837;
	--bh-pink: #E75F70;
	--bh-orange: #ECA43F;
	--bh-line: #E8DDC4;
	--bh-err: #C0301F;

	box-sizing: border-box;
	min-height: 100vh;
	background-color: var(--bh-cream);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .15 0 0 0 0 .2 0 0 0 0 .3 0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	color: var(--bh-navy);
	font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.75;
	text-align: right;
	direction: rtl;
	color-scheme: light;
	overflow-x: hidden;
}

.bh-app *,
.bh-app *::before,
.bh-app *::after {
	box-sizing: border-box;
}

.bh-app [hidden] {
	display: none !important;
}

:where(.bh-app) h2,
:where(.bh-app) h3,
:where(.bh-app) p,
:where(.bh-app) ul,
:where(.bh-app) ol {
	margin-top: 0;
}

.bh-title,
.bh-step-title,
.bh-pkg-name,
.bh-choice-head b {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	line-height: 1.3;
	color: var(--bh-navy);
}

/* ---------- الهيدر ---------- */
.bh-hero {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.bh-hero .bh-labeeb {
	flex: 0 0 auto;
	width: 96px;
	height: auto;
}

.bh-title {
	font-size: 30px;
	margin: 0 0 4px;
}

.bh-hero-text p {
	margin: 0;
}

.bh-labeeb {
	display: block;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 6px 0 rgba(38, 51, 74, .10));
}

@media (prefers-reduced-motion: no-preference) {
	.bh-hero .bh-labeeb,
	.bh-success .bh-labeeb {
		animation: bh-bob 3.6s ease-in-out infinite;
	}
	.bh-step.is-active {
		animation: bh-in .35s ease both;
	}
}

@keyframes bh-bob {
	0%, 100% { transform: translateY(0) rotate(-2deg); }
	50% { transform: translateY(-7px) rotate(2deg); }
}

@keyframes bh-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

/* ---------- الأزرار ---------- */
.bh-app .bh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	cursor: pointer;
	background: var(--bh-red);
	color: #fff !important;
	font: 800 18px/1.2 'Tajawal', system-ui, sans-serif;
	padding: 14px 28px;
	border-radius: 999px;
	box-shadow: 0 5px 0 #B3352A;
	text-decoration: none !important;
	transition: transform .12s ease, box-shadow .12s ease;
	-webkit-tap-highlight-color: transparent;
}

.bh-app .bh-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 7px 0 #B3352A;
}

.bh-app .bh-btn:active {
	transform: translateY(3px);
	box-shadow: 0 2px 0 #B3352A;
}

.bh-app .bh-btn:focus-visible {
	outline: 3px solid var(--bh-navy);
	outline-offset: 3px;
}

.bh-app .bh-btn[disabled] {
	opacity: .6;
	cursor: wait;
}

.bh-app .bh-btn-ghost {
	background: #fff;
	color: var(--bh-navy) !important;
	border: 2px solid var(--bh-line);
	box-shadow: 0 5px 0 var(--bh-line);
}

.bh-app .bh-btn-ghost:hover {
	box-shadow: 0 7px 0 var(--bh-line);
}

.bh-app .bh-btn-ghost:active {
	box-shadow: 0 2px 0 var(--bh-line);
}

.bh-app .bh-btn-go {
	background: var(--bh-green);
	color: var(--bh-navy) !important;
	box-shadow: 0 5px 0 #6F8B2B;
}

.bh-app .bh-btn-go:hover {
	box-shadow: 0 7px 0 #6F8B2B;
}

.bh-app .bh-btn-go:active {
	box-shadow: 0 2px 0 #6F8B2B;
}

.bh-app .bh-btn-wa {
	background: #168A47;
	box-shadow: 0 5px 0 #0F6633;
}

/* ---------- بطاقات الباقات ---------- */
.bh-pkg-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 34px 26px;
	padding: 18px 8px 8px;
}

.bh-pkg {
	position: relative;
	isolation: isolate;
	background: #fff;
	border-radius: 26px;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .06), 0 14px 26px rgba(38, 51, 74, .12);
	display: flex;
	flex-direction: column;
}

.bh-pkg::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 26px;
	background: var(--c);
	opacity: .55;
	transform: translate(-7px, 9px) rotate(-1.4deg);
}

.bh-pkg-head {
	position: relative;
	background: var(--c);
	color: var(--ink);
	text-align: center;
	padding: 46px 24px 18px;
	border-radius: 26px 26px 0 0;
}

.bh-pkg-head::after {
	content: '';
	position: absolute;
	right: 0;
	left: 0;
	bottom: -13px;
	height: 14px;
	background: radial-gradient(circle at 10px 0, var(--c) 10px, transparent 11px) 0 0 / 20px 14px repeat-x;
}

.bh-pkg-head .bh-pkg-name {
	color: var(--ink);
	font-size: 27px;
	margin: 0;
}

.bh-pkg-sub {
	margin: 2px 0 0;
	font-weight: 700;
	color: var(--ink);
	opacity: .95;
}

.bh-pkg-head .bh-badge {
	position: absolute;
	top: 12px;
	left: 50%;
	margin: 0;
	white-space: nowrap;
	transform: translateX(-50%) rotate(-3deg);
}

.bh-badge {
	display: inline-block;
	background: #fff;
	color: var(--bh-navy);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.5;
	padding: 1px 12px;
	border-radius: 999px;
	margin-bottom: 8px;
	transform: rotate(-3deg);
	box-shadow: 0 2px 0 rgba(38, 51, 74, .15);
}

.bh-pkg-body {
	background: #fff;
	border-radius: 0 0 26px 26px;
	padding: 26px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.bh-price {
	position: absolute;
	top: -26px;
	left: -16px;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--bh-yellow);
	color: var(--bh-navy);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transform: rotate(-9deg);
	box-shadow: 0 4px 0 rgba(38, 51, 74, .18);
	z-index: 2;
}

.bh-price b {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
}

.bh-price span {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.bh-feat {
	list-style: none;
	margin: 6px 0 18px;
	padding: 0;
}

.bh-feat li {
	position: relative;
	padding: 5px 30px 5px 0;
	margin: 0;
}

.bh-feat li::before {
	content: '\2713';
	position: absolute;
	right: 0;
	top: 8px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--c, var(--bh-blue));
	color: var(--ink, #fff);
	font-size: 12px;
	font-weight: 800;
	line-height: 21px;
	text-align: center;
}

.bh-pkg-body .bh-btn {
	margin-top: auto;
	width: 100%;
}

.bh-note {
	margin: 18px 6px 0;
	padding: 10px 16px;
	background: #fff;
	border-radius: 16px;
	border: 2px dashed var(--bh-line);
	font-size: 15px;
	text-align: center;
}

/* ---------- شريط الخطوات ---------- */
.bh-progress {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	position: relative;
}

.bh-progress::before {
	content: '';
	position: absolute;
	top: 17px;
	right: 8%;
	left: 8%;
	height: 4px;
	background: var(--bh-line);
	border-radius: 4px;
}

.bh-progress li {
	position: relative;
	flex: 1 1 0;
	text-align: center;
	margin: 0;
	font-size: 13px;
}

.bh-progress li span {
	display: block;
	width: 36px;
	height: 36px;
	line-height: 32px;
	margin: 0 auto 2px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--bh-line);
	font-weight: 800;
	color: var(--bh-navy);
}

.bh-progress li em {
	font-style: normal;
	font-weight: 700;
	opacity: .75;
}

.bh-progress li.is-done span {
	background: var(--bh-green);
	border-color: var(--bh-green);
}

.bh-progress li.is-current span {
	background: var(--bh-red);
	border-color: var(--bh-red);
	color: #fff;
	transform: scale(1.08);
}

.bh-progress li.is-current em {
	opacity: 1;
}

@media (max-width: 560px) {
	.bh-progress li:not(.is-current) em {
		display: none;
	}
}

/* ---------- الخطوات والحقول ---------- */
.bh-step {
	background: #fff;
	border-radius: 24px;
	padding: 20px 18px 8px;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .05), 0 10px 22px rgba(38, 51, 74, .08);
}

.bh-step-title {
	font-size: 24px;
	margin: 0 0 14px;
}

.bh-step-title:focus {
	outline: none;
}

.bh-field {
	margin: 0 0 16px;
}

.bh-label {
	display: block;
	font-weight: 800;
	margin-bottom: 4px;
}

.bh-req {
	color: var(--bh-red);
}

.bh-hint {
	margin: 0 0 6px;
	font-size: 14px;
	opacity: .8;
}

.bh-app .bh-field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.bh-app .bh-field select,
.bh-app .bh-field textarea {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 12px 14px;
	background: #FFFDF7;
	color: var(--bh-navy);
	border: 2px solid var(--bh-line);
	border-radius: 14px;
	box-shadow: none;
	font: 500 16px/1.5 'Tajawal', system-ui, sans-serif;
	text-align: right;
	-webkit-appearance: none;
	appearance: none;
}

.bh-app .bh-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--bh-navy) 50%), linear-gradient(135deg, var(--bh-navy) 50%, transparent 50%);
	background-position: 18px 52%, 24px 52%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-left: 40px;
}

.bh-app .bh-field textarea {
	resize: vertical;
	min-height: 72px;
}

.bh-app .bh-field input[dir="ltr"] {
	text-align: left;
}

.bh-app .bh-field input:focus,
.bh-app .bh-field select:focus,
.bh-app .bh-field textarea:focus {
	outline: none;
	border-color: var(--bh-blue);
	box-shadow: 0 0 0 4px rgba(71, 154, 230, .25);
}

.bh-field.has-error input:not([type="radio"]):not([type="checkbox"]),
.bh-field.has-error select,
.bh-field.has-error textarea {
	border-color: var(--bh-err) !important;
}

.bh-err {
	margin: 5px 0 0;
	color: var(--bh-err);
	font-size: 14px;
	font-weight: 700;
}

.bh-err:empty {
	display: none;
}

.bh-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 14px;
}

@media (max-width: 600px) {
	.bh-row {
		grid-template-columns: 1fr;
	}
}

/* ---------- خيارات الباقة ---------- */
.bh-choices {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr;
	padding-top: 14px;
}

@media (min-width: 720px) {
	.bh-choices {
		grid-template-columns: 1fr 1fr;
	}
}

.bh-choice {
	position: relative;
	display: block;
	cursor: pointer;
}

.bh-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bh-choice-card {
	position: relative;
	display: block;
	height: 100%;
	background: #FFFDF7;
	border: 3px solid var(--bh-line);
	border-top: 12px solid var(--c);
	border-radius: 20px;
	padding: 14px 16px 10px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.bh-choice:hover .bh-choice-card {
	transform: translateY(-2px);
}

.bh-choice input:checked + .bh-choice-card {
	border-color: var(--c);
	box-shadow: 0 0 0 4px var(--c), 0 10px 20px rgba(38, 51, 74, .14);
	background: #fff;
}

.bh-choice input:checked + .bh-choice-card::after {
	content: '\2713';
	position: absolute;
	top: -22px;
	left: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bh-navy);
	color: #fff;
	font-weight: 800;
	line-height: 34px;
	text-align: center;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .18);
}

.bh-choice input:focus-visible + .bh-choice-card {
	outline: 3px solid var(--bh-navy);
	outline-offset: 4px;
}

.bh-choice-head {
	display: block;
	margin-bottom: 4px;
}

.bh-choice-head b {
	display: block;
	font-size: 21px;
}

.bh-choice-head i {
	display: block;
	font-style: normal;
	font-weight: 700;
	opacity: .8;
	font-size: 15px;
}

.bh-choice-head .bh-badge {
	margin: 6px 0 0;
	background: var(--c);
	color: var(--ink);
}

.bh-choice-price {
	display: inline-block;
	background: var(--bh-yellow);
	color: var(--bh-navy);
	font-weight: 800;
	border-radius: 999px;
	padding: 1px 14px;
	margin: 4px 0 2px;
	transform: rotate(-2deg);
}

/* ---------- الشارات والاختيارات ---------- */
.bh-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.bh-chip {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.bh-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bh-chip span {
	display: inline-block;
	padding: 8px 18px;
	background: #FFFDF7;
	border: 2px solid var(--bh-line);
	border-radius: 999px;
	font-weight: 700;
	transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.bh-chip:hover span {
	border-color: var(--bh-blue);
}

.bh-chip input:checked + span {
	background: var(--bh-navy);
	border-color: var(--bh-navy);
	color: #fff;
}

.bh-chip input:focus-visible + span {
	outline: 3px solid var(--bh-blue);
	outline-offset: 2px;
}

.bh-chip.is-disabled span {
	opacity: .45;
	cursor: not-allowed;
}

.bh-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-weight: 700;
}

.bh-check input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 4px 0 0;
	accent-color: var(--bh-navy);
}

/* ---------- رفع الصور ---------- */
.bh-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.bh-drop {
	display: block;
	text-align: center;
	padding: 26px 16px;
	background: #FFFDF7;
	border: 3px dashed var(--bh-line);
	border-radius: 22px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.bh-drop:hover,
.bh-drop.is-focus,
.bh-drop.is-over {
	border-color: var(--bh-blue);
	background: #F1F8FF;
}

.bh-drop-icon {
	display: block;
	font-size: 38px;
	line-height: 1.2;
}

.bh-drop-text {
	display: block;
	font-weight: 800;
	font-size: 18px;
}

.bh-drop-sub {
	display: block;
	font-size: 14px;
	opacity: .7;
}

.bh-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 16px 12px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.bh-thumbs li {
	position: relative;
	aspect-ratio: 1 / 1;
	margin: 0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .12), 0 6px 12px rgba(38, 51, 74, .12);
	transform: rotate(var(--r, 0deg));
}

.bh-thumbs li:nth-child(odd) { --r: -2deg; }
.bh-thumbs li:nth-child(even) { --r: 2deg; }

.bh-thumbs img,
.bh-thumbs .bh-ph {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.bh-thumbs .bh-ph {
	display: grid;
	place-items: center;
	font-size: 12px;
	text-align: center;
	background: #EEF5FC;
	padding: 6px;
}

.bh-thumbs button {
	position: absolute;
	top: -9px;
	left: -9px;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: var(--bh-red);
	color: #fff;
	font: 800 18px/30px sans-serif;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}

.bh-thumbs button:focus-visible {
	outline: 3px solid var(--bh-navy);
	outline-offset: 2px;
}

.bh-privacy {
	margin: 10px 0 14px;
	font-size: 14.5px;
	background: #EEF7E0;
	border-radius: 14px;
	padding: 8px 14px;
}

/* ---------- الملخص والإرسال ---------- */
.bh-summary {
	background: #FFFDF7;
	border: 2px dashed var(--bh-line);
	border-radius: 18px;
	padding: 12px 16px;
	margin: 6px 0 16px;
	font-size: 15.5px;
}

.bh-summary h4 {
	margin: 0 0 6px;
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-size: 18px;
}

.bh-summary dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 14px;
	margin: 0;
}

.bh-summary dt {
	font-weight: 800;
}

.bh-summary dd {
	margin: 0;
	word-break: break-word;
}

.bh-form-error {
	background: #FDE9E6;
	border: 2px solid var(--bh-err);
	color: var(--bh-err);
	border-radius: 14px;
	padding: 10px 14px;
	font-weight: 800;
	margin: 6px 0 12px;
}

.bh-progressbar {
	height: 12px;
	background: var(--bh-line);
	border-radius: 12px;
	overflow: hidden;
	margin: 0 0 14px;
}

.bh-progressbar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--bh-green);
	transition: width .2s ease;
}

.bh-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
	padding: 0 4px;
}

.bh-nav .bh-btn {
	min-width: 130px;
}

.bh-nav [data-next],
.bh-nav [data-submit] {
	margin-right: auto;
}

/* مخفي عن البشر، مفخّخ للروبوتات */
.bh-hp {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	clip-path: inset(50%);
	pointer-events: none;
}

/* ---------- نجاح الطلب ---------- */
.bh-success {
	text-align: center;
	background: #fff;
	border-radius: 24px;
	padding: 28px 18px;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .05), 0 10px 22px rgba(38, 51, 74, .08);
	outline: none;
}

.bh-success .bh-labeeb {
	width: 130px;
	margin: 0 auto 8px;
}

.bh-ordernum {
	font-size: 18px;
}

.bh-ordernum b {
	display: inline-block;
	background: var(--bh-yellow);
	padding: 0 14px;
	border-radius: 999px;
	direction: ltr;
}

.bh-success .bh-btn {
	margin-top: 8px;
}

@media (max-width: 480px) {
	.bh-app {
		font-size: 16px;
	}
	.bh-card-page {
		margin: 10px 8px 28px;
		padding: 16px 12px 20px;
		border-radius: 24px;
	}
	.bh-title {
		font-size: 25px;
	}
	.bh-hero .bh-labeeb {
		width: 78px;
	}
	.bh-step {
		padding: 16px 14px 6px;
	}
	.bh-nav .bh-btn {
		flex: 1 1 auto;
	}
}

/* =====================================================================
   الصفحة الكاملة: هيدر، هيرو، أقسام، فوتر
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFF8EB; }

.bh-title,
.bh-step-title,
.bh-pkg-name,
.bh-choice-head b,
.bh-price b,
.bh-summary h4,
.bh-baloo {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-synthesis: none;
}

.bh-app a { color: inherit; }

.bh-skip {
	position: absolute;
	right: 8px;
	top: -60px;
	background: var(--bh-navy);
	color: #fff !important;
	padding: 8px 14px;
	border-radius: 0 0 12px 12px;
	z-index: 50;
}
.bh-skip:focus { top: 0; }

.bh-card-page {
	max-width: 780px;
	margin: 18px auto 44px;
	padding: 22px 18px 26px;
	background: var(--bh-cream);
	border-radius: 30px;
	box-shadow: 0 0 0 6px #fff, 0 14px 34px rgba(38, 51, 74, .14);
}

.bh-site-head {
	max-width: 1040px;
	margin: 0 auto;
	padding: 12px 16px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bh-site-head .bh-logo-link { display: block; line-height: 0; }
.bh-site-head .bh-logo { width: 150px; height: auto; display: block; }

.bh-btn-sm {
	font-size: 15px !important;
	padding: 9px 20px !important;
	box-shadow: 0 4px 0 #B3352A !important;
}

.bh-hero-home {
	position: relative;
	max-width: 1040px;
	margin: 0 auto;
	padding: 18px 16px 50px;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 18px;
}

.bh-kicker {
	display: inline-block;
	background: #fff;
	color: var(--bh-navy);
	font-weight: 800;
	font-size: 14px;
	padding: 2px 14px;
	border-radius: 999px;
	transform: rotate(-2deg);
	box-shadow: 0 2px 0 rgba(38, 51, 74, .15);
	margin-bottom: 10px;
}

.bh-h1 {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-synthesis: none;
	font-size: clamp(36px, 7.2vw, 58px);
	line-height: 1.25;
	margin: 0 0 12px;
	color: var(--bh-navy);
}

.bh-h1 em {
	font-style: normal;
	color: var(--bh-red);
}

.bh-lead {
	font-size: clamp(17px, 2.6vw, 20px);
	margin: 0 0 22px;
	max-width: 30em;
}

.bh-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.bh-hero-art {
	position: relative;
	height: 300px;
	max-width: 340px;
	width: 100%;
	margin: 0 auto;
}

.bh-shape {
	position: absolute;
	border-radius: 50%;
	box-shadow: 0 5px 0 rgba(38, 51, 74, .14);
}

.bh-shape.sun { width: 210px; height: 210px; background: var(--bh-yellow); top: 4px; right: 6px; }
.bh-shape.dot-b { width: 74px; height: 74px; background: var(--bh-blue); top: 8px; left: 18px; }
.bh-shape.dot-p { width: 40px; height: 40px; background: var(--bh-pink); bottom: 64px; left: 8px; }
.bh-shape.hill {
	width: 330px;
	height: 120px;
	background: var(--bh-green);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	box-shadow: 0 -4px 0 rgba(38, 51, 74, .08);
}

.bh-hero-art .bh-labeeb {
	position: absolute;
	z-index: 2;
	width: 230px;
	bottom: 26px;
	left: 50%;
	margin-left: -115px;
}

@media (prefers-reduced-motion: no-preference) {
	.bh-hero-art .bh-labeeb { animation: bh-bob 3.6s ease-in-out infinite; }
}

@media (max-width: 760px) {
	.bh-hero-home { grid-template-columns: 1fr; text-align: center; padding-bottom: 34px; }
	.bh-lead { margin-left: auto; margin-right: auto; }
	.bh-cta-row { justify-content: center; }
	.bh-hero-art { order: -1; height: 250px; max-width: 290px; }
	.bh-hero-art .bh-labeeb { width: 190px; margin-left: -95px; }
	.bh-shape.sun { width: 170px; height: 170px; }
	.bh-shape.hill { width: 280px; height: 96px; }
	.bh-site-head .bh-logo { width: 120px; }
}

.bh-section {
	max-width: 1040px;
	margin: 0 auto;
	padding: 26px 14px 34px;
}

.bh-section-title {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-synthesis: none;
	font-size: clamp(28px, 5vw, 38px);
	text-align: center;
	margin: 0 0 4px;
}

.bh-section-sub {
	text-align: center;
	margin: 0 auto 18px;
	max-width: 32em;
	opacity: .85;
}

.bh-how {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 26px 20px;
	padding-top: 16px;
}

.bh-how-card {
	position: relative;
	isolation: isolate;
	background: #fff;
	border-radius: 24px;
	padding: 34px 18px 18px;
	text-align: center;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .06), 0 12px 22px rgba(38, 51, 74, .10);
}

.bh-how-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 24px;
	background: var(--c);
	opacity: .5;
	transform: translate(-6px, 8px) rotate(-1.2deg);
}

.bh-how-num {
	position: absolute;
	top: -22px;
	right: 50%;
	margin-right: -24px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c);
	color: var(--ink);
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-size: 26px;
	line-height: 50px;
	text-align: center;
	box-shadow: 0 4px 0 rgba(38, 51, 74, .18);
}

.bh-how-card h3 {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-synthesis: none;
	font-size: 22px;
	margin: 0 0 4px;
}

.bh-how-card p { margin: 0; font-size: 16px; }

.bh-trust {
	max-width: 760px;
	margin: 6px auto 0;
	text-align: center;
	background: #EEF7E0;
	border-radius: 18px;
	padding: 10px 16px;
	font-size: 15.5px;
}

.bh-final {
	position: relative;
	max-width: 760px;
	margin: 18px auto 0;
	background: var(--bh-yellow);
	border-radius: 28px;
	padding: 28px 18px 30px;
	text-align: center;
	box-shadow: 0 5px 0 rgba(38, 51, 74, .14);
}

.bh-final .bh-section-title { margin-bottom: 6px; }
.bh-final p { margin: 0 0 16px; }

.bh-foot {
	max-width: 1040px;
	margin: 0 auto;
	padding: 22px 16px 40px;
	text-align: center;
	font-size: 15px;
}

.bh-foot a { font-weight: 800; text-decoration: underline; }
.bh-foot .bh-foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-bottom: 6px; }

.bh-order-top {
	max-width: 780px;
	margin: 0 auto;
	padding: 12px 16px 0;
}

.bh-back {
	display: inline-block;
	font-weight: 800;
	text-decoration: none;
	opacity: .8;
}

.bh-success .bh-cta-row { justify-content: center; margin-top: 10px; }

/* ---------- المعاينة ---------- */
.bh-preview-banner {
	position: fixed;
	right: 10px;
	left: 10px;
	bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	z-index: 100;
	max-width: 560px;
	margin: 0 auto;
	background: var(--bh-navy);
	color: #fff;
	border-radius: 16px;
	padding: 8px 14px;
	font-size: 13.5px;
	line-height: 1.55;
	text-align: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.bh-preview-banner a { color: var(--bh-yellow) !important; font-weight: 800; }
.bh-preview-pad { height: 70px; }

/* ---------- إشعار صغير ---------- */
.bh-toast {
	position: fixed;
	right: 50%;
	transform: translateX(50%);
	bottom: 86px;
	z-index: 120;
	background: var(--bh-navy);
	color: #fff;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 800;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	max-width: calc(100vw - 24px);
	text-align: center;
}
.bh-toast.is-bad { background: var(--bh-err); }

/* =====================================================================
   لوحة الطلبات
   ===================================================================== */
.ad-wrap { max-width: 920px; margin: 0 auto; padding: 12px 12px 90px; }

.ad-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.ad-bar .ad-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ad-bar .ad-brand img { width: 52px; height: auto; }
.ad-bar h1 { font-family: 'BH Baloo', 'Tajawal', sans-serif; font-weight: 800; font-synthesis: none; font-size: 26px; margin: 0; line-height: 1.2; }

.ad-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.ad-tab {
	border: 2px solid var(--bh-line);
	background: #fff;
	color: var(--bh-navy);
	font: 800 15px/1.2 'Tajawal', sans-serif;
	padding: 9px 18px;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
}
.ad-tab.is-on { background: var(--bh-navy); border-color: var(--bh-navy); color: #fff; }

.ad-btn {
	border: 0;
	cursor: pointer;
	background: var(--bh-blue);
	color: #fff !important;
	font: 800 15px/1.2 'Tajawal', sans-serif;
	padding: 10px 18px;
	border-radius: 999px;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .25);
}
.ad-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(38, 51, 74, .25); }
.ad-btn[disabled] { opacity: .6; cursor: wait; }
.ad-btn.red { background: var(--bh-red); }
.ad-btn.green { background: #168A47; }
.ad-btn.navy { background: var(--bh-navy); }
.ad-btn.ghost { background: #fff; color: var(--bh-navy) !important; border: 2px solid var(--bh-line); box-shadow: none; }
.ad-btn.danger { background: #fff; color: var(--bh-err) !important; border: 2px solid var(--bh-err); box-shadow: none; }
.ad-btn.danger.is-armed { background: var(--bh-err); color: #fff !important; }

.ad-card {
	background: #fff;
	border-radius: 20px;
	padding: 14px 16px;
	box-shadow: 0 2px 0 rgba(38, 51, 74, .06), 0 8px 18px rgba(38, 51, 74, .07);
	margin-bottom: 12px;
}

.ad-login { max-width: 420px; margin: 40px auto; text-align: center; }
.ad-login img { width: 130px; margin: 0 auto 6px; display: block; }
.ad-login input {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--bh-line);
	border-radius: 14px;
	font: 500 16px 'Tajawal', sans-serif;
	margin: 10px 0 12px;
	direction: ltr;
	text-align: center;
	background: #FFFDF7;
	color: var(--bh-navy);
}

.ad-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.ad-chip {
	border: 2px solid var(--bh-line);
	background: #fff;
	color: var(--bh-navy);
	font: 700 14px/1.2 'Tajawal', sans-serif;
	padding: 6px 14px;
	border-radius: 999px;
	cursor: pointer;
}
.ad-chip.is-on { background: var(--bh-navy); border-color: var(--bh-navy); color: #fff; }
.ad-chip b { font-weight: 800; margin-right: 4px; }

.ad-search {
	width: 100%;
	padding: 11px 14px;
	border: 2px solid var(--bh-line);
	border-radius: 14px;
	font: 500 16px 'Tajawal', sans-serif;
	background: #fff;
	color: var(--bh-navy);
}

.ad-row {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	position: relative;
}
.ad-row:hover { transform: translateY(-1px); }
.ad-row-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ad-num { font-weight: 800; direction: ltr; unicode-bidi: embed; font-size: 15px; opacity: .75; }
.ad-name { font-family: 'BH Baloo', 'Tajawal', sans-serif; font-size: 21px; line-height: 1.3; margin: 2px 0 0; }
.ad-meta { font-size: 14.5px; opacity: .85; display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; }
.ad-ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

.ad-pill {
	display: inline-block;
	color: #fff;
	font-weight: 800;
	font-size: 12.5px;
	line-height: 1.7;
	padding: 0 12px;
	border-radius: 999px;
	white-space: nowrap;
}

.ad-empty { text-align: center; padding: 30px 10px; opacity: .8; }

.ad-sec { font-family: 'BH Baloo', 'Tajawal', sans-serif; font-weight: 800; font-size: 20px; margin: 16px 0 6px; padding-bottom: 3px; border-bottom: 3px solid var(--bh-blue); }
.ad-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ad-table th, .ad-table td { padding: 7px 8px; border-bottom: 1px solid #eee3cb; vertical-align: top; text-align: right; }
.ad-table th { width: 32%; font-weight: 800; background: #FFFAF0; }
.ad-table td { white-space: pre-wrap; word-break: break-word; }

.ad-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ad-photo { background: #FFFDF7; border: 1px solid #E5DCC6; border-radius: 14px; padding: 8px; text-align: center; }
.ad-photo img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: #F4EFE2; }
.ad-nothumb { height: 150px; display: grid; place-items: center; border-radius: 10px; background: #F4EFE2; font-size: 13px; padding: 6px; }
.ad-photo .ad-btn { margin-top: 6px; font-size: 13px; padding: 6px 12px; }
.ad-photo small { display: block; opacity: .7; margin-top: 4px; }

.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }

.ad-form label { display: block; font-weight: 800; margin: 10px 0 4px; }
.ad-form input[type=text], .ad-form input[type=number], .ad-form select, .ad-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid var(--bh-line);
	border-radius: 12px;
	font: 500 16px/1.5 'Tajawal', sans-serif;
	background: #FFFDF7;
	color: var(--bh-navy);
	-webkit-appearance: none;
	appearance: none;
}
.ad-form textarea { min-height: 80px; resize: vertical; }
.ad-form .ad-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ad-form .ad-check { display: flex; align-items: center; gap: 8px; font-weight: 800; margin: 10px 0; }
.ad-form .ad-check input { width: 20px; height: 20px; accent-color: var(--bh-navy); }
.ad-hint { font-size: 13.5px; opacity: .75; margin: 2px 0 0; font-weight: 500; }

.ad-pkg { border-top: 8px solid var(--c, var(--bh-blue)); }
.ad-meter { height: 12px; border-radius: 12px; background: var(--bh-line); overflow: hidden; margin: 6px 0; }
.ad-meter span { display: block; height: 100%; background: var(--bh-green); }
.ad-flag { display: inline-block; border-radius: 999px; padding: 1px 12px; font-weight: 800; font-size: 13px; }
.ad-flag.ok { background: #E3F2D0; }
.ad-flag.off { background: #F3E3E0; }

@media (max-width: 560px) {
	.ad-form .ad-two { grid-template-columns: 1fr; }
}


/* ---------- ترويسة الموقع: صف الشعار + روابط التنقل ---------- */
.bh-site-head { display: block; }
.bh-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bh-nav-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 2px; }
.bh-nav-chip {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--bh-line);
	color: var(--bh-navy);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none !important;
	box-shadow: 0 2px 0 rgba(38, 51, 74, .08);
}
.bh-nav-chip:hover { border-color: var(--bh-blue); }
.bh-nav-chip:focus-visible, .bh-social:focus-visible { outline: 3px solid var(--bh-blue); outline-offset: 2px; }
.bh-btn-sm.bh-btn-ghost { box-shadow: 0 4px 0 var(--bh-line) !important; color: var(--bh-navy) !important; }

/* ---------- روابط التواصل ---------- */
.bh-social-row, .bh-foot-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bh-social {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--bh-line);
	color: var(--bh-navy);
	font-weight: 800;
	font-size: 15.5px;
	text-decoration: none !important;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .10);
}
.bh-social:hover { border-color: var(--bh-blue); }
.bh-foot .bh-foot-links a { text-decoration: none; }
.bh-foot .bh-foot-links { margin-bottom: 14px; }

/* ---------- من نحن + الفكرة التربوية ---------- */
.bh-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px 22px; }
.bh-about-card {
	position: relative;
	isolation: isolate;
	background: #fff;
	border-radius: 26px;
	padding: 24px 22px 20px;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .06), 0 12px 22px rgba(38, 51, 74, .10);
}
.bh-about-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 26px;
	background: var(--c);
	opacity: .5;
	transform: translate(-6px, 8px) rotate(-1.2deg);
}
.bh-about-title {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-synthesis: none;
	font-size: clamp(26px, 4.6vw, 32px);
	line-height: 1.35;
	margin: 0 0 8px;
}
.bh-about-card p { margin: 0 0 10px; font-size: 17px; line-height: 1.85; }
.bh-about-card p:last-child { margin-bottom: 0; }

/* ---------- خدماتنا ---------- */
.bh-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 18px; padding-top: 14px; }
.bh-svc {
	position: relative;
	isolation: isolate;
	background: #fff;
	border-radius: 22px;
	padding: 22px 18px 18px;
	box-shadow: 0 3px 0 rgba(38, 51, 74, .06), 0 10px 20px rgba(38, 51, 74, .09);
}
.bh-svc::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 22px;
	background: var(--c);
	opacity: .45;
	transform: translate(5px, 7px) rotate(1deg);
}
.bh-svc-dot { position: absolute; top: 16px; left: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 3px 0 rgba(38, 51, 74, .15); }
.bh-svc h3 {
	font-family: 'BH Baloo', 'Tajawal', sans-serif;
	font-weight: 800;
	font-synthesis: none;
	font-size: 22px;
	line-height: 1.35;
	margin: 0 0 6px;
	padding-left: 34px;
}
.bh-svc p { margin: 0; font-size: 16.5px; line-height: 1.75; }
.bh-svc-contact { text-align: center; margin: 26px auto 0; }
.bh-svc-contact p { margin: 0 0 10px; font-weight: 700; }

/* ---------- اختيار الصور: الحقل نفسه فوق منطقة الضغط ---------- */
.bh-dropwrap { position: relative; }
.bh-filecover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 0;
}

/* ---------- لوحة الإدارة: فتح الصورة بحجم كبير ---------- */
.ad-thumbbtn { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
.ad-svc { border-top: 2px dashed var(--bh-line); margin-top: 12px; padding-top: 4px; }
body.ad-lb-open { overflow: hidden; }
.ad-lb {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(20, 28, 44, .97);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 12px 84px;
}
.ad-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; }
.ad-lb-x {
	position: absolute;
	top: calc(12px + env(safe-area-inset-top, 0px));
	left: 14px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--bh-navy);
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}
.ad-lb-bar {
	position: absolute;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}
