/* Kushology nav v2 (Ankord, Nov 5 2026)
   1) The header is no longer one full-width glass bar. Only the logo and the controls get their own
      liquid-glass bubble, so the page shows through between them.
   2) Phones and tablets (<=1200px): search, cart and menu sit together on the right, in thumb reach.
      The menu opens as a compact panel in the bottom-right corner, right-aligned, on phones, tablets,
      foldables and iPad-size screens. Tap outside or press Escape to close.
   3) Safe areas (notch, home bar, rounded corners), dual-screen and foldable posture, reduced motion.
   4) Footer between 901 and 1279px: sign-up on its own row, then four even link columns.
   5) v2.1 alignment: section heads, heroes, page heads, chips, lone buttons and the footer share one
      center line at every width. Text inside cards, accordions, forms and long articles stays left. */
:root{
  --kn-glass:rgba(255,255,255,.52);
  --kn-glass-strong:rgba(255,255,255,.86);
  --kn-blur:blur(18px) saturate(1.8);
  --kn-edge:rgba(255,255,255,.62);
  --kn-shadow:0 8px 28px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.7);
  --kn-sb:env(safe-area-inset-bottom,0px);
  --kn-sr:env(safe-area-inset-right,0px);
  --kn-sl:env(safe-area-inset-left,0px);
  --kn-st:env(safe-area-inset-top,0px);
}

/* The header never blocks taps or the view between the bubbles */
.site-header{pointer-events:none}
.site-header__logo,.site-header__actions,.site-header__nav,.site-header__search-panel{pointer-events:auto}

/* Kill the full-width bar */
.site-header.is-stuck{padding:calc(10px + var(--kn-st)) calc(12px + var(--kn-sr)) 0 calc(12px + var(--kn-sl))}
.site-header.is-stuck .site-header__inner{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-color:transparent!important;box-shadow:none!important;padding-block:0!important}

/* Bubbles (shown once the page scrolls; over the hero the header stays clear) */
.site-header.is-stuck .site-header__logo,
.site-header.is-stuck .site-header__actions,
body.nav-open .site-header__logo,
body.nav-open .site-header__actions{
  background:var(--kn-glass);-webkit-backdrop-filter:var(--kn-blur);backdrop-filter:var(--kn-blur);
  border:1px solid var(--kn-edge);box-shadow:var(--kn-shadow);border-radius:999px;
}
.site-header__logo{display:flex;align-items:center;padding:10px 18px;border:1px solid transparent;border-radius:999px;transition:background .25s,box-shadow .25s,border-color .25s}
.site-header__logo .site-logo{display:block;line-height:0}
.site-header__actions{padding:5px;border:1px solid transparent;border-radius:999px;transition:background .25s,box-shadow .25s,border-color .25s}

/* Desktop: the link row gets its own bubble */
@media (min-width:1201px){
  .site-header.is-stuck .site-header__nav{
    background:var(--kn-glass);-webkit-backdrop-filter:var(--kn-blur);backdrop-filter:var(--kn-blur);
    border:1px solid var(--kn-edge);box-shadow:var(--kn-shadow);border-radius:999px;padding:14px 26px 10px;margin-left:12px
  }
  .site-header.is-stuck .site-header__nav a{padding-bottom:4px}
}

