/* Ask Warehouse AI menu on the shop pages (snippets/wh-side.liquid). Same look as the homepage app's menu. */
.whs,.whs-bar{--whs-bg:#0C0D0B;--whs-line:rgba(236,232,222,.14);--whs-text:#ECE8DE;--whs-soft:#CFCABD;--whs-muted:#A9A79B;--whs-brass:#E3C48F;
  font-family:var(--font-body--family,'Jost',sans-serif);font-size:15px;line-height:1.5;color:var(--whs-text);box-sizing:border-box}
.whs *,.whs-bar *{box-sizing:border-box}
.whs a,.whs-bar a{text-decoration:none}

.whs{position:fixed;top:0;left:0;bottom:0;width:260px;display:flex;flex-direction:column;gap:16px;padding:16px 12px;background:var(--whs-bg);border-right:1px solid var(--whs-line);overflow-y:auto;z-index:1}
.whs__brand{display:flex;flex-direction:column;gap:2px;padding:2px 8px 0;color:var(--whs-text)}
.whs__shop{font-size:11px;letter-spacing:.22em;color:var(--whs-brass);font-weight:500}
.whs__name{font-family:var(--font-heading--family,'Libre Baskerville',serif);font-size:19px;color:var(--whs-text)}
.whs__new{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:1px solid rgba(227,196,143,.55);border-radius:10px;color:var(--whs-text);font-weight:500}
.whs__new svg{color:var(--whs-brass)}
.whs__new:hover{border-color:var(--whs-brass);color:var(--whs-text)}
.whs__menu{display:flex;flex-direction:column;gap:2px}
.whs__item{display:flex;align-items:center;gap:12px;min-height:40px;padding:0 12px;border-radius:10px;color:var(--whs-soft)}
.whs__item:hover{color:var(--whs-text);background:rgba(236,232,222,.05)}
.whs__item.is-on{color:var(--whs-text);background:rgba(236,232,222,.08)}
.whs__recent{flex:1;display:flex;flex-direction:column;gap:2px;min-height:80px}
.whs__label{padding:0 12px 6px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--whs-muted)}
.whs__chat{display:block;padding:8px 12px;border-radius:10px;color:var(--whs-soft);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.whs__chat:hover{color:var(--whs-text);background:rgba(236,232,222,.05)}
.whs__empty{margin:0;padding:4px 12px;font-size:13px;color:var(--whs-muted)}
.whs__me{display:flex;align-items:center;gap:12px;padding:12px 8px 2px;border-top:1px solid var(--whs-line)}
.whs__avatar{flex:none;width:36px;height:36px;border-radius:50%;background:var(--whs-brass);color:#121411;display:flex;align-items:center;justify-content:center;font-weight:600}
.whs__who{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.whs__who a{color:var(--whs-text);font-weight:500}
.whs__who span{font-size:12px;color:var(--whs-muted)}
.whs a:focus-visible,.whs-bar a:focus-visible,.whs-bar button:focus-visible{outline:2px solid var(--whs-brass);outline-offset:2px}

.whs-bar{display:none}
.whs-scrim{display:none}

/* Computer: the menu sits on the left, the shop page next to it. */
@media (min-width:900px){
  body.whs-on{padding-left:260px}
}

/* Phone / tablet: a slim bar on top; the menu slides in from the left. */
@media (max-width:899px){
  .whs-bar{display:flex;align-items:center;gap:6px;min-height:48px;padding:2px 8px;background:var(--whs-bg);border-bottom:1px solid var(--whs-line)}
  .whs-bar__menu{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--whs-text);cursor:pointer}
  .whs-bar__name{flex:1;color:var(--whs-text);font-family:var(--font-heading--family,'Libre Baskerville',serif);font-size:16px}
  .whs-bar__new{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid rgba(227,196,143,.55);border-radius:10px;color:var(--whs-text);font-size:14px}
  .whs-bar__new svg{color:var(--whs-brass)}
  .whs{width:min(300px,86vw);transform:translateX(-102%);transition:transform .2s ease;z-index:1000;visibility:hidden}
  .whs.is-open{transform:none;visibility:visible}
  .whs-scrim.is-open{display:block;position:fixed;inset:0;z-index:999;width:auto;height:auto;padding:0;border:0;background:rgba(0,0,0,.55)}
}
@media (prefers-reduced-motion:reduce){.whs{transition:none}}
@media print{.whs,.whs-bar,.whs-scrim{display:none!important}body.whs-on{padding-left:0}}
/* "Change in chat" after a cart line's note (Oct 12) */
.whs-cartlink{text-decoration:underline !important;text-underline-offset:2px;color:inherit;white-space:nowrap}
/* Pickup timing on each cart line (Oct 13) – same colours as the stock labels */
.whs-ready{margin:4px 0 0 !important;font-size:13px !important;font-weight:600;letter-spacing:.02em}
.whs-ready--today{color:#A8B897}
.whs-ready--later{color:#F0A04B}
.whs-ready--na{color:#E5604D}
/* Owner, Dec 2 8:55 am: the menu panel in BOTH shopping modes – "a nicer My Account page"; Ask AI is one click away (Chats / New chat).
   Desktop: always on the left. Phone: the ☰ bar at the top opens it. It carries the Ask AI | Browse switch, so Browse mode's own
   switch strip above the header goes. (Overrides the theme's "hide the panel in Browse" rule in snippets/wh-mode-head.liquid.) */
html.whm-browse:not(.whm-x) body .whs{display:flex!important}
html.whm-browse:not(.whm-x) body .whm-strip{display:none!important}
html.whm-browse:not(.whm-x) body .whs-scrim.is-open{display:block!important}
@media (min-width:900px){html.whm-browse:not(.whm-x) body.whs-on{padding-left:260px!important}}
@media (max-width:899px){html.whm-browse:not(.whm-x) body .whs-bar{display:flex!important}}

/* One menu (owner, Dec 2 9:25 am – no more Ask AI vs Browse): Shop · My account · Ask Warehouse AI, built by wh-mode.js
   (`onePanel`) from this snippet's markup. Shown on every page – the old Browse-mode rules above no longer apply. */
.whs [hidden],.whs-bar [hidden]{display:none!important}
.whs .wh-one__sec{gap:2px}
.whs .wh-one__label{padding:2px 12px 6px}
.whs .wh-one__ai{flex:1;min-height:150px}
.whs .wh-one__ai .whs__new{margin-bottom:8px}
.whs .wh-one__ai .whs__recent{flex:1;min-height:0;overflow-y:auto}
.whs .wh-one__ai .whs__recent .whs__label{font-size:10px;padding-top:2px}
.whs .wh-one__tag{font-size:15px;line-height:1.35}

/* Recent chats ⋯ → Delete (owner, Dec 2 12:34 pm) */
.whs__crow{display:flex;align-items:center;gap:2px}
.whs__crow .whs__chat{flex:1;min-width:0}
.whs__cmenu{flex:none;width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;opacity:.45;font-size:16px;line-height:1;cursor:pointer}
.whs__crow:hover .whs__cmenu,.whs__crow.is-menu .whs__cmenu,.whs__cmenu:focus-visible{opacity:1;border-color:rgba(127,127,127,.4)}
.whs__cacts,.whs__cask{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:2px 0 8px 10px;font-size:13px}
.whs__cacts button,.whs__cask button{padding:4px 10px;border:1px solid rgba(127,127,127,.5);border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.whs__cask button[data-whs-cdel-yes]{border-color:rgba(217,83,79,.7);color:#F2B8B5}
.whs__cnone{opacity:.6;font-size:13px;margin:4px 10px}
