/* ===========================================================================
 * WDK header variant — "JADE"   ·   body class: .wdk-hdr-jade
 * ---------------------------------------------------------------------------
 * Loads AFTER assets/wdk-chrome.css. Every rule is scoped to
 * `body.wdk-hdr-jade`, so the sheet is completely inert until that class is on
 * <body>. No DOM changes, no JS changes — pure restyle of wdk_header_html().
 *
 * THE IDEA
 *   The bar IS the brand: a full-strength jade slab (#3EB785, lifted with a
 *   soft top sheen and settled with a deeper base) carrying INK type, an ink
 *   cart pill and ink ghost tools. White is not a text colour here — it is a
 *   SURFACE: it arrives as the logo plate, as the tab that grows under an open
 *   menu, and as the mega panel that tab merges into. Orange stays the single
 *   accent (cart badge, ticker chip, feature price, ALL button).
 *
 * THE TWO TRAPS, SOLVED
 *   1. White-on-jade is 2.52:1 — it fails everywhere, at every size. So this
 *      variant puts NO white text and NO white-only icon directly on bright
 *      jade. All bar type is ink #151917 (6.0:1 worst case). That inversion is
 *      also what lets the bar carry a gradient + sheen safely: lightening jade
 *      only RAISES ink contrast, where it would have sunk white type.
 *   2. Jade bar + jade ticker = one green slab. The ticker goes INK — the same
 *      #151917 as the new footer and homepage hero — so the green is contained
 *      to one 72px band, the orange "cheapest oz" chip finally has a dark
 *      ground to shout from, and the page reads jade → ink → paper.
 *
 * LOGO
 *   small-logo.png is a three-line BLACK wordmark on transparency, and its
 *   middle word ("DELIVERY") is drawn as hollow outline letters — on jade the
 *   counters fill with green and the lockup loses its designed negative space.
 *   It gets a white plate: restores the intended white counters, reads as a
 *   deliberate brand badge, repeats the white-surface language of the tab and
 *   panel, and stays correct if the owner ever swaps in coloured art (a CSS
 *   invert filter would not).
 * ======================================================================== */

body.wdk-hdr-jade{
  --jd-bar:#3EB785;          /* the brand jade — the bar's mid stop */
  --jd-bar-hi:#45C08D;       /* top of the bar gradient */
  --jd-bar-lo:#34A97A;       /* base of the bar gradient */
  --jd-edge:rgba(9,58,40,.34);   /* dark-jade under-edge of the bar */
  --jd-ink:#151917;          /* THE text/anchor colour (footer + hero ink) */
  --jd-ink-deep:#0C110F;     /* pressed / hovered ink */
  --jd-deep:#1B7C55;         /* the ONE jade that is safe under white text (5.17:1) */
  --jd-wash:rgba(255,255,255,.30);        /* nav hover wash on jade */
  --jd-ghost:rgba(19,42,32,.72);          /* tool outline on jade — 3.2:1+ */
  --jd-line:#d3ecdf;         /* jade-tinted hairline on white surfaces */
  --jd-line-soft:#e2f1ea;
  --jd-tint:#eef8f3;         /* icon-tile ground */
  --jd-tint-hi:#e6f6ee;      /* row hover wash */
  --jd-orange:#FF9800;
  --jd-orange-hi:#FFA61F;
  --jd-shadow:0 26px 50px -14px rgba(10,58,41,.36);
}

/* ============================================================
   1. THE BAR — jade slab, 72px, with a sheen and a dark base.
   The base edge is an INSET shadow, not a border: inset shadow
   paints above the background but BELOW child boxes, so the
   white tab of an open menu punches a clean notch through it
   and joins the panel with no line in between. Dropping the
   border also makes .wdk-mega's `top:100%` land exactly on the
   bar's bottom edge (percentages resolve on the padding box).
   ============================================================ */
body.wdk-hdr-jade .wdk-hdr{background:var(--jd-bar)}
body.wdk-hdr-jade .wdk-hb{
  background:
    radial-gradient(120% 200% at 10% -60%, rgba(255,255,255,.18), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, var(--jd-bar-hi) 0%, var(--jd-bar) 54%, var(--jd-bar-lo) 100%);
  border-bottom:0;
  box-shadow:inset 0 -3px 0 var(--jd-edge);
}
body.wdk-hdr-jade .wdk-hb-in{min-height:72px;gap:20px;padding:0 40px}

