/* LR Royal V18.7 | 2026-11-28 | additive device compatibility only.
   Keep desktop composition, colours, assets and RTL content unchanged. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,video{max-width:100%}
/* Prevent intrinsic sizing from pushing flex/grid children outside small screens. */
.brand-masthead,.header-offers,.photo-window,.photo-track .header-offer-copy,.menu-group nav,.copy,.salon-detail>div,.detail>div,.booking>*,.booking form>*,.pkg-copy,.film-pair>*{min-width:0}
.booking input,.booking select,.booking textarea{max-width:100%;font-size:16px}
.booking input[type=date],.booking input[type=time]{min-width:0;width:100%;box-sizing:border-box}
/* Safari safe areas: retain normal padding when env() is unavailable. */
.wa-float{max-width:calc(100% - 36px);bottom:18px;bottom:calc(18px + env(safe-area-inset-bottom));right:18px;right:calc(18px + env(safe-area-inset-right))}
/* Native details dropdown remains usable with touch and keyboard. */
.top .lr-languages summary{min-height:36px;display:flex;align-items:center}
.top .lr-language-options a{min-height:44px;display:flex;align-items:center}
/* Solid gold text fallback for engines lacking either clipping implementation. */
@supports not ((background-clip:text) or (-webkit-background-clip:text)){
 .copy h1,html[dir=rtl] .hero .copy h1{background:none;color:#875000;-webkit-text-fill-color:#875000}
}
@media(max-width:780px){
 /* Size the hero to its tallest slide rather than clipping longer text.
    Photo remains above text on narrow screens, as in the approved Arabic layout. */
 html:not([dir=rtl]) .hero{height:auto;display:grid}
 html:not([dir=rtl]) .hero .slide{position:relative;inset:auto;grid-area:1/1;display:flex;flex-direction:column;min-width:0;transform:none}
 html:not([dir=rtl]) .hero .hero-photo{position:relative;inset:auto;order:-1;width:100%;height:clamp(200px,55vw,390px);flex:none;mask-image:linear-gradient(#000 75%,transparent);-webkit-mask-image:linear-gradient(#000 75%,transparent)}
 html:not([dir=rtl]) .hero .copy{width:100%;padding:12px 20px 65px;align-self:center}
 html:not([dir=rtl]) .hero .prev,html:not([dir=rtl]) .hero .next{top:clamp(80px,23vw,175px)}
 .hero .dots{max-width:calc(100% - 16px);gap:4px;justify-content:center;flex-wrap:wrap}
 .hero .copy a,.gold,.outline{max-width:100%;white-space:normal;overflow-wrap:break-word}
 .top .lr-languages summary{min-height:44px}
 .photo-controls button,.promo-bar button{min-width:44px;min-height:44px}
 .salon-detail>div,.detail>div{width:100%}
}
@media(max-width:380px){
 .photo-track .header-offer-copy strong.feature-title{font-size:22px}
 .photo-track .header-offer-copy{overflow-wrap:break-word}
 .hero .dots button{min-width:22px;min-height:22px}
 .salon-grid,.cards{gap:8px}
 .salon-tile strong{padding:8px;overflow-wrap:break-word}
 .pkg-copy{padding:12px}
}
/* Keep controls visible in short landscape viewports without changing desktop. */
@media(max-height:480px) and (orientation:landscape) and (max-width:1000px){
 .wa-float{padding:8px 12px}
}
