/* THE BAG — the header's merch bag opens a paper bag drawer, on EVERY page (moved out of store.css 2026-12-04).
   Classes start st- (born with the Gear store 12/2). 'Permanent Marker' comes from the layout's font link. */
/* ---- the bag: a paper merch bag that slides in from the right ---- */
.st-veil{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.55)}
.st-drawer{position:fixed;top:0;right:0;bottom:0;z-index:81;width:min(420px,100vw);display:flex;flex-direction:column;color:#1b1b1b;
  background:radial-gradient(ellipse 80% 40% at 50% 0,rgba(255,255,255,.18),transparent 70%),repeating-linear-gradient(90deg,rgba(90,60,20,.05) 0 2px,transparent 2px 9px),#b9946a;
  box-shadow:-18px 0 40px rgba(0,0,0,.6);transform:translateX(105%);transition:transform .32s cubic-bezier(.3,.8,.3,1)}
.st-drawer.open{transform:none}
.st-drawer::before{content:"";position:absolute;left:0;right:0;top:0;height:16px;background:repeating-linear-gradient(90deg,#a7825a 0 14px,#b9946a 14px 28px);clip-path:polygon(0 0,100% 0,100% 60%,96% 100%,92% 60%,88% 100%,84% 60%,80% 100%,76% 60%,72% 100%,68% 60%,64% 100%,60% 60%,56% 100%,52% 60%,48% 100%,44% 60%,40% 100%,36% 60%,32% 100%,28% 60%,24% 100%,20% 60%,16% 100%,12% 60%,8% 100%,4% 60%,0 100%)}
.st-bagtop{display:flex;align-items:center;justify-content:space-between;padding:30px 24px 12px}
.st-bagtop h2{font:400 30px/1 'Permanent Marker',cursive;margin:0;transform:rotate(-2deg)}
.st-x{border:0;background:none;font:400 34px/1 var(--body);cursor:pointer;color:#1b1b1b;padding:0 6px}
.st-receipt{flex:1;overflow:auto;margin:6px 18px 0;padding:18px 18px 8px;background:#f6f3ea;box-shadow:0 4px 10px rgba(0,0,0,.25);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 8px),95% 100%,90% calc(100% - 8px),85% 100%,80% calc(100% - 8px),75% 100%,70% calc(100% - 8px),65% 100%,60% calc(100% - 8px),55% 100%,50% calc(100% - 8px),45% 100%,40% calc(100% - 8px),35% 100%,30% calc(100% - 8px),25% 100%,20% calc(100% - 8px),15% 100%,10% calc(100% - 8px),5% 100%,0 calc(100% - 8px))}
.st-lines{list-style:none;margin:0;padding:0}
.st-line{display:grid;grid-template-columns:58px 1fr auto;gap:10px 12px;align-items:start;padding:12px 0;border-bottom:1.5px dashed rgba(20,20,20,.25)}
.st-line img{width:58px;height:58px;object-fit:contain}
.st-line a{display:block;font:400 15px/1.2 var(--label);color:inherit;text-decoration:none}
.st-line a:hover{text-decoration:underline}
.st-opt{display:block;font-size:13px;opacity:.7;margin-top:3px}
.st-q{display:flex;align-items:center;gap:8px;margin-top:8px}
.st-q button{width:26px;height:26px;border:1.5px solid #1b1b1b;background:transparent;cursor:pointer;font:700 15px/1 var(--body);border-radius:2px}
.st-q b{font:400 16px/1 var(--label);min-width:16px;text-align:center}
.st-lp{font:400 15px/1.2 var(--label);text-align:right}
.st-rm{grid-column:3;justify-self:end;border:0;background:none;cursor:pointer;font:400 13px/1 var(--label);text-decoration:underline;color:#6b1a12;padding:0}
.st-empty{font:400 22px/1.3 'Permanent Marker',cursive;text-align:center;padding:30px 10px;transform:rotate(-2deg)}
.st-foot{padding:16px 24px 24px}
.st-sub{display:flex;justify-content:space-between;font:400 18px/1 var(--label);margin:0 0 14px}
.st-checkout{display:block;width:100%;padding:15px 18px 13px;border:3px solid #121212;background:#121212;color:#efebe2;cursor:pointer;font:400 19px/1 var(--label);letter-spacing:.08em;text-transform:uppercase}
.st-checkout:disabled{opacity:.55;cursor:not-allowed}
.st-soon{font-size:13px;line-height:1.45;margin:10px 0 0;opacity:.85}
.st-err{font-size:13px;line-height:1.45;margin:10px 0 0;color:#b3261e;font-weight:600}
.top .bag.st-bump{animation:st-bump .5s}
@keyframes st-bump{30%{transform:scale(1.25) rotate(-8deg)}60%{transform:scale(.95) rotate(4deg)}}
@media (prefers-reduced-motion:reduce){.st-drawer{transition:none}}
