/* Integration overrides only. header.css is minified from the upstream commit. */

/* Keep the document height stable when the shared menu fixes its header to the viewport. */
body:has([data-v3-header].is-menu-open) {
  padding-top: var(--booking-site-header-height, 56px);
}

/* Vuetify's xs / hidden-sm-and-up breakpoint is 600px. */
.booking-menu {
  display: none;
}

/* 本文の Vuetify の .container と同じ幅と余白にする。 */
@media (min-width: 600px) {
  [data-testid="booking-header"] > .v-toolbar__content {
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
  }
  [data-testid="booking-header"] .booking-header-actions {
    margin-right: -4px;
  }
  [data-testid="booking-header"] .booking-header-actions > .v-btn.pr-0 {
    padding-right: 16px !important;
  }
}
@media (min-width: 960px) {
  [data-testid="booking-header"] > .v-toolbar__content {
    max-width: 900px;
  }
}
/* 共通の帯の .v3-wrap と同じ枠にし、本文の左右12pxも含める。 */
@media (min-width: 1024px) {
  .v-content .container,
  [data-testid="booking-header"] > .v-toolbar__content {
    width: calc(100% - 56px);
    max-width: 1384px;
  }
  .v-content .container .container {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 1281px) {
  .v-content .container,
  [data-testid="booking-header"] > .v-toolbar__content {
    width: calc(100% - 120px);
    max-width: 1320px;
  }
}

@media (max-width: 599px) {
  [data-testid="booking-header"] .booking-header-actions {
    display: none;
  }
  [data-v3-header] .booking-menu {
    display: block;
    margin-bottom: 18px;
    color: #111;
    font-family: var(--v3-sans);
  }
  .booking-menu__heading {
    margin: 0 0 20px;
    color: #888;
    font-size: 14px;
    font-weight: 400;
  }
  .booking-menu button {
    cursor: pointer;
    font: inherit;
    color: inherit;
    background: white;
  }
  .booking-menu button:focus-visible {
    outline: 2px solid #a68319;
    outline-offset: 3px;
  }
  .booking-menu__auth {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
  }
  .booking-menu__auth button {
    flex: 1;
    padding: 12px 8px;
    border: 1px solid #111;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
  }
  .booking-menu__auth button:last-child {
    color: white;
    background: black;
  }
  .booking-menu .booking-menu__language,
  .booking-menu__account button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
  }
  .booking-menu .booking-menu__language {
    border-top: 1px solid #ddd;
  }
  .booking-menu__language span {
    color: #999;
  }
  .booking-menu__account h3 {
    margin: 16px 0 0;
    color: #888;
    font-size: 14px;
    font-weight: 400;
  }
}
