:root{
  --jb-green:#0b7a3e;
  --jb-green-dark:#07552d;
  --jb-green-soft:#eaf8f0;
  --jb-orange:#ff7a00;
  --jb-ink:#17221b;
  --jb-muted:#66756c;
  --jb-line:#e3ebe6;
  --jb-page:#f5f7f6;
  --jb-card:#fff;
  --jb-shadow:0 12px 35px rgba(17,55,34,.09);
  --jb-radius:18px;
}

html{background:var(--jb-page)}
body{
  background:
    radial-gradient(circle at 8% 0,rgba(11,122,62,.055),transparent 28rem),
    var(--jb-page)!important;
  color:var(--jb-ink);
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(11,122,62,.2)!important;
  outline-offset:2px;
}

/* Store header */
.header{
  box-shadow:0 3px 20px rgba(19,45,28,.09)!important;
  backdrop-filter:saturate(150%) blur(12px);
}
.header-top,.header-mobile-top{border-color:var(--jb-line)!important}
.header-top-inner{padding-top:9px!important;padding-bottom:9px!important}
.logo-img{height:58px!important;width:58px!important}
.logo-name{color:var(--jb-ink)}
.search-bar{
  min-height:48px;
  border:1.5px solid #b7d9c4!important;
  border-radius:13px!important;
  box-shadow:0 4px 14px rgba(22,86,47,.06)!important;
  transition:border-color .2s,box-shadow .2s;
}
.search-bar:focus-within{
  border-color:var(--jb-green)!important;
  box-shadow:0 0 0 4px rgba(11,122,62,.1)!important;
}
.search-bar input{font-size:14px!important}
.search-btn{
  width:54px!important;
  padding:0!important;
  background:var(--jb-green)!important;
}
.hbtn-top{
  min-height:42px;
  border-radius:11px!important;
  border-color:var(--jb-line)!important;
}
.hbtn-top.cart-btn{border-color:#ffd2a8!important}
.header-nav{background:linear-gradient(100deg,var(--jb-green-dark),var(--jb-green))!important}
.header-nav-inner{min-height:46px}
.nav-link{border-bottom-width:2px!important}

/* Delivery location strip */
.jb-delivery-strip{
  background:#fff;
  border-bottom:1px solid var(--jb-line);
}
.jb-delivery-inner{
  max-width:1400px;
  margin:auto;
  padding:9px 20px;
  display:flex;
  align-items:center;
  gap:10px;
}
.jb-delivery-pin{
  width:34px;height:34px;border-radius:11px;
  display:grid;place-items:center;
  color:var(--jb-green);
  background:var(--jb-green-soft);
  flex:0 0 auto;
}
.jb-delivery-copy{min-width:0;flex:1;line-height:1.25}
.jb-delivery-label{font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--jb-muted)}
.jb-delivery-address{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--jb-ink)}
.jb-delivery-change{
  border:0;background:transparent;color:var(--jb-green);
  font-size:12px;font-weight:800;cursor:pointer;padding:7px 3px;
}

