﻿/********************* Checkout Page *********************/

.checkout-page {
    background: #EFE9DD;
    min-height: 100vh;
}

.checkout-section {
    padding: 80px 0;
}

.checkout-card,
.order-summary-card {
    background: #fff;
    border-radius: 28px;
    padding: 35px;
    border: 1px solid rgba(101, 9, 14, 0.12);
    box-shadow: 0 20px 60px rgba(85, 11, 24, 0.08);
}

    .checkout-card h3,
    .order-summary-card h3 {
        color: #1C1C1C;
        font-family: "Roboto", sans-serif;
        font-size: 34px;
        font-weight: 500;
        margin-bottom: 10px;
    }

.checkout-subtitle {
    color: #555;
    margin-bottom: 30px;
}

.checkout-form-group {
    margin-bottom: 20px;
}

    .checkout-form-group label {
        display: block;
        color: #1C1C1C;
        font-family: "Montserrat", sans-serif;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .checkout-form-group .form-control {
        height: 56px;
        border-radius: 14px;
        border: 1px solid rgba(101, 9, 14, 0.18);
        background: #FCF8ED;
        color: #1C1C1C;
        font-size: 15px;
        padding: 14px 18px;
    }

    .checkout-form-group textarea.form-control {
        height: auto;
        resize: none;
    }

    .checkout-form-group .form-control:focus {
        border-color: #65090E;
        background: #fff;
    }

.checkout-pay-btn {
    width: 100%;
    margin-top: 10px;
}

.order-summary-card {
    position: sticky;
    top: 120px;
}

.summary-product {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 20px;
    background: #FCF8ED;
    margin-bottom: 25px;
}

.summary-product-img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(101, 9, 14, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.summary-product h4 {
    font-size: 20px;
    color: #1C1C1C;
    margin-bottom: 6px;
}

.summary-product p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .summary-list li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        border-bottom: 1px solid rgba(101, 9, 14, 0.12);
        color: #333;
        font-size: 15px;
    }

        .summary-list li b {
            color: #1C1C1C;
            font-weight: 600;
        }

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    margin-top: 10px;
}

    .summary-total span {
        color: #1C1C1C;
        font-size: 18px;
        font-weight: 600;
    }

    .summary-total strong {
        color: #65090E;
        font-family: "Roboto", sans-serif;
        font-size: 36px;
        font-weight: 600;
    }

.secure-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(101, 9, 14, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-top: 25px;
}

    .secure-box span {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 50%;
        background: #65090E;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .secure-box p {
        color: #1C1C1C;
        font-size: 14px;
        margin: 0;
    }


/********************* Checkout Responsive *********************/

@media only screen and (max-width: 991px) {
    .checkout-section {
        padding: 60px 0;
    }

    .order-summary-card {
        position: static;
    }
}

@media only screen and (max-width: 767px) {
    .checkout-card,
    .order-summary-card {
        padding: 24px;
        border-radius: 22px;
    }

        .checkout-card h3,
        .order-summary-card h3 {
            font-size: 26px;
        }

    .summary-total strong {
        font-size: 30px;
    }
}

@media only screen and (max-width: 575px) {
    .checkout-section {
        padding: 40px 0;
    }

    .summary-product {
        align-items: flex-start;
    }

    .checkout-form-group .form-control {
        height: 52px;
        font-size: 14px;
    }
}

.stripe-payment-element {
    padding: 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
}


.success-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

    .success-icon span {
        font-size: 46px;
        font-weight: 700;
        line-height: 1;
    }

.success-details {
    border: 1px solid #eeeeee;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
}

.success-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border-bottom: 1px solid #eeeeee;
}

    .success-detail-item:last-child {
        border-bottom: none;
    }

    .success-detail-item span {
        color: #777777;
        font-size: 14px;
    }

    .success-detail-item b {
        color: #222222;
        font-size: 14px;
        text-align: right;
    }