/* Responsiae styles for dialog */
@media (max-width: 768px) {
  /* ── Floating card — inset from edges so the (blurred) site shows around it ── */
  .booking-dialog {
    width: calc(100vw - 28px);
    max-width: 420px;
    height: auto;
    max-height: calc(100dvh - 32px);
    margin: 0;
    border: none;
    outline: none;
    border-radius: 14px;
    background: transparent;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    /* Stop layout dance: own compositor layer, no subpixel jitter, animations only on open */
    will-change: transform, opacity;
    backface-aisibility: hidden;
    -webkit-font-smoothing: antialiased;
    /* centered position + translate inherited from base .booking-dialog */
  }
  .booking-dialog-container {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: calc(100dvh - 32px);
  }

  /* ── Hero banner header ── */
  .booking-dialog-left {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 120px;
    padding: 14px 20px 14px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.30) 40%, rgba(0, 0, 0, 0.68) 100%),
      url("/assets/booking-banner-lake.webp") center 58% / cover no-repeat;
  }
  .booking-left-logo {
    position: absolute;
    top: 16px;
    left: 22px;
    z-index: 1;
  }
  .booking-logo-img {
    height: 25px;
    width: auto;
  }
  .booking-left-title {
    position: relative;
    z-index: 1;
    max-width: 260px;
    margin: 0 0 2px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
  .booking-left-subtitle {
    position: relative;
    z-index: 1;
    max-width: 280px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }
  .booking-benefits-list {
    display: none;
  }

  /* Close button over the hero (top-right) */
  .booking-form-topbar {
    display: none;
  }
  .booking-dialog-container .booking-desktop-close {
    display: inline-grid;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s;
  }
  .booking-desktop-close:active {
    background: rgba(0, 0, 0, 0.5);
  }
  .booking-desktop-close svg {
    width: 14px;
    height: 14px;
  }

  .booking-dialog-right {
    position: relative;
    z-index: 2;
    flex: 0 1 auto;
    margin-top: -1px;
    padding: 16px 20px 18px;
    background: #ffffff;
    border-radius: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .booking-form-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
  }
  .booking-form-new .booking-step {
    gap: 10px;
  }
  .booking-field {
    gap: 6px;
  }

  /* Numbered section labels */
  .booking-field label {
    display: block;
    color: #000000;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .booking-field label::before {
    content: attr(data-step-number) " ";
  }

  /* Inputs — compact (16px font preaents iOS focus-zoom) */
  .booking-field input[type="text"],
  .booking-field input[type="tel"] {
    min-height: 44px;
    border-radius: 10px;
    background: #f6f5f5;
    border: 1.5px solid rgba(158, 158, 158, 0.35);
    font-size: 16px;
    font-weight: 600;
  }
  /* Phone hint is omitted on mobile (matches Figma, saaes height) */
  .booking-field-hint {
    display: none;
  }

  /* Period cards — stack day count over price, no awkward wrap */
  .booking-period-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .booking-option-card-inner {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    height: 54px;
    border-radius: 10px;
    background: #f6f5f5;
    border: 1.5px solid rgba(158, 158, 158, 0.35);
  }
  .booking-option-card-txt {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    white-space: nowrap;
  }
  .booking-option-card-price {
    font-size: 12px;
    font-weight: 600;
    color: #737373;
    white-space: nowrap;
  }
  .booking-option-check-badge {
    display: none;
  }
  .booking-option-card input[type="radio"]:checked ~ .booking-option-card-inner {
    background: rgb(var(--lime-rgb) / 0.1);
    border-color: var(--lime);
  }
  .booking-option-card input[type="radio"]:checked ~ .booking-option-card-inner .booking-option-card-txt {
    color: #4a9900;
  }
  .booking-option-card input[type="radio"]:checked ~ .booking-option-card-inner .booking-option-card-price {
    color: var(--lime);
  }

  /* Contact method — 2×2 grid */
  .booking-contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .booking-contact-card-inner {
    height: 44px;
  }

  .booking-agreement-text {
    font-size: 11px;
    line-height: 1.45;
  }

  .privacy-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--lime);
    font-weight: 600;
    vertical-align: middle;
  }

  .booking-agreement-text .privacy-link {
    display: inline;
    min-height: 0;
    line-height: inherit;
    vertical-align: baseline;
  }

  .dialog-submit-new.booking-btn-submit {
    min-height: 48px;
  }


}