/* --- logo: white plate (see header comment for the reasoning) --- */
/* No white plate behind the logo (owner, 2026-08-17): the mark sits straight
   on the jade. A soft shadow does the separating instead of a card. */
body.wdk-hdr-jade .wdk-logo{
  align-items:center;background:none;border-radius:0;padding:0;box-shadow:none;
}
body.wdk-hdr-jade .wdk-logo img{filter:drop-shadow(0 1px 1px rgba(6,38,26,.28))}
/* 56px in a 72px bar (owner, 2026-08-18 — "make the logo bigger"; it was 40px).
   small-logo.png is 525×320, so 56px tall is still under half its native height
   and stays sharp on a 2× screen. Every step below scales with it. */
body.wdk-hdr-jade .wdk-logo img{height:56px}
body.wdk-hdr-jade .wdk-logo:focus-visible{outline:3px solid var(--jd-ink);outline-offset:4px;border-radius:6px}

/* ============================================================
   2. NAV — ink Archivo Black on jade. The <a> is stretched to
   the full bar height so its background can act as a TAB: hover
   is a translucent wash + white underline; open is a solid white
   tab whose bottom edge is the mega panel's top edge.
   ============================================================ */
/* align-self:stretch + a stretch chain down to the <a> is what lets the link's
   own background become a full-bar-height tab. .wdk-nav becomes a flex parent
   to pass that height on, so the <ul> needs flex:1 to keep filling the row —
   without it the nav's justify-content:center has no width to centre in and
   the menu collapses against the logo. */
body.wdk-hdr-jade .wdk-nav{display:flex;align-self:stretch}
body.wdk-hdr-jade .wdk-nav ul{flex:1;min-width:0;align-items:stretch}
body.wdk-hdr-jade .wdk-ni{display:flex;align-items:stretch}
body.wdk-hdr-jade .wdk-ni-a{
  /* 16px (owner settled here 2026-08-18, after 12.5 → 18.75 read too large). */
  padding:0 11px;align-items:center;justify-content:center;
  font-size:16px;letter-spacing:.008em;
  color:var(--jd-ink)!important;
  background:transparent;border-radius:10px 10px 0 0;
  box-shadow:none;
  transition:background .14s ease, box-shadow .14s ease, color .14s ease;
}
/* The desktop dropdown chevrons are being retired; hidden here too so the
   variant previews identically whichever build of wdk-chrome.php is deployed.
   The drawer accordion chevrons (.wdk-acc-b .wdk-chev) are untouched. */
body.wdk-hdr-jade .wdk-ni-a .wdk-chev{display:none}

body.wdk-hdr-jade .wdk-ni-a:hover{
  color:var(--jd-ink)!important;
  background:var(--jd-wash);
  box-shadow:inset 0 -3px 0 rgba(241,249,245,.95);
}
/* The open tab is the top edge of the panel, so it takes the panel's mint
   (owner, 2026-08-17) — a white tab over a mint panel reads as two surfaces. */
body.wdk-hdr-jade .wdk-ni.open > .wdk-ni-a{
  color:var(--jd-ink)!important;
  background:#F1F9F5;
  box-shadow:0 -2px 0 rgba(241,249,245,.9);
}
body.wdk-hdr-jade .wdk-ni-a:focus-visible{outline:3px solid var(--jd-ink);outline-offset:-3px;border-radius:10px}

/* ============================================================
   3. TOOLS — ink ghost buttons that fill to solid ink on hover,
   next to the solid ink cart pill. Nothing here is white-on-jade.
   ============================================================ */
/* margin-left:auto fixes a bug that predates this variant: below 1024px
   wdk-chrome.css display:nones .wdk-nav, which was the only flex:1 item in the
   row, so the tools cluster collapsed against the logo and left ~80px of dead
   bar on the right (measured: tools ended at x=275 of a 375px viewport). It is
   a no-op on desktop, where .wdk-nav still absorbs the free space. */
