/* ============================================================
   industry-cards.css — Shared clickable Pump-Category + Equipment
   card styles. Linked from industry pages that were converted from
   descriptive product cards to the clickable grid layout. Pairs with
   each page's own <industry>.css (which provides the base
   .products-grid / .product-card / .spec-tag styles).
   ============================================================ */

/* Clickable category cards (link to /products/pumps/<slug>) */
a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cat-card h4 {
  padding-right: 30px;
}

.cat-arrow {
  position: absolute;
  top: 23px;
  right: 20px;
  color: var(--red);
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}

.product-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(3px);
}

a.product-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

a.product-card:active {
  transform: translateY(1px);
}

/* Non-linked category card (a docx pump type with no dedicated page) */
.product-card.is-static::before { display: none; }
.product-card.is-static:hover {
  box-shadow: none;
  border-color: #efefef;
}

/* Equipment grid */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 40px;
}

.equip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #efefef;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.equip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s;
}

.equip-card:hover::before {
  transform: scaleY(1);
}

.equip-card:hover {
  border-color: rgba(211, 1, 0, 0.18);
  box-shadow: 0 6px 20px rgba(211, 1, 0, 0.08);
}

.equip-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.equip-card:active {
  transform: translateY(1px);
}

.equip-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(211, 1, 0, 0.06);
  border: 1px solid rgba(211, 1, 0, 0.1);
  border-radius: 9px;
}

.equip-card span:not(.equip-icon) {
  flex: 1;
}

.equip-arrow {
  flex-shrink: 0;
  color: var(--red);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.equip-card:hover .equip-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Non-linked equipment card (a docx equipment item with no dedicated page) */
.equip-card--static { cursor: default; }
.equip-card--static::before { display: none; }
.equip-card--static:hover {
  border-color: #efefef;
  box-shadow: none;
}

@media (max-width: 768px) {
  .equip-grid {
    grid-template-columns: 1fr;
  }
}
