.cart {
    .cart-table {
        width: 100%;
        padding: 16px;
        border-radius: 10px;
        overflow: hidden;

        &.bordered-table {
            border-bottom: 1px solid $lightest-gray;
            overflow: auto;
        }

        thead {
            tr {
                border-radius: $br-4;

                th {
                    padding-bottom: 16px;
                    color: $black;
                    font-family: $font-sec;
                    font-size: clamp(24px, 1.458vw, 38px);
                    /* 28px */
                    font-style: normal;
                    font-weight: 500;
                    line-height: 150%;
                    /* 33.6px */

                    @include media-query(1199px) {
                        font-size: clamp(23px, 2.085vw, 32px);
                        /* 25px */
                    }

                    @include media-query(820px) {
                        font-size: clamp(19px, 2.439vw, 24px);
                        /* 20px */
                    }

                    &:first-child {
                        text-align: left;
                        width: 90%;
                    }

                    &:nth-child(2) {
                        width: 10%;
                        text-align: center;
                    }
                }
            }
        }

        tbody {
            tr {
                @include media-query(767px) {
                    width: 90%;
                }

                td {
                    padding: 16px 0;

                    &:first-child {
                        text-align: center;
                        padding-right: 0;
                        width: 90%;
                    }

                    &:nth-child(2) {
                        width: 10%;
                        text-align: center;
                    }

                    .stock-label {
                        padding: 4px 12px;
                        border-radius: 2px;
                        background: $accent-1;
                        color: $white;
                        width: max-content;
                    }

                    .product-detail-box {
                        display: flex;
                        align-items: center;
                        gap: clamp(10px, 0.833vw, 24px);
                        padding: 16px 0;

                        .img-block {
                            background-color: $lightest-gray;
                            padding: 8px;
                            border-radius: 5px;
                        }
                    }
                }

                .cus-btn {
                    padding: 12px 24px;
                }
            }
        }

    }

    .rating-stars{
        margin-top: -6px;
    }
    

    // Cart-1 - Responsive

    .cart-item-block {
        background: $white;
        border-radius: 0;
        border-radius: $br-10;
        text-align: center;
        padding: 16px;
        position: relative;

        .cross {
            position: absolute;
            top: 24px;
            right: 28px;

            i {
                font-size: 24px;
                color: $light-black;
            }

            &:hover {
                i {
                    color: $accent-1;
                }
            }
        }

        .img-block {
            img {
                margin: 0 auto;
            }
        }

        .detail {
            li {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 16px;

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }

}

.checkout-box {
    .checkout-input {
        position: relative;

        input {
            border-radius: $br-32;
            padding: 16px 16px;

            @include media-query(1599px) {
                padding: 13px 16px;
            }

            @include media-query(490px) {
                padding: 12.5px 16px;
            }
        }

        a {
            position: absolute;
            top: 0;
            right: 0;
            padding: 16px 32px;

            @include media-query(1599px) {
                padding-right: 18px;
                padding-left: 18px;
            }
            @include media-query(490px) {
                padding: 15.25px 18px;
            }
        }
    }
}

.table-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 16px 8px;
    border-radius: 0 0 10px 10px;

    @include media-query(820px) {
        border-radius: 10px;
    }

    @include media-query(490px) {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    &.varient-2 {
        display: block;
        padding: 0 clamp(16px, 1.25vw, 32px) clamp(16px, 1.25vw, 32px);
    }

    form {
        display: flex;
        align-items: center;
        gap: 0;
        flex-wrap: wrap;

        input {
            width: clamp(320px, 19.896vw, 520px);
            background: transparent;

            @include media-query(1499px) {
                padding: 10.5px 16px;
            }
        }
    }
}