body.wdk-hdr-jade .wdk-tools{gap:10px;margin-left:auto}
body.wdk-hdr-jade .wdk-stog,
body.wdk-hdr-jade .wdk-acct,
body.wdk-hdr-jade .wdk-mtog{
  width:44px;height:44px;border-radius:11px;
  background:transparent;border:1.5px solid var(--jd-ghost);
  color:var(--jd-ink)!important;
  transition:background .15s, border-color .15s, color .15s;
}
body.wdk-hdr-jade .wdk-stog:hover,
body.wdk-hdr-jade .wdk-acct:hover,
body.wdk-hdr-jade .wdk-mtog:hover{
  background:var(--jd-ink);border-color:var(--jd-ink);color:#fff!important;
}
/* Jade focus rings vanish on a jade bar — every on-bar ring goes ink. */
body.wdk-hdr-jade .wdk-stog:focus-visible,
body.wdk-hdr-jade .wdk-acct:focus-visible,
body.wdk-hdr-jade .wdk-mtog:focus-visible,
body.wdk-hdr-jade .wdk-cart:focus-visible{outline:3px solid var(--jd-ink);outline-offset:3px}
/* Same specificity as wdk-chrome's `body.wdk-search-on .wdk-stog`, and this
   sheet loads later — so the open-search state must be restated or the icon
   would go ink-on-ink. */
body.wdk-hdr-jade.wdk-search-on .wdk-stog{
  background:var(--jd-ink);border-color:var(--jd-ink);color:#fff!important;
}

/* cart pill — the darkest object on the bar, so it reads first */
body.wdk-hdr-jade a.wdk-cart{
  height:44px;padding:0 17px;border-radius:11px;gap:12px;
  background:var(--jd-ink);color:#fff!important;
  box-shadow:0 2px 0 rgba(8,44,30,.38);
  transition:background .15s, transform .15s;
}
body.wdk-hdr-jade a.wdk-cart:hover{background:var(--jd-ink-deep);transform:translateY(-1px)}
/* Orange badge, INK numeral: white-on-orange is 2.16:1 and fails at 10px. */
body.wdk-hdr-jade .wdk-cart-n{
  background:var(--jd-orange);color:var(--jd-ink);
  box-shadow:0 0 0 2px var(--jd-ink);
}
body.wdk-hdr-jade .wdk-cart-t{font-size:15.5px}

/* ============================================================
   4. SEARCH ROW — a white surface dropping out of the jade bar,
   same family as the tab and the mega panel.
   ============================================================ */
/* The dropdown field, not a row: white card hanging off the jade bar, same
   family as the open tab and the mega panel. */
/* Owner, 2026-08-18: the panel carries the mint and the field is white — the
   reverse of how it shipped. It reads better because the thing you type into
   is now the brightest surface in the panel instead of the panel itself. */
body.wdk-hdr-jade .wdk-search{background:var(--jd-tint);border-bottom:0;padding:10px;
  border:1px solid var(--jd-line);
  border-radius:14px;box-shadow:0 18px 40px -22px rgba(6,38,26,.42)}
body.wdk-hdr-jade .wdk-search input[type=search]{
  border-color:var(--jd-line);background:#fff;border-radius:9px 0 0 9px;
}
body.wdk-hdr-jade .wdk-search input[type=search]:focus{
  border-color:var(--jd-deep);box-shadow:none;
}
/* jade + white text is 2.52:1 — the submit button goes ink instead. */
body.wdk-hdr-jade .wdk-search button{
  background:var(--jd-ink);color:#fff;border-radius:0 9px 9px 0;
}
body.wdk-hdr-jade .wdk-search button:hover{background:var(--jd-deep)}
body.wdk-hdr-jade .wdk-search button:focus-visible{outline:3px solid var(--jd-deep);outline-offset:2px}

/* ============================================================
   5. TICKER — INK, not jade. This is what stops the header being
   one green slab, and it gives the orange chip a dark ground.
   The edge fades are hard-coded jade in wdk-chrome.css, so both
   pseudo-elements are re-tinted here.
   ============================================================ */
body.wdk-hdr-jade .wdk-marq{
  background:var(--jd-ink);padding:11px 0;
  box-shadow:0 12px 26px -16px rgba(10,40,29,.55);
}
body.wdk-hdr-jade .wdk-marq::before{background:linear-gradient(90deg,var(--jd-ink),rgba(21,25,23,0))}
body.wdk-hdr-jade .wdk-marq::after{background:linear-gradient(270deg,var(--jd-ink),rgba(21,25,23,0))}
body.wdk-hdr-jade .wdk-mtrack{font-size:12px;letter-spacing:.14em}
body.wdk-hdr-jade .wdk-mdot{color:rgba(255,255,255,.34)}
body.wdk-hdr-jade .wdk-mi .cw-i{color:rgba(255,255,255,.82)}
/* the one hot chip — orange with an INK label (white-on-orange is 2.16:1) */
body.wdk-hdr-jade .wdk-mtag{
  background:var(--jd-orange);color:var(--jd-ink);border-radius:3px;padding:4px 8px;
}

