/* Gluya MeHaYam / booking flow / affiliate 1456843.
   Only visual overrides: no content, pricing, availability, or interaction is hidden. */
@font-face {
  font-family: GluyaSwiftHeebo;
  src: url('https://gluyamehayam.co.il/wp-content/plugins/gluya-core/assets/fonts/heebo-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* The expanded search form shares the results page but has its own layout. */
body.results-page [data-ody-id="CruiseSearchBarSection"] {
  background: #103653;
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 54, 83, .12);
}

body.results-page [data-ody-id="CruiseSearchBarSection"] > .container-fluid,
body.results-page [data-ody-id="CruiseSearchBarSection"] .section-initial-search {
  max-width: 1440px;
  margin-inline: auto;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] .custom-modifysearchtext {
  padding-block: 12px 0;
  color: #fff;
  font-weight: 700;
}

body.results-page [data-ody-id="ItinerariesAndSailingsCountsContainer"] {
  padding-inline: 0 !important;
  margin-inline-start: 0 !important;
  color: #e9f4f4;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] .form-group label {
  color: #e9f4f4;
  font-weight: 600;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] .select2-selection,
body.results-page [data-ody-id="CruiseSearchBarSection"] .custom-datepicker {
  min-height: 44px;
  border: 1px solid #c7d5dc;
  border-radius: 9px;
  background: #fff;
  color: #243d47;
  box-shadow: none;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] .select2-selection__rendered,
body.results-page [data-ody-id="CruiseSearchBarSection"] .select2-search__field,
body.results-page [data-ody-id="CruiseSearchBarSection"] .custom-datepicker-input {
  color: #243d47 !important;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] .select2-search__field::placeholder,
body.results-page [data-ody-id="CruiseSearchBarSection"] .custom-datepicker-input::placeholder {
  color: #426074;
  opacity: 1;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] .section-searchbar-operations {
  border-top: 1px solid rgba(233, 244, 244, .18);
  padding-block: 12px;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] [data-ody-id="SearchButton"] {
  min-height: 44px;
  border: 1px solid #b84e3a;
  border-radius: 999px;
  background: #b84e3a;
  color: #fff;
  font-weight: 700;
}

body.results-page [data-ody-id="CruiseSearchBarSection"] [data-ody-id="AdvanceSearchLink"],
body.results-page [data-ody-id="CruiseSearchBarSection"] .searchbar-reset-search-link,
body.results-page [data-ody-id="CruiseSearchBarSection"] .custom-control-label {
  color: #fff;
}

/* The SWIFT guest-details page loads SwiftCSS, but does not use results-page. */
body.package-details-page {
  --gm-ink: #243d47;
  --gm-ocean: #103653;
  --gm-muted: #426074;
  --gm-copper: #b84e3a;
  --gm-cream: #f7efe3;
  --gm-line: #d9d7cf;
  background: var(--gm-cream);
  color: var(--gm-ink);
  font-family: GluyaSwiftHeebo, Heebo, Arial, sans-serif;
}

body.package-details-page button,
body.package-details-page input,
body.package-details-page select {
  font-family: inherit;
}

body.package-details-page [data-ody-id="BreadcrumbSection"],
body.package-details-page [data-ody-id="ProgressStepperBar"] {
  max-width: 1440px;
  margin-inline: auto;
}

body.package-details-page [data-ody-id="PackageDetailsV2Card"] {
  max-width: 1440px;
  margin-inline: auto;
  border: 1px solid var(--gm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 54, 83, .07);
}

body.package-details-page [data-ody-id="PackageDetailsInfoSidebar"] .image-container,
body.package-details-page [data-ody-id="PackageDetailsInfoSidebar"] .image-container img {
  border-radius: 12px;
}

body.package-details-page [data-ody-id="CruiseBookingHeading"] h3,
body.package-details-page [data-ody-id="CruiseBookingHeading"] .text-gradient {
  background: none;
  color: var(--gm-ocean) !important;
  -webkit-text-fill-color: currentColor;
  font-weight: 700;
}

body.package-details-page [data-ody-id="PricingFrom"] > .border,
body.package-details-page [data-ody-id="GuestInfoAdult"] fieldset,
body.package-details-page .landing-pricing-wrapper .guest-info-section fieldset {
  border: 1px solid var(--gm-line) !important;
  border-radius: 12px !important;
  background: #fff;
}

body.package-details-page [data-ody-id="PricingFrom"] .card-header {
  border-radius: 11px 11px 0 0;
  background: var(--gm-ocean) !important;
  color: #fff !important;
}

body.package-details-page [data-ody-id="PricingFrom"] .sailing-category-price,
body.package-details-page [data-ody-id="GuestInfoAdult"] .guest-info-title {
  color: var(--gm-ocean) !important;
}

body.package-details-page .checkout-step.current {
  background: var(--gm-ocean) !important;
  color: #fff !important;
}

body.package-details-page .btn-primary,
body.package-details-page [data-ody-id="GuestInfoAdult"] button[type="submit"] {
  border-color: var(--gm-copper) !important;
  border-radius: 999px;
  background: var(--gm-copper) !important;
  color: #fff !important;
  font-weight: 700;
}

body.package-details-page .form-control,
body.package-details-page .custom-select,
body.package-details-page .select2-selection {
  border-color: var(--gm-line);
  border-radius: 8px;
}

/* Classic category, cabin and checkout pages use WEBCSS/RTL_WEBCSS. */
body.page_cruise_category,
body.page_cruise_cabin,
body.page_booking_checkout {
  --gm-ink: #243d47;
  --gm-ocean: #103653;
  --gm-muted: #426074;
  --gm-copper: #b84e3a;
  --gm-cream: #f7efe3;
  --gm-line: #d9d7cf;
  background: var(--gm-cream);
  color: var(--gm-ink);
  font-family: GluyaSwiftHeebo, Heebo, Arial, sans-serif;
}

body.page_cruise_category button,
body.page_cruise_category input,
body.page_cruise_category select,
body.page_cruise_cabin button,
body.page_cruise_cabin input,
body.page_cruise_cabin select,
body.page_booking_checkout button,
body.page_booking_checkout input,
body.page_booking_checkout select {
  font-family: inherit;
}

body.page_cruise_category .page-container,
body.page_cruise_cabin .page-container,
body.page_booking_checkout .page-container {
  max-width: 1540px;
  margin-inline: auto;
}

body.page_cruise_category .card,
body.page_cruise_cabin .card,
body.page_booking_checkout .card {
  border: 1px solid var(--gm-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 54, 83, .055);
}

body.page_cruise_category .card-header.bg-secondary,
body.page_cruise_cabin .card-header.bg-secondary,
body.page_booking_checkout .card-header.bg-secondary {
  background: var(--gm-ocean) !important;
  color: #fff !important;
}

body.page_cruise_category .text-primary,
body.page_cruise_cabin .text-primary,
body.page_booking_checkout .text-primary {
  color: var(--gm-ocean) !important;
}

body.page_cruise_category .btn-primary,
body.page_cruise_cabin .btn-primary,
body.page_booking_checkout .btn-primary {
  border-color: var(--gm-copper) !important;
  border-radius: 999px;
  background: var(--gm-copper) !important;
  color: #fff !important;
  font-weight: 700;
}

body.page_cruise_category .btn-outline-primary,
body.page_cruise_cabin .btn-outline-primary,
body.page_booking_checkout .btn-outline-primary {
  border-color: var(--gm-ocean) !important;
  border-radius: 999px;
  color: var(--gm-ocean) !important;
}

body.page_cruise_category .checkout-step.current,
body.page_cruise_cabin .checkout-step.current,
body.page_booking_checkout .checkout-step.current {
  background: var(--gm-ocean) !important;
  color: #fff !important;
}

body.page_cruise_category .form-control,
body.page_cruise_category .custom-select,
body.page_cruise_cabin .form-control,
body.page_cruise_cabin .custom-select,
body.page_booking_checkout .form-control,
body.page_booking_checkout .custom-select {
  border-color: var(--gm-line);
  border-radius: 8px;
}

body.page_cruise_category #categoryTabs .nav-link {
  color: var(--gm-ocean);
  font-weight: 700;
}

body.page_cruise_category #categoryTabs .nav-link.active,
body.page_cruise_category #categoryTabs .nav-item.active .nav-link {
  border-color: var(--gm-copper);
  color: var(--gm-copper);
}

