/* RCD Home — approved XD implementation
   Source: hero RCD ....xd, 1366 × 762 artboards.
   Desktop geometry follows the XD; mobile keeps the existing responsive flow.
*/

@media (min-width: 1001px) {
  body.crs-home-shell .rcd-xd-hero {
    --xd-card-width: clamp(391px, 28.62vw, 440px);
    --xd-card-height: clamp(542px, 39.68vw, 610px);
    position: relative !important;
    height: max(663px, calc(100vh - 99px)) !important;
    min-height: 663px !important;
    max-height: 900px !important;
    padding: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    color: #fff !important;
    background:
      linear-gradient(90deg, #08402f 0%, rgba(2, 13, 9, .463) 100%),
      url('/images/home/xd-approved/hero-background-xd.png?v=20261028xd4') center center / cover no-repeat !important;
  }

  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero {
    background:
      linear-gradient(270deg, #08402f 0%, rgba(2, 13, 9, .463) 100%),
      url('/images/home/xd-approved/hero-background-xd.png?v=20261028xd4') center center / cover no-repeat !important;
  }

  body.crs-home-shell .rcd-xd-hero::before,
  body.crs-home-shell .rcd-xd-hero::after,
  body.crs-home-shell .rcd-xd-hero-copy::before,
  body.crs-home-shell .rcd-xd-hero__inner::after {
    display: none !important;
    content: none !important;
  }

  body.crs-home-shell .rcd-xd-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    direction: ltr !important;
  }

  body.crs-home-shell .rcd-xd-hero-copy {
    position: absolute !important;
    z-index: 3 !important;
    top: 15% !important;
    left: 8.2% !important;
    width: 43% !important;
    max-width: 590px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    direction: ltr !important;
    text-align: left !important;
  }

  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero-copy {
    left: auto !important;
    right: 8.2% !important;
    direction: rtl !important;
    text-align: right !important;
  }

  body.crs-home-shell .rcd-xd-hero-kicker {
    display: block !important;
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: clamp(12px, .94vw, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
  }

  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero-kicker {
    letter-spacing: .035em !important;
    text-transform: none !important;
  }

  body.crs-home-shell .rcd-xd-hero h1 {
    margin: 0 !important;
    display: grid !important;
    gap: 0 !important;
    color: #fff !important;
    font-size: clamp(52px, 4.45vw, 72px) !important;
    line-height: 1.035 !important;
    letter-spacing: -.045em !important;
    font-style: normal !important;
    font-weight: 800 !important;
    text-align: inherit !important;
  }

  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero h1 {
    font-size: clamp(48px, 4.1vw, 68px) !important;
    letter-spacing: -.018em !important;
  }

  body.crs-home-shell .rcd-xd-hero h1 > span {
    display: block !important;
  }

  body.crs-home-shell .rcd-xd-hero h1 .rcd-xd-hero-accent {
    margin-top: 4px !important;
    color: #62e3b9 !important;
  }

  body.crs-home-shell .rcd-xd-hero-copyline {
    max-width: 560px !important;
    margin: 24px 0 0 !important;
    color: #fff !important;
    font-size: clamp(16px, 1.17vw, 20px) !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
  }

  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero-copyline {
    margin-inline-start: auto !important;
  }

  body.crs-home-shell .rcd-xd-search-shell {
    position: absolute !important;
    z-index: 4 !important;
    top: 11% !important;
    right: 14% !important;
    width: var(--xd-card-width) !important;
    height: var(--xd-card-height) !important;
    min-width: 391px !important;
    min-height: 542px !important;
    margin: 0 !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    border: 0 !important;
    border-radius: 23px !important;
    background: #eaf1ee !important;
    box-shadow: 0 18px 46px rgba(1, 36, 26, .16) !important;
    overflow: visible !important;
    direction: ltr !important;
  }

  html[dir="rtl"] body.crs-home-shell .rcd-xd-search-shell {
    right: auto !important;
    left: 14% !important;
    direction: rtl !important;
  }

  body.crs-home-shell .rcd-xd-search-shell form[hidden],
  body.crs-home-shell .rcd-xd-search-shell [hidden] {
    display: none !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher {
    flex: 0 0 92px !important;
    width: 100% !important;
    min-height: 92px !important;
    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    direction: ltr !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher[data-service-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher[data-service-count="1"] {
    display: none !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab {
    position: relative !important;
    width: auto !important;
    height: 92px !important;
    min-height: 92px !important;
    padding: 9px 7px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #063f2e !important;
    box-shadow: none !important;
    direction: ltr !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab.is-active {
    background: #0d4c3a !important;
    color: #fff !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab::after {
    content: "" !important;
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #eaf1ee !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab.is-active::after {
    background: #fff !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab__media {
    flex: 0 0 44px !important;
    width: 92px !important;
    height: 44px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab__media img {
    width: 92px !important;
    height: 44px !important;
    object-fit: contain !important;
    filter: none !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher [data-home-service="car_transfer"] .rcd-home-service-tab__media img {
    width: 82px !important;
    height: 42px !important;
  }

  body.crs-home-shell .rcd-xd-service-switcher .rcd-home-service-tab__label {
    margin: 0 !important;
    color: inherit !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
  }

  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card,
  body.crs-home-shell .rcd-xd-alt-search-card:not([hidden]) {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 58px) 54px !important;
    gap: 10px !important;
    align-content: center !important;
  }

  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > input[type="hidden"],
  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-range-source,
  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-xd-range-fallback[hidden] {
    display: none !important;
  }

  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .field:not(.rcd-range-source),
  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-rental-range,
  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-xd-range-fallback:not([hidden]),
  body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-xd-pickup-time-proxy {
    position: relative !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 46px 0 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #5f746c !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .field:not(.rcd-range-source),
  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-rental-range,
  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-xd-range-fallback:not([hidden]),
  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm.rcd-xd-search-card > .rcd-xd-pickup-time-proxy {
    padding: 0 56px 0 46px !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .field > label,
  body.crs-home-shell #marketplaceSearchForm .rcd-rental-range__label,
  body.crs-home-shell #marketplaceSearchForm > .rcd-xd-range-fallback > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .field > select,
  body.crs-home-shell #marketplaceSearchForm .rcd-rental-range__trigger {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    color: #5f746c !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-align: start !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  body.crs-home-shell #marketplaceSearchForm .rcd-rental-range__trigger {
    display: flex !important;
    align-items: center !important;
  }

  body.crs-home-shell #marketplaceSearchForm .rcd-rental-range__trigger [data-range-summary] {
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.crs-home-shell #marketplaceSearchForm .rcd-range-calendar-icon {
    position: absolute !important;
    left: 18px !important;
    width: 24px !important;
    height: 24px !important;
    color: #0b5c43 !important;
  }

  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm .rcd-range-calendar-icon {
    left: auto !important;
    right: 18px !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .field:not(.rcd-range-source)::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    transform: translateY(-50%) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
  }

  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm > .field:not(.rcd-range-source)::before {
    left: auto !important;
    right: 18px !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .field:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5c43' stroke-width='1.8'%3E%3Cpath d='M12 21s6-5.2 6-11a6 6 0 1 0-12 0c0 5.8 6 11 6 11Z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E") !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .field:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5c43' stroke-width='1.8'%3E%3Cpath d='M4 21V6h9v15M13 10h7v11M7 9h3M7 13h3M7 17h3M16 13h2M16 17h2M2 21h20'/%3E%3C/svg%3E") !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .field:not(.rcd-range-source)::after,
  body.crs-home-shell #marketplaceSearchForm > .rcd-rental-range::after {
    content: "" !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    width: 18px !important;
    height: 18px !important;
    transform: translateY(-50%) !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5c43' stroke-width='1.8'%3E%3Cpath d='m7 9.5 5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat !important;
    pointer-events: none !important;
  }

  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm > .field:not(.rcd-range-source)::after,
  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm > .rcd-rental-range::after {
    right: auto !important;
    left: 16px !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .rcd-xd-range-fallback > strong {
    color: #5f746c !important;
    font-size: 15px !important;
    font-weight: 400 !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .rcd-xd-range-fallback > svg,
  body.crs-home-shell #marketplaceSearchForm > .rcd-xd-pickup-time-proxy > svg:first-child {
    position: absolute !important;
    left: 18px !important;
    width: 24px !important;
    height: 24px !important;
    color: #0b5c43 !important;
  }

  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm > .rcd-xd-range-fallback > svg,
  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm > .rcd-xd-pickup-time-proxy > svg:first-child {
    left: auto !important;
    right: 18px !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .rcd-xd-pickup-time-proxy {
    font-size: 15px !important;
    font-weight: 400 !important;
    text-align: start !important;
    cursor: pointer !important;
  }

  body.crs-home-shell #marketplaceSearchForm > .rcd-xd-pickup-time-proxy .rcd-xd-field-chevron {
    position: absolute !important;
    right: 16px !important;
    width: 18px !important;
    height: 18px !important;
    color: #0b5c43 !important;
  }

  html[dir="rtl"] body.crs-home-shell #marketplaceSearchForm > .rcd-xd-pickup-time-proxy .rcd-xd-field-chevron {
    right: auto !important;
    left: 16px !important;
  }

  body.crs-home-shell #marketplaceSearchButton,
  body.crs-home-shell .rcd-xd-alt-search-card .button {
    width: 232px !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 auto !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: #063f2e !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    box-shadow: none !important;
  }

  body.crs-home-shell #marketplaceSearchButton .rcd-xd-search-icon,
  body.crs-home-shell #marketplaceSearchButton .rcd-xd-search-arrow,
  body.crs-home-shell .rcd-xd-alt-search-card .button svg {
    display: none !important;
  }

  body.crs-home-shell .rcd-xd-yacht-search-card:not([hidden]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "country marina"
      "date time"
      "duration guests"
      "submit submit" !important;
    grid-template-rows: repeat(3, 62px) 54px !important;
    gap: 11px !important;
    align-content: center !important;
  }

  body.crs-home-shell .rcd-xd-yacht-country { grid-area: country !important; }
  body.crs-home-shell .rcd-xd-yacht-marina { grid-area: marina !important; }
  body.crs-home-shell .rcd-xd-yacht-date { grid-area: date !important; }
  body.crs-home-shell .rcd-xd-yacht-time { grid-area: time !important; }
  body.crs-home-shell .rcd-xd-yacht-duration { grid-area: duration !important; }
  body.crs-home-shell .rcd-xd-yacht-guests { grid-area: guests !important; }
  body.crs-home-shell .rcd-xd-yacht-submit { grid-area: submit !important; }

  body.crs-home-shell .rcd-xd-transfer-search-card:not([hidden]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "country service"
      "from from"
      "to to"
      "duration pickup"
      "submit submit" !important;
    grid-template-rows: 60px 68px 68px 62px 54px !important;
    gap: 9px !important;
    align-content: center !important;
  }

  body.crs-home-shell .rcd-xd-transfer-country { grid-area: country !important; }
  body.crs-home-shell .rcd-xd-transfer-service { grid-area: service !important; }
  body.crs-home-shell .rcd-xd-transfer-from { grid-area: from !important; }
  body.crs-home-shell .rcd-xd-transfer-to { grid-area: to !important; }
  body.crs-home-shell .rcd-xd-transfer-duration { grid-area: duration !important; }
  body.crs-home-shell .rcd-xd-transfer-pickup { grid-area: pickup !important; }
  body.crs-home-shell .rcd-xd-transfer-submit { grid-area: submit !important; }

  body.crs-home-shell .rcd-xd-transfer-duration[hidden] + .rcd-xd-transfer-pickup {
    grid-column: 1 / -1 !important;
    grid-area: auto !important;
  }

  body.crs-home-shell .rcd-xd-alt-search-card > .field {
    position: relative !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    display: grid !important;
    align-content: center !important;
    gap: 3px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.crs-home-shell .rcd-xd-alt-search-card > .field label {
    margin: 0 !important;
    color: #81938c !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.crs-home-shell .rcd-xd-alt-search-card > .field select,
  body.crs-home-shell .rcd-xd-alt-search-card > .field input {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #24493d !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  body.crs-home-shell .rcd-xd-transfer-place-field {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 28px !important;
    column-gap: 8px !important;
  }

  body.crs-home-shell .rcd-xd-transfer-place-field label {
    grid-column: 1 / -1 !important;
  }

  body.crs-home-shell .rcd-xd-transfer-place-field > input[type="search"] {
    grid-column: 1 !important;
  }

  body.crs-home-shell .rcd-xd-current-location {
    grid-column: 2 !important;
    min-width: 88px !important;
    height: 28px !important;
    padding: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #edf5f1 !important;
    color: #0b5c43 !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  body.crs-home-shell .rcd-xd-transfer-place-options {
    position: absolute !important;
    z-index: 20 !important;
    top: calc(100% + 5px) !important;
    inset-inline: 0 !important;
    max-height: 180px !important;
    overflow-y: auto !important;
    border: 1px solid #dbe6e0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(0, 50, 36, .14) !important;
  }

  body.crs-home-shell .rcd-xd-transfer-place-option {
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef3f0 !important;
    background: #fff !important;
    color: #24493d !important;
    font-size: 11px !important;
    text-align: start !important;
  }

  body.crs-home-shell .marketplace-search-status {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  body.crs-home-shell .rcd-xd-hero {
    background:
      linear-gradient(180deg, rgba(8, 64, 47, .88), rgba(2, 13, 9, .58)),
      url('/images/home/xd-approved/hero-background-xd.png?v=20261028xd4') center / cover no-repeat !important;
  }

  body.crs-home-shell .rcd-xd-search-shell form[hidden],
  body.crs-home-shell .rcd-xd-search-shell [hidden] {
    display: none !important;
  }
}

/* Header geometry from the approved XD artboards. */
@media (min-width: 1001px) {
  body.crs-home-shell .rcd-xd-header {
    min-height: 99px !important;
    height: 99px !important;
  }

  body.crs-home-shell .rcd-xd-header__inner {
    width: calc(100% - 132px) !important;
    max-width: none !important;
    height: 99px !important;
    margin: 0 66px !important;
    grid-template-columns: 58px minmax(0, 1fr) auto !important;
    gap: 42px !important;
  }

  body.crs-home-shell .rcd-xd-header__brand,
  body.crs-home-shell .rcd-xd-header__brand img {
    width: 58px !important;
    height: 58px !important;
  }

  body.crs-home-shell .rcd-xd-header__nav {
    gap: clamp(54px, 6.25vw, 92px) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }

  body.crs-home-shell .rcd-xd-header__actions {
    gap: 10px !important;
  }

  body.crs-home-shell .rcd-xd-header__actions .rcd-header-icon-control,
  body.crs-home-shell .rcd-xd-header__icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 14px !important;
    background: #eaf3ee !important;
  }

  body.crs-home-shell .rcd-xd-header__actions .rcd-header-icon-control > svg,
  body.crs-home-shell .rcd-xd-header__icon svg,
  body.crs-home-shell .rcd-xd-header__language::before {
    width: 21px !important;
    height: 21px !important;
    background-size: 21px 21px !important;
  }

  body.crs-home-shell .rcd-xd-header__login {
    width: 106px !important;
    min-width: 106px !important;
    height: 41px !important;
    min-height: 41px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    background: #35754b !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
  }
}

/* Final XD state contract: exactly one form, one headline and the full desktop header. */
@media (min-width: 1001px) {
  html body.crs-home-shell #search #marketplaceSearchForm[hidden],
  html body.crs-home-shell #search #rcdHomeYachtSearchForm[hidden],
  html body.crs-home-shell #search #rcdHomeTransferSearchForm[hidden] {
    display: none !important;
  }

  html[lang="en"] body.crs-home-shell #top .rcd-xd-hero-copy,
  html:not([lang="en"]) body.crs-home-shell #top .rcd-xd-hero-copy {
    position: absolute !important;
    z-index: 3 !important;
    top: 15% !important;
    left: 8.2% !important;
    width: 43% !important;
    max-width: 590px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    direction: ltr !important;
    text-align: left !important;
  }

  html[dir="rtl"] body.crs-home-shell #top .rcd-xd-hero-copy {
    left: auto !important;
    right: 8.2% !important;
    direction: rtl !important;
    text-align: right !important;
  }

  html body.crs-home-shell #rcdPublicHeader {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 99px !important;
    min-height: 99px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    transform: none !important;
  }

  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__inner {
    width: calc(100% - 132px) !important;
    max-width: none !important;
    height: 99px !important;
    min-height: 99px !important;
    margin: 0 66px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) auto !important;
    grid-template-areas: none !important;
    align-items: center !important;
    gap: 42px !important;
    direction: ltr !important;
  }

  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__brand {
    grid-column: 1 !important;
    grid-area: auto !important;
    position: static !important;
    justify-self: start !important;
    display: flex !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
  }

  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__nav {
    grid-column: 2 !important;
    grid-area: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__actions {
    grid-column: 3 !important;
    grid-area: auto !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  html body.crs-home-shell #rcdPublicHeader .crs-header-sign-in,
  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__login {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 106px !important;
    min-width: 106px !important;
    height: 41px !important;
    min-height: 41px !important;
    margin: 0 !important;
  }
}


/* ========================================================================
   XD3 final correction — direct artboard geometry and locale mirroring.
   ======================================================================== */
@media (min-width:1001px){
  html body.crs-home-shell .rcd-xd-hero{
    background:#08402f!important;
  }
  html body.crs-home-shell .rcd-xd-hero::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    pointer-events:none!important;
    background:url('/images/home/xd-approved/hero-background-xd.png?v=20261028xd4') center/cover no-repeat!important;
    transform:none!important;
  }
  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero::before{
    transform:scaleX(-1)!important;
  }
  html body.crs-home-shell .rcd-xd-hero::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    pointer-events:none!important;
    background:linear-gradient(90deg,#08402f 0%,rgba(2,13,9,.463) 100%)!important;
  }
  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero::after{
    background:linear-gradient(270deg,#08402f 0%,rgba(2,13,9,.463) 100%)!important;
  }
  html body.crs-home-shell .rcd-xd-hero-copy::before,
  html[dir="rtl"] body.crs-home-shell .rcd-xd-hero__inner::after{
    display:none!important;
    content:none!important;
    background:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  html body.crs-home-shell .rcd-xd-hero__inner{
    position:relative!important;
    z-index:2!important;
  }

  html body.crs-home-shell .rcd-xd-search-shell{
    top:11%!important;
    right:14%!important;
    left:auto!important;
  }
  html[dir="rtl"] body.crs-home-shell .rcd-xd-search-shell{
    right:auto!important;
    left:6.7%!important;
  }

  html body.crs-home-shell #search #marketplaceSearchForm[hidden],
  html body.crs-home-shell #search #rcdHomeYachtSearchForm[hidden],
  html body.crs-home-shell #search #rcdHomeTransferSearchForm[hidden]{
    display:none!important;
  }

  /* Arabic XD artboard: logo on the right, actions on the left. */
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__inner{
    width:calc(100% - 111px)!important;
    margin-left:43px!important;
    margin-right:68px!important;
    grid-template-columns:auto minmax(0,1fr) 58px!important;
    direction:ltr!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__brand{
    grid-column:3!important;
    justify-self:end!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__nav{
    grid-column:2!important;
    flex-direction:row-reverse!important;
    direction:ltr!important;
    font-family:Tajawal,Arial,sans-serif!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__actions{
    grid-column:1!important;
    justify-content:flex-start!important;
    flex-direction:row-reverse!important;
    direction:ltr!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__login{
    width:128px!important;
    min-width:128px!important;
    height:41px!important;
    min-height:41px!important;
    font-family:Tajawal,Arial,sans-serif!important;
    font-size:16px!important;
    font-weight:400!important;
  }
}

@media (max-width:1000px){
  html body.crs-home-shell .rcd-xd-hero::before{
    background:url('/images/home/xd-approved/hero-background-xd.png?v=20261028xd4') center/cover no-repeat!important;
  }
  html body.crs-home-shell .rcd-xd-search-shell form[hidden],
  html body.crs-home-shell .rcd-xd-search-shell [hidden]{
    display:none!important;
  }
}


/* ========================================================================
   XD4 release lock — exact extracted artwork + deterministic header row.
   ======================================================================== */
@media (min-width:1001px){
  html body.crs-home-shell .rcd-xd-hero::before{
    background:url('/images/home/xd-approved/hero-background-xd.png?v=20261028xd4') center/cover no-repeat!important;
  }

  /* Force every header child into the same row; old pixel-tune transforms
     otherwise make the Arabic actions fall into the hero. */
  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__brand,
  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__nav,
  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__actions{
    grid-row:1!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
  }
  html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__login{
    margin:0!important;
    transform:none!important;
  }

  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__inner{
    grid-template-rows:99px!important;
    align-items:center!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__brand{
    grid-column:3!important;
    grid-row:1!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__nav{
    grid-column:2!important;
    grid-row:1!important;
  }
  html[dir="rtl"] body.crs-home-shell #rcdPublicHeader .rcd-xd-header__actions{
    grid-column:1!important;
    grid-row:1!important;
  }

  /* XD car-rental CTA is 232 × 54 and centered, unlike the full-width app
     buttons used by the service-specific forms. */
  html body.crs-home-shell #search #marketplaceSearchForm #marketplaceSearchButton{
    width:232px!important;
    min-width:232px!important;
    max-width:232px!important;
    height:54px!important;
    min-height:54px!important;
    margin:0 auto!important;
    justify-self:center!important;
    border-radius:13px!important;
  }
}


/* XD5 — lock the Login/Profile action to the exact dark green from the XD. */
html body.crs-home-shell #rcdPublicHeader .crs-header-sign-in,
html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__login,
html body.crs-home-shell #rcdPublicHeader .crs-header-sign-in:hover,
html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__login:hover,
html body.crs-home-shell #rcdPublicHeader .crs-header-sign-in:focus-visible,
html body.crs-home-shell #rcdPublicHeader .rcd-xd-header__login:focus-visible{
  background:#35754b!important;
  background-color:#35754b!important;
}