/* Offer and full responsive banner */
.offer-strip{
  background:linear-gradient(110deg,#15231a,#0b6737)!important;
  padding:8px 16px!important;
}
.hero-slider{
  width:100%;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:var(--jb-banner-ratio,3/1);
  max-height:520px;
  background:#f0f3f1!important;
}
.slide{background:#f0f3f1!important}
.slide-bg-blur{display:none!important}
.slide img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f0f3f1;
}
.slider-dot-wrap{
  bottom:9px!important;
  padding:5px 9px;
  border-radius:20px;
  background:rgba(16,28,20,.22);
  backdrop-filter:blur(8px);
}

/* Catalog */
.categories-wrap{padding-top:18px!important;scrollbar-width:none}
.categories-wrap::-webkit-scrollbar{display:none}
.cat-chip{
  min-height:42px;
  border-color:var(--jb-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.cat-chip.active,.cat-chip:hover{
  background:var(--jb-green)!important;
  border-color:var(--jb-green)!important;
  box-shadow:0 8px 18px rgba(11,122,62,.18)!important;
}
.products-section{max-width:1400px!important}
.section-title{letter-spacing:-.5px}
.product-card{
  border:1px solid var(--jb-line)!important;
  border-radius:18px!important;
  box-shadow:0 5px 18px rgba(26,55,36,.055)!important;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s!important;
}
.product-card:hover{
  transform:translateY(-3px)!important;
  box-shadow:var(--jb-shadow)!important;
}
.product-img-wrap,.prod-img-wrap{background:linear-gradient(145deg,#f5fbf7,#eef7f1)!important}
.product-img,.prod-img-wrap img{object-fit:contain!important}
.btn-add,.btn-buy,.btn-cart,.btn-order,.btn-primary,.btn-save-addr,.btn-confirm-addr{
  border-radius:12px!important;
  min-height:44px;
}

/* Cards, forms, inner pages */
.card,.summary-card,.order-card,.delivery-section,.reviews-section,.add-review,.tbl-wrap,.settings-card{
  border-color:var(--jb-line)!important;
  box-shadow:0 6px 24px rgba(24,57,36,.06)!important;
}
.form-input,.addr-form-input,.pe-input,.order-search input{
  border-color:#d6e1da!important;
  border-radius:11px!important;
  min-height:44px;
}
.form-input:focus,.addr-form-input:focus,.pe-input:focus,.order-search input:focus{
  border-color:var(--jb-green)!important;
  box-shadow:0 0 0 3px rgba(11,122,62,.09);
}
.btn-location,.btn-use-location{
  background:linear-gradient(135deg,var(--jb-green),var(--jb-green-dark))!important;
  border-radius:13px!important;
  min-height:48px;
  box-shadow:0 8px 20px rgba(11,122,62,.18);
}
.jb-location-status{
  display:none;
  margin:-4px 0 14px;
  padding:10px 12px;
  border-radius:11px;
  background:#eef8f2;
  border:1px solid #c8e5d3;
  color:#28623f;
  font-size:12px;
  line-height:1.45;
}
.jb-location-status.show{display:block}
.jb-location-status.warn{background:#fff8e9;border-color:#f7d994;color:#73581e}
.jb-field-hint{font-size:10.5px;color:var(--jb-muted);margin-top:4px;line-height:1.35}

/* Minimal useful footer */
.footer{background:#10251a!important}
.footer-main{max-width:1200px!important;grid-template-columns:1.4fr 1fr 1fr!important}
.footer-brand{min-width:0}
.footer-main>.footer-col:nth-of-type(2){display:none}
.footer-social a[href="#"]{display:none}
.footer-bottom-inner{max-width:1200px!important}

/* Bottom mobile navigation */
.jb-bottom-nav{display:none}

/* Location modal */
.jb-location-modal{
  position:fixed;inset:0;z-index:4000;
  display:none;align-items:flex-end;justify-content:center;
  background:rgba(13,28,19,.52);backdrop-filter:blur(5px);
}
.jb-location-modal.open{display:flex}
.jb-location-sheet{
  width:min(680px,100%);max-height:min(92vh,800px);overflow:auto;
  background:#fff;border-radius:24px 24px 0 0;
  box-shadow:0 -20px 60px rgba(10,28,17,.22);
}
.jb-location-sheet-head{
  position:sticky;top:0;z-index:2;background:#fff;
  padding:18px 20px 14px;border-bottom:1px solid var(--jb-line);
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.jb-location-sheet-head h2{font-size:18px;line-height:1.2}
.jb-sheet-close{
  width:36px;height:36px;border:0;border-radius:50%;background:#f1f5f2;cursor:pointer;color:var(--jb-ink)
}
.jb-location-sheet-body{padding:18px 20px 24px}
.jb-location-cta{
  width:100%;border:0;border-radius:14px;padding:14px 16px;
  background:linear-gradient(135deg,var(--jb-green),var(--jb-green-dark));
  color:#fff;font-size:14px;font-weight:800;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:9px;
}
.jb-location-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:16px}
.jb-location-field{display:flex;flex-direction:column;gap:5px}
.jb-location-field.full{grid-column:1/-1}
.jb-location-field label{font-size:11.5px;font-weight:700;color:#4c5f53}
.jb-location-field input,.jb-location-field select{
  width:100%;min-height:45px;border:1.5px solid #d8e3dc;border-radius:11px;padding:10px 12px;outline:none
}
.jb-location-field input:focus,.jb-location-field select:focus{border-color:var(--jb-green);box-shadow:0 0 0 3px rgba(11,122,62,.09)}
.jb-save-location{
  grid-column:1/-1;border:0;border-radius:13px;min-height:48px;
  background:var(--jb-orange);color:#fff;font-weight:800;cursor:pointer;
}

@media(max-width:768px){
  body{padding-bottom:74px!important}
  .header{position:sticky!important;top:0}
  .header-top-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"logo actions" "search search";
    gap:8px 10px!important;
    padding:8px 12px 10px!important;
  }
  .header-top-inner>.logo{grid-area:logo;min-width:0}
  .header-top-inner>.search-wrap{grid-area:search;display:block!important;max-width:none!important;width:100%!important}
  .header-top-inner>.header-actions{grid-area:actions}
  .logo-img{height:42px!important;width:42px!important}
  .logo-text{display:flex!important;min-width:0}
  .logo-name{font-size:16px!important;white-space:nowrap}
  .logo-tag{display:none!important}
  .search-bar{min-height:45px;border-radius:12px!important}
  .search-btn{height:43px!important;width:48px!important}
  .hbtn-top{width:40px!important;height:40px!important;min-height:40px;padding:0!important;justify-content:center;border-radius:12px!important}
  .hbtn-top span{display:none!important}
  .hbtn-top.phone-btn{display:none!important}
  .hamburger-btn-mobile{background:#fff!important;color:var(--jb-green)!important;border:1px solid var(--jb-line)!important}
  .header-nav{display:none!important}
  .jb-delivery-inner{padding:7px 12px}
  .jb-delivery-pin{width:30px;height:30px;border-radius:9px}
  .jb-delivery-address{font-size:11.5px}
  .jb-delivery-change{font-size:11px}
  .offer-strip{padding:6px 12px!important}
  .offer-item{font-size:10.5px!important}
  .hero-slider{
    max-height:none!important;
    width:100%!important;
    aspect-ratio:var(--jb-banner-ratio,3/1)!important;
  }
  .slider-dot-wrap{bottom:6px!important;gap:5px!important}
  .s-dot{width:6px!important;height:6px!important}
  .s-dot.active{width:18px!important}
  .categories-wrap{padding:12px 10px 4px!important}
  .categories-row{gap:8px!important}
  .cat-chip{padding:8px 13px!important;font-size:11.5px!important;min-height:38px}
  .products-section{padding:18px 10px 26px!important}
  .section-header{margin-bottom:13px!important;align-items:flex-end!important}
  .section-title{font-size:19px!important;line-height:1.3}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card{border-radius:14px!important;min-width:0}
  .product-img-wrap,.prod-img-wrap{height:auto!important;aspect-ratio:1/1}
  .product-info,.prod-info{padding:10px 10px 7px!important}
  .product-cat,.prod-cat-tag{font-size:9.5px!important}
  .product-name,.prod-name{font-size:11.5px!important;line-height:1.45!important;min-height:34px}
  .product-price,.price-cur{font-size:17px!important}
  .product-orig,.price-orig{font-size:10.5px!important}
  .product-actions,.prod-actions{gap:6px!important;padding:7px 10px 10px!important}
  .btn-add,.btn-cart,.btn-buy{font-size:10.5px!important;padding:8px 3px!important;min-height:37px}
  .faq-section{padding-left:12px!important;padding-right:12px!important}
  .footer{margin-bottom:-74px;padding-bottom:74px}
  .footer-main{grid-template-columns:1fr 1fr!important;padding:26px 16px 18px!important}
  .footer-brand{grid-column:1/-1!important}
  .footer-bottom-inner{font-size:10.5px!important}
  .wa-float{bottom:84px!important}
  .toast-container,.toast-box{bottom:84px!important}
  .cart-overlay{z-index:2880!important}
  .cart-sidebar{
    z-index:2890!important;
    top:0!important;
    bottom:70px!important;
    height:calc(100dvh - 70px)!important;
    max-height:calc(100dvh - 70px)!important;
  }
  .cart-items-list{min-height:0!important}
  .cart-foot{
    flex:0 0 auto!important;
    position:sticky!important;
    bottom:0!important;
    padding:12px 16px 14px!important;
    box-shadow:0 -10px 28px rgba(24,55,36,.1)!important;
  }
  .btn-checkout{min-height:50px!important;font-size:14px!important}
  .breadcrumb{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;overflow:hidden!important}
  .breadcrumb a{display:inline-flex!important;align-items:center!important;gap:5px;white-space:nowrap;flex:0 0 auto}
  .breadcrumb>a~span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

  .jb-bottom-nav{
    position:fixed;left:0;right:0;bottom:0;z-index:2800;
    height:70px;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    display:grid;grid-template-columns:repeat(5,1fr);
    background:rgba(255,255,255,.97);
    border-top:1px solid #dde7e0;
    box-shadow:0 -8px 25px rgba(24,55,36,.08);
    backdrop-filter:blur(14px);
  }
  .jb-bottom-item{
    border:0;background:transparent;color:#718077;text-decoration:none;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    font-size:9.5px;font-weight:650;cursor:pointer;min-width:0;
  }
  .jb-bottom-item i{font-size:19px;height:22px;display:grid;place-items:center}
  .jb-bottom-item.active{color:var(--jb-green);font-weight:800}
  .jb-bottom-item.active i{
    width:34px;border-radius:12px;background:var(--jb-green-soft)
  }
  .jb-bottom-cart{position:relative}
  .jb-bottom-badge{
    position:absolute;top:0;left:50%;margin-left:8px;
    min-width:16px;height:16px;padding:0 4px;border-radius:9px;
    background:var(--jb-orange);color:#fff;font-size:9px;font-weight:900;
    display:none;align-items:center;justify-content:center;border:2px solid #fff;
  }
  .jb-location-sheet{max-height:94vh}
}

@media(max-width:420px){
  .logo-text .logo-name{font-size:14px!important}
  .product-grid{gap:8px!important}
  .product-info{padding:9px!important}
  .jb-location-form{grid-template-columns:1fr}
  .jb-location-field.full,.jb-save-location{grid-column:1}
}