/* Phones and tablets: every control on the right, in one bubble */
@media (max-width:1200px){
  .site-header__inner{grid-template-columns:1fr auto 1fr}
  .site-header__actions{gap:6px}
  .site-header__search-btn,.site-header__cart{position:static!important;translate:none!important;inset:auto!important}
  .site-header__search-btn,.site-header__toggle,.site-header__cart{width:44px;height:44px;border-radius:50%}
  .site-header__toggle{background:var(--c-green-mid);border:0;padding:0;position:relative}
  .site-header__search-btn .icon,.site-header__search-btn svg{width:18px;height:18px}
  /* menu icon turns into a close icon */
  .site-header__toggle-bar,.site-header__toggle-bar::before,.site-header__toggle-bar::after{transition:transform .22s cubic-bezier(.2,.6,.2,1),background .15s,top .22s}
  body.nav-open .site-header__toggle-bar{background:transparent}
  body.nav-open .site-header__toggle-bar::before{top:0;transform:rotate(45deg)}
  body.nav-open .site-header__toggle-bar::after{top:0;transform:rotate(-45deg)}

  /* Menu: low on the screen, near the thumb */
  body.nav-open .site-header__nav{
    position:fixed!important;top:auto!important;left:auto!important;
    right:calc(12px + var(--kn-sr))!important;bottom:calc(12px + var(--kn-sb))!important;
    width:min(340px,calc(100vw - 24px - var(--kn-sl) - var(--kn-sr)))!important;
    max-height:calc(100dvh - 110px - var(--kn-st) - var(--kn-sb));overflow:auto;overscroll-behavior:contain;
    background:var(--kn-glass-strong)!important;-webkit-backdrop-filter:blur(22px) saturate(1.8)!important;backdrop-filter:blur(22px) saturate(1.8)!important;
    border:1px solid var(--kn-edge)!important;border-radius:28px!important;box-shadow:0 18px 48px rgba(0,0,0,.18)!important;
    padding:8px!important;z-index:60;transform-origin:100% 100%;animation:kn-in .26s cubic-bezier(.2,.7,.2,1)
  }
  body.nav-open .site-header.is-stuck .site-header__nav{left:auto!important;right:calc(12px + var(--kn-sr))!important}
  body.nav-open .site-header__nav .primary-menu{gap:2px}
  body.nav-open .site-header__nav .primary-menu a{
    display:flex!important;align-items:center;justify-content:flex-end;gap:10px;text-align:right;
    min-height:52px;padding:12px 18px!important;border-radius:18px!important;font-size:18px!important;font-weight:500
  }
  body.nav-open .site-header__nav .primary-menu a::after{display:none}
  body.nav-open .site-header__nav .primary-menu .nav-soon{order:-1}
  /* Dim the page behind the menu; a tap on it closes the menu (script) */
  body.nav-open::after{content:"";position:fixed;inset:0;z-index:49;background:rgba(10,14,6,.28);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:kn-fade .2s ease-out}
}

/* Phones: logo centered, controls right, bigger rows in the corner menu */
@media (max-width:600px){
  .site-header__inner{padding-inline:12px!important;gap:8px}
  .site-header__logo{padding:9px 16px}
  .site-header__logo img,.site-header__logo svg{height:22px!important;width:auto}
  .site-header__search-btn,.site-header__toggle,.site-header__cart{width:42px;height:42px}
  body.nav-open .site-header__nav{width:min(300px,calc(100vw - 20px - var(--kn-sl) - var(--kn-sr)))!important;right:calc(10px + var(--kn-sr))!important;bottom:calc(10px + var(--kn-sb))!important}
  body.nav-open .site-header__nav .primary-menu a{min-height:56px;font-size:19px!important}
}
/* The narrowest phones: not enough room to center the logo next to the controls */
@media (max-width:374px){
  .site-header__inner{display:flex!important;justify-content:space-between;align-items:center}
  .site-header__search-btn,.site-header__toggle,.site-header__cart{width:40px;height:40px}
}

/* Short screens held sideways: anchor to the top right instead */
@media (max-width:1200px) and (max-height:520px){
  body.nav-open .site-header__nav{top:calc(72px + var(--kn-st))!important;bottom:auto!important;max-height:calc(100dvh - 84px - var(--kn-st))}
  body.nav-open .site-header__nav .primary-menu a{min-height:44px;font-size:16px!important}
}

/* Foldables and dual-screen devices: keep the logo on the left screen and the menu on the right one */
@media (horizontal-viewport-segments:2){
  .site-header__inner{display:flex!important;justify-content:space-between}
  body.nav-open .site-header__nav{left:auto!important;width:min(340px,calc(env(viewport-segment-width 1 0,100vw) - 24px))!important}
}

