/* Shared three-column product menu for the local product collection. */
.news-nav { position: relative; display: inline-flex; align-items: center; gap: 3px; font: inherit; font-weight: 400; }
.news-nav-main { color: inherit; white-space: nowrap; }
.news-nav-toggle { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 5px; }
.news-submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 205px; padding: 12px; background: #fff; color: #10364e; border-top: 4px solid #e9aa20; box-shadow: 0 14px 30px #10364e26; z-index: 110; }
.news-nav.is-open .news-submenu, .news-nav:focus-within .news-submenu { display: grid; }
.news-submenu a { display: block; padding: 10px 8px; font-size: 13px; font-weight: 400; white-space: nowrap; }
.news-submenu a:hover, .news-submenu a:focus-visible { background: #f4f6f4; color: #926509; }
@media (hover: hover) and (min-width: 721px) { .news-nav:hover .news-submenu { display: grid; } }
@media (min-width: 801px) {
  #nav .product-nav { position: static; }
  #nav .product-nav > .product-mega {
    left: 50% !important;
    right: auto !important;
    top: 100%;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100vh - 105px);
    transform: translateX(-50%);
  }
}
#nav .product-mega {
  min-width: 0;
  padding: 24px 28px;
  overflow: auto;
  border-top: 4px solid #e9aa20;
  box-shadow: 0 16px 38px #10364e2b;
}
#nav .product-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 45px;
}
#nav .product-mega .mega-col { min-width: 0; padding: 0; }
#nav .product-mega a { white-space: normal; text-decoration: none; border: 0; }
#nav .product-mega .mega-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 5px;
  color: #10364e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}
#nav .product-mega .mega-number {
  flex: none;
  min-width: 25px;
  color: #ac7c18;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
}
#nav .product-mega .mega-highway-links { padding: 5px 0 0; }
#nav .product-mega .mega-detail {
  display: block;
  padding: 7px 5px;
  color: #526773;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}
#nav .product-mega .mega-all-products {
  display: block;
  margin-top: 20px;
  padding: 10px 5px 0;
  color: #9b7018;
  font-size: 13px;
  font-weight: 400;
}
#nav .product-mega a:hover, #nav .product-mega a:focus-visible {
  background: #f4f6f4;
  color: #926509;
}
.site-header:has(.preview-product-nav) { position: relative; z-index: 40; }
.preview-product-nav { display: inline-flex; align-items: center; gap: 4px; }
.preview-product-toggle {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 4px;
}
.preview-product-nav > .product-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 105px);
  transform: translateX(-50%);
  overflow: auto;
  padding: 24px 28px;
  background: #fff;
  color: #10364e;
  border-top: 4px solid #e9aa20;
  box-shadow: 0 16px 38px #10364e2b;
  z-index: 100;
}
.preview-product-nav.is-open > .product-mega { display: block; }
.preview-product-nav .product-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 45px;
}
.preview-product-nav .mega-col { min-width: 0; padding: 0; }
.preview-product-nav .product-mega a { display: flex; white-space: normal; text-decoration: none; border: 0 !important; }
.preview-product-nav .mega-feature {
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 5px;
  color: #10364e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}
.preview-product-nav .mega-number { flex: none; min-width: 25px; color: #ac7c18; font-size: 12px; font-weight: 400; }
.preview-product-nav .mega-highway-links { padding: 5px 0 0; }
.preview-product-nav .mega-detail { padding: 7px 5px; color: #526773; font-size: 13px; font-weight: 400; line-height: 1.35; }
.preview-product-nav .mega-all-products {
  display: block !important;
  margin-top: 20px;
  padding: 10px 5px 0;
  color: #9b7018;
  font-size: 13px;
  font-weight: 400;
}
.preview-product-nav .product-mega a:hover,
.preview-product-nav .product-mega a:focus-visible { background: #f4f6f4; color: #926509; }
.preview-mobile-nav-button { display: none; }
@media (max-width: 800px) {
  #nav .product-nav > .product-mega {
    position: static;
    width: 100%;
    max-height: none;
    transform: none;
    padding: 10px 4px 12px;
    box-shadow: none;
  }
  #nav .product-mega-grid { grid-template-columns: 1fr; row-gap: 12px; }
  #nav .product-mega .mega-col { padding: 0; }
  #nav .product-mega .mega-col + .mega-col {
    border: 0;
    padding-top: 8px;
    margin-top: 0;
  }
  #nav .product-mega .mega-feature { min-height: 48px; font-size: 14px; }
  #nav .product-mega .mega-highway-links { padding: 3px 0 8px 10px; }
}
@media (max-width: 720px) {
  .site-header nav.preview-nav-ready:not(#main-nav) { display: none; }
  .news-nav { width: 100%; justify-content: space-between; flex-wrap: wrap; padding: 12px 0; }
  .news-submenu { position: static; flex-basis: 100%; width: 100%; box-shadow: none; border-top: 1px solid #dce3e5; padding: 6px 0; }
  .site-header .preview-mobile-nav-button {
    display: block;
    margin-inline-start: auto;
    border: 1px solid #dce3e5;
    background: #fff;
    color: #10364e;
    padding: 9px 12px;
    cursor: pointer;
  }
  .site-header.preview-nav-open nav.preview-nav-ready:not(#main-nav) {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 80vh;
    overflow: auto;
    padding: 10px 5%;
    background: white;
    box-shadow: 0 12px 25px #10364e24;
    z-index: 50;
  }
  .site-header nav.preview-nav-ready:not(#main-nav) > a,
  .site-header nav.preview-nav-ready:not(#main-nav) > .preview-product-nav { padding: 12px 0; }
  .preview-product-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .preview-product-nav > .product-mega {
    position: static;
    flex-basis: 100%;
    width: 100%;
    max-height: none;
    transform: none;
    padding: 10px 4px 12px;
    box-shadow: none;
  }
  .preview-product-nav .product-mega-grid { grid-template-columns: 1fr; row-gap: 12px; }
  .preview-product-nav .mega-col { padding: 0; }
  .preview-product-nav .mega-col + .mega-col { border: 0; padding-top: 8px; }
  .preview-product-nav .mega-highway-links { padding-bottom: 8px; }
}
