/* Shared mobile booking dock for all route products.
   Include after page styles; preserve the mobilePrice, mobileBarCurrency,
   mobileFxReference and mobileBookButton IDs for the pricing/booking logic. */
@media (max-width: 980px) {
  body.has-mobile-booking { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .mobile-booking {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) 33%;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px max(12px, calc((100% - 560px) / 2)) calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(8, 57, 47, .1);
    border-radius: 0;
    background: #fffaf2;
    box-shadow: 0 -4px 18px rgba(8, 39, 32, .05);
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-family: var(--sans, Arial, sans-serif);
  }
  .mobile-price {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: 26px 32px;
    align-items: baseline;
    justify-content: start;
    gap: 6px 4px;
    padding: 0;
    min-width: 0;
  }
  .mobile-price span {
    grid-area: 1 / 1 / 2 / 3;
    align-self: center;
    color: #08392f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: capitalize;
  }
  .mobile-price b {
    grid-area: 2 / 1;
    color: #08392f;
    font-family: inherit;
    font-size: 27px;
    font-weight: 750;
    line-height: 32px;
    letter-spacing: -.035em;
    font-variant-numeric: lining-nums tabular-nums;
    white-space: nowrap;
  }
  .mobile-price small {
    grid-area: 2 / 2;
    color: #08392f;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
  }
  .mobile-fx-control {
    grid-area: 1 / 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 26px minmax(32px, auto);
    gap: 6px;
    align-content: center;
    align-items: baseline;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 1px solid #dedfd3;
  }
  .mobile-fx-chip { position: relative; display: flex; width: 76px; max-width: 100%; height: 26px; }
  .mobile-fx-chip-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    border: 0;
    border-radius: 7px;
    background: #ebeddf;
    color: #08392f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
  }
  .mobile-fx-chip select.mobile-fx-select {
    position: absolute; inset: 0; width: 100%; height: 100%;
    margin: 0; padding: 0; opacity: 0; cursor: pointer;
  }
  .mobile-fx-chip:focus-within .mobile-fx-chip-label { outline: 2px solid #08392f; outline-offset: 2px; }
  .mobile-booking .mobile-fx-reference {
    align-self: end;
    padding-bottom: 3px;
    color: #08392f;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
  }
  .mobile-actions { grid-area: 1 / 3; display: grid; grid-template-columns: 1fr; min-width: 0; }
  .mobile-actions .button {
    width: 100%;
    min-height: 50px;
    padding: 0 5px;
    border: 0;
    border-radius: 9px;
    background: #b62927;
    color: #fffaf2;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }
  .mobile-actions .button:hover { background: #8e211f; }
  .mobile-actions .button:focus-visible { outline: 2px solid #08392f; outline-offset: 3px; }
}
@media (max-width: 399px) {
  .mobile-booking { gap: 8px; padding-inline: 10px; grid-template-columns: max-content minmax(0, 1fr) 33%; }
  .mobile-price { column-gap: 3px; }
  .mobile-price b { font-size: 23px; }
  .mobile-price small { font-size: 9px; }
  .mobile-fx-control { padding-left: 7px; }
  .mobile-booking .mobile-fx-reference { font-size: 13px; }
  .mobile-actions .button { font-size: 12px; }
}
@media (max-width: 359px) {
  .mobile-booking { gap: 6px; padding-inline: 8px; }
  .mobile-price b { font-size: 21px; }
  .mobile-price small { font-size: 8px; }
  .mobile-fx-control { padding-left: 5px; }
  .mobile-actions .button { font-size: 11px; }
}
