@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

.cart_content {
    width: 100%;
}

.cart_content1 {
    width: 100%;
    max-width: 1400px;
    height: 200px;
    margin: auto;
}

.cart_content1_inner {
    width: 100%;
    height: 50%;
    display: flex;
}

.cart_content1_emty {
    flex: 9;
}

.cart_content1_text {
    width: 100%;
    height: 50%;
    display: flex;
}

.cart_content1_text div {
    margin: auto;
    font-size: 26px;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: 'Pretendard-Regular';
}

.cart_content2 {
    width: 100%;
    max-width: 1400px;
    min-height: 200px;
    margin: auto;
    margin-top: 60px;
    border-top: 3px solid #4286f4;
    display: flex;
    flex-direction: column;
}

.cart_content2 table {
    width: 100%;
    border-collapse: collapse;
}

.cart_content2 input[type="checkbox"] {
    display: block;
    margin: auto;
    transform: scale(1.5);
    cursor: pointer;
}

.cart_content2 th, .cart_content2 td {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ccc;
    font-family: 'Pretendard-Regular';
}

.cart_name {
    max-width: 200px;
    overflow-x: hidden;
}

.cart_option {
    max-width: 200px;
    overflow-x: hidden;
}

.cart_img img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.cart_title {
    max-width: 260px;
    word-break: break-word;
}

.cart_qty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart_qty span {
    margin: 0 20px;
    font-size: 18px;
    font-family: 'Pretendard-Regular';
}

.cart_price > span:first-child {
    word-break: break-word;
}

.cart_site span {
    padding: 8px 16px;
    background-color: #eb6531;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Pretendard-Regular';
}

.cart_content3 {
    width: 100%;
    max-width: 1400px;
    height: 60px;
    margin: auto;
    display: flex;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.cart_content3_left {
    flex: 2;
    display: flex;
    font-size: 14px;
    font-family: 'Pretendard-Regular';
}

.cart_content3_left > div {
    margin: auto;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 16px;
    background-color: #555555;
    font-weight: bold;
    color: white;
    cursor: pointer;
    font-family: 'Pretendard-Regular';
}

.cart_content4 {
    width: 100%;
    max-width: 1400px;
    height: 220px;
    margin: auto;
    display: flex;
    text-align: center;
    font-size: 18px;
}

.cart_content4 div {
    margin: 30px auto;
}

.cart_content4 button {
    margin: 0 20px;
    height: 60px;
    width: 100%;
    max-width: 220px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background-color: #4286f4;
    border-radius: 8px;
    transition: 0.5s;
    cursor: pointer;
    font-family: 'Pretendard-Regular';
}

.cart_content4 button:hover {
    background-color: #71a8ff;
    transition: 0.5s;
}

.number_down, .number_up {
    font-weight: bold;
    font-size: 1.2rem;
    background-color: #ccc;
    padding: 5px 10px;
    border-radius: 8px;
    color: white;
    font-family: 'Pretendard-Regular';
}

.cnt {
    border: none;
    text-align: center;
    width: 100%;
    max-width: 80px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Pretendard-Regular';
}

.cart_content2 table {
    width: 100%;
    border-collapse: collapse;
}

.cart_content2 th, .cart_content2 td {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ccc;
    white-space: nowrap;
    font-family: 'Pretendard-Regular';
}

@media screen and (max-width: 1200px) {
    .cart_content1_text div {
        font-size: 22px;
    }

    .cart_content2 table, .cart_content3, .cart_content4 {
        width: 100%;
    }

    .cart_img img {
        width: 150px;
        height: 150px;
    }

    .cart_qty span {
        margin: 0 10px;
    }

    .cart_site span {
        font-size: 16px;
    }

    .cart_content2 table, .cart_content2 tbody, .cart_content2 tr, .cart_content2 td {
        display: block;
        width: 100%;
    }

    .cart_content2 tr {
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
    }

    .cart_content2 td {
        text-align: center;
        padding: 10px;
        position: relative;
        border: none;
        margin: 0px auto;
    }

    .cart_content2 td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        z-index: -10;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }

    .cart_content2 th {
        display: none;
    }

    .cart_img img {
        width: 100px;
        height: 100px;
    }

    .cart_qty span {
        font-size: 16px;
    }

    .cart_price > span:first-child {
        font-size: 16px;
    }

    .cart_site span {
        font-size: 14px;
    }

    .cart_list {
        padding: 30px 0px;
    }

    .cart_name {
        max-width: 310px;
    }

    .cart_name div {
        font-weight: bold;
    }

    .cart_option {
        max-width: 310px;
    }
}

@media screen and (max-width: 480px) {
    .cart_content1_text div {
        font-size: 20px;
    }

    .cart_img img {
        width: 80px;
        height: 80px;
    }

    .cart_qty span {
        font-size: 14px;
    }

    .cart_content4 button {
        width: 100%;
    }

    .cart_content4 div {
        font-size: 16px;
    }

}