/* MSBD 3.5.12.18 — same header metrics on short and long category pages.
   Header layout is defined here once; only normal responsive media variants follow. */
.site-header{background:#fff!important;}
.site-header .header-main.msbd-modern-header,
.site-header .header-main.msbd-modern-header *,
.site-header .header-main.msbd-modern-header *::before,
.site-header .header-main.msbd-modern-header *::after{box-sizing:border-box;}
.site-header .container.header-main.msbd-modern-header{
  display:grid!important;
  grid-template-columns:208px 190px minmax(190px,1fr) auto!important;
  grid-template-areas:"brand cats search actions";
  width:calc(100% - 36px)!important;max-width:1520px!important;
  height:84px!important;min-height:84px!important;max-height:84px!important;
  padding:10px 0!important;margin-inline:auto!important;
  gap:clamp(12px,1.3vw,20px)!important;
  align-items:center!important;justify-content:stretch!important;
  background:#fff!important;overflow:visible!important;
}
.site-header .msbd-modern-header .identity{grid-area:brand;min-width:0!important;max-width:100%;margin:0!important;}
.site-header .msbd-modern-header .brand.yb-user-logo-link{max-width:100%!important;}
/* Categories and search now share EXACTLY the same visible outside dimensions. */
.site-header .msbd-modern-header .msbd-header-categories{grid-area:cats;position:relative;z-index:10010;min-width:0;}
.site-header .msbd-modern-header .msbd-header-categories summary{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;
  padding:0 12px!important;gap:9px!important;
  border:1px solid #dbe7df!important;border-radius:999px!important;
  background:#fff!important;box-shadow:none!important;
  font-family:inherit;font-size:13px!important;font-weight:700!important;line-height:1!important;
  color:#064632!important;white-space:nowrap;cursor:pointer;list-style:none;
  transition:background-color .28s cubic-bezier(.22,1,.36,1),border-color .28s cubic-bezier(.22,1,.36,1);
}
.site-header .msbd-header-categories summary::-webkit-details-marker{display:none;}
.site-header .msbd-header-categories summary::marker{display:none;}
.site-header .msbd-modern-header .msbd-header-categories summary:hover,
.site-header .msbd-modern-header .msbd-header-categories[open] summary{border-color:#bbd2c4!important;background:#f7fbf8!important;}
.site-header .msbd-modern-header .msbd-header-categories summary:focus-visible,
.site-header .msbd-modern-header .msbd-header-account-menu summary:focus-visible{outline:2px solid #167250;outline-offset:2px;}
.site-header .msbd-modern-header .msbd-cat-grid{width:18px!important;height:18px!important;flex:none;display:block;}
.site-header .msbd-modern-header .msbd-cat-chevron{width:16px!important;height:16px!important;flex:none;display:block;transition:transform .28s cubic-bezier(.22,1,.36,1);}
.site-header .msbd-modern-header .msbd-header-categories[open] .msbd-cat-chevron{transform:rotate(180deg);}
.site-header .msbd-modern-header .msbd-header-category-links{
  box-sizing:border-box;position:absolute;z-index:10020;left:0;top:calc(100% + 10px);
  width:max(230px,100%);padding:10px;border-radius:18px;
  border:1px solid #e2ebe3;background:linear-gradient(180deg,#ffffff 0%,#fbfdfb 100%);box-shadow:0 20px 42px rgba(5,44,31,.14),0 4px 12px rgba(5,44,31,.06);
  animation:msbd-header-menu-reveal .24s cubic-bezier(.22,1,.36,1) both;
}
.site-header .msbd-modern-header .msbd-header-category-links::before{content:'';position:absolute;top:-7px;left:26px;width:14px;height:14px;background:#fff;border-top:1px solid #e2ebe3;border-left:1px solid #e2ebe3;transform:rotate(45deg);}
@keyframes msbd-header-menu-reveal{from{opacity:0;transform:translateY(-7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.site-header .msbd-modern-header .msbd-header-category-links a{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:46px;padding:12px 14px;border-radius:14px;
  font-size:14px!important;font-weight:700;line-height:1.25;color:#174331;text-decoration:none;
  background:transparent;box-shadow:inset 0 0 0 1px transparent;
  transition:background-color .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.site-header .msbd-modern-header .msbd-header-category-links a .msbd-cat-link-label{display:block;flex:1 1 auto;min-width:0;}
.site-header .msbd-modern-header .msbd-header-category-links a .msbd-cat-link-arrow{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:28px;height:28px;border-radius:999px;
  background:rgba(0,96,66,.08);color:#006042;font-size:16px;font-weight:700;line-height:1;
  transition:transform .22s ease,background-color .22s ease,color .22s ease,box-shadow .22s ease;
}
.site-header .msbd-modern-header .msbd-header-category-links a:hover,
.site-header .msbd-modern-header .msbd-header-category-links a:focus-visible{color:#006042;background:#edf7f0;transform:translateX(2px);box-shadow:inset 0 0 0 1px rgba(0,96,66,.06);}
.site-header .msbd-modern-header .msbd-header-category-links a:hover .msbd-cat-link-arrow,
.site-header .msbd-modern-header .msbd-header-category-links a:focus-visible .msbd-cat-link-arrow{background:#dff1e5;color:#00543b;box-shadow:0 0 0 1px rgba(0,96,66,.08);transform:translateX(1px);}
.site-header .msbd-modern-header .msbd-header-category-links .msbd-cat-all{margin-top:0;padding-top:12px;color:#006047;}
/* High-specificity wrapper overrides older search-enhanced stylesheet on ALL pages. */
.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search{
  grid-area:search;display:flex!important;position:relative;align-items:center!important;justify-content:stretch!important;
  flex:none!important;width:100%!important;max-width:none!important;min-width:0!important;
  height:50px!important;min-height:50px!important;max-height:50px!important;
  gap:9px!important;margin:0!important;padding:3px 4px 3px 15px!important;
  border:1px solid #dbe7df!important;border-radius:999px!important;background:linear-gradient(180deg,#ffffff 0%,#fcfefd 100%)!important;
  box-shadow:0 4px 14px rgba(10,71,49,.04)!important;overflow:hidden!important;
  transition:background-color .28s cubic-bezier(.22,1,.36,1),border-color .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1),transform .22s ease!important;
}
.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search:hover{
  background:#fff!important;border-color:#b8d1c2!important;box-shadow:0 10px 22px rgba(10,71,49,.08)!important;transform:translateY(-1px)!important;
}
.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search:focus-within{
  border-color:#79af94!important;box-shadow:0 0 0 3px rgba(6,95,65,.08),0 10px 24px rgba(10,71,49,.08)!important;transform:none!important;
}
.site-header .msbd-modern-header .msbd-search-leading{display:inline-flex;align-items:center;justify-content:center;flex:none;width:19px;height:19px;color:#0a593e;}
.site-header .msbd-modern-header .msbd-search-leading .yb-icon{width:19px!important;height:19px!important;stroke-width:2!important;}
.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search #store-query{
  display:block!important;flex:1 1 0!important;min-width:0!important;width:0!important;
  height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;
  color:#164630!important;font-size:13px!important;font-weight:450!important;line-height:1.2!important;
}
.site-header .msbd-modern-header .msbd-modern-search #store-query::placeholder{color:#84968b!important;opacity:1;}
.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search .yb-search-submit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  gap:7px!important;min-width:116px!important;width:auto!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  margin:0!important;padding:0 19px!important;
  border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;background:linear-gradient(180deg,#066146 0%,#004e37 100%)!important;
  box-shadow:0 8px 18px rgba(0,79,55,.18)!important;color:#fff!important;font-size:13px!important;font-weight:700!important;
  line-height:1!important;letter-spacing:0!important;cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease,filter .22s ease!important;
}
.site-header .msbd-modern-header .msbd-modern-search .yb-search-submit:hover{background:linear-gradient(180deg,#0b6f51 0%,#00543c 100%)!important;box-shadow:0 12px 22px rgba(0,79,55,.22)!important;transform:translateY(-1px)!important;filter:saturate(1.05)!important;}
.site-header .msbd-modern-header .msbd-modern-search .yb-search-submit:active{transform:translateY(0)!important;box-shadow:0 5px 12px rgba(0,79,55,.18)!important;}
.site-header .msbd-modern-header .msbd-modern-search .yb-search-submit .yb-icon{width:15px!important;height:15px!important;stroke-width:2!important;color:#fff!important;transition:transform .22s ease!important;}
.site-header .msbd-modern-header .msbd-modern-search .yb-search-submit:hover .yb-icon{transform:translateX(1px)!important;}
/* Account, wishlist and cart */
.site-header .msbd-modern-header .header-actions.msbd-modern-actions{
  grid-area:actions;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  min-width:0!important;flex:none!important;width:auto!important;gap:0!important;padding:0!important;margin:0!important;
}
.site-header .msbd-modern-header .header-actions .yb-action-card{
  position:relative;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:72px!important;height:52px!important;min-height:52px!important;
  gap:5px!important;padding:1px 11px!important;margin:0!important;
  border:0!important;border-left:1px solid #e6ebe6!important;border-radius:14px!important;
  background:transparent!important;box-shadow:none!important;color:#0b4c36!important;text-decoration:none!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;
  transition:color .22s ease,background-color .22s ease,box-shadow .22s ease,transform .22s ease,border-color .22s ease!important;
}
.site-header .msbd-modern-header .header-actions .yb-action-card:hover,
.site-header .msbd-modern-header .header-actions .yb-action-card:focus-visible,
.site-header .msbd-modern-header .msbd-header-account-menu[open] > .yb-action-card{color:#00704d!important;background:linear-gradient(180deg,#f8fcfa 0%,#eef8f1 100%)!important;box-shadow:0 10px 22px rgba(10,71,49,.08)!important;transform:translateY(-1px)!important;}
.site-header .msbd-modern-header .header-actions .yb-action-card .yb-icon{display:block!important;width:25px!important;height:25px!important;stroke-width:1.8!important;transition:transform .22s ease,color .22s ease!important;}
.site-header .msbd-modern-header .header-actions .yb-action-card:hover .yb-icon,
.site-header .msbd-modern-header .header-actions .yb-action-card:focus-visible .yb-icon,
.site-header .msbd-modern-header .msbd-header-account-menu[open] > .yb-action-card .yb-icon{transform:translateY(-1px) scale(1.03)!important;}
.site-header .msbd-modern-header .header-actions .yb-action-card>span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count){display:block!important;font-size:11px!important;font-weight:600!important;line-height:1.1!important;color:#183e2e!important;transition:color .22s ease!important;}
.site-header .msbd-modern-header .header-actions .yb-action-card:hover>span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count),
.site-header .msbd-modern-header .header-actions .yb-action-card:focus-visible>span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count),
.site-header .msbd-modern-header .msbd-header-account-menu[open] > .yb-action-card>span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count){color:#0b5a40!important;}
.site-header .msbd-modern-header .msbd-header-account-menu{position:relative;z-index:10011;flex:none;}
.site-header .msbd-modern-header .msbd-header-account-menu > summary{list-style:none;cursor:pointer;}
.site-header .msbd-header-account-menu > summary::-webkit-details-marker{display:none;}
.site-header .msbd-header-account-menu > summary::marker{display:none;}
.site-header .msbd-modern-header .msbd-header-account-links{
  position:absolute;z-index:10030;top:calc(100% + 10px);right:0;
  min-width:220px;padding:10px;border:1px solid #e2ebe3;border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfb 100%);box-shadow:0 20px 42px rgba(5,42,30,.16),0 4px 12px rgba(5,42,30,.06);
  animation:msbd-header-menu-reveal .24s cubic-bezier(.22,1,.36,1) both;
}
.site-header .msbd-modern-header .msbd-header-account-links::before{content:'';position:absolute;top:-7px;right:24px;width:14px;height:14px;background:#fff;border-top:1px solid #e2ebe3;border-left:1px solid #e2ebe3;transform:rotate(45deg);}
.site-header .msbd-modern-header .msbd-header-account-links a{position:relative;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;color:#16442f;font-size:13px;font-weight:650;text-decoration:none;line-height:1.25;transition:background-color .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease;}
.site-header .msbd-modern-header .msbd-header-account-links a::before{content:'';display:block;flex:none;width:8px;height:8px;border-radius:50%;background:#c7d8ce;box-shadow:0 0 0 4px rgba(199,216,206,.22);}
.site-header .msbd-modern-header .msbd-header-account-links a:hover,.site-header .msbd-modern-header .msbd-header-account-links a:focus-visible{background:#edf7f0;color:#006345;transform:translateX(2px);box-shadow:inset 0 0 0 1px rgba(0,96,66,.05);}
.site-header .msbd-modern-header .msbd-header-account-links a:hover::before,.site-header .msbd-modern-header .msbd-header-account-links a:focus-visible::before{background:#2f8e67;box-shadow:0 0 0 4px rgba(47,142,103,.14);}
.site-header .msbd-modern-header .msbd-header-account-links .msbd-header-signout{border-top:1px solid #edf0ed;margin-top:5px;padding-top:14px;color:#9c463c;}
.site-header .msbd-modern-header .msbd-header-account-links .msbd-header-signout::before{background:#e6bab4;box-shadow:0 0 0 4px rgba(230,186,180,.22);}
.site-header .msbd-modern-header .msbd-header-account-links .msbd-header-signout:hover,.site-header .msbd-modern-header .msbd-header-account-links .msbd-header-signout:focus-visible{background:#fff1ef;color:#a23c31;}
.site-header .msbd-modern-header .msbd-header-account-links .msbd-header-signout:hover::before,.site-header .msbd-modern-header .msbd-header-account-links .msbd-header-signout:focus-visible::before{background:#cb6052;box-shadow:0 0 0 4px rgba(203,96,82,.15);}
.site-header .msbd-modern-header .header-actions .wishlist-open .msbd-wishlist-icon-wrap,
.site-header .msbd-modern-header .header-actions .cart-link .yb-cart-icon-wrap{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:none!important;width:27px!important;height:27px!important;margin:0!important;padding:0!important;line-height:1!important;
}
.site-header .msbd-modern-header .header-actions .wishlist-open .msbd-wishlist-icon-wrap>.yb-icon,
.site-header .msbd-modern-header .header-actions .cart-link .yb-cart-icon-wrap>.yb-icon{width:25px!important;height:25px!important;display:block!important;}
.site-header .header-main.msbd-modern-header .msbd-wishlist-count,
.site-header .header-main.msbd-modern-header .header-actions .cart-link .yb-cart-icon-wrap>.cart-count{
  position:absolute!important;top:-7px!important;right:-7px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:none!important;width:18px!important;min-width:18px!important;height:18px!important;
  padding:0!important;margin:0!important;border:2px solid #fff!important;border-radius:50%!important;
  background:#e4a52e!important;color:#fff!important;font-family:Arial,sans-serif!important;font-size:10px!important;
  font-weight:700!important;line-height:1!important;text-align:center!important;letter-spacing:0!important;
  box-shadow:none!important;transform:none!important;
}
@media(max-width:1160px){
  .site-header .container.header-main.msbd-modern-header{grid-template-columns:174px 166px minmax(150px,1fr) auto!important;gap:12px!important;}
  .site-header .msbd-modern-header .header-actions .yb-action-card{min-width:59px!important;padding:1px 7px!important;}
  .site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search .yb-search-submit{min-width:93px!important;padding:0 12px!important;}
}
@media(max-width:900px){
  .site-header .container.header-main.msbd-modern-header{
    grid-template-columns:180px minmax(0,1fr)!important;grid-template-areas:"brand actions" "cats search";
    height:119px!important;min-height:119px!important;max-height:119px!important;padding:10px 0!important;gap:10px 9px!important;
    width:calc(100% - 24px)!important;
  }
  .site-header .msbd-modern-header .msbd-header-categories summary{height:44px!important;min-height:44px!important;max-height:44px!important;font-size:12px!important;}
  .site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search{
    order:initial!important;flex:none!important;min-width:0!important;width:100%!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;padding:3px 4px 3px 10px!important;gap:6px!important;
  }
  .site-header .msbd-modern-header .msbd-search-leading,.site-header .msbd-modern-header .msbd-search-leading .yb-icon{width:17px!important;height:17px!important;}
  .site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search #store-query{height:36px!important;min-height:36px!important;font-size:12px!important;}
  .site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search .yb-search-submit{height:36px!important;min-height:36px!important;max-height:36px!important;min-width:70px!important;padding:0 11px!important;font-size:11px!important;}
  .site-header .msbd-modern-header .header-actions.msbd-modern-actions{justify-self:end!important;}
  .site-header .msbd-modern-header .header-actions .yb-action-card{min-width:52px!important;height:44px!important;min-height:44px!important;padding:0 6px!important;gap:4px!important;}
  .site-header .msbd-modern-header .header-actions .yb-action-card .yb-icon{width:21px!important;height:21px!important;}
  .site-header .msbd-modern-header .header-actions .yb-action-card>span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count){font-size:10px!important;}
}
@media(max-width:600px){
  .site-header .container.header-main.msbd-modern-header{grid-template-columns:145px minmax(0,1fr)!important;gap:10px 8px!important;}
  .site-header .msbd-modern-header .msbd-header-categories summary{padding:0 7px!important;font-size:11px!important;gap:5px!important;}
  .site-header .msbd-modern-header .msbd-cat-grid{width:15px!important;height:15px!important;}
  .site-header .msbd-modern-header .msbd-cat-chevron{width:13px!important;height:13px!important;}
  .site-header .msbd-modern-header .header-actions .yb-action-card{min-width:45px!important;padding:0 4px!important;border-left:0!important;}
  .site-header .msbd-modern-header .header-actions .wishlist-open .msbd-wishlist-icon-wrap,
  .site-header .msbd-modern-header .header-actions .cart-link .yb-cart-icon-wrap{width:23px!important;height:23px!important;}
  .site-header .msbd-modern-header .header-actions .wishlist-open .msbd-wishlist-icon-wrap>.yb-icon,
  .site-header .msbd-modern-header .header-actions .cart-link .yb-cart-icon-wrap>.yb-icon{width:21px!important;height:21px!important;}
  .site-header .header-main.msbd-modern-header .msbd-wishlist-count,
  .site-header .header-main.msbd-modern-header .header-actions .cart-link .yb-cart-icon-wrap>.cart-count{
    width:16px!important;min-width:16px!important;height:16px!important;top:-6px!important;right:-7px!important;font-size:9px!important;
  }
  .site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search .yb-search-submit{min-width:36px!important;padding:0 9px!important;}
  .site-header .msbd-modern-header .msbd-modern-search .yb-search-submit .msbd-search-button-label{display:none!important;}
  .site-header .msbd-modern-header .msbd-header-category-links{width:230px;}
  .site-header .msbd-modern-header .msbd-header-account-links{right:-10px;min-width:190px;padding:8px;}
  .site-header .msbd-modern-header .msbd-header-account-links a{padding:10px 12px;}
  .site-header .msbd-modern-header .msbd-header-account-links::before{right:18px;}
}
@media(max-width:350px){
  .site-header .container.header-main.msbd-modern-header{grid-template-columns:132px minmax(0,1fr)!important;}
  .site-header .msbd-modern-header .msbd-header-categories summary{font-size:10px!important;gap:4px!important;}
  .site-header .msbd-modern-header .header-actions .yb-action-card{min-width:39px!important;padding:0 3px!important;}
}
@media(prefers-reduced-motion:reduce){.site-header .msbd-modern-header *{transition:none!important;animation:none!important;}}
