/* =====================================
   CHECKOUT PAGE
===================================== */

.checkout-page {
    background: #eef1f5;
    color: #111827;
    font-family: Arial, sans-serif;
}


.checkout-page .checkout-container {

    max-width: 1340px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: 1fr 380px;

    gap: 30px;
}



/* MAIN */

.checkout-page .checkout-main {

    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #eee;

}



/* TITLE */

.checkout-page .product-title {

    margin-bottom: 25px;

}


.checkout-page .product-title h2 {

    margin: 0;
    font-size: 28px;

}


.checkout-page .product-title span {

    color: #777;

}



/* STEPS */

.checkout-page .checkout-steps-boxes {

    display: flex;
    gap: 15px;
    margin-bottom: 30px;

}


.checkout-page .step-box {

    flex: 1;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    border-radius: 12px;

    padding: 20px;

    text-align: center;

    color: #888;

    font-size: 14px;

    font-weight: 600;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}



.checkout-page .step-box .step-num {

    width: 32px;
    height: 32px;

    line-height: 32px;

    background: #eaeaea;

    color: #666;

    border-radius: 50%;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 8px;

}



.checkout-page .step-box.active {

    background: #111827;

    border-color: #111827;

    color: #fff;

}


.checkout-page .step-box.active .step-num {

    background: #fff;

    color: #111827;

}



/* LOGIN */

.checkout-page .login-alert {

    background: #eef6ff;

    padding: 15px;

    border-radius: 10px;

    margin-bottom: 25px;

}


.checkout-page .login-alert a {

    color: #2563eb;

    font-weight: bold;

}



/* HEADINGS */

.checkout-page h3 {
    margin: 30px 0 0 15px;
}

.checkout-product-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkout-product-title img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.checkout-product-title h3 {
    margin: 0;
}

/* CUSTOMER */

.checkout-page .customer-type {

    display: flex;

    gap: 15px;

}


.checkout-page .customer-card {

    flex: 1;

    border: 2px solid #302d2d;

    padding: 20px;

    text-align: center;

    border-radius: 12px;

    cursor: pointer;

    transition: .2s;

}


.checkout-page .customer-card.active {

    border-color: #2563eb;

    background: #eff6ff;

}



/* FORM */

.checkout-page .form-row {

    display: flex;

    gap: 20px;

    margin-top: 15px;

    margin-bottom: 18px;

}


.checkout-page .form-row>div {

    flex: 1;

}


.checkout-page label {

    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #334155;

}



.checkout-page input:not([type="radio"]),
.checkout-page select,
.checkout-page textarea {

    width: 100%;

    padding: 12px 14px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    font-size: 14px;

    box-sizing: border-box;

    background: #fff;

    color: #334155;

}



.checkout-page input:focus,
.checkout-page select:focus,
.checkout-page textarea:focus {

    outline: none;

    border-color: #2563eb;

}



.checkout-page textarea {

    min-height: 100px;

    resize: vertical;

}



/* PHONE */

.checkout-page .phone-group {

    display: flex;

    align-items: center;

    width: 100%;

    border: 1px solid #ddd;

    border-radius: 8px;

    background: #fff;

    overflow: hidden;

}



.checkout-page .phone-group span {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 15px;

    height: 46px;

    background: #f7f7f7;

    border-right: 1px solid #ddd;

    font-weight: 600;

    color: #444;

}



.checkout-page .phone-group input {

    height: 46px;

    border: none;

    padding: 0 14px;

}



/* =====================================
   INVOICE ADDRESS
===================================== */


.checkout-page .invoice-choice {

    width: 100%;
    margin-bottom: 20px;
    padding: 15px;

    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    gap: 12px;

}


/* RADIO SATIRI */

.checkout-page .invoice-choice label {

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 600;
    color: #1f2937;

}


/* RADIO */

.checkout-page .invoice-choice input[type="radio"] {

    width: 16px !important;
    height: 16px;

    margin: 0;

    flex-shrink: 0;

    accent-color: #2563eb;

}


/* RADIO TEXT */

.checkout-page .invoice-choice label span {

    display: inline-block;

}



/* ADDRESS BOX */

.checkout-page #invoice-address-box {

    margin-top: 20px;

    padding: 20px;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

}


.checkout-page #invoice-address-box h3 {

    margin-bottom: 20px;

    font-size: 18px;

    color: #111827;

}


.checkout-page #invoice-address-box .form-row {

    display: flex;

    gap: 15px;

    margin-bottom: 15px;

}


.checkout-page #invoice-address-box input:not([type="radio"]),
.checkout-page #invoice-address-box select {

    width: 100%;

    height: 42px;

    padding: 10px 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    box-sizing: border-box;

}


.checkout-page #invoice-address-box label {

    margin-bottom: 6px;

    font-size: 14px;

    color: #374151;

}



/* PAYMENT */


.checkout-page .payment-methods {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}



.checkout-page .payment-item {

    width: 260px;

}



