/* Africa.Luxury v1.7.208 — Phase 1: Public Design System Foundation.
   One shared visual language for Stays, Cars and Experiences.
   This file intentionally does not change catalogue data, search logic or card counts. */

:root{
  /* spacing */
  --al-space-1:4px;--al-space-2:8px;--al-space-3:12px;--al-space-4:16px;
  --al-space-5:24px;--al-space-6:32px;--al-space-7:40px;--al-space-8:48px;
  --al-space-9:64px;--al-space-10:80px;

  /* shape */
  --al-radius-xs:8px;--al-radius-sm:12px;--al-radius-md:16px;--al-radius-lg:20px;
  --al-radius-xl:24px;--al-radius-pill:999px;
  --al-card-radius:var(--al-brand-radius,16px);

  /* elevation */
  --al-shadow-1:0 1px 2px rgba(20,37,65,.08),0 2px 6px rgba(20,37,65,.04);
  --al-shadow-2:0 2px 8px rgba(20,37,65,.10),0 8px 24px rgba(20,37,65,.06);
  --al-shadow-3:0 8px 24px rgba(20,37,65,.11),0 18px 48px rgba(20,37,65,.08);

  /* content colours */
  --al-ds-text-primary:var(--al-ink,#142541);
  --al-ds-text-secondary:#6a6f78;
  --al-ds-border:#e2e5e9;
  --al-ds-border-soft:#eceef1;
  --al-ds-surface:#fff;
  --al-ds-surface-soft:#f7f8fa;

  /* icon sizes */
  --al-icon-sm:16px;--al-icon-md:20px;--al-icon-lg:24px;

  /* readable copy width */
  --al-reading-width:680px;
}

:is(body.al-hp-body,body.al-cars-body,body.al-experiences-body){
  color:var(--al-ds-text-primary);
  font-family:var(--al-font-family)!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

/* -----------------------------
   TYPOGRAPHY / SEMANTIC ROLES
   ----------------------------- */
@media (min-width:700px){
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) .al-main-header :is(.al-nav-item,.al-currency-top,.al-hello,.al-menu-scroller>a){
    font-size:var(--al-sem-navigation-size,14px)!important;
    line-height:var(--al-sem-navigation-line,18px)!important;
    font-weight:var(--al-sem-navigation-weight,500)!important;
    letter-spacing:var(--al-sem-navigation-tracking,0)!important;
    text-transform:var(--al-sem-navigation-transform,none)!important;
  }

  body.al-hp-body .al-hero-copy h1,
  body.al-cars-body .cp-hero-copy h1,
  body.al-experiences-body .ex150-hero-copy h1{
    font-size:var(--al-sem-hero-title-size,40px)!important;
    line-height:var(--al-sem-hero-title-line,44px)!important;
    font-weight:var(--al-sem-hero-title-weight,600)!important;
    letter-spacing:var(--al-sem-hero-title-tracking,0)!important;
    text-transform:var(--al-sem-hero-title-transform,none)!important;
    max-width:760px;
  }
  body.al-hp-body .al-hero-copy>p,
  body.al-cars-body .cp-hero-copy>p:not(.cp-eyebrow),
  body.al-experiences-body .ex150-hero-copy>p:not(.ex150-eyebrow){
    font-size:var(--al-sem-hero-support-size,16px)!important;
    line-height:var(--al-sem-hero-support-line,22px)!important;
    font-weight:var(--al-sem-hero-support-weight,400)!important;
    letter-spacing:var(--al-sem-hero-support-tracking,0)!important;
    max-width:var(--al-reading-width);
  }

  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-heading h2,.al-service-shelf-heading h2,.ex150-section-heading h2){
    font-size:var(--al-sem-section-heading-size,22px)!important;
    line-height:var(--al-sem-section-heading-line,26px)!important;
    font-weight:var(--al-sem-section-heading-weight,600)!important;
    letter-spacing:var(--al-sem-section-heading-tracking,0)!important;
    text-transform:var(--al-sem-section-heading-transform,none)!important;
  }

  body.al-hp-body .al-shelf-name,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy>strong,
  body.al-experiences-body .ex150-card-title{
    font-size:var(--al-sem-card-title-size,14px)!important;
    line-height:var(--al-sem-card-title-line,18px)!important;
    font-weight:var(--al-sem-card-title-weight,500)!important;
    letter-spacing:var(--al-sem-card-title-tracking,0)!important;
  }
  body.al-hp-body .al-shelf-secondary,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy>small,
  body.al-experiences-body :is(.ex150-card-location,.ex150-card-desc){
    font-size:var(--al-sem-card-meta-size,14px)!important;
    line-height:var(--al-sem-card-meta-line,18px)!important;
    font-weight:var(--al-sem-card-meta-weight,400)!important;
    letter-spacing:var(--al-sem-card-meta-tracking,0)!important;
    color:var(--al-ds-text-secondary)!important;
  }

  body.al-hp-body .al-search-field strong,
  body.al-cars-body .cp-search-field-v173 strong,
  body.al-experiences-body .ex175-search-field strong{
    font-size:var(--al-sem-search-label-size,12px)!important;
    line-height:var(--al-sem-search-label-line,16px)!important;
    font-weight:var(--al-sem-search-label-weight,600)!important;
    letter-spacing:var(--al-sem-search-label-tracking,0)!important;
  }
  body.al-hp-body .al-search-field small,
  body.al-cars-body .cp-search-field-v173 small,
  body.al-experiences-body .ex175-search-field small{
    font-size:var(--al-sem-search-value-size,14px)!important;
    line-height:var(--al-sem-search-value-line,18px)!important;
    font-weight:var(--al-sem-search-value-weight,400)!important;
    letter-spacing:var(--al-sem-search-value-tracking,0)!important;
    color:var(--al-ds-text-secondary)!important;
  }

  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-search-submit,.cp-search-submit,.cp-search-submit-v173,.ex150-search-submit,.al-hero-cta,.al-ds-apply,.al-us-apply,.cp-dialog-done,.ex150-modal-done,.al-picker-apply){
    font-size:var(--al-sem-button-size,14px)!important;
    line-height:var(--al-sem-button-line,18px)!important;
    font-weight:var(--al-sem-button-weight,600)!important;
    letter-spacing:var(--al-sem-button-tracking,0)!important;
  }

  body.al-hp-body .al-shelf-secondary strong,
  body.al-experiences-body .ex150-card-price{
    font-size:var(--al-sem-price-size,16px)!important;
    line-height:var(--al-sem-price-line,20px)!important;
    font-weight:var(--al-sem-price-weight,600)!important;
  }

  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-amenity-fixed,.al-amenity-pill,.al-mf-quick-filter,.ex150-all,.ex150-cat,.ex150-filter-button,.al-shelf-view-all,.al-service-shelf-heading a,.ex150-section-heading a){
    font-size:var(--al-sem-filter-size,14px)!important;
    line-height:var(--al-sem-filter-line,18px)!important;
    font-weight:var(--al-sem-filter-weight,500)!important;
    letter-spacing:var(--al-sem-filter-tracking,0)!important;
  }
}

