/* Beauty Salon theme by Yudi Dev — shared styles. */

/* Global colours and fonts. Change them in Appearance → Customize → Colours & Fonts
   (defaults are the theme.json palette, also used by the block editor and Elementor pages). */
:root {
	--noor-gold: var(--wp--preset--color--gold, #C9A24D);
	--noor-gold-light: var(--wp--preset--color--gold-light, #E2C273);
	--noor-gold-deep: var(--wp--preset--color--gold-deep, #A8842F);
	--noor-black: var(--wp--preset--color--black, #0B0A08);
	--noor-night: var(--wp--preset--color--night, #050504);
	--noor-surface: var(--wp--preset--color--surface, #12100B);
	--noor-ink: var(--wp--preset--color--ink, #16130F);
	--noor-ink-soft: var(--wp--preset--color--ink-soft, #231D13);
	--noor-line: var(--wp--preset--color--line, #2E271C);
	--noor-ivory: var(--wp--preset--color--ivory, #F3EBDD);
	--noor-sand: var(--wp--preset--color--sand, #CDBFA6);
	--noor-muted: var(--wp--preset--color--muted, #B8AC97);
	/* Type scale — every font size on the site uses these. Customize → Typography changes the two multipliers. */
	--noor-heading-scale: 1;
	--noor-text-scale: 1;
	--noor-fw-heading: 500;
	--noor-fs-hero: calc(clamp(40px, 5.4vw, 72px) * var(--noor-heading-scale));
	--noor-fs-display: calc(clamp(44px, 6vw, 76px) * var(--noor-heading-scale));
	--noor-fs-article: calc(clamp(36px, 5vw, 60px) * var(--noor-heading-scale));
	--noor-fs-h2: calc(clamp(34px, 4vw, 52px) * var(--noor-heading-scale));
	--noor-fs-feature: calc(clamp(28px, 3.4vw, 44px) * var(--noor-heading-scale));
	--noor-fs-stat: calc(clamp(40px, 4.4vw, 52px) * var(--noor-heading-scale));
	--noor-fs-number: calc(36px * var(--noor-heading-scale));
	--noor-fs-h3: calc(clamp(22px, 2.2vw, 28px) * var(--noor-heading-scale));
	--noor-fs-title-lg: calc(20px * var(--noor-text-scale));
	--noor-fs-title: calc(18px * var(--noor-text-scale));
	--noor-fs-lead: calc(16px * var(--noor-text-scale));
	--noor-fs-body: calc(15px * var(--noor-text-scale));
	--noor-fs-sm: calc(14px * var(--noor-text-scale));
	--noor-fs-xs: calc(13px * var(--noor-text-scale));
	--noor-fs-label: calc(12px * var(--noor-text-scale));
	--noor-fs-2xs: calc(11px * var(--noor-text-scale));
	--noor-font-body: 'Manrope', 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--noor-font-accent: 'Playfair Display', 'Amiri', Georgia, serif;
}

html { scroll-behavior: smooth; }
/* No sideways swipe on phones: sliders and marquees can never widen the page (clip keeps the sticky menu working). */
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: var(--noor-black); color-scheme: dark; }
section[id] { scroll-margin-top: 96px; }
.noor-inner section[id] { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--noor-gold-light); }
a:hover { color: #F0D68E; }
img { max-width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.noor-root { font-family: var(--noor-font-body); color: var(--noor-ivory); background: var(--noor-black); width: 100%; padding: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 0; }

/* ---------- Home navigation (transparent at top, pill after 250px) ---------- */
.noor-nav { position: sticky; top: 16px; z-index: 20; align-self: center; margin: 12px 0 -92px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 8px 8px 8px 18px; border-radius: 28px; transition: max-width 450ms ease, width 450ms ease, background-color 350ms ease, border-color 350ms ease, box-shadow 350ms ease, backdrop-filter 350ms ease;
	width: calc(100% - 48px); max-width: 1360px; background-color: rgba(8,7,5,0); border: 1px solid rgba(243,235,221,0); box-shadow: none; }
.noor-nav.is-pill { width: calc(100% - 32px); max-width: 1120px; background-color: rgba(8,7,5,0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(243,235,221,0.18); box-shadow: 0 8px 32px rgba(8,7,5,0.2); }
.noor-nav .nav-links { display: flex; align-items: center; gap: 2px; margin-right: 6px; border-radius: 999px; padding: 2px 4px; transition: background-color 350ms ease; background-color: rgba(243,235,221,0.14); }
.noor-nav.is-pill .nav-links { background-color: transparent; }
.admin-bar .noor-nav { top: 48px; }

/* ---------- Inner page navigation (always a fixed pill) ---------- */
.noor-header { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; width: calc(100% - 32px); max-width: 1180px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 8px 8px 8px 18px; background: rgba(8,7,5,0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(243,235,221,0.18); border-radius: 28px; box-shadow: 0 8px 32px rgba(8,7,5,0.22); font-family: var(--noor-font-body); color: var(--noor-ivory); }
.admin-bar .noor-header { top: 48px; }
.noor-header .nav-links a[aria-current="page"] { background: rgba(243,235,221,0.16); font-weight: 600; }

.nav-burger { display: none; }
.nav-burger .icon-close { display: none; }
.nav-burger .icon-menu { display: flex; }
.nav-burger[aria-expanded="true"] .icon-close { display: flex; }
.nav-burger[aria-expanded="true"] .icon-menu { display: none; }
.nav-mobile[hidden] { display: none !important; }
@media (max-width: 480px) { .noor-nav .brand-tag { display: none; } }
@media (max-width: 860px) {
	.noor-nav .nav-links { display: none !important; }
	.noor-nav .nav-burger { display: inline-flex !important; }
}
@media (min-width: 861px) { .noor-nav .nav-mobile { display: none !important; } }
@media (max-width: 899px) {
	.noor-header .nav-links, .noor-header .brand-tag { display: none !important; }
	.noor-header .nav-burger { display: inline-flex !important; }
}
@media (min-width: 900px) { .noor-header .nav-mobile { display: none !important; } }

/* ---------- Hero slider ---------- */
.noor-slide-img, .elementor .noor-slide-img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; object-position: center; transition: opacity 900ms ease; opacity: 0; }
.noor-slide-img.is-active { opacity: 1; }
.noor-hero-go--in { display: none; }
@media (max-width: 767px) {
	.noor-hero-go--out { display: none !important; }
	.noor-hero-cardwrap, .noor-hero-card { width: 100% !important; max-width: none !important; }
	.noor-hero-card { box-sizing: border-box; }
	.noor-hero-card [data-noor-prev] { margin-right: 0; }
	.noor-hero-go--in { display: flex; width: 36px; height: 36px; margin-left: auto; border-radius: 999px; background: var(--noor-gold); color: var(--noor-black); align-items: center; justify-content: center; flex-shrink: 0; }
	.noor-hero-card > div:last-child { flex: 1; }
	.noor-hero-card > div:last-child > div { width: 100%; }
}
.noor-dot span { width: 8px; height: 8px; border-radius: 999px; background: rgba(243,235,221,0.85); }
.noor-dot.is-active span { width: 10px; height: 10px; background: var(--noor-gold); box-shadow: 0 0 0 4px rgba(8,7,5,0.25), 0 0 0 5px var(--noor-ivory); }
.noor-slide-text[hidden] { display: none; }

/* ---------- Pills: service tabs, blog filters ---------- */
.noor-tab { font: inherit; font-size: var(--noor-fs-sm); font-weight: 600; border-radius: 999px; padding: 10px 12px 10px 20px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; background: var(--noor-ink); color: var(--noor-ivory); border: 1px solid var(--noor-line); }
.noor-tab .noor-tab__count { font-size: var(--noor-fs-label); border-radius: 999px; padding: 3px 9px; background: var(--noor-ink-soft); color: var(--noor-gold-light); }
.noor-tab.is-active { background: var(--noor-gold); color: var(--noor-black); border: 1px solid var(--noor-black); }
.noor-tab.is-active .noor-tab__count { background: var(--noor-gold); color: var(--noor-black); }
.noor-panel[hidden] { display: none !important; }

.noor-filter { font: inherit; font-size: var(--noor-fs-sm); font-weight: 600; border-radius: 999px; padding: 11px 20px; min-height: 44px; cursor: pointer; background: var(--noor-ink); color: var(--noor-ivory); border: 1px solid var(--noor-line); }
.noor-filter.is-active { background: var(--noor-gold); color: var(--noor-black); border: 1px solid var(--noor-black); }
.post-card[hidden] { display: none !important; }


/* ---------- Team slider (phones) ---------- */
.team-tdot span { width: 8px; height: 8px; border-radius: 999px; background: #3A3123; transition: width 250ms ease; }
.team-tdot.is-active span { width: 22px; background: var(--noor-gold); }
@media (max-width: 700px) {
	.team-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
	.team-grid::-webkit-scrollbar { display: none; }
	.team-grid > * { flex: 0 0 100% !important; box-sizing: border-box; min-width: 0; scroll-snap-align: start; }
	.team-ctrl { display: flex !important; }
}

/* ---------- Testimonial marquee ---------- */
@keyframes noor-left { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
@keyframes noor-right { from { transform: translateX(calc(-50% - 12px)); } to { transform: translateX(0); } }
.marquee-left { animation: noor-left 60s linear infinite; }
.marquee-right { animation: noor-right 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-img { transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.gallery-grid button:hover .g-img, .gallery-grid button:focus-visible .g-img { transform: scale(1.07); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; } }
.noor-lightbox[hidden] { display: none !important; }

/* ---------- Services page ---------- */
@media (max-width: 900px) {
	.sticky-col { position: static !important; max-width: none !important; }
	.cat-img { aspect-ratio: 16 / 10 !important; }
	.svc-meta { flex-direction: row !important; align-items: center !important; justify-content: space-between; width: 100%; min-width: 0 !important; flex-wrap: wrap; }
}

/* ---------- Journal ---------- */
.post-img { transition: transform 800ms cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-img { transform: scale(1.05); }
.article p { margin: 0; font-size: var(--noor-fs-title); line-height: 1.85; color: #E6DCCB; }
.article h2 { margin: 24px 0 0; font-size: var(--noor-fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--noor-ivory); }
.article h3 { margin: 16px 0 0; font-size: var(--noor-fs-title-lg); font-weight: 700; color: var(--noor-ivory); }
.article ul, .article ol { margin: 0; padding-left: 22px; font-size: var(--noor-fs-title); line-height: 1.85; color: #E6DCCB; }
.article blockquote { margin: 16px 0; padding: 28px 32px; background: var(--noor-ink); border-radius: 22px; font-family: var(--noor-font-accent); font-size: var(--noor-fs-h3); line-height: 1.5; color: var(--noor-gold-light); }
.article blockquote p { font: inherit; color: inherit; }
.article img { height: auto; border-radius: 22px; }
.article > .noor-lead, .article > p:first-child { font-size: var(--noor-fs-title-lg); line-height: 1.7; color: var(--noor-ivory); }

/* ---------- FAQ ---------- */
.faq summary { list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform 300ms ease; }
.faq details[open] .chev { transform: rotate(45deg); }

/* ---------- Elementor ---------- */
/* Elementor makes every element border-box; NOOR sections are designed with the browser default. */
.elementor .noor-sec, .elementor .noor-sec :where(*:not(button, input, select, textarea)), .elementor .noor-sec *::before, .elementor .noor-sec *::after { box-sizing: content-box; }
.elementor .noor-sec :where(button, input[type="button"], input[type="submit"]) { box-sizing: border-box; }
.elementor .noor-sec img { border: none; box-shadow: none; }
[class*="elementor-widget-noor_"] { margin-block-end: 0 !important; }
/* Full-width template: leave room for the fixed menu unless the page opens with a NOOR header. */
.noor-ef { padding-top: 110px; }
.noor-ef:has([data-noor-top]) { padding-top: 0; }
.noor-ef [data-noor-top] { margin-top: 0; }

/* ---------- Forms (Contact Form 7 + built-in fallback) ---------- */
.noor-bk-submit { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: inherit; font-size: var(--noor-fs-body); font-weight: 600; background: var(--noor-gold); color: var(--noor-black); border: 0; border-radius: 999px; padding: 6px 6px 6px 28px; cursor: pointer; box-sizing: border-box; }
.noor-cf7 .wpcf7-form-control-wrap { display: block; min-width: 0; position: relative; }
.noor-cf7 .wpcf7-not-valid-tip { font-size: var(--noor-fs-label); font-weight: 500; color: #E8796A; margin: 6px 0 0 18px; }
.noor-cf7 .wpcf7-spinner { position: absolute; margin: 0; right: 64px; top: 50%; transform: translateY(-50%); background-color: var(--noor-gold); }
.wpcf7 form.noor-cf7 .wpcf7-response-output { margin: 16px 0 0; padding: 14px 20px; border: 0; border-radius: 16px; background: var(--noor-ink-soft); color: var(--noor-black); font-size: var(--noor-fs-sm); line-height: 1.5; }
.wpcf7 form.noor-cf7.invalid .wpcf7-response-output, .wpcf7 form.noor-cf7.failed .wpcf7-response-output, .wpcf7 form.noor-cf7.spam .wpcf7-response-output { background: #2A1714; color: #E8796A; }
.wpcf7 form.noor-cf7.sent .wpcf7-response-output { background: var(--noor-gold); color: var(--noor-black); }

/* Booking — Home */
form.noor-cf7-booking { display: flex; flex-direction: column; gap: 0; position: relative; }
.noor-bk-row { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-bottom: 28px; }
.noor-bk-fields { flex: 1 1 440px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; align-content: start; }
.noor-bk-fields .wpcf7-form-control-wrap[data-name="your-message"] { grid-column: 1 / -1; }
.noor-field { font: inherit; font-size: var(--noor-fs-body); padding: 18px 24px; border: 0; border-radius: 999px; background: #1B1813; color: var(--noor-ivory); width: 100%; box-sizing: border-box; min-width: 0; }
.noor-field--select { appearance: none; -webkit-appearance: none; padding-right: 48px; }
.noor-field--area { border-radius: 24px; resize: vertical; height: auto; }
textarea.noor-field { min-height: 0; }

/* Booking — Contact page */
form.noor-cf7-contact { display: flex; flex-direction: column; gap: 16px; }
.noor-cf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.noor-cf-label { display: flex; flex-direction: column; gap: 6px; font-size: var(--noor-fs-xs); font-weight: 600; }
.noor-input { font: inherit; font-weight: 400; font-size: var(--noor-fs-body); padding: 15px 20px; border: 0; border-radius: 999px; background: var(--noor-ink); color: var(--noor-ivory); width: 100%; box-sizing: border-box; }
.noor-input--date { padding: 14px 20px; }
.noor-input--area { border-radius: 22px; resize: vertical; }
.noor-contact-submit { font: inherit; font-size: var(--noor-fs-body); font-weight: 600; background: var(--noor-gold); color: var(--noor-black); border: 0; border-radius: 999px; padding: 16px; cursor: pointer; width: 100%; }

/* Newsletter */
form.noor-cf7-newsletter { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
form.noor-cf7-newsletter .wpcf7-form-control-wrap { flex: 1 1 240px; }
.noor-nl-input { width: 100%; box-sizing: border-box; min-width: 0; font: inherit; font-size: var(--noor-fs-body); padding: 16px 22px; border: 1px solid rgba(243,235,221,0.3); border-radius: 999px; background: rgba(243,235,221,0.08); color: var(--noor-ivory); }
.noor-newsletter-submit { font: inherit; font-size: var(--noor-fs-body); font-weight: 600; background: var(--noor-gold); color: var(--noor-black); border: 0; border-radius: 999px; padding: 16px 26px; cursor: pointer; }
form.noor-cf7-newsletter .wpcf7-response-output { flex-basis: 100%; }

/* ---------- Maison Noor logo in the navigation ---------- */
@media (max-width: 480px) {
	.noor-nav .noor-logo, .noor-header .noor-logo { height: 40px !important; }
	.noor-nav .noor-book, .noor-header .noor-book { padding: 10px 14px !important; font-size: var(--noor-fs-xs) !important; }
	.noor-nav, .noor-header { padding-left: 14px !important; }
}

/* ---------- Phone: app-style bottom navigation + menu sheet ---------- */
.noor-appbar, .noor-sheet { display: none; }
@media (max-width: 899px) {
	.noor-nav .nav-links, .noor-nav .nav-burger, .noor-nav .noor-book,
	.noor-header .nav-links, .noor-header .nav-burger, .noor-header .noor-book { display: none !important; }
	.noor-nav, .noor-header { justify-content: center !important; }
	.noor-root { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

	.noor-appbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 68px; padding: 0 6px; box-sizing: border-box; font-family: var(--noor-font-body); background: rgba(16,14,11,0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(201,162,77,0.28); border-radius: 26px; box-shadow: 0 12px 36px rgba(0,0,0,0.5); }
	.noor-appbar__tab { position: relative; height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; border: 0; background: transparent; color: #A0947F; font: inherit; font-size: var(--noor-fs-2xs); font-weight: 600; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.noor-appbar__tab.is-current, .noor-appbar__tab[aria-expanded="true"] { color: var(--noor-gold-light); }
	.noor-appbar__tab.is-current::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 999px; background: var(--noor-gold-light); }
	.noor-appbar__book { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 10px; color: var(--noor-gold-light); font-size: var(--noor-fs-2xs); font-weight: 700; text-decoration: none; -webkit-tap-highlight-color: transparent; }
	.noor-appbar__book-circle { width: 58px; height: 58px; margin-top: -26px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--noor-black); background: linear-gradient(145deg, #F0D68E 0%, var(--noor-gold) 55%, var(--noor-gold-deep) 100%); box-shadow: 0 0 0 5px var(--noor-black), 0 10px 24px rgba(201,162,77,0.35); }
	.noor-appbar__book:active .noor-appbar__book-circle, .noor-appbar__tab:active { transform: scale(0.94); }

	.noor-sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 70; font-family: var(--noor-font-body); }
	.noor-sheet__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); animation: noorFade 220ms ease; }
	.noor-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; box-sizing: border-box; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); background: #12100C; border-top: 1px solid rgba(201,162,77,0.35); border-radius: 28px 28px 0 0; color: var(--noor-ivory); animation: noorUp 280ms cubic-bezier(.2,.8,.2,1); }
	.noor-sheet__handle { width: 44px; height: 5px; border-radius: 999px; background: #3A3123; margin: 0 auto 14px; }
	.noor-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
	.noor-sheet__close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #3A3123; background: transparent; color: var(--noor-ivory); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
	.noor-sheet__links { display: flex; flex-direction: column; }
	.noor-sheet__links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--noor-ink-soft); color: var(--noor-ivory); text-decoration: none; font-size: var(--noor-fs-title); font-weight: 500; }
	.noor-sheet__links a svg { color: #6B5F4A; }
	.noor-sheet__links a[aria-current="page"] { color: var(--noor-gold-light); }
	.noor-sheet__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 20px; }
	.noor-sheet__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 999px; border: 1px solid #4A3E2A; color: var(--noor-ivory); text-decoration: none; font-size: var(--noor-fs-body); font-weight: 600; }
	.noor-sheet__btn--gold { background: var(--noor-gold); border-color: var(--noor-gold); color: var(--noor-black); }
	.noor-sheet__hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: var(--noor-fs-xs); color: #A0947F; }
	body.noor-sheet-open { overflow: hidden; }
}
@keyframes noorUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes noorFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .noor-sheet__panel, .noor-sheet__backdrop { animation: none; } }

/* ---------- Elementor pages built from native widgets ---------- */
/* Accent words inside a Heading: <em class="noor-accent">…</em> */
.noor-accent { font-family: var(--noor-font-accent); font-style: normal; font-weight: 400; color: var(--noor-gold); }
.noor-accent--light { color: var(--noor-gold-light); }
.noor-serif .elementor-heading-title { font-family: var(--noor-font-accent); }
.elementor-widget-heading.noor-h .elementor-heading-title { margin: 0; }

/* Small pill labels (Heading widget with class noor-eb) */
.elementor-widget-heading.noor-eb .elementor-heading-title { display: inline-flex; align-items: center; gap: 8px; font-size: var(--noor-fs-label); font-weight: 600; line-height: 1.2; letter-spacing: 0.08em; color: var(--noor-gold-light); border: 1px solid #4A3E2A; border-radius: 999px; padding: 6px 14px; }
.elementor-widget-heading.noor-eb--team .elementor-heading-title { border-color: #5A4B2C; }
.elementor-widget-heading.noor-eb--dark .elementor-heading-title { color: var(--noor-sand); border-color: rgba(201,162,77,0.35); }
.elementor-widget-heading.noor-eb--dark .elementor-heading-title::before, .elementor-widget-heading.noor-eb--pill .elementor-heading-title::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--noor-gold-light); }
.elementor-widget-heading.noor-eb--pill .elementor-heading-title { letter-spacing: 0; border: 0; padding: 7px 14px; background: var(--noor-ink); box-shadow: 0 2px 8px rgba(8,7,5,0.3); }
.elementor-widget-heading.noor-eb--pill .elementor-heading-title::before { background: var(--noor-gold); }

/* Text Editor */
.elementor-widget-text-editor.noor-text p { margin: 0; }
.elementor-widget-text-editor.noor-text p + p { margin-top: 1em; }
.elementor-widget-text-editor.noor-text a { color: var(--noor-gold-light); }

/* Button with a round arrow on the right */
.elementor-widget-button.noor-btn-arrow .elementor-button { display: inline-flex; align-items: center; gap: 16px; }
.elementor-widget-button.noor-btn-arrow .elementor-button::after { content: ""; width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--noor-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 12L12 4M6 4h6v6' stroke='%230B0A08' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Google Maps widget in the dark theme */
.elementor-widget-google_maps.noor-map { border-radius: 28px; overflow: hidden; }
.elementor-widget-google_maps.noor-map iframe { display: block; filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95); }

/* Icon Box cards: keep titles/descriptions tidy */
.elementor-widget-icon-box .elementor-icon-box-description { margin: 0; }
.elementor-widget-icon-box a { text-decoration: none; }

/* Home booking: text on the left, form fields on the right, photo with the button below. */
.noor-bk-grid > .e-con-inner, .noor-bk-grid.e-con-full { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 64px; row-gap: 0; align-items: start; }
.noor-bk-grid .noor-bk-intro { grid-column: 1; grid-row: 1; padding-bottom: 28px !important; }
.noor-bk-grid .elementor-widget-noor_c_booking, .noor-bk-grid .elementor-widget-noor_c_booking > .elementor-widget-container, .noor-bk-grid .noor-sec, .noor-bk-grid .noor-bkf, .noor-bk-grid .noor-bkf .wpcf7, .noor-bk-grid .noor-bkf form, .noor-bk-grid .noor-bkf .noor-bk-row { display: contents; }
.noor-bk-grid .noor-bk-fields { grid-column: 2; grid-row: 1; padding-bottom: 28px; }
.noor-bk-grid .noor-bk-photo { grid-column: 1 / -1; grid-row: 2; }
.noor-bk-grid .noor-bkf form > :not(.noor-bk-row):not(.noor-bk-photo), .noor-bk-grid .noor-bkf .wpcf7 > :not(form) { grid-column: 1 / -1; }
@media (max-width: 1024px) {
	.noor-bk-grid > .e-con-inner, .noor-bk-grid.e-con-full { grid-template-columns: minmax(0, 1fr); }
	.noor-bk-grid .noor-bk-fields { grid-column: 1; grid-row: 2; }
	.noor-bk-grid .noor-bk-photo { grid-row: 3; }
}
@media (min-width: 768px) { .noor-bk-grid .noor-bk-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.noor-comp--team .team-grid, .noor-comp--team .team-ctrl { width: 100%; }

/* ---------- Language switcher (EN | عربي) ---------- */
.noor-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(243,235,221,0.22); border-radius: 999px; font-family: var(--noor-font-body); }
.noor-lang a { min-width: 36px; padding: 8px 10px; border-radius: 999px; color: var(--noor-sand); text-decoration: none; font-size: var(--noor-fs-label); font-weight: 700; letter-spacing: 0.04em; text-align: center; line-height: 1; }
.noor-lang a:hover { color: var(--noor-ivory); }
.noor-lang a.is-current { background: rgba(201,162,77,0.18); color: var(--noor-gold-light); }
.noor-lang--nav { margin-inline-end: 6px; }
.noor-lang--sheet { display: flex; margin-top: 18px; padding: 4px; }
.noor-lang--sheet a { flex: 1; padding: 12px; font-size: var(--noor-fs-sm); }
@media (max-width: 899px) {
	.noor-nav:has(.noor-lang), .noor-header:has(.noor-lang) { justify-content: space-between !important; }
	.noor-nav .noor-lang--nav, .noor-header .noor-lang--nav { margin: 0; background: rgba(8,7,5,0.45); }
}
@media (max-width: 380px) { .noor-nav .noor-lang--nav a, .noor-header .noor-lang--nav a { min-width: 30px; padding: 7px 7px; } }

/* ---------- Arabic: right-to-left layout and fonts ---------- */
[dir="rtl"] body, [dir="rtl"] .noor-root, [dir="rtl"] .noor-root *:not(i):not(svg):not(path):not(.noor-i):not(em):not(.noor-accent):not(.noor-serif *) { font-family: 'IBM Plex Sans Arabic', var(--noor-font-body) !important; letter-spacing: 0 !important; }
[dir="rtl"] em, [dir="rtl"] .noor-accent, [dir="rtl"] .noor-serif .elementor-heading-title, [dir="rtl"] [style*="Playfair"] { font-family: 'Amiri', var(--noor-font-accent) !important; letter-spacing: 0 !important; }
[dir="rtl"] .noor-accent, [dir="rtl"] em { font-weight: 700; }
[dir="rtl"] .elementor-heading-title, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35 !important; }
[dir="rtl"] .noor-dir, [dir="rtl"] .elementor-widget-button.noor-btn-arrow .elementor-button::after { transform: scaleX(-1); }
[dir="rtl"] .noor-shade-x { transform: scaleX(-1); }
[dir="rtl"] .noor-top.e-con::before, [dir="rtl"] .noor-top > .elementor-background-overlay { transform: scaleX(-1); }
[dir="rtl"] .noor-sheet__links a svg { transform: scaleX(-1); }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] a[href*="wa.me"] { unicode-bidi: isolate; direction: ltr; }
[dir="rtl"] .noor-sheet__btn, [dir="rtl"] .noor-lang a { direction: rtl; }
[dir="rtl"] .noor-hero-dots { right: auto !important; left: 28px; }
@media (max-width: 480px) { .noor-nav:has(.noor-lang) .noor-logo, .noor-header:has(.noor-lang) .noor-logo { height: 34px !important; } }

/* Block patterns */
.noor-media-round .wp-block-media-text__media img { border-radius: 24px; }
.wp-block-details summary { cursor: pointer; }

/* ---------- Loading effects ---------- */
.noor-loader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--noor-black); transition: opacity 600ms ease, visibility 600ms ease; }
.noor-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.noor-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; animation: noorLoaderIn 700ms ease both; }
.noor-loader__inner img { animation: noorGlow 1.6s ease-in-out infinite; }
.noor-loader__bar { position: relative; width: 120px; height: 2px; border-radius: 2px; background: var(--noor-line); overflow: hidden; }
.noor-loader__bar span { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--noor-gold-light), transparent); animation: noorBar 1.1s ease-in-out infinite; }
.elementor-editor-active .noor-loader, .elementor-editor-preview .noor-loader { display: none; }
@keyframes noorLoaderIn { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes noorGlow { 0%, 100% { opacity: 0.75; filter: drop-shadow(0 0 0 rgba(226,194,115,0)); } 50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(226,194,115,0.45)); } }
@keyframes noorBar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
[dir="rtl"] .noor-loader__bar span { animation-direction: reverse; }

/* Photos: gold shimmer while loading, then a soft blur fade-in. */
.noor-fx-images img.noor-lazy { background-color: var(--noor-ink); background-image: linear-gradient(100deg, rgba(243,235,221,0) 30%, rgba(226,194,115,0.10) 50%, rgba(243,235,221,0) 70%); background-size: 220% 100%; animation: noorShimmer 1.3s linear infinite; color: transparent; }
.noor-fx-images img.noor-lazy:not(.is-loaded) { filter: blur(14px) saturate(0.6); transform: scale(1.03); }
.noor-fx-images img.noor-lazy.is-loaded { animation: none; background-image: none; filter: none; transform: none; transition: filter 700ms ease, transform 900ms ease, opacity 600ms ease; }
@keyframes noorShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
	.noor-loader__inner, .noor-loader__inner img, .noor-loader__bar span, .noor-fx-images img.noor-lazy { animation: none !important; }
	.noor-fx-images img.noor-lazy:not(.is-loaded) { filter: none; transform: none; }
}
@media (max-width: 359px) { .noor-nav:has(.noor-lang) .noor-logo, .noor-header:has(.noor-lang) .noor-logo { height: 28px !important; } .noor-nav, .noor-header { flex-wrap: nowrap !important; } }

/* ---------- Branches ---------- */
[data-noor-branch-panel][hidden] { display: none !important; }
.noor-branch-switch { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--noor-line); border-radius: 999px; background: var(--noor-black); }
.noor-branch-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--noor-sand); font: inherit; font-size: var(--noor-fs-sm); font-weight: 600; cursor: pointer; }
.noor-branch-switch button:hover { color: var(--noor-ivory); }
.noor-branch-switch button.is-active { background: var(--noor-gold); color: var(--noor-black); }
.noor-branch-switch--services { align-self: flex-start; }
.noor-branch-switch--bar { margin-inline-end: 10px; }
.noor-branch-chip { display: inline-flex; align-items: center; gap: 4px; font-size: var(--noor-fs-2xs); font-weight: 700; letter-spacing: 0.04em; color: var(--noor-gold-light); }
.noor-select-chev { position: absolute; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #A0947F; }
.noor-map-frame iframe { filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95); }
.wpcf7-form-control-wrap[data-name="your-branch"] { position: relative; display: block; }
.wpcf7-form-control-wrap[data-name="your-branch"] select { appearance: none; -webkit-appearance: none; padding-inline-end: 48px; width: 100%; }

/* Branch picker in the header menu */
.noor-branch-pick { position: relative; margin-inline-end: 6px; }
.noor-branch-pick__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(243,235,221,0.22); border-radius: 999px; background: transparent; color: var(--noor-ivory); font: inherit; font-size: var(--noor-fs-xs); font-weight: 600; cursor: pointer; white-space: nowrap; }
.noor-branch-pick__btn svg:first-child { color: var(--noor-gold-light); }
.noor-branch-pick__btn[aria-expanded="true"] { border-color: var(--noor-gold); }
.noor-branch-pick__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; width: 300px; padding: 10px; box-sizing: border-box; background: rgba(12,11,9,0.98); border: 1px solid rgba(201,162,77,0.3); border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 6px; }
.noor-branch-pick__menu[hidden] { display: none; }
.noor-branch-pick__title { padding: 6px 10px 2px; font-size: var(--noor-fs-2xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #A0947F; }
.noor-branch-pick__item { border-radius: 14px; border: 1px solid transparent; }
.noor-branch-pick__item:has(.is-active) { border-color: rgba(201,162,77,0.45); background: rgba(201,162,77,0.08); }
.noor-branch-pick__item button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 10px 12px 4px; border: 0; background: transparent; color: var(--noor-sand); font: inherit; font-size: var(--noor-fs-label); text-align: start; cursor: pointer; }
.noor-branch-pick__item button strong { font-size: var(--noor-fs-body); color: var(--noor-ivory); }
.noor-branch-pick__item button.is-active strong { color: var(--noor-gold-light); }
.noor-branch-pick__item a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 10px; font-size: var(--noor-fs-label); font-weight: 600; color: var(--noor-gold-light); text-decoration: none; }
.noor-sheet__label { margin: 0 0 8px; font-size: var(--noor-fs-2xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #A0947F; }
.noor-branch-switch--sheet { display: flex; width: 100%; box-sizing: border-box; margin-bottom: 8px; }
.noor-branch-switch--sheet button { flex: 1; justify-content: center; }
@media (max-width: 899px) { .noor-nav .noor-branch-pick, .noor-header .noor-branch-pick { display: none; } }

/* Locations menu item */
.noor-branch-pick__btn { border-color: transparent; font-size: var(--noor-fs-sm); font-weight: 500; padding: 12px 14px; }
.noor-branch-pick__btn.is-current { background: rgba(243,235,221,0.16); font-weight: 600; }
.noor-branch-pick__btn:hover { border-color: rgba(243,235,221,0.22); }
.noor-branch-pick__menu { width: 340px; }
a.noor-branch-pick__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid transparent; color: var(--noor-sand); text-decoration: none; font-size: var(--noor-fs-label); line-height: 1.45; }
a.noor-branch-pick__item:hover, a.noor-branch-pick__item.is-active { border-color: rgba(201,162,77,0.45); background: rgba(201,162,77,0.08); }
a.noor-branch-pick__item img { width: 58px; height: 58px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
a.noor-branch-pick__item > span { display: flex; flex-direction: column; gap: 2px; }
a.noor-branch-pick__item strong { font-size: var(--noor-fs-body); color: var(--noor-ivory); }
.noor-sheet__locs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.noor-sheet__locs a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--noor-line); border-radius: 16px; color: var(--noor-ivory); text-decoration: none; }
.noor-sheet__locs a svg { color: var(--noor-gold-light); flex-shrink: 0; }
.noor-sheet__locs a > span { display: flex; flex-direction: column; gap: 2px; font-size: var(--noor-fs-label); color: #A0947F; }
.noor-sheet__locs a strong { font-size: var(--noor-fs-body); color: var(--noor-ivory); }
.noor-sheet__locs a[aria-current="page"] { border-color: var(--noor-gold); }
.noor-sheet__label { margin-top: 16px; }
@media (min-width: 701px) { .noor-branch-page .team-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 270px)) !important; } }

/* Phone: Locations sheet */
@media (max-width: 899px) {
	.noor-sheet__title { font-size: var(--noor-fs-title-lg); font-weight: 700; color: var(--noor-ivory); }
	.noor-loc-cards { display: flex; flex-direction: column; gap: 12px; padding: 6px 0 4px; }
	.noor-loc-card { border: 1px solid var(--noor-line); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 12px; background: var(--noor-ink); }
	.noor-loc-card.is-current { border-color: var(--noor-gold); }
	.noor-loc-card__top { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--noor-sand); }
	.noor-loc-card__top img { width: 84px; height: 84px; flex-shrink: 0; border-radius: 14px; object-fit: cover; }
	.noor-loc-card__top > span { display: flex; flex-direction: column; gap: 5px; font-size: var(--noor-fs-label); line-height: 1.45; }
	.noor-loc-card__top > span > span { display: flex; gap: 6px; align-items: flex-start; }
	.noor-loc-card__top > span > span svg { flex-shrink: 0; margin-top: 2px; color: var(--noor-gold-light); }
	.noor-loc-card__top strong { font-size: var(--noor-fs-title); font-weight: 700; color: var(--noor-ivory); }
	.noor-loc-card__btns { display: grid; grid-template-columns: 1fr 52px 52px; gap: 8px; }
	.noor-loc-card__btns .noor-sheet__btn { padding: 12px; }
}
[dir="rtl"] bdi { unicode-bidi: isolate; }

/* Global heading weight for Elementor headings and blog/page titles */
.elementor-widget-heading.noor-h .elementor-heading-title { font-weight: var(--noor-fw-heading); }
