.checkout-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 2rem;

    .right-content {
        padding: 1rem;
        width: 50%;
        height: 100%;
        border-radius: .3rem;
        background-color: var(--custom-light);
    }
}

.review-order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .order-review-header {
        padding: .5rem 0;
    }

    .review-order-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;

        .product-details {
            display: flex;
            align-items: center;
            gap: .8rem;
            width: 50%;

            .product-variation dl.variation {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem 1rem;
                margin: 1rem 0 0 0;
                padding: 0;
            }

            .product-variation dt,
            .product-variation dd {
                margin: 0;
                padding: 0;
                font-size: 0.875rem;
                line-height: 1.4;
            }

            .product-variation dd {
                display: flex;
                align-items: center;
            }

            .product-variation dd p {
                margin: 0;
            }



        }
    }
}

.product-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-subtotal {
    display: flex;
    justify-content: space-between;
    width: 35%;
}

.review-order-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--custom-gray-light);
}

.order-total {
    margin: 1rem 0;
    display: flex;
    justify-content: flex-end;
}

.order-total .total-line {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    width: 35%;
}

.order-total .label,
.order-total .price {
    text-align: right;
}

/* Order review buttons */
.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    #toggle-mini-cart {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        width: 95%;
        text-align: left;

        &:hover {
            text-decoration: underline;
        }
    }

    .place-order-button {
        display: flex;
        flex-direction: row;
        padding: 1rem 0;
        width: 50%;

        &:hover {
            color: var(--custom-dark)!important;
        }
    }
}

@media  (max-width: 1200px) {
    .woocommerce img, .woocommerce-page img {
        display: none;
    }
}

@media  (max-width: 992px) {
    .review-order-footer .total-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .checkout-wrapper {
        display: flex;
        flex-direction: column;
    }

    .right-content {
        order: 1;
        width: 100% !important;
    }
}

@media (max-width: 575px) {
    .review-order-footer .total-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .product-subtotal {
        width: 40% !important;
    }

    .place-order-button {
        width: 60% !important;
    }
}