@media (min-width:1900px){
  body.al-hp-body .al-hero-copy h1,
  body.al-cars-body .cp-hero-copy h1,
  body.al-experiences-body .ex150-hero-copy h1{
    font-size:var(--al-sem-hero-title-wide-size,48px)!important;
    line-height:var(--al-sem-hero-title-wide-line,54px)!important;
    font-weight:var(--al-sem-hero-title-wide-weight,600)!important;
    letter-spacing:var(--al-sem-hero-title-wide-tracking,0)!important;
  }
}

/* -----------------------------
   SHARED CONTROL / SURFACE RHYTHM
   ----------------------------- */
@media (min-width:700px){
  /* Same search surface language on all three services. */
  body.al-hp-body .al-search,
  body.al-cars-body .cp-search-v173,
  body.al-experiences-body .ex150-search,
  body.al-experiences-body .ex-search-zone-v175{
    border-color:var(--al-ds-border)!important;
    box-shadow:var(--al-shadow-2)!important;
  }

  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-search-submit,.cp-search-submit,.cp-search-submit-v173,.ex150-search-submit){
    min-height:44px;
  }

  /* Shelf rhythm is shared without altering the existing responsive card count. */
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-heading,.al-service-shelf-heading,.ex150-section-heading){
    margin-bottom:var(--al-space-3)!important;
  }

  body.al-hp-body .al-shelf-photo-frame,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-photo,
  body.al-experiences-body .ex150-card-media{
    border-radius:var(--al-radius-lg)!important;
    background:var(--al-ds-surface-soft)!important;
  }

  /* Consistent title clamping keeps card baselines aligned. */
  body.al-hp-body .al-shelf-name,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy>strong,
  body.al-experiences-body .ex150-card-title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  body.al-hp-body .al-shelf-info,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy{
    padding-top:var(--al-space-2)!important;
  }

  /* One circular-control language for save and carousel controls. */
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-save,.al-service-card-save,.al-shelf-prev,.al-shelf-next,.al-service-shelf-arrows button,.al-amenity-arrow){
    border-color:var(--al-ds-border)!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:var(--al-shadow-1)!important;
  }
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-save,.al-service-card-save){
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  }
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-prev,.al-shelf-next,.al-service-shelf-arrows button,.al-amenity-arrow){
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  }

  /* Chips and filter controls share density / radius. */
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-amenity-fixed,.al-amenity-pill,.al-mf-quick-filter,.ex150-all,.ex150-cat,.ex150-filter-button){
    min-height:40px;
    border-radius:var(--al-radius-pill)!important;
  }

  /* Secondary actions are quieter than content headings. */
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-view-all,.al-service-shelf-heading a,.ex150-section-heading a){
    color:var(--al-gold,#aa792e)!important;
    text-decoration:none!important;
  }
}

/* -----------------------------
   MOBILE TYPOGRAPHY FOUNDATION
   ----------------------------- */
@media (max-width:699px){
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-shelf-heading h2,.ex150-section-heading h2,.cp-mobile-shelf-head h2){
    font-size:18px!important;line-height:24px!important;font-weight:600!important;letter-spacing:normal!important;
  }
  body.al-hp-body .al-shelf-name,
  body.al-experiences-body .ex150-card-title,
  body.al-cars-body .cp-mobile-card-meta strong{
    font-size:14px!important;line-height:18px!important;font-weight:500!important;letter-spacing:normal!important;
  }
  body.al-hp-body .al-shelf-secondary,
  body.al-experiences-body :is(.ex150-card-location,.ex150-card-desc),
  body.al-cars-body .cp-mobile-card-meta small{
    font-size:12px!important;line-height:16px!important;font-weight:400!important;color:var(--al-ds-text-secondary)!important;
  }
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-mobile-search-summary,.cp-mobile-search-summary,.ex157-mobile-search-summary) strong{
    font-size:14px!important;line-height:18px!important;font-weight:500!important;
  }
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-mobile-search-summary,.cp-mobile-search-summary,.ex157-mobile-search-summary) small{
    font-size:12px!important;line-height:16px!important;font-weight:400!important;color:var(--al-ds-text-secondary)!important;
  }
}

/* Respect user motion preferences at the foundation layer. */
@media (prefers-reduced-motion:reduce){
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) *,
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) *::before,
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) *::after{
    scroll-behavior:auto!important;
  }
}
