/* BokSmart Features Centre — isolated, high-specificity public layout */
body.boksmart-public-theme .bs-page:has(.bs-features-centre) > .bs-page-hero{display:none!important}
body.boksmart-public-theme .bs-public-page-content:has(.bs-features-centre){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.boksmart-public-theme .bs-public-page-content .bs-features-centre{
  box-sizing:border-box!important;width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;
  margin:0 auto!important;padding:36px 0 80px!important;color:#10263a!important;
}
body.boksmart-public-theme .bs-features-centre *,body.boksmart-public-theme .bs-features-centre *:before,body.boksmart-public-theme .bs-features-centre *:after{box-sizing:border-box!important}
body.boksmart-public-theme .bs-features-centre .bs-features-hero{
  display:block!important;padding:64px clamp(24px,5vw,70px)!important;margin:0 0 30px!important;
  border:1px solid rgba(25,80,130,.13)!important;border-radius:28px!important;
  background:linear-gradient(135deg,#eef8ff 0%,#f9fbff 55%,#edf9f3 100%)!important;
  box-shadow:0 18px 50px rgba(20,64,100,.08)!important;text-align:center!important;overflow:hidden!important;
}
body.boksmart-public-theme .bs-features-centre .bs-eyebrow{display:inline-block!important;margin:0 0 10px!important;color:#1768aa!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.boksmart-public-theme .bs-features-centre .bs-features-hero h1{max-width:930px!important;margin:0 auto 18px!important;color:#0d253b!important;font-size:clamp(2.35rem,5vw,4.35rem)!important;line-height:1.05!important;letter-spacing:-.045em!important;text-align:center!important}
body.boksmart-public-theme .bs-features-centre .bs-features-hero>p{max-width:790px!important;margin:0 auto!important;color:#40566a!important;font-size:clamp(1.05rem,2vw,1.24rem)!important;line-height:1.65!important;text-align:center!important}
body.boksmart-public-theme .bs-features-centre .bs-hero-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important;margin:30px 0 0!important}
body.boksmart-public-theme .bs-features-centre a.bs-feature-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:50px!important;padding:13px 24px!important;border:1px solid #1768aa!important;border-radius:12px!important;background:#1768aa!important;color:#fff!important;font-weight:750!important;line-height:1.2!important;text-decoration:none!important;box-shadow:0 8px 22px rgba(23,104,170,.18)!important;transition:transform .2s ease,box-shadow .2s ease!important}
body.boksmart-public-theme .bs-features-centre a.bs-feature-button:hover{transform:translateY(-2px)!important;box-shadow:0 12px 28px rgba(23,104,170,.24)!important}
body.boksmart-public-theme .bs-features-centre a.bs-feature-button-secondary{border-color:rgba(23,104,170,.25)!important;background:#fff!important;color:#155b94!important;box-shadow:none!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-jump{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex-wrap:wrap!important;margin:0 0 54px!important;padding:0!important;background:transparent!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-jump a{display:inline-flex!important;align-items:center!important;min-height:40px!important;padding:9px 14px!important;border:1px solid rgba(20,75,120,.17)!important;border-radius:999px!important;background:#fff!important;color:#24445f!important;font-size:.92rem!important;font-weight:650!important;line-height:1.2!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(31,73,107,.04)!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-jump a:hover{border-color:#1768aa!important;color:#1768aa!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-section{display:block!important;scroll-margin-top:115px!important;margin:0 0 64px!important;padding:0!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-section>header{display:flex!important;align-items:flex-start!important;gap:17px!important;margin:0 0 24px!important;padding:0!important;background:transparent!important;border:0!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-section>header>div{min-width:0!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-section>header h2{margin:0 0 7px!important;color:#10263a!important;font-size:clamp(1.8rem,3vw,2.55rem)!important;line-height:1.15!important;letter-spacing:-.025em!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-section>header p{max-width:780px!important;margin:0!important;color:#53677a!important;font-size:1.04rem!important;line-height:1.62!important}
body.boksmart-public-theme .bs-features-centre .bs-section-icon{display:grid!important;place-items:center!important;flex:0 0 50px!important;width:50px!important;height:50px!important;margin:0!important;border-radius:15px!important;background:#e8f3fc!important;color:#1768aa!important;font-size:1.35rem!important;font-weight:900!important;line-height:1!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important;margin:0!important;padding:0!important}
body.boksmart-public-theme .bs-features-centre article.bs-feature-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:190px!important;margin:0!important;padding:24px!important;border:1px solid rgba(20,65,105,.13)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 30px rgba(31,73,107,.065)!important}
body.boksmart-public-theme .bs-features-centre article.bs-feature-card h3{margin:0 0 10px!important;color:#132d44!important;font-size:1.15rem!important;line-height:1.3!important}
body.boksmart-public-theme .bs-features-centre article.bs-feature-card p{margin:0!important;color:#506274!important;font-size:.98rem!important;line-height:1.62!important}
body.boksmart-public-theme .bs-features-centre a.bs-feature-link{display:inline-flex!important;align-items:center!important;gap:5px!important;margin:auto 0 0!important;padding-top:17px!important;color:#1768aa!important;font-weight:750!important;text-decoration:none!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-cta{display:block!important;margin:76px 0 0!important;padding:52px 28px!important;border-radius:25px!important;background:#102f49!important;color:#fff!important;text-align:center!important;box-shadow:0 18px 46px rgba(12,45,71,.18)!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-cta h2{margin:0 0 10px!important;color:#fff!important;font-size:clamp(1.75rem,3vw,2.55rem)!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-cta p{max-width:670px!important;margin:0 auto 24px!important;color:#e3edf5!important;font-size:1.06rem!important;line-height:1.6!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-breadcrumb{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;margin:0 0 20px!important;padding:0!important;color:#617487!important;font-size:.92rem!important}
body.boksmart-public-theme .bs-features-centre .bs-feature-breadcrumb a{color:#1768aa!important;text-decoration:none!important}
body.boksmart-public-theme .bs-feature-detail .bs-features-hero{text-align:left!important}
body.boksmart-public-theme .bs-feature-detail .bs-features-hero h1,body.boksmart-public-theme .bs-feature-detail .bs-features-hero>p{text-align:left!important;margin-left:0!important}
body.boksmart-public-theme .bs-feature-detail .bs-hero-actions{justify-content:flex-start!important}
body.boksmart-public-theme .bs-features-centre .bs-detail-highlights{margin:54px 0 64px!important}
body.boksmart-public-theme .bs-features-centre .bs-detail-highlights>h2{margin:0 0 24px!important;color:#10263a!important;text-align:center!important;font-size:clamp(1.75rem,3vw,2.45rem)!important}
body.boksmart-public-theme .bs-features-centre .bs-highlight-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.boksmart-public-theme .bs-features-centre .bs-highlight{display:flex!important;align-items:flex-start!important;gap:13px!important;margin:0!important;padding:21px!important;border:1px solid rgba(20,65,105,.1)!important;border-radius:16px!important;background:#f6fafc!important}
body.boksmart-public-theme .bs-features-centre .bs-highlight span{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#dff3e8!important;color:#176c3d!important;font-weight:900!important}
body.boksmart-public-theme .bs-features-centre .bs-highlight p{margin:2px 0 0!important;color:#263f54!important;font-weight:650!important;line-height:1.5!important}
@media(max-width:920px){body.boksmart-public-theme .bs-features-centre .bs-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){
 body.boksmart-public-theme .bs-public-page-content .bs-features-centre{width:min(100% - 28px,1180px)!important;padding-top:22px!important}
 body.boksmart-public-theme .bs-features-centre .bs-features-hero{padding:40px 21px!important;border-radius:21px!important}
 body.boksmart-public-theme .bs-features-centre .bs-feature-grid,body.boksmart-public-theme .bs-features-centre .bs-highlight-grid{grid-template-columns:1fr!important}
 body.boksmart-public-theme .bs-features-centre .bs-feature-section>header{gap:12px!important}
 body.boksmart-public-theme .bs-features-centre .bs-section-icon{flex-basis:43px!important;width:43px!important;height:43px!important;border-radius:13px!important}
 body.boksmart-public-theme .bs-features-centre article.bs-feature-card{min-height:0!important}
}

/* 3D Odlingsplan capability and limitation panels */
.bs-planner-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 56px;
}
.bs-capability-panel {
  background: #fff;
  border: 1px solid rgba(15, 45, 77, .12);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 18px 45px rgba(15, 45, 77, .07);
}
.bs-capability-panel-positive { background: linear-gradient(145deg, #f5fff1 0%, #ffffff 72%); }
.bs-capability-panel-limit { background: linear-gradient(145deg, #fffaf1 0%, #ffffff 72%); }
.bs-capability-panel h2 { margin: 8px 0 22px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.bs-capability-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.bs-capability-panel li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.bs-capability-panel li > span {
  width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  font-weight: 900; background: #e4f8e8; color: #14763a;
}
.bs-capability-panel-limit li > span { background: #fff0d8; color: #9a5a00; }
.bs-capability-panel li p { margin: 2px 0 0; line-height: 1.6; }
@media (max-width: 820px) { .bs-planner-capabilities { grid-template-columns: 1fr; } }


/* v19: exact feature-page stage for the isolated Småodlare route.
   Keeps legacy page scripts excluded while matching all other feature pages. */
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-page-stage{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  padding:25px 0 80px!important;
  background:
    linear-gradient(180deg,#edf6ff 0,#f3f9ff 175px,#f9fcff 360px,#fff 680px)!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-stage-content{
  position:relative!important;
  z-index:2!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-stage-decoration{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-shape{
  position:absolute!important;
  display:block!important;
  border-radius:50%!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-shape-left{
  width:390px!important;height:390px!important;left:-145px!important;top:-175px!important;
  background:rgba(119,165,244,.32)!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-shape-right{
  width:150px!important;height:150px!important;right:50px!important;top:70px!important;
  background:rgba(132,211,174,.25)!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-dots{
  position:absolute!important;right:34px!important;top:18px!important;width:92px!important;height:68px!important;
  background-image:radial-gradient(circle,#87aef5 2px,transparent 2.5px)!important;
  background-size:20px 20px!important;opacity:.9!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-features-centre{
  padding-top:0!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-features-centre .bs-feature-breadcrumb{
  margin-bottom:30px!important;
}
body.boksmart-public-theme.boksmart-isolated-feature-page .bs-features-centre .bs-features-hero{
  padding:64px clamp(38px,5vw,70px)!important;
  margin-bottom:48px!important;
  background:linear-gradient(135deg,#efffc9 0%,#f6fcf0 34%,#edfaff 66%,#d8f5e8 100%)!important;
  border-color:rgba(102,195,149,.34)!important;
  box-shadow:0 18px 48px rgba(38,89,125,.10)!important;
}
@media(max-width:700px){
 body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-page-stage{padding-top:18px!important}
 body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-shape-left{width:260px!important;height:260px!important;left:-140px!important;top:-100px!important}
 body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-shape-right{width:95px!important;height:95px!important;right:-20px!important;top:110px!important}
 body.boksmart-public-theme.boksmart-isolated-feature-page .bs-feature-dots{right:5px!important;top:15px!important;transform:scale(.75)!important}
 body.boksmart-public-theme.boksmart-isolated-feature-page .bs-features-centre .bs-features-hero{padding:42px 24px!important;margin-bottom:38px!important}
}


/* 3.10.1 — Funktioner hub uses the exact working detail-page hero */
.bs-features-centre.bs-features-hub .bs-features-hero{
  text-align:left!important;
  padding:64px clamp(38px,5vw,70px)!important;
  margin-bottom:48px!important;
  border:1px solid rgba(102,195,149,.34)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#efffc9 0%,#f6fcf0 34%,#edfaff 66%,#d8f5e8 100%)!important;
  box-shadow:0 18px 48px rgba(38,89,125,.10)!important;
}
.bs-features-centre.bs-features-hub .bs-features-hero .bs-eyebrow{display:block!important;margin:0 0 18px!important}
.bs-features-centre.bs-features-hub .bs-feature-title-row{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 12px!important}
.bs-features-centre.bs-features-hub .bs-feature-title-icon{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:10px!important;background:#e8f4ff!important;color:#0872b9!important;font-size:1.12rem!important;line-height:1!important}
.bs-features-centre.bs-features-hub .bs-feature-title-row h1{margin:0!important;text-align:left!important}
.bs-features-centre.bs-features-hub .bs-features-hero>p{margin:0!important;text-align:left!important;max-width:850px!important}
.bs-funktioner-hero-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex-wrap:wrap!important;margin:28px 0 0!important;padding:0!important;background:transparent!important;border:0!important;width:auto!important;height:auto!important}
.bs-funktioner-hero-actions>a.bs-feature-button{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-height:48px!important;margin:0!important;padding:12px 22px!important;cursor:pointer!important}
.bs-funktioner-category-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 54px!important;padding:0!important;background:transparent!important;border:0!important;line-height:1!important}
.bs-funktioner-category-nav>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-height:40px!important;margin:0!important;padding:9px 14px!important;border:1px solid rgba(20,75,120,.17)!important;border-radius:999px!important;background:#fff!important;color:#24445f!important;font-size:.92rem!important;font-weight:650!important;line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:0 4px 14px rgba(31,73,107,.04)!important}
@media(max-width:640px){
 .bs-features-centre.bs-features-hub .bs-features-hero{padding:42px 24px!important;border-radius:21px!important}
 .bs-features-centre.bs-features-hub .bs-feature-title-row{align-items:flex-start!important;gap:11px!important}
 .bs-funktioner-hero-actions{gap:10px!important}
}


/* 3.10.2 — one verified hero component for every /funktioner/ page.
   This is deliberately last in the file so no older patch can override it. */
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero{
  display:block!important;
  position:relative!important;
  width:100%!important;
  margin:0 0 48px!important;
  padding:64px clamp(38px,5vw,70px)!important;
  overflow:hidden!important;
  border:1px solid rgba(102,195,149,.34)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#efffc9 0%,#f6fcf0 34%,#edfaff 66%,#d8f5e8 100%)!important;
  box-shadow:0 18px 48px rgba(38,89,125,.10)!important;
  text-align:left!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-eyebrow{
  display:block!important;
  margin:0 0 18px!important;
  color:#1768aa!important;
  font-size:.78rem!important;
  font-weight:800!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-feature-title-row{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 12px!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-feature-title-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:#e8f4ff!important;
  color:#0872b9!important;
  font-size:1.12rem!important;
  line-height:1!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero h1{
  max-width:930px!important;
  margin:0!important;
  color:#0d253b!important;
  font-size:clamp(2.35rem,5vw,4.35rem)!important;
  line-height:1.05!important;
  letter-spacing:-.045em!important;
  text-align:left!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero>p{
  max-width:850px!important;
  margin:0!important;
  color:#40566a!important;
  font-size:clamp(1.05rem,2vw,1.24rem)!important;
  line-height:1.65!important;
  text-align:left!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-hero-actions,
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-funktioner-hero-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  flex-wrap:wrap!important;
  width:auto!important;
  height:auto!important;
  margin:28px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-hero-actions>a,
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-funktioner-hero-actions>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:48px!important;
  margin:0!important;
  padding:12px 22px!important;
  border:1px solid #1768aa!important;
  border-radius:12px!important;
  background:#1768aa!important;
  color:#fff!important;
  font-weight:750!important;
  line-height:1.2!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(23,104,170,.18)!important;
  cursor:pointer!important;
}
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-hero-actions>a.bs-feature-button-secondary,
body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-funktioner-hero-actions>a.bs-feature-button-secondary{
  border-color:rgba(23,104,170,.25)!important;
  background:#fff!important;
  color:#155b94!important;
  box-shadow:none!important;
}
body.boksmart-public-theme .bs-features-centre .bs-funktioner-category-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:0 0 54px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.boksmart-public-theme .bs-features-centre .bs-funktioner-category-nav>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-height:40px!important;
  margin:0!important;
  padding:9px 14px!important;
  border:1px solid rgba(20,75,120,.17)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#24445f!important;
  font-size:.92rem!important;
  font-weight:650!important;
  line-height:1.2!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
 body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero{padding:42px 24px!important;border-radius:21px!important}
 body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-feature-title-row{align-items:flex-start!important;gap:11px!important}
 body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-hero-actions,
 body.boksmart-public-theme .bs-features-centre .bs-unified-feature-hero .bs-funktioner-hero-actions{gap:12px!important}
}
