/*==========================
Cart Page
==========================*/

.cart-page {
    padding: 120px 0 80px;
    background: #f5f7fb;
    min-height: 100vh;
}

/*==========================
Header
==========================*/

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.cart-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1f2937;
}

.cart-header p {
    color: #6b7280;
    margin: 0;
}

.continue-shopping {
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
    transition: 0.3s;
}

.continue-shopping:hover {
    color: #1d4ed8;
}

.continue-shopping i {
    margin-right: 8px;
}

/*==========================
Cart Card
==========================*/

.cart-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #fff;
    border-radius: 22px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.35s;
}

.cart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.cart-image {
    width: 170px;
    flex-shrink: 0;
}

.cart-image img {
    width: 100%;
    border-radius: 18px;
}

.cart-content {
    flex: 1;
}

.cart-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-badge.service {
    background: #10b981;
}

.cart-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 18px;
}

.cart-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.cart-features span {
    font-size: 14px;
    color: #4b5563;
}

.cart-features i {
    color: #2563eb;
    margin-right: 6px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-row h4 {
    margin: 0;
    font-size: 28px;
    color: #2563eb;
    font-weight: 700;
}

.price-row del {
    color: #9ca3af;
    font-size: 18px;
}

.cart-action a {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #fff2f2;
    color: #ef4444;
    font-size: 20px;
    transition: 0.3s;
}

.cart-action a:hover {
}

/*==========================
Summary
==========================*/

.summary-card {
    position: sticky;
    top: 30px;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.summary-card h3 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #4b5563;
}

.summary-row strong {
    color: #111827;
}

.coupon {
    margin: 25px 0;
    display: flex;
}

.coupon input {
    flex: 1;
    height: 52px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 0 15px;
    outline: none;
}

.coupon button {
    width: 110px;
    border: none;
    background: #2563eb;
    color: #fff;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

.summary-total h2 {
    color: #2563eb;
    margin: 0;
    font-size: 34px;
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #1d4ed8;
}

.secure-box {
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.secure-box div {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #4b5563;
    font-size: 15px;
}

.secure-box i {
    color: #10b981;
    font-size: 18px;
}

/*==========================
Responsive
==========================*/

@media (max-width: 991px) {
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cart-card {
        flex-direction: column;
        text-align: center;
    }

    .cart-image {
        width: 220px;
    }

    .cart-features {
        justify-content: center;
    }

    .price-row {
        justify-content: center;
    }

    .cart-action {
        margin-top: 10px;
    }

    .summary-card {
        margin-top: 30px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 576px) {
    .cart-header h1 {
        font-size: 32px;
    }

    .cart-content h3 {
        font-size: 22px;
    }

    .summary-card {
        padding: 25px;
    }

    .coupon {
        flex-direction: column;
        gap: 12px;
    }

    .coupon input {
        border-radius: 12px;
        border: 1px solid #ddd;
    }

    .coupon button {
        width: 100%;
        border-radius: 12px;
        height: 50px;
    }

    .summary-total h2 {
        font-size: 28px;
    }
}