/* ============================================================
   6. MEGA PANEL — white paper hung off the bar's bottom edge.
   No top border: the bar's dark-jade inset edge IS the panel's
   top rule, and the open item's white tab notches through it.
   ============================================================ */
body.wdk-hdr-jade .wdk-mega{
  border:1px solid var(--jd-line);border-top:0;
  border-radius:0 0 16px 16px;
  box-shadow:var(--jd-shadow);
}
body.wdk-hdr-jade .wdk-mega-in{padding:24px 26px 26px}
body.wdk-hdr-jade .wdk-mega-t{
  color:var(--jd-deep);letter-spacing:.16em;
  border-bottom:2px solid var(--jd-line);padding-bottom:10px;
}
body.wdk-hdr-jade .wdk-mega-i{border-radius:9px}
body.wdk-hdr-jade .wdk-mega-i:hover{background:var(--jd-tint-hi)}
body.wdk-hdr-jade .wdk-mega-i:focus-visible{outline:3px solid var(--jd-deep);outline-offset:1px}
body.wdk-hdr-jade .wdk-mega-ic{
  background:var(--jd-tint);border-color:var(--jd-line);color:#123a2b;border-radius:10px;
}
/* hover tile fills with the white-safe jade, NOT #3EB785 (white icon on bright
   jade is 2.52:1 and misses the 3:1 non-text minimum) */
body.wdk-hdr-jade .wdk-mega-i:hover .wdk-mega-ic{
  background:var(--jd-deep);border-color:var(--jd-deep);color:#fff;
}
body.wdk-hdr-jade .wdk-mega-sb b{color:var(--jd-deep)}   /* was #1F8A5F = 4.32:1 at 11px */

/* rail: an INK deal card. Orange on #f7f7f4 is 2.01:1 — it fails even the
   large-text 3:1 rule — so the feature price moves onto ink (8.23:1) and the
   ALL button becomes the loudest thing in the panel. */
body.wdk-hdr-jade .wdk-mega-f{
  background:var(--jd-ink);border-color:var(--jd-ink);border-radius:13px;padding:15px;gap:10px;
}
body.wdk-hdr-jade .wdk-mega-f-k{color:rgba(255,255,255,.62)}
/* Missing product photo → the jade tile from the colour mock, never
   broken-image text (owner, 2026-08-17). This sheet loads after
   wdk-chrome.css and restyles the whole panel, so the fallback has to be
   stated HERE too or the chrome copy is overridden by the line it replaced. */
/* This sheet loads after wdk-chrome.css and restyles the panel, so the tile
   is restated here or the base rule is overridden by the line it replaced. */
