/* Equipment directory under the shop navigation. */
.site-header .cm-panel {
  --cm-ink: #152746;
  --cm-line: #dce5ef;
  position: absolute;
  z-index: 5;
  top: 100%;
  inset-inline: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1440px, calc(100% - 32px));
  max-height: calc(100dvh - 188px);
  margin: 0 auto;
  color: var(--cm-ink);
  background: #fff;
  border: 1px solid var(--cm-line);
  border-top: 2px solid #2f51a3;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px #15264429;
}
.site-header .cm-panel[hidden] { display: none; }
.cm-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 29%);
  min-height: 0;
}
.cm-index {
  display: flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  padding: 20px clamp(18px, 2vw, 34px) 18px;
}
.cm-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
}
.cm-title h2 { font-size: 24px; font-weight: 650; line-height: 1.25; letter-spacing: -.038em; color: #162947; }
.cm-title a { display: inline-flex; align-items: center; gap: 8px; color: #2f51a3; font-size: 13px; font-weight: 600; }
.cm-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cm-title a .icon { width: 16px; height: 16px; }
.cm-scroll {
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-color: #bacbdc transparent;
  scrollbar-width: thin;
  padding: 3px;
  margin: -3px;
}
.cm-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(10, auto);
  column-gap: clamp(12px, 1.5vw, 25px);
  row-gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cm-link {
  display: flex;
  height: 100%;
  min-height: clamp(36px, 4.95dvh, 49px);
  padding: 3px 10px 3px 5px;
  gap: 11px;
  align-items: center;
  border-radius: 10px;
  color: #1b2c49;
  font-weight: 550;
  font-size: calc(clamp(13px, 1.1vw, 15px) * var(--reading-scale, 1));
  line-height: 1.28;
  transition: background .14s ease, color .14s ease;
}
.cm-link > .icon { flex-shrink: 0; margin-left: auto; width: 15px; height: 15px; color: #647b96; transform: rotate(-90deg); }
.cm-link.is-previewed, .cm-link:focus-visible { background: #eaf1fa; color: #244797; }
.cm-link.is-previewed > .icon { color: #2f51a3; }
.cm-glyph {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #36597e;
}
.cm-glyph svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linejoin: round; stroke-linecap: round; }
.is-previewed .cm-glyph { color: white; background: #2f51a3; }
.cm-panel :focus-visible, .cm-mobile-categories :focus-visible { outline: 2px solid #2f51a3; outline-offset: 1px; }
.cm-showcase {
  display: grid;
  min-height: 0;
  min-width: 0;
  padding: 18px;
  background: #f3f7fb;
  border-left: 1px solid var(--cm-line);
}
.cm-product {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  min-width: 0;
  background: #19366a;
  color: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #cddbe8;
}
.cm-photo {
  display: grid;
  place-items: center;
  min-height: 0;
  min-width: 0;
  background: #fff;
  padding: clamp(10px, 1.3vw, 22px);
  overflow: hidden;
}
.cm-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cm-product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(13px, 1.5vw, 23px);
  background: linear-gradient(116deg, #192f60, #284e94);
}
.cm-product-category { font-size: 12px; line-height: 1.4; color: #cfdef9; }
.cm-product-copy strong { font-size: clamp(18px, 1.6vw, 25px); line-height: 1.24; font-weight: 650; letter-spacing: -.035em; margin-top: 5px; overflow-wrap: anywhere; }
.cm-product-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: clamp(10px, 1.4vw, 21px); color: #86e6ff; font-size: 13px; font-weight: 650; }
.cm-product-cta .icon { width: 16px; height: 16px; }
.cm-product:hover .cm-product-cta { text-decoration: underline; text-underline-offset: 3px; }
.cm-footer, .cm-mobile-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f5f8fc;
  border-top: 1px solid #dce5ef;
  color: #435a75;
}
.cm-footer { padding: 11px clamp(20px, 2.3vw, 36px); font-size: 14px; }
.cm-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: #193d83;
}
.cm-phone > span { display: inline-grid; place-items: center; border-radius: 100%; width: 32px; height: 32px; background: #e1eaf8; }
.cm-phone .icon { width: 16px; height: 16px; }
.cm-phone strong { font-size: 19px; letter-spacing: -.04em; }
.cm-phone:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.site-header .cm-mobile-categories { grid-column: 1 / -1; min-width: 0; color: #1a2c49; }
.cm-mobile-categories > summary { list-style: none; display: flex; gap: 10px; align-items: center; min-height: 47px; padding: 10px 12px; border-radius: 9px; color: #fff; background: #2f51a3; font-size: 15px; font-weight: 650; cursor: pointer; }
.cm-mobile-categories summary::-webkit-details-marker { display: none; }
.cm-mobile-categories summary .icon { width: 17px; height: 17px; }
.cm-mobile-categories summary .icon:last-child { margin-left: auto; }
.cm-mobile-categories[open] summary .icon:last-child, .cm-mobile-row button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.cm-mobile-categories ul { margin: 4px 0; padding: 0; list-style: none; }
.cm-mobile-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; border-bottom: 1px solid #e2e9f2; }
.site-header .cm-mobile-row a { flex: 1; display: flex; align-items: center; align-self: stretch; padding: 10px 4px; min-height: 46px; border: 0; line-height: 1.35; }
.cm-mobile-row button { display: grid; place-items: center; padding: 0; min-height: 42px; width: 44px; flex-shrink: 0; border-radius: 6px; color: #2f51a3; }
.cm-mobile-row button:focus-visible, .cm-mobile-row button[aria-expanded="true"] { background: #edf3fb; }
.cm-mobile-row button .icon { width: 18px; height: 18px; }
.cm-mobile-preview { margin: 8px 0 12px; }
.site-header .cm-mobile-preview .cm-product { grid-template: auto / 32% minmax(0, 1fr); min-height: 115px; padding: 0; border: 1px solid #cddbe8; border-radius: 10px; }
.cm-mobile-preview .cm-photo { padding: 8px; }
.cm-mobile-preview .cm-photo img { max-height: 124px; }
.cm-mobile-preview .cm-product-copy { padding: 12px; justify-content: center; }
.cm-mobile-preview .cm-product-category { display: none; }
.cm-mobile-preview strong { font-size: 16px; margin: 0; }
.cm-mobile-preview .cm-product-cta { font-size: 12px; margin-top: 8px; }
.cm-mobile-contact { padding: 8px 10px; border-radius: 8px; font-size: 12px; }
.site-header .cm-mobile-contact .cm-phone { padding: 0; border: 0; }
.cm-mobile-contact .cm-phone strong { font-size: 16px; }
@media (min-width: 1151px) and (max-height: 580px) {
  .cm-index { padding-block: 12px; }
  .cm-title { padding-bottom: 8px; }
  .cm-showcase { padding: 10px; }
  .cm-product-copy { padding: 10px 14px; }
  .cm-product-copy strong { font-size: 16px; }
  .cm-product-category { display: none; }
  .cm-product-cta { margin-top: 5px; }
  .cm-footer { padding-block: 5px; }
}
@media (max-width: 1150px) {
  .site-header .cm-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-link { transition: none; }
}
