.catalog-filters{margin:24px 0;padding:20px;background:#101c25;border:1px solid #344655;border-radius:12px}.catalog-filters summary{cursor:pointer;font-weight:800;color:#08b6ff;letter-spacing:.08em}.filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px;align-items:end}.filter-fields label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#d8e3eb}.filter-fields input,.filter-fields select{width:100%;min-height:46px;box-sizing:border-box;padding:10px;border:1px solid #526573;border-radius:6px;background:#080f15;color:#fff;font:inherit}.filter-fields input:focus,.filter-fields select:focus{outline:2px solid #08b6ff;outline-offset:2px}.cardcontent>.btn{box-sizing:border-box}.cardcontent>p{flex:initial}.cardcontent>.price{margin-top:auto}#productResults{font-weight:bold;color:#c4ddeb}@media(max-width:900px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.filter-fields{grid-template-columns:1fr}.catalog-filters{padding:16px}}

/* Keep the same image frame and card width as products are filtered. */
#productGrid .photo {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 284px;
  padding: 14px;
  flex: none;
}
#productGrid .product-image-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
#productGrid .photo .product-image-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
#productGrid .cardcontent {
  min-width: 0;
}
#productGrid .cardcontent > .btn {
  text-wrap: balance;
}
#dialogBody .catalog-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-block: 16px;
}
#dialogBody .catalog-detail-gallery figure {
  margin: 0;
}
#productGrid .photo {
  position: relative;
}
#productGrid .hot-item-ribbon {
  position: absolute;
  top: 19px;
  right: -35px;
  width: 142px;
  padding: 5px 0;
  transform: rotate(45deg);
  background: #ffb547;
  color: #191008;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 2px 7px #0007;
  pointer-events: auto;
  cursor: default;
}

#productGrid .hot-item-ribbon:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#productGrid .hot-item-tooltip {
  display: none;
  position: absolute;
  z-index: 2;
  top: 68px;
  right: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 12px;
  border: 1px solid #506778;
  border-radius: 7px;
  background: #101c25;
  color: #fff;
  box-shadow: 0 4px 12px #0009;
  font-size: 13px;
  line-height: 1.4;
}
#productGrid .hot-item-ribbon:hover + .hot-item-tooltip,
#productGrid .hot-item-ribbon:focus + .hot-item-tooltip,
#productGrid .hot-item-tooltip:hover {
  display: block;
}

#productGrid {
  grid-auto-rows: 1fr;
}
#productGrid .catalog-summary {
  font-size: 14px;
  line-height: 1.55;
}
#productGrid .catalog-summary-text {
  max-height: 6.2em;
  overflow: hidden;
}
#productGrid .catalog-more {
  color: #35c7ff;
  display: inline-block;
  margin-top: 3px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#productGrid .catalog-more[hidden] {
  display: none;
}
