/* Mobile reservation pair. Native links, existing visibility and booking behavior. */
[data-stline-dual] .stline-reserve-channel,
[data-stline-dual] .stline-reserve-action { display:block; }

@media (min-width:768px) {
  [data-stline-dual] { display:none !important; }
}

@media (max-width:767px) {
  [data-stline-dual] {
    position:fixed !important;
    left:10px !important;
    right:10px !important;
    bottom:max(10px, env(safe-area-inset-bottom)) !important;
    z-index:90;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;
    gap:8px !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    padding:6px !important;
    border:1px solid rgba(133,143,153,.32) !important;
    border-radius:20px !important;
    background:rgba(249,251,252,.96) !important;
    box-shadow:0 4px 22px rgba(25,34,43,.16) !important;
    box-sizing:border-box;
    /* opacity, pointer-events, transform and inert stay with the original owner. */
  }
  [data-stline-dual="pilates"] {
    background:rgba(250,248,253,.97) !important;
    border-color:rgba(145,127,169,.32) !important;
  }
  [data-stline-dual] a.stline-reserve-button {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    min-width:0 !important;
    width:100% !important;
    min-height:58px !important;
    height:auto !important;
    margin:0 !important;
    padding:7px 8px 8px !important;
    border:1px solid transparent !important;
    border-radius:14px !important;
    box-sizing:border-box;
    font-family:inherit !important;
    font-size:14px !important;
    text-decoration:none !important;
    text-align:center !important;
    letter-spacing:.02em !important;
    white-space:normal !important;
    text-shadow:none !important;
    transition:transform .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  [data-stline-dual] a.stline-reserve-button::before,
  [data-stline-dual] a.stline-reserve-button::after { content:none !important; }
  [data-stline-dual] .stline-reserve-channel {
    font-size:13px !important;
    line-height:1.35 !important;
    font-weight:500 !important;
    letter-spacing:.04em !important;
    white-space:nowrap;
  }
  [data-stline-dual] .stline-reserve-action {
    font-size:14px !important;
    line-height:1.45 !important;
    font-weight:700 !important;
    white-space:nowrap;
  }
  [data-stline-dual] a.stline-reserve-button--line {
    color:#fff !important;
    background:linear-gradient(165deg,#087c41,#046132) !important;
    border-color:#046132 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 3px 0 #034c28,0 5px 9px rgba(0,66,33,.16) !important;
  }
  [data-stline-dual] a.stline-reserve-button--web {
    color:#242d36 !important;
    background:linear-gradient(165deg,#fff,#dfe5ea) !important;
    border-color:#a0aab4 !important;
    box-shadow:inset 0 1px 0 #fff,0 3px 0 #939ea9,0 5px 9px rgba(30,44,58,.12) !important;
  }
  [data-stline-dual="pilates"] a.stline-reserve-button--web {
    color:#fff !important;
    background:linear-gradient(165deg,#74658f,#5b4b75) !important;
    border-color:#5c4d76 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 3px 0 #47395d,0 5px 9px rgba(66,45,91,.16) !important;
  }
  [data-stline-dual] a.stline-reserve-button:focus-visible {
    outline:3px solid #1d72b8 !important;
    outline-offset:3px !important;
  }
  [data-stline-dual] a.stline-reserve-button:active { transform:translateY(2px); }
  body:has([data-stline-dual]) { padding-bottom:calc(100px + env(safe-area-inset-bottom)) !important; }
  [data-stline-dual][aria-hidden="true"],
  [data-stline-dual][data-stline-booking-obscured="true"] {
    visibility:hidden !important;
    pointer-events:none !important;
  }
  body:has(header button[aria-expanded="true"]) [data-stline-dual],
  body:has(header details[open]) [data-stline-dual],
  body:has(.mobileOverlay.open) [data-stline-dual],
  body:has(main #contact-form) [data-stline-dual],
  body:has(main #contact-reservation-form) [data-stline-dual],
  body:has(main #contact-form-heading) [data-stline-dual],
  body:has(main form[data-contact-form]) [data-stline-dual] { display:none !important; }
  body:has([data-stline-dual]) .chatbotLauncher:not([aria-expanded="true"]),
  body:has([data-stline-dual]) .chatbotTeaser {
    bottom:calc(100px + env(safe-area-inset-bottom)) !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  [data-stline-dual] a.stline-reserve-button { transition:none; }
}
