/* Use the catalogue's existing column widths and breakpoints. */
.product-page .bot-box > .grid-box {
  display: flex;
  flex-wrap: wrap;
}

.product-page .bot-box > .grid-box > .column {
  display: flex;
  min-width: 0;
}

.na-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border: 1px solid #dedede;
  background: #fff;
  color: #242424;
  text-decoration: none;
}

.na-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.na-card-media img {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  display: block;
  object-fit: contain;
  image-rendering: auto;
}

.na-card-caption {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 4.8em;
  padding: 12px 16px;
  border-top: 1px solid #e9e9e9;
  background: #f6f6f6;
  font-size: 16px;
  text-align: center;
}

.na-card-caption :is(h2, h3) {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
  overflow-wrap: anywhere;
}

.na-image-link, .na-card-variant {
  color: #575757;
  font-size: 14px;
  line-height: 1.35;
}

.na-subcategories {
  display: none;
}

.na-empty {
  margin: 24px 0;
  font-size: 17px;
  line-height: 1.6;
}

.na-empty a {
  color: #b21323;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .na-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .na-subcategories a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #d6d6d6;
    color: #242424;
    font-size: 16px;
    line-height: 1.4;
  }
  .na-subcategories a:focus-visible {
    outline: 2px solid #bc1422;
    outline-offset: 2px;
  }
}

.na-product-card:focus-visible {
  outline: 3px solid #bc1422;
  outline-offset: 2px;
}

@media (hover: hover) {
  .na-product-card:hover {
    border-color: #bc1422;
    color: #b21323;
  }
}
