.book-layout {
  padding: 16px 0 40px;
}

.book-page-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}

.book-page-title span {
  font-size: 13px;
  color: #697488;
}

.cabin-pick-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.cabin-pick-lead {
  font-size: 13px;
  color: #697488;
  margin-bottom: 14px;
}

.cabin-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cabin-pick {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 18px 16px 16px;
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #f7f2ea;
}

.cabin-pick__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.cabin-pick__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d8ccb8;
  border-radius: 50%;
  font-size: 10px;
  color: #6b5e4e;
}

.cabin-pick__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #2b241c;
}

.cabin-pick__head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #7a6e60;
}

.cabin-pick__beds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 92px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
}

.cabin-pick__bed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 84px;
  min-height: 84px;
  padding: 8px 6px;
  border-radius: 12px;
  background: #e6d9c8;
  color: #3b3228;
  font-size: 11px;
  font-weight: 600;
}

.cabin-pick__bed.is-reserved {
  opacity: 0.9;
}

.cabin-pick__bed.is-male {
  background: #d7e4f6;
}

.cabin-pick__bed.is-female {
  background: #f3d7e4;
}

.cabin-pick__genders {
  display: flex;
  gap: 4px;
}

.cabin-pick__genders button {
  border: 0;
  border-radius: 4px;
  padding: 2px 6px;
  background: #fff;
  font-size: 10px;
  cursor: pointer;
}

.cabin-pick__genders button.is-on {
  background: #0d2857;
  color: #fff;
}

.cabin-pick__bed.is-locked .cabin-pick__genders {
  pointer-events: none;
  opacity: 0.4;
}

.cabin-pick__option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid #e0d4c2;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.cabin-pick__option.is-disabled {
  color: #7a6e60;
  cursor: default;
}

.cabin-pick__option span {
  min-width: 0;
}

.cabin-pick__option strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #2b241c;
}

.cabin-pick__option small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: #8a7d6d;
}

.cabin-pick__option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #c4b6a2;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.cabin-pick__option input[type="checkbox"]:checked {
  background: #3554d1;
  border-color: #3554d1;
}

.cabin-pick__option input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cabin-pick__radio {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbbfae;
  border-radius: 50%;
}

.cabin-pick__price {
  margin-top: 8px;
  font-size: 12px;
  color: #7a6e60;
}

.book-passengers {
  margin-top: 24px;
  padding-top: 8px;
}

.book-passengers h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.book-passengers__lead {
  font-size: 13px;
  color: #697488;
  margin: 0 0 12px;
}

.book-passengers__list {
  display: grid;
  gap: 10px;
}

.book-passenger {
  padding: 14px 16px;
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #f7f2ea;
}

.book-passenger__meta {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2b241c;
}

.book-passenger__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(210px, 0.9fr);
  gap: 10px;
}

.book-passenger__fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #6b5e4e;
}

.book-passenger__fields input {
  height: 40px;
  width: 100%;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 400;
  color: #051036;
  border: 1px solid #e0d4c2;
  border-radius: 8px;
  background: #fff;
}

.birth-date {
  position: relative;
}

.birth-date__input {
  padding-right: 38px;
}

.birth-date__toggle {
  position: absolute;
  right: 4px;
  top: 0;
  width: 36px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #6b5e4e;
  cursor: pointer;
}

.birth-date__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  width: 292px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(13, 40, 87, 0.14);
}

.birth-date__nav {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  margin-bottom: 10px;
}

.birth-date__nav select {
  height: 36px;
  width: 100%;
  border: 1px solid #e0d4c2;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 13px;
  background: #fff;
}

.birth-date__week,
.birth-date__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.birth-date__week {
  margin-bottom: 4px;
  font-size: 10px;
  text-align: center;
  color: #8a7d6d;
}

.birth-date__day {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.birth-date__day:hover:not(:disabled) {
  background: #eef2ff;
}

.birth-date__day.is-on {
  background: #3554d1;
  color: #fff;
}

.birth-date__day:disabled {
  color: #d4cbbd;
  cursor: default;
}

.book-contact {
  margin-top: 20px;
}

.book-contact h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.book-contact__hint {
  font-size: 13px;
  color: #697488;
  margin: 0 0 10px;
}

.book-contact__copy {
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 0 0 12px;
  padding: 0 12px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background: #fff;
  color: #3554d1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.book-contact__copy[hidden] {
  display: none;
}

.book-contact__copy:hover {
  background: #eef2ff;
}

.book-contact .iti {
  width: 100%;
}

.book-contact .iti input.js-intl-phone {
  width: 100%;
  height: 40px;
}

.book-layout {
  --iti-path-flags-1x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.2/build/img/flags.webp");
  --iti-path-flags-2x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.2/build/img/flags@2x.webp");
  --iti-path-globe-1x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.2/build/img/globe.webp");
  --iti-path-globe-2x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.2/build/img/globe@2x.webp");
}

.famfamfam-flags {
  background-image: url("https://cdn.jsdelivr.net/npm/famfamfam-flags@1.0.0/dist/sprite/famfamfam-flags.png");
}

.book-contact .row {
  --bs-gutter-y: 10px;
}

.book-contact input,
.book-contact textarea {
  height: 40px;
  padding: 8px 10px;
  font-size: 13px;
}

.book-contact textarea {
  height: 72px;
}

.book-summary {
  padding: 16px 18px;
}

.book-summary__title {
  font-size: 15px;
  font-weight: 600;
}

.book-summary #summaryPrice {
  font-size: 22px;
  font-weight: 600;
  margin-top: 10px;
}

.book-summary .button {
  height: 44px;
  margin-top: 14px;
}

.book-entire-boat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .cabin-pick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .book-passenger__fields {
    grid-template-columns: 1fr;
  }
}
