/* Slide-in bag drawer shared by store and content pages. Self-contained so it works without store.css. */
#bag{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid rgba(255,255,255,.1);background:#10110f;color:#f5f5f2;overflow:hidden;box-shadow:-16px 0 64px rgba(0,0,0,.45);font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','DM Sans',system-ui,sans-serif;font-size:15px;line-height:1.6}
#bag[open]{display:flex;flex-direction:column;animation:tf-bag-in .38s cubic-bezier(.22,1,.36,1)}
#bag::backdrop{background:rgba(0,0,0,.6);backdrop-filter:blur(2px);animation:tf-bag-fade .3s ease}
#bag.is-closing{animation:tf-bag-out .26s cubic-bezier(.4,0,1,1) forwards}
#bag.is-closing::backdrop{animation:tf-bag-fade-out .26s ease forwards}
@keyframes tf-bag-in{from{transform:translateX(100%)}to{transform:none}}
@keyframes tf-bag-out{from{transform:none}to{transform:translateX(100%)}}
@keyframes tf-bag-fade{from{opacity:0}to{opacity:1}}
@keyframes tf-bag-fade-out{from{opacity:1}to{opacity:0}}
#bag *{box-sizing:border-box}
#bag .bag-heading{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;margin:0;padding:26px 28px;border-bottom:1px solid rgba(255,255,255,.1)}
#bag .bag-heading h2{margin:0;font-size:24px;font-weight:350;letter-spacing:-.035em;color:#f5f5f2}
#bag #bag-close{width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:none;color:#f5f5f2;font-size:24px;line-height:1;cursor:pointer;transition:border-color .15s,color .15s}
#bag #bag-close:hover{border-color:#ffd700;color:#ffd700}
#bag #bag-items{flex:1;min-height:120px;overflow:auto;padding:4px 28px;overscroll-behavior:contain}
#bag .bag-line{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.1)}
#bag .bag-line:last-child{border-bottom:0}
#bag .bag-line a{color:inherit;text-decoration:none}
#bag .bag-line>a.bag-item-visual{width:72px;height:72px;flex-shrink:0;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#1b1d18}
#bag .bag-item-visual img{width:64px;height:64px;object-fit:contain}
#bag .bag-line>a.bag-item-visual.pass{background:#ffd700;color:#111}
#bag .bag-pass-mark{font-size:22px;letter-spacing:-2px;font-weight:500}
#bag .bag-line-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
#bag .bag-line-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#bag .bag-line-info{min-width:0}
#bag .bag-item-kind{margin:0 0 2px;font-size:10px;color:#a4a6a2;letter-spacing:.06em;text-transform:uppercase}
#bag .bag-item-title{display:block;font-size:15px!important;font-weight:500;line-height:1.3;letter-spacing:-.015em;overflow-wrap:anywhere}
#bag .bag-item-variant{margin:2px 0 0;font-size:12px;color:#a4a6a2}
#bag .bag-item-price{margin:0;flex-shrink:0;text-align:right;font-size:15px;font-weight:500;color:#f5f5f2;white-space:nowrap}
#bag .bag-item-price small{display:block;font-size:11px;font-weight:400;color:#a4a6a2}
#bag .bag-item-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
#bag .qty-stepper{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.16);border-radius:10px;overflow:hidden;background:#181a16}
#bag .qty-step{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;background:none;color:#f5f5f2;font-size:18px;line-height:1;cursor:pointer;transition:background .15s,color .15s}
#bag .qty-step:hover:not(:disabled){background:rgba(255,215,0,.12);color:#ffd700}
#bag .qty-step:disabled{opacity:.35;cursor:default}
#bag .qty-stepper input{width:40px;height:36px;margin:0;padding:0;border:0;border-left:1px solid rgba(255,255,255,.1);border-right:1px solid rgba(255,255,255,.1);border-radius:0;background:none;color:#f5f5f2;text-align:center;font:inherit;font-size:14px;-moz-appearance:textfield;appearance:textfield}
#bag .qty-stepper input::-webkit-outer-spin-button,#bag .qty-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#bag .qty-stepper input:focus-visible{outline:2px solid #ffd700;outline-offset:-2px}
#bag .remove-line{margin:0;padding:6px 0;border:0;background:none;color:#a4a6a2;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#bag .remove-line:hover{color:#f5f5f2}
#bag .bag-pass-quantity{font-size:11px;color:#a4a6a2}
#bag .empty-bag{margin:32px 0;color:#a4a6a2;font-size:15px}
#bag #bag-status{margin:0;padding:0 28px;min-height:0;font-size:12px;color:#ffd700}
#bag #bag-status:not(:empty){padding-top:10px;padding-bottom:10px}
/* Footer: FitPoints switch, totals, checkout, one fine line. Kept compact so the items get the room. */
#bag #bag-summary{flex-shrink:0;padding:16px 28px 0;border-top:1px solid rgba(255,255,255,.1)}
#bag #bag-summary:empty{display:none}
#bag .bag-fitpoints{margin:0 0 14px;padding:12px 14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#171915}
#bag .fitpoints-toggle,#bag .fitpoints-signin{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;color:inherit;text-decoration:none;cursor:pointer}
#bag .fitpoints-toggle>span,#bag .fitpoints-signin>span:first-child,#bag .fitpoints-unavailable{display:flex;flex-direction:column;gap:1px;min-width:0}
#bag .fitpoints-toggle b,#bag .fitpoints-signin b,#bag .fitpoints-unavailable b{color:#f5f5f2;font-size:14px;font-weight:500}
#bag .fitpoints-toggle small,#bag .fitpoints-signin small,#bag .fitpoints-unavailable small{color:#a4a6a2;font-size:12px;line-height:1.4}
#bag .fitpoints-signin>span:last-child{color:#ffd700}
#bag .fitpoints-toggle input{appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:44px;height:26px;margin:0;border-radius:99px;background:#33352f;cursor:pointer;transition:background .2s}
#bag .fitpoints-toggle input::before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#f5f5f2;transition:transform .2s}
#bag .fitpoints-toggle input:checked{background:#ffd700}
#bag .fitpoints-toggle input:checked::before{transform:translateX(18px);background:#000}
#bag .fitpoints-toggle input:disabled{opacity:.5;cursor:default}
#bag .fitpoints-toggle input:focus-visible{outline:2px solid #ffd700;outline-offset:2px}
#bag .bag-fitpoints #points-status{margin:6px 0 0;font-size:11px;color:#ffd700}
#bag .bag-fitpoints #points-status:empty{display:none}
#bag .bag-total-row{display:flex;justify-content:space-between;margin:0 0 4px;font-size:13px;color:#a4a6a2}
#bag .bag-total-row.is-discount{color:#34d399}
#bag .subtotal{display:flex;justify-content:space-between;margin:0 0 14px;font-size:17px;font-weight:600;letter-spacing:-.02em;color:#f5f5f2}
#bag .bag-total-row+.bag-total-row+.subtotal{margin-top:8px}
#bag .button{display:inline-flex;align-items:center;justify-content:center;padding:16px 26px;border:0;border-radius:12px;background:#ffd700;color:#000;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}
#bag .button:hover{background:#ffe23b}
#bag .button:disabled{opacity:.5;cursor:default}
#bag #checkout{flex-shrink:0;width:calc(100% - 56px);min-height:52px;margin:0 28px}
#bag #bag-checkout-note{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 28px 16px;font-size:11px;line-height:1.4;color:#a4a6a2}
#bag .bag-switch{flex-shrink:0;margin:0;padding:4px 0;border:0;background:none;color:#f5f5f2;font-size:11px;cursor:pointer}
#bag .bag-switch:hover{color:#ffd700}
#bag .fine{font-size:11px;color:#a4a6a2}
#bag [hidden]{display:none!important}
@media(max-width:600px){
  #bag .bag-heading{padding:20px}
  #bag #bag-items{padding:0 20px}
  #bag #bag-status,#bag #bag-summary{padding-left:20px;padding-right:20px}
  #bag #checkout{width:calc(100% - 40px);margin:0 20px}
  #bag #bag-checkout-note{margin:10px 20px calc(14px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){#bag[open],#bag.is-closing,#bag::backdrop,#bag.is-closing::backdrop{animation:none}}
