/* The phone nav bar (lib/dock.php, assets/dock.js; owner's pick 2026-10-29, N2 dark: docs/mockups/buzzpass/nav2/N2-bar.png): an ink pill,
   56px tall and 10px off the bottom, with Events · Studio classes · Cart · Account. The current item is a white inner pill with its filled icon
   and its label; the others are outline icons in white at 60%, their labels kept for screen readers only. Beside it a 56px ink round
   button with Buzzy, for Danbuzz Safari (S2, below). It slides away while the page scrolls and back once scrolling pauses (dock.js). Linked from
   lib/dock.php on every page that prints the bar (body.has-dock), Studio classes too. Every class starts dock-. */
.db-dock{--dk-ink:#121216;--dk-brand:#8224E3;--dk-lift:inset 0 0 0 1px rgb(255 255 255 / .08),0 12px 30px -10px rgb(10 6 20 / .55),0 2px 6px -2px rgb(10 6 20 / .3);position:fixed;z-index:390;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:8px;max-width:420px;margin:0 auto;font-family:"Geist",system-ui,sans-serif;-webkit-font-smoothing:antialiased;transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility 0s}
.db-dock *{box-sizing:border-box}
/* Away (typing in a field): out of view. Once it has slid out it stops drawing, or Safari's floating address bar shows
   it peeking under it */
.db-dock.is-away{transform:translateY(calc(100% + 20px + env(safe-area-inset-bottom,0px)));visibility:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility 0s .3s}
.db-dock .dock-pill{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:2px;height:56px;margin:0;padding:0 4px;border-radius:999px;background:var(--dk-ink);box-shadow:var(--dk-lift)}
/* An item (user 2026-10-29: "Events, Studios, Cart, Account should be written … otherwise users don't know"): a column, the 22px icon
   over an 11px label, every item sharing the pill's width; 48px tall (the tap target). The others white at 60%; the current one a white
   inner pill, icon and label in ink. */
.db-dock .dock-it{position:relative;flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:48px;margin:0;padding:0 2px;border-radius:24px;color:rgb(255 255 255 / .6);font:600 11px/1 "Geist",system-ui,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.db-dock .dock-it[aria-current]{background:#fff;color:var(--dk-ink)}
@media (hover:hover){.db-dock .dock-it:not([aria-current]):hover{color:#fff}}
.db-dock .dock-it[aria-current]:hover{color:var(--dk-ink)}
/* The icon is drawn before the label (the label comes first in the markup, so the link reads "Cart 2") */
.db-dock .dock-icw{order:-1;position:relative;display:block;line-height:0}
/* Phosphor on its 256 grid: the outline weight, thickened to about 1.75px, and the filled one on the current item, both 22px */
.db-dock svg.dock-ic{display:block;flex:none;width:22px;height:22px;fill:currentColor;stroke:currentColor;stroke-width:2.6;stroke-linejoin:round}
.db-dock svg.dock-ic.is-f{display:none;width:22px;height:22px;stroke:none}
.db-dock .dock-it[aria-current] svg.dock-ic{display:none}
.db-dock .dock-it[aria-current] svg.dock-ic.is-f{display:block}
/* The label: shown on every item under its icon (it comes first in the markup, so a screen reader still says "Cart 2") */
.db-dock .dock-l{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* The cart count (a WooCommerce fragment) on the bag's top-right corner, clear of the label under it: purple, white digits, a ring in
   the colour behind it. Pinned by its right edge, so "12" or "99+" grows over the bag */
.db-dock .dock-n{position:absolute;top:-7px;right:-9px;min-width:17px;height:17px;padding:0 4.5px;border-radius:9px;background:var(--dk-brand);color:#fff;font:600 10.5px/17px "Geist",system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:center;box-shadow:0 0 0 2px var(--dk-ink)}
.db-dock .dock-n[hidden]{display:none}
.db-dock .dock-it[aria-current] .dock-n{box-shadow:0 0 0 2px #fff}
/* Safari (S2, user pick 2026-10-29, docs/mockups/buzzpass/safari/S2.png), in the user's "Citrus Mint" card (2026-10-30: "more vibrant,
   so users notice it, with a glow or a pop"; user pick B of two pictures): a violet #7C4DFF disk (the card's lavender #9579D0, made
   stronger so it stands out on the ink bar) with "Safari ↗" in the card's lime, Buzzy 28px (26 under 360px; the mockup's 30 put
   his cap 5px from the rim) over the label, a lime-tinted lift. No motion of its own (user 2026-10-30: "users will not open Safari all
   the time", so it doesn't call for attention; the glow, pop and Buzzy's hop are gone): only hover 1.05 and press .94, which answer a
   touch. Opens the Safari app in a new tab. */
.db-dock{--dk-sf:#7C4DFF;--dk-lime:#E1F57A}
.db-dock .dock-safari{position:relative;isolation:isolate;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:56px;margin:0;border-radius:50%;background:var(--dk-sf);text-decoration:none;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .2),0 10px 24px -8px rgb(225 245 122 / .5),0 2px 6px -2px rgb(10 6 20 / .35);-webkit-tap-highlight-color:transparent;transition:scale .2s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover){.db-dock .dock-safari:hover{scale:1.05}}
.db-dock .dock-safari:active{scale:.94}
@media (prefers-reduced-motion:reduce){.db-dock .dock-safari{transition:none}}
.db-dock .dock-bz{position:relative;z-index:2;display:block;line-height:0}
.db-dock .dock-bz .devt-buzzy{display:block;line-height:0}
.db-dock .dock-bz .devt-buzzy svg{display:block;width:28px;height:28px;margin:1px 0 0;overflow:visible}
.db-dock .dock-sfl{position:relative;z-index:2;display:flex;align-items:center;gap:1px;margin-top:1px;color:var(--dk-lime);font:800 10px/1 "Geist",system-ui,sans-serif;letter-spacing:.01em;text-shadow:0 1px 0 rgb(30 16 48 / .45)}
.db-dock .dock-sfa{display:block;flex:none;width:8px;height:8px;filter:drop-shadow(0 1px 0 rgb(30 16 48 / .45))} /* "Safari ↗": it opens another site */
.db-dock .dock-bz .bz-shades{transform-origin:50px 44px;transform:translateY(-25px) scale(.9)} /* pushed up onto the cap, so his face reads */
/* Focus: a white ring on the ink pill (around the white current item it reads through the pill's ink gap); the Safari button gets a lime
   ring and a lavender one outside it, so one of the two shows on any ground */
.db-dock .dock-it:focus-visible{outline:2px solid #fff;outline-offset:2px}
.db-dock .dock-safari:focus-visible{outline:2px solid var(--dk-lime);outline-offset:2px;box-shadow:var(--dk-lift),0 0 0 6px var(--dk-sf)}
/* Narrow phones (320px): a little less room around everything, every tap target still 44px */
@media (max-width:359px){
	.db-dock{left:8px;right:8px;gap:6px}
	.db-dock .dock-pill{padding:0 3px;gap:0}
	.db-dock .dock-it{font-size:10px} /* the labels stay, a size smaller */
	.db-dock .dock-safari{width:52px;height:52px}
	.db-dock .dock-bz .devt-buzzy svg{width:26px;height:26px}
	.db-dock .dock-sfa{width:7px;height:7px}
}
/* Phones and tablets only, Studio classes too: on computers every page has the site's header */
@media (min-width:1025px){.db-dock{display:none}}
/* What sits above the bar. --dock-h is the bar's height and its gap (56 + 10); every offset below, and studios.css, starts from it, with
   the safe area added on its own. These rules live here, with the bar, so an older site.css or events.css can never leave WoodMart's
   toolbar up beside it or the event page's buy strip over it. html body.has-dock outranks WoodMart's and the theme's own rules (site.css
   body .x, events.css body.sticky-toolbar-on .devt .x). None of them moves when the bar slides away. */
body.has-dock{--dock-h:66px}
@media (max-width:1024px){
	html body.has-dock .wd-toolbar{display:none!important}
	html body.has-dock{padding-bottom:calc(var(--dock-h) + 14px + env(safe-area-inset-bottom,0px))}
	html body.has-dock .db-consent{bottom:calc(var(--dock-h) + 10px + env(safe-area-inset-bottom,0px))}
	html body.has-dock:has(.devt-buybar.is-shown) .db-consent{bottom:calc(var(--dock-h) + 90px + env(safe-area-inset-bottom,0px))}
	html body.has-dock .scrollToTop{bottom:calc(var(--dock-h) + 14px + env(safe-area-inset-bottom,0px))}
	/* a Studio classes pop-up's Reserve bar (studios.css, .dbs-w.pp) floats over the bar, as the event buy strip: these go above it */
	html body.has-dock:has(.dbs-w.pp) .scrollToTop{bottom:calc(var(--dock-h) + 90px + env(safe-area-inset-bottom,0px))}
	html body.has-dock:has(.dbs-w.pp) .db-consent{bottom:calc(var(--dock-h) + 90px + env(safe-area-inset-bottom,0px))}
	/* Studio classes' phone map (studios.css): while the cookie bar shows, the Map pill goes over it (studios.js writes the bar's height
	   as --consent-h); with the full map open the cookie bar goes over the map's sheet (its head is 92px), and a pin's card over both */
	html body.has-dock:has(.db-consent:not([hidden])) .dbs-w .map-fab{bottom:calc(var(--dock-h) + 10px + var(--consent-h,132px) + 10px + var(--st-card-h,0px) + env(safe-area-inset-bottom,0px))}
	html.st-map-open body.has-dock .db-consent{bottom:calc(var(--dock-h) + 10px + 92px + 10px + env(safe-area-inset-bottom,0px))}
	html.st-map-open body.has-dock:has(.db-consent:not([hidden])) .dbs-w .map-fab{bottom:calc(var(--dock-h) + 10px + 92px + 10px + var(--consent-h,132px) + 10px + var(--st-card-h,0px) + env(safe-area-inset-bottom,0px))} /* the Studios pill over the lifted bar */
	html.st-map-open body.has-dock:has(.db-consent:not([hidden])) .dbs-w .st-mcard.is-sheet{bottom:calc(var(--dock-h) + 10px + 92px + 10px + var(--consent-h,132px) + 8px + env(safe-area-inset-bottom,0px))}
}
/* The event page's buy strip (events.css: fixed under 960px) floats 10px above the pill (N2-event-375.png), as wide as the bar (12px
   gutters, at most 420px, centred), and stays where it is when the bar slides away, so it never jumps. It is about 68px tall, so what
   sits over it starts at --dock-h + 90px. */
@media (max-width:959px){
	html body.has-dock .devt .devt-buybar{left:12px;right:12px;max-width:420px;margin:0 auto;bottom:calc(var(--dock-h) + 10px + env(safe-area-inset-bottom,0px));padding:10px 10px 10px 16px;border:1px solid var(--rule);border-radius:20px;box-shadow:0 18px 40px -18px rgba(6,2,14,.55);transform:translateY(calc(100% + var(--dock-h) + 26px))}
	html body.has-dock .devt .devt-buybar.is-shown{transform:none}
	html body.has-dock .devt .devt-buybar button.devt-buy{height:46px}
	html body.has-dock:has(.devt-buybar.is-shown){padding-bottom:calc(var(--dock-h) + 94px + env(safe-area-inset-bottom,0px))}
	html body.has-dock:has(.devt-buybar.is-shown) .scrollToTop{bottom:calc(var(--dock-h) + 90px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.db-dock,.db-dock.is-away{transition:none}}
/* Moving between pages (2026-10-28): the bar holds still while the page cross-fades (site.css has the header's half; the rule is here too
   so a page with the bar opts in even before a new site.css is up). One bar per page, so the name is unique. */
@view-transition{navigation:auto}
.db-dock{view-transition-name:db-dock}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}
@media print{.db-dock{display:none}}
