/*
  Canadian Fruit - approved design layer.
  Loaded after custom.css. Part 1: shared + home page. Part 2: WordPress and interior pages.
*/
/* Same palette, type and layout as canadianfruit.com — built on Bootstrap 5.3, refined with motion & mobile polish */
:root{
  --green:57,71,55;
  --lime:201,221,114;
  --g:rgb(var(--green));
  --ease:cubic-bezier(.2,.8,.2,1);
  --serif:"Playfair Display",Georgia,serif;
  /* Bootstrap theme hooks */
  --bs-body-font-family:"DM Sans",system-ui,sans-serif;
  --bs-body-color:#191919;
  --bs-body-line-height:1.65;
  --bs-heading-color:rgb(57,71,55);
  --bs-border-radius:7.5px;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.18;letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,5.4vw + .4rem,4.4rem)}
h2{font-size:clamp(1.75rem,3.2vw + .6rem,2.8rem)}
h3{font-size:clamp(1.25rem,1.2vw + 1rem,1.5rem)}
h4{font-size:1.4rem}
a{color:inherit;text-decoration:none}
::selection{background:rgb(var(--lime));color:var(--g)}
.wide{max-width:1800px}

#progress{position:fixed;top:0;left:0;height:3px;width:100%;background:rgb(var(--lime));transform-origin:0 50%;transform:scaleX(0);z-index:1100}

