.course-item {
    background-color: var(--white);
    padding: 1.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 16px;
    height: 100%;

    .top {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        .heading {
            display: flex;
            flex-direction: column;
            gap: .5rem;

            .flags {
                display: flex;
                align-items: center;
                gap: .4rem;

                .flag {
                    font-size: 12px;
                    padding: .2rem .6rem;
                    background-color: var(--black);
                    border-radius: 6px;
                    color: var(--white);
                }
            }

            .title {
                display: flex;
                flex-direction: column;

                .name {font-size: 15px;}
                .desc {
                    font-size: 13px;
                    color: var(--clr-dark-paragraph);
                }
            }
        }

        .infos .list {
            display: flex;
            flex-direction: column;
            gap: .3rem;

            li {
                display: flex;
                align-items: center;
                gap: .4rem;
                font-size: 13px;

                svg {
                    width: 15px;
                    height: 15px;
                }
            }
        }
    }

    .bottom {
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, .3);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;

        .price {
            display: flex;
            flex-direction: column;
            gap: .9rem;

            .tags {
                display: flex;
                align-items: center;
                gap: .4rem .6rem;
                flex-wrap: wrap;

                .tag {
                    font-size: 11px;
                    color: var(--white);
                    background-color: var(--primary);
                    padding: .2rem .5rem;
                    border-radius: 8px;
                }
            }

            .values {
                .old-value {
                    font-size: 15px;
                    color: var(--clr-dark-paragraph);
                    text-decoration: line-through;
                }

                .new-value {
                    padding-top: .3rem;
                    display: flex;
                    flex-direction: column;
                    gap: .1rem;

                    .main {
                        font-size: 18px;
                        font-weight: 600;
                        color: var(--primary);
                    }

                    .secondary {
                        font-size: 13px;
                    }
                }
            }
        }

        .buttons a {
            font-size: 14px;
            text-align: center;
            color: var(--white);
            background-color: var(--black);
            border-radius: 8px;
            display: block;
            padding: .3rem .8rem;
            transition: all .3s;

            &:hover {
                transform: scale(1.04);
            }
        }
    }
}