/* Fruitboy V14: shared sticky header + full-width search on every page. */
:root{--fb-sticky-header-height:78px;--fb-sticky-search-top:78px}
html{scroll-padding-top:155px}
body:has(header.nav){--fb-sticky-header-height:78px;--fb-sticky-search-top:78px}
body:has(.fbp-header){--fb-sticky-header-height:74px;--fb-sticky-search-top:74px}
body:has(header.top){--fb-sticky-header-height:92px;--fb-sticky-search-top:92px}
/* Keep each page's own navigation/header pinned while scrolling. */
body:has(header.nav) header.nav,
body:has(.fbp-header) .fbp-header,
body:has(header.top) header.top,
body:has(header.top) .top{
  position:sticky!important;top:0!important;z-index:1002!important;
  isolation:isolate;
}
.fb-global-search-wrap{
  position:sticky!important;top:var(--fb-sticky-search-top,78px)!important;z-index:1001!important;
  display:block!important;width:100%!important;box-sizing:border-box!important;
  margin:0!important;padding:8px clamp(10px,1.7vw,20px)!important;
  background:rgba(247,250,239,.97)!important;backdrop-filter:blur(15px)!important;
  -webkit-backdrop-filter:blur(15px)!important;
  border-bottom:1px solid rgba(208,224,192,.95)!important;
  box-shadow:0 5px 15px rgba(15,63,35,.065)!important;
}
.fb-global-search-wrap *{box-sizing:border-box}
.fb-global-search{
  position:relative!important;display:flex!important;align-items:center!important;gap:9px!important;
  width:min(100%,1120px)!important;min-height:50px!important;margin:0 auto!important;
  padding:5px 6px 5px 15px!important;background:#fffdf5!important;
  border:1px solid #e1d39e!important;border-radius:999px!important;
  box-shadow:0 5px 18px rgba(22,65,38,.07)!important;
}
.fb-global-search>span[aria-hidden="true"]{color:#0a7040!important;font-size:23px!important;line-height:1!important;flex:0 0 auto!important}
.fb-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.fb-global-search input{
  display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:40px!important;
  margin:0!important;padding:8px 5px!important;border:0!important;border-radius:0!important;
  outline:0!important;background:transparent!important;box-shadow:none!important;color:#173c29!important;
  font:500 15px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
.fb-global-search input:focus{outline:0!important;box-shadow:none!important}
.fb-global-search input::placeholder{color:#778075!important;opacity:1!important}
.fb-global-search button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  min-height:39px!important;margin:0!important;padding:10px 20px!important;border:0!important;border-radius:999px!important;
  background:linear-gradient(135deg,#0e6b3d,#07542f)!important;color:#fffdf2!important;
  font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;white-space:nowrap!important;cursor:pointer!important;
}
.fb-global-search button:hover{filter:brightness(1.08)}
.fb-global-results{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;z-index:1100!important;max-height:min(55vh,440px)!important;overflow:auto!important;background:#fffdf6!important;border:1px solid #d9e6d2!important;border-radius:18px!important;box-shadow:0 18px 40px rgba(8,45,25,.18)!important;padding:6px!important}
.fb-global-results[hidden]{display:none!important}
.fb-global-results a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:12px 13px!important;border-radius:11px!important;color:#163e28!important;text-decoration:none!important;font-size:13px!important;line-height:1.45!important}
.fb-global-results a:hover,.fb-global-results a:focus{background:#edf6e8!important;outline:0!important}
.fb-global-results a small{color:#617464!important;font-size:11px!important}
/* V14: use the V11-style full-bleed Diwali produce photograph in the homepage hero. */
.fb-home-compact .fb-home-hero{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  position:relative!important;isolation:isolate!important;min-height:clamp(360px,38vw,450px)!important;
  grid-template-columns:none!important;gap:0!important;
  padding:clamp(28px,4.5vw,58px)!important;margin:0 0 22px!important;
  border:1px solid rgba(243,201,107,.82)!important;border-radius:28px!important;overflow:hidden!important;
  background-image:linear-gradient(90deg,rgba(2,38,24,.95) 0%,rgba(3,47,29,.84) 42%,rgba(3,45,27,.48) 72%,rgba(3,38,24,.12) 100%),url('/assets/fruitboy-fruit-veg-diwali.webp')!important;
  background-size:cover!important;background-position:center right!important;
  box-shadow:0 20px 46px rgba(4,43,27,.20)!important;
}
.fb-home-compact .fb-home-hero-copy{width:min(100%,700px)!important;max-width:700px!important;z-index:2!important;align-self:flex-start!important}
.fb-home-compact .fb-home-hero-art{display:none!important}
.fb-home-compact .fb-home-hero h1{max-width:680px!important}
.fb-home-compact .fb-home-hero-copy>p:not(.fb-home-eyebrow){max-width:600px!important}
.fb-home-compact .fb-home-search{display:none!important}
@media(max-width:760px){
  body:has(header.nav){--fb-sticky-header-height:68px;--fb-sticky-search-top:68px}
  body:has(.fbp-header){--fb-sticky-header-height:58px;--fb-sticky-search-top:58px}
  body:has(header.top){--fb-sticky-header-height:96px;--fb-sticky-search-top:96px}
  body:has(header.top) header.top,body:has(header.top) .top{gap:8px!important;padding:8px 14px!important}
  body:has(header.top) .brand img{width:42px!important;height:42px!important}
  body:has(header.top) .navlinks{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;white-space:nowrap!important;width:100%!important;gap:14px!important;margin:0!important;padding:2px 0 4px!important}
  .fb-global-search-wrap{padding:6px 9px!important}
  .fb-global-search{min-height:45px!important;padding:4px 5px 4px 12px!important;gap:6px!important}
  .fb-global-search input{height:36px!important;font-size:14px!important}
  .fb-global-search button{min-height:35px!important;padding:9px 14px!important;font-size:12px!important}
  .fb-home-compact .fb-home-hero{min-height:375px!important;padding:26px 21px!important;border-radius:22px!important;background-position:62% center!important}
  .fb-home-compact .fb-home-hero-copy{width:100%!important;max-width:580px!important}
  .fb-home-compact .fb-home-hero h1{font-size:clamp(38px,10vw,55px)!important;max-width:520px!important}
  html{scroll-padding-top:150px}
}
@media(prefers-reduced-motion:reduce){.fb-global-search-wrap{scroll-behavior:auto!important}}
