/* ==========================================================
   أحلام سعيدة — تنسيقات القالب  v1.1
   ========================================================== */

:root {
	--ah-font: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
	--ah-ink: #0B1B3F;
	--ah-muted: #4A5878;
	--ah-brand: #12B6F1;
	--ah-brand-hover: #0FA5DC;
	--ah-brand-text: #0877A3;
	--ah-on-brand: #FFFFFF;
	--ah-tint: #E3F6FD;
	--ah-teal: #0E7C88;
	--ah-bg: #F3F7FF;
	--ah-line: #DCE5F5;
	--ah-wa: #128C4B;
	--ah-radius: 20px;
	--ah-shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 8px 24px rgba(11, 27, 63, .06);
	--ah-gutter: clamp(16px, 4vw, 32px);
	--ah-tabbar: 0px;
}

/* ---------- One font, everywhere ---------- */
html body,
body :where(h1, h2, h3, h4, h5, h6, p, a, span, li, label, summary, button, input, select, textarea, th, td, strong, small, .wp-element-button, .wp-block-button__link) {
	font-family: var(--ah-font) !important;
	letter-spacing: 0 !important;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
:where(.wp-site-blocks :focus-visible) { outline: 2px solid var(--ah-teal); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Header ---------- */
.ahlam-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .ahlam-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ahlam-site-header { top: 46px; } }
.ahlam-header {
	padding: 8px var(--ah-gutter) !important;
	border-bottom: 1px solid var(--ah-line);
	background: rgba(255, 255, 255, .94) !important;
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
}
.ahlam-header-row { min-height: 52px; gap: 16px; }
.ahlam-brand { gap: 10px; }
.ahlam-logo img { border-radius: 12px; }
.ahlam-site-title { margin: 0; line-height: 1.4; }
.ahlam-site-title a { color: var(--ah-ink); text-decoration: none; }
.ahlam-nav { display: none; gap: 4px; }
.ahlam-nav a {
	padding: 10px 14px; border-radius: 10px; color: var(--ah-ink); text-decoration: none;
	font-weight: 600; font-size: .95rem; transition: background .2s ease, color .2s ease;
}
.ahlam-nav a:hover { background: var(--ah-tint); color: var(--ah-brand-text); }
.ahlam-header-actions { gap: 4px; }
.ahlam-header .ahlam-header-cta { display: none !important; }
.ahlam-header-cta .wp-block-button__link { padding: .6rem 1.2rem; border-radius: 12px; }
.ahlam-header .wc-block-mini-cart__button,
.ahlam-header .wc-block-customer-account__link {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px; color: var(--ah-ink); padding: 0;
}
.ahlam-header .wc-block-mini-cart__button:hover,
.ahlam-header .wc-block-customer-account__link:hover { background: var(--ah-bg); }
@media (min-width: 960px) {
	.ahlam-nav { display: flex; }
	.ahlam-header .ahlam-header-cta { display: flex !important; margin-inline-start: 6px; }
}

/* ---------- Mobile tab bar ---------- */
.ahlam-tabbar { display: none; }
@media (max-width: 959px) {
	:root { --ah-tabbar: 68px; }
	body { padding-bottom: calc(var(--ah-tabbar) + env(safe-area-inset-bottom)); }
	.ahlam-tabbar {
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
		position: fixed; inset: auto 0 0 0; z-index: 60;
		height: calc(var(--ah-tabbar) + env(safe-area-inset-bottom));
		padding: 6px 6px env(safe-area-inset-bottom);
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--ah-line);
		box-shadow: 0 -6px 20px rgba(11, 27, 63, .06);
		backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	}
	.ahlam-tabbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		color: var(--ah-muted); text-decoration: none; font-size: .75rem; font-weight: 600;
		border-radius: 12px; min-height: 52px; line-height: 1.3; text-align: center;
	}
	.ahlam-tabbar a:hover, .ahlam-tabbar a:focus-visible { color: var(--ah-brand-text); background: var(--ah-tint); }
	.ahlam-tabbar a.is-primary { color: var(--ah-brand-text); }
	.ahlam-tabbar a.is-primary svg {
		width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 50%;
		background: var(--ah-brand); color: var(--ah-on-brand); margin-top: -18px; box-shadow: 0 6px 16px rgba(18, 182, 241, .45);
	}
	/* Keep floating chat buttons above the bar. */
	.ht-ctc, .ht_ctc_chat_style, #ht-ctc-chat { bottom: calc(var(--ah-tabbar) + 14px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Hero ---------- */
