.cart-page {
    padding: 16px 14px 130px;
    background: #ffffff;
}

.cart-page-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.title-area.cart-wrap {
    display: block;
    border-bottom: 1px solid #1f2937;
    margin: 0 0 22px;
    padding: 0 0 14px;
}

.title-area.cart-wrap h2 {
    margin: 0;
    color: #111827;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.cart-login-guard {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #fde2a8;
    border-radius: 10px;
    background: #fffdf7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-login-guard p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}

.cart-login-guard a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    background: #f8b84c;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.cart-wrap.cart01 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
}

.left-content {
    min-width: 0;
}

.right-content {
    width: 100%;
}

.check-wrap {
    margin-bottom: 14px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
}

.checkbox input[type='checkbox'] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #f8b84c;
}

.checkbox label {
    margin-left: 8px;
    cursor: pointer;
}

.checkbox .text-cont span {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.book-wrap.list-type01 {
    border-top: 1px solid #e5e7eb;
}

.book-items {
    display: grid;
    grid-template-columns: 34px 122px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.book-item.check-wrap {
    margin: 0;
    align-self: start;
    padding-top: 6px;
}

.book-item.book-img {
    width: 122px;
    height: 164px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
}

.book-item.book-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.book-title .badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 9px;
}

.book-title .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e9f2ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.book-title strong {
    display: block;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
}

.book-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.book-info li {
    font-size: 13px;
    color: #6b7280;
}

.book-info li span {
    color: #374151;
}

.book-purchase-wrap {
    text-align: right;
}

.book-purchase-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.book-purchase {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.quantity-view {
    font-size: 13px;
    color: #6b7280;
}

.quantity-view em {
    color: #111827;
    font-style: normal;
    font-weight: 700;
    margin-left: 6px;
}

.book-purchase strong {
    font-size: 18px;
    color: #111827;
}

.unit-price {
    font-size: 13px;
    color: #6b7280;
}

.empty-box {
    padding: 60px 20px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
}

.empty-box p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.cart-total-price {
    margin-top: 16px;
}

.cart-total-price-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #d1d5db;
    background: #f8f8f8;
    padding: 24px 18px;
}

.cart-total-price-inner > div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-total-price-inner > div > span {
    color: #6b7280;
    font-size: 15px;
}

.cart-total-price-inner > div > em {
    color: #111827;
    font-size: 28px;
    font-weight: 800;
}

.cart-total-price-inner > div > em i {
    font-style: normal;
    font-size: 18px;
    font-weight: 600;
}

.left-content .cart-total-price-inner > div > em {
    font-size: 26px;
}

.left-content .cart-total-price-inner > div > em i {
    font-size: 16px;
}

.price-img,
.price-img02 {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #ededed;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.right-content .cart-total-price {
    margin-top: 0;
}

.right-content .cart-total-price-inner {
    border: 1px solid #f8b84c;
    border-radius: 14px;
    background: #ffffff;
    display: block;
    padding: 26px 24px 24px;
}

.right-content .label {
    margin-bottom: 18px;
}

.right-content .label strong {
    color: #111827;
    font-size: 24px;
    font-weight: 800;
}

.right-content .product-price,
.right-content .delivery-price,
.right-content .total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.right-content .product-price,
.right-content .delivery-price {
    margin-bottom: 10px;
}

.right-content .product-price span,
.right-content .delivery-price span {
    color: #6b7280;
    font-size: 16px;
}

.right-content .product-price em,
.right-content .delivery-price em {
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.right-content .product-price em i,
.right-content .delivery-price em i {
    font-style: normal;
    font-size: 13px;
}

.right-content .total-price {
    border-top: 1px solid #eeeeee;
    margin-top: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.total-quantity {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.total-quantity em {
    font-style: normal;
    color: #f97316;
}

.right-content .total-price > em {
    color: #f97316;
    font-size: 30px;
    font-weight: 800;
}

.right-content .total-price > em i {
    font-style: normal;
    font-size: 14px;
}

.button-wrap.flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.btn.btn-full {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.btn.btn-basic {
    background: #f8b84c;
    color: #ffffff;
}

.btn.btn-secondary {
    background: #bfbfbf;
    color: #ffffff;
}

.note-box {
    margin-top: 42px;
    width: 100%;
    border-radius: 10px;
    background: #f8f8f8;
    padding: 22px;
    border: 1px solid #e1e1e1;
}

.note-box h3 {
    margin: 0 0 14px;
    line-height: 1.5;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.note-box h4 {
    margin: 10px 0 4px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.note-box p {
    margin: 0;
    padding-left: 12px;
    line-height: 1.55;
    color: #374151;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .title-area.cart-wrap h2 {
        font-size: 30px;
    }

    .book-items {
        grid-template-columns: 34px 96px minmax(0, 1fr) 150px;
    }

    .book-item.book-img {
        width: 96px;
        height: 132px;
    }

    .book-title strong {
        font-size: 16px;
    }

    .cart-total-price-inner > div > em {
        font-size: 22px;
    }

    .left-content .cart-total-price-inner > div > em {
        font-size: 20px;
    }

    .left-content .cart-total-price-inner > div > em i {
        font-size: 14px;
    }

    .right-content .label strong {
        font-size: 20px;
    }

    .right-content .total-price > em {
        font-size: 24px;
    }
}

@media (max-width: 960px) {
    .cart-wrap.cart01 {
        grid-template-columns: 1fr;
    }

    .right-content .cart-total-price {
        margin-top: 6px;
    }
}

@media (max-width: 640px) {
    .cart-page {
        padding: 14px 12px 130px;
    }

    .title-area.cart-wrap h2 {
        font-size: 26px;
    }

    .cart-login-guard {
        display: block;
    }

    .cart-login-guard a {
        margin-top: 10px;
    }

    .book-items {
        grid-template-columns: 26px 84px minmax(0, 1fr);
        gap: 10px;
    }

    .book-purchase-wrap {
        grid-column: 1 / -1;
        text-align: left;
        padding-left: 120px;
    }

    .book-purchase-inner {
        align-items: flex-start;
    }

    .book-purchase {
        align-items: flex-start;
    }

    .book-item.book-img {
        width: 84px;
        height: 116px;
    }

    .book-title strong {
        font-size: 15px;
    }

    .cart-total-price-inner {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }

    .cart-total-price-inner > div {
        width: 100%;
        justify-content: space-between;
    }

    .price-img,
    .price-img02 {
        display: none;
    }

    .right-content .cart-total-price-inner {
        padding: 20px 16px;
    }

    .right-content .label strong {
        font-size: 18px;
    }

    .right-content .product-price em,
    .right-content .delivery-price em {
        font-size: 18px;
    }

    .right-content .total-price > em {
        font-size: 22px;
    }

    .button-wrap.flex {
        grid-template-columns: 1fr;
    }

    .note-box {
        padding: 16px;
    }
}