body.page_cruise_category .category-tab-content-box .card,
body.page_cruise_cabin #Stateroom-price,
body.page_booking_checkout #CheckoutSummary {
  border-radius: 14px;
}

body.page_cruise_cabin #StateroomPriceTableBody tr:nth-child(odd) {
  background: #f9f5ee;
}

body.page_booking_checkout .spc-panel-title,
body.page_booking_checkout #CheckoutSummary .card-header {
  color: var(--gm-ocean) !important;
  font-weight: 700;
}

body.page_booking_checkout .spc-panel-title:hover,
body.page_cruise_category #categoryTabs .nav-link:hover {
  color: var(--gm-copper) !important;
}

body.package-details-page :focus-visible,
body.page_cruise_category :focus-visible,
body.page_cruise_cabin :focus-visible,
body.page_booking_checkout :focus-visible {
  outline: 3px solid #0b3157;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.results-page [data-ody-id="CruiseSearchBarSection"] .section-initial-search {
    padding-inline: 10px;
  }

  body.results-page [data-ody-id="CruiseSearchBarSection"] .section-searchbar-operations {
    gap: 10px;
  }

  body.package-details-page [data-ody-id="PackageDetailsV2Card"],
  body.page_cruise_category .card,
  body.page_cruise_cabin .card,
  body.page_booking_checkout .card {
    border-radius: 10px;
  }
}

