/* Arabic/RTL faithful responsive layout for PawPark 2027.
 * Explicitly scoped to html[lang="ar"][dir="rtl"]. The approved English
 * design, all Firebase calls, form schemas and original imagery are unchanged.
 */
html[lang="ar"][dir="rtl"] body{
  font-family:Cairo,Tahoma,Arial,sans-serif;
}
html[lang="ar"][dir="rtl"] .top-inner{
  direction:rtl;
  justify-content:space-between;
}
html[lang="ar"][dir="rtl"] .top .topnav{
  order:1;
  flex-direction:row!important;
  margin:0;
  flex:0 1 auto;
}
html[lang="ar"][dir="rtl"] .top .brand{
  order:2;
  flex:0 0 auto;
  margin:0!important;
}
html[lang="ar"][dir="rtl"] .top .official-pawapp-logo{
  width:47px!important;
  height:47px!important;
  min-width:47px!important;
  background:var(--cream)!important;
  border-radius:9px;
  padding:4px;
}
/* Hero: same Canva composition as English, mirrored to read from the right. */
html[lang="ar"][dir="rtl"] .hero .hero-layout{direction:rtl}
html[lang="ar"][dir="rtl"] .hero-copy{
  text-align:right;
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .hero h1{
  left:auto!important;
  right:5.62%;
  width:55%;
  text-align:right;
  line-height:1.15!important;
  font-size:clamp(45px,5.2vw,71px)!important;
}
html[lang="ar"][dir="rtl"] .hero .sub{
  left:auto;
  right:20.43%;
  text-align:right;
  line-height:1.5;
  font-size:24px;
}
html[lang="ar"][dir="rtl"] .hero .eyebrow{
  left:auto;
  right:13.86%;
  text-align:right;
  letter-spacing:0;
  font-size:14px;
}
html[lang="ar"][dir="rtl"] .hero .event-line,
html[lang="ar"][dir="rtl"] .hero .event-line:nth-of-type(3){
  left:auto;
  right:12.37%;
  direction:rtl;
  text-align:right;
  font-size:clamp(20px,2vw,26px);
  line-height:1.5;
  max-width:55%;
  display:flex;
  justify-content:flex-start;
}
html[lang="ar"][dir="rtl"] .hero-actions{
  left:auto;
  right:15.27%;
}
html[lang="ar"][dir="rtl"] .hero-img{
  left:auto!important;
  right:61%!important;
  direction:ltr;
}
html[lang="ar"][dir="rtl"] .hero-img::before{
  left:auto;
  right:-22px;
}
/* Zones: keep the highlighted first word and the blue background together. */
html[lang="ar"][dir="rtl"] .zones .title-band{
  text-align:right;
  direction:rtl;
  padding:88px 44px 0 0;
  line-height:1.35;
}
html[lang="ar"][dir="rtl"] .zones .title-band::before{display:none!important}
html[lang="ar"][dir="rtl"] .zones .title-band .band{
  display:inline-block!important;
  position:relative;
  isolation:isolate;
  background:transparent!important;
  color:var(--cream);
  padding:0!important;
  border-radius:0;
  vertical-align:middle;
}
html[lang="ar"][dir="rtl"] .zones .title-band .band::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-4px;
  bottom:-4px;
  right:-700px;
  left:-20px;
  background:var(--blue);
  border-radius:999px 0 0 999px;
  pointer-events:none;
}
html[lang="ar"][dir="rtl"] .zones .title-band>span:last-child{
  display:inline-block;
  vertical-align:middle;
  margin-inline-start:34px;
  color:var(--blue);
}
html[lang="ar"][dir="rtl"] .zone-grid{direction:rtl}
html[lang="ar"][dir="rtl"] .zone h3{
  text-align:center;
  padding:0!important;
}
/* Booking: beige only behind "احجز", photographs opposite the form on desktop. */
html[lang="ar"][dir="rtl"] .booking-title{
  direction:rtl;
  text-align:right;
}
html[lang="ar"][dir="rtl"] .booking-title::before{display:none!important}
html[lang="ar"][dir="rtl"] .booking .booking-title .heading{
  left:auto!important;
  right:22%;
  text-align:right;
  direction:rtl;
  max-width:76%;
  line-height:1.3!important;
  font-size:clamp(45px,5.2vw,70px)!important;
}
html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword{
  display:inline-block;
  position:relative;
  isolation:isolate;
  background:transparent!important;
}
html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-5px;
  bottom:-4px;
  right:-500px;
  left:-19px;
  border-radius:999px 0 0 999px;
  background:var(--beige);
  pointer-events:none;
}
html[lang="ar"][dir="rtl"] .booking-title .book-title-rest{
  display:inline-block;
  margin-inline-start:25px;
}
html[lang="ar"][dir="rtl"] .booking-title p{
  left:auto;
  right:24.5%;
  text-align:right;
  line-height:1.7;
}
html[lang="ar"][dir="rtl"] .booking .book-grid{
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .booking .form-panel{
  text-align:right;
}
html[lang="ar"][dir="rtl"] .booking .field label,
html[lang="ar"][dir="rtl"] .booking .legend,
html[lang="ar"][dir="rtl"] .show-form .field label{
  text-align:right;
  line-height:1.55;
}
html[lang="ar"][dir="rtl"] .booking .field input:not([dir="ltr"]),
html[lang="ar"][dir="rtl"] .booking .field select,
html[lang="ar"][dir="rtl"] .show-form input:not([dir="ltr"]),
html[lang="ar"][dir="rtl"] .show-form select{
  direction:rtl;
  text-align:right;
}
html[lang="ar"][dir="rtl"] .booking .sizes{direction:rtl}
/* Pet show: headline, beige section band and poodle must not collide. */
html[lang="ar"][dir="rtl"] .shine-head{
  height:180px;
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .shine-head .heading{
  left:auto!important;
  right:20.9%;
  width:78%;
  direction:rtl;
  text-align:right;
  line-height:1.35!important;
  font-size:clamp(40px,4.6vw,63px)!important;
}
html[lang="ar"][dir="rtl"] .shine-head .highlight{
  display:inline-block;
  vertical-align:baseline;
  line-height:1.35;
  padding:0 12px;
}
html[lang="ar"][dir="rtl"] .shine-head p{
  left:auto;
  right:20.9%;
  width:73%;
  text-align:right;
  line-height:1.7;
  top:114px;
  font-size:16px;
}
html[lang="ar"][dir="rtl"] .show-grid{
  direction:rtl;
  padding-top:74px;
}
html[lang="ar"][dir="rtl"] .show-band{
  direction:rtl;
  text-align:right;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  height:auto;
  min-height:74px;
  padding:10px 5%;
  line-height:1.4;
  font-size:clamp(27px,3.1vw,42px)!important;
  white-space:normal;
}
html[lang="ar"][dir="rtl"] .show-form{
  direction:rtl;
  text-align:right;
}
/* Contact: image on left and readable right-aligned contact details on right. */
html[lang="ar"][dir="rtl"] .contact .contact-grid{
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .contact .heading{
  direction:rtl;
  text-align:right;
  line-height:1.28!important;
  margin-bottom:75px;
}
html[lang="ar"][dir="rtl"] .contact-card{
  direction:rtl;
  text-align:right;
  padding:35px 10% 40px 20px;
  border-radius:0 50px 50px 0;
  font-size:clamp(24px,3vw,40px)!important;
}
html[lang="ar"][dir="rtl"] .contact-card a{
  display:flex;
  direction:rtl;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  min-width:0;
}
html[lang="ar"][dir="rtl"] .contact-card a [dir="ltr"]{
  direction:ltr;
  unicode-bidi:isolate;
  display:inline-block;
}
html[lang="ar"][dir="rtl"] .footer{
  direction:rtl;
  text-align:center;
}
@media(max-width:1000px){
  html[lang="ar"][dir="rtl"] .top-inner{direction:rtl;justify-content:space-between}
  html[lang="ar"][dir="rtl"] .top .official-pawapp-logo{
    width:40px!important;height:40px!important;min-width:40px!important;
    padding:3px;
  }
  html[lang="ar"][dir="rtl"] .hero-copy{
    direction:rtl;
    text-align:right!important;
    align-items:flex-end!important;
    padding:28px 20px 18px!important;
  }
  html[lang="ar"][dir="rtl"] .hero h1,
  html[lang="ar"][dir="rtl"] .hero .sub,
  html[lang="ar"][dir="rtl"] .hero .eyebrow,
  html[lang="ar"][dir="rtl"] .hero .event-line,
  html[lang="ar"][dir="rtl"] .hero-actions{
    position:static!important;
    right:auto!important;
    left:auto!important;
    max-width:none!important;
    width:100%;
    text-align:right!important;
  }
  html[lang="ar"][dir="rtl"] .hero h1{
    order:1;
    font-size:clamp(37px,7.6vw,63px)!important;
    line-height:1.3!important;
    margin:0 0 8px!important;
  }
  html[lang="ar"][dir="rtl"] .hero .sub{
    order:2;font-size:clamp(17px,3.8vw,22px);line-height:1.55;
    margin:0 0 16px;
  }
  html[lang="ar"][dir="rtl"] .hero .eyebrow{
    order:3;font-size:clamp(12px,2.7vw,15px);line-height:1.6;
    margin-bottom:16px;
  }
  html[lang="ar"][dir="rtl"] .hero .event-line{
    order:4;
    direction:rtl;
    justify-content:flex-start;
    font-size:clamp(15px,3.4vw,22px);
    line-height:1.6;
    margin:0 0 8px;
  }
  html[lang="ar"][dir="rtl"] .hero-actions{
    order:5;
    direction:rtl;
    align-items:stretch;
    align-self:stretch;
    padding-top:14px;
    margin:0;
  }
  html[lang="ar"][dir="rtl"] .hero-actions small,
  html[lang="ar"][dir="rtl"] .hero-actions .btn{
    text-align:center;
  }
  html[lang="ar"][dir="rtl"] .hero-img{
    position:relative!important;
    right:auto!important;
    left:auto!important;
    width:100%;
  }
  html[lang="ar"][dir="rtl"] .hero-img::before{
    right:13%;
    left:auto;
    border-radius:0 45px 45px 0;
  }
  html[lang="ar"][dir="rtl"] .zones .title-band{
    text-align:right;
    direction:rtl;
    padding:48px 20px 0 0;
    min-height:150px;
    font-size:clamp(34px,6.7vw,58px)!important;
    line-height:1.45;
  }
  html[lang="ar"][dir="rtl"] .zones .title-band .band::before{
    top:-6px;
    bottom:-6px;
    right:-38px;
    left:-16px;
  }
  html[lang="ar"][dir="rtl"] .zones .title-band>span:last-child{
    margin-inline-start:26px;
  }
  html[lang="ar"][dir="rtl"] .booking .booking-title{
    padding:28px 20px 15px;
    direction:rtl;
  }
  html[lang="ar"][dir="rtl"] .booking .booking-title .heading{
    position:relative!important;
    right:auto!important;
    left:auto!important;
    width:100%;
    max-width:none;
    font-size:clamp(34px,7.3vw,55px)!important;
    line-height:1.4!important;
    text-align:right;
    margin:0 0 16px!important;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword::before{
    right:-22px;
    left:-12px;
    top:-7px;
    bottom:-7px;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-rest{
    margin-inline-start:22px;
  }
  html[lang="ar"][dir="rtl"] .booking-title p{
    position:relative!important;
    right:auto;
    left:auto;
    width:100%;
    text-align:right;
    line-height:1.7;
  }
  html[lang="ar"][dir="rtl"] .booking .book-grid{direction:rtl}
  html[lang="ar"][dir="rtl"] .booking .form-panel{width:calc(100% - 30px)}
  html[lang="ar"][dir="rtl"] .shine>.container{min-height:0}
  html[lang="ar"][dir="rtl"] .shine-head{
    height:auto;
    padding:22px 16px 26px;
    direction:rtl;
  }
  html[lang="ar"][dir="rtl"] .shine-head .heading{
    position:relative!important;
    right:auto!important;
    left:auto!important;
    width:100%;
    font-size:clamp(32px,6.3vw,52px)!important;
    line-height:1.45!important;
    text-align:right;
    margin:0!important;
  }
  html[lang="ar"][dir="rtl"] .shine-head .highlight{
    display:inline-block;
    padding:0 9px;
    line-height:1.45;
  }
  html[lang="ar"][dir="rtl"] .shine-head p{
    position:relative!important;
    right:auto;
    left:auto;
    top:auto;
    width:100%;
    margin:10px 0 0;
    text-align:right;
    font-size:clamp(13px,2.7vw,16px);
    line-height:1.7;
  }
  html[lang="ar"][dir="rtl"] .show-grid{
    direction:rtl;
    display:flex!important;
    flex-direction:column;
    padding-top:0!important;
  }
  html[lang="ar"][dir="rtl"] .show-left{
    display:flex!important;
    flex-direction:column;
  }
  html[lang="ar"][dir="rtl"] .show-band{
    position:relative!important;
    top:auto;
    right:auto;
    left:auto;
    width:100%;
    height:auto;
    min-height:60px;
    padding:11px 16px;
    font-size:clamp(22px,5.2vw,33px)!important;
    line-height:1.4;
    text-align:right;
  }
  html[lang="ar"][dir="rtl"] .show-image.has-photo{
    position:relative;
    width:100%;
    min-height:0!important;
  }
  html[lang="ar"][dir="rtl"] .contact .contact-grid{direction:rtl}
  html[lang="ar"][dir="rtl"] .contact .heading{
    text-align:right;
    line-height:1.35!important;
    margin-bottom:35px;
    font-size:clamp(36px,7.5vw,58px)!important;
  }
  html[lang="ar"][dir="rtl"] .contact-card{
    width:100%;
    min-height:0;
    border-radius:0 22px 22px 0;
    padding:22px 20px;
    font-size:clamp(22px,4.3vw,34px)!important;
  }
  html[lang="ar"][dir="rtl"] .contact-card a{
    margin:14px 0;
    flex-wrap:nowrap;
    gap:9px;
    text-align:right;
  }
}
@media(max-width:540px){
  html[lang="ar"][dir="rtl"] .hero h1{font-size:clamp(33px,8.2vw,42px)!important}
  html[lang="ar"][dir="rtl"] .hero .sub{font-size:17px}
  html[lang="ar"][dir="rtl"] .hero .eyebrow{font-size:12px}
  html[lang="ar"][dir="rtl"] .hero .event-line{font-size:15px;line-height:1.65}
  html[lang="ar"][dir="rtl"] .zones .title-band{
    padding:40px 10px 0 0;
    min-height:119px;
    font-size:clamp(30px,7.1vw,39px)!important;
    line-height:1.35;
  }
  html[lang="ar"][dir="rtl"] .zones .title-band .band::before{
    right:-26px;
    left:-12px;
    top:-7px;
    bottom:-7px;
  }
  html[lang="ar"][dir="rtl"] .zones .title-band>span:last-child{
    margin-inline-start:18px;
  }
  html[lang="ar"][dir="rtl"] .booking .booking-title .heading{
    font-size:clamp(32px,7.8vw,43px)!important;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-rest{
    margin-inline-start:18px;
  }
  html[lang="ar"][dir="rtl"] .shine-head .heading{
    font-size:clamp(29px,7.1vw,39px)!important;
  }
  html[lang="ar"][dir="rtl"] .show-band{
    font-size:clamp(22px,5.4vw,28px)!important;
  }
  html[lang="ar"][dir="rtl"] .contact-card{
    font-size:clamp(21px,5vw,28px)!important;
  }
}


/* 2026-11-18: laptop-only Arabic desktop positioning refinements. */
/* The rules below apply only above the existing 1000px desktop breakpoint.
   They leave the English version, mobile/tablet layout, photos, forms and Firebase untouched. */
@media (min-width:1001px) {
  /* Arabic navigation belongs on top of the dog photo, beside the PawApp logo. */
  html[lang="ar"][dir="rtl"] .top .top-inner {
    direction:ltr;
    justify-content:flex-start;
    align-items:center;
    gap:10px;
    padding:10px 18px;
  }
  html[lang="ar"][dir="rtl"] .top .brand {
    order:0;
    flex:0 0 auto;
    margin:0!important;
  }
  html[lang="ar"][dir="rtl"] .top .topnav {
    order:1;
    flex:0 1 auto;
    display:flex;
    direction:rtl;
    flex-direction:row!important;
    justify-content:flex-start;
    gap:8px;
    margin:0!important;
    font-size:clamp(10px,0.82vw,12px);
  }
  html[lang="ar"][dir="rtl"] .top .topnav .navlink {
    color:#fff;
    white-space:nowrap;
    text-shadow:0 1px 4px rgba(0,20,47,.85);
  }
  html[lang="ar"][dir="rtl"] .top .topnav .pill {
    padding:7px 10px;
    min-height:38px;
    font-size:12px;
  }
  html[lang="ar"][dir="rtl"] .top .topnav .btn.yellow {
    min-height:38px;
    padding:7px 11px;
    font-size:12px;
    white-space:nowrap;
  }

  /* Hero: dog photo on the left edge, content on the right, with no overlap. */
  html[lang="ar"][dir="rtl"] .hero .hero-img {
    left:0!important;
    right:auto!important;
    width:43.46%;
    height:805px;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img::before {
    left:auto!important;
    right:-22px!important;
    border-radius:43% 0 0 43%;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img .photo {
    object-position:center center;
  }
  html[lang="ar"][dir="rtl"] .hero .event-line {
    right:12.2%;
    max-width:45%;
  }
  html[lang="ar"][dir="rtl"] .hero .event-line:nth-of-type(3) {
    top:310px;
    right:12.2%;
    max-width:43%;
    align-items:flex-start;
  }
  html[lang="ar"][dir="rtl"] .hero .event-line:nth-of-type(3) span:last-child {
    white-space:pre-line;
    line-height:1.45;
  }
  html[lang="ar"][dir="rtl"] .hero-actions {
    top:502px;
    right:15.2%;
  }

  /* Space application: photos on right, form on left. */
  html[lang="ar"][dir="rtl"] .booking .book-photos {
    left:auto!important;
    right:0!important;
  }
  html[lang="ar"][dir="rtl"] .booking .form-panel {
    margin:0 auto 30px 2.56%!important;
  }
  html[lang="ar"][dir="rtl"] .booking .form-panel::before {
    left:-60px!important;
    right:-31px!important;
    border-radius:0 60px 60px 0!important;
  }
  html[lang="ar"][dir="rtl"] .booking .booking-title .heading {
    right:20%;
    max-width:77%;
    line-height:1.18!important;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword {
    padding:0 14px;
    line-height:1.18;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword::before {
    top:-3px;
    bottom:-3px;
    right:-420px;
    left:-10px;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-rest {
    margin-inline-start:14px;
  }

  /* Pet show: align heading to right and raise the form section without overlap. */
  html[lang="ar"][dir="rtl"] .shine-head {
    height:145px;
  }
  html[lang="ar"][dir="rtl"] .shine-head .heading {
    right:8%;
    width:84%;
    line-height:1.15!important;
  }
  html[lang="ar"][dir="rtl"] .shine-head p {
    right:8%;
    width:84%;
    top:103px;
  }
  html[lang="ar"][dir="rtl"] .show-grid {
    padding-top:74px;
  }
  html[lang="ar"][dir="rtl"] .show-band {
    padding-right:6%;
  }
}


/* Desktop Arabic final polish v3: 2026-11-18 */
/* All selectors are scoped to Arabic and laptop/desktop widths; mobile, English, and Firebase remain unchanged. */
@media screen and (min-width:1001px){
html[lang="ar"][dir="rtl"] .top .top-inner{direction:ltr!important;justify-content:flex-start!important;gap:13px}
html[lang="ar"][dir="rtl"] .top .brand{order:0!important;margin:0!important}
html[lang="ar"][dir="rtl"] .top .topnav{order:1!important;direction:rtl;flex-direction:row!important;margin:0!important}
html[lang="ar"][dir="rtl"] .hero .hero-layout{height:768px;min-height:768px}
html[lang="ar"][dir="rtl"] .hero .hero-img{left:0!important;right:auto!important;top:0!important;width:49%!important;height:768px!important;padding:0!important}
html[lang="ar"][dir="rtl"] .hero .hero-img::before{left:auto!important;right:-22px!important;border-radius:43%}
html[lang="ar"][dir="rtl"] .hero .hero-img .media.has-photo{width:100%;height:100%!important}
html[lang="ar"][dir="rtl"] .hero .hero-img .photo{width:100%;height:100%!important}
html[lang="ar"][dir="rtl"] .hero .hero-img .photo{object-fit:cover!important;object-position:50% center!important;transform:none!important}
html[lang="ar"][dir="rtl"] .hero h1{top:72px!important;right:6.8%!important;left:auto!important;width:44%!important;max-width:44%!important;margin:0!important;font-size:clamp(45px,5.1vw,70px)!important;line-height:1.32!important;white-space:normal}
html[lang="ar"][dir="rtl"] .hero .sub{top:169px!important;right:7%!important;left:auto!important;width:44%!important;max-width:44%!important;margin:0!important;font-size:clamp(19px,1.75vw,24px)!important;line-height:1.45}
html[lang="ar"][dir="rtl"] .hero .eyebrow{top:222px!important;right:7%!important;left:auto!important;width:44%!important;max-width:44%!important;margin:0!important;font-size:clamp(12px,1.1vw,15px)!important;line-height:1.65}
html[lang="ar"][dir="rtl"] .hero .eyebrow::after{content:" التجارية"}
html[lang="ar"][dir="rtl"] .hero .event-line{right:7%!important;left:auto!important;max-width:44%!important;width:44%!important;direction:rtl;text-align:right;font-size:clamp(18px,1.85vw,24px)!important;line-height:1.52;gap:9px;justify-content:flex-start;align-items:flex-start}
html[lang="ar"][dir="rtl"] .hero .event-line:nth-of-type(3){right:7%!important;left:auto!important;max-width:44%!important;width:44%!important;direction:rtl;text-align:right;font-size:clamp(18px,1.85vw,24px)!important;line-height:1.52;gap:9px;justify-content:flex-start;align-items:flex-start}
html[lang="ar"][dir="rtl"] .hero .event-line{top:290px!important}
html[lang="ar"][dir="rtl"] .hero .event-line:nth-of-type(3){top:345px!important}
html[lang="ar"][dir="rtl"] .hero .event-line .emoji{flex:0 0 28px;min-width:28px;font-size:23px;line-height:1.5}
html[lang="ar"][dir="rtl"] .hero-actions{top:458px!important;right:14%!important;left:auto!important;width:338px!important;max-width:34%!important;margin:0!important}
html[lang="ar"][dir="rtl"] .hero-actions small{top:auto;line-height:1.45;text-align:center;font-size:13px}
html[lang="ar"][dir="rtl"] .hero-actions small:first-of-type{top:0!important}
html[lang="ar"][dir="rtl"] .hero-actions small:nth-of-type(2){top:119px!important}
html[lang="ar"][dir="rtl"] .hero-actions .btn{height:66px!important;min-height:66px!important;padding:11px 12px;font-size:15px}
html[lang="ar"][dir="rtl"] .hero-actions .btn.white{top:26px!important}
html[lang="ar"][dir="rtl"] .hero-actions .btn.beige{top:145px!important}
html[lang="ar"][dir="rtl"] .zone h3{width:100%;max-width:100%;padding:0 6px!important;text-align:center!important;line-height:1.35!important;overflow-wrap:normal}
html[lang="ar"][dir="rtl"] .booking .booking-title{min-height:182px!important;height:auto!important;padding:35px 6% 18px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;border:0!important}
html[lang="ar"][dir="rtl"] .booking .booking-title .heading{position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;font-size:clamp(47px,5.15vw,69px)!important;line-height:1.45!important;overflow:visible!important}
html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword{position:relative;display:inline-block!important;isolation:isolate;background:transparent!important;padding:0 3px!important;white-space:nowrap}
html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword::before{z-index:-1;top:5px!important;bottom:4px!important;right:-200px!important;left:-12px!important;border-radius:48px 0 0 48px!important;background:var(--beige)}
html[lang="ar"][dir="rtl"] .booking-title .book-title-rest{display:inline-block;margin-inline-start:19px!important;white-space:nowrap}
html[lang="ar"][dir="rtl"] .booking-title p{position:static!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:100%!important;margin:1px 0 0!important;font-size:16px;line-height:1.6!important;text-align:right}
html[lang="ar"][dir="rtl"] .booking .book-photos{right:0!important;left:auto!important;top:215px!important}
html[lang="ar"][dir="rtl"] .booking .form-panel{margin:0 auto 36px 2.56%!important;text-align:right}
html[lang="ar"][dir="rtl"] .booking .form-panel::before{right:-31px!important;left:-60px!important;border-radius:0 60px 60px 0!important}
html[lang="ar"][dir="rtl"] .booking .sizes{direction:rtl}
html[lang="ar"][dir="rtl"] .shine > .container{min-height:0!important}
html[lang="ar"][dir="rtl"] .shine-head{height:auto!important;min-height:0!important;padding:28px 5% 25px!important;direction:rtl}
html[lang="ar"][dir="rtl"] .shine-head .heading{position:static!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:100%!important;font-size:clamp(43px,4.7vw,62px)!important;line-height:1.42!important;margin:0!important;padding:0!important;text-align:right}
html[lang="ar"][dir="rtl"] .shine-head .highlight{display:inline-block;line-height:1.38;padding:0 12px}
html[lang="ar"][dir="rtl"] .shine-head p{position:static!important;right:auto!important;left:auto!important;top:auto!important;width:100%!important;max-width:100%!important;margin:5px 0 0!important;font-size:16px;line-height:1.7;text-align:right}
html[lang="ar"][dir="rtl"] .show-grid{display:grid!important;direction:rtl;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;padding:0!important;min-height:0!important;align-items:stretch;overflow:visible}
html[lang="ar"][dir="rtl"] .show-left{display:flex!important;flex-direction:column;grid-column:1;grid-row:1;min-width:0;height:auto}
html[lang="ar"][dir="rtl"] .show-band{position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;height:auto!important;min-height:72px;display:flex;justify-content:flex-start;align-items:center;padding:10px 5%!important;font-size:clamp(25px,2.65vw,37px)!important;line-height:1.4!important;white-space:normal;text-align:right}
html[lang="ar"][dir="rtl"] .show-image.has-photo{flex:1 0 auto;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;background:#fffae7!important}
html[lang="ar"][dir="rtl"] .show-image.has-photo .photo{object-fit:contain!important;object-position:center center!important}
html[lang="ar"][dir="rtl"] .show-form{grid-column:2;grid-row:1;direction:rtl;text-align:right;width:100%!important;min-height:100%;align-self:stretch!important;padding:23px 30px 30px!important;background:var(--cream)}
html[lang="ar"][dir="rtl"] .show-form .field label{text-align:right!important;line-height:1.5}
html[lang="ar"][dir="rtl"] .contact .contact-grid{direction:rtl;min-height:720px;align-items:start}
html[lang="ar"][dir="rtl"] .contact-grid > div:first-child{min-width:0;padding-top:52px}
html[lang="ar"][dir="rtl"] .contact .heading{margin:0 0 86px!important;padding:0 7%!important;font-size:clamp(48px,5.35vw,73px)!important;line-height:1.35!important;text-align:right}
html[lang="ar"][dir="rtl"] .contact-card{min-height:300px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:22px;margin:0;padding:26px 8% 26px 20px!important;border-radius:0 48px 48px 0!important;font-size:clamp(22px,2.75vw,36px)!important;text-align:right}
html[lang="ar"][dir="rtl"] .contact-card a{display:flex;flex-direction:row;direction:rtl;justify-content:flex-start;align-items:center;gap:13px;margin:0!important;min-width:0;white-space:nowrap;text-align:right}
html[lang="ar"][dir="rtl"] .contact-img.has-photo{height:712px!important;min-height:0!important;margin-top:73px!important}
}


/* 2026-11-18: Arabic desktop booking alignment against English reference. */
/* Intentionally no effect on English or on screens 1000px wide and below. */
@media screen and (min-width:1001px){
  html[lang="ar"][dir="rtl"] .booking .booking-title{
    min-height:178px!important;
    padding:24px 6% 10px!important;
  }
  html[lang="ar"][dir="rtl"] .booking .booking-title .heading{
    line-height:1.3!important;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword::before{
    top:2px!important;
    bottom:2px!important;
    right:-500px!important;
    left:-12px!important;
  }
  html[lang="ar"][dir="rtl"] .booking-title .book-title-rest{
    margin-inline-start:14px!important;
  }
  /* Reference desktop alignment: the first photo begins alongside the form. */
  html[lang="ar"][dir="rtl"] .booking .book-photos{
    left:auto!important;
    right:0!important;
    top:190px!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:first-child{
    top:0!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:nth-child(2){
    top:252px!important;
  }
  html[lang="ar"][dir="rtl"] .booking .form-panel{
    margin:0 auto 36px 2.56%!important;
  }
}


/* 2026-11-18: Match Arabic desktop pet-show composition to English reference. */
/* English and tablet/mobile untouched: only Arabic at >=1001px. */
@media screen and (min-width:1001px){
  /* Mirror the English 50/50 columns: image and beige header on the right, form on the left. */
  html[lang="ar"][dir="rtl"] .shine-head{
    height:176px!important;
    min-height:176px!important;
    padding:27px 5% 15px!important;
  }
  html[lang="ar"][dir="rtl"] .shine-head .heading{
    font-size:clamp(43px,4.7vw,62px)!important;
    line-height:1.3!important;
  }
  html[lang="ar"][dir="rtl"] .shine-head p{
    margin:7px 0 0!important;
    line-height:1.55!important;
  }
  html[lang="ar"][dir="rtl"] .show-grid{
    display:grid!important;
    grid-template-columns:minmax(0,50%) minmax(0,50%)!important;
    direction:rtl!important;
    align-items:stretch!important;
    gap:0!important;
    padding:0!important;
  }
  html[lang="ar"][dir="rtl"] .show-left{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    min-width:0;
    align-self:stretch!important;
  }
  html[lang="ar"][dir="rtl"] .show-band{
    position:relative!important;
    z-index:2;
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    padding:5px 6%!important;
    font-size:clamp(24px,2.55vw,35px)!important;
    line-height:1.35!important;
    text-align:right!important;
    justify-content:flex-start!important;
    white-space:normal;
  }
  html[lang="ar"][dir="rtl"] .show-image.has-photo{
    position:relative!important;
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:592px!important;
    aspect-ratio:auto!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fffae7!important;
  }
  html[lang="ar"][dir="rtl"] .show-image.has-photo .photo{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
    transform:none!important;
  }
  html[lang="ar"][dir="rtl"] .show-form{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    align-self:stretch!important;
    min-height:100%;
    margin:0!important;
    padding:22px 30px 28px!important;
    direction:rtl!important;
    text-align:right!important;
  }
}


/* DESKTOP-AR-BOOKING-RESTORE 2026-11-18 */
@media screen and (min-width:1001px){
  /* Desktop Arabic hero: fill the whole left photo frame; no beige exposed. */
  html[lang="ar"][dir="rtl"] .hero .hero-img{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    top:0!important;
    width:49%!important;
    height:768px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img::before{
    content:none!important;
    display:none!important;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img .media.has-photo{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    aspect-ratio:auto!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img .media.has-photo .photo{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
    transform:none!important;
  }

  /* Arabic desktop book form: same original two distinct crops/images as English.
     Only mirror columns. Do not use flex here: both photos must remain visible. */
  html[lang="ar"][dir="rtl"] .booking .book-grid{display:block!important;}
  html[lang="ar"][dir="rtl"] .booking .book-photos{
    position:absolute!important;
    display:block!important;
    flex-direction:initial!important;
    left:auto!important;
    right:0!important;
    top:204px!important;
    width:47.87%!important;
    height:452px!important;
    min-height:452px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo{
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:auto!important;
    width:100%!important;
    height:205px!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:first-child{
    top:0!important;
    height:205px!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:nth-child(2){
    top:269px!important;
    height:182px!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo .photo{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:first-child .photo{
    object-position:center top!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:nth-child(2) .photo{
    object-position:center bottom!important;
  }
  html[lang="ar"][dir="rtl"] .booking .form-panel{
    position:relative!important;
    width:47.44%!important;
    margin:0 auto 30px 2.56%!important;
  }
  html[lang="ar"][dir="rtl"] .booking .form-panel::before{
    left:-60px!important;
    right:-31px!important;
    border-radius:0 60px 60px 0!important;
  }
}


/* 2026-11-18: precise Arabic desktop corrections requested by owner. */
@media screen and (min-width:1001px) {
  /* Restore the cream decorative shape behind the dog, and flush the image to the far left. */
  html[lang="ar"][dir="rtl"] .hero .hero-img{
    left:0!important;right:auto!important;top:0!important;
    width:54%!important;height:768px!important;
    padding:0!important;overflow:visible!important;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img::before{
    content:""!important;display:block!important;
    position:absolute!important;z-index:0!important;
    left:auto!important;right:-22px!important;
    top:182px!important;width:110%!important;height:605px!important;
    background:var(--beige)!important;border-radius:43%!important;
    opacity:1!important;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img .media.has-photo{
    position:relative!important;z-index:1!important;
    width:100%!important;height:100%!important;
    overflow:hidden!important;
  }
  html[lang="ar"][dir="rtl"] .hero .hero-img .photo{
    position:relative!important;inset:auto!important;
    width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center center!important;
  }
  /* Put the entire word احجز on its beige highlight, without moving the other title. */
  html[lang="ar"][dir="rtl"] .booking-title .book-title-keyword::before{
    content:""!important;display:block!important;
    right:-500px!important;left:-32px!important;
    top:2px!important;bottom:2px!important;
    background:var(--beige)!important;
  }
  /* Match English booking: two photos stacked from the top, opposite the form. */
  html[lang="ar"][dir="rtl"] .booking .book-grid{
    display:grid!important;position:relative!important;
    direction:rtl!important;
    grid-template-columns:minmax(0,47.87%) minmax(0,47.44%)!important;
    column-gap:2.1%!important;align-items:start!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos{
    grid-column:1!important;
    display:flex!important;flex-direction:column!important;
    gap:64px!important;position:relative!important;
    top:auto!important;right:auto!important;left:auto!important;
    width:100%!important;height:auto!important;min-height:0!important;
    padding:26px 0 0!important;margin:0!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo,
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:first-child,
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:nth-child(2){
    position:relative!important;top:auto!important;right:auto!important;left:auto!important;
    width:100%!important;height:205px!important;min-height:0!important;
    display:block!important;flex:0 0 auto!important;
  }
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo:nth-child(2){height:182px!important}
  html[lang="ar"][dir="rtl"] .booking .book-photos .media.has-photo .photo{
    position:relative!important;inset:auto!important;
    display:block!important;width:100%!important;height:100%!important;
    object-fit:cover!important;opacity:.51!important;
  }
  html[lang="ar"][dir="rtl"] .booking .form-panel{
    grid-column:2!important;position:relative!important;
    width:100%!important;margin:0!important;
  }
}

/* Arabic desktop: dog photo flush against the left viewport edge only. */
@media screen and (min-width:1001px){
 html[lang="ar"][dir="rtl"] .hero .hero-img{left:-4%!important;right:auto!important;}
}
