/* GrowHouse global chrome: top bar ticker, header logo, footer widgets and footer band. Handle gh-global, loaded after gh-site and the Flatsome sheets.
   Colours, fonts, heights and layout are Theme Options. This file only holds what Flatsome cannot store.
   The first block keeps the native top bar, footer and header logo displayed and sized (tested: each rule is still needed without the mu-plugin front end). */

:root{--gh-cap:1440px;--gh-pad:clamp(20px,5vw,80px);}

/* ---- native chrome: top bar, footer and logo ---- */
body.gh-ed #top-bar.header-top{display:block!important;}
body.gh-ed footer#footer.footer-wrapper{display:block!important;}
body.gh-ed #logo a,body.gh-ed .header-logo a{display:block;}
body.gh-ed #logo img.header-logo-dark{display:block!important;height:auto;max-height:44px;width:auto;}

/* ---- header: one-line desktop nav that tightens, then hands over to the mobile header (Phase 5 nav) ----
   Flatsome only switches to the mobile header below 850px. With 7 top-level items that is too late, so:
   - from 1280px up the desktop header stays on one line (nowrap) and tightens smoothly: font, link padding,
     side padding and logo shrink linearly from the full size (about 1800px) down to the minimum at 1280px;
   - from 850 to 1279px the desktop groups (.hide-for-medium) are hidden and the mobile groups (.show-for-medium:
     hamburger, logo, search, cart) are shown, with Flatsome's own mobile rules re-applied for this range.
   All rules are scoped to #masthead, so the top bar ticker, cart, checkout and cards are untouched. */
@media (min-width:1280px){
  #masthead .header-inner{flex-wrap:nowrap;padding-left:clamp(16px,calc(16px + (100vw - 1280px)*.123),80px);padding-right:clamp(16px,calc(16px + (100vw - 1280px)*.123),80px);}
  #masthead #logo{width:clamp(160px,calc(160px + (100vw - 1280px)*.0577),190px);margin-right:clamp(12px,calc(12px + (100vw - 1280px)*.0346),30px);flex:0 0 auto;}
  #masthead .header-nav-main.nav-left{flex-wrap:nowrap;white-space:nowrap;min-width:0;}
  #masthead .header-nav-main.nav-left>li>a{white-space:nowrap;font-size:clamp(12.5px,calc(12.5px + (100vw - 1280px)*.0048),15px);padding-left:clamp(6px,calc(6px + (100vw - 1280px)*.0154),14px);padding-right:clamp(6px,calc(6px + (100vw - 1280px)*.0154),14px);}
  #masthead .header-nav-main.nav-right{flex-wrap:nowrap;white-space:nowrap;flex:0 0 auto;}
  #masthead .header-nav-main.nav-right>li>a{white-space:nowrap;}
  #masthead .header-nav-main .account-item>a>span{display:inline-block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;}
}
@media (min-width:1280px) and (max-width:1559px){
  #masthead .header-nav-main .header-cart-title{display:none;}
}
@media (min-width:850px) and (max-width:1279px){
  #masthead .hide-for-medium{display:none!important;}
  #masthead .show-for-medium{display:block!important;}
  #masthead .header-inner{flex-wrap:nowrap;padding-left:5vw;padding-right:5vw;}
  #masthead .header-inner .nav{flex-wrap:nowrap;}
  #masthead .medium-logo-center .logo{margin:0 15px;order:2;text-align:center;}
  #masthead .medium-logo-center .logo img{margin:0 auto;}
  #masthead .medium-logo-center .flex-left{flex:1 1 0;order:1;}
  #masthead .medium-logo-center .flex-right{flex:1 1 0;order:3;}
  #masthead .medium-logo-left .logo{margin-left:0;margin-right:15px;order:1;}
  #masthead .medium-logo-left .flex-left{flex:1 1 0;order:2;}
  #masthead .medium-logo-left .flex-right{flex:1 1 0;order:3;}
}

