/* Shared site overrides (header, footer, canvas). Edit this file to change all pages. */

/* Match recipe-page header type: Jost + navigation scale */
@font-face {
  font-family: Jost;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/_assets/theme/cdn/fonts/jost/jost_n4.d47a1b6347ce4a4c9f437608011273009d91f2b7.woff2") format("woff2");
}
@font-face {
  font-family: Jost;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/_assets/theme/cdn/fonts/jost/jost_n5.7c8497861ffd15f4e1284cd221f14658b0e95d61.woff2") format("woff2");
}
@font-face {
  font-family: Jost;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/_assets/theme/cdn/fonts/jost/jost_n6.ec1178db7a7515114a2d84e3dd680832b7af8b99.woff2") format("woff2");
}
:root{
  --font-navigation-scale: 1.2;
  --color-header-links: #1e4e1c;
  --color-header-icons: #1e4e1c;
}
theme-header,
theme-header .thb-full-menu,
theme-header .thb-full-menu--link,
theme-header .mobile-menu,
theme-header .mobile-menu .link-container,
theme-header .parent-link,
theme-header .sub-menu a{
  font-family: Jost, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}
theme-header .thb-full-menu--link{
  font-size: calc(var(--font-navigation-scale, 1.2) * 15px) !important;
  line-height: 1.2;
}
theme-header .logolink{
  font-family: Jost, sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  letter-spacing: 0;
  text-transform: none;
}

/* Mobile drawer: no forward arrows on Products / Recipes */
.mobile-menu .link-forward{
  display:none !important;
}