/* Footer: no squeezed columns on iPad, foldable and small-laptop widths */
@media (min-width:901px) and (max-width:1279px){
  .site-footer__top{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:40px 24px}
  .site-footer__signup{grid-column:1/-1;max-width:640px!important}
  .site-footer__col-title{white-space:nowrap}
}

@keyframes kn-in{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@keyframes kn-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  body.nav-open .site-header__nav,body.nav-open::after{animation:none}
  .site-header__toggle-bar,.site-header__toggle-bar::before,.site-header__toggle-bar::after{transition:none}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header.is-stuck .site-header__logo,.site-header.is-stuck .site-header__actions,body.nav-open .site-header__nav{background:rgba(255,255,255,.94)!important}
}

/* ---------- v2.1: one alignment system (Nov 5) ----------
   Every section header is centered: title, intro and its button stack on the center line,
   so no section reads left-heavy next to the centered ones (reviews, featured). */
.section-head{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:18px!important}
.section-head .h2,.section-head h2{text-align:center!important;margin-inline:auto}
.section-head__aside{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:20px;max-width:640px;margin-inline:auto}
.section-head__body{text-align:center!important;max-width:62ch;margin-inline:auto!important}
.panel__head{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;margin-inline:auto}
.panel__body{max-width:56ch;margin-inline:auto}
.hero__intro,.hero__title,.hero__subtitle{text-align:center}

/* FAQ and footer stack on tablets and phones, so they center too */
@media (max-width:1200px){
  .faq > :first-child,.faq .h2{text-align:center!important;margin-inline:auto}
}
@media (max-width:1279px){
  .site-footer__top{justify-items:center}
  .site-footer__signup{text-align:center;margin-inline:auto;justify-self:center}
  .site-footer__signup .gform_wrapper,.site-footer__signup form{margin-inline:auto}
  .site-footer__col{text-align:center;justify-self:stretch}
  .site-footer__col ul{align-items:center}
  .site-footer__visit li,.site-footer__visit a{justify-content:center}
}

/* Hero: title, subtitle and buttons on one center line at every width */
.hero__inner{flex-direction:column!important;align-items:center!important;text-align:center}
.hero__intro{width:100%;max-width:880px;margin-inline:auto}
.hero__subtitle{margin-inline:auto!important}
.hero__actions{justify-content:center!important;margin-inline:auto}

/* Neighborhood chips and their button */
.nbh-links__list{justify-content:center!important}
.nbh-links .btn{display:flex;width:max-content;margin-inline:auto}

/* Footer sign-up copy centered; typed text in the fields stays left */
@media (max-width:1279px){
  .site-footer__lede{margin-inline:auto!important;max-width:44ch}
  .site-footer__signup input,.site-footer__signup textarea{text-align:left}
}

/* Newsletter small print and the deals note under the carousel */
.panel__form .legal{text-align:center;max-width:52ch;margin-inline:auto}
.deals__note{text-align:center;max-width:62ch;margin-inline:auto!important}

/* Carousels on phones and small tablets: arrows are hidden below 901px, so the button sits centered */
@media (max-width:900px){
  .carousel-controls{justify-content:center!important}
}

/* Shop and blog page heads, blog category chips */
.shop__head{text-align:center}
.shop__head>*{margin-inline:auto}
.shop__lede{max-width:62ch;margin-inline:auto!important;text-align:center}
.blog__chips{justify-content:center!important;flex-wrap:wrap}

/* Weed deals page */
.wd-hero__content{flex-direction:column!important;justify-content:flex-end;align-items:center!important;text-align:center;gap:24px}
.wd-hero__copy{align-items:center!important;text-align:center;margin-inline:auto}
.wd-hero__copy,.wd-hero__actions{width:100%;max-width:640px}
.wd-hero__title{text-align:center}
.wd-hero__lede{text-align:center;max-width:60ch;margin-inline:auto}
.wd-hero__actions{justify-content:center!important;margin-inline:auto}
.wd-hero__actions .btn,.deals-siblings__links .btn{white-space:nowrap}
.wd-weekly__head{flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center;gap:18px}
.wd-weekly__title{text-align:center!important;margin-inline:auto}
.wd-weekly__intro{align-items:center!important;text-align:center;max-width:640px;margin-inline:auto}
.wd-note{text-align:center}
.wd-note__head{justify-content:center!important;text-align:center}
.wd-note__body{text-align:center;max-width:62ch;margin-inline:auto}
.deals-siblings{text-align:center}
.deals-siblings .h2{text-align:center}
.deals-siblings__links{justify-content:center!important;flex-wrap:wrap}

