/* A compact cart using the guest portal's existing type, colors and controls. */
.native-service-cart{--cart-navy:var(--ink);--cart-ivory:var(--paper);max-width:760px;margin-inline:auto}
.service-cart-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px;font-size:14px;color:var(--muted)}
.service-cart-back:hover,.service-cart-inline-link:hover{text-decoration:underline;text-underline-offset:4px}
.service-cart-heading{align-items:center;margin:0 0 24px}
.service-cart-heading h1{font-size:clamp(30px,4vw,42px)}
.service-cart-count{flex:none;color:var(--muted);font-size:13px}
.service-cart-announcement{padding:14px 16px;margin:0 0 20px;background:var(--soft);border-radius:12px;font-size:14px;line-height:1.6}
.service-cart-announcement.is-error{background:var(--ws-error-surface,#f8edf0);color:var(--ws-error,#822c40)}
.service-cart-layout{display:grid;gap:20px}
.service-cart-selection,.service-cart-review{min-width:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:4px 24px}
.service-cart-line{padding:20px 0}
.service-cart-line+.service-cart-line{border-top:1px solid var(--line)}
.service-cart-line-top{display:grid;grid-template-columns:64px minmax(0,1fr) 44px;gap:14px;align-items:start}
.service-cart-picture{width:64px;height:64px;overflow:hidden;border-radius:10px;background:var(--soft)}
.service-cart-picture img{display:block;width:100%;height:100%;object-fit:cover}
.service-cart-line-copy{min-width:0;padding-top:2px}
.service-cart-line-copy h3{font:600 15px/1.45 'Work Sans',sans-serif;overflow-wrap:anywhere}
.service-cart-line-meta{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.service-cart-remove{display:grid;place-items:center;min-width:44px;min-height:44px;margin-top:-8px;padding:0;border:0;background:transparent;color:var(--muted);font:400 24px/1 'Work Sans',sans-serif;border-radius:50%}
.service-cart-remove:hover{background:var(--soft);color:var(--ink)}
.service-cart-quantity{display:flex;justify-content:flex-end;margin-top:12px}
.service-cart-quantity-controls{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--card)}
.service-cart-quantity-button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink);font:500 20px/1 'Work Sans',sans-serif}
.service-cart-quantity-controls input{width:40px;min-width:0;height:44px;padding:0;text-align:center;border:0;border-radius:0;background:transparent;color:var(--ink);font:16px 'Work Sans',sans-serif;appearance:textfield;-moz-appearance:textfield}
.service-cart-quantity-controls input::-webkit-inner-spin-button,.service-cart-quantity-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.service-cart-preferences{margin:10px 0 0 78px}
.service-cart-preferences summary,.service-cart-history summary{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);font-size:12px;font-weight:500;list-style:none;cursor:pointer}
.service-cart-preferences summary::-webkit-details-marker,.service-cart-history summary::-webkit-details-marker{display:none}
.service-cart-preferences summary::after,.service-cart-history summary::after{content:'';width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 3px auto}
.service-cart-preferences[open] summary::after,.service-cart-history[open] summary::after{transform:rotate(225deg);margin-bottom:-3px}
.service-cart-preference-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding-top:8px}
.service-cart-field{min-width:0}
.service-cart-field label{display:block;margin-bottom:6px;color:var(--muted);font-size:12px}
.service-cart-field input{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:48px;padding:8px 10px;border:1px solid var(--ws-border);border-radius:10px;background:var(--card);color:var(--ink);font:16px 'Work Sans',sans-serif}
.service-cart-preference-note{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.service-cart-line-error{margin:12px 0 0;color:var(--ws-error,#822c40);font-size:13px;line-height:1.6}
.service-cart-summary{padding:0;border:0;background:transparent}
.service-cart-total-status{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.5}
.service-cart-card-review{font-size:14px;line-height:1.6;margin:0}
.service-cart-confirmation .payment-method-form{margin-top:0;max-width:none}
.service-cart-confirmation .payment-method-form>.primary-button{width:100%}
.service-cart-summary>.primary-button,.service-cart-confirmation>.primary-button{width:100%;min-height:50px}
.service-cart-small{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.service-cart-inline-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.service-cart-summary .service-cart-inline-link{display:flex}
.service-cart-empty{padding:32px 24px;text-align:center}
.service-cart-empty h2{margin:0 0 24px;font:500 20px/1.4 'Work Sans',sans-serif}
.service-cart-review{padding:4px 24px 24px}
.service-cart-review-heading{display:flex;justify-content:flex-end;min-height:44px;margin-bottom:0}
.service-cart-review-heading .text-button{font-size:13px;color:var(--muted)}
.service-cart-quote-lines{list-style:none;margin:0;padding:0}
.service-cart-quote-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}
.service-cart-quote-lines h3{font:600 15px/1.5 'Work Sans',sans-serif;overflow-wrap:anywhere}
.service-cart-quote-amount{color:var(--ink);font-size:14px;white-space:nowrap}
.service-cart-requested{margin:6px 0 0;color:var(--muted);font-size:12px}
.service-cart-adjustments{margin:0;padding:12px 0;border-bottom:1px solid var(--line)}
.service-cart-adjustments>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin:6px 0;font-size:13px}
.service-cart-adjustments dt{color:var(--muted);overflow-wrap:anywhere}
.service-cart-adjustments dd{margin:0;white-space:nowrap}
.service-cart-total{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:20px 0;color:var(--ink)}
.service-cart-total>span{font-weight:500;font-size:14px}
.service-cart-total strong{font-size:23px;font-weight:600;white-space:nowrap}
.service-cart-confirmation{border-top:1px solid var(--line);padding-top:20px;margin-top:0}
.service-cart-confirmation h3{font:500 15px/1.5 'Work Sans',sans-serif;margin:0 0 14px}
.service-cart-confirmation .muted{font-size:14px}
.service-cart-consent{display:flex;gap:12px;align-items:flex-start;margin:0 0 16px}
.service-cart-consent input{flex:none;width:22px;height:22px;margin:10px 0 0;accent-color:var(--ink);cursor:pointer}
.service-cart-consent label{display:flex;align-items:center;min-height:44px;font-size:13px;line-height:1.6;cursor:pointer}
.service-cart-outcome{padding:28px;border-top:3px solid var(--ink)}
.service-cart-outcome h2{margin:8px 0 16px;font-size:30px}
.service-cart-outcome>p:not(.eyebrow){font-size:14px}
.service-cart-outcome>.secondary-button,.service-cart-outcome>.primary-button{margin-top:20px}
.service-cart-outcome .service-cart-inline-link{display:flex;justify-content:flex-start}
.service-cart-history{margin-top:24px;border-top:1px solid var(--line)}
.service-cart-history-row{padding:14px 0;border-top:1px solid var(--line);font-size:13px}
.service-cart-history-row strong{font-weight:600}
.service-cart-history-row p{color:var(--muted);margin:4px 0 0}
.native-service-cart :where(button,a,input,summary):focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.native-service-cart button:disabled{cursor:default;opacity:.5}
.native-service-cart [hidden]{display:none!important}
.guest-cart-dock{position:fixed;z-index:25;right:max(24px,env(safe-area-inset-right));bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:220px;min-height:52px;padding:8px 16px;border:1px solid #ffffff35;border-radius:14px;background:var(--ink);color:white;font-size:14px;font-weight:500;box-shadow:0 6px 20px #0513371a}
.guest-cart-dock:hover{background-color:#1c3158}
.guest-cart-dock:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.guest-cart-dock[hidden]{display:none!important}
.guest-cart-dock-count{display:grid;place-items:center;min-width:28px;min-height:28px;padding:2px 7px;border:1px solid #ffffff52;border-radius:50%;font-size:12px}
.has-guest-cart-dock .portal-content{padding-bottom:calc(var(--nav-offset,0px) + 100px)}
.has-guest-cart-dock .portal-toast{bottom:calc(var(--nav-offset,0px) + 82px)}
html:has(body.has-guest-cart-dock){scroll-padding-bottom:calc(var(--nav-offset,0px) + 100px)}
@media(max-width:760px){
 .guest-cart-dock{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(var(--nav-offset,70px) + 10px);min-width:0;min-height:52px}
}
@media(max-width:600px){
 .service-cart-heading{margin-bottom:20px}
 .service-cart-selection{padding:0 18px}
 .service-cart-line{padding:16px 0}
 .service-cart-line-top{grid-template-columns:56px minmax(0,1fr) 36px;gap:10px}
 .service-cart-picture{width:56px;height:56px;border-radius:8px}
 .service-cart-remove{min-width:44px;margin-right:-8px}
 .service-cart-line-copy h3{font-size:14px}
 .service-cart-preferences{margin-left:66px}
 .service-cart-preferences[open]{margin-left:0}
 .service-cart-review{padding:0 20px 20px}
 .service-cart-total strong{font-size:22px}
 .service-cart-outcome{padding:24px 20px}
}
@media(max-width:360px){
 .service-cart-selection,.service-cart-review{padding-inline:16px}
 .service-cart-line-top{grid-template-columns:48px minmax(0,1fr) 32px;gap:8px}
 .service-cart-picture{width:48px;height:48px}
 .service-cart-preferences{margin-left:56px}
 .service-cart-preferences[open]{margin-left:0}
 .service-cart-preferences summary{font-size:12px}
 .service-cart-quote-lines li{gap:12px}
 .service-cart-quote-lines h3{font-size:14px}
 .service-cart-quote-amount{font-size:13px}
 .service-cart-total strong{font-size:20px}
}
@media(max-height:500px) and (max-width:760px){
 .guest-cart-dock{position:static;margin:16px;min-height:48px}
 .has-guest-cart-dock .portal-content{padding-bottom:calc(var(--nav-offset,70px) + 28px)}
 .has-guest-cart-dock .portal-toast{bottom:calc(var(--nav-offset,70px) + 12px)}
}