/* ---- header height (Phase 5 header height) ----
   The brand mu-plugin sets .gh-ed .header-main{min-height:76px}, which beats the Theme Options heights
   (header_height_mobile 62, header_height_sticky 64 !important) so nothing could get below 76px. Neutralise
   that floor here; the desktop height (header_height) and the sticky shrink (header_height_sticky) then work as set.
   Flatsome only applies header_height_mobile below 550px, but the mobile header shows below 1280px, so the
   mobile height is carried up to 1279px, also when stuck (62px; the 64px shrink height would make it grow). */
body.gh-ed #masthead.header-main{min-height:0;transition:height .25s ease;}
body.gh-ed .stuck #masthead.header-main{transition:height .25s ease;}
body.gh-ed .stuck #logo img{max-height:44px!important;}
@media (max-width:1279px){
  body.gh-ed #masthead.header-main,body.gh-ed .stuck #masthead.header-main{height:62px!important;}
}
@media (prefers-reduced-motion:reduce){body.gh-ed #masthead.header-main{transition:none;}}

/* ---- mobile off-canvas menu rows (Phase 5 header height) ----
   Rows get a 20px inset on the left (same as the search field), the label may shrink or wrap (min-width:0) and the
   sub menu toggle is fixed at the right edge, centred, so a long label ("Nicotine & Accessories") no longer pushes
   the arrow onto its own line. Scoped to the off-canvas menu only. */
#main-menu.mobile-sidebar .nav-sidebar>li>a{flex:1 1 0;min-width:0;padding-left:20px;padding-right:20px;overflow-wrap:anywhere;}
#main-menu.mobile-sidebar .nav-sidebar>li:has(>button.toggle)>a{padding-right:0;}
#main-menu.mobile-sidebar .nav-sidebar>li>button.toggle{flex:0 0 45px;align-self:center;}

/* ---- misc ---- */
.nocomments,p.no-comments{display:none;}
.payment-icon.gh-pay-label{width:auto;height:auto;margin:2px 4px;padding:4px 12px;border:1px solid currentColor;border-radius:99px;font-size:12px;line-height:1.4;font-weight:500;}

/* ---- top bar: native UX Block gh-ticker in the top bar centre slot ---- */
#top-bar{border-bottom:2px solid var(--gh-ink);}
#top-bar .container{max-width:var(--gh-cap,1440px);padding-left:var(--gh-pad,20px);padding-right:var(--gh-pad,20px);box-sizing:border-box;}
@media (min-width:850px){#top-bar .flex-left,#top-bar .flex-right{flex:0 0 auto;}}
#top-bar .flex-center{flex:1 1 0;min-width:0;overflow:hidden;margin:0;}
#top-bar .flex-center .nav,#top-bar .flex-center .header-block,#top-bar .flex-center .header-block-block-1{display:block;width:100%;margin:0;}
.gh-tick{overflow:hidden;white-space:nowrap;background:transparent;}
.gh-tick .section-content,.gh-tick .row,.gh-tick .col,.gh-tick .col-inner{margin:0;padding:0;max-width:none;}
.gh-tick__track{display:flex;flex-wrap:nowrap;width:max-content;animation:gh-tick-scroll 38s linear infinite;will-change:transform;}
.gh-tick__item{flex:none;display:inline-flex;align-items:center;margin:0;padding:0;font-family:var(--gh-font-mono);font-weight:500;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--gh-ink);line-height:1;}
.gh-tick__item::after{content:"";width:7px;height:7px;background:var(--gh-ink);transform:rotate(45deg);margin:0 28px;flex:none;}
.gh-tick:hover .gh-tick__track{animation-play-state:paused;}
@keyframes gh-tick-scroll{to{transform:translate3d(-50%,0,0);}}
@media (prefers-reduced-motion:reduce){
  .gh-tick__track{animation:none;}
  .gh-tick__dup{display:none;}
  .gh-tick{overflow-x:auto;}
}
/* mobile: the top bar shows the mobile slot only (holder, then the ticker on its own line) */
@media (max-width:849px){
  #top-bar .flex-row{flex-wrap:wrap;}
  #top-bar .flex-grow{flex:1 1 100%;min-width:0;}
  #top-bar .flex-grow .nav{flex-wrap:wrap;justify-content:center;}
  #top-bar .flex-grow li.html{flex:0 0 100%;justify-content:center;padding:6px 0 2px;}
  #top-bar .flex-grow .header-block{flex:0 0 100%;max-width:100%;min-width:0;overflow:hidden;padding:2px 0 8px;}
}

/* ---- footer widgets (native widgets: brand text, three menus) ---- */
.footer-1 .row,.absolute-footer .container{max-width:var(--gh-cap,1440px);padding-left:var(--gh-pad,20px);padding-right:var(--gh-pad,20px);box-sizing:border-box;}
.footer-1.footer-widgets{padding-top:56px;padding-bottom:16px;}
.footer-1.footer-widgets .widget-title,body.gh-ed .footer-1 .widget-title{display:block;font-family:var(--gh-font-body);font-weight:600;font-size:14px;letter-spacing:0;text-transform:none;color:var(--gh-lime);margin:4px 0 14px;}
.footer-1 .is-divider{display:none;}
.footer-1 .menu{margin:0;padding:0;list-style:none;}
.footer-1 .menu li{margin:0;border:0;}
.footer-1.footer-widgets .menu li a,body.gh-ed .footer-1 .menu li a{display:inline-flex;align-items:center;min-height:44px;color:#eef3ef;font-size:15px;text-decoration:none;padding:0;}
.footer-1.footer-widgets .menu li a:hover,body.gh-ed .footer-1 .menu li a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px;}
.footer-1.footer-widgets .gh-foot-blurb,body.gh-ed .footer-1 .gh-foot-blurb{color:var(--gh-soft-dk);max-width:34ch;margin:16px 0 18px;font-size:15px;line-height:1.6;}
.gh-foot-pills{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;}
.gh-foot-pills li{margin:0;padding:7px 12px;border:1px solid rgba(238,243,239,.28);border-radius:99px;font-family:var(--gh-font-mono);font-weight:500;font-size:12px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:#eef3ef;}
.footer-1 .ux-logo-link{padding:0!important;}

/* ---- footer band (UX Block gh-footer-band via html_after_footer) ---- */
.gh-fband{border-top:1px solid rgba(255,255,255,.12);}
.gh-fband .row{max-width:var(--gh-cap,1440px);padding-left:var(--gh-pad,20px);padding-right:var(--gh-pad,20px);box-sizing:border-box;}
.gh-fband__trust{flex-wrap:wrap;gap:12px;justify-content:center!important;}
.gh-fband__pill{display:inline-flex;align-items:center;margin:0;padding:10px 16px;border:2px solid var(--gh-lime);border-radius:99px;font-family:var(--gh-font-mono);font-weight:500;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--gh-lime);line-height:1.2;}
.gh-fband__word{margin:clamp(32px,5vw,72px) 0 0;text-align:center;white-space:nowrap;overflow:hidden;font-family:var(--gh-font-display);font-weight:800;font-size:clamp(3rem,13vw,11rem);letter-spacing:-.07em;line-height:.9;color:transparent;-webkit-text-stroke:2px rgba(241,237,225,.22);user-select:none;}
.gh-fband__legal{margin:0;padding:24px 0;font-size:13px;color:var(--gh-soft-dk);text-align:center;border-top:1px solid rgba(255,255,255,.12);margin-top:24px;}
.gh-fband .gh-fband__legal a,body.gh-ed .gh-fband__legal a{color:var(--gh-soft-dk);text-decoration:underline;display:inline-flex;align-items:center;min-height:44px;}
@media (max-width:549px){.gh-fband__pill{width:100%;justify-content:center;}}
@media (max-width:549px){.gh-fband__word{font-size:12vw;}}