.ahlam-hero {
	position: relative; overflow: hidden; color: #fff;
	padding: clamp(36px, 7vw, 80px) var(--ah-gutter) clamp(48px, 8vw, 96px) !important;
}
.ahlam-hero::before,
.ahlam-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; opacity: .35; }
.ahlam-hero::before { width: 460px; height: 460px; top: -200px; left: -160px; background: radial-gradient(circle, #2FE3F0 0%, transparent 65%); }
.ahlam-hero::after { width: 380px; height: 380px; bottom: -220px; right: -120px; background: radial-gradient(circle, #6EA8FF 0%, transparent 65%); }
.ahlam-hero-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ahlam-hero-title { margin: 0 0 16px !important; line-height: 1.4 !important; font-weight: 700 !important; }
.ahlam-hero-text { color: rgba(255, 255, 255, .93); line-height: 2.05; margin: 0; font-size: 1.0625rem; }
.ahlam-hero-buttons { margin-top: 28px !important; gap: 10px; justify-content: center; width: 100%; }
.ahlam-hero-buttons .wp-block-button { flex: 1 1 160px; max-width: 240px; }
.ahlam-hero-buttons .wp-block-button__link { width: 100%; font-size: 1.05rem; font-weight: 700; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ahlam-btn-light .wp-block-button__link { background: var(--ah-brand); color: var(--ah-on-brand); box-shadow: 0 10px 24px rgba(3, 18, 70, .28); transition: transform .2s ease, background .2s ease; }
.ahlam-btn-light .wp-block-button__link:hover { background: #3CC6F5; color: var(--ah-on-brand); transform: translateY(-2px); }
.ahlam-btn-ghost .wp-block-button__link { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.ahlam-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Services picker ---------- */
.ahlam-services { padding: clamp(28px, 6vw, 56px) var(--ah-gutter) !important; scroll-margin-top: 80px; }
.ahlam-home .ahlam-services { margin-top: -36px !important; position: relative; z-index: 2; padding-top: 0 !important; }
.ahlam-picker {
	background: #fff; border: 1px solid var(--ah-line); border-radius: 26px;
	padding: 14px; box-shadow: 0 18px 50px rgba(11, 27, 63, .10);
}
.ahlam-picker-tabs {
	display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6px;
	padding: 6px; background: var(--ah-bg); border-radius: 18px;
}
.ahlam-picker .ahlam-picker-tab {
	width: 100%; margin: 0; box-sizing: border-box;
	appearance: none; border: 0; background: transparent; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 86px; padding: 10px 6px; border-radius: 14px;
	color: var(--ah-muted); font-size: .9rem; font-weight: 600; line-height: 1.5; text-align: center;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ahlam-picker-tab-icon {
	width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: #fff; color: var(--ah-brand-text); transition: background .2s ease, color .2s ease;
}
.ahlam-picker-tab:hover { color: var(--ah-ink); }
.ahlam-picker-tab[aria-selected="true"] { background: #fff; color: var(--ah-ink); box-shadow: 0 4px 14px rgba(11, 27, 63, .08); }
.ahlam-picker-tab[aria-selected="true"] .ahlam-picker-tab-icon { background: var(--ah-brand); color: var(--ah-on-brand); }
.ahlam-picker-panel[hidden] { display: none !important; }
.ahlam-picker-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 2px 2px; }
.ahlam-picker:not(.is-enhanced) .ahlam-picker-panel + .ahlam-picker-panel { border-top: 1px solid var(--ah-line); }
@media (min-width: 640px) { .ahlam-picker-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ahlam-picker { padding: 18px; } }
.ahlam-offer {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "media body" "cta cta";
	gap: 12px 14px; align-items: center; padding: 14px; border-radius: 18px;
	border: 1.5px solid var(--ah-line); background: #fff; color: var(--ah-ink); text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ahlam-offer:hover { border-color: var(--ah-brand); box-shadow: 0 10px 26px rgba(18, 182, 241, .18); transform: translateY(-2px); color: var(--ah-ink); }
.ahlam-offer-media { grid-area: media; }
.ahlam-offer-media img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; display: block; }
.ahlam-offer-body { grid-area: body; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ahlam-offer-name { font-weight: 600; font-size: 1rem; line-height: 1.6; }
.ahlam-offer-price { font-weight: 700; font-size: 1.15rem; color: var(--ah-brand-text); }
.ahlam-offer-price del { color: var(--ah-muted); font-weight: 400; font-size: .9rem; }
.ahlam-offer-cta {
	grid-area: cta; display: flex; align-items: center; justify-content: center; min-height: 50px;
	border-radius: 14px; background: var(--ah-brand); color: var(--ah-on-brand); font-weight: 700; font-size: 1rem;
	transition: background .2s ease;
}
.ahlam-offer:hover .ahlam-offer-cta { background: var(--ah-brand-hover); }

/* ---------- Shared sections ---------- */
.ahlam-section { padding-left: var(--ah-gutter) !important; padding-right: var(--ah-gutter) !important; }
.ahlam-wa-card,
.ahlam-about-card {
	background: #fff; border: 1px solid var(--ah-line); border-radius: 24px;
	padding: clamp(22px, 5vw, 36px); box-shadow: var(--ah-shadow);
}
.ahlam-wa-card { position: relative; overflow: hidden; }
.ahlam-wa-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #12B6F1, #0B6FC0); }
.ahlam-wa-title { margin: 0 !important; font-weight: 700 !important; }
.ahlam-wa-text { color: var(--ah-muted); line-height: 2.05; }
.ahlam-wa-number {
	display: inline-block; direction: ltr; unicode-bidi: isolate; margin-top: .5rem;
	padding: .3rem .9rem; border-radius: 999px; background: var(--ah-bg);
	color: var(--ah-ink); font-weight: 700;
}
.ahlam-btn-wa .wp-block-button__link { background: var(--ah-brand); color: var(--ah-on-brand); min-width: 200px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ahlam-btn-wa .wp-block-button__link:hover { background: var(--ah-brand-hover); color: var(--ah-on-brand); }
.ahlam-btn-wa .wp-block-button__link::before {
	content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.2-4.2A8.5 8.5 0 1 1 20 11.5z'/%3E%3Cpath d='M9 9.5c0 2.6 2.4 5 5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.2-4.2A8.5 8.5 0 1 1 20 11.5z'/%3E%3Cpath d='M9 9.5c0 2.6 2.4 5 5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ahlam-about-card { gap: 20px 24px !important; }
.ahlam-about-photo { margin: 0 !important; flex: none; }
.ahlam-about-photo img { border-radius: 50%; box-shadow: 0 0 0 4px var(--ah-tint), 0 0 0 6px var(--ah-brand); }
.ahlam-about-body { flex: 1 1 280px; }
.ahlam-about-body h2 { margin: 0 0 .5rem !important; }
.ahlam-about-body p { margin: 0; color: var(--ah-muted); line-height: 2.05; }
@media (max-width: 600px) {
	.ahlam-about-card { text-align: center; }
	.ahlam-about-body h2 { font-size: 1.2rem !important; }
	.ahlam-wa-title { font-size: 1.25rem !important; }
}

/* ---------- FAQ (original content) ---------- */
:root { interpolate-size: allow-keywords; }
.ahlam-faq, .ahlam-legal { direction: rtl; }
.ahlam-faq { counter-reset: ahlam-q; }
.ahlam-faq-title {
	font-size: var(--wp--preset--font-size--x-large); font-weight: 700; text-align: center;
	margin: 0 0 1.5rem; line-height: 1.5;
}
.ahlam-faq-title::before {
	content: ""; display: block; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px;
	background: var(--ah-tint) center / 26px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230877A3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.4 7.6L4 21l1.4-4.4A8.5 8.5 0 1 1 21 12z'/%3E%3Cpath d='M10 9.5a2.2 2.2 0 1 1 3 2c-.6.3-1 .8-1 1.5v.3'/%3E%3Cpath d='M12 16.2v.1'/%3E%3C/svg%3E");
}
.ahlam-faq-item {
	counter-increment: ahlam-q;
	background: #fff; border: 1.5px solid var(--ah-line); border-radius: 20px;
	margin: 0 0 12px; overflow: hidden;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.ahlam-faq-item:hover { border-color: #B9E6F9; }
.ahlam-faq-item[open] { border-color: var(--ah-brand); box-shadow: 0 12px 32px rgba(18, 182, 241, .14); }
.ahlam-faq-item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
	min-height: 64px; padding: 14px 16px; color: var(--ah-ink);
	font-weight: 600; font-size: 1.02rem; line-height: 1.7;
}
.ahlam-faq-item summary::-webkit-details-marker { display: none; }
.ahlam-faq-item summary::before {
	content: counter(ahlam-q, decimal-leading-zero);
	flex: none; width: 40px; height: 40px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ah-tint); color: var(--ah-brand-text); font-size: .9rem; font-weight: 700;
	transition: background .25s ease, color .25s ease;
}
.ahlam-faq-item summary::after {
	content: ""; flex: none; margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%;
	background: var(--ah-bg) center / 16px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	transition: transform .3s ease, background-color .25s ease;
}
.ahlam-faq-item[open] summary::before { background: var(--ah-brand); color: var(--ah-on-brand); }
.ahlam-faq-item[open] summary::after { transform: rotate(180deg); background-color: var(--ah-tint); }
.ahlam-faq-item summary:focus-visible { outline: 2px solid var(--ah-brand); outline-offset: -2px; border-radius: 20px; }
.ahlam-faq-item::details-content {
	block-size: 0; overflow: hidden;
	transition: block-size .35s ease, content-visibility .35s allow-discrete;
}
.ahlam-faq-item[open]::details-content { block-size: auto; }
.ahlam-faq-answer {
	margin: 0 16px 18px; padding: 16px 18px; border-radius: 14px;
	background: var(--ah-bg); color: #33415F; font-size: 1rem; line-height: 2.05;
}
.ahlam-faq-answer p { margin: 0 0 .8rem; }
.ahlam-faq-answer p:last-child { margin-bottom: 0; }
.ahlam-faq-note {
	display: flex; gap: 12px; align-items: flex-start;
	margin-top: 20px; padding: 16px 18px; border-radius: 18px;
	background: #FFF8E6; border: 1px solid #F3DFA8; color: #5C4710; line-height: 2; font-size: .95rem;
}
.ahlam-faq-note::before {
	content: ""; flex: none; width: 26px; height: 26px; margin-top: 4px;
	background: center / contain no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A16207' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.1'/%3E%3C/svg%3E");
}
@media (min-width: 782px) {
	.ahlam-faq-item summary { padding: 16px 22px; font-size: 1.06rem; }
	.ahlam-faq-answer { margin: 0 22px 22px; margin-inline-start: 76px; }
}

/* ---------- Policies (original content) ---------- */
.ahlam-legal details {
	background: #fff; border: 1.5px solid var(--ah-line); border-radius: 18px;
	margin: 0 0 10px; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease;
}
.ahlam-legal details[open] { border-color: var(--ah-brand); box-shadow: 0 10px 28px rgba(18, 182, 241, .12); }
.ahlam-legal summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
	min-height: 58px; padding: 14px 16px; font-weight: 600; font-size: 1rem; line-height: 1.7; color: var(--ah-ink);
}
.ahlam-legal summary::-webkit-details-marker { display: none; }
.ahlam-legal summary::after {
	content: ""; flex: none; margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%;
	background: var(--ah-bg) center / 15px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	transition: transform .3s ease;
}
.ahlam-legal details[open] summary::after { transform: rotate(180deg); background-color: var(--ah-tint); }
.ahlam-legal details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.ahlam-legal details[open]::details-content { block-size: auto; }
.ahlam-legal .ahlam-content { padding: 4px 18px 22px; border-top: 1px solid var(--ah-line); color: var(--ah-muted); font-size: .95rem; line-height: 2.05; }
.ahlam-legal .ahlam-content h2 { font-size: 1rem; font-weight: 700; color: var(--ah-ink); margin: 1.25rem 0 .35rem; line-height: 1.7; }
.ahlam-legal .ahlam-content p { margin: 0 0 .6rem; }
.ahlam-legal .ahlam-note, .ahlam-legal .ahlam-message, .ahlam-legal .ahlam-approval {
	margin: .9rem 0; padding: 14px 16px; border-radius: 14px; background: var(--ah-bg);
	border: 1px solid var(--ah-line); color: var(--ah-ink); line-height: 2;
}
.ahlam-legal .ahlam-message { background: var(--ah-tint); }
.ahlam-legal a { overflow-wrap: anywhere; color: var(--ah-brand-text); }

/* ---------- Footers (original content) ---------- */
.ahlam-contact { scroll-margin-top: 80px; }
.ahlam-footer, .ahlam-footer * { box-sizing: border-box; }
.ahlam-footer { text-shadow: 0 1px 2px rgba(4, 40, 90, .25); direction: rtl; width: 100%; margin: 0; color: #fff; background: linear-gradient(135deg, #12B6F1 0%, #0E92E3 50%, #0A5FCF 100%); }
.ahlam-footer-inner { max-width: 900px; margin: 0 auto; padding: 48px 20px 26px; text-align: center; }
.ahlam-footer-description { max-width: 620px; margin: 0 auto 26px; color: #fff; font-weight: 500; font-size: .95rem; line-height: 2.1; }
.ahlam-footer-contact-title { margin: 0 0 12px; font-size: 1rem; font-weight: 700; }
.ahlam-footer-contact { display: flex; justify-content: center; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 24px; color: rgba(255, 255, 255, .8); }
.ahlam-footer-contact a { color: #fff; text-decoration: none; font-size: .925rem; min-height: 44px; display: inline-flex; align-items: center; }
.ahlam-footer-contact a:hover { color: #fff; text-decoration: underline; }
.ahlam-social { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 28px; }
.ahlam-social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); color: #fff; transition: transform .2s ease, background .2s ease; }
.ahlam-social a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .22); }
.ahlam-social svg { width: 20px; height: 20px; fill: currentColor; }
.ahlam-footer-line { height: 1px; width: 100%; background: rgba(255, 255, 255, .35); margin: 0 0 16px; }
.ahlam-footer-copyright { margin: 0; color: rgba(255, 255, 255, .92); font-size: .85rem; }
@media (max-width: 480px) { .ahlam-footer-contact > span { display: none; } .ahlam-footer-contact { flex-direction: column; gap: 0; } }

/* ---------- Product page ---------- */
.ahlam-product { padding: 18px var(--ah-gutter) 48px !important; }
.ahlam-product .wc-block-breadcrumbs, .ahlam-product .woocommerce-breadcrumb { color: var(--ah-muted); margin-bottom: 12px; }
.ahlam-product-card { background: #fff; border: 1px solid var(--ah-line); border-radius: 24px; padding: clamp(18px, 4vw, 30px); box-shadow: var(--ah-shadow); }
.ahlam-product-head { gap: 16px !important; align-items: center; }
.ahlam-product-image { flex: none; width: 84px !important; margin: 0 !important; }
.ahlam-product-image .woocommerce-product-gallery { width: 84px !important; margin: 0 !important; float: none !important; }
.ahlam-product-image img { width: 84px !important; height: 84px !important; border-radius: 20px; object-fit: cover; }
.ahlam-product-image .woocommerce-product-gallery__trigger, .ahlam-product-image .flex-control-nav { display: none !important; }
.ahlam-product-title { font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important; font-weight: 700 !important; line-height: 1.55 !important; margin: 0 !important; }
.ahlam-product-price, .ahlam-product-price .wc-block-components-product-price { font-size: 1.4rem !important; font-weight: 700; color: var(--ah-brand-text); margin-top: 4px !important; }
.ahlam-product-excerpt { color: var(--ah-muted); }
.ahlam-product-form { margin-top: 18px !important; }
.ahlam-product form.cart { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.ahlam-product form.cart .quantity { display: none; }
.ahlam-product form.cart .single_add_to_cart_button {
	width: 100%; min-height: 56px; border-radius: 14px !important; font-size: 1.1rem !important; font-weight: 700; margin: 0 !important;
}
.ahlam-product-details { margin-top: 24px !important; background: #fff; border: 1px solid var(--ah-line); border-radius: 24px; padding: clamp(18px, 4vw, 28px); }
.ahlam-product-details .wc-tabs, .ahlam-product-details ul.tabs { display: flex; gap: 6px; padding: 0 !important; margin: 0 0 12px !important; border: 0 !important; list-style: none; }
.ahlam-product-details .wc-tabs li { border: 0 !important; background: var(--ah-bg) !important; border-radius: 10px !important; margin: 0 !important; padding: 0 !important; }
.ahlam-product-details .wc-tabs li::before, .ahlam-product-details .wc-tabs li::after { display: none !important; }
.ahlam-product-details .wc-tabs li a { display: block; padding: 8px 14px !important; font-weight: 600; color: var(--ah-ink) !important; }
.ahlam-product-details .wc-tabs li.active { background: var(--ah-tint) !important; }
.ahlam-product-details .woocommerce-Tabs-panel { color: var(--ah-muted); line-height: 2; }
.ahlam-product-details .woocommerce-Tabs-panel > h2:first-child { display: none; }
.ahlam-product-more { margin-top: 36px !important; }
.ahlam-product-more h2 { margin-bottom: 14px !important; font-weight: 700 !important; }

/* Advanced Product Fields */
.wapf-field-container { margin-bottom: 14px; }
.wapf-field-label label { font-weight: 600; color: var(--ah-ink); font-size: 1rem; }
.wapf-field-label abbr.required { color: #C2410C; text-decoration: none; margin-inline-start: 2px; }
.wapf-field-description { color: var(--ah-muted); font-size: .9rem; margin: 2px 0 8px; line-height: 1.8; }
.wapf-input,
.wapf-field-input :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select) {
	width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px;
	border: 1.5px solid #C5D2EC; border-radius: 14px; background: #fff;
	font-size: 1rem; color: var(--ah-ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.wapf-field-input textarea { min-height: 150px; line-height: 1.9; resize: vertical; }
.wapf-input:focus, .wapf-field-input :is(input, textarea, select):focus { outline: none; border-color: var(--ah-brand); box-shadow: 0 0 0 4px rgba(18, 182, 241, .22); }
.wapf-product-totals { display: none !important; }

/* ---------- Cart / checkout / account ---------- */
.woocommerce-checkout main, .woocommerce-cart main, .woocommerce-account main { padding-inline: var(--ah-gutter); }
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select__select,
.wc-block-components-combobox .components-combobox-control__input { border-radius: 12px !important; border-color: #C5D2EC !important; min-height: 52px; }
.wc-block-components-text-input.is-active input:focus,
.wc-block-components-textarea:focus { box-shadow: 0 0 0 3px rgba(18, 182, 241, .22) !important; border-color: var(--ah-brand) !important; }
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button { min-height: 56px; border-radius: 14px !important; font-weight: 700; font-size: 1.05rem; }
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title { font-weight: 700; }
.wc-block-components-radio-control__option { border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
.ahlam-product-details :is(input[type="text"], input[type="email"], textarea) { width: 100%; max-width: 100%; box-sizing: border-box; border: 1.5px solid #C5D2EC; border-radius: 12px; padding: 10px 12px; }
.ahlam-faq-item summary:focus:not(:focus-visible),
.ahlam-legal summary:focus:not(:focus-visible) { outline: none; }
.ahlam-legal summary:focus-visible { outline: 2px solid var(--ah-brand); outline-offset: -2px; border-radius: 18px; }