body.results-page {
  --gm-ink: #243d47;
  --gm-ocean: #103653;
  --gm-muted: #426074;
  --gm-copper: #b84e3a;
  --gm-cream: #f7efe3;
  --gm-surface: #fffdFA;
  --gm-line: #d9d7cf;
  background: var(--gm-cream);
  color: var(--gm-ink);
  font-family: GluyaSwiftHeebo, Heebo, Arial, sans-serif;
  font-size: 16px;
}

body.results-page button,
body.results-page input,
body.results-page select {
  font-family: inherit;
}

body.results-page [data-ody-id="CruiseSearchBarSectionCollapsed"] {
  background: var(--gm-ocean);
  color: #fff;
  box-shadow: none;
}

body.results-page [data-ody-id="ModifySearchLabel"] {
  color: #fff;
  font-weight: 600;
}

body.results-page [data-ody-id="ResultPageContainer"] {
  max-width: 1440px;
  margin-inline: auto;
  padding-block: 24px 48px;
}

body.results-page [data-ody-id="FilterPanelAside"] {
  background: transparent;
}

body.results-page [data-ody-id="FilterSearchlabel"] {
  border: 0;
  border-radius: 12px;
  background: var(--gm-ocean) !important;
  box-shadow: none;
}

body.results-page [data-ody-id="FilterSection"] filter-content-component.card,
body.results-page [data-ody-id="FilterPanelCruiseTypes"] {
  margin-block-end: 8px !important;
  border: 1px solid var(--gm-line);
  border-radius: 10px;
  background: var(--gm-surface);
  box-shadow: 0 2px 8px rgba(16, 54, 83, .035);
}

body.results-page [data-ody-id="SortSelector"] {
  border: 1px solid var(--gm-line);
  border-radius: 14px;
  background: var(--gm-surface);
  box-shadow: 0 5px 18px rgba(16, 54, 83, .05);
}

body.results-page [data-ody-id="SortSelector"] [data-ody-id="TotalFacetSailingCount"],
body.results-page [data-ody-id="SortSelector"] [data-ody-id="ResultsItineraryCount"] strong,
body.results-page [data-ody-id="SortSelector"] [data-ody-id="ResultsItineraryFoundCount"] strong {
  color: var(--gm-ocean) !important;
  font-weight: 700;
}

