/* Public action alignment. Booking/payment behaviour is unchanged. */
.booking-search > .btn.full,
.room-dialog-refined > .btn.full {
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-inline-size: 0;
  text-align: center;
  white-space: normal;
}

/* Amenities uses a direct action after its feature list. Room pages already
   have their separate .room-booking-action wrapper. */
.room-detail-copy > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  inline-size: min(100%, 280px);
  max-inline-size: 100%;
  min-block-size: 52px;
  box-sizing: border-box;
  margin-block-start: 24px;
  padding: 14px 24px;
  border-radius: 999px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

.room-detail-copy > .amenity-tags > span:has(> svg) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-inline-size: 100%;
}
.room-detail-copy > .amenity-tags > span > svg,
.room-detail-copy > .btn > svg,
.booking-search > .btn.full > svg,
.room-dialog-refined > .btn.full > svg {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
}

html[dir="rtl"] .room-detail-copy > .btn > svg,
html[dir="rtl"] .booking-search > .btn.full > svg,
html[dir="rtl"] .room-dialog-refined > .btn.full > svg {
  transform: scaleX(-1);
}

@media (max-width: 600px) {
  .room-detail-copy > .btn {
    inline-size: 100%;
    margin-block-start: 20px;
    padding-inline: 18px;
  }
}

/* Event enquiry has the same split-label legacy rule as full-width CTAs. */
.exp-event-form > .exp-form-grid > .exp-submit {
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-inline-size: 0;
  text-align: center;
  white-space: normal;
}
.exp-event-form > .exp-form-grid > .exp-submit > span[aria-hidden="true"]:empty {
  display: none;
}