/* Delivery page wait-list copy once it stacks above the form */
@media (max-width:900px){
  .delivery-waitlist__copy{text-align:center}
  .delivery-waitlist__copy .h2{margin-inline:auto}
  .delivery-waitlist__perks{width:fit-content;max-width:100%;margin-inline:auto!important;text-align:left}
  .delivery-waitlist__legal{text-align:center;margin-inline:auto}
}

/* Age gate: keep the card and its small print clear of the KUSHOLOGY wordmark.
   The bottom padding reserves the wordmark's height. On short screens (phones
   with browser bars showing, small laptops) the card centers in the space
   above it instead of sitting 19.5vh from the top, and scrolls if it must.
   Tall screens keep the original layout. */
.pp__gate{padding-top:clamp(24px,19.5svh,19.5vh);padding-bottom:calc(clamp(110px,23vw,333px) + 16px);overflow-y:auto;overscroll-behavior:contain}
@media (max-height:760px){
  .pp__gate{align-items:center;padding-top:16px}
  .pp__card{gap:clamp(12px,3svh,var(--gap-lg))}
}
@media (max-width:600px){
  .pp__license{white-space:normal;max-width:42ch;margin-inline:auto;text-wrap:balance}
}

/* ==========================================================================
   CMO and design pass (0.19.39 to 0.19.40, Nov 6, 2026)
   ========================================================================== */

/* Section rhythm: less empty page between sections. */
:root{--section-py:72px;--section-py-sm:56px}
@media (max-width:900px){:root{--section-py:48px;--section-py-sm:40px}.section{padding-block:48px}}
@media (max-width:600px){:root{--section-py:40px;--section-py-sm:32px}.section{padding-block:40px}}

/* Labels: sentence case, no wide tracking. */
.section-head__kicker,.blog__kicker,.blog-card__kicker,.post-summary__kicker,.bcover__cat,.dealsbadge,.pcard-mini__brand{
  text-transform:none!important;letter-spacing:0!important}
.section-head__kicker,.blog__kicker,.post-summary__kicker,.dealsbadge{font-size:14px}
.blog-card__kicker,.bcover__cat{font-size:13px}

/* Desktop header: one Order Now button; nav on one line at laptop widths. */
.site-header__order{display:none}
@media (min-width:1201px){
  .site-header__order{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:999px;
    background:var(--c-black);color:var(--c-white);font-size:14px;font-weight:var(--fw-medium);white-space:nowrap;
    transition:transform .2s ease,opacity .2s ease}
  .site-header__order:hover{transform:translateY(-1px);opacity:.92}
  .site-header__order .icon-arrow{width:14px;height:14px}
  .site-header__actions{gap:8px}
  #primary-menu a{white-space:nowrap}
}
@media (min-width:1201px) and (max-width:1439px){
  #primary-menu{gap:20px!important}
  .site-header.is-stuck .site-header__nav{padding-inline:20px}
  .site-header__location .site-header__addr{display:none}
}

/* Hero: buttons above the fold on short laptop windows and short phones. */
@media (min-width:901px){
  .hero{padding-top:clamp(300px,calc(100svh - 320px),543px)}
}
@media (min-width:601px) and (max-width:900px){
  .home .hero{padding-top:clamp(140px,min(68.3vw,calc(100svh - 340px)),68.3vw)!important}
  .hero__actions{max-width:460px;margin-inline:auto}
}
@media (max-width:600px){
  .home .hero{padding-top:clamp(120px,min(68.3vw,calc(100svh - 300px)),68.3vw)!important}
}