body.results-page .list-view [data-ody-id="CruiseInfoCardWrapper"] {
  margin-block-end: 24px;
  padding: 20px;
  border: 1px solid var(--gm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 54, 83, .07);
}

body.results-page .list-view .cruise-title {
  margin-block-end: 18px;
  border-block-end: 1px solid var(--gm-line);
  color: var(--gm-ocean);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

body.results-page .list-view .cruise-title .text-gradient {
  background: none;
  color: var(--gm-ocean);
  -webkit-text-fill-color: currentColor;
}

body.results-page .list-view .cruise-title .cruiseline-name {
  color: var(--gm-muted);
  font-size: 15px;
  font-weight: 400;
}

body.results-page .list-view .card-image,
body.results-page .list-view .card-image .embed-responsive,
body.results-page .list-view .card-image-caption {
  overflow: hidden;
  border-radius: 12px;
}

body.results-page .list-view .card-image-caption {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  background: rgba(16, 54, 83, .86);
}

body.results-page .list-view .cruise-info-details {
  color: var(--gm-ink);
}

body.results-page .list-view [data-ody-id="CruiseLowestPrices"] .low-rate {
  border: 1px solid var(--gm-line);
  border-radius: 12px;
  background: var(--gm-surface);
}

body.results-page .list-view [data-ody-id="CruiseLowestPrices"] .low-rate-list li {
  padding-block: 6px;
  border-bottom: 1px solid var(--gm-line);
}

body.results-page .list-view [data-ody-id="CruiseLowestPrices"] .low-rate-list li:last-child {
  border-bottom: 0;
}

body.results-page .list-view [data-ody-id="CruiseLowestPrices"] .low-rate-list li span,
body.results-page .list-view .cruise-min-price,
body.results-page .list-view .cruise-low-price {
  color: var(--gm-ocean) !important;
  font-weight: 700;
}

body.results-page .list-view .cruise-low-price {
  font-size: 26px;
}

body.results-page .list-view [data-ody-id="CruisePricesDetails"] [data-ody-id="PricingFromText"],
body.results-page .list-view .cruise-price-per-night {
  color: var(--gm-muted);
}

body.results-page .list-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns .btn {
  min-height: 42px;
  padding-inline: 18px;
  border: 1px solid var(--gm-copper);
  border-radius: 999px;
  background: var(--gm-copper);
  color: #fff;
  font-weight: 600;
}

body.results-page .list-view [data-ody-id="CruiseResultsBookButton"] {
  min-width: 104px;
  min-height: 38px;
  border: 1px solid var(--gm-copper);
  border-radius: 999px;
  background: var(--gm-copper);
  color: #fff;
  font-weight: 700;
}

body.results-page .list-view [data-ody-id="CruiseResultsBookButton"]:hover,
body.results-page .list-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns .btn:hover {
  border-color: var(--gm-ocean);
  background: var(--gm-ocean);
  color: #fff;
}

body.results-page .list-view [data-ody-id="CruiseResultsBookButton"]:focus-visible,
body.results-page .list-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns .btn:focus-visible {
  outline: 3px solid #0b3157;
  outline-offset: 3px;
}

body.results-page .list-view [data-ody-id="CruiseSailingDatesSection"] table {
  border: 1px solid var(--gm-line);
  border-radius: 10px;
  background: #fff;
}

body.results-page .list-view [data-ody-id="CruiseSailingDatesSection"] th {
  background: #f6f0e7;
  color: var(--gm-ocean);
  font-weight: 700;
}

body.results-page .list-view [data-ody-id="CruiseSailingDatesSection"] td {
  border-color: var(--gm-line);
}

/* SWIFT automatically switches to its grid card on narrow screens. */
body.results-page [data-ody-id="MobileViewSearchFilterContainer"] .card {
  border: 1px solid var(--gm-line);
  border-radius: 14px;
  background: var(--gm-surface);
  box-shadow: 0 5px 18px rgba(16, 54, 83, .05);
}

body.results-page [data-ody-id="MobileViewSearchFilterContainer"] .btn {
  border-color: var(--gm-ocean);
  border-radius: 8px;
  color: var(--gm-ocean);
  font-weight: 600;
}

body.results-page .grid-view [data-ody-id="CruiseInfoCardWrapper"] {
  overflow: hidden;
  border: 1px solid var(--gm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 54, 83, .08);
}

body.results-page .grid-view h4.cruise-title {
  display: flex !important;
  margin: 0;
  padding: 14px 16px;
  border-block-end: 1px solid var(--gm-line);
  color: var(--gm-ocean);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

body.results-page .grid-view div.cruise-title {
  display: none !important;
}

body.results-page .grid-view .cruise-title .text-gradient {
  background: none;
  color: var(--gm-ocean);
  -webkit-text-fill-color: currentColor;
}

body.results-page .grid-view .cruise-title .cruiseline-name {
  color: var(--gm-muted);
  font-size: 14px;
  font-weight: 400;
}

body.results-page .grid-view .card-image-caption {
  background: rgba(16, 54, 83, .88);
}

body.results-page .grid-view .cruise-min-price,
body.results-page .grid-view .cruise-low-price,
body.results-page .grid-view [data-ody-id="cruiseInclusiveExclusiveMessage"] {
  color: var(--gm-ocean) !important;
}

body.results-page .grid-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns .btn {
  border-color: var(--gm-copper);
  background: var(--gm-copper);
  color: #fff;
  font-weight: 700;
}

body.results-page .grid-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns .btn:hover {
  border-color: var(--gm-ocean);
  background: var(--gm-ocean);
}

/* Odysseus uses its outline button when the dates are expanded. */
body.results-page .grid-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns [data-ody-id="ShowDatesButton"].btn-outline-primary {
  background: #fff;
  color: var(--gm-ocean);
}

body.results-page .grid-view [data-ody-id="sailingDateSection"] > .section-sailing-date-btns [data-ody-id="ShowDatesButton"].btn-outline-primary:hover {
  background: var(--gm-paper, #fffdfa);
}

@media (max-width: 767px) {
  body.results-page [data-ody-id="ResultPageContainer"] {
    padding-block-start: 12px;
  }

  body.results-page .list-view [data-ody-id="CruiseInfoCardWrapper"] {
    margin-block-end: 16px;
    padding: 14px;
    border-radius: 14px;
  }

  body.results-page .list-view .cruise-title {
    font-size: 17px;
  }

  body.results-page .list-view .cruise-low-price {
    font-size: 22px;
  }
}

/* Both booking renderers paint the active arrow on an inner element. */
body.package-details-page .checkout-step.current > .checkout-step-inner {
  background: #103653 !important;
  color: #fff !important;
}

body.package-details-page .checkout-step.current > .checkout-step-inner::after {
  border-left-color: #103653 !important;
  border-right-color: #103653 !important;
}

body.page_cruise_category .nav-stepper .nav-link.active,
body.page_cruise_cabin .nav-stepper .nav-link.active,
body.page_booking_checkout .nav-stepper .nav-link.active {
  background: #103653 !important;
  color: #fff !important;
}

body.page_cruise_category .nav-stepper .nav-link.active::after,
body.page_cruise_cabin .nav-stepper .nav-link.active::after,
body.page_booking_checkout .nav-stepper .nav-link.active::after {
  border-left-color: #103653 !important;
  border-right-color: #103653 !important;
}

body.page_booking_checkout #CheckoutSummary .trip-total.bg-primary {
  background: #103653 !important;
}

/* The phone search form opens in a separate full-screen modal. */
body.results-page #searchModal .modal-content,
body.results-page #searchModal .modal-body {
  background: #f7efe3;
  color: #243d47;
}

body.results-page #searchModal .modal-header.bg-primary {
  background: #103653 !important;
  color: #fff;
}

