/* The shop parts added to Keeper's page, in Keeper's own tokens (--oil, --paper,
   --shallot, --pot, --garlic, --ink) and type (Fraunces, IBM Plex Mono). */
[hidden] { display: none !important; }
.demo-bar { background: var(--ink); color: var(--garlic); font: 500 .74rem/1.4 "IBM Plex Mono", monospace; text-align: center; padding: .55rem 1rem; }
.demo-bar a { color: var(--shallot); }

/* Product photos and stock on Keeper's jar cards */
.prod img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: .85rem; border: 2px solid var(--pot); }
.prod .stock { display: block; font-size: .7rem; color: #5b6b3a; font-weight: 600; margin: .35rem 0 .2rem; }
.prod .stock.low { color: var(--oil); }
.prod .add { display: inline-flex; margin-top: .6rem; padding: .5rem .9rem; background: var(--pot); color: var(--garlic); font: 600 .78rem "IBM Plex Mono", monospace; text-decoration: none; border: 0; box-shadow: 3px 3px 0 var(--oil); cursor: pointer; }
.prod .add:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--oil); }
.add.out, .buy.out { opacity: .5; pointer-events: none; }
.gift-card img { width: 120px; height: 120px; object-fit: cover; border: 2px solid var(--pot); flex: none; }

/* The market photo, where Keeper left a placeholder */
.mkt-photo { flex: 1; min-width: 260px; margin: 0; }
.mkt-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--shallot); }
.mkt-photo figcaption { font-size: .72rem; color: var(--shallot); margin-top: .45rem; }

/* "It's for everything": photos of what it goes on */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 1.8rem; }
.uses figure { margin: 0; }
.uses img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--pot); }
.uses figcaption { font: italic 1rem/1.35 "Fraunces", serif; color: var(--pot); margin-top: .5rem; }
@media (max-width: 760px) { .uses { grid-template-columns: 1fr; } }

/* The order pill and drawer */
.cart-pill { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; background: var(--pot); color: var(--garlic); font: 600 .85rem "IBM Plex Mono", monospace; border: 2px solid var(--shallot); box-shadow: 4px 4px 0 var(--oil); cursor: pointer; }
.cart-pill b { background: var(--shallot); color: var(--pot); min-width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 999px; font-size: .75rem; }
.o-drawer { position: fixed; inset: 0; z-index: 60; }
.o-scrim { position: absolute; inset: 0; background: rgba(40, 10, 5, .5); }
.o-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; border-left: 3px double var(--pot); font-family: "IBM Plex Mono", monospace; }
.o-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 2px solid var(--pot); }
.o-head h2 { margin: 0; font: 700 1.5rem "Fraunces", serif; color: var(--pot); }
.o-x { border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--pot); cursor: pointer; width: 40px; height: 40px; }
.o-body { padding: 1rem 1.2rem 1.6rem; overflow-y: auto; flex: 1; font-size: .85rem; }
.o-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: .7rem 0; border-bottom: 1px dashed rgba(94, 26, 16, .35); }
.o-line img, .o-noimg { width: 56px; height: 56px; object-fit: cover; border: 2px solid var(--pot); display: block; }
.o-name { font: 700 1rem "Fraunces", serif; color: var(--pot); }
.o-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--pot); margin-top: .35rem; }
.o-qty button { border: 0; background: none; width: 28px; height: 26px; cursor: pointer; color: var(--pot); font-size: 1rem; }
.o-qty span { min-width: 20px; text-align: center; }
.o-price { font-weight: 600; }
.o-empty { color: var(--ink); padding: 1.2rem 0; }
.o-check { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 .6rem; cursor: pointer; }
.o-check input { accent-color: var(--oil); width: 18px; height: 18px; margin-top: 2px; }
.o-h { font: 700 1.1rem "Fraunces", serif; color: var(--pot); margin: 1.1rem 0 .5rem; }
.o-field { display: block; margin-bottom: .7rem; }
.o-field span { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--oil); margin-bottom: .25rem; }
.o-field input, .o-field select, .o-field textarea, .o-code input { width: 100%; box-sizing: border-box; padding: .55rem .65rem; border: 2px solid var(--pot); background: var(--garlic); font: inherit; color: var(--ink); }
.o-field textarea { min-height: 76px; resize: vertical; }
.o-row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.o-code { display: flex; gap: 8px; }
.o-ghost { padding: .55rem .9rem; background: transparent; border: 2px solid var(--pot); color: var(--pot); font: 600 .8rem "IBM Plex Mono", monospace; cursor: pointer; }
.o-hint { font-size: .74rem; margin: .35rem 0 0; color: var(--ink); opacity: .85; }
.o-hint.ok { color: #4f6b2a; opacity: 1; font-weight: 600; }
.o-hint.bad { color: var(--oil); opacity: 1; }
.o-totals { margin: 1.1rem 0 .9rem; border-top: 2px solid var(--pot); padding-top: .7rem; }
.o-totals div { display: flex; justify-content: space-between; padding: .2rem 0; }
.o-totals .grand { font: 700 1.25rem "Fraunces", serif; color: var(--pot); padding-top: .5rem; }
.o-done { border: 2px solid var(--pot); background: var(--garlic); padding: 1rem; margin-top: .4rem; }
.o-done h3 { margin: 0 0 .5rem; font: 700 1.2rem "Fraunces", serif; color: var(--pot); }
.o-done p { margin: 0 0 .6rem; line-height: 1.5; }
.o-done strong { display: block; color: var(--pot); }

/* The stockist form's extras */
.enq-form [data-enq-note] { font-size: .8rem; color: var(--shallot); margin: 0; }
.enq-form .hp { position: absolute; left: -9999px; }

/* The hero jar photo, at the top of the buy panel (a managed image). Explicit
   height: Keeper's own img rules otherwise let it run the full 4:5. */
aside.net img.hero-jar { display: block; width: 100%; height: 230px !important; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: 50% 42%; border: 2px solid var(--pot); margin: 0 0 .9rem; }
@media (max-width: 760px) { aside.net img.hero-jar { height: 300px !important; } }
/* On a phone the jar and the buy panel come first, then the ingredients. */
@media (max-width: 760px) { .hero .body > aside.net { order: -1; } }
