/* Bermo 7 · mejora del calendario lateral para la ficha del espacio */
@media (min-width: 1024px) {
  body.bermo5-complete .b6-rail-sticky {
    top: 126px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}

body.bermo5-complete .b6-rail .b5-unit-booking > div {
  border-radius: 28px !important;
  padding: 24px !important;
}
body.bermo5-complete .b6-rail .b5-unit-booking h3 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
body.bermo5-complete .b6-rail .b5-unit-rate-preview {
  margin-top: 20px !important;
  margin-bottom: 18px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #e7ebf1;
}
body.bermo5-complete .b6-rail .b5-unit-rate-preview strong {
  display:block; font-size: 18px; line-height:1.2; color:#102347;
}
body.bermo5-complete .b6-rail .b5-unit-rate-preview span,
body.bermo5-complete .b6-rail .b5-unit-rate-preview del {
  display:block; margin-top:6px; font-size:13px; color:#667b9d;
}

body.bermo5-complete .b6-rail .bermo-unit-calendar {
  margin-top: 0 !important;
  padding: 16px !important;
  border-radius: 24px !important;
  border-color: #dfe7f1 !important;
  background: #f9fbff !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar > .flex {
  gap: 12px !important;
  align-items: flex-start !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar > .flex > div:first-child p:first-child {
  font-size: 11px !important;
  letter-spacing: 0.24em !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar > .flex > div:first-child h4 {
  margin-top: 6px !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar > .flex > div:first-child p:last-child {
  margin-top: 6px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-previous],
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-next] {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar .mt-4.flex.flex-wrap {
  gap: 10px 14px !important;
  margin-top: 14px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar .mt-4.flex.flex-wrap > span {
  font-size: 12px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__loading,
body.bermo5-complete .b6-rail .bermo-unit-calendar__months {
  grid-template-columns: minmax(0,1fr) !important;
  gap: 12px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__loading > :nth-child(2),
body.bermo5-complete .b6-rail .bermo-unit-calendar__months > :nth-child(2) {
  display: none !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__loading > div,
body.bermo5-complete .b6-rail .bermo-unit-calendar__months > section {
  padding: 14px !important;
  border-radius: 20px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__months h5 {
  font-size: 16px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__months .grid.grid-cols-7,
body.bermo5-complete .b6-rail .bermo-unit-calendar__loading .grid.grid-cols-7 {
  gap: 4px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__months .grid.grid-cols-7 button {
  min-height: 38px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__months .grid.grid-cols-7 > div {
  font-size: 10px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-message],
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-error] {
  margin-top: 14px !important;
  border-radius: 18px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-estimate] {
  margin-top: 14px !important;
  border-radius: 22px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-estimate] .sm\:text-right {
  text-align: left !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar [data-calendar-estimate] [data-calendar-estimate-breakdown] {
  grid-template-columns: minmax(0,1fr) !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__booking-form {
  grid-template-columns: minmax(0,1fr) !important;
  gap: 10px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__booking-form > * {
  grid-column: auto !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__booking-form > div,
body.bermo5-complete .b6-rail .bermo-unit-calendar__booking-form > label {
  padding: 12px 14px !important;
  border-radius: 18px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__booking-form input[type="number"] {
  font-size: 15px !important;
}
body.bermo5-complete .b6-rail .bermo-unit-calendar__booking-form button {
  min-height: 50px !important;
  border-radius: 18px !important;
}
body.bermo5-complete .b6-rail .b5-unit-booking .mt-6.space-y-3 {
  margin-top: 16px !important;
}
body.bermo5-complete .b6-rail .b5-unit-booking .mt-6.space-y-3 a,
body.bermo5-complete .b6-rail .b5-unit-booking .mt-6.space-y-3 button {
  min-height: 48px !important;
  border-radius: 18px !important;
}

@media (max-width: 1023.98px) {
  body.bermo5-complete .b6-rail .b5-unit-booking > div {
    padding: 20px !important;
    border-radius: 24px !important;
  }
  body.bermo5-complete .b6-rail .bermo-unit-calendar {
    padding: 16px !important;
  }
}