body.results-page #searchModal [data-ody-id="ItinerariesAndSailingsCountsContainer"],
body.results-page #searchModal [data-ody-id="ItinerariesAndSailingsCountsContainer"] .opacity-50 {
  color: #426074 !important;
  opacity: 1 !important;
}

body.results-page #searchModal .form-group label {
  color: #243d47 !important;
  font-weight: 700;
}

body.results-page #searchModal .select2-selection,
body.results-page #searchModal .custom-datepicker {
  min-height: 44px;
  border: 1px solid #d9d7cf;
  border-radius: 9px;
  background: #fff;
  color: #243d47;
}

body.results-page #searchModal .select2-selection__rendered,
body.results-page #searchModal .select2-selection__placeholder,
body.results-page #searchModal .select2-search__field,
body.results-page #searchModal .custom-datepicker-input {
  color: #243d47 !important;
}

body.results-page #searchModal [data-ody-id="SearchButton"] {
  border-color: #b84e3a !important;
  border-radius: 999px;
  background: #b84e3a !important;
  color: #fff !important;
  font-weight: 700;
}

body.results-page #searchModal [data-ody-id="AdvanceSearchLink"],
body.results-page #searchModal .searchbar-reset-search-link {
  color: #103653 !important;
}

/* Gluya SWIFT: mobile result cards. Prices, availability and controls are owned by Odysseus. */
body.results-page .grid-view :is(.gm-card-summary, .gm-sailing-action-label) {
  display: none;
}

