/* =============================================================================
   DPL Category Bar — one row of peptide category links with short descriptions
   Design tokens follow the rest of the store: 20px radius, #FF9A01 accent,
   IBM Plex Sans 500 headings / 400 body, no gradients.
   ============================================================================= */

.dpl-cat-bar {
  padding: 64px 0;
}

.dpl-cat-bar__header {
  margin-bottom: 28px;
}

.dpl-cat-bar__title {
  font-size: 26px;
  font-weight: 500;
  color: #0d0d0d;
  line-height: 1.2;
  margin: 0 0 8px;
}

.dpl-cat-bar__subtitle {
  font-size: 15px;
  font-weight: 400;
  color: #6b6b6b;
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

.dpl-cat-bar__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.dpl-cat-bar__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 18px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  text-decoration: none;
  color: #0d0d0d;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.dpl-cat-bar__card:hover,
.dpl-cat-bar__card:focus-visible {
  border-color: #ff9a01;
  background: #fff6e8;
  text-decoration: none;
}

.dpl-cat-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #6b6b6b;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}

.dpl-cat-bar__card:hover .dpl-cat-bar__icon,
.dpl-cat-bar__card:focus-visible .dpl-cat-bar__icon {
  color: #ff9a01;
  border-color: #ff9a01;
}

.dpl-cat-bar__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #0d0d0d;
}

.dpl-cat-bar__desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #6b6b6b;
}

/* Tablet — three across */
@media screen and (max-width: 1024px) {
  .dpl-cat-bar__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

/* Mobile — two across, matching the collection grid */
@media screen and (max-width: 767px) {
  .dpl-cat-bar {
    padding: 40px 0;
  }

  .dpl-cat-bar__header {
    margin-bottom: 20px;
  }

  .dpl-cat-bar__title {
    font-size: 20px;
  }

  .dpl-cat-bar__subtitle {
    font-size: 14px;
  }

  .dpl-cat-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .dpl-cat-bar__card {
    padding: 16px 14px;
    gap: 8px;
  }

  .dpl-cat-bar__icon {
    width: 38px;
    height: 38px;
  }

  .dpl-cat-bar__label {
    font-size: 13px;
  }

  .dpl-cat-bar__desc {
    font-size: 12px;
  }
}