/* Hide leftover loyalty widgets */
.float-button,
[aria-label="Open rewards panel"],
[class*="reward" i],
[id*="reward" i],
[class*="smile" i],
[id*="smile" i],
.loox-floating,
.yotpo-widget-loyalty,
.sweet-rewards{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Do not stretch pages to 100vh by default (category page overrides this) */
#wrapper, .wrapper{min-height:0!important;height:auto!important}
#MainContent, main{min-height:0!important;flex:0 0 auto!important}

.social-links svg{width:16px!important;height:auto!important;max-width:16px!important}
.social-links .icon-youtube{width:20px!important;max-width:20px!important}

theme-header .thb-secondary-area{display:none!important}

/* White content; default html/body — no footer-green page fill */
html{
  background:#fff!important;
  /* Always reserve vertical scrollbar width so Home↔Recipes nav doesn't shift left/right */
  overflow-y:scroll!important;
  scrollbar-gutter:stable;
}
body{background:#fff!important;min-height:0!important;height:auto!important}
theme-header, theme-header.header, .header, #wrapper, .wrapper, #MainContent, main, #main-content{background:#fff!important}

/* Header nav: lock identical box on every page (prevents Home↔Recipes jump) */
.header-section{
  position:sticky!important;
  top:0;
  left:0;
  z-index:50;
  width:100%;
  background:#fff;
}
theme-header.header{
  width:100%!important;
  box-sizing:border-box!important;
}
theme-header.header .row.expanded{
  margin:0!important;
  max-width:none!important;
  width:100%!important;
}
theme-header.header .row.expanded > .columns{
  display:flex!important;
  align-items:center!important;
  position:relative!important;
  min-height:64px!important;
  height:64px!important;
  padding-left:20px!important;
  padding-right:20px!important;
  box-sizing:border-box!important;
}
theme-header .logolink{
  order:1;
  flex:0 0 auto;
  z-index:2;
  margin-right:0!important; /* theme sets margin-right:auto and shoved the menu to the far right */
}
/* Restore recipe layout: menu anchored at 25% (scrollbar gutter above keeps it from shifting) */
theme-header full-menu.full-menu,
theme-header .full-menu{
  order:2;
  position:absolute!important;
  left:25%!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  display:block!important;
  z-index:1;
}
theme-header .thb-full-menu{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center;
  gap:28px;
  margin:0!important;
}
@media (max-width:1067px){
  /* Fixed full-bleed header — left/right:0 avoids 100% vs scrollbar-gutter gaps */
  .header-section{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    z-index:200!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  theme-header.header,
  theme-header.header .row.expanded{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  #wrapper{
    padding-top:64px;
  }
  body.home #wrapper{
    padding-top:0; /* home hero sits under transparent bar */
  }
  /* Theme breakpoint: show hamburger, hide desktop menu */
  theme-header full-menu.full-menu,
  theme-header .full-menu{display:none!important}
  theme-header .thb-header-mobile-left{
    display:inline-flex!important;
    margin-right:0!important; /* theme margin-right:auto shoved logo to the far right */
  }
  theme-header .mobile-toggle{
    margin-left:0!important; /* theme -15px pulled the X off the left edge */
  }
  theme-header.header .row.expanded > .columns{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:4px;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  /* Keep logo beside hamburger — override style1 mobile centering */
  theme-header.header.style1 .logolink,
  theme-header .logolink{
    font-size:20px!important;
    margin:0 0 0 4px!important;
    text-align:left!important;
    justify-content:flex-start!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  /* Full-screen opaque drawer under the fixed bar (covers page completely) */
  .mobile-menu-drawer,
  .mobile-menu-drawer--inner{
    background:#fff!important;
  }
  .thb-mobile-menu-footer,
  .thb-mobile-account-link,
  .mobile-secondary-menu{
    display:none!important;
  }
  .mobile-toggle-wrapper[open] .mobile-menu-drawer,
  .mobile-menu-drawer.active{
    position:fixed!important;
    top:64px!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    z-index:150!important;
    background:#fff!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    margin:0!important;
    border-top:0!important;
    box-sizing:border-box!important;
  }
  .header-section:has(.mobile-toggle-wrapper[open]),
  theme-header:has(.mobile-toggle-wrapper[open]){
    z-index:200!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .header-section:has(.mobile-toggle-wrapper[open]) theme-header.header:after{
    display:none!important;
    opacity:0!important;
  }
  /* Keep toggle + logo above the drawer */
  .mobile-toggle-wrapper[open] > .mobile-toggle,
  .header-section:has(.mobile-toggle-wrapper[open]) .logolink{
    position:relative!important;
    z-index:160!important;
  }
  /* Hide page under open menu so nothing peeks through */
  body:has(.mobile-toggle-wrapper[open]) #main-content,
  body:has(.mobile-toggle-wrapper[open]) .site-contact-footer{
    visibility:hidden!important;
  }
  body:has(.mobile-toggle-wrapper[open]){
    overflow:hidden!important;
  }
}
@media (min-width:1068px) and (max-width:1200px){
  theme-header full-menu.full-menu,
  theme-header .full-menu{left:160px!important}
}

/* Slim contact footer */
.site-contact-footer{
  background:#e8eee8;
  padding:30px 20px;
  margin-top:70px;
  text-align:center;
}
.site-contact-footer p{
  margin:0;
  font-size:15px;
  line-height:1.5;
  color:#1e4e1c;
  font-family:inherit;
}
.site-contact-footer__label{font-weight:600}
.site-contact-footer a{color:#1e4e1c;text-decoration:underline}
@media (max-width:767px){
  .site-contact-footer{padding:28px 16px}
}

/* Category title/grid defaults (refined further on the category page) */
body.template-page .blog-header{
  padding-top:20px!important;
  padding-bottom:0!important;
  margin:0!important;
}
body.template-page .blog-header__inner{padding:28px 0 0!important;margin:0!important}
@media (min-width:768px){
  body.template-page .blog-header__inner{padding:36px 0 0!important}
}
body.template-page h1.thb-shop-title{margin:0!important;padding:0!important}
body.template-page .blog-header .rte{
  margin:12px auto 20px!important;
  padding:0!important;
  max-width:760px;
}
body.template-page section.blog-section{
  margin:0 0 16px!important;
  padding:0!important;
}
body.template-page .section-spacing,
body.template-page .section-spacing-bottom{
  margin-top:0!important;
  margin-bottom:0!important;
  padding:0!important;
}
#der img{border-radius:20px;display:block;width:100%;height:auto}

/* Detail hero cap */
.blog-post-detail .featured-image{
  max-width:820px!important;width:100%!important;margin:0 auto 24px!important;
}
.blog-post-detail .featured-image img{
  display:block!important;width:100%!important;height:auto!important;max-width:100%!important;
}

/* Blending tips box (smoothies, juice, sauce list pages) */
.blog-header-section .blog-header__inner{padding-bottom:8px!important}
.blending-tips{
  max-width:900px;
  margin:28px auto 36px;
  padding:18px 20px;
  text-align:left;
  background:#eef6ee;
  border:1px solid #c5d9c4;
  border-left:4px solid #1e4e1c;
  border-radius:6px;
  color:#1e4e1c;
  box-sizing:border-box;
}
.blending-tips__label{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  margin:0 0 10px;
  font-size:1rem;
  line-height:1.3;
}
.blending-tips__label svg{width:18px;height:18px;flex:0 0 auto}
.blending-tips p{margin:0 0 8px;line-height:1.55}
.blending-tips p:last-child{margin-bottom:0}
@media (max-width:767px){
  .blending-tips{margin:20px 16px 28px;padding:14px 16px}
}

/* ----- Recipe detail: two-column body ----- */
.blog-post-detail .ccc{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,0.42fr);
  gap:40px 48px;
  align-items:start;
  margin-top:8px;
}
.blog-post-detail .ccc .left-content,
.blog-post-detail .ccc .right-content{min-width:0}
.blog-post-detail .ccc .sec-title{
  display:block;
  font-size:1.25rem;
  font-weight:600;
  margin:0 0 10px;
  text-decoration:none;
  color:inherit;
}
.blog-post-detail .ccc .left-content > div{margin-bottom:28px}
.blog-post-detail .ccc .right-content > div{
  margin-bottom:24px;
  padding:16px 18px;
  background:#eef6ee;
  border:1px solid #c5d9c4;
  border-radius:8px;
}
.blog-post-detail .ccc ul,
.blog-post-detail .ccc ol{
  margin:0;
  padding-left:1.25em;
}
.blog-post-detail .ccc li{margin:0 0 8px;line-height:1.5}
.blog-post-detail .post-title.page-content-width,
.blog-post-detail .post-content.page-content-width{
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
  box-sizing:border-box;
}
.blog-post-detail .entry-title{
  font-size:clamp(28px, 4vw, 42px);
  line-height:1.2;
  word-break:normal;
  overflow-wrap:anywhere;
}
.section-breadcrumbs .breadcrumbs,
.section-x-breadcrumbs .breadcrumbs{
  padding-left:24px;
  padding-right:24px;
  box-sizing:border-box;
  flex-wrap:wrap;
  row-gap:4px;
  overflow-wrap:anywhere;
}

/* Recipe list cards */
.blog-section .section-spacing-bottom{
  padding-left:16px;
  padding-right:16px;
  box-sizing:border-box;
}
.blog-section .blog-post{
  margin-bottom:36px;
}
.blog-section .blog-post h5 a{
  overflow-wrap:anywhere;
}

@media (max-width:899px){
  .blog-post-detail .ccc{
    grid-template-columns:1fr;
    gap:8px;
  }
  .blog-post-detail .ccc .right-content{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:8px;
  }
  .blog-post-detail .ccc .right-content > div{margin-bottom:0}
  .blog-post-detail .post-title.page-content-width,
  .blog-post-detail .post-content.page-content-width{
    padding-left:16px;
    padding-right:16px;
  }
  .blog-post-detail .featured-image{margin-bottom:16px!important}
  .section-breadcrumbs .breadcrumbs,
  .section-x-breadcrumbs .breadcrumbs{
    padding-left:16px;
    padding-right:16px;
    font-size:13px;
  }
  .blog-header-section .blog-header__inner{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .blog-header-section h1.thb-shop-title{
    font-size:clamp(28px, 7vw, 40px)!important;
    line-height:1.2;
  }
  .blog-header-section .blog-header .rte,
  .blog-header-section .blog-header .rte p{
    font-size:16px!important;
    line-height:1.5;
  }
  /* Large feature card stacks cleanly */
  .blog-section .blog-post--large{
    display:block!important;
  }
  .blog-section .blog-post--large .blog-post--content{
    padding:0!important;
    margin-top:12px;
  }
}

/* Prevent horizontal page scroll without breaking sticky/fixed ancestors */
@media (max-width:767px){
  html, body{overflow-x:clip}
  img{max-width:100%;height:auto}
  .row{max-width:100%}
}