/* FRONTELIER V086.499 – unified navigation for all public customer pages.
   This is intentionally loaded last to override legacy page/viewport header rules. */
:root{--frontelier-global-header-height:76px}
html{scroll-padding-top:calc(var(--frontelier-global-header-height) + 14px)}
.frontelier-header-placeholder{display:block!important;height:var(--frontelier-global-header-height)!important;min-height:var(--frontelier-global-header-height)!important;flex:0 0 auto!important}
body>.site-header.frontelier-global-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;min-width:0!important;height:var(--frontelier-global-header-height)!important;min-height:var(--frontelier-global-header-height)!important;
  z-index:120!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:clamp(12px,1.4vw,23px)!important;
  padding:0 max(22px,calc((100vw - 1280px)/2))!important;
  margin:0!important;border:0!important;border-bottom:1px solid rgba(20,37,29,.1)!important;
  border-radius:0!important;box-shadow:0 2px 15px rgba(10,30,20,.045)!important;
  background:rgba(247,245,239,.985)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
  color:#14251d!important;box-sizing:border-box!important;overflow:visible!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;line-height:1.25!important;
}
body>.frontelier-global-header .frontelier-global-brand{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:11px!important;
  width:auto!important;margin:0!important;padding:0!important;color:#14251d!important;text-decoration:none!important;
  white-space:nowrap!important;line-height:1!important;
}
body>.frontelier-global-header .frontelier-global-brand .brand-mark,
body>.frontelier-global-header .frontelier-global-brand .brand-mark img{
  width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;
  margin:0!important;padding:0!important;display:block!important;flex:0 0 38px!important;
  background:transparent!important;border:0!important;box-shadow:none!important;object-fit:contain!important;
}
body>.frontelier-global-header .frontelier-brand-label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;line-height:1!important}
body>.frontelier-global-header .frontelier-brand-label strong{font:800 16px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.095em!important;color:#14251d!important;margin:0!important}
body>.frontelier-global-header .frontelier-brand-label small{display:block!important;font:500 8px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#56645c!important;margin:0!important}
body>.frontelier-global-header>.frontelier-primary-nav{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:1 1 auto!important;min-width:0!important;gap:clamp(10px,1.28vw,21px)!important;
  padding:0!important;margin:0 0 0 auto!important;white-space:nowrap!important;
}
body>.frontelier-global-header>.frontelier-primary-nav a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  padding:8px 0!important;margin:0!important;background:transparent!important;border:0!important;
  color:#14251d!important;text-decoration:none!important;white-space:nowrap!important;
  font:750 clamp(11px,.91vw,12.5px)/1.3 Inter,ui-sans-serif,system-ui,sans-serif!important;
}
body>.frontelier-global-header>.frontelier-primary-nav a[aria-current="page"]{text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:6px!important}
body>.frontelier-global-header>.frontelier-primary-nav a:hover{color:#006347!important}
body>.frontelier-global-header>.frontelier-global-cta{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  padding:12px 18px!important;min-height:42px!important;margin:0!important;
  background:#14251d!important;color:#fff!important;border-radius:999px!important;border:0!important;
  font:800 12.5px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;
}
body>.frontelier-global-header a:focus-visible,body>.frontelier-global-header button:focus-visible{outline:3px solid #99cf4a!important;outline-offset:3px!important}
body>.frontelier-global-header>.frontelier-nav-toggle{display:none!important}
body>.frontelier-global-header>.frontelier-mobile-nav{display:none!important}
body>.frontelier-global-header .frontelier-nav-toggle-icon{display:grid;gap:3px;width:17px}
body>.frontelier-global-header .frontelier-nav-toggle-icon i{display:block;background:currentColor;height:2px;border-radius:5px;transition:transform .15s,opacity .15s}
/* Planner edit bar is independent and must sit under the fixed brand header. */
body>.planner-workspace-bar.topbar{top:var(--frontelier-global-header-height)!important}
@media(max-width:1360px){
  body>.frontelier-global-header>.frontelier-primary-nav,body>.frontelier-global-header>.frontelier-global-cta{display:none!important}
  body>.frontelier-global-header>.frontelier-nav-toggle{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex:0 0 auto!important;
    margin:0 0 0 auto!important;padding:10px 15px!important;min-height:42px!important;
    background:#fff!important;color:#14251d!important;border:1px solid #d6ded5!important;
    border-radius:999px!important;box-shadow:none!important;cursor:pointer!important;
    font:750 13px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;
  }
  body>.frontelier-global-header>.frontelier-mobile-nav.is-open{
    display:grid!important;position:absolute!important;top:calc(100% + 7px)!important;left:auto!important;right:18px!important;
    width:min(400px,calc(100vw - 36px))!important;max-height:calc(100dvh - var(--frontelier-global-header-height) - 24px)!important;
    overflow-y:auto!important;overscroll-behavior:contain!important;
    grid-template-columns:minmax(0,1fr)!important;gap:3px!important;
    padding:12px!important;margin:0!important;background:#fff!important;
    border:1px solid #d9dfd7!important;border-radius:15px!important;
    box-shadow:0 20px 60px rgba(10,27,17,.2)!important;z-index:125!important;
  }
  body>.frontelier-global-header>.frontelier-mobile-nav a{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;min-height:44px!important;padding:10px 13px!important;margin:0!important;
    border:0!important;border-radius:9px!important;background:transparent!important;
    color:#14251d!important;text-decoration:none!important;
    font:750 13px/1.3 Inter,ui-sans-serif,system-ui,sans-serif!important;
  }
  body>.frontelier-global-header>.frontelier-mobile-nav a:hover,body>.frontelier-global-header>.frontelier-mobile-nav a:focus-visible{background:#f1f5ef!important}
  body>.frontelier-global-header>.frontelier-mobile-nav .frontelier-nav-primary{margin-top:5px!important;background:#14251d!important;color:#fff!important;justify-content:center!important}
  body>.frontelier-global-header>.frontelier-nav-toggle[aria-expanded="true"] .frontelier-nav-toggle-icon i:first-child{transform:translateY(5px) rotate(45deg)}
  body>.frontelier-global-header>.frontelier-nav-toggle[aria-expanded="true"] .frontelier-nav-toggle-icon i:nth-child(2){opacity:0}
  body>.frontelier-global-header>.frontelier-nav-toggle[aria-expanded="true"] .frontelier-nav-toggle-icon i:last-child{transform:translateY(-5px) rotate(-45deg)}
}
@media(max-width:760px){
  :root{--frontelier-global-header-height:62px}
  body>.site-header.frontelier-global-header{padding:0 15px!important;gap:8px!important}
  body>.frontelier-global-header .frontelier-global-brand{gap:9px!important}
  body>.frontelier-global-header .frontelier-global-brand .brand-mark,
  body>.frontelier-global-header .frontelier-global-brand .brand-mark img{width:33px!important;height:33px!important;max-width:33px!important;max-height:33px!important;flex-basis:33px!important}
  body>.frontelier-global-header .frontelier-brand-label strong{font-size:14px!important}
  body>.frontelier-global-header .frontelier-brand-label small{font-size:7px!important}
  body>.frontelier-global-header>.frontelier-nav-toggle{min-height:38px!important;padding:8px 12px!important;font-size:12px!important}
  body>.frontelier-global-header>.frontelier-mobile-nav.is-open{right:10px!important;width:calc(100vw - 20px)!important}
}
/* Embedded planner and production-print outputs must remain isolated from shop chrome. */
html.embedded body>.site-header.frontelier-global-header,
html.embedded body>.frontelier-header-placeholder,
body.embedded>.site-header.frontelier-global-header,
body.embedded>.frontelier-header-placeholder{display:none!important}
@media print{
  body>.site-header.frontelier-global-header,
  body>.frontelier-header-placeholder{display:none!important}
}

/* V086.520: Stable, legible navigation typography without an unavailable Inter webfont.
   Typography-only adjustment: spacing, sizes, colors and layout mechanisms untouched. */
body>.site-header.frontelier-global-header{font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important}
body>.frontelier-global-header .frontelier-brand-label strong{font:700 16px/1.05 Arial,Helvetica,sans-serif!important;letter-spacing:.085em!important}
body>.frontelier-global-header .frontelier-brand-label small{font:400 8px/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:.15em!important}
body>.frontelier-global-header>.frontelier-primary-nav a{font:600 clamp(12px,.95vw,14px)/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:-.005em!important}
body>.frontelier-global-header>.frontelier-global-cta{font:700 13.5px/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:0!important}
body>.frontelier-global-header>.frontelier-nav-toggle{font-family:Arial,Helvetica,sans-serif!important;font-weight:600!important}
body>.frontelier-global-header>.frontelier-mobile-nav a{font-family:Arial,Helvetica,sans-serif!important;font-weight:600!important}
@media(max-width:760px){body>.frontelier-global-header .frontelier-brand-label strong{font-size:14px!important}}

/* V086.566 · kundenorientierte Navigation und globaler Auswahlzugang */
body>.frontelier-global-header .frontelier-nav-group{position:relative;display:block;flex:0 0 auto;min-width:0;margin:0;padding:0;border:0;background:none}
body>.frontelier-global-header .frontelier-nav-group>summary{list-style:none;display:flex;align-items:center;gap:5px;cursor:pointer;color:#14251d;font-weight:750;white-space:nowrap}
body>.frontelier-global-header .frontelier-nav-group>summary::-webkit-details-marker,
body>.frontelier-global-header .frontelier-header-cart>summary::-webkit-details-marker{display:none}
body>.frontelier-global-header .frontelier-nav-group>summary:after{content:'⌄';font-size:12px;line-height:1;opacity:.7}
body>.frontelier-global-header>.frontelier-primary-nav .frontelier-nav-group>summary{font-size:clamp(11px,.91vw,12.5px);padding:8px 0;line-height:1.3}
body>.frontelier-global-header .frontelier-nav-submenu{display:grid;gap:3px;position:absolute;top:calc(100% + 12px);left:0;width:240px;padding:9px;border:1px solid #dbe2d9;border-radius:12px;background:#fff;box-shadow:0 16px 38px rgba(17,42,28,.16);z-index:145}
body>.frontelier-global-header .frontelier-nav-submenu a{justify-content:flex-start!important;min-height:38px;padding:9px 11px!important;text-align:left;white-space:normal!important;font-size:12px!important;line-height:1.25!important;border-radius:7px}
body>.frontelier-global-header .frontelier-nav-submenu a:hover{background:#f1f5ef!important}
body>.frontelier-global-header>.frontelier-primary-nav{gap:clamp(9px,1.35vw,20px)!important}
body>.frontelier-global-header .frontelier-header-cart{position:relative;flex:0 0 auto;margin:0}
body>.frontelier-global-header .frontelier-header-cart>summary{position:relative;display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px;border:1px solid #d5ddd4;border-radius:999px;background:#fff;color:#14251d;cursor:pointer;list-style:none}
body>.frontelier-global-header .frontelier-header-cart-count{position:absolute;right:-7px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#d7ff5f;color:#14251d;font:800 11px/1 system-ui,sans-serif}
body>.frontelier-global-header .frontelier-cart-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:145;display:grid;gap:8px;min-width:270px;max-width:calc(100vw - 20px);padding:17px;border:1px solid #d7ded5;border-radius:14px;background:#fff;box-shadow:0 20px 48px rgba(11,32,20,.18)}
body>.frontelier-global-header .frontelier-cart-popover strong{font-size:16px}
body>.frontelier-global-header .frontelier-cart-popover p{margin:0;color:#607169;font-size:12px}
body>.frontelier-global-header .frontelier-cart-popover a{display:block;padding:12px 10px;border-radius:8px;background:#eef3ee;color:#143e2b;text-decoration:none;font-size:13px;font-weight:750}
body>.frontelier-global-header .frontelier-cart-popover a:hover{background:#dceadb}
body>.frontelier-global-header details>summary:focus-visible{outline:3px solid #99cf4a;outline-offset:3px}
@media(max-width:1360px){
 body>.frontelier-global-header>.frontelier-mobile-nav .frontelier-nav-group{width:100%!important}
 body>.frontelier-global-header>.frontelier-mobile-nav .frontelier-nav-group>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 13px;border-radius:9px;font:750 13px/1.3 system-ui,sans-serif;white-space:normal}
 body>.frontelier-global-header>.frontelier-mobile-nav .frontelier-nav-group[open]>summary{background:#f1f5ef}
 body>.frontelier-global-header>.frontelier-mobile-nav .frontelier-nav-submenu{position:static;width:100%;padding:2px 8px 8px 12px;box-shadow:none;border:0;border-radius:0;background:#f9fbf8}
 body>.frontelier-global-header>.frontelier-mobile-nav .frontelier-nav-submenu a{font-size:12px!important;font-weight:650!important;padding:9px 12px!important}
 body>.frontelier-global-header>.frontelier-nav-toggle{margin-left:auto!important}
 body>.frontelier-global-header .frontelier-header-cart{order:4;margin-left:3px}
 body>.frontelier-global-header>.frontelier-nav-toggle{order:3}
}
@media(max-width:760px){
 body>.frontelier-global-header .frontelier-header-cart>summary{min-width:38px;min-height:38px;padding:7px}
 body>.frontelier-global-header .frontelier-cart-popover{right:-3px;min-width:min(310px,calc(100vw - 25px))}
}

/* V086.579 · refined editorial menu. Same destinations, same mobile menu, same animation. */
@media(min-width:1121px){
 body>.frontelier-global-header>.frontelier-primary-nav{gap:0!important;align-items:center!important;margin-left:auto!important}
 body>.frontelier-global-header>.frontelier-primary-nav>a,
 body>.frontelier-global-header>.frontelier-primary-nav>details{position:relative;display:flex;align-items:center;padding:0 clamp(11px,1.15vw,20px)!important;min-height:34px!important;border-right:1px solid rgba(21,46,33,.15)}
 body>.frontelier-global-header>.frontelier-primary-nav>details:last-of-type{border-right:0}
 body>.frontelier-global-header>.frontelier-primary-nav>a,
 body>.frontelier-global-header>.frontelier-primary-nav>details>summary{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(13px,1.02vw,15px)!important;font-weight:500!important;letter-spacing:-.012em!important;color:#173325!important}
 body>.frontelier-global-header>.frontelier-primary-nav>details>summary{gap:8px!important;min-height:34px!important;list-style:none!important}
 body>.frontelier-global-header>.frontelier-primary-nav>details>summary:after{content:""!important;width:6px;height:6px;opacity:.75;transform:rotate(45deg) translateY(-2px);border-right:1.4px solid currentColor;border-bottom:1.4px solid currentColor}
 body>.frontelier-global-header>.frontelier-primary-nav>details[open]>summary:after{transform:rotate(225deg) translateY(-1px)}
 body>.frontelier-global-header>.frontelier-global-cta{margin-left:clamp(12px,1.45vw,23px)!important;background:#0e2f23!important;padding:12px 23px!important;font-size:13.5px!important;font-weight:700!important;border-radius:999px!important;white-space:nowrap}
 body>.frontelier-global-header>.frontelier-primary-nav .frontelier-nav-submenu{top:calc(100% + 12px)!important;min-width:235px}
}
/* V086.580 · understated iPhone navigation, desktop menu and brand animation unchanged. */
@media(max-width:760px){
  body>.site-header.frontelier-global-header{height:60px!important;padding:0 13px!important;gap:7px!important;background:rgba(248,247,242,.97)!important;border-bottom:1px solid rgba(21,47,32,.09)!important}
  body>.frontelier-global-header>.frontelier-nav-toggle{min-height:34px!important;padding:6px 10px!important;border:1px solid rgba(21,47,32,.16)!important;border-radius:999px!important;background:rgba(255,255,255,.78)!important;font-size:11px!important;font-weight:600!important;box-shadow:none!important}
  body>.frontelier-global-header .frontelier-global-brand .brand-mark,
  body>.frontelier-global-header .frontelier-global-brand .brand-mark img{width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;flex-basis:30px!important}
  body>.frontelier-global-header .frontelier-brand-label strong{font-size:13px!important;letter-spacing:.09em!important}
  body>.frontelier-global-header .frontelier-brand-label small{font-size:7px!important}
  body>.frontelier-global-header .frontelier-header-cart>summary{min-width:36px!important;min-height:36px!important;border-color:rgba(21,47,32,.13)!important;box-shadow:none!important}
}

/* V086.641 · winter order notice, separate from the navigation, without overlays. */
:root{--frontelier-seasonal-ribbon-height:0px}
html.frontelier-seasonal-active{--frontelier-seasonal-ribbon-height:36px}
html.frontelier-seasonal-active{scroll-padding-top:calc(var(--frontelier-global-header-height) + var(--frontelier-seasonal-ribbon-height) + 14px)}
html.frontelier-seasonal-active body>.site-header.frontelier-global-header{top:var(--frontelier-seasonal-ribbon-height)!important}
html.frontelier-seasonal-active body>.frontelier-header-placeholder{height:calc(var(--frontelier-global-header-height) + var(--frontelier-seasonal-ribbon-height))!important;min-height:calc(var(--frontelier-global-header-height) + var(--frontelier-seasonal-ribbon-height))!important}
html.frontelier-seasonal-active body>.planner-workspace-bar.topbar{top:calc(var(--frontelier-global-header-height) + var(--frontelier-seasonal-ribbon-height))!important}
.frontelier-seasonal-ribbon{position:fixed;inset:0 0 auto;z-index:121;height:var(--frontelier-seasonal-ribbon-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:18px;padding:4px 16px;text-align:center;background:#153e2d;color:#fff;font:600 12px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.005em}
.frontelier-seasonal-ribbon strong{font-weight:800;color:#e4f39c}
.frontelier-seasonal-ribbon a{color:#fff;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;font-size:11px}
.frontelier-seasonal-ribbon a:focus-visible{outline:2px solid #e4f39c;outline-offset:2px}
@media(max-width:760px){
 html.frontelier-seasonal-active{--frontelier-seasonal-ribbon-height:48px}
 .frontelier-seasonal-ribbon{padding:5px 10px;gap:8px;font-size:11px;line-height:1.4}
 .frontelier-seasonal-ribbon .frontelier-seasonal-region{display:none}
 .frontelier-seasonal-ribbon a{font-size:10px}
}
html.embedded .frontelier-seasonal-ribbon,body.embedded>.frontelier-seasonal-ribbon{display:none!important}
@media print{.frontelier-seasonal-ribbon{display:none!important}}

/* V086.654: a hover bridge prevents accidental closing in the 12px visual gap.
   Only active on desktop pointers; mobile touch accordions remain unchanged. */
@media(min-width:1361px) and (hover:hover) and (pointer:fine){
 body>.frontelier-global-header>.frontelier-primary-nav .frontelier-nav-group[open]::before{
  content:"";position:absolute;left:0;right:0;top:100%;height:14px;z-index:144;
 }
 body>.frontelier-global-header>.frontelier-primary-nav .frontelier-nav-group[open]>summary{color:#006347!important}
}


/* HOTFIX 27: Mobile header flex sizing. Matches the first-paint critical rules on the homepage. */
@media(max-width:760px){
 html{scrollbar-gutter:auto!important}
 :root{--frontelier-global-header-height:62px}
 body>.site-header.frontelier-global-header{height:62px!important;min-height:62px!important;max-width:100vw!important;min-width:0!important;box-sizing:border-box!important;padding:0 clamp(9px,3vw,14px)!important;gap:clamp(4px,1.4vw,9px)!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
 body>.frontelier-global-header .frontelier-global-brand{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;gap:clamp(6px,2vw,9px)!important}
 body>.frontelier-global-header .frontelier-brand-label{min-width:0!important;overflow:hidden!important}
 body>.frontelier-global-header .frontelier-brand-label strong{font-size:clamp(11px,3.4vw,14px)!important;letter-spacing:.06em!important;white-space:nowrap!important;max-width:100%!important}
 body>.frontelier-global-header .frontelier-brand-label small{font-size:7px!important;letter-spacing:.10em!important;white-space:nowrap!important}
 body>.frontelier-global-header>.frontelier-nav-toggle{display:inline-flex!important;visibility:visible!important;flex:0 0 auto!important;margin-left:auto!important;padding:6px 10px!important;min-height:36px!important;min-width:70px!important}
 body>.frontelier-global-header .frontelier-header-cart{display:block!important;visibility:visible!important;flex:0 0 auto!important;order:4!important;margin-left:0!important}
 body>.frontelier-global-header .frontelier-header-cart>summary{min-width:36px!important;min-height:36px!important}
}
@media(max-width:340px){
 body>.site-header.frontelier-global-header{padding-inline:8px!important;gap:4px!important}
 body>.frontelier-global-header>.frontelier-nav-toggle{min-width:62px!important;padding-inline:7px!important}
 body>.frontelier-global-header .frontelier-brand-label strong{font-size:11px!important;letter-spacing:.045em!important}
 body>.frontelier-global-header .frontelier-global-brand .brand-mark,body>.frontelier-global-header .frontelier-global-brand .brand-mark img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;flex-basis:28px!important}
}
