/* Customer order decision hierarchy — mobile cart only, isolated development branch.
   Preserves existing booking, catalog and pricing behavior. */
@media (max-width:720px){
  .reactiveCartSheet .realBookingUpsell{
    margin:16px 0 12px!important;
    padding:17px 16px!important;
    border-radius:17px!important;
    border:1px solid rgba(168,217,214,.26)!important;
    background:#103446!important;
    box-shadow:none!important;
  }
  .reactiveCartSheet .realUpsellTitle{
    font-size:18px!important;
    font-weight:820!important;
    line-height:1.28!important;
    margin:0 0 7px!important;
  }
  .reactiveCartSheet .realBookingUpsell p{
    color:#c5d9dc!important;
    line-height:1.55!important;
    font-size:12px!important;
    margin:0 0 13px!important;
  }
  .reactiveCartSheet .realUpsellOpen{
    background:rgba(134,220,170,.08)!important;
    border:1.5px solid #99d9bb!important;
    color:#d3f3e2!important;
    border-radius:12px!important;
    min-height:54px!important;
    display:flex!important;
    justify-content:center!important;
    gap:9px!important;
    padding:13px!important;
    font-size:14px!important;
    font-weight:850!important;
  }
  .reactiveCartSheet .realUpsellOpen:hover,
  .reactiveCartSheet .realUpsellOpen:focus-visible{background:rgba(135,218,164,.18)!important}
  .reactiveCartSheet .realUpsellOpen span{font-size:21px!important;line-height:1!important}
  .reactiveCartSheet .realUpsellLimit strong{
    display:block;
    color:#dcf7e8;
    font-size:17px;
    letter-spacing:-.02em;
    margin-bottom:7px;
  }
  .reactiveCartSheet .realUpsellLimit label{
    display:block;
    color:#e9f6f1;
    font-size:12px;
    font-weight:780;
    margin:16px 0 7px;
  }
  .reactiveCartSheet .realUpsellLimit label span{font-weight:450;color:#afc8ce}
  .reactiveCartSheet .realExtraInstallNote{
    box-sizing:border-box;
    display:block;
    width:100%;
    min-height:96px;
    padding:12px 13px;
    border-radius:11px;
    background:#eff6f3;
    border:1px solid #b7d0cb;
    color:#13394a;
    font-size:16px;
    resize:vertical;
    line-height:1.5;
  }
  .reactiveCartSheet .realExtraInstallNote::placeholder{color:#718890}
  .reactiveCartSheet .realUpsellLimit>small{
    display:block;
    color:#b5ccd2;
    line-height:1.5;
    margin-top:8px;
    font-size:11px;
  }
  .reactiveCartSheet .realCartPickup{
    display:block!important;
    border-radius:14px!important;
    background:#0f3448!important;
    padding:14px 15px!important;
    border:1px solid #456b78!important;
    box-shadow:none!important;
    margin:0 0 17px!important;
  }
  .reactiveCartSheet .realCartPickupRow{
    display:flex;
    align-items:center;
    gap:13px;
    width:100%;
    cursor:pointer;
    margin:0;
  }
  .reactiveCartSheet .realCartPickupCheck{
    appearance:auto!important;
    -webkit-appearance:checkbox!important;
    flex:0 0 auto;
    width:23px!important;
    height:23px!important;
    min-height:23px!important;
    margin:0!important;
    accent-color:#65dc91;
    cursor:pointer;
  }
  .reactiveCartSheet .realCartPickupCopy{
    display:flex!important;
    flex-direction:column;
    gap:3px;
    flex:1;
    min-width:0;
  }
  .reactiveCartSheet .realCartPickupCopy strong{
    color:#f3f9f8;
    font-size:14px;
    font-weight:820;
  }
  .reactiveCartSheet .realCartPickupCopy small{
    font-size:12px;
    color:#bfd3d7;
    line-height:1.4;
  }
  .reactiveCartSheet .realPickupSelected{
    font-size:11px;
    color:#b7eccb;
    margin:10px 0 0 36px!important;
    line-height:1.5;
  }
  .reactiveCartSheet .reactiveCartSummary{
    padding:2px 0 3px!important;
    margin:0!important;
  }
  .reactiveCartSheet .reactiveCartSummary .reactiveCartTotal{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:transparent!important;
    border:0!important;
    border-top:1px solid rgba(194,224,219,.28)!important;
    border-radius:0!important;
    margin:12px 0 0!important;
    padding:18px 0 9px!important;
    font-size:18px!important;
    color:#fff!important;
    font-weight:850!important;
  }
  .reactiveCartSheet .reactiveCartSummary .reactiveCartTotal strong{
    color:#b0edbe!important;
    font-size:29px!important;
    font-weight:920!important;
    white-space:nowrap;
  }
  .reactiveCartSheet .reactiveCartSummary>small{
    color:#b2cbd1!important;
    font-size:11px!important;
    line-height:1.5!important;
  }
  .reactiveCartSheet .realCartCheckout{
    margin-top:19px;
    padding-bottom:calc(15px + env(safe-area-inset-bottom));
    text-align:center;
  }
  .reactiveCartSheet .realCartCheckout .realUpsellContinue{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    min-height:59px!important;
    background:#49df75!important;
    color:#092c21!important;
    border:1px solid #5bea87!important;
    border-radius:13px!important;
    font-size:15px!important;
    font-weight:900!important;
    letter-spacing:-.015em!important;
    box-shadow:0 8px 22px rgba(24,144,70,.17)!important;
    margin:0!important;
  }
  .reactiveCartSheet .realCartCheckout .realUpsellContinue span{
    font-size:21px;
    line-height:1;
  }
  .reactiveCartSheet .realCartCheckout>small{
    display:block;
    margin:10px 4px 0;
    color:#adc7c9;
    font-size:11px;
    line-height:1.5;
  }
}

/* Keep the only booking CTA in view on small mobile browsers, including iOS safe areas. */
@media (max-width:720px) {
  .reactiveCartSheet .reactiveCartBody{
    padding-bottom:calc(182px + env(safe-area-inset-bottom))!important;
  }
  .reactiveCartSheet .realCartCheckout{
    position:fixed!important;
    inset:auto 0 0 0!important;
    z-index:12!important;
    display:block!important;
    margin:0!important;
    padding:11px 16px calc(12px + env(safe-area-inset-bottom))!important;
    background:#092b3d!important;
    border-top:1px solid rgba(167,220,198,.32)!important;
    box-shadow:0 -12px 30px rgba(0,18,30,.34)!important;
  }
  .reactiveCartSheet .realCartStickyTotal{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
    font-size:14px;
    font-weight:800;
    color:#fff;
  }
  .reactiveCartSheet .realCartStickyTotal strong{
    color:#b0edbe;
    font-size:24px;
    font-weight:900;
    font-variant-numeric:tabular-nums;
  }
  .reactiveCartSheet .realCartCheckout .realUpsellContinue{
    min-height:52px!important;
  }
  .reactiveCartSheet .realCartCheckout>small{
    margin:7px 2px 0!important;
    font-size:10px!important;
  }
  .reactiveCartSheet .realBookingUpsell{
    padding:0!important;
    margin:13px 0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .reactiveCartSheet .realUpsellInner{
    padding:0!important;
  }
  .reactiveCartSheet .realUpsellOpen{
    margin-top:10px!important;
    border-radius:12px!important;
  }
}

/* Clear but deliberately secondary add-item button. */
@media(max-width:720px){
  .reactiveCartSheet .realUpsellOpen{
    color:#d8f0e7!important;
    background:rgba(188,231,215,.045)!important;
    border:1.5px solid #80bba6!important;
    box-shadow:inset 0 0 0 1px rgba(175,234,211,.075)!important;
    font-size:14px!important;
    font-weight:780!important;
    letter-spacing:0!important;
  }
  .reactiveCartSheet .realUpsellOpen:hover,
  .reactiveCartSheet .realUpsellOpen:focus-visible{
    border-color:#a8e4cb!important;
    background:rgba(134,205,173,.13)!important;
  }
}

/* V2: Footer is a sibling of the scrollable cart body, not a fixed overlay.
   The transformed full-screen sheet is its own layout viewport. */
@media(max-width:720px){
  .reactiveCartShell .reactiveCartSheet{
    display:flex!important;
    flex-direction:column!important;
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
  }
  .reactiveCartShell .reactiveCartHeader{
    flex:0 0 auto!important;
  }
  .reactiveCartShell .reactiveCartBody{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:9px 15px 26px!important;
  }
  .reactiveCartShell .reactiveCartSheet > .realCartCheckout{
    position:relative!important;
    inset:auto!important;
    flex:0 0 auto!important;
    width:100%!important;
    box-sizing:border-box!important;
    z-index:2!important;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    border-top:1px solid rgba(167,220,198,.32)!important;
    background:#092b3d!important;
    box-shadow:0 -8px 20px rgba(0,18,30,.18)!important;
  }
  .reactiveCartShell .reactiveCartSheet > .realCartCheckout .realUpsellContinue{
    min-height:49px!important;
    margin:0!important;
  }
}
