/* Arabians Studio v25 — independent Evening, Overnight and Private Figma fixes.
 * Figma frames: Evening 67:110, Overnight 231:225, Private 9:54.
 * Scoped to three service pages, leaving Morning, Self Drive and Bus intact. */
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .v25-feature-set{
 display:flex;flex-direction:column;gap:calc(16 * var(--figma-unit,1px));min-width:0;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .v25-feature-group{min-width:0;display:flex;flex-direction:column;gap:calc(10 * var(--figma-unit,1px));}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .v25-feature-group .feature-list{
 display:flex!important;flex-direction:column!important;gap:calc(12 * var(--figma-unit,1px))!important;margin:0!important;min-width:0;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .v25-feature-label{
 color:#c88a3d;font-weight:600;line-height:1.35;margin:0;font-size:calc(21 * var(--figma-unit,1px));
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .packages-section .v25-feature-heading{
 background:#fdebd0;color:#211c17;font-weight:600;padding:calc(9 * var(--figma-unit,1px)) calc(13 * var(--figma-unit,1px));
 font-size:calc(22 * var(--figma-unit,1px));line-height:1.25;margin:0;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .source-package-card:not(.source-package-primary) .package-body{
 display:flex;flex-direction:column;gap:calc(16 * var(--figma-unit,1px));min-width:0;flex:1;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .source-package-card:not(.source-package-primary) .card-actions{
 margin-top:auto!important;padding-top:calc(14 * var(--figma-unit,1px));flex-shrink:0;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .source-package-card:not(.source-package-primary) .package-image{
 width:100%;aspect-ratio:528/352!important;position:relative!important;display:block;overflow:hidden;border-radius:calc(16 * var(--figma-unit,1px));
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .source-package-card:not(.source-package-primary) .package-image .image-crop{position:absolute!important;inset:0!important;}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .source-package-card:not(.source-package-primary) .package-image img{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;
}
/* Continuous info groups and full-height featured card, as in the desktop artboard. */
body.page-overnight-desert-safari-dubai .packages-section .source-package-primary .v25-featured-groups{
 display:flex;flex-direction:column;gap:calc(17 * var(--figma-unit,1px));flex:1;
}
body.page-overnight-desert-safari-dubai .packages-section .source-package-primary .package-body{
 display:flex;flex-direction:column;gap:calc(19 * var(--figma-unit,1px));min-width:0;
}
body.page-overnight-desert-safari-dubai .packages-section .source-package-primary .card-actions{
 margin-top:auto!important;max-width:none;width:85%;
}
body.page-overnight-desert-safari-dubai .packages-section .source-package-primary .v25-featured-groups .feature-list{
 gap:calc(12 * var(--figma-unit,1px))!important;font-size:calc(18 * var(--figma-unit,1px));
}
/* Overnight editorial: reference 231:1531 uses a pale, open image/text composition.
   Previous theme applied a dark overlay to the *entire* section. */
body.page-overnight-desert-safari-dubai main>section.repair-section.bounded-source.arabians-section-index-6{
 background:#fffdf9 url('../../assets/6baddef84e22a7d7888007985204e05002cc1819.webp') center bottom/100% 100% no-repeat!important;
}
body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel{
 background:transparent!important;background-image:none!important;box-shadow:none!important;border:none!important;
}
body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel :is(h2,h3,p){color:#211c17!important;text-shadow:none!important;}
body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel .original-image{max-height:none;}
/* The final overnight call to action is TEXT LEFT / IMAGE RIGHT in Figma. */
body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-layout{
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-copy{order:0;}
body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-layout>.original-image:not(.source-support-layer){order:1;}
/* Original private page contains six packages. Give both rows consistent card bottoms. */
body.page-private-desert-safari-dubai .packages-section .source-package-card .v25-feature-group{
 gap:calc(10 * var(--figma-unit,1px));
}
/* Common form layout: section backdrop belongs to the full viewport, not a box
   around only the form. Matches the original Figma 1920px booking artboards. */
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layout{
 border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:transparent!important;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layout::before{display:none!important;}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layer{
 position:absolute!important;display:block!important;z-index:0!important;left:calc((100% - 100vw)/2);top:calc(-100 * var(--figma-unit,1px));width:100vw!important;height:calc(100% + 200 * var(--figma-unit,1px))!important;
 overflow:hidden;pointer-events:none;border:0;max-height:none!important;aspect-ratio:auto!important;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layer .image-crop{position:absolute;inset:0;}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layer img{
 position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;object-fit:fill!important;
}
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy,
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .inline-enquiry{
 position:relative;z-index:1;
}
/* The illustrated background in the two booking support sections must run across
   the entire artboard. Preserve the image itself in its original Figma position. */
:is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .support-section .source-support-layer{
 inset:auto!important;left:50%!important;transform:translateX(-50%);bottom:0!important;width:100vw!important;height:100%!important;
 border-radius:0!important;pointer-events:none;
}
@media (min-width:1200px){
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) main>section.repair-section.packages-section.arabians-section-index-2{
  min-height:calc(var(--v25-package-height) * var(--figma-unit))!important;height:auto!important;overflow:visible!important;
  padding:calc(70 * var(--figma-unit)) 0 calc(100 * var(--figma-unit))!important;
 }
 body.page-evening-desert-safari-dubai{--v25-package-height:2794;}
 body.page-overnight-desert-safari-dubai{--v25-package-height:2892;}
 body.page-private-desert-safari-dubai main>section.repair-section.packages-section.arabians-section-index-2{
  min-height:calc(3805 * var(--figma-unit))!important;height:auto!important;overflow:visible!important;
  padding:calc(72 * var(--figma-unit)) 0 calc(100 * var(--figma-unit))!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .source-package-card:not(.source-package-primary) .feature-list{
  line-height:1.36!important;font-size:calc(16 * var(--figma-unit))!important;
 }
 body.page-private-desert-safari-dubai .packages-section .packages-grid{row-gap:calc(35 * var(--figma-unit))!important;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section{
  padding:calc(100 * var(--figma-unit)) 0!important;position:relative;isolation:isolate;overflow:hidden!important;
  background:#fef9f3!important;min-height:calc(830 * var(--figma-unit))!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layout{
  display:grid!important;grid-template-columns:minmax(0,705fr) minmax(0,892fr)!important;
  gap:calc(123 * var(--figma-unit))!important;align-items:center!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy{
  display:flex;flex-direction:column;justify-content:center;gap:0!important;min-width:0;min-height:0;padding:0!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy h2{
  font-size:calc(48 * var(--figma-unit))!important;line-height:1.2;max-width:calc(586 * var(--figma-unit));margin:0!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy p{
  font-size:calc(25 * var(--figma-unit))!important;line-height:1.4;margin:0;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy .actions{
  margin-top:calc(68 * var(--figma-unit))!important;gap:calc(16 * var(--figma-unit))!important;
  display:flex!important;flex-wrap:nowrap;justify-content:flex-start;max-width:100%;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy .actions .button{
  min-height:calc(64 * var(--figma-unit));font-size:calc(20 * var(--figma-unit));white-space:nowrap;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .inline-enquiry{
  background:#fffaf5!important;border:1px solid #c88a3d!important;border-radius:calc(12 * var(--figma-unit))!important;
  padding:calc(20 * var(--figma-unit))!important;min-height:calc(630 * var(--figma-unit));box-shadow:none!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .form-grid{gap:calc(20 * var(--figma-unit))!important;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section :is(input,select,textarea){
  min-height:calc(70 * var(--figma-unit));border-radius:calc(8 * var(--figma-unit));border-color:#c88a3d;background:#fff!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-submit{height:calc(64 * var(--figma-unit));min-height:0!important;}
 body.page-evening-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-7,
 body.page-overnight-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-8{
  height:calc(816 * var(--figma-unit))!important;min-height:0!important;display:flex;align-items:center;
  padding:calc(114 * var(--figma-unit)) 0!important;overflow:hidden!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .support-section .source-support-layout{
  display:grid!important;grid-template-columns:minmax(0,812fr) minmax(0,906fr)!important;
  gap:calc(49 * var(--figma-unit))!important;align-items:center!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .support-section .source-support-layout>.original-image:not(.source-support-layer){
  width:100%;height:calc(588 * var(--figma-unit));aspect-ratio:812/588!important;border-radius:calc(20 * var(--figma-unit));overflow:hidden;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .support-section .source-support-copy{
  display:flex!important;flex-direction:column;justify-content:center;min-width:0;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .support-section .source-support-copy h2{font-size:calc(48 * var(--figma-unit));line-height:1.25;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai) .support-section .source-support-copy>p{
  font-size:calc(25 * var(--figma-unit));line-height:1.4;margin:0 0 calc(28 * var(--figma-unit));
 }
 body.page-overnight-desert-safari-dubai main>section.repair-section.bounded-source.arabians-section-index-6{
  height:calc(815 * var(--figma-unit))!important;min-height:0!important;display:flex;align-items:center;overflow:hidden!important;padding:calc(88 * var(--figma-unit)) 0!important;
 }
 body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel{
  display:block!important;width:100%;max-width:none;min-height:0;
 }
 body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel>.content-row{
  display:grid!important;grid-template-columns:minmax(0,812fr) minmax(0,906fr)!important;
  gap:calc(45 * var(--figma-unit))!important;align-items:center!important;
 }
 body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel .original-image{
  width:100%;height:calc(588 * var(--figma-unit));aspect-ratio:812/588!important;border-radius:calc(20 * var(--figma-unit));overflow:hidden;
 }
 body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel .design-text:not(h2,h3){font-size:calc(20 * var(--figma-unit))!important;line-height:1.45!important;}
}
@media (max-width:1199px){
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .v25-feature-heading{padding:7px 10px;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .packages-section .v25-feature-label{font-size:15px;}
}
@media (max-width:800px){
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layer{display:none!important;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section{
  background:#fff9ef url('../../assets/2e9c84ffd760b47f595511f26a5819b333649c86.webp') center bottom/cover no-repeat!important;
 }
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .source-enquiry-layout{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .enquiry-copy{padding:0!important;}
 :is(body.page-evening-desert-safari-dubai,body.page-overnight-desert-safari-dubai,body.page-private-desert-safari-dubai) .booking-section .inline-enquiry{border:1px solid #e5c49d!important;border-radius:10px!important;background:#fffaf4!important;}
 body.page-overnight-desert-safari-dubai main>section.bounded-source.arabians-section-index-6{
  height:auto!important;padding:40px 0!important;overflow:visible!important;
 }
 body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel>.content-row{display:flex!important;flex-direction:column!important;gap:22px!important;}
 body.page-overnight-desert-safari-dubai .bounded-source .v25-overnight-support-panel .original-image{width:100%;aspect-ratio:812/588!important;height:auto;max-height:none!important;}
 body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-copy{order:0;}
 body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-layout>.original-image:not(.source-support-layer){order:1;}
}
/* Ensure the pale lower wave remains visible above inherited panel backgrounds. */
body.page-overnight-desert-safari-dubai main>section.repair-section.bounded-source.arabians-section-index-6,
body.page-overnight-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-8{
 position:relative!important;isolation:isolate!important;
}
body.page-overnight-desert-safari-dubai main>section.repair-section.bounded-source.arabians-section-index-6::after,
body.page-overnight-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-8::after{
 content:'';position:absolute;left:0;bottom:0;width:100%;height:calc(140 * var(--figma-unit,1px));pointer-events:none;
 background:url('../../assets/6baddef84e22a7d7888007985204e05002cc1819.webp') center bottom / 100% auto no-repeat;
 z-index:0;
}
body.page-overnight-desert-safari-dubai main>section.repair-section.bounded-source.arabians-section-index-6>.container,
body.page-overnight-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-8>.container{position:relative;z-index:1;}
@media (min-width:901px){
 body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-layout{
  display:grid!important;grid-template-columns:minmax(0,906fr) minmax(0,812fr)!important;
 }
 body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-copy{grid-column:1!important;grid-row:1!important;order:0!important;}
 body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-layout>.original-image:not(.source-support-layer){grid-column:2!important;grid-row:1!important;order:1!important;}
}
/* Render the supplied ivory-waves asset on the section background directly.
   A negative-z-index imported background figure was hidden by stacking contexts. */
body.page-overnight-desert-safari-dubai main>section.repair-section.bounded-source.arabians-section-index-6,
body.page-overnight-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-8,
body.page-evening-desert-safari-dubai main>section.repair-section.support-section.arabians-section-index-7{
 background-color:#fffdf9!important;
 background-image:url('../../assets/6baddef84e22a7d7888007985204e05002cc1819.webp')!important;
 background-position:center center!important;
 background-size:100% 100%!important;
 background-repeat:no-repeat!important;
}
body.page-overnight-desert-safari-dubai .support-section.arabians-section-index-8 .source-support-layer,
body.page-evening-desert-safari-dubai .support-section.arabians-section-index-7 .source-support-layer{
 display:none!important;
}
/* A real decorative image layer also survives Gutenberg saved-style overrides. */
:is(body.page-overnight-desert-safari-dubai,body.page-evening-desert-safari-dubai) .v25-bottom-wave{
 position:absolute;left:0;right:0;bottom:0;height:calc(135 * var(--figma-unit,1px));
 overflow:hidden;z-index:1;pointer-events:none;
}
:is(body.page-overnight-desert-safari-dubai,body.page-evening-desert-safari-dubai) .v25-bottom-wave img{
 position:absolute;left:0;bottom:0;width:100%;height:auto;max-width:none;max-height:none;
 display:block;
}
:is(body.page-overnight-desert-safari-dubai,body.page-evening-desert-safari-dubai) .repair-section:has(>.v25-bottom-wave){position:relative;isolation:isolate;}
@media(max-width:900px){
 :is(body.page-overnight-desert-safari-dubai,body.page-evening-desert-safari-dubai) .v25-bottom-wave{height:95px;}
}