body.wdk-hdr-jade .wdk-mega-f-img{
  background:linear-gradient(150deg,#3EB785,#14624a);border-radius:8px;
  display:block;aspect-ratio:.96;overflow:hidden;
}
body.wdk-hdr-jade .wdk-mega-f-img img{width:100%;height:100%;object-fit:cover;display:block;background:none}
body.wdk-hdr-jade .wdk-mega-f-nm{color:#fff}
body.wdk-hdr-jade .wdk-mega-f-pr{color:var(--jd-orange);font-size:26px}
body.wdk-hdr-jade .wdk-mega-f a:focus-visible{outline:3px solid var(--jd-orange);outline-offset:2px}
body.wdk-hdr-jade a.wdk-mega-all{
  background:var(--jd-orange);color:var(--jd-ink)!important;border-radius:8px;letter-spacing:.12em;
}
body.wdk-hdr-jade a.wdk-mega-all:hover{background:var(--jd-orange-hi)}
body.wdk-hdr-jade .wdk-mega-all:focus-visible{outline:3px solid var(--jd-ink);outline-offset:2px}

/* ============================================================
   7. MOBILE DRAWER — jade cap on a white sheet, so the drawer
   is obviously the same object as the bar that opened it.
   ============================================================ */
body.wdk-hdr-jade .wdk-scrim{background:rgba(9,40,29,.55)}
body.wdk-hdr-jade .wdk-mnav-hd{
  background:linear-gradient(180deg,var(--jd-bar-hi),var(--jd-bar));
  border-bottom:0;box-shadow:inset 0 -3px 0 var(--jd-edge);padding:13px 14px;
}
body.wdk-hdr-jade .wdk-mnav-acct{
  background:#fff;border-color:#fff;color:var(--jd-ink)!important;border-radius:9px;
  box-shadow:0 2px 0 rgba(10,58,41,.24);
}
body.wdk-hdr-jade .wdk-mnav-x{color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-mnav-x:focus-visible{outline:3px solid var(--jd-ink);outline-offset:-2px}
/* THE LAYERING RULE again, and the reason this is more than a colour tweak:
   §4 above styles `.wdk-search` as a floating white card (bottom radius, jade
   drop-shadow, no bottom border, its own padding) at (0,2,1), which outranks
   wdk-chrome.css's `.wdk-mnav .wdk-msearch` (0,2,0) — so the DRAWER's copy of
   the form was being dressed as a dropdown card inside a drawer that is
   already a card. Restated at (0,3,0), which also beats §8's responsive
   padding overrides (media queries add no specificity). */
body.wdk-hdr-jade .wdk-mnav .wdk-msearch{
  border:0;border-bottom:1px solid var(--jd-line-soft);
  border-radius:0;box-shadow:none;padding:12px 14px;background:transparent;
}
body.wdk-hdr-jade .wdk-acc{border-bottom-color:var(--jd-line-soft)}
body.wdk-hdr-jade .wdk-acc-b{color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-acc-b[aria-expanded=true]{color:var(--jd-deep)}
body.wdk-hdr-jade .wdk-acc-b .wdk-chev{color:var(--jd-deep);opacity:.85}
body.wdk-hdr-jade .wdk-acc-b:focus-visible{outline:3px solid var(--jd-deep);outline-offset:-2px}
body.wdk-hdr-jade .wdk-mnav-a{border-bottom-color:var(--jd-line-soft);color:var(--jd-ink)!important}
body.wdk-hdr-jade .wdk-mnav-a:hover{color:var(--jd-deep)!important}

/* ============================================================
   8. RESPONSIVE — 320px up, no horizontal overflow.
   ============================================================ */

/* Nav items get tighter before the 1024px collapse: the 72px bar + logo plate
   + 44px tools leave less room than the stock layout did, and 8 departments
   must still fit on one line at 1025px. */
@media (min-width:1025px) and (max-width:1180px){
  body.wdk-hdr-jade .wdk-hb-in{gap:14px;padding:0 16px}
  body.wdk-hdr-jade .wdk-ni-a{padding:0 8px;font-size:12px}
  body.wdk-hdr-jade .wdk-logo{padding:0}
  body.wdk-hdr-jade .wdk-logo img{height:48px}
}

@media (max-width:1024.5px){
  body.wdk-hdr-jade .wdk-hb-in{min-height:64px;gap:12px;padding:0 18px}
  body.wdk-hdr-jade .wdk-logo{padding:0;border-radius:0}
  body.wdk-hdr-jade .wdk-logo img{height:46px}
  body.wdk-hdr-jade .wdk-stog,
  body.wdk-hdr-jade .wdk-acct,
  body.wdk-hdr-jade .wdk-mtog{width:42px;height:42px;border-radius:10px}
  body.wdk-hdr-jade a.wdk-cart{height:42px;border-radius:10px;padding:0 15px}
  body.wdk-hdr-jade .wdk-search{padding:11px 18px}
}

@media (max-width:480px){
  body.wdk-hdr-jade .wdk-hb-in{gap:10px;padding:0 14px}
  body.wdk-hdr-jade .wdk-tools{gap:8px}
  body.wdk-hdr-jade .wdk-logo{padding:0;border-radius:0}
  body.wdk-hdr-jade .wdk-logo img{height:38px}
  body.wdk-hdr-jade .wdk-stog,
  body.wdk-hdr-jade .wdk-mtog{width:40px;height:40px}
  body.wdk-hdr-jade a.wdk-cart{height:40px;padding:0 13px}
  body.wdk-hdr-jade .wdk-search{padding:10px 14px}
  body.wdk-hdr-jade .wdk-mtrack{font-size:11px;letter-spacing:.11em}
  body.wdk-hdr-jade .wdk-marq{padding:9px 0}
}

/* 320px: the plate is the only elastic piece left, so it gives up the padding
   before anything can push the row wide. */
@media (max-width:360px){
  body.wdk-hdr-jade .wdk-hb-in{min-height:60px;gap:8px;padding:0 12px}
  body.wdk-hdr-jade .wdk-logo{padding:0}
  body.wdk-hdr-jade .wdk-logo img{height:34px}
  body.wdk-hdr-jade .wdk-stog,
  body.wdk-hdr-jade .wdk-mtog{width:38px;height:38px}
  body.wdk-hdr-jade a.wdk-cart{height:38px;padding:0 11px}
}

@media (prefers-reduced-motion:reduce){
  body.wdk-hdr-jade a.wdk-cart:hover{transform:none}
  body.wdk-hdr-jade .wdk-ni-a,
  body.wdk-hdr-jade .wdk-stog,
  body.wdk-hdr-jade .wdk-acct,
  body.wdk-hdr-jade .wdk-mtog,
  body.wdk-hdr-jade a.wdk-cart{transition-duration:.01ms!important}
}

/* ============================================================
   9. THE TWO TOOL POPOVERS — account menu (.wdk-am) and mini
   cart (.wdk-mc), both `.wdk-pop`.

   They hang off the same jade bar as the mega panel and the
   search card, so they take the same geometry: 16px bottom
   radius, no top border (the bar's dark-jade inset edge is the
   card's top rule), and --jd-shadow.

   THE SURFACE SPLIT, and why it is not the same for both:
     - the ACCOUNT menu is a menu, so it takes the mega panel's
       MINT field and the mega panel's white icon tiles. It reads
       as another drawer of the same cabinet.
     - the MINI CART is a docket with photographs in it. Product
       shots on mint go muddy and the whole point of the panel is
       the goods, so the item list stays WHITE and mint is spent
       on the two ends — the header strip and the money/buttons
       foot — which is what frames the white in the middle.

   CONTRAST, same rules as the rest of this sheet: no white text
   on bright jade anywhere. Both jade CTAs use --jd-deep (5.17:1)
   and the base sheet's own --wdk-jade-safe is the identical
   value, so the two sheets cannot drift.
   ============================================================ */
body.wdk-hdr-jade .wdk-pop{
  border:1px solid var(--jd-line);border-top:0;
  border-radius:0 0 16px 16px;
  box-shadow:var(--jd-shadow);
}

/* --- account menu: mint field, white tiles --- */
body.wdk-hdr-jade .wdk-am{background:#F1F9F5}
body.wdk-hdr-jade .wdk-am-hd{border-bottom-color:var(--jd-line)}
body.wdk-hdr-jade .wdk-am-k{color:var(--jd-deep)}
body.wdk-hdr-jade .wdk-am-hi{color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-am-ic{background:#fff;border-color:var(--jd-line);color:#123a2b}
body.wdk-hdr-jade .wdk-am-i:hover,
body.wdk-hdr-jade .wdk-am-out:hover{background:rgba(23,122,82,.07)}
/* The tile fills with the white-safe jade, NOT #3EB785: a white glyph on the
   bright jade is 2.52:1 and misses even the 3:1 non-text minimum. */
body.wdk-hdr-jade .wdk-am-i:hover .wdk-am-ic,
body.wdk-hdr-jade .wdk-am-out:hover .wdk-am-ic{
  background:var(--jd-deep);border-color:var(--jd-deep);color:#fff;
}
body.wdk-hdr-jade .wdk-am-out{border-top-color:var(--jd-line)}
body.wdk-hdr-jade .wdk-am-cta{background:var(--jd-deep);color:#fff!important}
body.wdk-hdr-jade .wdk-am-cta:hover{background:#166646}
/* THE LAYERING RULE, live: the white tile above is (0,3,0) and the base
   sheet's `.wdk-am-cta .wdk-am-ic` is only (0,2,0), so without this line the
   jade CTA would carry a solid white chip with a dark-green glyph in it —
   two surfaces fighting inside one button. Restated, not removed. */
body.wdk-hdr-jade .wdk-am-cta .wdk-am-ic{
  background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.42);color:#fff;
}
body.wdk-hdr-jade .wdk-am-alt{border-color:var(--jd-line);background:#fff}
body.wdk-hdr-jade .wdk-am-alt:hover{border-color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-am-i:focus-visible,
body.wdk-hdr-jade .wdk-am-out:focus-visible,
body.wdk-hdr-jade .wdk-am-cta:focus-visible,
body.wdk-hdr-jade .wdk-am-alt:focus-visible{outline:3px solid var(--jd-deep);outline-offset:1px}
/* Drawer copy sits on the drawer's own white sheet, so it gets the mint
   instead of the base sheet's grey card. */
body.wdk-hdr-jade .wdk-am-dr{background:#F1F9F5;border-top-color:var(--jd-line-soft)}

/* --- mini cart: white middle, mint ends --- */
body.wdk-hdr-jade .wdk-mc{background:#fff}
body.wdk-hdr-jade .wdk-mc-hd{background:#F1F9F5;border-bottom-color:var(--jd-line)}
body.wdk-hdr-jade .wdk-mc-t{color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-mc-n{color:var(--jd-deep)}
body.wdk-hdr-jade .wdk-mc-x:hover{background:#fff;color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-mc-x:focus-visible{outline:3px solid var(--jd-deep);outline-offset:2px}
body.wdk-hdr-jade .wdk-mc li.mini_cart_item + li.mini_cart_item{border-top-color:var(--jd-line-soft)}
body.wdk-hdr-jade .wdk-mc li.mini_cart_item img{background:var(--jd-tint)}
body.wdk-hdr-jade .wdk-mc li.mini_cart_item > a:not(.remove):hover{color:var(--jd-deep)!important}
body.wdk-hdr-jade .wdk-mc li.mini_cart_item > a:focus-visible{outline:3px solid var(--jd-deep);outline-offset:2px}
body.wdk-hdr-jade .wdk-mc li.mini_cart_item > a.remove{background:var(--jd-tint)}
body.wdk-hdr-jade .wdk-mc li.mini_cart_item > a.remove:focus-visible{outline:3px solid var(--jd-deep);outline-offset:2px}
/* The money foot: mint ground, ink figure, so the subtotal is the last thing
   read before the buttons. */
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__total{
  background:#F1F9F5;border-top-color:var(--jd-line);color:var(--jd-deep);
}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__total .woocommerce-Price-amount,
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__total .amount{color:var(--jd-ink)}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__buttons{background:#F1F9F5}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__buttons a.button{
  background:#fff!important;border-color:var(--jd-line)!important;color:var(--jd-ink)!important;
}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__buttons a.button:hover{
  border-color:var(--jd-ink)!important;
}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__buttons a.button.checkout{
  background:var(--jd-deep)!important;border-color:var(--jd-deep)!important;color:#fff!important;
}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__buttons a.button.checkout:hover{
  background:#166646!important;border-color:#166646!important;
}
body.wdk-hdr-jade .wdk-mc .woocommerce-mini-cart__buttons a.button:focus-visible{
  outline:3px solid var(--jd-deep);outline-offset:2px;
}
/* Empty state — mint, so an empty panel still looks like the header's. */
body.wdk-hdr-jade .wdk-mc-none{background:#F1F9F5}
body.wdk-hdr-jade .wdk-mc-none-t{color:var(--jd-ink)}
body.wdk-hdr-jade a.wdk-mc-shop{background:var(--jd-deep);color:#fff!important}
body.wdk-hdr-jade a.wdk-mc-shop:hover{background:#166646}
body.wdk-hdr-jade .wdk-mc-shop:focus-visible{outline:3px solid var(--jd-ink);outline-offset:2px}

body.wdk-hdr-jade .wdk-pop-scrim{background:rgba(9,40,29,.55)}

/* Sheet mode: the radius moves to the top and the border with it. Restated
   here because §9's first rule sets a bottom-only radius for the dropdown. */
@media (max-width:1024.5px){
  body.wdk-hdr-jade .wdk-pop.wdk-mc{
    border:0;border-top:1px solid var(--jd-line);border-radius:18px 18px 0 0;
  }
  /* The grab handle is jade-tinted, not grey, so it belongs to the card. */
  body.wdk-hdr-jade .wdk-mc-hd::before{background:rgba(23,122,82,.30)}
}

@media (prefers-reduced-motion:reduce){
  body.wdk-hdr-jade .wdk-pop,
  body.wdk-hdr-jade .wdk-pop-scrim,
  body.wdk-hdr-jade .wdk-am-i,
  body.wdk-hdr-jade .wdk-am-out,
  body.wdk-hdr-jade .wdk-am-ic{transition-duration:.01ms!important}
}
