/* Arabian Studio v26: Mobile Figma fidelity for Gallery and three legal pages.
   Scoped to requested slugs; no service-page selectors changed. */
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) {
  --legal-ink:#211c17;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero {
  isolation:isolate;background-color:#302923;position:relative;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero::before {
 content:"";position:absolute;z-index:0;inset:0;background:rgba(26,19,15,.40);pointer-events:none;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero-layer {
 position:absolute;inset:0;width:100%;height:100%;z-index:-1;border-radius:0;aspect-ratio:auto;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero-layer img {
 width:100%!important;height:100%!important;left:0!important;top:0!important;object-fit:cover!important;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero .hero-inner {
 position:relative;z-index:1;display:flex;align-items:center;justify-content:center;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero h1 {
 color:#fff;line-height:1.2;text-align:center;font-weight:600;
}
.page-privacy-policy .legal-hero-layer img{object-position:center 45%;}
.page-gallery .legal-hero-layer img{object-position:center 52%;}
.page-cancellation-refund-policy .legal-hero-layer img,.page-terms-and-conditions .legal-hero-layer img{object-position:center 63%;}
/* Correctly structured content and consistent Figma typography. */
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy {
 background:#fff;
}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack {
 padding:0!important;
}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy p {
 overflow-wrap:normal;word-break:normal;
}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .legal-bullets {
 margin:0;padding-left:1.35em;list-style:disc;
}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .legal-bullets li {padding-left:.1em;}
.page-gallery main>.repair-section .section-heading {
 text-align:center;align-items:center;justify-content:center;
}
.page-gallery main>.repair-section .section-heading h2 {margin:0 auto;text-align:center;}
.page-gallery main>.repair-section .gallery-grid {gap:20px;}
.page-gallery main>.repair-section .gallery-grid .gallery-button .original-image{border-radius:9px;}
/* CTA rendered once on desktop and as two Figma-style actions on mobile. */
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta {
 isolation:isolate;
}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-mobile-actions {display:none;}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-desktop-actions {display:flex;}
@media(min-width:901px){
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero .hero-inner{min-height:clamp(330px,26.04vw,500px);}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero h1{font-size:clamp(40px,3.75vw,72px)!important;}
 .page-gallery main>.repair-section{padding-top:60px;padding-bottom:100px;}
 .page-gallery main>.repair-section .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
 .page-gallery main>.repair-section .gallery-grid .original-image{aspect-ratio:560/596!important;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack{gap:clamp(28px,3vw,58px)!important;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack>.content-stack{gap:12px!important;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .legal-bullets{font-size:clamp(17px,1.25vw,24px);line-height:1.5;}
}
@media(max-width:900px){
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .site-header .header-inner {min-height:52px;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero .hero-inner{
    min-height:250px!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;
 }
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero h1{font-size:24px!important;line-height:1.22!important;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero-layer img {object-fit:cover!important;}
 .page-gallery .legal-hero-layer img{object-position:52% center!important;}
 .page-privacy-policy .legal-hero-layer img{object-position:49% 33%!important;}
 .page-cancellation-refund-policy .legal-hero-layer img,.page-terms-and-conditions .legal-hero-layer img{object-position:50% 55%!important;}
 .page-gallery main>.repair-section{padding:24px 0 36px!important;background:#fff;}
 .page-gallery main>.repair-section>.container{width:calc(100% - 40px);max-width:450px;}
 .page-gallery main>.repair-section .section-heading{margin:0 auto 20px;}
 .page-gallery main>.repair-section .section-heading h2{font-size:24px!important;line-height:1.25;max-width:100%;}
 .page-gallery main>.repair-section .gallery-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;}
 .page-gallery main>.repair-section .gallery-button{border-radius:7px;}
 .page-gallery main>.repair-section .gallery-button .original-image{aspect-ratio:404/429.97!important;border-radius:7px;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy{
   padding:22px 0 35px!important;background:#fff!important;
 }
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy>.container{
   width:calc(100% - 40px);max-width:800px;
 }
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack{gap:20px!important;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack>.content-stack{gap:7px!important;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .design-text:not(h1,h2,h3){font-size:12px!important;line-height:1.48!important;font-weight:400;}
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy h2,
 body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy h3 {font-size:17px!important;line-height:1.27!important;}
 .page-privacy-policy .policy-copy>div>.content-stack>h2:first-of-type {font-size:21px!important;}
 .page-privacy-policy .policy-copy .legal-bullets{font-size:12px!important;line-height:1.42!important;padding-left:19px;}
 .page-privacy-policy .policy-copy .legal-bullets li {margin:1px 0;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta {
   min-height:350px;padding:48px 0 44px!important;display:flex;align-items:center;text-align:left;
 }
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .container {
   width:calc(100% - 40px);align-items:flex-start;text-align:left;gap:17px;
 }
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .eyebrow{font-size:12px!important;color:#fff;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta h2{font-size:25px!important;line-height:1.25!important;margin:0;max-width:360px;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .container>p:not(.eyebrow){font-size:12px!important;line-height:1.48!important;margin:0;max-width:400px;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-desktop-actions {display:none!important;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-mobile-actions {
   display:flex!important;flex-wrap:nowrap;gap:10px;margin-top:18px;width:100%;justify-content:flex-start;
 }
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-mobile-actions .button{
    font-size:13px!important;min-height:43px;padding:8px 11px;line-height:1.25;border-radius:4px;gap:7px;white-space:nowrap;
 }
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-packages-link{background:#c88a3d;color:#fff;text-decoration:none;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-whatsapp {background:#14af38!important;border-color:#14af38!important;color:#fff!important;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-whatsapp-mark{font-size:17px;line-height:1;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .source-footer .footer-grid {grid-template-columns:1fr;gap:26px;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .source-footer .footer-brand .brand{width:252px!important;max-width:100%;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .source-footer .footer-social-icons{display:flex;align-items:center;gap:13px;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .source-footer .footer-grid h2{font-size:24px!important;line-height:1.25;}
}
@media(max-width:0.5px) /* v38: was max-width:395px) - disabled, page is scaled below 444px */{
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-mobile-actions{gap:6px;}
 body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-mobile-actions .button{font-size:11px!important;padding:8px 7px;}
}

@media(max-width:900px){body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero-layer{display:block!important;}}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta{background-image:linear-gradient(90deg,rgba(20,13,7,.35),rgba(20,13,7,.12)),url(../../assets/legal-cta-v26.webp)!important;background-position:center!important;background-size:cover!important;}

/* Reference mobile legal artboards use compressed document typography. */
@media(max-width:900px){
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .design-text:not(h1,h2,h3){font-size:7.2px!important;line-height:1.3!important;}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy h2,
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy h3{font-size:13px!important;line-height:1.25!important;}
.page-privacy-policy .policy-copy>div>.content-stack>h2:first-of-type{font-size:15px!important;}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack {gap:14px!important;}
body:is(.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .policy-copy .content-stack>.content-stack {gap:5px!important;}
.page-privacy-policy .policy-copy .legal-bullets{font-size:7.2px!important;line-height:1.32!important;padding-left:14px;}
.page-privacy-policy .policy-copy .legal-bullets li{margin:0;}
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-cta .legal-whatsapp-mark .design-mask{width:20px!important;display:block;}
}

/* Keep the single image layer visible at desktop as well as mobile. */
body:is(.page-gallery,.page-cancellation-refund-policy,.page-privacy-policy,.page-terms-and-conditions) .legal-hero-layer{display:block!important;}
@media(max-width:900px){
.page-privacy-policy .legal-hero-layer img{transform:translateX(5%) scale(1.6);transform-origin:50% 50%;}
}

/* Frame the supplied portrait so the subject's face, not torso, remains in the banner. */
.page-privacy-policy .legal-hero-layer img{object-position:center 12%!important;transform:none!important;}
@media(max-width:900px){.page-privacy-policy .legal-hero-layer img{object-position:center 19%!important;transform:none!important;}}