/* Hero: readable subtitle over the sky (soft light scrim, no blur) and the hours and directions line. */
.hero__meta{margin:16px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;font-size:14px}
.hero__meta a{text-decoration:underline;text-underline-offset:3px}
.hero__meta-dot{opacity:.7}
@media (min-width:901px){
  .hero__inner{position:relative}
  .hero__inner::before{content:"";position:absolute;z-index:-1;left:50%;top:55%;width:min(1040px,130%);height:170%;
    transform:translate(-50%,-50%);pointer-events:none;
    background:radial-gradient(closest-side,rgba(246,250,238,.78),rgba(246,250,238,.5) 55%,rgba(246,250,238,0))}
  .hero__subtitle{color:rgba(0,0,0,.84)!important;font-weight:500}
  .hero__meta{color:rgba(0,0,0,.78)}
  .hero__meta a{color:#000}
}
@media (max-width:900px){
  .home .hero__meta{margin-top:20px;color:rgba(0,0,0,.8);font-weight:500;
    text-shadow:0 0 10px rgba(255,255,255,.95),0 0 3px rgba(255,255,255,.9)}
  .home .hero__meta a{color:#000}
}
@media (max-width:600px){
  .hero__meta{flex-direction:column;align-items:center}
  .hero__meta-dot{display:none}
}

/* Featured products: two roomy columns on phones instead of three cramped ones. */
@media (max-width:600px){
  .featured__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .featured__grid > .pcard:nth-child(n+9){display:none}
  .featured__grid .pcard__img{margin-top:24px}
}

/* Phones and foldables: Order Now stays in thumb reach once the hero buttons scroll away. */
.kn-fab{display:none}
@media (max-width:1200px){
  .kn-fab{display:inline-flex;align-items:center;gap:10px;position:fixed;z-index:45;left:50%;
    bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translate(-50%,24px);opacity:0;pointer-events:none;
    height:52px;padding:0 26px;border-radius:999px;background:var(--c-black);color:var(--c-white);
    font-size:16px;font-weight:var(--fw-medium);white-space:nowrap;
    box-shadow:0 10px 30px rgba(0,0,0,.22),0 0 0 1px rgba(184,226,102,.45);
    transition:opacity .25s ease,transform .25s cubic-bezier(.2,.7,.2,1)}
  .kn-fab .icon-arrow{width:14px;height:14px}
  .kn-fab.is-on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
  body.nav-open .kn-fab,body.cart-open .kn-fab,html.pp-active .kn-fab{opacity:0!important;pointer-events:none!important}
}
@media (prefers-reduced-motion:reduce){.kn-fab{transition:none}}

/* Logo without a bubble, bigger than the controls (0.19.41, Nov 7, 2026).
   Legibility over scrolled content comes from a soft top fade, not glass. */
.site-header.is-stuck .site-header__logo,body.nav-open .site-header__logo{
  background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  border-color:transparent!important;box-shadow:none!important}
.site-header__logo{padding:0!important}
.site-header.is-stuck::before{content:"";position:fixed;inset:0 0 auto 0;height:calc(96px + var(--kn-st));pointer-events:none;z-index:-1;
  background:linear-gradient(to bottom,rgba(248,251,242,.96) 0%,rgba(248,251,242,.82) 45%,rgba(248,251,242,0) 100%)}
@media (min-width:1201px){.site-header__logo img,.site-header__logo svg{height:36px!important;width:auto}}
@media (max-width:1200px){
  .site-header.is-stuck .site-header__actions,body.nav-open .site-header__actions{
    background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    border-color:transparent!important;box-shadow:none!important}
  .site-header__actions{padding:0!important;gap:8px!important}
  .site-header__search-btn,.site-header__toggle,.site-header__cart{box-shadow:0 4px 14px rgba(0,0,0,.08)}
}
@media (min-width:601px) and (max-width:1200px){.site-header__logo img,.site-header__logo svg{height:38px!important;width:auto}}
@media (max-width:600px){
  .site-header__inner{padding-inline:4px!important}
  .site-header__logo img,.site-header__logo svg{height:34px!important;width:auto}
}
@media (max-width:374px){.site-header__logo img,.site-header__logo svg{height:28px!important}}
