/* Modern Cart Styles */

.modern-cart-view {
    max-width: 1440px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.cart-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #111;
    padding-bottom: 20px;
}

.cart-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.cart-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.cart-steps .step.active {
    color: #111;
    font-weight: 700;
}

.cart-steps .step-arrow {
    font-size: 18px;
}

.cart-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cart-main {
    flex: 1;
}

.cart-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.btn-text-del {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.item-chk {
    margin-right: 20px;
}

.item-info-wrap {
    display: flex;
    flex: 1;
    gap: 20px;
}

.item-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

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

.item-details {
    flex: 1;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.item-options {
    font-size: 13px;
    color: #666;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.btn-mod-opt {
    background: #fff;
    border: 1px solid #ddd;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
}

.item-meta {
    display: flex;
    gap: 15px;
}

.meta-tag {
    font-size: 12px;
    color: #888;
}

.meta-tag.point {
    color: #be334a;
    display: flex;
    align-items: center;
    gap: 3px;
}

.item-price-qty {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: right;
}

.item-qty {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qty-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.qty-num {
    font-weight: 700;
    font-size: 16px;
}

.item-subtotal {
    min-width: 120px;
}

.price-val {
    font-size: 20px;
    font-weight: 800;
    color: #111;
}

.price-unit {
    font-size: 14px;
    margin-left: 2px;
}

.cart-actions-bottom {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-empty-cart,
.btn-continue {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-empty-cart {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
}

.btn-continue {
    background: #f5f5f5;
    border: none;
    color: #333;
}

.cart-sidebar {
    width: 380px;
    position: sticky;
    top: 100px;
}

.summary-card {
    background: #fff;
    border: 1px solid #111;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 25px;
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #666;
}

.summary-row.point {
    color: #be334a;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.summary-total .label {
    font-size: 16px;
    font-weight: 700;
}

.summary-total .val {
    font-size: 16px;
}

.summary-total strong {
    font-size: 32px;
    color: #ef4444;
    font-weight: 900;
    margin-right: 2px;
}

.btn-order-full {
    width: 100%;
    height: 60px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-order-full:hover {
    background: #000;
}

.cart-notice {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.notice-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-notice ul {
    margin: 0;
    padding: 0 0 0 15px;
}

.cart-notice li {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 5px;
}

.cart-empty {
    padding: 100px 0;
    text-align: center;
    color: #999;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .cart-container {
        flex-direction: column;
    }

    .cart-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-chk {
        margin-bottom: 15px;
    }

    .item-price-qty {
        width: 100%;
        justify-content: space-between;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px dashed #eee;
    }

    .item-subtotal {
        text-align: right;
    }
}