/* Gluya controls retain their native values and event handlers. */
body.results-page,
body.package-details-page,
body.page_cruise_category,
body.page_cruise_cabin,
body.page_booking_checkout {
  --gm-booking-ui-v12: 1;
}

body.page_booking_checkout #CheckoutSummary .trip-total {
  padding-block: 10px;
  font-size: 16px;
  line-height: 1.4;
}

body.page_booking_checkout #CheckoutSummary [data-ody-id="TripSummaryPackageTotal"] {
  font-size: 20px;
  font-weight: 800;
  unicode-bidi: isolate;
}

.gm-booking-shortcut {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  margin-inline: 10px;
  color: var(--gm-ocean);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page_cruise_cabin #gm-available-cabins {
  scroll-margin-block-start: 5rem;
}

body.page_booking_checkout [data-ody-id="PaymentScheduleCustomerWrapper"] {
  border-color: var(--gm-line);
  scroll-margin-block-start: 9rem;
}

body.page_booking_checkout [data-ody-id="PaymentScheduleTitleCust"] {
  background: var(--gm-ocean) !important;
  color: #fff;
}

body.page_booking_checkout [data-ody-id="PaymentScheduleSummaryWrapper"] {
  border-color: var(--gm-line);
  border-radius: 8px;
}

body.page_booking_checkout [data-ody-id="PaymentTotalValueCol3"],
body.page_booking_checkout [data-ody-id="PaymentScheduleCustTotal"] [data-ody-id="PaymentTotalValueCol"] {
  color: var(--gm-ocean);
  font-weight: 700;
}

body.page_cruise_cabin a[id^="CabinBook_"],
body.page_cruise_category .category-price-table-row a.btn {
  min-height: 40px;
  white-space: normal !important;
}

