/* The supplied header screenshot: full-width dropdown, 380px directory rail. */
.hm-panel{position:fixed;top:70px;left:0;width:100%;min-width:1366px;height:700px;max-height:calc(100dvh - 70px);z-index:102;background:#fff;border-radius:0 0 16px 16px;box-shadow:0 8px 20px #0000000b;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-100%);transition:transform .5s ease,opacity .4s ease,visibility 0s .5s;overflow:hidden;color:#333;font-family:"Helvetica Neue",Helvetica,"PingFang SC","Microsoft YaHei",Arial,sans-serif;font-size:14px;line-height:1.5}
.hm-panel.hm-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:transform .5s ease,opacity .4s ease,visibility 0s}
.hm-mask{position:fixed;inset:70px 0 0;width:100%;height:calc(100dvh - 70px);z-index:101;border:0;padding:0;border-radius:0;background:#0007;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s ease,visibility 0s .4s}
.hm-mask.hm-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .4s ease,visibility 0s}
.hm-shell{display:grid;grid-template-columns:380px minmax(0,1fr);height:100%;min-width:0}
.hm-rail{padding:24px 20px 28px 100px;background:#fafafd;min-width:0;overflow-y:auto;scrollbar-width:thin}
.hm-all-products{display:flex;align-items:center;gap:5px;width:100%;font-size:18px;font-weight:700;line-height:28px;text-align:left;padding:0 20px 20px;border:0;background:transparent;color:#333;white-space:nowrap;cursor:pointer}
.hm-all-products>img{width:12px;height:12px;opacity:.6;flex:none}
.hm-rail-links{display:flex;flex-direction:column;gap:6px}
.hm-rail-item{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 20px;border:0;border-radius:4px;text-align:left;background:transparent;color:#555;font-size:14px;line-height:24px;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s}
.hm-rail-item>img{width:20px;height:20px;object-fit:contain;flex:none;opacity:.75}
.hm-rail-item.active,.hm-rail-item:hover{background:var(--yellow);color:#333}
.hm-rail-item.active>img{opacity:1}
.hm-main{padding:24px 100px 32px 40px;min-width:0;height:100%;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}
.hm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:38px;padding-bottom:16px;border-bottom:1px solid #e2e4e8;margin:0 0 24px}
.hm-section-heading h2,.hm-section-heading h3{font-size:18px;line-height:24px;font-weight:700;color:#222;margin:0}
.hm-section-heading>span{font-size:12px;color:#999;margin-right:24px;line-height:1.5}
.hm-section-heading>button{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#888;font-size:13px;line-height:1.6;padding:0;white-space:nowrap;cursor:pointer}
.hm-section-heading>button:hover{color:#333}
.hm-section-heading>button>img{width:14px;height:14px;opacity:.6}
.hm-secondary-heading{margin-top:24px;margin-bottom:20px;min-height:38px;padding-bottom:14px}
.hm-secondary-heading h3{font-size:18px}
.hm-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,800px);gap:24px;align-items:start}
.hm-overview-products,.hm-news-side{min-width:0}
.hm-hot-row{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;min-height:292px}
.hm-featured-products{display:flex;flex-direction:column;gap:20px}
.hm-featured-product{display:flex;align-items:center;gap:18px;width:100%;height:84px;border:0;border-radius:4px;padding:16px 20px;text-align:left;color:#666;cursor:pointer;transition:transform .25s,box-shadow .25s}
.hm-tint-1{background:linear-gradient(90deg,#ffedef,#fff7f8)}
.hm-tint-2{background:linear-gradient(90deg,#d7f5f5,#ebfafa)}
.hm-tint-3{background:linear-gradient(90deg,#dfedff,#f2f8ff)}
.hm-featured-product:hover{transform:translateY(-2px);box-shadow:0 5px 12px #00000007}
.hm-rank{font-family:"Arial Narrow",Arial,sans-serif;font-size:30px;line-height:1;color:#444;font-weight:500;letter-spacing:-1px;flex:none}
.hm-featured-product>span:last-child{min-width:0;flex:1}
.hm-featured-product strong{display:block;font-size:16px;line-height:24px;font-weight:400;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.hm-featured-product small{display:block;font-size:13px;line-height:20px;color:#999;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.hm-ranked-links{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:7px}
.hm-ranked-links>button{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;color:#555;font-size:14px;line-height:24px;text-align:left;cursor:pointer;white-space:nowrap}
.hm-ranked-links>button>span{font-family:Arial,sans-serif;font-weight:600;font-size:12px;line-height:1;color:#444;flex:none;min-width:16px}
.hm-ranked-links>button:hover{color:#111;text-decoration:underline;text-underline-offset:4px}
.hm-new-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:12px 32px;padding-top:8px}
.hm-new-products>button{display:block;width:100%;min-width:0;border:0;background:transparent;padding:0;color:#666;font-size:14px;line-height:24px;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}
.hm-new-products>button:hover{color:#222;text-decoration:underline;text-underline-offset:4px}
.hm-banner{display:block;width:100%;aspect-ratio:800/280;min-height:210px;padding:0;border:0;border-radius:0;overflow:hidden;background:#f4f3ef;cursor:pointer}
.hm-banner>img{display:block;width:100%;height:100%;aspect-ratio:800/280;object-fit:cover;object-position:center 55%;transition:transform .5s}
.hm-banner:hover>img{transform:scale(1.025)}
.hm-news-side .hm-secondary-heading{margin-top:36px}
.hm-updates{display:flex;flex-direction:column;gap:16px;padding-top:8px}
.hm-updates>button{padding:0;border:0;background:transparent;color:#666;text-align:left;font-size:13px;line-height:24px;cursor:pointer}
.hm-updates>button:hover{color:#222;text-decoration:underline;text-underline-offset:4px}
.hm-close{position:absolute;top:24px;right:32px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;padding:4px;color:#999;background:transparent;cursor:pointer;z-index:2}
.hm-close>img{width:15px;height:15px;opacity:.5}
.hm-close:hover{background:#f3f3f3}
.hm-close:hover>img{opacity:.9}
.hm-category-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start}
.hm-directory{min-width:0}
.hm-directory-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;padding:12px 0 18px;border-bottom:1px dashed #e1e1e1;align-items:start}
.hm-directory-row:first-child{padding-top:0}
.hm-directory-row h3{font-size:14px;line-height:24px;font-weight:600;margin:0}
.hm-directory-row h3>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:8px;padding:10px 16px;background:#f8f8f8;color:#444;font-size:14px;line-height:24px;font-weight:600;text-align:left;cursor:pointer;transition:background .2s}
.hm-directory-row h3>button:hover{background:#fff6ad}
.hm-directory-row h3>button>img{width:12px;height:12px;opacity:.6}
.hm-directory-products{display:flex;flex-wrap:wrap;gap:12px 32px;padding:9px 0 0}
.hm-directory-products>button{border:0;background:transparent;padding:0;font-size:14px;line-height:26px;color:#666;cursor:pointer}
.hm-directory-products>button:hover{color:#111;text-decoration:underline;text-underline-offset:4px}
.hm-directory-row>div>p{font-size:12px;line-height:1.8;color:#aaa;margin:10px 0 0}
.hm-directory-footer{display:flex;flex-direction:column;gap:16px;padding-top:28px}
.hm-directory-footer>span{font-size:12px;color:#999;line-height:1.8}
.hm-directory-footer>button{display:flex;align-items:center;gap:8px;width:fit-content;border:0;background:transparent;padding:0;font-size:13px;color:#666;line-height:1.6;cursor:pointer}
.hm-directory-footer>button:hover{color:#222}
.hm-directory-footer>button>img{width:14px;height:14px;opacity:.6}
.hm-category-featured{padding-left:24px;border-left:1px dashed #e1e1e1;min-width:0}
.hm-category-featured>h3{font-size:14px;font-weight:700;line-height:24px;margin:0 0 18px;color:#444}
.hm-category-featured>button{display:flex;align-items:center;gap:14px;width:100%;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #f1f1f1;text-align:left;cursor:pointer}
.hm-category-featured>button>img:first-child{width:90px;height:90px;object-fit:cover;border-radius:6px;flex:none;transition:transform .3s}
.hm-category-featured>button:hover>img:first-child{transform:scale(1.04)}
.hm-category-featured>button>span{min-width:0;flex:1}
.hm-category-featured strong{display:block;font-size:14px;font-weight:500;line-height:1.6;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-category-featured small{display:block;font-size:12px;line-height:1.6;color:#999;margin-top:7px}
.hm-category-featured>button>img:last-child{width:13px;height:13px;opacity:.5;flex:none}
.hm-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-top:12px}
.hm-service-card{display:block;padding:28px 24px;background:#fafafd;border:0;border-radius:10px;text-align:left;color:#555;min-width:0;cursor:pointer;transition:background .25s}
.hm-service-card:hover{background:#fffce4}
.hm-service-card>img{width:30px;height:30px;opacity:.65;margin-bottom:24px}
.hm-service-card>h3{font-size:18px;font-weight:600;color:#333;margin:0 0 12px;line-height:1.5}
.hm-service-card>p{font-size:13px;color:#999;line-height:1.8;min-height:48px;margin:0 0 24px}
.hm-service-card>span{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.6;color:#666}
.hm-service-card>span>img{width:14px;height:14px;opacity:.6}
.hm-custom-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:50px;align-items:start;padding-top:12px}
.hm-custom-copy{padding:16px 0 0}
.hm-custom-copy>span{font-size:12px;color:#999;line-height:1.6}
.hm-custom-copy>h3{font-size:30px;line-height:1.6;font-weight:600;color:#333;margin:16px 0}
.hm-custom-copy>p{font-size:14px;line-height:1.9;color:#888;margin:0 0 24px}
.hm-custom-copy>button{display:flex;align-items:center;gap:24px;width:fit-content;padding:10px 22px;border:0;border-radius:20px;background:#333;color:#fff;font-size:13px;line-height:24px;cursor:pointer}
.hm-custom-copy>button>img{width:16px;height:16px;filter:invert(1)}
.hm-custom-categories{display:flex;flex-direction:column;gap:14px}
.hm-custom-categories>button{display:flex;align-items:center;gap:20px;width:100%;padding:14px;background:#fafafd;border:0;border-radius:8px;text-align:left;cursor:pointer;transition:background .2s}
.hm-custom-categories>button:hover{background:#fffce4}
.hm-custom-categories>button>img:first-child{width:86px;height:86px;border-radius:6px;object-fit:cover;flex:none}
.hm-custom-categories>button>span{flex:1;min-width:0}
.hm-custom-categories strong{display:block;font-size:16px;font-weight:500;color:#444;line-height:1.6}
.hm-custom-categories small{display:block;font-size:13px;color:#999;line-height:1.7;margin-top:6px}
.hm-custom-categories>button>img:last-child{width:16px;height:16px;opacity:.6;flex:none}
.hm-panel button:focus-visible{outline:2px solid #9d8700;outline-offset:3px}
body .site-header .header-links>.hm-trigger-active,body.fidelity.quote-view .header-links>.hm-trigger-active{background:#333;color:#fff}
@media(max-width:1920px){
  .hm-main{padding-right:50px}
  .hm-overview-grid{grid-template-columns:minmax(0,1fr) minmax(420px,.8fr)}
  .hm-hot-row{grid-template-columns:240px minmax(0,1fr);gap:26px}
  .hm-featured-product{gap:14px;padding-inline:16px}
  .hm-featured-product strong{font-size:15px}
  .hm-featured-product small{font-size:12px}
  .hm-new-products{column-gap:22px}
  .hm-category-layout{grid-template-columns:minmax(0,1fr) 320px;gap:30px}
  .hm-directory-row{grid-template-columns:180px minmax(0,1fr);gap:24px}
  .hm-service-grid{gap:16px}
  .hm-service-card{padding:24px 20px}
}
@media(max-width:1536px){
  .hm-rail{padding-left:50px;padding-right:20px}
  .hm-shell{grid-template-columns:300px minmax(0,1fr)}
  .hm-main{padding-left:30px;padding-right:42px}
  .hm-close{right:14px}
  .hm-section-heading>span{margin-right:0}
  .hm-overview-grid{grid-template-columns:minmax(0,1fr) 420px;gap:24px}
  .hm-hot-row{grid-template-columns:220px minmax(0,1fr);gap:22px}
  .hm-featured-product{padding-inline:14px;gap:12px}
  .hm-rank{font-size:27px}
  .hm-ranked-links>button{font-size:13px;gap:8px}
  .hm-new-products{gap:12px 18px}
  .hm-new-products>button{font-size:13px}
  .hm-section-heading h2,.hm-section-heading h3{font-size:17px}
  .hm-category-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px}
  .hm-directory-row{grid-template-columns:170px minmax(0,1fr);gap:20px}
  .hm-directory-products{column-gap:22px}
  .hm-category-featured{padding-left:18px}
  .hm-category-featured>button>img:first-child{width:76px;height:76px}
  .hm-service-card{padding:22px 16px}
  .hm-service-card>h3{font-size:16px}
  .hm-service-card>p{font-size:12px;min-height:65px}
  .hm-custom-layout{gap:30px}
}
@media(prefers-reduced-motion:reduce){
  .hm-panel,.hm-mask,.hm-panel *{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .hm-featured-product:hover,.hm-category-featured>button:hover>img:first-child,.hm-banner:hover>img{transform:none}
}

/* Source header spacing and single active hover pill. */
body.fidelity .header-links>.current:not(:hover){background:transparent;color:#666}
body.fidelity .site-header:has(.hm-trigger-active){background:#fff}
@media(min-width:1601px){
 body.fidelity .header-links{margin-left:20px;gap:20px}
 body.fidelity .header-links>a,body.fidelity .header-links>button{padding:9px 18px}
 body.fidelity .search{max-width:620px;flex-basis:620px}
}
