@import './vars.css';

.yacht-listing__hero {
  padding: 44px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.yacht-listing__hero-sub-title {
  color: #e3af64;
  text-align: center;
  font-family: var(--font-whyte);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.yacht-listing__hero-title {
  color: #0f1a3a;
  text-align: center;
  font-family: var(--font-saol);
  font-size: 39px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 54.6px */
}

.yacht-listing__hero-description {
  color: #0f1a3a;
  text-align: center;
  font-family: var(--font-whyte);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 160%; /* 25.6px */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  transition: all 0.3s ease;
}

.yacht-listing__hero-description.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Style for the SVG icon */
.yacht-listing__read-more svg {
  transition: transform 0.3s ease;
}

.yacht-listing__read-more svg.rotate-180 {
  transform: rotate(180deg);
}

.yacht-listing__read-more {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.yacht-listing__read-more span {
  color: #0f1a3a;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

@media (min-width: 1024px) {
  .yacht-listing__hero {
    height: 600px;
    padding: 88px 0;
    justify-content: center;
    align-items: center;
    text-align: unset;
  }

  .yacht-listing__hero-content {
    width: 876px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
  }

  .yacht-listing__hero-content > * {
    flex: 1 0 0;
  }

  .yacht-listing__hero-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .yacht-listing__hero-sub-title,
  .yacht-listing__hero-description {
    text-align: left;
  }

  .yacht-listing__hero-title {
    color: #0f1a3a;
    font-family: var(--font-saol);
    font-size: 61px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 85.4px */
    text-align: left;
  }
}

main {
  position: relative;
}
main::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1000px;
  background: #f9efe0;
  z-index: -1;
  top: -66px;
}

.yachts-body {
  border-radius: 28px 28px 0px 0px;
  background-color: #fcfbf7;
  z-index: 2;
  height: 100%;
  min-height: 800px;
}

@media (min-width: 1024px) {
  .yachts-body {
    display: grid;
    grid-template-columns: 273px 728px;
    border-radius: none;
    column-gap: 59px;
    justify-content: center;
  }
}

.no-data {
  font-family: var(--font-whyte);
  font-size: 20px;
  font-weight: 500;
  color: #0f1a3a;

  margin: 0 auto;
  padding: 20px 0;
}

.yacht-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
  padding-top: 20px;
}

 .yacht-teaser__price-info {
            position: relative;
            display: inline-flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        
        .yacht-teaser__price-info span {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(-8px);
            background: #0F1A3A;
            color: #F6F4E7;
            padding: 8px 12px;
            border-radius: 8px;
            white-space: nowrap;
            font-family: var(--font-whyte);
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px; /* 200% */
            letter-spacing: 0.12px;
            pointer-events: none;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .yacht-teaser__price-info span::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: #333;
        }

    .yacht-teaser__details .yacht-teaser__price .week:hover + .yacht-teaser__price-info span {
                  opacity: 1;
                visibility: visible;
                transform: translateX(-50%) translateY(-16px);
    }

        .yacht-teaser__price-info:hover span {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(-16px);
        }

        .yacht-teaser__price-info svg {
            color: #6c757d;
            transition: color 0.3s ease;
        }

        .yacht-teaser__price-info:hover svg {
            color: #495057;
        }

.yacht-teaser__price-info svg {
  width: 13px;
  height: 13px;
  color: #0f1a3a;
}

@media (min-width: 1024px) {
  .yacht-list-wrapper {
    padding-top: 0;
    position: relative;
    top: -60px;
  }
  .yacht-list-wrapper--loading {
    padding-top: 100px;
  }
}

.yacht-list-wrapper--loading {
  min-height: 600px;
}

.spin-it {
  animation: spin 1.5s linear infinite;
}

.yacht-list-wrapper--loading .spinner {
  margin: 0 auto;
  width: 100%;
}

.yacht-teaser {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
}

.yacht-teaser .yacht-teaser__image-wrapper,
.yacht-teaser .yacht-teaser__image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 181/126;
  border-radius: 8px;
}

.yacht-teaser__body {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

@media (min-width: 1024px) {
  .yacht-teaser {
    flex-direction: row;
    gap: 24px;
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 26, 58, 0.05);
  }
  .yacht-teaser:hover {
    border: 1px solid rgba(15, 26, 58, 0.07);
    box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
  }
  .yacht-teaser .yacht-teaser__image-wrapper,
  .yacht-teaser .yacht-teaser__image-wrapper img {
    width: 362px;
    min-width: 362px;
  }

  .yacht-teaser__body {
    width: 100%;
    justify-content: center;
    overflow: hidden;
  }
}

.yacht-teaser .yacht-teaser__location {
  overflow: hidden;
  text-overflow: ellipsis;
}

.yacht-teaser .yacht-teaser__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.yacht-teaser .yacht-teaser__image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 181 / 126;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.yacht-teaser .yacht-teaser__image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 8px;
  transition: background-color 0.3s ease-in-out;
  z-index: 1;
}

.yacht-teaser:hover .yacht-teaser__image-wrapper img {
  transform: scale(1.05);
}

.yacht-teaser:hover .yacht-teaser__image-wrapper::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.yacht-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.yacht-teaser__title {
  margin: 0;
  font-family: var(--font-saol);
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 38px;
  text-transform: capitalize;
}

.yacht-teaser__body .yacht-header .yacht-rating__wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yacht-teaser__body .yacht-header .yacht-rating__wrapper span {
  color: #0f1a3a;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}

.yacht-teaser__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yacht-teaser__details .yacht-teaser__location {
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 0;
}

.yacht-teaser__details .yacht-teaser__location svg {
  min-width: 12px;
}

.yacht-teaser__details .yacht-teaser__location span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yacht-teaser__details .yacht-teaser__others,
.yacht-teaser__details .yacht-teaser__price {
  display: flex;
  align-items: center;
  gap: 4px;
}

.yacht-teaser__details .yacht-teaser__location span,
.yacht-teaser__details .yacht-teaser__others .yacht-teaser__others-item {
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 171.429% */
}

.yacht-teaser__details .yacht-teaser__others .deco {
  color: #0f1a3a;
  font-family: var(--font-whyte);
  font-size: 6px;
  font-style: normal;
  font-weight: 350;
  line-height: 24px; /* 400% */
}

.yacht-teaser__details .yacht-teaser__price .price {
  color: #0f1a3a;

  /* Yachts/H5 */
  font-family: var(--font-saol);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 150% */
}

.yacht-teaser__details .yacht-teaser__price .week {
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.yachts-list-footer {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.more-yachts {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .yachts-list-footer {
    grid-column: 2;
  }
}

.more-yachts--disabled {
  pointer-events: none;
  opacity: 0.6;
}

.ship-wheel__spinner {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.ship-wheel__spinner svg {
  color: #37405b;
  animation: spin 1.5s linear infinite;
  transform-origin: center;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.base-filters-wrapper {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.yacht_filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yacht_filter-group--row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.yacht_filter-group--row > * {
  flex: 1 0 0;
}

.yacht_filter-group input[type='checkbox'] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  appearance: none;
  /* For iOS < 15 to remove gradient background */
  background-color: #f9efe0;
  /* Not removed via appearance */
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

.yacht_filter-group input[type='checkbox']::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 4px;
  transform: scale(0);
  opacity: 0.8;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #0f1a3a;
}

.yacht_filter-group input[type='checkbox']:checked::before {
  transform: scale(1);
}

.label-container {
  position: relative;
  display: grid;
  grid-template-columns: 20px auto;
  align-items: center;
  gap: 8px;

  padding: 4px 0;
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 171.429% */
}

.yacht_filter-group .filter-group__label {
  color: #0f1a3a;
  font-family: var(--font-whyte-mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 166.667% */
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yacht_filter-group__description {
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 200% */
}

.yacht_filter-group .filter-group__body {
  background-color: #f9efe0;
  border-radius: 8px;
  height: 32px;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.yacht_filter-group .filter-group__body .filter-group__body__label {
  overflow: hidden;
  color: #0f1a3a;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 160%; /* 22.4px */
  flex: 1;
}

.filter-modal__body {
  padding-top: 20px;
  padding-bottom: 40px;
}

.filter-modal__body .yacht_filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.filter-modal__body .yacht_filter-group .filter-group__label {
  color: #0f1a3a;
  font-family: var(--font-saol);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 153.846% */
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.filter-modal__body .yacht_filter-group .filter-group__description {
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 200% */
}

.filter-modal__body .yacht_filter-group .filter-group__input {
  background-color: #f9efe0;
  border-radius: 8px;
  padding: 8px;
  border: 0;
  height: 40px;
  border: 1px solid transparent;
}

.filter-modal__body .yacht_filter-group .filter-group__input,
.filter-modal__body .yacht_filter-group .filter-group__input::placeholder {
  color: #a4a39a;
  font-family: var(--font-whyte);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 171.429% */
}

.filter-modal__body .yacht_filter-group .filter-group__input:focus,
.filter-modal__body .yacht_filter-group .filter-group__input:focus-visible {
  border: 1px solid #ECCA98;
  outline: none;
}

.filter-group-sep {
  width: 100%;
  height: 1px;
  min-height: 1px;
  background: rgba(15, 26, 58, 0.05);
  margin: 24px 0;
}

.filter-group__spinner {
  position: absolute;
  right: 14px;
  top: 30px;
  width: 20px;
  opacity: 0.5;
}

.yacht-listing-bar--hidden {
  transform: translateY(100%) !important;
  opacity: 0 !important;
}
.yacht-listing-bar:not(.yacht-listing-bar--hidden) {
  transform: translateY(0);
  opacity: 1;
}

.yacht-listing-bar {
  width: 100vw;
  position: fixed;
  bottom: 0;
  padding: 8px 5px 12px 5px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  background: #192c5d;
  z-index: 999;

  box-shadow: 0px -7px 14px 0px rgba(3, 5, 12, 0.2);
  backdrop-filter: blur(2px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.yacht-listing-bar .yacht-listing-bar__details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.yacht-listing-bar .yacht-listing-bar__details .detail-1 {
  height: 37px;
  overflow: hidden;
  color: #c5cdec;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 350;
  line-height: 24px; /* 171.429% */
}
.yacht-listing-bar .yacht-listing-bar__details .detail-2 {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  top: -4px;

  color: #e3af64;
  text-align: right;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: underline;
}

.detail-2 {
  width: 100%;
}

.detail-2 .truncate {
  flex: 0 1 auto;           /* ← każdy bierze tylko tyle ile potrzebuje */
  min-width: 0;              /* ← konieczne dla ellipsis w flex */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  max-width: calc(100vw / 3);
}


/* .detail-2 .truncate {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
} */




.yacht-listing-bar .yacht-listing-bar__cta {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #4a629e;
}
.yacht-listing-bar .yacht-listing-bar__cta span {
  overflow: hidden;
  color: #f6f4e7;
  text-overflow: ellipsis;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  letter-spacing: 0.14px;
}

.filter-modal {
  display: flex;
  flex-direction: column;
  height: 500px;
  position: fixed;
  bottom: 0;
  z-index: 99999;
  width: 100vw;
  border-radius: 32px 32px 0px 0px;
  background: #fcfbf7;
  box-shadow: 0px -7px 14px 0px rgba(3, 5, 12, 0.2);
  backdrop-filter: blur(2px);
  animation: slideUp 0.3s ease-out forwards;
}

.filter-modal .filter-modal__wrapper {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0 20px;
}

.modal-overlay {
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
  position: fixed;
  inset: 0; /* skrót dla top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.5); /* przyciemnienie */
  z-index: 99998; /* mniej niż modal, ale więcej niż reszta */
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nudge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 60px;
  border-radius: 32px;
  background-color: #0f1a3a;
  z-index: 9;
}

.filter-modal .filter-modal__body {
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.filter-modal .filter-modal__body:-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.mask-bottom {
  width: 100%;
  height: 32px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(252, 251, 247, 0) 0%, #fcfbf7 77.78%);
}

.mask-top {
  width: 100%;
  height: 48px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 32px 32px 0px 0px;
  background: linear-gradient(0deg, rgba(252, 251, 247, 0) 0%, #fcfbf7 77.78%);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 181 / 126;
  border-radius: 8px;
  background: linear-gradient(90deg, #eee 25%, #ddd 37%, #eee 63%);
  background-size: 400% 100%;
}

.input__group {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 10px;
}

.input__group-label {
  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 171.429% */
}

.input-with-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9efe0;
  border-radius: 8px;
  padding: 0 8px;
  gap: 8px;
}

.input-with-buttons span {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.input-with-buttons span svg {
  transition: transform 0.2s ease;
}

.input-with-buttons span:hover svg {
  transform: scale(1.2);
}

.input-with-buttons input {
  all: unset;
  width: 70px;
  height: 32px;
  text-align: center;
  color: #0f1a3a;

  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 160%; /* 22.4px */
}
.input-with-buttons input::placeholder {
  color: #a4a39a;
}

.input-with-buttons .btn {
  all: unset;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  color: #0a0a23;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type='number'] {
  /* Chrome, Safari, Edge, Opera */
  &::-webkit-outer-spin-button,
  &::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox */
  -moz-appearance: textfield;
}

.addons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.addon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9efe0;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;

  color: #37405b;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 171.429% */

  transition: background 0.2s, box-shadow 0.2s;
}

.addon-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.addon-btn .icon svg {
  width: 20px;
  height: 20px;
  color: #0f1a3a;
}

.addon-btn.active {
  background: #0f1a3a;
  color: #fff;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.addon-btn.active .icon svg {
  color: #fff;
}

/* CALENDAR */

.dp__instance_calendar {
    min-width: 317px;
    max-width: 359px;
  }
.dp__menu {
  background-color: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 8px 8px 16px 8px;
    border-radius: 16px;
    border: 1px solid rgba(15, 26, 58, 0.05);
}

.dp__action_select.dp__action_select {
  background-color: #4A629E;
  color: #F6F4E7;
  font-family: var(--primary-font);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
}

.dp__action_buttons .dp__action_select:hover {
  background: #0F1A3A;
}

.dp__action_cancel.dp__action_cancel {
  color: #0F1A3A;
  font-family: var(--primary-font);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
}

.dp__selection_preview {
  font-size: 12px;
  font-family: var(--font-whyte-mono);
}

.dp__action_cancel:hover {
  border-color: transparent;
}

.dp__input {
  height: 40px;
  border: none;
  background-color: #f9efe0;
  font-family: var(--font-whyte);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  border: 1px solid transparent;
}

.dp__input_focus {
  border: 1px solid #ECCA98;
}

.dp__input_icon {
  color: #0f1a3a;
  opacity: 0.6;
}

.custom-select {
  position: relative;
}

/* TRIGGER */
.custom-select__trigger {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf0e0;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  user-select: none;
}

.custom-select__trigger svg {
  margin-right: 8px;
}

.custom-select__trigger span[data-value] {
  flex: 1;
  color: #0f1a3a;
  font-size: 14px;
  font-family: var(--font-whyte);
  font-style: normal;
  font-weight: 300;
  line-height: 160%; /* 22.4px */
}

.custom-select__trigger .arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 8px;
}

.custom-select__trigger .arrow svg {
    width: 10px;
  transition: transform 0.2s;
}

/* OPEN STATE */
.custom-select.open .custom-select__trigger .arrow svg {
  transform: rotate(180deg);
}

/* OPTIONS */
.custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #faf0e0;
  border-radius: 8px;
  margin-top: 8px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
  padding: 8px;
}

.custom-select.open .custom-select__options {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: center;
  gap: 4px;
}

.custom-select__option {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 8px;
  cursor: pointer;
  transition: background 0.2s;
  color: rgba(15, 26, 58, 0.80);

  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--primary-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 25.6px */
}

.custom-select__option:hover {
  background: #f0dfc7;
  border-radius: 4px;
}

.custom-select__option.selected {
  background: #f0dfc7;
  border-radius: 4px;
}


.filter-btn-apply {
  position: fixed;
  bottom: 20px;
  width: calc(100% - 40px);
  
  display: flex;
  height: 54px;
  padding: 0 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 8px;
  background: #192C5D;
  overflow: hidden;
  color:  #F6F4E7;
  text-overflow: ellipsis;
  font-family: var(--font-whyte);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  letter-spacing: 0.14px;
}

@media (min-width: 1024px) { 

  .filter-btn-apply {
  display: none;
  }
}

.more-yachts--hidden {
  display: none;
}