.PriceCard { position: relative; width: 100%; color: var(--color-darkest); border-bottom: 1px solid var(--color-light); .bottom { position: absolute; z-index: 1; display: flex; align-items: stretch; width: 100%; height: 100%; & > * { flex-grow: 1; color: var(--color-lightest); font-size: 2rem; display: flex; align-items: center; & .icon { filter: drop-shadow(1px 3px 1px rgb(0 0 0 / 0.4)); } } & .bg-edit { background: var(--color-gradient-main-dark); padding: 2rem; text-align: left; } & .bg-delete { background: var(--color-gradient-error-reverse); padding: 2rem; text-align: right; justify-content: flex-end; } } .top { position: relative; background: var(--color-lightest); z-index: 2; gap: 1rem; padding: 1rem; &.animated { transition: var(--transition-default); } & > header { display: flex; justify-content: space-between; align-items: center; color: var(--color-darkest); & .icon { font-size: 1rem; cursor: pointer; } } & .name-price { display: flex; gap: .5rem; & > span:nth-child(1) { font-weight: bold; max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } & > span:nth-child(2)::before { content: '•'; margin-right: .5rem; color: var(--color-middle); } } & .wrapper { display: flex; flex-direction: row; width: 100%; gap: 1rem; justify-content: space-between; & > .info { flex-grow: 0; align-items: center; gap: .25rem; font-weight: bold; & > .price { display: flex; align-items: center; gap: .5rem; & > .icon { color: var(--color-main-dark); } } & > .pro { font-size: .6rem; color: var(--color-middle); font-weight: lighter; } } } } }