/* The "Market" look (preview), on top of shop.css, MOBILE FIRST: the rules outside media queries are for a phone (320 px
   up); bigger screens add with min-width only (360, 480, 640, 900 = left menu and desktop, 1101). Page #f2f3f5, white
   panels, text #222529, Open Sans. Loaded with the class "market" on html. FDA bar and announcement are left alone. */
html.market body {
  --c-hdr: #FFFFFF; --c-hdr-text: #222529; --c-bg: #FFFFFF; --c-text: #222529; --c-ink: #222529; --c-accent: #0A6B3A;
  --c-muted: #5A6068; --c-muted2: #5A6068; --c-beige: #FFFFFF; --c-soft: #F2F3F5; --c-sold: #5A6068; --mk-red: #C40318;
  --mk-gut: 12px; --mk-gap: 12px;
  --mk-h: 60px; --mk-up: 8px; /* the header's height, and how much of it scrolls away (it stays slimmer; nothing jumps) */
  --font: "Open Sans", Arial, sans-serif;
  background: #FFFFFF; color: #222529;
  padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}
html.market { scroll-padding: 64px 0 calc(var(--mk-bar, 0px) + 8px); }
.market :is(#fda, #announce, #closed) { font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --c-ink: #121212; }
.market .wrap { width: 100%; }
.market :is(h1, h2, h3) { font-weight: 800; overflow-wrap: anywhere; }
.market picture { display: contents; }
.market .sec, .market [id] { scroll-margin-top: 0; }

/* Header: one row (☰, logo, search, account, bag) */
.market #mk-strip { display: none; }
.market #hdr { top: calc(-1 * var(--mk-up)); box-shadow: 0 1px 0 #E6E8EB; }
.market #hdr:empty { height: var(--mk-h); }
.market .hdr-in { position: relative; max-width: 1400px; margin: 0 auto; height: var(--mk-h); padding: var(--mk-up) 4px 0; gap: 0; }
.market .logo { height: 44px; min-width: 44px; justify-content: center; }
.market .logo img { height: 42px; width: auto; max-width: 80px; object-fit: contain; }
.market .wordmark { font-size: 14px; white-space: normal; line-height: 16px; max-width: 80px; }
.market .ic { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 16px; }
.market .ic.burger { display: flex; flex: none; }
.market .icons { gap: 0; margin: 0; }
.market .ic-acct { display: flex; }
.market .ic-acct .acct-t, .market .bag-t { display: none; }
.market .bag-n { top: 2px; right: 1px; }
.mk-search { flex: 1 1 auto; min-width: 0; margin: 0 2px 0 4px; position: relative; }
.mk-search input { display: block; width: 100%; min-width: 0; height: 44px; border: 1px solid #8C9199; border-radius: 6px; padding: 0 8px 0 14px; background: #fff; color: #222529; font: 400 16px/24px var(--font); -webkit-appearance: none; appearance: none; }
.mk-search input::placeholder { color: #5A6068; opacity: 1; }
/* Phones: the placeholder smaller so "Search Emerald Vapors" fits (Colin 2026-12-01); typed text stays 16 px (iOS zoom) */
@media (max-width: 899px) { .mk-search input { padding-left: 8px; } .mk-search input::placeholder { font-size: 14px; } }
.mk-search input:focus { outline: 2px solid #0A6B3A; outline-offset: 1px; }
.mk-search button { display: none; position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; border-radius: 6px; background: none; color: #222529; align-items: center; justify-content: center; cursor: pointer; }
/* While typing the field takes the whole row (over the icons, so nothing moves), with its Search button. */
.mk-search:focus-within { position: absolute; z-index: 2; left: 8px; right: 8px; margin: 0; background: #fff; }
.mk-search:focus-within input { padding-right: 48px; }
.mk-search:focus-within button { display: flex; }
.market .mnav { border-top: 1px solid #E6E8EB; }
.market .mnav ul { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.market .mrow { font-size: 18px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.market .mkids a { color: #5A6068; min-height: 48px; overflow-wrap: anywhere; }
.market .mexp { flex: none; }

/* Brand buttons: one swipeable row, the next one peeking */
.mk-row { background: #fff; }
.mk-row ul { list-style: none; margin: 0; padding: 8px 0 6px; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding: 0 12px; scrollbar-width: none; }
.mk-row ul::-webkit-scrollbar { display: none; }
.mk-row ul::before { content: ""; flex: 0 0 6px; }
.mk-row ul::after { content: ""; flex: 0 0 12px; }
.mk-row li { --n: 3.5; flex: 0 0 max(calc((100% - 6px) / var(--n)), 4.6em); min-width: 0; display: flex; }
.mk-row a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px; text-decoration: none; color: #222529; font-size: 13px; line-height: 16px; font-weight: 600; text-align: center; border-radius: 4px; }
.mk-row a > span:last-child { max-width: 100%; overflow-wrap: anywhere; }
.mk-row :focus-visible { outline-offset: -2px; }
.mk-c { width: 60px; height: 60px; flex: none; border-radius: 50%; background: #F2F3F5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mk-c img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.mk-c .newb { width: 56px; height: 56px; }

/* Shell */
#mshell { max-width: 1400px; margin: 0 auto; padding: 12px var(--mk-gut) 28px; }
#mside { display: contents; }
.mk-menu { display: none; }
#mshell > main { min-width: 0; }

/* Filters: a full height sheet behind the Filters button */
.market .fbtn { display: inline-flex; min-height: 44px; border-radius: 6px; }
.market .flt-layout { display: block; }
.market #mfilters .fpanel { display: none; }
.market #mfilters .fpanel.open { display: flex; flex-direction: column; position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 900; background: #fff; padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px); overflow: hidden; }
.market .fpanel.open .fp-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid #E6E8EB; }
.market .fp-head h2 { font-size: 18px; }
.market .fp-close { border: 0; background: none; font-size: 28px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.market .fpanel.open .fp-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 16px; }
.market .fpanel.open .fp-foot { display: flex; align-items: center; gap: 12px; position: static; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #E6E8EB; background: #fff; }
.market .fp-clear { display: inline-flex; align-items: center; min-height: 44px; }
.market .fp-show { flex: 1; min-width: 0; min-height: 48px; border: 0; background: #0A6B3A; color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.market body.fsheet-open { overflow: hidden; }
.market .fp-o, .market .fp-stock { min-height: 44px; }
.market .fp-o input, .market .fp-stock input { width: 22px; height: 22px; }
.market .fp-o span:not(.n), .market .fp-stock span:not(.n) { min-width: 0; overflow-wrap: anywhere; }
.market .fp-g { min-width: 0; }
.market .fp-more { min-height: 44px; text-align: left; font-weight: 600; }

/* Home */
.mk-home #mshell > main { display: flex; flex-direction: column; gap: 10px; }
.mk-home #mshell > main > * { min-width: 0; }
.mk-top { display: flex; flex-direction: column; gap: 10px; }
.mk-hero { background: #DFE3E8; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 100px); align-items: center; padding: 10px 16px; gap: 8px; }
.mk-hero-t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.mk-hero-t p { margin: 0; font-size: 14px; line-height: 18px; }
.mk-hero-t h2 { font-size: 22px; line-height: 1.1; max-width: 100%; }
.mk-btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 16px; background: #222529; color: #fff; font-weight: 800; text-decoration: none; }
.mk-btn:hover { background: #0A6B3A; }
.mk-hero-i { display: flex; justify-content: center; min-width: 0; }
.mk-hero-i img { width: auto; height: 112px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mk-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk-tiles a { background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 64px; height: 100%; padding: 6px 8px 6px 12px; text-decoration: none; line-height: 18px; font-size: 13px; color: #222529; }
.mk-tiles b { font-size: 15px; }
.mk-tiles a > span { min-width: 0; overflow-wrap: anywhere; }
.mk-tiles img { width: 44px; height: 52px; object-fit: contain; flex: 0 0 auto; }
.mk-tiles a:hover b { color: #0A6B3A; text-decoration: underline; }
.mk-info { background: #fff; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 20px; padding: 14px 16px; }
.mk-info p { margin: 0; line-height: 22px; overflow-wrap: anywhere; }
/* Phones: the first products come before the delivery / ID / points row (nothing in that row takes the focus). */
.mk-home main:has(> .mk-info + .sec-new) > .mk-info { order: 1; }
.mk-home main:has(> .mk-info + .sec-new) > .sec:not(.sec-new) { order: 2; }

/* The site's own home sections, as panels */
.market .sec { padding: 20px 16px; background: #fff; }
.market .sec-new, .market .sec-cats { padding: 0; background: none !important; }
.market .sec-title, .market .sec-title.center { font-size: 22px; line-height: 30px; margin: 4px 0 12px; text-align: left; color: #222529; }
.market .new-head { margin: 0; gap: 0 16px; align-items: center; }
.market .new-head .sec-title { margin: 0; }
.market .new-all { display: inline-flex; align-items: center; min-height: 44px; }
.market .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mk-gap); }
.market .hcard { background: #fff; padding: 12px; height: 100%; color: #222529; }
.market .himg img { object-fit: contain; }
.market .hname { margin-top: 8px; overflow-wrap: anywhere; }
.market .hcount { color: #5A6068; opacity: 1; font-size: 14px; line-height: 20px; font-weight: 400; margin-top: 2px; }
.market .sec-text { background: #fff !important; color: #222529; }
.market .sec-text.promo { padding: 0; background: #DFE3E8 !important; }
.market .promo-body { padding: 20px 16px; }
.market .sec-loc { background: #fff !important; }
.market .loc { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.market .map { height: 280px; }
.market .loc-text { min-width: 0; overflow-wrap: anywhere; }
.market .loc-text a { display: inline-flex; align-items: center; min-height: 44px; color: #222529; }
.market .loc-text p { margin: 0; }
.market .loc-text h3 { margin-top: 12px; }

/* Lists and cards: 2 across */
.market .store { padding: 0 0 20px; color: #222529; }
.market .ptitle { font-size: 24px; line-height: 32px; margin: 0; }
.market .crumbs { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; font-size: 14px; line-height: 20px; }
.market .crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; overflow-wrap: anywhere; }
.market .crumbs .sep { padding: 0 8px; }
.market .pgrid, .market .pgrid.size-small, .market .pgrid.size-large, .market .flt-main .pgrid, .market .flt-main .pgrid.size-small, .market .flt-main .pgrid.size-large { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: var(--mk-gap); }
.market .pgrid li { padding: 0; min-width: 0; }
.market .pcard, .market .skel-card { border: 0; border-radius: 0; box-shadow: none; background: #fff; min-width: 0; }
.market .pcard:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.market .pimg { border-radius: 0; margin: 8px 8px 0; }
.market .pimg::after { display: none; }
.market .pimg img { object-fit: contain; }
.market .ptext { align-items: flex-start; text-align: left; padding: 8px 12px 14px; }
.market .pname { font-size: 15px; line-height: 21px; }
.market .pprice { color: #5A6068; }
.market .cat-chips { margin: 0 0 4px; }
.market .cat-chips a, .market .fchip, .market .swatch, .market .sortby { min-height: 44px; min-width: 44px; max-width: 100%; overflow-wrap: anywhere; }
.market .cat-chips a, .market .swatch { background: #fff; border-color: #8C9199; border-radius: 6px; }
.market .fchip { background: #fff; border-radius: 6px; }
.market .flt-top { margin: 0; flex-wrap: wrap; }
.market .fchips { margin: 4px 0 8px; }
.market .fclear, .market .pages a, .market .pages .cur { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.market .pages { gap: 4px; }
.market .pages .pn { height: auto; border: 0; border-radius: 0; overflow: visible; }
.market .tiles { margin: 8px 0; gap: var(--mk-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.market .tiles li, .market .tiles li:nth-child(-n+3) { padding: 0; grid-column: auto; }
.market .tile { background: #fff; padding: 12px; height: 100%; overflow-wrap: anywhere; }
.market .sbox { display: none; } /* the header's search field is it */

/* White panel pages: product, cart, checkout, account, order, legal, custom, errors */
.market :is(.v-product, .v-cart, .v-checkout, .v-order, .v-account, .v-legal, .v-custom, .v-none, .v-error) > .store { background: #fff; padding: 12px 16px 28px; }
.market :is(.cart, .ck, .acct) { margin-top: 12px; }
.market .store-loc { margin-top: 12px; }
/* Product page: only the way back up the breadcrumb (the whole one needs more width than a phone has) */
.market .v-product .crumbs > :not(:last-child) { display: none; }
.market .v-product .crumbs > a:last-child::before { content: "‹"; padding-right: 8px; }
.market .pn { height: 46px; }
.market .pn-btn { width: 44px; }
.market .p-top .pn { display: none; }
.market .p-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 0; }
.market .p-info { min-width: 0; }
.market .g-main { max-width: 360px; }
.market .p-name { font-weight: 800; font-size: 22px; line-height: 28px; margin-bottom: 8px; }
.market .stock { margin: 12px 0; }
.market :is(.btn-bag, .btn-main, .btn-out) { border-radius: 0; font-weight: 700; height: auto; max-width: 100%; }
.market .btn-out { min-height: 44px; }
.market .btn-bag { min-height: 48px; width: 100%; }
.market .btn-bag:not(:disabled):not(.more):hover, .market .btn-main:not(:disabled):hover { background: #0A6B3A; border-color: #0A6B3A; }
.market .btn-bag:disabled, .market .btn-main:disabled { opacity: 1; background: #DFE3E8; border-color: #DFE3E8; color: #5A6068; }
.market .btn-bag.more:not(:disabled) { background: #fff; }
/* The Add to Bag bar: fixed at the bottom; the page ends above it (--mk-bar = its height, measured by market.js). */
html.market body:has(.v-product .bagbox) { padding-bottom: var(--mk-bar, 0px); }
.market .v-product .bagbox { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; box-shadow: 0 -1px 0 #E6E8EB, 0 -4px 16px rgba(0, 0, 0, .08); padding: 8px calc(12px + env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px)); display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 4px 8px; max-height: 45vh; overflow-y: auto; }
.market .v-product .bagbox > :is(.inbag, .soon) { flex: 1 0 100%; margin: 0; font-size: 14px; line-height: 20px; min-width: 0; }
.market .v-product .bagbox > .btn-bag { flex: 1 1 0; min-width: 0; padding: 4px 8px; }
.market :is(.stock.out, .cl-prob, .ord-again-msg, .f-err) { color: var(--mk-red); }
.market :is(.cart-bad, .paybox.bad) { border-left-color: var(--mk-red); }
.market :is(.f.bad input, .f.bad textarea, .nmi-box.bad) { border-color: var(--mk-red); }
.market .legal-links a, .market .more-shop a { display: inline-flex; align-items: center; min-height: 44px; }
.market .swatch.is-sold { opacity: 1; color: #5A6068; text-decoration: line-through; }
.market .m-top, .market .totals div, .market .rv-lines li, .market .cart-sum { flex-wrap: wrap; }
.market :is(.m-name, .ck-step h2, .ck-how, .f, .totals, .meth) { min-width: 0; }
.market .f input, .market .f textarea { min-width: 0; }
.market .ck-sum.one { white-space: normal; }
/* The price stays beside the name; only a very narrow or big-text line puts it under. */
.market :is(.rv-n, .m-name, .ck-head h2) { flex: 1 1 4.4em; }
.market .ck-head, .market .paycard-head { flex-wrap: wrap; }

/* Age gate, footer */
.market #age { align-items: safe center; }
.market .age-btn { height: auto; min-height: 50px; padding: 4px 12px; }
.market #ftr { font-family: var(--font); }
.market .ftr-in { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); overflow-wrap: anywhere; }
.market .ftr-links a { color: #F5F5F5; display: inline-flex; align-items: center; min-height: 44px; }
.mk-ftr { margin: 0 0 8px; }
.mk-ftr a { display: flex; align-items: center; justify-content: center; min-height: 44px; color: #fff; font-weight: 700; }

@media (min-width: 360px) {
  .mk-row li { --n: 4.5; }
  .mk-hero-t h2 { font-size: 26px; }
}
@media (min-width: 480px) {
  html.market body { --mk-gut: 16px; }
  .market .hdr-in { padding: var(--mk-up) 12px 0; gap: 4px; }
  .mk-row li { --n: 6.5; }
  .mk-search input { padding-right: 48px; }
  .mk-search button { display: flex; }
  .mk-search:focus-within { position: relative; left: 0; right: 0; margin: 0 2px 0 4px; }
}
@media (min-width: 640px) {
  .mk-row li { --n: 8.5; }
  .mk-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mk-info { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market .pgrid, .market .pgrid.size-small, .market .pgrid.size-large, .market .flt-main .pgrid, .market .flt-main .pgrid.size-small, .market .flt-main .pgrid.size-large, .market .hgrid, .market .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market .p-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; }
  .market .p-info { padding-top: 12px; }
}

/* Desktop: the left menu and the green strip instead of the brand row */
@media (min-width: 900px) {
  html.market body { --mk-gut: 24px; --mk-gap: 18px; --mk-h: 92px; --mk-up: 16px; } /* Colin 2026-12-01: 10 px less under the green strip */
  html.market { scroll-padding: 88px 0 8px; }
  .market #mk-strip { display: block; background: #0A6B3A; color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; }
  .mk-strip-in { max-width: 1400px; margin: 0 auto; padding: 0 var(--mk-gut); min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mk-strip-in .mk-roll { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0; list-style: none; overflow: hidden; }
  .mk-roll li { display: flex; align-items: center; gap: 6px; height: 44px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateY(calc(var(--at, 0) * -100%)); transition: transform .45s ease; }
  .mk-roll li span { overflow: hidden; text-overflow: ellipsis; }
  .mk-roll li a { min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { .mk-roll li { transition: none; } }
  .mk-strip-in .mk-pause { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #fff; font-size: 11px; cursor: pointer; opacity: .75; }
  .mk-strip-in .mk-tag { flex: 0 0 auto; white-space: nowrap; font-family: "Myriad Pro", Myriad, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 16px; } /* Colin 2026-12-01: Kick Ashes.™ in Myriad Pro Bold where it is installed (Adobe license: not on the web) */
  .mk-strip-in .mk-pause:hover { opacity: 1; background: rgba(255,255,255,.12); }
  .mk-strip-in a { color: #fff; text-decoration: none; white-space: nowrap; display: flex; align-items: center; min-height: 44px; }
  .mk-strip-in a:hover { text-decoration: underline; }
  .market #mk-strip :focus-visible { outline-color: #fff; outline-offset: -4px; }
  .market .hdr-in { padding: var(--mk-up) var(--mk-gut) 12px; gap: 28px; }
  .market .ic.burger, .mk-row, .mk-ftr { display: none; }
  .market .logo, .market .logo img { height: 64px; max-width: none; }
  .market .logo { position: relative; top: -5px; } /* Colin 2026-12-01: 5 px up */
  .mk-search, .mk-search:focus-within { margin: 0; }
  .mk-search input { height: 52px; border-radius: 6px; padding: 0 56px 0 24px; }
  .mk-search button { right: 4px; top: 4px; }
  .market .icons { gap: 16px; }
  .market .ic-acct .acct-t, .market .bag-t { display: inline; }
  .market .ic-bag { gap: 8px; padding-right: 10px; }
  .market .bag-n { right: -4px; }

  #mshell { padding: 20px var(--mk-gut) 40px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 18px; align-items: start; }
  #mside { grid-column: 1; grid-row: 1; min-width: 0; position: relative; z-index: 40; display: flex; flex-direction: column; gap: 18px; }
  #mshell > main { grid-column: 2; grid-row: 1; }
  .mk-menu { display: block; background: #fff; }
  .mk-menu ul { list-style: none; margin: 0; padding: 0; }
  .mk-menu li { position: relative; display: flex; min-height: 48px; border-bottom: 1px solid #E6E8EB; }
  .mk-menu .mi { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 20px; color: #222529; font-size: 15px; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
  .mk-menu .has-dd > .mi { padding-right: 4px; }
  .mk-menu .mi:hover { color: #0A6B3A; }
  .mk-menu li:hover, .mk-menu li:focus-within { background: #F2F3F5; }
  .mk-menu .mi-new .newb { width: 44px; height: 44px; margin-left: -2px; }
  .mk-menu .mi-new { gap: 10px; white-space: nowrap; }
  .market .mk-menu .dd-btn { width: 44px; min-height: 44px; flex: none; margin: 0; padding: 0; align-items: center; justify-content: center; color: #5A6068; }
  .market .mk-menu .has-dd .chev { transform: rotate(-90deg); }
  .mk-menu :focus-visible { outline-offset: -3px; }
  .market .mk-menu .dd { top: 0; left: 100%; right: auto; width: 250px; background: #fff; border-radius: 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
  .market .mk-menu .has-dd.shut .dd { display: none; }
  .market .mk-menu .dd a { font-size: 15px; color: #222529; overflow-wrap: anywhere; }
  .market .mk-menu .dd a:hover, .market .mk-menu .dd a:focus-visible { background: #F2F3F5; color: #0A6B3A; }

  .market .fbtn { display: none; }
  .market #mfilters:empty { display: none; }
  .market #mfilters .fpanel, .market #mfilters .fpanel.open { display: block; position: static; height: auto; background: #fff; padding: 16px 20px; overflow: visible; }
  .market .fpanel .fp-head, .market .fpanel.open .fp-head, .market .fpanel .fp-foot, .market .fpanel.open .fp-foot { display: none; }
  .market .fpanel.open .fp-body { padding: 0; overflow: visible; }
  .market .fp-o input, .market .fp-stock input { width: 18px; height: 18px; }

  .mk-home #mshell > main { grid-column: 1 / -1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 18px; min-height: 0; }
  .mk-home #mshell > main > * { grid-column: 1 / -1; }
  .mk-home #mshell > main > :is(.mk-info, .sec) { order: 0 !important; }
  .mk-home #mshell > main > :is(.mk-top, .skel-page, .ssr, .loading) { grid-column: 2; min-height: max(500px, var(--mk-mh, 500px)); }
  .mk-home .mk-menu { min-height: 500px; }
  .mk-top { gap: 18px; }
  .mk-hero { flex: 1; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: 8px 32px; gap: 16px; }
  .mk-hero-t { gap: 16px; }
  .mk-hero-t p { font-size: 20px; line-height: 28px; }
  .mk-hero-t h2 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.05; }
  .mk-btn { min-height: 52px; padding: 0 30px; margin: 0; }
  .mk-hero-i img { height: 320px; }
  .mk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .mk-tiles li:nth-child(n+4) { display: none; }
  .mk-tiles a { min-height: 126px; padding: 8px 14px; line-height: 22px; font-size: 16px; }
  .mk-tiles b { font-size: 18px; }
  .mk-tiles img { width: 76px; height: 90px; }
  .mk-info { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 18px 30px; }

  .market .sec { padding: 28px 30px; }
  .market .sec-new, .market .sec-cats, .market .sec-text.promo { padding: 0; }
  .market .sec-title, .market .sec-title.center { font-size: 24px; line-height: 32px; margin: 8px 0 16px; }
  .market .new-head { margin-bottom: 8px; }
  .market .hgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .market .promo-body { padding: 28px 30px; }
  .market .loc { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; }
  .market .map { height: 340px; }
  .market .ptitle { font-size: 32px; line-height: 40px; }
  .market .crumbs { font-size: 16px; line-height: 24px; }
  .market .cat-chips { margin: 12px 0 4px; }
  .market .pimg { margin: 10px 10px 0; }
  .market .ptext { padding: 10px 16px 16px; }
  .market :is(.v-product, .v-cart, .v-checkout, .v-order, .v-account, .v-legal, .v-custom, .v-none, .v-error) > .store { padding: 24px 30px 40px; }
  .market :is(.cart, .ck, .acct) { margin-top: 32px; }
  .market .store-loc { margin-top: 18px; }
  .market .v-product .crumbs > :not(:last-child) { display: inline-flex; }
  .market .v-product .crumbs > a:last-child::before { content: none; }
  .market .p-top .pn { display: flex; }
  .market .p-cols { margin-top: 16px; }
  .market .g-main { max-width: 450px; }
  .market .p-name { font-size: 28px; line-height: 36px; margin-bottom: 12px; }
  .market .stock { margin: 24px 0 12px; }
  .market .btn-bag { min-height: 52px; width: 296px; }
  html.market body:has(.v-product .bagbox) { padding-bottom: 0; }
  .market .v-product .bagbox { position: static; box-shadow: none; padding: 0; flex-direction: column; align-items: flex-start; gap: 10px; max-height: none; overflow: visible; }
  .market .v-product .bagbox > :is(.inbag, .soon) { flex: none; font-size: 16px; line-height: 24px; }
  .market .v-product .bagbox > .btn-bag { flex: none; }
}
@media (min-width: 1101px) {
  html.market body { --mk-gut: 40px; }
  #mshell, .mk-home #mshell > main { grid-template-columns: 220px minmax(0, 1fr); }
  .market .pgrid, .market .pgrid.size-small, .market .pgrid.size-large, .market .flt-main .pgrid, .market .flt-main .pgrid.size-small, .market .flt-main .pgrid.size-large, .market .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .market .hgrid { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); }
  .mk-hero { padding: 8px 44px; }
  .mk-tiles a { padding: 8px 20px; }
  .mk-tiles img { width: 110px; height: 110px; }
}

/* Kits and pods (main's split) in this look: pills and labels on the page's own colors, left-aligned like the cards. */
.market .ptags { align-self: flex-start; justify-content: flex-start; }
.market .pkind { align-self: flex-start; border-radius: 0; border-color: #0a6b3a; color: #0a6b3a; }
.market .kind-h { font-size: 22px; line-height: 28px; font-weight: 800; color: #222529; }
.market .kind-n { margin: 0 0 12px; color: #50555C; }
.market .kind-g + .kind-g { margin-top: 28px; }
.market .line-g + .line-g { margin-top: 24px; }
.market .line-h { font-size: 20px; line-height: 26px; font-weight: 800; color: #222529; margin: 4px 0 10px; }
/* No pills (Colin 2026-11-30: "radius is ok but not a pill"): small corners everywhere in this look. */
.market :is(.cat-chips a, .fchip, .fbtn, .swatch, .pn, .age-btn) { border-radius: 6px; }
/* List pages: way back, title, then one line with the tabs, Filters (phones) and Sort. */
.market .mk-head { display: flex; flex-direction: column; margin: 0 0 8px; }
.market .flt-top { justify-content: space-between; row-gap: 8px; margin: 0 0 16px; }
.market .flt-top .sortbar { margin-left: auto; }
.market .sortby { padding: 0 12px; background: #fff; border: 1px solid #C9CDD3; border-radius: 6px; color: #222529; text-transform: none; letter-spacing: 0; font-size: 15px; }
.market .kind-g > .kind-h { display: inline-block; margin: 0 10px 12px 0; }
.market .kind-g > .kind-n { display: inline-block; margin: 0 0 12px; }

/* "Do you deliver to me?" (market_delivery.js): the home box and the Delivery popup (#dm) */
.dm-card { background: #fff; padding: 16px; border-radius: 6px; color: #222529; }
.dm-card h2 { font-size: 20px; line-height: 26px; margin: 0 0 8px; outline: 0; }
.dm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(8em, 100%), 1fr)); gap: 8px; margin: 0 0 12px; }
.dm-facts p { margin: 0; background: #E9F4EE; border-radius: 6px; padding: 8px 12px; font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.dm-facts b { font-size: 16px; line-height: 22px; }
.dm-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.dm-form .dm-s { grid-column: 1 / -1; }
.dm-form label { display: block; min-width: 0; }
.dm-form input { display: block; width: 100%; min-width: 0; height: 46px; border: 1px solid #8C9199; border-radius: 6px; padding: 0 12px; background: #fff; color: #222529; font: 400 16px/24px var(--font); -webkit-appearance: none; appearance: none; }
.dm-form input::placeholder { color: #5A6068; opacity: 1; }
.dm-form input[aria-invalid] { border-color: #C40318; }
.dm-mapf { margin: 14px 0 0; }
.dm-map { height: 240px; border-radius: 6px; }
.dm-zone { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.dm-zone { opacity: .38; }
.dm-zone path { fill: #0A6B3A; stroke: #0A6B3A; stroke-width: 3; stroke-linejoin: round; } /* one color, then see-through: no lines between ZIPs */
.dm-form button { min-height: 46px; padding: 0 22px; border: 0; border-radius: 6px; background: #0A6B3A; color: #fff; font: 700 16px/24px var(--font); cursor: pointer; }
.dm-form button:hover { background: #07532D; }
.dm-area { margin: 8px 0 0; font-size: 13px; line-height: 18px; color: #5A6068; overflow-wrap: anywhere; }
.dm-said { margin: 10px 0 0; font-size: 15px; line-height: 21px; font-weight: 600; overflow-wrap: anywhere; }
.dm-said:empty { margin: 0; }
.dm-said[data-kind="yes"] { color: #0A6B3A; }
.dm-said[data-kind="no"] { color: #C40318; }
html.dm-open { overflow: hidden; }
#dm { position: fixed; inset: 0; width: 100%; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .55); overflow-y: auto; overscroll-behavior: contain; font-family: var(--font); }
#dm[open] { display: flex; flex-direction: column; }
#dm::backdrop { background: none; }
/* Phones: at the top, under the warning (Colin 2026-11-30: "shows up too low"), where the keyboard does not cover it. */
#dm .dm-card { position: relative; box-sizing: border-box; width: calc(100% - 24px); margin: 12px auto auto; padding: 16px; border-radius: 8px; }
#dm h2 { padding-right: 44px; }
.dm-x { position: absolute; right: 6px; top: 8px; width: 44px; height: 44px; border: 0; background: none; color: #222529; font: 400 28px/1 var(--font); cursor: pointer; }
.dm-more { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 14px; border: 1px solid #8C9199; border-radius: 6px; color: #222529; font-weight: 700; text-decoration: none; }
.dm-more:hover { border-color: #0A6B3A; color: #0A6B3A; }
@media (min-width: 640px) {
  .dm-form { grid-template-columns: minmax(0, 1fr) 7em auto; }
  .dm-form .dm-s { grid-column: auto; }
  #dm .dm-card { width: min(480px, 100% - 32px); margin: auto; border-radius: 8px; padding: 28px; }
}
@media (min-width: 900px) {
  .dm-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; padding: 18px 30px; }
  .dm-home .dm-facts { grid-column: 2; grid-row: 1 / 5; align-self: center; margin: 0; }
  .dm-home .dm-mapf { grid-column: 1 / -1; }
}

/* A box per product line and, in a line with pods, "Show Pods" (shop.js lineNav): one look, each as wide as its words. */
.market .flt-top :is(.mk-lines, .mk-sub), .market :is(.mk-lines, .mk-sub) { order: -1; flex: 0 0 100%; min-width: 0; max-width: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.market :is(.mk-lines, .mk-sub) a { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid #C9CDD3; border-radius: 6px; color: #222529; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.market :is(.mk-lines, .mk-sub) a:hover { background: #E6E8EB; }
.market .mk-lines .mk-solo { display: flex; align-items: center; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid #C9CDD3; border-radius: 6px; color: #222529; font-size: 15px; font-weight: 600; white-space: nowrap; }
.market :is(.mk-lines, .mk-sub) a[aria-current] { background: #222529; border-color: #222529; color: #fff; }
.market :is(.mk-lines, .mk-sub) a .x { font-size: 20px; line-height: 1; font-weight: 400; }
.market :is(.mk-lines, .mk-sub) a:focus-visible { outline: 3px solid #0A6B3A; outline-offset: 2px; }
@media (min-width: 750px) { .market .flt-top .mk-sub { flex: 0 1 auto; margin-bottom: 0; } }
/* Phones (Colin 2026-11-30): no Filters or Sort by. */
@media (max-width: 899.98px) {
  .market :is(.fbtn, .fpanel, .sortbar) { display: none !important; }
  .market .flt-top:not(:has(.mk-lines, .mk-sub)) { display: none; }
}

/* Tighter up and down (Colin 2026-11-30: "a lot of unnecessary space between content"). Links keep their 44 px to tap: the
   row above or below takes part of it. */
#mshell { padding-top: 6px; padding-bottom: 10px; }
.mk-home #mshell > main, .mk-top { gap: 8px; }
.market .store { padding-bottom: 4px; }
.market .crumbs { margin: -4px 0 -8px; }
.market .flt-top { margin-bottom: 6px; row-gap: 0; }
.market .line-g + .line-g { margin-top: 12px; }
.market .line-h { margin: 0 0 6px; }
.market .kind-g + .kind-g { margin-top: 12px; }
.market .kind-g > .kind-h { margin: 0 10px 6px 0; }
.market .new-head, .market .sec-title, .market .sec-title.center { margin-top: 0; margin-bottom: 4px; }
.market .pager { margin-top: 12px; }
.market .pager .count { margin-bottom: 0; }
.market .ptext { padding-bottom: 10px; }
.market .other-h { margin-top: 12px; }
.market .ftr-in { padding-top: 12px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.market .ftr-in > * { margin-top: 4px; margin-bottom: 4px; }
.market .rich p, .market .rich ul, .market .rich ol { margin-bottom: 8px; }
.mk-info { padding: 8px 16px; gap: 4px 20px; }
.market .sec { padding-top: 12px; padding-bottom: 12px; }
.market :is(.sec-new, .sec-cats, .sec.promo) { padding-top: 0; padding-bottom: 0; }
.market .promo-body { padding-top: 12px; padding-bottom: 12px; }
.market .loc-page { margin-top: 4px !important; }
@media (min-width: 900px) {
  #mshell { padding-top: 12px; }
  .market .hdr-in { padding-bottom: 6px; }
  .market .loc { gap: 12px 40px; }
}
/* The round brand pictures: the words always on one line (a long name makes its own place wider). */
.mk-row li { min-width: max-content; }
.mk-row a { font-size: 11.5px; line-height: 15px; }
.mk-row a > span:last-child { white-space: nowrap; }
.mk-row ul { padding: 4px 0; }
/* The phone menu: a panel as wide as it needs, the page still there beside it. */
.market .mnav { right: auto; width: min(260px, 78vw); box-shadow: 6px 8px 20px rgba(0, 0, 0, .22); }
.market .mrow { min-height: 46px; font-size: 16px; }
.market .mexp { width: 48px; height: 46px; }
.market .mnav ul { padding-top: 2px; }
.market .mkids a { min-height: 44px; padding: 10px 12px 10px 28px; font-size: 15px; }

/* One design (STOREFRONT_RULES C1): buttons, boxes, fields, cards and panels have the same small corners. */
.market :is(.btn-bag, .btn-main, .btn-out, .mk-btn, .fp-show, .pages .pn, .mk-hero, .mk-tiles a, .mk-info, .dm-card, .pcard, .skel-card, .hcard, .tile, .sec:not(.sec-new, .sec-cats), .f input, .f textarea, .day, .slot, .meth, .qty, .paycard, .acct-new, .specs .spec) { border-radius: 6px; }
.market :is(.pcard, .hcard, .tile, .mk-tiles a, .sec.promo) { overflow: hidden; }
.market .chip { border-radius: 3px; }
.market .ftr-in .cards img { border-radius: 4px; }
/* One line each, however long (C8). */
.mk-menu .mi { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-menu, .market :is(.v-product, .v-cart, .v-checkout, .v-order, .v-account, .v-legal, .v-custom, .v-none, .v-error) > .store { border-radius: 6px; }
/* The nicotine warning (rule D2): one line, no border; its size follows the window's width (phones: the whole width). Below
   21 CFR 1143.3(b)(2) on our reading (20% of the screen, 12 pt on phones, bordered); Colin's decision. */
.market #fda { min-height: 0; border: 0; padding: 6px; }
.market #fda p { max-width: none; white-space: nowrap; font-size: min(2.6vw, max(16px, 1.8vw)); }

/* White page, square cards (Colin 2026-11-30: "I don't like the gray background. Or the rounded cards", 
   then "the background on the cards was fine", rules C1, C13): the page is white, cards keep their own background, a white
   card has a thin line. Buttons, boxes and fields keep their small corners. */
.market :is(.pcard, .skel-card, .hcard, .tile, .mk-hero, .mk-tiles a, .mk-info, .dm-card, .dm-facts p, .sec:not(.sec-new, .sec-cats), .paycard, .acct-new, .specs .spec), .mk-menu, .market #dm .dm-card, .market #notice, .market .age-card { border-radius: 0; }
.market :is(.v-product, .v-cart, .v-checkout, .v-order, .v-account, .v-legal, .v-custom, .v-none, .v-error) > .store { border-radius: 0; }
.market :is(.pcard, .skel-card, .hcard, .tile, .mk-tiles a, .mk-info, .dm-home), .mk-menu { border: 1px solid #DDE0E4; }
.mk-menu li:last-child { border-bottom: 0; }
.market .sec-loc, .market .sec-text { padding-left: 0; padding-right: 0; }

/* The device's mirror reflection (rule C14; market_mirror.js): room for it under the device. */
@supports (-webkit-box-reflect: below) {
  .market :is(.pimg > img, .himg img, .g-main > img) { box-sizing: border-box; padding-bottom: 14%; }
  .mk-hero-i { padding-bottom: 14px; }
}
@media (min-width: 900px) { @supports (-webkit-box-reflect: below) { .mk-hero-i { padding-bottom: 40px; } } }
#mnav .mrow:has(> .newb) { display: flex; align-items: center; gap: 10px; padding-top: 0; padding-bottom: 0; }
#mnav .newb { width: 44px; height: 44px; }

/* Flavor picker on a product page (Colin 2026-12-01): this flavor chosen, the line's others A to Z */
.market .p-flavor { display: grid; gap: 6px; margin: 4px 0 14px; max-width: 420px; }
.market .p-flavor span { font-size: 14px; font-weight: 700; color: #222529; }
.market .p-flavor select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid #8C9199; border-radius: 6px; background: #fff; color: #222529; font: 400 16px/24px var(--font); }
.market .p-flavor select:focus { outline: 2px solid #0A6B3A; outline-offset: 1px; }
