
:root{
  --bcgh-green:#173D32;
  --bcgh-ink:#17201D;
  --bcgh-muted:#69736E;
  --bcgh-line:#E4E0D7;
  --bcgh-cream:#F7F5EF;
  --bcgh-sage:#E8EFEA;
  --bcgh-white:#fff;
  --bcgh-serif:"EB Garamond",Georgia,serif;
  --bcgh-sans:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* Global ownership: hide Astra/Elementor/native headers on the frontend. */
#masthead,
.site-header,
.ast-primary-header-bar,
.ast-mobile-header-wrap,
.ast-desktop-header-content,
.ast-main-header-wrap{
  display:none!important;
}

.bcgh-header,.bcgh-header *,.bcgh-drawer,.bcgh-drawer *{box-sizing:border-box}
.bcgh-header{
  position:sticky;
  top:0;
  z-index:99990;
  width:100%;
  border-bottom:1px solid var(--bcgh-line);
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  font-family:var(--bcgh-sans);
}
.admin-bar .bcgh-header{top:32px}
.bcgh-bar{
  width:min(1180px,calc(100% - 48px));
  height:76px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  align-items:center;
}
.bcgh-icon-btn{
  position:relative;
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  margin:0;padding:0;
  border:0;border-radius:12px;
  background:transparent;
  color:var(--bcgh-green);
  cursor:pointer;
}
.bcgh-icon-btn:hover,.bcgh-icon-btn:focus-visible{background:var(--bcgh-cream)}
.bcgh-icon-btn svg{
  width:25px;height:25px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.bcgh-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.bcgh-logo .custom-logo-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;padding:0!important;
}
.bcgh-logo img.custom-logo,
.bcgh-logo .custom-logo-link img{
  display:block!important;
  width:auto!important;
  max-width:168px!important;
  max-height:54px!important;
  margin:0!important;
  object-fit:contain!important;
}
.bcgh-wordmark{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  color:var(--bcgh-green)!important;
  text-decoration:none!important;
}
.bcgh-wordmark strong{font:500 37px/.8 var(--bcgh-serif);letter-spacing:-.045em}
.bcgh-wordmark span{margin-top:8px;font:600 8px/1 var(--bcgh-sans);letter-spacing:.34em}
.bcgh-cart-count{
  position:absolute;
  top:2px;right:0;
  min-width:19px;height:19px;
  display:flex;align-items:center;justify-content:center;
  padding:0 5px;
  border:2px solid #fff;
  border-radius:999px;
  background:var(--bcgh-green);
  color:#fff;
  font:800 8px/1 var(--bcgh-sans);
}

.bcgh-overlay{
  position:fixed;inset:0;
  z-index:99991;
  background:rgba(10,18,15,.46);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
.bcgh-drawer{
  position:fixed;
  top:0;bottom:0;
  z-index:99992;
  width:min(390px,92vw);
  display:flex;
  flex-direction:column;
  background:#fff;
  color:var(--bcgh-ink);
  font-family:var(--bcgh-sans);
  box-shadow:0 24px 80px rgba(0,0,0,.2);
  transition:transform .26s ease;
}
.admin-bar .bcgh-drawer{top:32px}
.bcgh-menu-drawer{left:0;transform:translateX(-105%)}
.bcgh-cart-drawer{right:0;transform:translateX(105%)}
.bcgh-drawer.is-open{transform:translateX(0)}
.bcgh-drawer-head{
  height:76px;
  flex:0 0 76px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 20px;
  border-bottom:1px solid var(--bcgh-line);
}
.bcgh-drawer-head>span{
  color:var(--bcgh-green);
  font:600 24px/1 var(--bcgh-serif);
}
.bcgh-close{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--bcgh-line);
  border-radius:11px;
  background:#fff;color:var(--bcgh-green);
  font:400 24px/1 var(--bcgh-sans);
  cursor:pointer;
}
.bcgh-nav{
  display:flex;flex-direction:column;
  padding:18px 20px 10px;
}
.bcgh-nav a{
  display:flex;align-items:center;
  min-height:52px;
  border-bottom:1px solid var(--bcgh-line);
  color:var(--bcgh-ink)!important;
  text-decoration:none!important;
  font:600 14px/1.3 var(--bcgh-sans)!important;
}
.bcgh-nav a:after{
  content:"→";margin-left:auto;color:var(--bcgh-muted);
}
.bcgh-nav a:hover{color:var(--bcgh-green)!important}
.bcgh-menu-help{
  margin:auto 20px 22px;
  padding:16px;
  border-radius:14px;
  background:var(--bcgh-cream);
}
.bcgh-menu-help p{margin:0;color:var(--bcgh-muted);font:500 11px/1.5 var(--bcgh-sans)}
.bcgh-menu-help a{
  display:inline-block;margin-top:7px;color:var(--bcgh-green)!important;
  text-decoration:none!important;font:700 11.5px/1.4 var(--bcgh-sans)!important;
}

.bcgh-cart-body{display:flex;flex:1;min-height:0;flex-direction:column}
.bcgh-cart-items{
  padding:16px 18px 4px;
  overflow:auto;
}
.bcgh-cart-item{
  position:relative;
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:12px;
  padding:0 30px 15px 0;
  margin-bottom:15px;
  border-bottom:1px solid var(--bcgh-line);
}
.bcgh-cart-thumb img{
  display:block!important;
  width:70px!important;height:94px!important;
  object-fit:cover!important;
  border-radius:8px!important;
  margin:0!important;
}
.bcgh-cart-copy{min-width:0}
.bcgh-cart-copy strong{
  display:block;
  color:var(--bcgh-green);
  font:600 17px/1.15 var(--bcgh-serif);
}
.bcgh-cart-copy>span{
  display:block;margin-top:4px;
  color:var(--bcgh-muted);font:600 9.5px/1.4 var(--bcgh-sans);
}
.bcgh-cart-price{
  margin-top:8px;
  color:var(--bcgh-ink);
  font:700 12px/1.3 var(--bcgh-sans);
}
.bcgh-remove{
  position:absolute;top:0;right:0;
  width:27px;height:27px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--bcgh-line);border-radius:50%;
  color:var(--bcgh-muted)!important;background:#fff;
  text-decoration:none!important;font:500 16px/1 var(--bcgh-sans);
}
.bcgh-cart-summary{
  display:flex;align-items:center;justify-content:space-between;
  margin:auto 18px 0;
  padding:16px 0;
  border-top:1px solid var(--bcgh-line);
  color:var(--bcgh-muted);
  font:600 12px/1.3 var(--bcgh-sans);
}
.bcgh-cart-summary strong{color:var(--bcgh-green);font-size:14px}
.bcgh-cart-actions{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
  padding:0 18px 20px;
}
.bcgh-btn{
  min-height:48px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--bcgh-green);border-radius:11px;
  text-decoration:none!important;
  font:700 12px/1 var(--bcgh-sans)!important;
}
.bcgh-btn-outline{background:#fff;color:var(--bcgh-green)!important}
.bcgh-btn-solid{background:var(--bcgh-green);color:#fff!important}
.bcgh-empty{
  margin:auto 18px;
  padding:28px 20px;
  border:1px solid var(--bcgh-line);
  border-radius:16px;
  background:var(--bcgh-cream);
  text-align:center;
}
.bcgh-empty-icon{
  width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;border-radius:50%;background:#fff;color:var(--bcgh-green)
}
.bcgh-empty-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7}
.bcgh-empty strong{display:block;color:var(--bcgh-green);font:600 22px/1.1 var(--bcgh-serif)}
.bcgh-empty p{margin:8px 0 16px;color:var(--bcgh-muted);font:500 11px/1.5 var(--bcgh-sans)}

body.bcgh-open{overflow:hidden!important}

/* Tablet */
@media(max-width:1024px) and (min-width:768px){
  .bcgh-bar{width:min(100% - 36px,1180px);height:72px}
  .bcgh-logo img.custom-logo,.bcgh-logo .custom-logo-link img{max-width:154px!important;max-height:50px!important}
  .bcgh-drawer-head{height:72px;flex-basis:72px}
}

/* Mobile */
@media(max-width:767px){
  .bcgh-bar{
    width:100%;
    height:66px;
    padding:0 12px;
    grid-template-columns:44px minmax(0,1fr) 44px;
  }
  .bcgh-icon-btn{width:42px;height:42px;border-radius:10px}
  .bcgh-icon-btn svg{width:23px;height:23px}
  .bcgh-logo img.custom-logo,.bcgh-logo .custom-logo-link img{
    max-width:138px!important;
    max-height:45px!important;
  }
  .bcgh-wordmark strong{font-size:32px}
  .bcgh-wordmark span{font-size:7px;margin-top:6px}
  .bcgh-cart-count{top:1px;right:-1px}
  .bcgh-drawer{width:min(360px,92vw)}
  .bcgh-drawer-head{height:66px;flex-basis:66px;padding:0 16px}
  .bcgh-nav{padding:14px 16px 8px}
  .bcgh-menu-help{margin: auto 16px calc(18px + env(safe-area-inset-bottom))}
  .bcgh-cart-items{padding:14px 15px 3px}
  .bcgh-cart-summary{margin-left:15px;margin-right:15px}
  .bcgh-cart-actions{padding:0 15px calc(17px + env(safe-area-inset-bottom))}
  .admin-bar .bcgh-header{top:46px}
  .admin-bar .bcgh-drawer{top:46px}
}

/* WordPress admin bar on narrow logged-in screens can become taller. */
@media(max-width:782px){
  .admin-bar .bcgh-header{top:46px}
  .admin-bar .bcgh-drawer{top:46px}
}


/* ==========================================================================
   v1.1 — true fixed header
   ========================================================================== */
body.bcgh-active{
  padding-top:76px!important;
}
.bcgh-header{
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:0!important;
  transform:none!important;
  will-change:auto!important;
}
.admin-bar .bcgh-header{top:32px!important}
@media(max-width:1024px) and (min-width:768px){
  body.bcgh-active{padding-top:72px!important}
}
@media(max-width:767px){
  body.bcgh-active{padding-top:66px!important}
}
@media(max-width:782px){
  .admin-bar .bcgh-header{top:46px!important}
}


/* ==========================================================================
   v1.2 — header returns to normal page flow
   The header scrolls away naturally with the page; it is not fixed or sticky.
   ========================================================================== */
body.bcgh-active{
  padding-top:0!important;
}
.bcgh-header{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
.admin-bar .bcgh-header{
  top:auto!important;
}
@media(max-width:1024px) and (min-width:768px){
  body.bcgh-active{padding-top:0!important}
}
@media(max-width:767px){
  body.bcgh-active{padding-top:0!important}
}
@media(max-width:782px){
  .admin-bar .bcgh-header{top:auto!important}
}


/* ==========================================================================
   v1.3 — correct desktop vs tablet/mobile navigation
   Desktop: logo left, full navigation, cart right.
   Tablet/mobile: hamburger left, centered logo, cart right.
   ========================================================================== */
@media(min-width:1025px){
  .bcgh-bar{
    width:min(1180px,calc(100% - 64px))!important;
    height:78px!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    column-gap:34px!important;
    align-items:center!important;
  }
  .bcgh-menu-btn{
    display:none!important;
  }
  .bcgh-logo{
    grid-column:1!important;
    justify-content:flex-start!important;
  }
  .bcgh-logo img.custom-logo,
  .bcgh-logo .custom-logo-link img{
    max-width:182px!important;
    max-height:56px!important;
  }
  .bcgh-desktop-nav{
    grid-column:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:26px!important;
    min-width:0!important;
    white-space:nowrap!important;
  }
  .bcgh-desktop-nav a{
    position:relative!important;
    color:var(--bcgh-ink)!important;
    text-decoration:none!important;
    font:650 12.5px/1 var(--bcgh-sans)!important;
    letter-spacing:-.01em!important;
    padding:10px 0!important;
  }
  .bcgh-desktop-nav a:after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:3px;
    height:1px;
    background:var(--bcgh-green);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .18s ease;
  }
  .bcgh-desktop-nav a:hover,
  .bcgh-desktop-nav a:focus-visible{
    color:var(--bcgh-green)!important;
  }
  .bcgh-desktop-nav a:hover:after,
  .bcgh-desktop-nav a:focus-visible:after{
    transform:scaleX(1);
  }
  .bcgh-cart-btn{
    grid-column:3!important;
    justify-self:end!important;
  }
}

@media(max-width:1024px){
  .bcgh-desktop-nav{
    display:none!important;
  }
  .bcgh-menu-btn{
    display:flex!important;
  }
  .bcgh-bar{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 48px!important;
  }
  .bcgh-menu-btn{grid-column:1!important}
  .bcgh-logo{
    grid-column:2!important;
    justify-content:center!important;
  }
  .bcgh-cart-btn{
    grid-column:3!important;
    justify-self:end!important;
  }
}
