/* Compact app-style carousel on the original translucent Hero Polish canvas. */
.sba-immersive-gallery {
 --ig-ink:#352a25; --ig-paper:rgba(255,250,242,.92); --ig-line:rgba(111,76,44,.2);
 --ig-glow:rgba(236,210,166,.34); --ig-card-width:clamp(224px,25vw,270px);
 position:relative; isolation:isolate; width:min(1320px,calc(100% - 40px)); max-width:100%;
 margin:36px auto 48px; padding:30px 0 24px; color:var(--ig-ink); background:rgba(255,251,245,.65);
 border:1px solid var(--ig-line); border-radius:4px 36px 4px 4px;
 box-shadow:0 24px 70px rgba(73,42,27,.06); overflow:hidden;
}
.sba-immersive-gallery[data-light="rose"] { --ig-glow:rgba(225,158,156,.35); --ig-paper:rgba(255,244,239,.94); }
.sba-immersive-gallery[data-light="gold"] { --ig-glow:rgba(232,188,101,.45); --ig-paper:rgba(255,246,226,.94); }
.sba-immersive-gallery::before { content:""; position:absolute; z-index:-1; inset:0; pointer-events:none; background:radial-gradient(ellipse at 65% 35%,var(--ig-glow),transparent 65%),linear-gradient(160deg,rgba(255,255,255,.5),transparent); }
.sba-immersive-heading { padding:0 34px; display:flex; gap:20px; align-items:flex-end; justify-content:space-between; }
.sba-immersive-heading .eyebrow { margin:0 0 8px; color:#705640; font-size:10px; letter-spacing:.18em; }
.sba-immersive-gallery .sba-immersive-heading h2 { margin:0; font-family:var(--sba-font-heading,"Cormorant Garamond",Georgia,serif); font-size:clamp(28px,3.3vw,40px)!important; font-weight:400; line-height:1.15!important; color:var(--ig-ink); }
.sba-immersive-hint { margin:0 0 4px; flex-shrink:0; font-size:11px; letter-spacing:.04em; color:#705e50; }
.sba-immersive-track {
 display:flex; align-items:stretch; gap:18px; direction:ltr; overflow-x:auto; overflow-y:hidden;
 scroll-snap-type:x mandatory; scroll-padding-inline:calc((100% - var(--ig-card-width))/2);
 padding:44px max(16px,calc((100% - var(--ig-card-width))/2)) 48px;
 scrollbar-width:none; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch;
 position:relative; touch-action:pan-x pan-y; cursor:grab;
}
.sba-immersive-track::-webkit-scrollbar { display:none; }
.sba-immersive-track.is-dragging,.sba-immersive-track.is-animating { scroll-snap-type:none; }
.sba-immersive-track.is-dragging { cursor:grabbing; user-select:none; }
.sba-immersive-gallery .sba-immersive-card {
 --ig-yaw:0deg; --ig-roll:0deg; --ig-scale:1; --ig-lift:0px; --ig-shift:0px; --ig-tilt-x:0deg; --ig-tilt-y:0deg;
 display:flex; flex-direction:column; position:relative; flex:0 0 var(--ig-card-width); min-width:0;
 scroll-snap-align:center; color:var(--ig-ink); text-decoration:none; border:1px solid rgba(164,128,91,.28);
 background:var(--ig-paper); border-radius:30px; box-shadow:0 15px 25px -10px rgba(78,48,28,.25),inset 0 1px rgba(255,255,255,.9);
 transform:perspective(1000px) translateX(var(--ig-shift)) translateY(var(--ig-lift)) rotateY(calc(var(--ig-yaw) + var(--ig-tilt-y))) rotateZ(var(--ig-roll)) rotateX(var(--ig-tilt-x)) scale(var(--ig-scale));
 transform-origin:50% 50%; overflow:hidden; -webkit-user-drag:none;
 transition:background .35s,box-shadow .35s;
}
.sba-immersive-card.is-current { box-shadow:0 22px 34px -14px rgba(78,48,28,.36),inset 0 1px rgba(255,255,255,.95); }
.sba-immersive-photo { display:block; aspect-ratio:1.12; margin:8px 8px 0; border-radius:23px; overflow:hidden; position:relative; background:#e9dece; }
.sba-immersive-photo img { display:block; height:100%; width:100%; object-fit:cover; -webkit-user-drag:none; pointer-events:none; }
.sba-immersive-card:first-child .sba-immersive-photo img { object-position:50% 27%; }
.sba-immersive-photo::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(135deg,rgba(255,255,255,.24),transparent 38%,rgba(78,45,20,.07)); }
.sba-immersive-caption { display:block; padding:16px 20px 20px; }
.sba-immersive-number { position:absolute; top:18px; inset-inline-end:18px; display:grid; place-items:center; width:29px; height:29px; border:1px solid rgba(255,255,255,.75); border-radius:10px; background:rgba(255,250,243,.85); color:#594332; font-size:10px; }
.sba-immersive-caption > span:last-child { min-width:0; }
.sba-immersive-caption small { display:block; color:#75614f; font-size:9px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:7px; }
.sba-immersive-caption strong { display:block; font-family:"Cormorant Garamond",Georgia,serif; font-size:25px; font-weight:400; line-height:1.1; overflow-wrap:anywhere; }
.sba-immersive-explore { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:10px; letter-spacing:.025em; margin-top:16px; }
.sba-immersive-explore svg { width:17px; height:17px; flex:none; }
.sba-immersive-card[dir="rtl"] .sba-immersive-explore svg { transform:scaleX(-1); }
.sba-immersive-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 24px; padding:0 34px; }
.sba-immersive-controls[hidden] { display:none; }
.sba-immersive-paging,.sba-immersive-settings,.sba-immersive-lights { display:flex; align-items:center; gap:9px; }
.sba-immersive-paging > span { width:60px; text-align:center; font-size:11px; font-variant-numeric:tabular-nums; letter-spacing:.08em; }
.sba-immersive-gallery button { font:inherit; font-size:11px; line-height:1.3; min-height:44px; border:1px solid #cbb79f; border-radius:24px; background:rgba(255,255,255,.5); color:#49382b; padding:10px 14px; cursor:pointer; }
.sba-immersive-paging button { min-width:44px; font-size:19px; padding:8px; }
.sba-immersive-gallery button[aria-pressed="true"] { background:#574130; border-color:#574130; color:#fffaf2; }
.sba-immersive-gallery button:disabled { opacity:.45; cursor:default; }
.sba-immersive-gallery :focus-visible { outline:3px solid #805c35; outline-offset:4px; }
.sba-immersive-card:focus-visible { outline-offset:-5px; }
.sba-immersive-track:focus-visible { outline-offset:-5px; }
.services-hero-content > .sba-immersive-gallery { width:100%; margin-top:36px; text-align:start; }
.sba-immersive-gallery [dir="rtl"] { letter-spacing:normal; }
/* The opening sweep runs once on entry, and is cancelled by user interaction. */
body:not(.sba-immersive-still) .sba-immersive-gallery.is-entering .sba-immersive-card { animation:sba-card-arrival .88s cubic-bezier(.16,1,.3,1) var(--ig-delay,0ms) both; }
@keyframes sba-card-arrival { from { opacity:.25; translate:42px 25px; } to { opacity:1; translate:0 0; } }
/* Only the baseline's uncustomized hero receives entrance motion. */
body.sba-design-hero.sba-immersive-ready:not(.sba-immersive-still) .home-hero-content { animation:sba-immersive-arrive 1.1s cubic-bezier(.16,1,.3,1) both; }
body.sba-design-hero.sba-immersive-ready:not(.sba-immersive-still) .editorial-hero-portrait { animation:sba-immersive-portrait 1.35s cubic-bezier(.16,1,.3,1) both; }
body.sba-design-hero .home-hero { position:relative; }
.sba-immersive-aura { position:absolute; inset:-5% -2%; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at var(--ig-pointer-x,65%) var(--ig-pointer-y,42%),rgba(220,178,113,.3),transparent 60%); opacity:.8; }
@keyframes sba-immersive-arrive { from { opacity:.25; transform:perspective(1300px) translateY(35px) rotateY(5deg); } to { opacity:1; transform:none; } }
@keyframes sba-immersive-portrait { from { opacity:.25; transform:perspective(1300px) translateY(44px) rotateY(-9deg) scale(.96); } to { opacity:1; transform:none; } }
body.sba-immersive-still .sba-immersive-card { transform:none; translate:none; transition:none; animation:none; }
body.sba-immersive-still .sba-immersive-aura { display:none; }
@media (max-width:700px) {
 .sba-immersive-gallery { --ig-card-width:clamp(166px,54vw,220px); width:calc(100% - 24px); padding:24px 0 20px; margin:24px auto 34px; border-radius:3px 26px 3px 3px; }
 .sba-immersive-heading { padding:0 20px; display:block; }
 .sba-immersive-gallery .sba-immersive-heading h2 { font-size:29px!important; }
 .sba-immersive-gallery[dir="rtl"] .sba-immersive-heading h2 { font-size:27px!important; line-height:1.4!important; }
 .sba-immersive-hint { margin-top:10px; font-size:10px; }
 .sba-immersive-track { gap:11px; padding-block:36px 42px; }
 .sba-immersive-gallery .sba-immersive-card { border-radius:26px; }
 .sba-immersive-photo { margin:6px 6px 0; border-radius:20px; }
 .sba-immersive-caption { padding:13px 15px 17px; }
 .sba-immersive-caption strong { font-size:22px; }
 .sba-immersive-caption small { font-size:8px; letter-spacing:.06em; }
 .sba-immersive-explore { font-size:9px; margin-top:13px; }
 .sba-immersive-number { top:15px; inset-inline-end:15px; width:26px; height:26px; border-radius:9px; font-size:9px; }
 .sba-immersive-controls { padding:0 16px; justify-content:center; gap:10px; }
 .sba-immersive-settings { flex-wrap:wrap; justify-content:center; gap:6px; }
 .sba-immersive-gallery button { padding:10px 12px; }
 .services-hero-content > .sba-immersive-gallery { width:calc(100% + 32px); max-width:none; margin-inline:-16px; }
}
@media (prefers-reduced-motion:reduce) {
 .sba-immersive-gallery *,body.sba-design-hero.sba-immersive-ready .home-hero-content,body.sba-design-hero.sba-immersive-ready .editorial-hero-portrait { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .sba-immersive-card { transform:none!important; translate:none!important; }
 .sba-immersive-aura { display:none!important; }
}

/* Staging.4: refined native surfaces only. Saved Studio canvases and explicit
   Pro layout/image edits keep ownership through the existing design flags. */
body.sba-design-hero .home-page .editorial-portrait-field > img {
 -webkit-mask-image:linear-gradient(to bottom,#000 70%,rgba(0,0,0,.75) 80%,transparent 94%);
 mask-image:linear-gradient(to bottom,#000 70%,rgba(0,0,0,.75) 80%,transparent 94%);
}
body.sba-design-hero .home-page .editorial-hero-portrait figcaption {
 z-index:2; margin-top:-50px; padding:30px 18px 18px; border-radius:28px;
 border-color:rgba(255,255,255,.54); border-top-color:transparent;
 background:linear-gradient(to bottom,rgba(255,253,249,0),rgba(255,253,249,.84) 36%,rgba(255,253,249,.9));
 box-shadow:0 12px 32px -24px rgba(74,47,34,.28);
}
/* Approved landscape treatment photographs retain their composition. Round
   PMU, waxing and makeup artwork stays contained in the compact frame. */
body.sba-design-native.sba-detail-defaults .services-page .sba-immersive-photo { aspect-ratio:3/2; background:linear-gradient(145deg,#f7eee2,#ede2d4); }
body.sba-design-native.sba-detail-defaults .services-page .sba-immersive-photo img { object-fit:cover; object-position:center; }
body.sba-design-native.sba-detail-defaults .services-page .sba-immersive-card:is(:nth-child(1),:nth-child(4),:nth-child(5)) .sba-immersive-photo img { object-fit:contain; object-position:center; padding:5px; }
body.sba-design-native.sba-detail-defaults .services-page .sba-immersive-gallery { padding-top:24px; margin-top:24px; margin-bottom:20px; }
body.sba-design-native.sba-detail-defaults .services-page .sba-immersive-track { padding-block:35px 40px; }
body.sba-design-native.sba-detail-defaults .services-page .service-editorial {
 width:min(1120px,calc(100% - 40px)); max-width:1120px;
 grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); align-items:center;
 gap:clamp(24px,4vw,48px); margin-bottom:24px; padding:30px clamp(24px,3vw,40px);
 border-radius:26px; box-shadow:0 14px 40px -30px rgba(74,47,34,.25);
}
body.sba-design-native.sba-detail-defaults .services-page .service-copy { min-width:0; padding:0; border:0; background:transparent; box-shadow:none; }
body.sba-design-native.sba-detail-defaults .services-page .service-copy h2 { font-size:clamp(30px,3.3vw,44px)!important; line-height:1.16!important; margin:12px 0 18px; }
body.sba-design-native.sba-detail-defaults .services-page .service-copy > p:not(.eyebrow) { font-size:14px; line-height:1.75; }
body.sba-design-native.sba-detail-defaults .services-page .service-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr)); gap:8px 14px; margin:20px 0; }
body.sba-design-native.sba-detail-defaults .services-page .service-list li { margin:0; padding:0; padding-inline-start:16px; min-width:0; gap:6px; font-size:13px; line-height:1.5; }
body.sba-design-native.sba-detail-defaults .services-page .service-copy > .button { width:fit-content; max-width:100%; min-height:44px; padding:12px 18px; font-size:14px!important; line-height:1.5!important; white-space:normal; text-align:center; }
body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel { width:100%; max-width:320px; margin:0 auto; }
body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel .amina-portrait-media { aspect-ratio:1; border-radius:24px; background:rgba(248,239,228,.65); }
body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel .amina-portrait-media img { width:100%; height:100%; object-fit:contain; padding:10px; }
body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel .amina-portrait-identity { padding:12px 10px 0; }
body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel .amina-signature { font-size:44px; line-height:1.1; }
body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel .amina-portrait-identity small { font-size:11px; line-height:1.5; }
body.sba-design-native.sba-detail-defaults .services-page .service-design-panel.editorial-treatment-panel {
 width:100%; max-width:360px; height:auto; min-height:0; margin-inline:auto;
 border:1px solid rgba(177,142,113,.2); border-radius:24px; padding:7px;
 background:rgba(255,251,245,.74); box-shadow:0 16px 34px -22px rgba(78,48,28,.27);
 transform:none; transform-style:flat; transition:transform .35s ease,box-shadow .35s ease;
}
/* Reset the HTML height attribute: it previously kept a 733/800px-tall image
   even on a phone, despite the narrow CSS width. */
body.sba-design-native.sba-detail-defaults .services-page .editorial-treatment-image { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:18px; }
body.sba-design-native.sba-detail-defaults .services-page .editorial-treatment-panel .design-panel-copy { padding:14px 12px 12px; background:transparent; }
body.sba-design-native.sba-detail-defaults .services-page .design-panel-copy strong { font-size:27px; line-height:1.15; margin:4px 0; }
body.sba-design-native.sba-detail-defaults .services-page .design-panel-copy small,
body.sba-design-native.sba-detail-defaults .services-page .design-panel-copy span { font-size:10px; line-height:1.5; letter-spacing:.08em; }
body.sba-design-native.sba-detail-defaults .services-page .service-category-grid { width:min(1120px,calc(100% - 40px)); padding:0; margin:0 auto 24px; gap:20px; background:transparent; }
body.sba-design-native.sba-detail-defaults .services-page .category-card { min-width:0; padding:26px; border-radius:24px; border:1px solid var(--sba-design-line); box-shadow:0 14px 34px -28px rgba(74,47,34,.25); }
body.sba-design-native.sba-detail-defaults .services-page .category-card-icon { width:76px; height:76px; object-fit:contain; }
body.sba-design-native.sba-detail-defaults .services-page .category-card h2 { font-size:32px!important; line-height:1.2!important; }
body.sba-design-native.sba-detail-defaults .services-page .category-card > p:not(.eyebrow),
body.sba-design-native.sba-detail-defaults .services-page .category-card li { font-size:14px; line-height:1.65; }
body.sba-design-native.sba-detail-defaults .services-page :is(.service-editorial,.category-card) { scroll-margin-top:140px; }
/* The original policy link and stacking positions stay intact; only its surface
   becomes a small glass control, visually related to the music player. */
body.sba-design-native .booking-policy-float {
 min-height:46px; max-width:calc(100vw - 24px); padding:7px 14px 7px 8px;
 color:#543746; font-size:12px; line-height:1.4; font-weight:600;
 background:rgba(255,248,250,.74)!important; border:1px solid rgba(185,143,161,.48)!important;
 border-radius:24px!important; box-shadow:0 8px 30px rgba(92,45,75,.14),inset 0 1px rgba(255,255,255,.9)!important;
 -webkit-backdrop-filter:blur(16px) saturate(1.12); backdrop-filter:blur(16px) saturate(1.12);
 transition:transform .25s ease,box-shadow .25s ease;
}
body.sba-design-native .booking-policy-float-icon { width:30px; height:30px; border-radius:50%; background:rgba(138,64,88,.12); border:1px solid rgba(138,64,88,.18); color:#8a4058; box-shadow:inset 0 1px rgba(255,255,255,.7); }
body.sba-design-native.locale-ar .booking-policy-float { padding:7px 8px 7px 14px; letter-spacing:0; }
body.sba-design-native .booking-policy-float:focus-visible { outline:3px solid #8a4058; outline-offset:4px; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 body.sba-design-native.sba-detail-defaults:not(.sba-immersive-still) .services-page .editorial-treatment-panel:hover { transform:perspective(1000px) translateY(-4px) rotateY(-1.5deg); box-shadow:0 22px 42px -24px rgba(78,48,28,.33); }
 body.sba-design-native.sba-detail-defaults:not(.sba-immersive-still) .services-page .editorial-treatment-panel::after { display:block; inset:0; z-index:1; border-radius:inherit; background:linear-gradient(115deg,transparent 24%,rgba(255,255,255,.32) 48%,transparent 68%); transform:translateX(-120%); transition:transform .8s ease; pointer-events:none; }
 body.sba-design-native.sba-detail-defaults:not(.sba-immersive-still) .services-page .editorial-treatment-panel:hover::after { transform:translateX(120%); }
 body.sba-design-native:not(.sba-immersive-still) .booking-policy-float:hover { transform:translateY(-2px); }
}
@media (max-width:700px) {
 body.sba-design-hero .home-page .editorial-hero-portrait figcaption { margin-top:-40px; padding:24px 12px 16px; border-radius:22px; }
 body.sba-design-native.sba-detail-defaults .services-page .service-editorial,
 body.sba-design-native.sba-detail-defaults .services-page .service-editorial.reverse { width:calc(100% - 24px); grid-template-columns:1fr; gap:24px; padding:24px 20px; margin-bottom:18px; border-radius:22px; }
 body.sba-design-native.sba-detail-defaults .services-page .service-copy h2 { font-size:32px!important; line-height:1.15!important; }
 body.sba-design-native.sba-detail-defaults .services-page .pmu-portrait-panel { max-width:238px; }
 body.sba-design-native.sba-detail-defaults .services-page .service-design-panel.editorial-treatment-panel { max-width:330px; }
 body.sba-design-native.sba-detail-defaults .services-page .service-category-grid { width:calc(100% - 24px); gap:18px; }
 body.sba-design-native.sba-detail-defaults .services-page .category-card { padding:24px 20px; border-radius:22px; }
 body.sba-design-native.sba-detail-defaults .services-page .sba-immersive-track { padding-block:32px 38px; }
}
@media (prefers-reduced-motion:reduce) {
 body.sba-design-native.sba-detail-defaults .services-page .editorial-treatment-panel,
 body.sba-design-native .booking-policy-float { transform:none!important; transition:none!important; }
 body.sba-design-native.sba-detail-defaults .services-page .editorial-treatment-panel::after { display:none!important; }
}
body.sba-immersive-still.sba-design-native.sba-detail-defaults .services-page .editorial-treatment-panel,
body.sba-immersive-still.sba-design-native .booking-policy-float { transform:none; transition:none; }
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
 body.sba-design-native .booking-policy-float { background:#fff8fa!important; border-color:#8a4058!important; backdrop-filter:none; }
 body.sba-design-hero .home-page .editorial-hero-portrait figcaption { background:#fffdf9; }
}
@media (forced-colors:active) {
 body.sba-design-native .booking-policy-float { color:LinkText; background:Canvas!important; border-color:ButtonText!important; box-shadow:none!important; backdrop-filter:none; }
 body.sba-design-native .booking-policy-float-icon { color:LinkText; background:Canvas; border-color:ButtonText; }
 body.sba-design-hero .home-page .editorial-portrait-field > img { mask-image:none; -webkit-mask-image:none; }
 body.sba-design-hero .home-page .editorial-hero-portrait figcaption { background:Canvas; }
}
/* Arabic headings retain room for joining forms and diacritics. */
body.sba-design-native.sba-detail-defaults.locale-ar .services-page :is(.service-copy h2,.category-card h2) { line-height:1.4!important; letter-spacing:normal; }

/* Approved first portrait: place the unedited PNG at the bottom of its frame
   and fade its own pixels into the nameplate, not the empty letterbox below it. */
body.sba-approved-preview.sba-design-hero .home-page .editorial-portrait-field { display:flex; align-items:flex-end; justify-content:center; }
body.sba-approved-preview.sba-design-hero .home-page .editorial-portrait-field > img { display:block; width:100%; height:auto; max-width:100%; max-height:none; object-fit:contain; flex:none; -webkit-mask-image:linear-gradient(to bottom,#000 52%,rgba(0,0,0,.92) 64%,rgba(0,0,0,.4) 80%,transparent 96%); mask-image:linear-gradient(to bottom,#000 52%,rgba(0,0,0,.92) 64%,rgba(0,0,0,.4) 80%,transparent 96%); }
@media (forced-colors:active) { body.sba-approved-preview.sba-design-hero .home-page .editorial-portrait-field > img { mask-image:none; -webkit-mask-image:none; } }
