.PriceCard {
    width: 100%;
    display: grid;
    transition: 150ms;
    grid-template-rows: auto 1fr auto;
    max-height: 400px;
    opacity: 1;

    &.deleting {
        max-height: 0;
        opacity: 0;
    }

    &.folded {
        grid-template-rows: auto 0fr auto;
    }

    & > header {
        color: var(--color-white);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.3em;

        & > .Button {
            color: var(--color-white);
            border: 2px solid var(--color-white);
        }
    }

    & aside {
        overflow: hidden;
    }

    & footer {
        display: flex;
        justify-content: space-between;
        align-items: center;

        & > .Button.delete {
            scale: 0;
        }

        & > .Button.deletable {
            scale: 1;
        }
    }

    & .padding {
        gap: 1rem;
        padding: var(--padding-default);
    }

    & .bg-blue {
        background: var(--color-blue);
    }

    & .bg-white {
        background: var(--color-white);
    }

    & .wrapper {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 1rem;
        justify-content: space-between;

        & > * {
            flex-basis: 25%;
            flex-grow: 1;
        }

        & > .info {
            align-items: center;

            & > .icon {
                color: var(--color-blue-light);
                font-size: 2rem;
                padding: .2rem;
            }

            & > .price {
                font-size: 1.2rem;
            }

            & > .pro {
                font-size: .8rem;
                font-weight: bold;
                color: var(--color-main-light);
            }
        }
    }
}