.checkout-page .payment-method {

    width: 260px;

    min-height: 80px;

    padding: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid #eee;

    border-radius: 12px;

    cursor: pointer;

}



.checkout-page .payment-method:hover {

    border-color: #2563eb;

}



.checkout-page .payment-method input {

    width: auto;

    margin-right: 10px;

}



/* BUTTON */


.checkout-page .checkout-button {

    width: 100%;

    margin-top: 30px;

    padding: 16px;

    border: none;

    border-radius: 12px;

    background: #2563eb;

    color: #fff;

    font-size: 18px;

    cursor: pointer;

}



.checkout-page .checkout-button:hover {

    background: #1d4ed8;

}



/* SIDEBAR */


.checkout-page .checkout-sidebar {

    background: #fff;

    border-radius: 16px;

    border: 1px solid #eee;

    height: max-content;

}



.checkout-page .summary-header {

    background: #252629;

    padding: 20px;

    color: #fff;

    font-size: 20px;

    font-weight: bold;

}



.checkout-page .feature,
.checkout-page .price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.checkout-page .total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    background: #f8fafc;
}



/* BUTTON SIDEBAR */

.checkout-page .payment-go-btn {

    width: 220px;

    display: block;

    margin: 20px auto;

    padding: 12px 25px;

}



/* MOBILE */

@media(max-width:900px) {

    .checkout-page .checkout-container {

        grid-template-columns: 1fr;

        margin: 20px;

    }


    .checkout-page .form-row {

        flex-direction: column;

    }


    .checkout-page .payment-item,
    .checkout-page .payment-method {

        width: 100%;

    }

}


@media(max-width:768px) {

    .checkout-page .checkout-main {

        padding: 20px;

    }


    .checkout-page .checkout-steps-boxes {

        flex-direction: column;

    }

}

/* =========================================================
   CHECKOUT ACCOUNT CARD
   ========================================================= */

#checkout-login-alert {
    padding: 0;
    margin-bottom: 20px;
    background: transparent;
    border: 0;
}


#checkout-account-message.checkout-account-card {
    width: 100%;
    box-sizing: border-box;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e6e8ec;

    border-radius: 16px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   TWO COLUMNS
   ========================================================= */

.checkout-account-columns {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 0;
}


/* =========================================================
   LEFT
   ========================================================= */

.checkout-account-left {
    padding-right: 28px;

    border-right: 1px solid #eceef1;
}


.checkout-account-header {
    display: flex;
    align-items: center;

    gap: 14px;
}


.checkout-account-avatar {
    width: 50px;
    height: 50px;

    min-width: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f3f4f6;

    color: #34373d;

    font-size: 18px;
}


.checkout-account-user {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.checkout-account-status {
    display: flex;
    align-items: center;

    gap: 6px;

    font-size: 12px;

    font-weight: 600;

    color: #22913b;
}


.checkout-account-status i {
    font-size: 11px;
}


.checkout-account-name {
    font-size: 17px;

    font-weight: 700;

    line-height: 1.3;

    color: #202328;
}


.checkout-account-email {
    display: flex;
    align-items: center;

    gap: 6px;

    font-size: 13px;

    color: #777d86;

    word-break: break-word;
}


.checkout-account-email i {
    font-size: 12px;

    color: #999fa7;
}


.checkout-account-phone {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 22px;

    padding-top: 16px;

    border-top: 1px solid #eceef1;

    font-size: 13px;

    color: #666d76;
}


.checkout-account-phone i {
    width: 16px;

    color: #8b9199;
}


/* =========================================================
   RIGHT
   ========================================================= */

.checkout-account-right {
    padding-left: 28px;
}


.checkout-address-title {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 15px;
}


.checkout-address-icon {
    width: 38px;
    height: 38px;

    min-width: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f3f4f6;

    color: #34373d;

    font-size: 15px;
}


.checkout-address-heading {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.checkout-address-heading strong {
    font-size: 14px;

    font-weight: 700;

    color: #24272d;
}


.checkout-address-heading span {
    font-size: 12px;

    color: #8b9199;
}


/* =========================================================
   ADDRESS BODY
   ========================================================= */

.checkout-address-body {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding-left: 49px;
}


.checkout-address-recipient {
    margin-bottom: 3px;

    font-size: 14px;

    font-weight: 700;

    color: #292c31;
}


.checkout-address-row {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    font-size: 13px;

    line-height: 1.5;

    color: #666d76;
}


.checkout-address-row i {
    width: 15px;

    min-width: 15px;

    margin-top: 3px;

    text-align: center;

    font-size: 12px;

    color: #8b9199;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .checkout-account-columns {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .checkout-account-left {
        padding-right: 0;

        padding-bottom: 20px;

        border-right: 0;

        border-bottom: 1px solid #eceef1;
    }


    .checkout-account-right {
        padding-left: 0;
    }


    .checkout-address-body {
        padding-left: 0;
    }

}