#cart-page {
    padding-bottom: 100px;
}
#cart-page .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;

    padding-top: 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--white);
}
#cart-page .breadcrumbs.--bold {
    font-weight: bold;
}

#cart-page .title {
    margin: 24px 0;

    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
    color: var(--white);
}

#cart-page .row {
    gap: 24px;
}

#cart-page .info-cell {
    gap: 16px;
}
#cart-page .info-cell .thumbnail {
    border-radius: 8px;
    width: 80px;
    height: 60px;
}
#cart-page .info-cell .wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#cart-page .info-cell .line {
    font-weight: normal;
}
#cart-page .info-cell .name {
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    color:#231816;
}
#cart-page .info-cell .name a {
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    color:#231816;
}
#cart-page .cell-wrapper {
    display: flex;
    justify-content: space-between;
}

#cart-page .line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4px;

    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}
#cart-page .line span {
    font-weight: normal;
}

#cart-page .summary-panel {
    padding: 20px 24px;
    margin-bottom: 24px;
    border-radius: 12px;
    background-color: var(--white);
}

#cart-page .summary-panel .amount {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--border-1);

    font-size: 14px;
    line-height: 20px;
}
#cart-page .summary-panel .amount span {
    float: right;
    font-weight: bold;
}

#cart-page .summary-panel .price {
    font-size: 20px;
    line-height: 28px;
}
#cart-page .summary-panel .price span {
    float: right;
    font-weight: bold;
    color: var(--success);
}

#cart-page #detail-btn {
    background-color: var(--light-2);
}

#cart-page .only-mobile {
    display: none;
}
.table tbody td .cell-wrapper {
    border: none;
}
.table tbody tr {
    position: relative;
}
tbody td .cell-wrapper {
    border: none;
}
.table tbody tr:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    width: calc(100% - 48px);
    height: 1px;
    background-color: var(--border-1);
}
@media screen and (min-width: 430px) {
    .row.cart-item-list .col:first-child {
        overflow-x: scroll;
    }
    #cart-page .table tbody tr:not(:last-child):after {
        left: 16px;
        width: calc(100% - 32px);
    }
    .table .plan {
        min-width: 276px;
        padding-right: 16px;
    }
    .table .quantity {
        box-sizing: border-box;
        min-width: 76px;
        width: 1%;
        padding-right: 16px;
    }
    .table .price,
    .table .subtotal {
        box-sizing: border-box;
        min-width: 98px;
        width: 1%;
        padding-right: 16px;
        word-break: keep-all;
    }
    .table .action {
        min-width: 40px;
        width: 1%;
        word-break: keep-all;
    }
}
@media screen and (min-width: 1025px) {
    .table .quantity {
        box-sizing: border-box;
        min-width: 92px;
        width: 1%;
        padding-right: 32px;
        word-break: keep-all;
    }
    .table .price,
    .table .subtotal {
        box-sizing: border-box;
        min-width: 112px;
        width: 1%;
        padding-right: 32px;
        word-break: keep-all;
    }
    .table .action {
        min-width: 36px;
        width: 1%;
        word-break: keep-all;
    }
}

@media screen and (max-width: 430px) {
    #cart-page .title {
        margin-top: 16px;
        margin-bottom: 24px;
    }
    #cart-page .table  tbody tr:not(:last-child):after   {
        content: none !important;
        width: 0px;
    }
    #cart-page .table tbody .cell-wrapper{
        border-bottom: none !important;
    }
    
}
@media screen and (max-width: 430px) {
    #cart-page .row {
        gap: 16px;
    }

    #cart-page .title {
        margin-top: 16px;
        margin-bottom: 16px;
    }
    #cart-page .table thead {
        display: none;
    }
    #cart-page .table tbody tr {
        display: flex;
        flex-direction: column;
    }
    #cart-page .table tbody td {
        padding: 0 16px;
        height: auto;
    }
    #cart-page .table tbody tr:first-child td:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    #cart-page .table tbody tr:first-child td:last-child {
        border-top-right-radius: 0;
    }
    #cart-page .table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 0;
    }
    #cart-page .table tbody tr:last-child td:nth-last-child(2) {
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    #cart-page .table .cell-wrapper {
        border: 0;
        padding: 4px 0;
    }
    #cart-page .table tbody td:first-child .cell-wrapper {
        padding-top: 16px;
    }
    #cart-page .table tbody td:nth-last-child(2) .cell-wrapper {
        border-bottom: 1px solid var(--border-1);
        padding-bottom: 16px;
    }
    #cart-page .info-cell {
        gap: 12px;
    }
    #cart-page .info-cell .wrapper {
        gap: 12px;
    }
    #cart-page .info-cell .line {
        font-weight: bold;
        padding-left: 0 !important;
    }
    #cart-page .line {
        justify-content: space-between;
        padding-left: 92px !important;
    }

    #cart-page .summary-panel {
        padding: 16px;
        margin-bottom: 16px;
    }

    #cart-page .only-mobile {
        display: flex;
    }
}
