.section-toolbar--stack {
  align-items: flex-start;
}

.section-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.catalog-section {
  padding: 1.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 49, 69, 0.06);

  &.general {
    box-shadow: inset 6px 0 0 #1d7a96;
  }

  &.sales {
    box-shadow: inset 6px 0 0 #2f9b83;
  }

  &.inventory {
    box-shadow: inset 6px 0 0 #d09b43;
  }

  &.expenses {
    box-shadow: inset 6px 0 0 #c67852;
  }
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;

  h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    color: var(--ink-900);
  }

  p {
    margin: 0;
    color: var(--ink-700);
  }

  span {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink-900);
    font-family: var(--font-display);
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(14, 36, 51, 0.08);
  }
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.mini-card {
  display: block;
  min-height: 180px;
  padding: 1.15rem;
  border-radius: 24px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.9));
  border: 1px solid rgba(17, 49, 69, 0.05);
  box-shadow: 0 18px 36px rgba(14, 36, 51, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(14, 36, 51, 0.12);
  }

  h4 {
    margin: 0 0 0.55rem;
    color: var(--ink-900);
    font-size: 1.05rem;
  }

  p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.55;
  }
}

.mini-card__pill {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(18, 96, 125, 0.12), rgba(50, 147, 175, 0.18));
  color: #165e79;
  font-family: var(--font-display);
  font-weight: 800;
}

@media (max-width: 720px) {
  .section-heading {
    flex-direction: column;
  }
}