@media (max-width: 767px) {
  /* Keep an active value visible when the optional fields are collapsed. */
  body.results-page #searchModal[data-gluya-search-expanded="false"]
    :is(.search-cruise-line, .search-cruise-ship, .search-departureport-line):not(:has(.select2-selection__choice, select option:checked)) {
    display: none !important;
  }

  body.results-page .grid-view .cruise-item-card .cruise-sailing-dates.for-grid .grid-view-button [data-ody-id="BookButton"] {
    min-inline-size: 132px;
    white-space: normal;
  }

  body.page_cruise_cabin a[id^="CabinBook_"] {
    min-width: 86px;
    max-width: 126px;
    padding-inline: 9px;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  body.results-page .grid-view [data-ody-id="CruiseInfoCardWrapper"] {
    --gm-cards-v11: 1;
    margin-block-end: 16px;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(16, 54, 83, .08);
  }

  body.results-page .grid-view .cruise-item-card h4.cruise-title {
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.45;
    text-align: start;
  }

  body.results-page .grid-view h4.cruise-title > div > .justify-content-between {
    flex-wrap: wrap;
    justify-content: flex-start !important;
    row-gap: 3px;
  }

  body.results-page .grid-view h4.cruise-title .text-gradient {
    flex: 1 0 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    unicode-bidi: plaintext;
  }

  body.results-page .grid-view h4.cruise-title .rule-icons {
    flex: 1 1 auto;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    min-width: 0;
    gap: 4px;
  }

  body.results-page .grid-view h4.cruise-title .cruiseline-name {
    margin-inline: 0 !important;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
  }

  body.results-page .grid-view .cruise-item-card .card-image .embed-responsive-4by3::before {
    padding-top: 50%;
  }

  body.results-page .grid-view .cruise-item-card .card-image img {
    object-fit: cover;
    object-position: center;
  }

  /* The standard card already carries the itinerary caption in its heading. */
  body.results-page .grid-view .cruise-item-card:has(h4 .cruiseline-name:not(:empty)) .card-image-caption {
    display: none;
  }

  body.results-page .grid-view .cruise-item-card .cruise-info-details {
    padding: 9px 14px 5px;
  }

  body.results-page .grid-view .cruise-item-card .cruise-info-detail-item {
    margin-block: 0;
    padding-block: 3px;
    font-size: 14px;
    line-height: 1.4;
  }

  body.results-page .grid-view .cruise-item-card .cruise-logo img {
    max-width: 85px;
    max-height: 26px;
    object-fit: contain;
  }

  /* Keep the ship-name control on cards that expose details; mute only the repeated plain label. */
  body.results-page .grid-view .cruise-item-card:has(h4 .text-gradient > span > strong) .cruise-name > .odi-directions-boat,
  body.results-page .grid-view .cruise-item-card:has(h4 .text-gradient > span > strong) .cruise-name > .hide-view-more {
    display: none;
  }

  body.results-page .grid-view .cruise-item-card .width-cruise-info-details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 12px;
  }

  body.results-page .grid-view .cruise-item-card .width-cruise-info-details > .w-100 {
    width: auto !important;
    min-width: 0;
    max-width: 100%;
  }

  body.results-page .grid-view .cruise-item-card .cruise-location-item-inner {
    min-width: 0;
  }

  body.results-page .grid-view .cruise-item-card .cruise-location-item-inner .overflow-text {
    white-space: normal;
  }

  body.results-page .grid-view .cruise-item-card [data-ody-id="PackagePriceSection"] {
    padding: 0 12px;
  }

  body.results-page .grid-view .cruise-item-card [data-ody-id="CruisePricesDetails"] {
    margin-block: 4px 0;
    padding: 9px 11px;
    border: 1px solid var(--gm-line);
    border-radius: 10px;
    background: var(--gm-paper, #fffdfa);
  }

  body.results-page .grid-view .cruise-item-card .cruise-item-min-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 5px;
    margin: 0 !important;
    padding: 0 !important;
    text-align: start;
    white-space: normal !important;
  }

  body.results-page .grid-view .cruise-item-card .cruise-item-min-price .cruise-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 4px;
    max-width: 100%;
    margin: 0 !important;
  }

  body.results-page .grid-view .cruise-item-card [data-ody-id="PricingFromText"] {
    color: var(--gm-muted);
    font-size: 14px;
  }

  body.results-page .grid-view .cruise-item-card .cruise-low-price {
    font-size: clamp(23px, 6.7vw, 28px);
    font-weight: 800;
    line-height: 1.16;
    direction: ltr;
    unicode-bidi: isolate;
  }

  body.results-page .grid-view .cruise-item-card .cruise-price-per-night,
  body.results-page .grid-view .cruise-item-card [data-ody-id="labelNight"] {
    color: var(--gm-muted);
    font-size: 13px;
  }

  body.results-page .grid-view .cruise-item-card .cruise-item-min-price [data-ody-id="cruiseInclusiveExclusiveMessage"] {
    flex-basis: 100%;
    font-size: 13px;
    line-height: 1.4;
  }

  body.results-page .grid-view .cruise-item-card .section-sailing-date-btns {
    padding: 8px 12px 12px;
  }

  body.results-page .grid-view .cruise-item-card [data-ody-id="ShowDatesButton"] {
    min-height: 44px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.25;
  }

  body.results-page .grid-view .cruise-item-card [data-ody-id="BookButton"] {
    min-height: 44px;
    border-color: var(--gm-copper);
    border-radius: 8px;
    background: var(--gm-copper);
    color: #fff;
    font-weight: 700;
  }

  body.results-page .grid-view .cruise-item-card [data-ody-id="ShowDatesButton"]:focus-visible,
  body.results-page .grid-view .cruise-item-card [data-ody-id="BookButton"]:focus-visible {
    outline: 3px solid var(--gm-ocean);
    outline-offset: 2px;
  }

  /* The standard SWIFT card provides a separate per-traveler unit. */
  html:lang(he) body.results-page .grid-view .cruise-item-card .cruise-price {
    flex: 1 1 0;
  }

  html:lang(he) body.results-page .grid-view .cruise-item-card .cruise-min-price {
    display: flex;
    align-items: baseline;
    flex: 0 0 100%;
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  html:lang(he) body.results-page .grid-view .cruise-item-card .cruise-min-price > .gm-price-unit {
    display: inline !important;
    color: var(--gm-ink);
    font-size: 13px;
    font-weight: 600;
  }

  body.results-page .grid-view .gm-short-heading :is(.gm-heading-original, .gm-heading-original-detail) {
    display: none !important;
  }

  body.results-page .grid-view .gm-short-heading .gm-card-summary {
    display: grid;
    justify-items: start;
    gap: 3px;
  }

  body.results-page .grid-view .gm-card-ship {
    font-size: 19px;
    font-weight: 800;
  }

  body.results-page .grid-view :is(.gm-card-journey, .gm-card-route) {
    color: var(--gm-muted);
    font-size: 13px;
    font-weight: 500;
  }

  html:lang(he) body.results-page .grid-view .cruise-item-card .cruise-price-per-night,
  html:lang(he) body.results-page .grid-view .cruise-item-card [data-ody-id="labelNight"] {
    font-size: 12px;
    font-weight: 400;
  }

  body.results-page .grid-view .cruise-item-card .cruise-sailing-dates.for-grid .cruise-result-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 6px 8px;
    padding: 10px;
    border: 1px solid var(--gm-line);
    border-radius: 10px;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .cruise-result-list > li {
    width: auto;
    min-width: 0;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .cruise-result-list > [data-ody-id="DepartureDate"] {
    grid-area: 1 / 1;
    text-align: start;
    font-weight: 700;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .cruise-result-list > [data-ody-id="PriceDisplayType"] {
    grid-area: 1 / 2;
    justify-self: end;
    color: var(--gm-ocean);
    font-weight: 700;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .cruise-result-list > :is(.grid-view-button, .w-100, .rules-icons, .package-buttons-item) {
    grid-column: 1 / -1;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .cruise-result-list > .package-buttons-item {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-block-end: 4px !important;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .package-buttons-item .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 38px;
    width: auto;
    margin: 0 !important;
    padding: 4px 7px;
    border-color: var(--gm-line);
    border-radius: 6px;
    color: var(--gm-ocean);
    font-size: 12px;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .gm-sailing-action-label {
    display: inline;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .grid-view-button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-self: stretch;
    justify-content: space-between;
    gap: 8px;
    max-width: none;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .grid-view-button [data-ody-id="BookButton"] {
    width: auto;
    min-inline-size: 90px;
    max-width: none;
    margin-inline-start: auto;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .grid-view-button > .my-2 {
    margin-block: 0 !important;
    color: var(--gm-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid .cruise-result-list > .w-100 > .text-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    text-align: start !important;
    white-space: normal !important;
  }

  body.results-page .grid-view .cruise-sailing-dates.for-grid [data-ody-id="cruiseResultsBookPriceDisclaimer"] {
    min-height: 36px;
    color: var(--gm-ocean);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

}
