/* Yacht Hero Block Styles */
.yacht-hero-block {
  position: relative;
  min-height: calc(100dvh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f6f4e7;
  margin-bottom: 32px;
}

/* Background overlay */
.yacht-hero-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.yacht-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  z-index: 0;
}

.yacht-hero-image-wrapper::before,
.yacht-hero-image-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 120px; /* wysokość cienia */
  pointer-events: none;
  z-index: 1;
}

.yacht-hero-image-wrapper::before {
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.yacht-hero-image-wrapper::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}



@media (max-width: 1023px) {
  .yacht-hero-image-wrapper {
    height: calc(100dvh - 205px);
  }
}

/* Content container */
.yacht-hero-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 500px;
  gap: 24px;
}

/* Text content */
.yacht-hero-text {
  padding: 0 20px;
}

.yacht-hero-subtitle {
  color: #e3af64;
  font-family: var(--mono-font);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.yacht-hero-title {
  color: #f6f4e7;
  font-family: var(--secondary-font);
  font-size: 49px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  max-width: 205px;
}

.yacht-hero-title em {
  font-family: var(--secondary-font);
  font-style: italic;
  font-weight: 400;
}

.yacht-hero-members {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.members-title {
  color: #f6f4e7;
  text-overflow: ellipsis;
  font-family: var(--primary-font);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 13px */
}

 .members-list {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap; 
}

.member-logo {
  height: 25px;
  display: flex;
  align-items: center;
  flex-shrink: 0; 
}

.member-logo img {
  max-height: 25px;
  height: 17px;
  width: auto; 
  object-fit: contain; 
  filter: grayscale(0.7); 
  transition: filter 0.3s ease; 
}


.member-logo-1 img {
  height: 22px;
}

@media (min-width: 1024px) {
  .member-logo .member-logo-1 img {
    height: 22px;
  }
}

.member-logo-2 img,
.member-logo-3 img {
  height: 24px;
}

@media (max-width: 420px) {
 .member-logo-1 img {
    height: 20px;
  }
  .member-logo-2 img,
.member-logo-3 img {
  height: 21px;
}
}

@media (max-width: 400px) {
  .member-logo-1 img {
    height: 17px;
  }
  .member-logo-2 img,
.member-logo-3 img {
  height: 18px;
}

}

.member-logo img:hover {
  filter: grayscale(0); 
}

/* Form styles */
.yacht-booking-form {
  border-radius: 24px 24px 0 0;
  background: #fcfbf7;
  padding: 16px 16px 0 16px;
}

.form-row {
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.custom-select {
  position: relative;
}

/* TRIGGER */
.custom-select__trigger {
  height: 54px;
  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: 16px;
  color: rgba(15, 26, 58, 0.80);
  overflow: hidden;
  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__trigger .arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 8px;
}

.custom-select__trigger .arrow svg {
  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;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-field label svg {
  width: 16px;
  height: 16px;
  color: #666;
}

.form-field input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: border-color 0.3s ease;
}

.form-field input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Dates row */
.dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-picker-el {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f9efe0;
  border-radius: 8px;
  height: 54px;
  padding: 0 16px;
  color: rgba(15, 26, 58, 0.8);
}



/* Guests control */
.guests-control {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9efe0;
  border-radius: 8px;
  padding: 8px 16px;
}

.guests-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.guests-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.guests-count {
  min-width: 20px;
  text-align: center;
  font-size: 16px;
  color: rgba(15, 26, 58, 0.8);
}

/* Search button */
.search-yacht-btn {
  height: 54px;
  padding: 0 16px;
  width: 100%;
  border-radius: 8px;
  background: #192c5d;
  color: #f6f4e7;
  border: none;
  cursor: pointer;
  font-family: var(--primary-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  letter-spacing: 0.14px;
  transition: background-color 0.3s ease;
}

.search-yacht-btn:hover {
  background: #162753;
}

@media (max-width: 1023px) {
  .yacht-hero-content {
    max-width: 100%;
  }
}

.select-with-icon select,
  .date-picker-el .date-picker-el__label,
  .guests-count {
    color: rgba(15, 26, 58, 0.80);
    text-overflow: ellipsis;
    font-family: var(--primary-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    white-space: nowrap;
  }

/* Desktop specific styles */
@media (min-width: 1024px) {
  .yacht-hero-block {
    margin-bottom: 48px;
  }
  .yacht-hero-block {
    min-height: 640px;
    height: 640px;
  }
  .yacht-hero-image-wrapper {
    height: 640px;
    background-position: 0 75%;
  }

  .yacht-hero-content {
    max-width: 1060px;
    min-width: 1060px;
    margin: 0 auto;
    padding: 88px 0;
    left: 50%;
    transform: translateX(-50%);
    gap: 48px;
  }

  .yacht-hero-members {
    justify-content: flex-start;
    gap: 24px;
  }

  .yacht-hero-title {
    max-width: 495px;
    font-size: 81px;
  }

  .yacht-booking-form {
    padding: 12px;
    max-width: 740px;
    gap: 16px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
  }
  .date-picker--desktop-hiden {
    display: none;
  }
  .form-field {
    min-width: 141px;
  }

  .form-row {
    flex: 1 0 0;
    margin-bottom: 0;
  }
  .search-yacht-btn {
    flex: 1 0 0;
    width: auto;
    white-space: nowrap;
  }


  .guests-control {
    padding: 4px 8px;
  }

  .date-picker-el__label {
    height: 32px;
    display: flex;
    align-items: center;
  }

  .date-picker-el {
    padding: 4px 8px;
  }


  .icon-calendar svg {
    width: 16px;
  }

 .custom-select__trigger,
 .date-picker-el,
 .search-yacht-btn  {
    height: 40px;
  }

}

/* Loading state */
.yacht-booking-form.loading {
  opacity: 0.7;
  pointer-events: none;
}

.yacht-booking-form.loading .search-yacht-btn {
  background: #6b7280;
  cursor: not-allowed;
}

.yacht-booking-form.loading .search-yacht-btn::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.dp__theme_light {
  --dp-background-color: transparent;
  --dp-border-color: transparent;
  --dp-menu-border-color: transparent;
  --dp-range-between-dates-background-color: #f6f4e7;
  --dp-cell-size: 24px;
  --dp-row-margin: 32px 0;
  --dp-button-icon-height: 24px;
}

.dp__inner_nav:hover {
  color: #0f1a3a;
  background: #f6f4e7;
}

.dp--arrow-btn-nav span svg {
  width: 16px;
  color: #0f1a3a;
}

.dp__calendar_header {
  margin-top: 16px;
}
.dp__calendar_header_item {
  color: #0f1a3a;
  text-align: center;
  font-family: var(--font-whyte-mono);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
  text-transform: uppercase;
}

.dp__menu_inner {
  padding: 0;
}

.dp__instance_calendar {
  overflow: hidden;
}

.dp__today {
  border: none;
}

.dp__calendar_row:last-child {
  margin-bottom: 12px;
}

@media only screen and (min-width: 990px) {
  .dp__instance_calendar {
    min-width: 317px;
  }
}

@media (max-width: 378px) {
  .dp__instance_calendar {
    max-width: 360px;
  }
}

.dp__calendar_item:focus,
.dp--arrow-btn-nav:focus {
  outline: none;
}

.dp__calendar_item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp__theme_light .dp__cell_inner {
  color: #37405b;
  text-align: center;
  font-family: var(--font-whyte-mono);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
}

.dp__theme_light .dp__cell_disabled {
  color: rgba(15, 26, 58, 0.4);
  text-decoration: line-through;
}

.dp__range_start,
.dp__range_end,
.dp__active_date {
  position: relative;
  color: #f6f4e7 !important;
  background: transparent;
}

.dp__range_between {
  position: relative;
}
.dp__range_between::before {
  content: '';
  position: absolute;
  z-index: 1;
  background-color: #f6e4cb;
  width: 110px;
  height: 42px;
}

.dp__range_start::before,
.dp__range_end::before,
.dp__active_date::before {
  content: '';
  position: absolute;
  z-index: 2;
  background-color: #0f1a3a;
  width: 42px;
  height: 42px;
  border-radius: 42px;
}

.dp__month_year_wrap {
  display: flex;
  gap: 2px;
  width: 100%;
  justify-content: space-between;
}

[data-dp-element='overlay-month'] {
  margin-right: 2px;
}

.dp__overlay {
  width: 100%!important;
  max-width: 330px;
  background-color: #fff;
  border: 1px solid rgba(15, 26, 58, 0.05);
  border-radius: 12px;
}

.dp__overlay_cell_disabled {
  color:rgba(15,26,58, 0.4);
  text-decoration: line-through;
  background-color: transparent;
}
.dp__overlay_cell_disabled:hover {
  background-color: transparent;
    color:rgba(15,26,58, 0.4);
}

.dp__overlay_cell_active {
  background-color: #0f1a3a;
  color: #fff;
}

.dp__month_year_wrap > * {
  width: auto;
  color: #0f1a3a;
  text-align: center;
  font-family: 'ABCWhyte';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}


.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;
}


  .notification-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }

        .notification-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .notification {
            border-radius: 16px;
            border: 1px solid rgba(15, 26, 58, 0.05);

            background: #FFF;
            padding: 32px;
            max-width: 420px;
            width: 90%;
            box-shadow: 0 25px 50px rgba(15, 26, 58, 0.4);
            transform: translateY(20px) scale(0.95);
            transition: all 0.3s ease;
            text-align: center;

        }

        .notification-overlay.show .notification {
            transform: translateY(0) scale(1);
        }

        .notification-icon {
            width: 64px;
            height: 64px;
            background: #0F1A3A;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            position: relative;
        }

        .notification-icon::before {
            content: '';
            position: absolute;
            width: 80px;
            height: 80px;
            border: 2px solid #0F1A3A;
            border-radius: 50%;
            opacity: 0.2;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.2; }
            50% { transform: scale(1.1); opacity: 0.1; }
            100% { transform: scale(1); opacity: 0.2; }
        }

        .notification-icon svg {
            width: 28px;
            height: 28px;
            fill: white;
        }

        .notification-title {
            color: var(--Midnight-Hull, #0F1A3A);
          font-family: var(--secondary-font);
          font-size: 25px;
          font-style: normal;
          font-weight: 500;
          line-height: 38px; /* 152% */
          margin-bottom: 12px;
        }

        .notification-message {
            color: #37405B;
          font-family: var(--primary-font);
          font-size: 16px;
          font-style: normal;
          font-weight: 300;
          line-height: 160%; /* 25.6px */
          margin-bottom: 16px;
        }

        
        .notification-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

       
        .btn {
            padding: 12px 24px;
            border-radius: 8px;
           font-family: var(--primary-font);
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px; /* 171.429% */
            letter-spacing: 0.14px;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
         .btn-secondary {
            background: #f8fafc;
            color: #64748b;
            border: 1px solid #e2e8f0;
        }

        .btn-secondary:hover {
            background: #f1f5f9;
            color: #475569;
        }

        