@use '../../styles/variables' as *; .list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: $space-3; } .item { padding: $space-3; border: 1px solid $color-border; border-radius: $radius; background: $color-surface; } .row { display: flex; align-items: center; justify-content: space-between; gap: $space-3; } .main { display: flex; align-items: center; gap: $space-3; flex: 1; min-width: 0; padding: 0; border: none; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; &:is(a, button) { cursor: pointer; &:hover .name { color: $color-primary; } } } .info { flex: 1; } .name { margin: 0 0 $space-1; font-size: 1.1rem; transition: color 0.15s ease; } .description { margin: 0 0 $space-1; color: $color-text-muted; font-size: 0.9rem; } .meta { margin: 0; font-size: 0.85rem; color: $color-text-muted; } .allergens { margin: $space-1 0 0; font-size: 0.8rem; color: $color-text-muted; } .quantity { display: flex; align-items: center; gap: $space-2; } .stepperButton { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border-radius: 50%; border: 1px solid $color-border; background: $color-background; color: $color-text; line-height: 1; cursor: pointer; align-self: center; justify-self: center; transition: border-color 0.15s ease; &:hover:not(:disabled) { border-color: $color-primary; } &:disabled { opacity: 0.4; cursor: not-allowed; } } .count { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }