/* Laad IN /reserveren/module/index.html, NA booking-book.css.
 * Deze regels horen in het iframe; hoofdpagina-CSS bereikt deze elementen niet.
 */

@media screen {
  /* GEWIJZIGD 5: de crème html-achtergrond veroorzaakte de witte voetstrook. */
  html.centrum-embedded.has-booking-book,
  html.centrum-embedded.has-booking-book body.centrum-test-shell,
  .centrum-embedded.has-booking-book .centrum-test-shell .guest-shell {
    background: transparent;
  }

  /* Behoud preserve-3d: geen mask, filter of opacity op de scène of het boek. */
  .centrum-embedded.has-booking-book .booking-book-scene {
    background: transparent;
  }

  /* One continuous wooden surface behind the transparent book. */
  .centrum-embedded.has-booking-book .booking-book-scene {
    padding-top: 0;
  }

  .centrum-embedded.has-booking-book .book-restaurant-photo {
    display: none;
  }

  /* GEWIJZIGD 6: Privacy en volledige By Vurkie-credit leesbaar op het hout. */
  .centrum-embedded.has-booking-book .centrum-test-shell .centrum-module-footer,
  .centrum-embedded.has-booking-book .centrum-test-shell .centrum-module-footer a {
    color: #fffdf7;
  }

  .centrum-embedded.has-booking-book .centrum-module-footer a:focus-visible {
    outline: 2px solid #fffdf7;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #38271c;
  }

  /* Het originele donkere logo blijft leesbaar; beeldbestand ongewijzigd. */
  .centrum-embedded.has-booking-book .centrum-module-footer .centrum-provider img {
    background: #fffdf7;
    border-radius: 3px;
  }

  .centrum-embedded.has-booking-book .centrum-test-shell .centrum-module-footer .centrum-provider:hover {
    background: #0004;
    color: #fffdf7;
    box-shadow: none;
  }
}

/* Design QA fixes, 1.52.1-test.1. Existing Watermelon Button states retained. */
@media screen {
  /* D02: distinguish unavailable primary actions, including their hover state.
   * Keep native disabled behavior and a readable, opaque text/background pair.
   */
  html.centrum-embedded.has-booking-book body.centrum-test-shell .booking-card .btn-primary:disabled,
  html.centrum-embedded.has-booking-book body.centrum-test-shell .booking-card .btn-primary:disabled:hover {
    background: #e6e1d7;
    color: #625e56;
    border-color: #b6ab98;
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
  }

  /* D03: keep the loading heading inside the iframe before book initialization. */
  body.centrum-test-shell .boot-screen h1 {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.25rem, 6.5vw, 1.875rem);
    line-height: 1.25;
  }
}
