#serviceList {
  gap: .5rem;
}

.service-item {
  padding: .65rem .75rem;
  border-color: var(--bm-border, #d8d2c4);
  border-radius: .75rem;
  background: var(--bm-linen, #f7f3ea);
}

.service-item.is-dragging {
  opacity: 1;
  border-color: rgba(47, 61, 52, .45);
  box-shadow: 0 6px 18px rgba(47, 61, 52, .16);
  background: #fffaf1;
}

.service-handle {
  border: 0;
  background: transparent;
  color: var(--bm-sage, #7D877E);
  cursor: grab;
  padding: 0 .45rem 0 .1rem;
  line-height: 1;
}

.service-handle:active {
  cursor: grabbing;
}

.service-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  color: inherit;
  border-radius: .35rem;
  padding: .15rem .25rem;
}

.service-link:hover {
  color: inherit;
}

.service-link:focus-visible,
.service-handle:focus-visible {
  outline: 2px solid var(--bm-green, #2f3d34);
  outline-offset: 3px;
}

.service-identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.service-name {
  color: var(--bm-green, #2f3d34);
  font-weight: 600;
}

.service-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: cover;
  border-radius: .55rem;
  border: 1px solid var(--bm-border, #d8d2c4);
}

.service-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  background: var(--bm-ivory, #e7e2d6);
  color: var(--bm-sage, #7d877e);
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .65rem;
  border: 1px solid var(--bm-border, #d8d2c4);
  border-radius: 999px;
  background: rgba(231, 226, 214, .72);
  color: var(--bm-muted, #6f766f);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.service-badge--featured {
  border-color: rgba(155, 123, 65, .25);
  background: rgba(155, 123, 65, .1);
  color: #766035;
}

.service-badge--last-table {
  border-color: rgba(125, 135, 126, .3);
  background: rgba(125, 135, 126, .12);
  color: var(--bm-green, #2f3d34);
}

.service-badge--status::before {
  content: "";
  width: .35rem;
  height: .35rem;
  flex: 0 0 .35rem;
  border-radius: 50%;
  background: currentColor;
}

.service-badge--active {
  border-color: rgba(47, 61, 52, .25);
  background: rgba(47, 61, 52, .12);
  color: var(--bm-green, #2f3d34);
}

.min-w-0 {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .service-link {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }

  .service-badges {
    justify-content: flex-start;
  }
}
