/* Snake Oil Spices — the cart (2026-10-11). Loaded on every page, after the other stylesheets.
   1 cart button at the far right of the menu bar   2 slide-in cart   3 Quick Reorder on the order + track pages
   No boxes around content: rows sit straight on the panel, split by hairlines. Buttons are the site's neon ember. */

/* ── 1 · CART BUTTON: a jar that fills as you add, with the item count on its shoulder ── */
nav .nav-cart, nav .nav-cart:link, nav .nav-cart:visited {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; flex: none;
  min-width: 44px; min-height: 44px; padding: 0 .15rem 0 .35rem; margin: 0 0 0 clamp(.5rem, 1.3vw, 1.25rem);
  background: none; border: 0; border-radius: 0; box-shadow: none;
  font: 700 .75rem/1 'Lato', sans-serif; letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
  color: var(--paper, #F5EDDC); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .2s ease, filter .25s ease;
}
html.has-cart nav .nav-links { margin-left: auto; }
nav .nav-cart .nc-jar { width: 26px; height: 33px; flex: none; overflow: visible; }
.nc-jar .nc-glass { fill: rgba(255, 138, 61, .06); stroke: #F2DCA6; stroke-width: 1.6; stroke-linejoin: round; }
.nc-jar .nc-neck { fill: none; stroke: #F2DCA6; stroke-width: 1.6; stroke-linejoin: round; }
.nc-jar .nc-cap { fill: #15100A; stroke: #E8A83A; stroke-width: 1.6; stroke-linejoin: round; }
.nc-jar .nc-fill { fill: #F0702A; transition: height .35s cubic-bezier(.22, 1, .36, 1), y .35s cubic-bezier(.22, 1, .36, 1); }
.nc-jar .nc-shine { fill: none; stroke: rgba(255, 244, 220, .55); stroke-width: 1.3; stroke-linecap: round; }
nav .nav-cart .nc-label { display: inline-block; }
nav .nav-cart .nc-count {
  position: absolute; left: 25px; top: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font: 800 .6875rem/1 'Lato', sans-serif; letter-spacing: 0; color: #1A0F06;
  background: linear-gradient(180deg, #FFA35C, #F0702A); box-shadow: 0 0 0 2px #15100A, 0 0 12px rgba(255, 122, 47, .75);
  transform: scale(0); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
nav .nav-cart.has-items .nc-count { transform: scale(1); }
nav .nav-cart.has-items .nc-jar { filter: drop-shadow(0 0 7px rgba(255, 122, 47, .6)); }
nav .nav-cart:hover, nav .nav-cart:focus-visible { color: #fff; }
nav .nav-cart:hover .nc-jar, nav .nav-cart:focus-visible .nc-jar { filter: drop-shadow(0 0 10px rgba(255, 138, 61, .85)); }
nav .nav-cart:focus-visible, .sc :focus-visible { outline: 2px solid #FFA35C; outline-offset: 3px; }
@media (max-width: 880px) {
  nav .nav-cart { margin: 0 -.1rem 0 .1rem; padding: 0 .65rem 0 .3rem; }
  nav .nav-cart .nc-label { display: none; }
  html.has-cart nav .nav-hamburger { margin-left: auto; }
}

/* ── 2 · SLIDE-IN CART ── */
.sc-scrim {
  position: fixed; inset: 0; z-index: 1140; background: rgba(8, 5, 3, .62);
  opacity: 0; transition: opacity .3s ease; -webkit-tap-highlight-color: transparent;
}
.sc {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1150; width: min(440px, 100vw);
  display: flex; flex-direction: column; color: #F5EDDC;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 122, 47, .16), transparent 60%),
    linear-gradient(180deg, #1D140C 0%, #15100A 55%, #120D08 100%);
  border-left: 1px solid rgba(232, 168, 58, .32);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .55);
  transform: translateX(104%); transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  outline: none; overscroll-behavior: contain;
}
.sc[hidden], .sc-scrim[hidden] { display: none; }
html.sc-open .sc { transform: none; }
html.sc-open .sc-scrim { opacity: 1; }
html.sc-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sc, .sc-scrim, .nc-jar .nc-fill, nav .nav-cart .nc-count { transition: none; } }

.sc-head {
  display: flex; align-items: baseline; gap: .75rem; flex: none;
  padding: max(1.1rem, env(safe-area-inset-top)) 1.25rem .9rem 1.5rem; border-bottom: 1px solid rgba(232, 168, 58, .22);
}
.sc-head h2 { margin: 0; font: 700 1.625rem/1.1 'Playfair Display', serif; letter-spacing: -.01em; color: #F5EDDC; }
.sc-tally { font: 700 .75rem/1 'Lato', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #E8A83A; }
.sc-x {
  margin-left: auto; align-self: center; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; color: #F5EDDC; border-radius: 50%; transition: color .2s, filter .2s;
}
.sc-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sc-x:hover { color: #FFA35C; filter: drop-shadow(0 0 8px rgba(255, 122, 47, .7)); }

.sc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 1.5rem 1rem; -webkit-overflow-scrolling: touch; }

/* quick reorder: last order, one button */
.sc-reorder { padding: 1.1rem 0 1.15rem; border-bottom: 1px solid rgba(232, 168, 58, .22); }
.sc-reorder[hidden], .sc-find[hidden], .sc-cabinet[hidden] { display: none; }
.sc-kicker { margin: 0 0 .4rem; font: 700 .6875rem/1 'Lato', sans-serif; letter-spacing: .25em; text-transform: uppercase; color: #E8A83A; }
.sc-reorder-what { margin: 0 0 .8rem; font: 400 .9375rem/1.45 'Lato', sans-serif; color: #E9DDC2; }
.sc .sc-reorder-go { width: 100%; min-height: 50px; font-size: .875rem; }

/* bundle ladder: three jars light up as the price drops */
.sc-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; padding: 1.15rem 0 .35rem; text-align: center; }
.sc-rung { position: relative; display: grid; justify-items: center; gap: .2rem; opacity: .5; transition: opacity .3s ease; }
.sc-rung + .sc-rung::before {
  content: ""; position: absolute; left: -50%; right: 50%; top: 17px; height: 1px; margin: 0 22px;
  background: linear-gradient(90deg, rgba(232, 168, 58, .15), rgba(232, 168, 58, .5));
}
.sc-rung .sc-rung-jar { width: 28px; height: 35px; }
.sc-rung strong { font: 700 1.5rem/1 'Playfair Display', serif; color: #F5EDDC; }
.sc-rung span { font: 700 .625rem/1 'Lato', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #CFC2A4; }
.sc-rung.lit { opacity: 1; }
.sc-rung.lit .sc-rung-jar { filter: drop-shadow(0 0 8px rgba(255, 122, 47, .7)); }
.sc-rung.now strong { color: #FFB877; text-shadow: 0 0 14px rgba(255, 122, 47, .55); }
.sc-ladder-note { margin: .35rem 0 .2rem; min-height: 1.3em; text-align: center; font: 700 .8125rem/1.3 'Lato', sans-serif; color: #E8A83A; }

/* the shelf: every blend, always one tap from the cart */
.sc-lines { list-style: none; margin: .5rem 0 0; padding: 0; }
.sc-line {
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: .8rem 0 .8rem .75rem; border-top: 1px solid rgba(232, 168, 58, .16);
}
.sc-line::before {
  content: ""; position: absolute; left: 0; top: .8rem; bottom: .8rem; width: 2px; border-radius: 2px;
  background: #FF8A3D; box-shadow: 0 0 10px rgba(255, 122, 47, .9); opacity: 0; transition: opacity .25s ease;
}
.sc-line.on::before { opacity: 1; }
.sc-thumb { width: 46px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.sc-thumb.round { height: 46px; border-radius: 50%; object-fit: cover; }
.sc-info { display: grid; gap: .22rem; min-width: 0; }
.sc-name { font: 700 1.0625rem/1.15 'Playfair Display', serif; color: #F5EDDC; }
.sc-meta { font: 400 .8125rem/1.3 'Lato', sans-serif; color: #CFC2A4; }
.sc-each { font: 700 .75rem/1.3 'Lato', sans-serif; letter-spacing: .04em; color: #E8A83A; }
.sc-line:not(.on) .sc-thumb { opacity: .7; }
.sc-line.off { opacity: .45; }
.sc-qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid rgba(255, 138, 61, .45); border-radius: 999px; }
.sc-qty button {
  width: 42px; height: 42px; border: 0; background: none; cursor: pointer; color: #FFD7B8;
  font: 700 1.25rem/1 'Lato', sans-serif; border-radius: 999px; transition: color .15s, text-shadow .15s;
}
.sc-qty button:hover:not(:disabled) { color: #fff; text-shadow: 0 0 12px rgba(255, 122, 47, .9); }
.sc-qty button:disabled { opacity: .3; cursor: default; }
.sc-qty output { min-width: 1.6ch; text-align: center; font: 700 1.0625rem/1 'Lato', sans-serif; color: #F5EDDC; }
.sc-line.on .sc-qty { border-color: #FF8A3D; box-shadow: 0 0 12px rgba(255, 122, 47, .3), inset 0 0 10px rgba(255, 122, 47, .12); }

.sc-cabinet {
  display: block; width: 100%; margin: .2rem 0 0; padding: .95rem 0; border: 0; border-top: 1px solid rgba(232, 168, 58, .16);
  background: none; cursor: pointer; text-align: left; font: 700 .8125rem/1.2 'Lato', sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: #FFD7B8; transition: color .2s, text-shadow .2s;
}
.sc-cabinet::after { content: " \2192"; }
.sc-cabinet strong { color: #FFB877; }
.sc-cabinet:hover { color: #fff; text-shadow: 0 0 12px rgba(255, 122, 47, .7); }

.sc-find { margin: 0; padding: 1rem 0 .25rem; border-top: 1px solid rgba(232, 168, 58, .16); }
.sc-find label { display: block; margin: 0 0 .55rem; font: 700 .6875rem/1.2 'Lato', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #E8A83A; }
.sc-find-row { display: flex; gap: .5rem; }
.sc-find input {
  flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 .85rem; border-radius: 2px; border: 1px solid rgba(232, 168, 58, .35);
  background: rgba(255, 255, 255, .05); color: #F5EDDC; font: 400 1rem/1 'Lato', sans-serif;
}
.sc-find input::placeholder { color: #A8997C; }
.sc-find input:focus { outline: none; border-color: #FF8A3D; box-shadow: 0 0 0 1px #FF8A3D, 0 0 14px rgba(255, 122, 47, .35); }
.sc .sc-find .btn-outline { flex: none; height: 46px; padding: 0 1.1rem; }
.sc-find-msg { margin: .5rem 0 0; min-height: 1.2em; font: 400 .8125rem/1.3 'Lato', sans-serif; color: #E9DDC2; }

/* account line under the shelf */
.sc-acct { margin: 0; padding: .9rem 0 .2rem; border-top: 1px solid rgba(232, 168, 58, .16); font: 400 .875rem/1.45 'Lato', sans-serif; color: #CFC2A4; }
.sc-find-msg a { color: #FFB877; } .sc-find-msg b { color: #F5EDDC; font-weight: 700; overflow-wrap: anywhere; }
.sc-acct a { color: #FFB877; } .sc-acct b { color: #F5EDDC; }

.sc-foot {
  flex: none; padding: 1rem 1.5rem max(1.1rem, env(safe-area-inset-bottom)); border-top: 1px solid rgba(232, 168, 58, .3);
  background: linear-gradient(180deg, rgba(21, 16, 10, 0), rgba(10, 7, 4, .55));
}
.sc-sum { display: flex; align-items: baseline; justify-content: space-between; }
.sc-sum span { font: 700 .75rem/1 'Lato', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #CFC2A4; }
.sc-sum strong { font: 700 2.5rem/1 'Playfair Display', serif; color: #F5EDDC; }
.sc-save { margin: .3rem 0 .8rem; min-height: 1.2em; text-align: right; font: 700 .8125rem/1.2 'Lato', sans-serif; color: #FFB877; }
.sc .sc-go { display: flex; width: 100%; min-height: 54px; font-size: .9375rem; }
.sc .sc-go.is-off { opacity: .45; pointer-events: none; box-shadow: none; text-shadow: none; }
.sc-fine { margin: .7rem 0 0; text-align: center; font: 400 .75rem/1.4 'Lato', sans-serif; color: #B8A98A; }
.sc-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 480px) {
  .sc { border-left: 0; }
  .sc-head { padding-left: 1.1rem; padding-right: .6rem; }
  .sc-body { padding: 0 1.1rem 1rem; }
  .sc-foot { padding-left: 1.1rem; padding-right: 1.1rem; }
  .sc-sum strong { font-size: 2.125rem; }
}
@media (max-height: 620px) {
  /* short laptop screens (1280x585): the whole cart fits without scrolling */
  .sc-head { padding-top: .65rem; padding-bottom: .55rem; }
  .sc-head h2 { font-size: 1.375rem; }
  .sc-reorder { padding: .7rem 0 .75rem; }
  .sc-reorder-what { margin-bottom: .55rem; font-size: .875rem; }
  .sc .sc-reorder-go { min-height: 44px; }
  .sc-ladder { padding-top: .6rem; padding-bottom: .15rem; }
  .sc-rung .sc-rung-jar { width: 22px; height: 28px; }
  .sc-rung + .sc-rung::before { top: 14px; }
  .sc-rung strong { font-size: 1.25rem; }
  .sc-ladder-note { margin: .2rem 0 0; }
  .sc-lines { margin-top: .3rem; }
  .sc-line { padding-top: .38rem; padding-bottom: .38rem; }
  .sc-line::before { top: .38rem; bottom: .38rem; }
  .sc-thumb { height: 50px; width: 40px; } .sc-thumb.round { height: 40px; }
  .sc-line { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .sc-meta { display: none; }
  .sc-qty { height: 40px; } .sc-qty button { width: 40px; height: 38px; }
  .sc-cabinet { padding: .6rem 0; }
  .sc-foot { padding-top: .55rem; padding-bottom: .7rem; }
  .sc-sum strong { font-size: 1.75rem; }
  .sc-save { margin: .15rem 0 .45rem; }
  .sc .sc-go { min-height: 46px; }
  .sc-fine { display: none; }
}

/* ── 3 · QUICK REORDER on the order pad and the tracking page (parchment) ── */
.rx-reorder {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.25rem;
  margin: 0 0 1.4rem; padding: 0 0 1.25rem; border-bottom: 1px dashed rgba(60, 44, 24, .35);
}
.rx-reorder[hidden] { display: none; }
.rx-reorder-kicker { margin: 0 0 .3rem; font: 700 .6875rem/1 'Lato', sans-serif; letter-spacing: .25em; text-transform: uppercase; color: var(--ember-ink, #8A3411); }
.rx-reorder-what { margin: 0; font: 400 1rem/1.4 'Lato', sans-serif; color: var(--ink, #241A0F); }
.rx-reorder-what b { font-weight: 700; }
.rx-reorder .rx-btn { min-height: 50px; white-space: nowrap; }
.rx-welcome { margin: 0 0 1rem; font: 400 .9375rem/1.45 'Lato', sans-serif; color: var(--ink-muted, #5C4B34); }
.rx-welcome button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--ember-ink, #8A3411); text-decoration: underline; }
.track-reorder { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px dashed rgba(60, 44, 24, .35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.track-reorder[hidden] { display: none; }
.track-reorder span { font: 400 .9375rem/1.4 'Lato', sans-serif; }
@media (max-width: 560px) {
  .rx-reorder { grid-template-columns: 1fr; }
  .rx-reorder .rx-btn, .track-reorder .btn-primary { width: 100%; }
}
.rx-history .rx-hist-note a { color: #FFB877; } .rx-history .rx-hist-note b { color: #F5EDDC; overflow-wrap: anywhere; }

/* 2026-10-12 · Peddler's Powder nudge — shows once a jar is picked and there's no popcorn seasoning yet */
.sc-pp {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: .8rem;
  margin: .55rem 0 .2rem; padding: .7rem 0 .7rem .75rem;
  border-top: 1px solid rgba(232, 168, 58, .22); border-bottom: 1px solid rgba(232, 168, 58, .22);
}
.sc-pp::before {
  content: ""; position: absolute; left: 0; top: .7rem; bottom: .7rem; width: 2px; border-radius: 2px;
  background: #FF8A3D; box-shadow: 0 0 10px rgba(255, 122, 47, .9);
}
.sc-pp[hidden] { display: none; }
.sc-pp-jar { width: 34px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.sc-pp-txt { display: grid; gap: .18rem; min-width: 0; }
.sc-pp-kick { font: 700 .625rem/1 'Lato', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #E8A83A; }
.sc-pp-name { font: 700 1rem/1.15 'Playfair Display', serif; color: #F5EDDC; }
.sc-pp-meta { font: 400 .75rem/1.3 'Lato', sans-serif; color: #CFC2A4; }
.sc-pp-add {
  min-height: 44px; padding: 0 1rem; border: 1px solid #FF8A3D; border-radius: 999px; background: none; cursor: pointer;
  font: 700 .8125rem/1 'Lato', sans-serif; letter-spacing: .06em; color: #FFD7B8; white-space: nowrap;
  box-shadow: 0 0 12px rgba(255, 122, 47, .3), inset 0 0 10px rgba(255, 122, 47, .12); transition: color .15s, text-shadow .15s;
}
.sc-pp-add:hover { color: #fff; text-shadow: 0 0 12px rgba(255, 122, 47, .9); }
.sc-pp-add:focus-visible { outline: 2px solid #FFB877; outline-offset: 3px; }
.rx-pp { margin: var(--s-3, .75rem) 0 0; font: 400 var(--fs-meta, .9375rem) / 1.5 'Lato', sans-serif; color: var(--tx-muted); }
.rx-pp[hidden] { display: none; }
.rx-pp b { color: var(--tx); }
.rx-pp .rx-nudge-add { margin-left: .25rem; }
@media print { .sc-pp, .rx-pp { display: none !important; } }
