/* Mobil-topplinje i bestillingen (tilbake · steg · sammendrag). Bare på små skjermer. */
.mb-bar,.mb-progress{display:none}
@media (max-width:700px){
 .snap-booking .booking-header,.snap-booking .flow-meta{display:none!important}
 .mb-bar{display:flex;align-items:center;gap:10px;flex:none;position:relative;z-index:20;box-sizing:border-box;min-height:58px;padding:8px 14px;padding-top:max(8px,env(safe-area-inset-top));background:#fff;color:#101a3b}
 .mb-progress{display:block;flex:none;height:3px;background:#eef1f5}
 .mb-progress i{display:block;height:100%;width:0;background:#ffd84d;transition:width .3s ease}
 .mb-bar>button{flex:0 0 44px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:#f5f3f0;color:#101a3b;cursor:pointer;position:relative}
 .mb-bar>button[hidden]{visibility:hidden;display:flex}
 .mb-bar>button:focus-visible{outline:3px solid #83bcff;outline-offset:2px}
 .mb-title{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.2}
 .mb-title strong{display:flex;align-items:center;gap:7px;max-width:100%;font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mb-title small{font-size:12px;color:#65768b;margin-top:2px}
 .mb-title small:empty{display:none}
 .mb-logo{display:inline-flex;flex:none}
 .mb-badge{position:absolute;top:-2px;right:-2px;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:10px;background:#0c5dcc;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center;border:2px solid #fff}
 .mb-badge[hidden]{display:none}
 /* Stegets egen overskrift står i topplinjen; skjul den visuelt (beholdes for skjermlesere). */
 .snap-booking .step-header h1{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .snap-booking .step-header .step-eyebrow{display:none}
 .snap-booking .booking-grid{margin-top:10px}
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){.mb-progress i{transition:none}}

/* Sammendrag-arket */
#mbSummary{box-sizing:border-box;position:fixed;inset:auto 0 0 0;width:100%;max-width:none;max-height:90dvh;margin:0;padding:12px 20px max(20px,env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;background:#fff;color:#101a3b;overflow:auto;font-family:inherit;box-shadow:0 -10px 40px #061a3533}
#mbSummary::backdrop{background:rgb(11 32 58 / .5)}
#mbSummary:before{content:'';display:block;width:40px;height:5px;margin:0 auto 12px;border-radius:10px;background:#c8c8cd}
#mbSummary[open]{animation:mb-up .22s ease-out}
@keyframes mb-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
#mbSummary .mb-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
#mbSummary h2{margin:0;font-size:22px}
#mbSummary .mb-x{width:44px;height:44px;border:0;border-radius:50%;background:#f5f3f0;color:#101a3b;font-size:26px;line-height:1;cursor:pointer}
.mb-sec{padding:14px 0;border-bottom:1px solid #edf1f5}
.mb-sec-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.mb-sec h3{margin:0;font-size:14px;font-weight:700;color:#65768b;text-transform:uppercase;letter-spacing:.06em}
.mb-sec-head button{min-height:36px;padding:6px 12px;border:0;border-radius:10px;background:#eaf3fd;color:#075ac6;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.mb-sec p{margin:0;font-size:15px;line-height:1.55;color:#101a3b}
.mb-sec .mb-empty{color:#75899a}
.mb-k{display:inline-block;min-width:70px;color:#65768b}
.mb-item{display:flex;align-items:center;gap:12px;padding:6px 0}
.mb-item img{width:48px;height:48px;flex:none;border-radius:10px;object-fit:contain;background:#fff;box-shadow:0 3px 8px -2px #101a3b1f;mix-blend-mode:multiply}
.mb-item span{flex:1;min-width:0}
.mb-item strong{display:block;font-size:15px}
.mb-item small{display:block;font-size:13px;color:#65768b;margin-top:2px}
.mb-item b{font-size:15px;white-space:nowrap}
.mb-totals{border-bottom:0}
.mb-totals>div{display:flex;justify-content:space-between;padding:4px 0;font-size:15px;color:#33415c}
.mb-totals .mb-total{margin-top:6px;padding-top:10px;border-top:1px solid #edf1f5;font-size:18px;color:#101a3b}
#mbSummary .mb-done{display:block;width:100%;min-height:52px;margin-top:8px;border:0;border-radius:18px;background:#0c5dcc;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
#mbSummary .mb-help{display:flex;justify-content:center;gap:22px;margin-top:12px;font-size:14px}
#mbSummary .mb-help a{color:#0c5dcc;font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
#mbSummary button:focus-visible,#mbSummary a:focus-visible{outline:3px solid #83bcff;outline-offset:2px}
@media (min-width:701px){#mbSummary{inset:0;margin:auto;width:min(480px,calc(100% - 32px));border-radius:24px;max-height:85dvh}#mbSummary:before{display:none}}
@media (prefers-reduced-motion:reduce){#mbSummary[open]{animation:none}}

/* Blå topplinje i bestillingen, som headeren på nettsiden. */
@media (max-width:700px){
 .mb-bar{background:#075ac6;color:#fff}
 .mb-bar>button{background:rgba(255,255,255,.16);color:#fff}
 .mb-bar>button:hover{background:rgba(255,255,255,.26)}
 .mb-title small{color:rgba(255,255,255,.78)}
 .mb-badge{background:#ffd84d;color:#12395e;border-color:#075ac6}
 .mb-progress{background:#075ac6}
 .mb-progress i{background:#ffd84d}
 .mb-bar>button:focus-visible{outline-color:#ffd16b}
}