/* ===== buttons (Bootstrap .btn, themed) ===== */
.btn-cf{
  --bs-btn-color:#fff;--bs-btn-bg:var(--g);--bs-btn-border-color:var(--g);--bs-btn-border-radius:7.5px;
  --bs-btn-hover-color:var(--g);--bs-btn-hover-bg:#fff;--bs-btn-hover-border-color:var(--g);
  --bs-btn-active-color:var(--g);--bs-btn-active-bg:#fff;--bs-btn-active-border-color:var(--g);
  --bs-btn-focus-shadow-rgb:201,221,114;
  --bs-btn-padding-x:1.5rem;--bs-btn-padding-y:.7rem;--bs-btn-font-weight:500;--bs-btn-font-size:1rem;
  min-width:135px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;
  transition:color .3s ease,background-color .3s ease,border-color .3s ease
}
.hero-inner .btn-cf{--bs-btn-border-color:#fff;--bs-btn-hover-border-color:#fff}

/* ===== header ===== */
#hdr{transition:transform .5s var(--ease)}
.announce{background:rgb(var(--lime));color:var(--g);text-align:center;font-size:.82rem;font-weight:500;padding:8px 44px;position:relative;letter-spacing:.02em;line-height:1.4}
.announce a{text-decoration:underline;text-underline-offset:3px;font-weight:700;white-space:nowrap}
.announce button{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;background:none;border:0;color:var(--g);font-size:1.4rem;line-height:1;cursor:pointer;opacity:.7;transition:opacity .3s}
.announce button:hover{opacity:1}
.announce.gone{display:none}
.navbar.cf-nav{background:#fff;padding:12px 0;box-shadow:0 15px 40px rgba(13,29,13,.1);transition:padding .5s var(--ease)}
#hdr.scrolled .cf-nav{padding:6px 0}
.logos{display:flex;align-items:center;gap:1rem;margin:0;padding:0}
@media(min-width:992px){.navbar .logos{margin-right:1.25rem}}
.logos img{width:auto;height:auto;transition:width .5s var(--ease)}
.logos .l1{width:84px}
.logos .l2{width:104px}
@media(min-width:576px){.logos .l1{width:110px}.logos .l2{width:135px}}
@media(min-width:992px){.logos{gap:1.2rem}.logos .l1{width:clamp(130px,13vw,190px)}.logos .l2{width:clamp(150px,15vw,230px)}#hdr.scrolled .logos .l1{width:110px}#hdr.scrolled .logos .l2{width:130px}}
.navbar-toggler{border:0;padding:.6rem;margin-right:-.4rem;box-shadow:none!important}
.navbar-toggler-icon{width:1.6rem;height:1.6rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23394737' stroke-linecap='round' stroke-width='2.2' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E")}
.offcanvas{--bs-offcanvas-width:min(100%,380px)}
.navbar-nav .nav-link{position:relative;color:#000;font-size:.95rem;font-weight:500;white-space:nowrap;padding:.5rem .75rem}
.navbar-nav .nav-link::after{content:"";position:absolute;left:.75rem;right:.75rem;bottom:.25rem;height:2px;background:rgb(var(--lime));transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.navbar-nav .nav-link:hover::after,.navbar-nav .nav-link.active::after{transform:scaleX(1);transform-origin:left}
.navbar-nav .nav-link.active,.navbar-nav .nav-link:hover,.navbar-nav .nav-link.show{color:#000}
.navbar-nav .dropdown-toggle::after{display:none}
.dropdown-menu{border:0;border-radius:7.5px;box-shadow:0 15px 40px rgba(13,29,13,.12);padding:10px;min-width:200px}
.dropdown-item{border-radius:5px;padding:.55rem .8rem}
.dropdown-item:hover,.dropdown-item:focus{background:rgba(var(--lime),.25);color:var(--g)}
.social a{display:grid;place-items:center;width:44px;height:44px}
.social svg{width:20px;height:20px;fill:#000;transition:transform .4s var(--ease),fill .3s}
.social a:hover svg{fill:var(--g)}
@media(min-width:992px){
  .navbar .dropdown:hover>.dropdown-menu{display:block;margin-top:0}
  .navbar .dropdown-menu{top:100%}
}
@media(max-width:991.98px){
  .offcanvas-body{padding:1.5rem 1.5rem 2rem}
  .navbar-nav .nav-link{font-family:var(--serif);font-size:1.7rem;padding:.55rem 0;white-space:normal}
  .navbar-nav .nav-link::after{left:0;right:auto;width:36px;right:auto}
  .navbar-nav .dropdown-menu{background:transparent;box-shadow:none;padding:0 0 .4rem 1rem}
  .navbar-nav .dropdown-item{font-size:1.15rem;padding:.5rem 0}
}

/* ===== hero ===== */
.cf-hero{position:relative;height:100vh;height:100svh;min-height:600px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:130px 0 70px}
@media(min-width:992px){.cf-hero{padding:100px 0 60px}}
.hero-bg{position:absolute;inset:-12% 0;background:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)),url("../img/AdobeStock_772660442.jpeg") center/cover no-repeat;will-change:transform}
.hero-inner{position:relative;z-index:2;will-change:transform,opacity}
.cf-hero h1,.cf-hero p{color:#fff}
.cf-hero h1{margin-bottom:1rem;text-shadow:0 4px 30px rgba(0,0,0,.3)}
.cf-hero p{margin:0 auto 1.8rem;max-width:640px;font-size:clamp(.95rem,.3vw + .9rem,1.02rem)}
.eyebrow-top{display:inline-block;font-size:.7rem;letter-spacing:.26em;text-transform:uppercase;color:rgb(var(--lime));margin-bottom:1.1rem;font-weight:600}
.scroll-cue{position:absolute;z-index:3;bottom:18px;left:50%;transform:translateX(-50%);width:1px;height:46px;background:rgba(255,255,255,.3);overflow:hidden}
.scroll-cue::after{content:"";position:absolute;inset:0;background:rgb(var(--lime));animation:drip 1.8s var(--ease) infinite}
@keyframes drip{from{transform:translateY(-100%)}to{transform:translateY(100%)}}
.seal{position:absolute;z-index:3;right:clamp(16px,4vw,64px);bottom:clamp(20px,6vh,60px);width:clamp(110px,11vw,160px);aspect-ratio:1;pointer-events:none}
.seal svg{width:100%;height:100%;animation:spin 24s linear infinite}
.seal text{fill:#fff;font-family:"DM Sans",sans-serif;font-size:11.5px;letter-spacing:.34em;text-transform:uppercase;font-weight:600}
.seal b{position:absolute;inset:0;z-index:1;display:grid;place-items:center;font-family:var(--serif);font-weight:500;font-size:clamp(2rem,3.4vw,3rem);color:rgb(var(--lime))}
.seal::before{content:"";position:absolute;inset:14%;border-radius:50%;background:rgba(57,71,55,.82);border:1px solid rgba(var(--lime),.7)}
@keyframes spin{to{transform:rotate(360deg)}}

/* ===== reveal ===== */
html.cf-js .rv{opacity:0;transform:translateY(46px);transition:opacity 1s var(--ease),transform 1.1s var(--ease);transition-delay:var(--d,0s)}
html.cf-js .rv.in{opacity:1;transform:none}
.line{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}
html.cf-js .line>span{display:inline-block;transform:translateY(110%);transition:transform 1.1s var(--ease);transition-delay:var(--d,0s)}
html.cf-js .in .line>span{transform:none}


/* feature list */
.feat{list-style:none;padding:0;margin:1.6rem 0 0;display:grid;gap:.85rem}
.feat li{display:flex;align-items:center;gap:.9rem;font-weight:500}
.feat i{flex:none;width:30px;height:30px;border-radius:50%;background:rgb(var(--lime));display:grid;place-items:center}
.feat svg{width:15px;height:15px;stroke:var(--g);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* staggered cards + photo accent */
@media(min-width:992px){.stagger>.col:nth-child(2){margin-top:56px}}
.mini{position:absolute;z-index:3;right:-6px;top:-22px;width:34%;aspect-ratio:1;border-radius:18px;overflow:hidden;border:6px solid #fff;box-shadow:0 20px 40px rgba(13,29,13,.2);animation:bob 6s ease-in-out infinite}
.mini div{position:absolute;inset:-12% 0;background:url("../products/Photo%202025-04-02,%208%2020%2024%20AM.jpg") 60% 65%/cover;will-change:transform}
@keyframes bob{50%{transform:translateY(-8px) rotate(1.5deg)}}
@media(min-width:768px){.mini{right:-24px;top:-30px;width:30%}}

/* ===== ticker ===== */
.ticker{background:rgb(var(--lime));color:var(--g);overflow:hidden;white-space:nowrap;padding:16px 0;border-bottom:1px solid rgba(var(--green),.15)}
.ticker .track{display:inline-flex;animation:marq 40s linear infinite}
.ticker span{font-family:var(--serif);font-weight:400;font-size:clamp(1.15rem,1vw + 1rem,1.9rem);padding-right:2rem;display:inline-flex;align-items:center;gap:2rem}
.ticker span::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--g)}
@keyframes marq{to{transform:translateX(-50%)}}

/* ===== sections ===== */
.sec{padding:clamp(64px,9vw,120px) 0 clamp(36px,5vw,60px)}
.title{max-width:900px;margin:0 auto clamp(36px,5vw,60px);text-align:center}
.kicker{display:inline-block;font-size:.72rem;letter-spacing:.3em;text-transform:uppercase;color:var(--g);opacity:.75;font-weight:600;margin-bottom:1rem}
.title .kicker::before,.title .kicker::after{content:"";display:inline-block;width:28px;height:2px;background:rgb(var(--lime));vertical-align:middle;margin:0 .8rem}
.text-block .kicker::after{content:"";display:inline-block;width:28px;height:2px;background:rgb(var(--lime));vertical-align:middle;margin-left:.8rem}

/* cards */
.section_panel{border:0;border-radius:20px;overflow:hidden;text-align:center;box-shadow:0 3px 30px #00000014;transition:transform .7s var(--ease),box-shadow .7s var(--ease),opacity 1s var(--ease)}
.section_panel:hover{box-shadow:0 30px 60px rgba(13,29,13,.18)}
.panel_img{position:relative;height:clamp(260px,62vw,450px);overflow:hidden}
.panel_img .zoom{position:absolute;inset:0;transition:transform 1.4s var(--ease)}
.panel_img .zoom>div{position:absolute;inset:-10% 0;background-size:cover;background-position:center;will-change:transform}
.section_panel:hover .zoom{transform:scale(1.07)}
.section_panel .card-body{padding:clamp(22px,3vw,30px);display:flex;flex-direction:column;align-items:center}
.section_panel h3{margin-bottom:1rem;color:var(--g)}
.section_panel p{flex:1;margin-bottom:0}
.section_panel .btn-cf{margin-top:1.4rem}

/* stats */
.stats{background:var(--g);color:#fff;margin-top:clamp(36px,5vw,60px);padding:clamp(44px,6vw,60px) 0;position:relative;overflow:hidden}
.stats::before{content:"100";position:absolute;right:-2%;top:50%;transform:translateY(-50%);font-family:var(--serif);font-size:clamp(12rem,32vw,30rem);line-height:1;color:rgba(255,255,255,.05);pointer-events:none}
.stats .row{position:relative}
.stat{text-align:center}
.stat b{display:block;margin-bottom:.9rem;font-family:var(--serif);font-weight:400;font-size:clamp(2.4rem,5vw,4.2rem);line-height:1;color:#fff}
.stat b em{font-style:normal;color:rgb(var(--lime));font-size:.5em;margin-left:.15em}
.stat>span{display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;opacity:.8;line-height:1.5}
@media(min-width:576px){.stat>span{font-size:.8rem}}

/* why choose */
.sec3{padding:clamp(64px,9vw,120px) 0 clamp(36px,5vw,60px)}
.text-block h2{margin-bottom:1rem}
.text-block p{max-width:520px}
.photo{position:relative;margin-right:10px}
.photo .frame{border-radius:20px;overflow:hidden;aspect-ratio:4/3.4;position:relative;box-shadow:0 30px 60px rgba(13,29,13,.15)}
.photo .frame div{position:absolute;inset:-12% 0;background:url("../img/Heritage%20Photos%201.jpg") center/cover;will-change:transform}
.photo::before{content:"";position:absolute;z-index:-1;right:-10px;bottom:-14px;width:70%;height:70%;border-radius:20px;background:rgba(var(--lime),.55);transition:transform .9s var(--ease)}
@media(min-width:768px){.photo{margin-right:0}.photo::before{right:-22px;bottom:-22px}}
.photo:hover::before{transform:translate(10px,10px)}
.caption-tag{position:absolute;left:0;right:0;bottom:0;padding:70px 24px 20px;border-radius:0 0 20px 20px;background:linear-gradient(transparent,rgba(15,25,14,.78));color:#fff;font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;pointer-events:none;display:flex;align-items:center;gap:.9rem}
.caption-tag::before{content:"";width:32px;height:2px;background:rgb(var(--lime));flex:none}
.caption-tag em{font-style:normal;color:rgb(var(--lime))}

/* partners */
.partners{padding:clamp(56px,7vw,96px) 0}
.partners h2{margin-bottom:clamp(36px,5vw,56px)}
.partners img{display:block;margin:0 auto;width:auto;height:auto;max-width:100%;max-height:92px;filter:grayscale(1);opacity:.6;transition:filter .5s,opacity .5s,transform .6s var(--ease)}
.partners img.p-wide{max-width:min(150px,100%)}
.partners img.p-tall{max-height:86px}
@media(hover:hover){.partners img:hover{filter:none;opacity:1;transform:translateY(-6px) scale(1.06)}}


/* ===== header upgrades ===== */
.navbar-nav .nav-link .chev{width:10px;height:10px;margin-left:.3rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.navbar-nav .dropdown:hover .chev,.navbar-nav .dropdown-toggle.show .chev{transform:rotate(180deg)}
.dropdown-menu{padding:8px;min-width:270px}
.dropdown-item{display:block;white-space:normal;padding:.65rem .9rem}
.dropdown-item strong{display:block;font-weight:600;font-size:.95rem;color:var(--g)}
.dropdown-item small{display:block;font-size:.78rem;color:#6b6b6b;margin-top:.1rem}
.nav-sep{width:1px;height:26px;background:rgba(var(--green),.2);margin:0 .6rem}
.btn-nav{white-space:nowrap;min-width:0;min-height:44px;padding:.5rem 1.35rem;font-size:.92rem}
.oc-contact{border-top:1px solid rgba(var(--green),.15);padding-top:1.4rem;display:grid;gap:.15rem}
.oc-label{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;color:var(--g);opacity:.7;margin-bottom:.4rem}
.oc-contact>a{display:flex;align-items:center;gap:.7rem;padding:.55rem 0;font-size:.98rem}
.line-ico{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:991.98px){.offcanvas-body{padding:1.25rem 1.5rem 1.75rem}.navbar-nav .nav-item.mt-3 .btn-nav{width:100%}}

/* ===== footer ===== */
footer{border-top:1px solid #ebebeb;background:#fff;padding-top:clamp(48px,6vw,80px);position:relative}
.foot-main{padding-bottom:clamp(36px,5vw,56px)}
.flogos img{width:auto}
.flogos .f1{width:120px}.flogos .f2{width:150px}
@media(min-width:992px){.flogos .f1{width:105px}.flogos .f2{width:130px}}
@media(min-width:1200px){.flogos .f1{width:135px}.flogos .f2{width:165px}}
@media(min-width:1500px){.flogos .f1{width:150px}.flogos .f2{width:185px}}
.foot-blurb{max-width:380px;font-size:.95rem;color:#555;margin:0 auto 1.2rem}
@media(min-width:576px){.foot-blurb{margin-left:0}}
footer h4{font-size:1.2rem;margin-bottom:1rem;color:var(--g);position:relative;padding-bottom:.7rem}
footer h4::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:2px;background:rgb(var(--lime))}
footer address{font-style:normal;font-size:.95rem;line-height:1.6;margin-bottom:1rem}
.hours-label{font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:var(--g);opacity:.65;margin-bottom:.35rem}
.hours{display:grid;grid-template-columns:auto 1fr;gap:.3rem 1rem;font-size:.92rem;margin:0 0 .9rem}
.hours dt{font-weight:600;color:var(--g)}
.hours dd{margin:0}
.note{font-size:.82rem;color:#6b6b6b;margin:0;font-style:italic}
.foot-contact,.foot-links{list-style:none;padding:0;margin:0}
.foot-contact{display:grid;gap:.1rem;margin-bottom:1rem}
.foot-contact a{display:inline-flex;align-items:center;gap:.7rem;padding:.4rem 0;font-size:.95rem;transition:color .3s}
.foot-contact a:hover,.foot-links a:hover{color:var(--g)}
.foot-links a{display:inline-block;padding:.32rem 0;font-size:.95rem;position:relative;transition:padding .35s var(--ease),color .3s}
.foot-links a::before{content:"";position:absolute;left:0;top:50%;width:0;height:2px;background:rgb(var(--lime));transition:width .35s var(--ease)}
.foot-links a:hover{padding-left:20px}
.foot-links a:hover::before{width:12px}
.foot-social a{width:42px;height:42px;border:1px solid rgba(var(--green),.25);border-radius:50%;transition:background .35s,border-color .35s}
.foot-social a:hover{background:var(--g);border-color:var(--g)}
.foot-social a:hover svg{fill:#fff;transform:none}
.copy_item{background:var(--g);padding:14px 0 calc(14px + env(safe-area-inset-bottom))}
.copy_item p{margin:0;font-size:14px;color:#fff;line-height:1.5;text-align:center}
.copy_item p a,.copy_item p a:hover{color:#fff;text-decoration:none}
.copy_item p a{transition:opacity .3s}
.copy_item p a:hover{opacity:.75}
@media(max-width:575.98px){.foot-main{text-align:center}.foot-main h4::after{left:50%;transform:translateX(-50%)}.hours{justify-content:center}.foot-contact a{justify-content:center}.foot-contact{justify-items:center}.foot-links{display:grid;justify-items:center}}

/* narrow desktops: keep the whole menu on one line */
@media(min-width:992px) and (max-width:1199.98px){
  .logos .l1,#hdr.scrolled .logos .l1{width:104px}
  .logos .l2,#hdr.scrolled .logos .l2{width:122px}
  .navbar-nav .nav-link{font-size:.88rem;padding-left:.5rem;padding-right:.5rem}
  .navbar-nav .nav-link::after{left:.5rem;right:.5rem}
  .navbar-nav .nav-item.social,.navbar-nav .nav-sep{display:none!important}
}

/* back to top */
.totop{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:50px;height:50px;border-radius:50%;background:#fff;border:0;box-shadow:0 10px 30px rgba(13,29,13,.2);cursor:pointer;z-index:1000;opacity:0;transform:translateY(20px) scale(.8);pointer-events:none;transition:all .5s var(--ease);padding:0}
.totop.show{opacity:1;transform:none;pointer-events:auto}
.totop svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.totop circle{fill:none;stroke-width:3}
.totop .ring-bg{stroke:rgba(var(--green),.12)}
.totop .ring-fg{stroke:var(--g);stroke-linecap:round;stroke-dasharray:151;stroke-dashoffset:151}
.totop span{position:absolute;inset:0;display:grid;place-items:center;color:var(--g);font-size:1.15rem}
@media(min-width:768px){.totop{width:54px;height:54px}}

/* small phones: lighter motion, tighter type */
@media(max-width:575.98px){
  .announce{font-size:.74rem;padding:7px 40px}
  .eyebrow-top{letter-spacing:.18em;font-size:.66rem}
  .hero-inner .btn-cf{width:100%}
  .caption-tag{font-size:.66rem;letter-spacing:.14em;padding:56px 18px 16px}
  .ticker{padding:12px 0}
}
@media(max-width:767.98px){.seal{display:none}}
@media(max-width:575.98px){
  .cf-hero h1{text-wrap:balance}
  .line{display:inline;overflow:visible;padding:0;margin:0}
  html.cf-js .line>span{display:inline;transform:none;opacity:0;transition:opacity 1s var(--ease);transition-delay:var(--d,0s)}
  html.cf-js .in .line>span{opacity:1}
}
@media(max-height:520px) and (orientation:landscape){.cf-hero{height:auto;padding:120px 0 70px}.scroll-cue,.seal{display:none}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01s!important}
  .rv,.line>span{opacity:1;transform:none}
}
/* ===== header over the photo (home) / solid green (scrolled + interior pages) ===== */
:root{--deep:29,51,34}
.navbar.cf-nav{background:linear-gradient(180deg,rgba(var(--deep),.92) 0%,rgba(var(--deep),.6) 65%,rgba(var(--deep),0) 100%);box-shadow:none;transition:padding .5s var(--ease),box-shadow .35s}
#hdr.scrolled .cf-nav,#hdr.solid .cf-nav{background:rgb(var(--deep));box-shadow:0 10px 30px rgba(0,0,0,.25)}
.cf-nav>.wide{position:relative}
.cf-nav>.wide::after{content:"";position:absolute;left:4%;right:4%;bottom:-8px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45) 12%,rgba(255,255,255,.45) 88%,transparent);transition:opacity .35s}
#hdr.scrolled .cf-nav>.wide::after,#hdr.solid .cf-nav>.wide::after{opacity:0}
.logos{gap:1.4rem}
.logos .l1{filter:drop-shadow(0 6px 14px rgba(0,0,0,.4))}
.logos .sun-logo{position:relative}
.logos .sun-logo::before{content:"";position:absolute;left:-.7rem;top:2%;bottom:2%;width:1px;background:rgba(255,255,255,.35)}
.navbar-toggler-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-width='2.2' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E")}
@media(min-width:992px){
  .navbar-nav .nav-link,.navbar-nav .nav-link.active,.navbar-nav .nav-link:hover,.navbar-nav .nav-link.show{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.35)}
  .navbar .social svg{fill:#fff}
  .navbar .social a:hover svg{fill:rgb(var(--lime))}
  .nav-sep{background:rgba(255,255,255,.35)}
  .btn-nav{--bs-btn-bg:transparent;--bs-btn-border-color:rgba(255,255,255,.7);--bs-btn-hover-border-color:#fff}
}
/* Sunvine logo (supplied artwork, embedded once and reused in header + footer) */
.sun-logo{display:block;flex:none;aspect-ratio:2000/711;background:url("../img/sunvine-logo.webp") center/contain no-repeat}
.flogos .f2.sun-logo{height:auto}

/* =====================================================================
   PART 2 - WordPress fixes and interior pages
   ===================================================================== */

/* ---------- reset leftovers from custom.css ---------- */
body,p,input,textarea,button,select,.table{font-family:"DM Sans",system-ui,sans-serif}
h1,h2,h3,h4,h5,
.header_chart .label,#mobile_toggle strong{font-family:var(--serif);color:var(--g)}
h5{font-weight:500}
img{height:auto}
a{transition:color .3s ease,background-color .3s ease,border-color .3s ease,opacity .3s ease}
#hdr{z-index:1030}
.navbar-brand.logos img{width:auto}
.logos .l1{width:84px!important}
@media(min-width:576px){.logos .l1{width:110px!important}}
@media(min-width:992px){.logos .l1{width:clamp(130px,13vw,190px)!important}#hdr.scrolled .logos .l1{width:110px!important}}
@media(min-width:992px) and (max-width:1199.98px){.logos .l1,#hdr.scrolled .logos .l1{width:104px!important}}
footer{margin:0}
footer .flogos img{margin:0}
footer .flogos .f1{max-width:none}
footer .copy_item{margin-top:0;padding:14px 0 calc(14px + env(safe-area-inset-bottom))}
.partners img{width:auto}

/* WordPress admin bar */
.admin-bar #hdr{top:32px}
@media(max-width:782px){.admin-bar #hdr{top:46px}.admin-bar .offcanvas{top:46px}}

/* menu items generated by wp_nav_menu */
.navbar-nav .current-menu-item>.nav-link::after,
.navbar-nav .current-menu-ancestor>.nav-link::after{transform:scaleX(1)}
.navbar-nav .dropdown-item.active,.navbar-nav .dropdown-item:active{background:rgba(var(--lime),.35);color:var(--g)}

/* ---------- interior page frame ---------- */
.cf-interior .cf-main>section:first-of-type{margin-top:clamp(44px,6vw,90px)!important}
.cf-interior .cf-main{min-height:55vh;overflow-x:clip}
.cf-interior .cf-main h1{font-size:clamp(2rem,3.4vw + .8rem,3.5rem);margin-bottom:1.1rem}
.cf-interior .cf-main h2{margin-bottom:1rem}
.cf-interior .cf-main h1::after,
.default_section_title h2::after,
.default_section_title_3 h2::after,
.stacked_title h2::after{content:"";display:block;width:44px;height:3px;border-radius:3px;background:rgb(var(--lime));margin-top:.7rem}
.default_section_title h2::after,.default_section_title_3 h1::after,.default_section_title_3 h2::after{margin-left:auto;margin-right:auto}
.cf-interior .cf-main .sticky-title h2::after{content:none}
.default_section_title_3 p{margin-top:.5rem}

/* ---------- one button style everywhere ---------- */
body .cf-main .btn_items a.btn_1,
body .cf-main .btn_items a.btn_2,
body .cf-main .section_panel .section_panel_details a,
body .cf-main .default_section_title_2 a,
body .cf-main .default_section_title_3 a,
body .cf-main .btn_bottom_section a,
body .cf-main .section_1_contact input[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;min-width:135px;min-height:50px;height:auto;width:auto;
  margin-left:0;margin-right:0;padding:.7rem 1.5rem;border:1px solid var(--g);border-radius:7.5px;
  background:var(--g);color:#fff;font-weight:500;line-height:1.4;text-decoration:none;cursor:pointer;
  transition:color .3s ease,background-color .3s ease}
body .cf-main .btn_items a.btn_1:hover,
body .cf-main .btn_items a.btn_2:hover,
body .cf-main .section_panel .section_panel_details a:hover,
body .cf-main .default_section_title_2 a:hover,
body .cf-main .default_section_title_3 a:hover,
body .cf-main .btn_bottom_section a:hover,
body .cf-main .section_1_contact input[type="submit"]:hover{background:#fff;color:var(--g)}
body .cf-main .btn_items{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}
body .cf-main .default_section_title_2 a,body .cf-main .default_section_title_3 a{margin-top:1.4rem}
@media(max-width:575.98px){
  body .cf-main .btn_items a,body .cf-main .section_1_contact input[type="submit"]{width:100%}
}

/* ---------- photos in split sections ---------- */
.cf-main .section_2_about .col-md-6>img,
.cf-main .section_3 .col-md-6>img,
.cf-main .section_1_about .col-md-6>img{border-radius:20px;box-shadow:0 30px 60px rgba(13,29,13,.15)}
.cf-main .section_2_about .col-md-6:has(>img),
.cf-main .section_3 .col-md-6:has(>img),
.cf-main .section_1_about .col-md-6:has(>img){position:relative;isolation:isolate}
.cf-main .section_2_about .col-md-6>img:only-child,
.cf-main .section_3 .col-md-6>img:only-child{position:relative}
@media(min-width:768px){
  .cf-main .section_2_about .col-md-6:has(>img:only-child)::before,
  .cf-main .section_3 .col-md-6:has(>img:only-child)::before,
  .cf-main .section_1_about .col-md-6:has(>img:only-child)::before{
    content:"";position:absolute;z-index:-1;right:-10px;bottom:-18px;width:68%;height:68%;border-radius:20px;background:rgba(var(--lime),.55)}
}
.cf-main .content_w_logo img{max-width:420px;width:100%}

/* ---------- cards (no lift on hover, photo zoom only) ---------- */
.cf-main .section_panel{border-radius:20px;box-shadow:0 3px 30px #00000014;background:#fff;transition:box-shadow .5s ease,opacity 1s var(--ease),transform 1.1s var(--ease)}
.cf-main .section_panel:hover{box-shadow:0 30px 60px rgba(13,29,13,.18)}
.cf-zoom{overflow:hidden;display:block}
.cf-zoom>img{display:block;width:100%;transition:transform 1.4s var(--ease)}
.section_panel:hover .cf-zoom>img{transform:scale(1.07)}
.cf-main .section_panel .section_panel_details h3{font-size:clamp(1.25rem,1vw + .95rem,1.45rem)}
.cf-main .section_team_1 .section_panel img{height:auto;aspect-ratio:4/5;object-fit:cover;object-position:top center}
.cf-main .section_team_1 .section_panel .section_panel_details{padding:20px}
.cf-main .section_team_1 .section_panel p{color:#6b6b6b;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase}

/* ---------- product grid ---------- */
.cf-main .product_panel{border-radius:20px;box-shadow:0 3px 30px #00000014;background-color:#fff;transition:box-shadow .5s ease,background-size .8s var(--ease)}
.cf-main .product_loop a:hover .product_panel{box-shadow:0 24px 48px rgba(13,29,13,.18);background-size:99% auto!important}
.cf-main .product_loop h3{font-size:1.25rem;margin-top:.4rem}

/* products carousel */
.cf-main .owl-products{border-radius:20px;overflow:hidden;box-shadow:0 30px 60px rgba(13,29,13,.15)}
.cf-main .owl-products img{width:100%;height:450px}
.cf-main .owl-theme .owl-dots{display:none}

/* single product */
.cf-main .serving_con .table{border-radius:12px;overflow:hidden;box-shadow:0 3px 30px #00000014}
.cf-main .serving_con th{background:var(--g);color:#fff}
.cf-main .section_3 .col-md-11>img{border-radius:20px;box-shadow:0 30px 60px rgba(13,29,13,.15)}

/* ---------- seasonal availability ---------- */
.cf-main .seasonal_graphs .produce-buttons button{border:1px solid rgba(var(--green),.25);background:#fff;color:var(--g);border-radius:7.5px;font-weight:500;min-height:44px;transition:background-color .3s,color .3s}
.cf-main .seasonal_graphs .produce-buttons button:hover,
.cf-main .seasonal_graphs .produce-buttons button.active{background:var(--g);color:#fff}
.cf-main .seasonal_graphs .available{background:var(--g);border-radius:8px}
.cf-main .seasonal_graphs .not-available{background:rgba(var(--lime),.35);border-radius:8px}
.cf-main .seasonal_graphs .header-cell{color:var(--g)}
.cf-main .seasonal_graphs .chart_responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cf-main .availability-chart th{background:var(--g)}
.cf-main .availability-chart .month-available{background:rgb(var(--lime))}

/* ---------- history timeline ---------- */
/* Bootstrap 5 columns are no longer position:relative, so give the vertical lines their own anchor */
.cf-main .timeline,.cf-main .timeline ul{position:relative}
.cf-main .timeline{padding-top:10px;padding-bottom:0}
.cf-main .timeline ul{margin-bottom:0}
.cf-main .timeline ul li:last-child .padding-bottom-60{padding-bottom:0!important}
.cf-main .timeline .default-line,.cf-main .timeline .draw-line{top:0}
.cf-main .timeline .draw-line{background:var(--g)}
.cf-main .timeline ul li.in-view::before{background:var(--g);box-shadow:0 0 0 7px rgba(var(--lime),.55)}
.cf-main .timeline ul li.cf-show div.infographic_item{transform:none;visibility:visible;opacity:1}
/* each year glides down beside its entry: the label column spans the entry and the year sticks below the header */
.cf-main.cf-main .infographic_over{overflow:visible;overflow:clip}
@media(min-width:768px){
  .cf-main .timeline ul li div.sticky-title{top:0;bottom:60px;transition:none}
  .cf-main .timeline ul li:last-child div.sticky-title{bottom:0}
  .cf-main .timeline ul li div.sticky-title h2{position:sticky;top:var(--cf-stick,180px);margin:0}
}
.cf-main .img_border img{border-radius:20px;box-shadow:0 20px 40px rgba(13,29,13,.14)}
@media(max-width:767.98px){
  .cf-main .timeline{padding:6px 0 0}
  .cf-main .timeline .default-line,.cf-main .timeline .draw-line{left:5px}
  .cf-main .timeline ul li{width:auto;margin:0;padding:0 0 0 32px}
  .cf-main .timeline ul li::before,.cf-main .timeline ul li.in-view::before{left:7px;top:6px;width:14px;height:14px;margin:0}
  .cf-main .timeline ul li.in-view::before{box-shadow:0 0 0 4px rgba(var(--lime),.55)}
  .cf-main .timeline ul li div.sticky-title,
  .cf-main .timeline ul li:nth-child(odd) div.sticky-title,
  .cf-main .timeline ul li:nth-child(even) div.sticky-title{position:static;left:0;width:auto;padding:0;transform:none!important}
  .cf-main .timeline ul li div.infographic_item,
  .cf-main .timeline ul li:nth-child(odd) div.infographic_item,
  .cf-main .timeline ul li:nth-child(even) div.infographic_item{left:0;width:auto;padding:8px 0 0;transform:none;opacity:1;visibility:visible}
  .cf-main .timeline .infographic_item .container-fluid{padding-left:0;padding-right:0}
}

/* ---------- contact ---------- */
.cf-main .section_1_contact input:not([type="submit"]),
.cf-main .section_1_contact textarea,
.cf-main .section_1_contact select{border:1px solid rgba(var(--green),.25);border-radius:7.5px;padding:.6rem .9rem;background:#fff}
.cf-main .section_1_contact input:not([type="submit"]):focus,
.cf-main .section_1_contact textarea:focus{outline:0;border-color:var(--g);box-shadow:0 0 0 4px rgba(var(--lime),.45)}
.cf-main .section_1_contact .l_contact_1>.row>div{background:#fff;border-radius:20px;box-shadow:0 3px 30px #00000014;padding:clamp(20px,3vw,34px)}
.cf-main .section_1_contact .r_contact_1 h3{font-size:1.3rem;position:relative;padding-bottom:.7rem}
.cf-main .section_1_contact .r_contact_1 h3::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:2px;background:rgb(var(--lime))}
.cf-main .section_1_contact .r_contact_1 a{text-decoration-color:rgb(var(--lime));text-underline-offset:4px}

@media(max-width:767.98px){
  .cf-main h1,.cf-main h2,.cf-main h3{line-height:1.18}
}

/* mobile menu must sit above Bootstrap's dimmed backdrop */
#hdr:has(.offcanvas.show),#hdr:has(.offcanvas.showing),#hdr:has(.offcanvas.hiding){z-index:1046}
.offcanvas-title{font-family:var(--serif);color:var(--g)}

/* keep the footer credit clear of the back-to-top button */
@media(min-width:768px){footer .copy_item>.wide{padding-right:84px!important}}
/* nested column headings (Products page) */
.cf-interior .cf-main .col-md-6 .col-md-6 h2{font-size:clamp(1.3rem,.9vw + 1rem,1.65rem)}

/* footer on inner pages: cancel the old footer rules in custom.css */
footer .copy_item{text-align:start}
footer p{font-family:"DM Sans",system-ui,sans-serif}
.cf-interior footer h4{margin-top:0}

/* ---------- one spacing rhythm on inner pages ---------- */
:root{--cf-sec:clamp(56px,7vw,96px);--cf-head:clamp(28px,3.2vw,44px)}
.cf-interior .cf-main>section{margin-top:0!important;margin-bottom:var(--cf-sec)!important}
.cf-interior .cf-main>section:first-of-type{margin-top:clamp(44px,6vw,80px)!important}
/* a section that is only a heading sits close to the content it introduces */
.cf-interior .cf-main>section.section_1_about:has(+ .section_team_1),
.cf-interior .cf-main>section.section_1_about:has(+ .section_1_seasonal),
.cf-interior .cf-main>section.section_1_about:has(+ .section_1),
.cf-interior .cf-main>section.section_1_about:has(+ .section_2_about),
.cf-interior .cf-main>section.section_1_about:has(+ .section_1_contact){margin-bottom:var(--cf-head)!important}
.cf-interior .cf-main .default_section_title.margin-bottom-60{margin-bottom:var(--cf-head)!important}
.cf-interior .cf-main>section.section_1_about .default_section_title{margin-bottom:0!important}
.cf-interior .cf-main>section.section_1_about .m-btm-30{margin-bottom:0}
.cf-interior .cf-main .stacked_title p,
.cf-interior .cf-main .default_section_title_2 p{margin-bottom:0}
.cf-interior .cf-main .section_panel{margin-bottom:0;height:100%}
/* the last row of cards already has 30px under it */
.cf-interior .cf-main>section.section_team_1{margin-bottom:calc(var(--cf-sec) - 30px)!important}
.cf-interior .cf-main .product_loop>div{margin-bottom:30px!important}
.cf-interior .cf-main>section.section_1:has(.product_loop){margin-bottom:calc(var(--cf-sec) - 30px)!important}

/* ---------- small alignment fixes ---------- */
.cf-main .section_2_about .col-md-6>img,.cf-main .section_3 .col-md-6>img,.cf-main .section_1_about .col-md-6>img{border-radius:20px!important}
.cf-main .section_1_contact .l_contact_1>.row{margin-left:0;margin-right:0}
body .cf-main .col-md-6 .col-md-6 .btn_items a.btn_1{padding:.6rem .9rem;font-size:.9rem;text-align:center}

/* Products intro: no extra space under the two columns on desktop */
@media(min-width:768px){.cf-interior .cf-main .section_2_about .margin-top-30>.margin-bottom-30{margin-bottom:0!important}}

/* phones: keep the back-to-top button off the copyright lines */
@media(max-width:767.98px){footer .copy_item{padding-bottom:calc(78px + env(safe-area-inset-bottom))}}

/* phones: space between stacked text panels (About page "Quality and Safety") */
@media(max-width:767.98px){
  .cf-interior .cf-main .section_1 .row>.col-md-4:not(:last-child){margin-bottom:20px}
}

/* phones: tighter inner-page layouts */
@media(max-width:767.98px){
  /* product grid and team: two per row instead of one very tall column */
  .cf-interior .cf-main .product_loop>div{width:50%}
  .cf-interior .cf-main .product_loop>div{margin-bottom:22px!important}
  .cf-main .product_loop h3{font-size:1.02rem;line-height:1.3}
  .cf-main .section_team_1 .row .col-md-3{width:50%;padding-left:.45rem;padding-right:.45rem}
  .cf-main .section_team_1 .margin-bottom-30{margin-bottom:.9rem!important}
  .cf-main .section_team_1 .section_panel .section_panel_details{padding:14px 8px 16px}
  .cf-main .section_team_1 .section_panel h3{font-size:1rem;line-height:1.3}
  .cf-main .section_team_1 .section_panel p{font-size:.66rem;letter-spacing:.12em}
  /* Sunvine intro logo */
  .cf-main .content_w_logo img{max-width:260px;margin-bottom:20px}
  /* seasonal chart: narrower, with the country names staying in view while swiping */
  .cf-main .seasonal_graphs .availability-table{min-width:620px}
  .cf-main .seasonal_graphs .region-cell{display:table-cell;vertical-align:middle;box-shadow:0 0 0 3px #fff;position:sticky;left:0;z-index:1;background:#fff;width:88px;font-size:.8rem;text-align:left;padding-right:8px}
  .cf-main .seasonal_graphs .header-row .header-cell:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:0 0 0 3px #fff}
  .cf-main .seasonal_graphs .cell,.cf-main .seasonal_graphs .header-cell{width:42px;font-size:.75rem}
  .cf-main .seasonal_graphs .produce-buttons button{padding:8px 12px;font-size:.84rem;margin:0 4px 8px 0}
  .cf-main .seasonal_graphs .produce-buttons{margin-bottom:16px}
}
/* small phones: page buttons run full width, matching the home page */
@media(max-width:575.98px){
  body .cf-main .btn_items>a.btn_1,
  body .cf-main .btn_items>a.btn_2,
  body .cf-main .section_panel .section_panel_details .btn_items a,
  body .cf-main .default_section_title_3 a{width:100%}
}
