.checkout-index-index {
    .minicart-items {
        .product {
            .toggle {
                display: none !important;
            }
            .content{
                display: block !important;
            }
        }
    }
    .opc-block-summary .items-in-cart > .title:after{
        right: 8px !important;
    }
    @media (max-width: 767px) {
        .modal-inner-wrap {

            background: white !important;
        }

        .opc-block-summary > .title {
            font-size: 22px;
            font-weight: 700;
            font-family: 'sen';
        }

        .opc-block-summary {
            background: white !important;
            padding: 22px 16px !important;
        }
    }
}

.checkout-index-index .opc-block-summary {
    box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);
}

.checkout-index-index .opc-sidebar .opc-block-shipping-information .shipping-information {
    @media (min-width: 769px) {
        box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);
    }
}

.checkout-index-index .opc-progress-bar-item._active > span:after {
    border-color: #813772;
}

.checkout-index-index .checkout-container {
    margin: 0 0 20px;
}

.checkout-index-index .page-wrapper {
    background: white;
}

#customer-email-fieldset {
    margin-bottom: 0;
}


.checkout-index-index .fieldset > .field,
.checkout-index-index .fieldset > .fields > .field {
    margin-bottom: 15px;
}


.opc-wrapper input.input-text {
    height: 45px;
    width: 100%;
    padding: 0 10px;
    font-size: 16px;
    border-radius: 3px;
    border: 1px solid #C0C0C0;
    font-family: 'Sen', sans-serif;
}

.checkout-index-index {
    .opc-wrapper .opc {
        box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);
    }
}

@media (min-width: 768px) {
    .checkout-index-index {
        .opc-block-summary {
            background: white !important;
            padding: 0 !important;
        }
        .opc-wrapper {
            .form-login,
            .form-shipping-address {
                max-width: 100%;
            }
        }

        .opc-wrapper #shipping-new-address-form {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            margin-right: -15px;
            margin-left: -15px;

            > .field {
                -webkit-box-flex: 0;
                -ms-flex: 0 0 45%;
                flex: 0 0 45%;
                max-width: 45%;
                padding: 0 15px;
            }

            > .field.street {
                -webkit-box-flex: 0;
                -ms-flex: 0 0 100%;
                flex: 0 0 100%;
                max-width: 96%;
                padding: 0 15px;
                margin-bottom: 10px;

                > .control {
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    -ms-flex-wrap: wrap;
                    flex-wrap: wrap;
                    margin-right: -15px;
                    margin-left: -15px;

                    > .field {
                        -webkit-box-flex: 0;
                        -ms-flex: 0 0 45%;
                        flex: 0 0 45%;
                        max-width: 45%;
                        padding: 0 15px;
                        margin-bottom: 5px;
                        margin-top: 0;

                    }
                }
            }
        }
    }
}

._keyfocus *:focus,
input:not([disabled]):focus,
textarea:not([disabled]):focus,
select:not([disabled]):focus {
    box-shadow: none;
}

//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .checkout-index-index {
        .field {
            .control {
                &._with-tooltip input {
                    margin-right: 0;
                    width: 100%;
                }
            }

            &.choice {
                .field-tooltip {
                    display: inline-block;
                    margin-left: 10px;
                    position: relative;
                    top: -3px;
                }

                .field-tooltip-action {
                    line-height: 24px;
                }
            }

            &._error {
                .control {
                    input,
                    select,
                    textarea {
                        border-color: red;
                    }
                }
            }

            &.required, &._required {
                > .label {
                    position: relative;

                    &:after {
                        content: "*";
                        display: inline-block;
                        color: red;
                        margin: 0 3px;
                    }
                }
            }
        }

        .opc-wrapper {
            .fieldset {
                > .field {
                    .label {
                        font-weight: 500;
                        font-size: 14px;
                        margin-bottom: 5px;
                        font-family: 'Sen', sans-serif;
                    }
                }

                .field-tooltip {
                    display: none;
                }

                select {
                    height: 45px;
                    width: 100%;
                    padding: 0 10px;
                    font-size: 16px;
                    border-radius: 7px;
                    border: 1px solid #C0C0C0;
                    font-family: 'Sen', sans-serif;
                }
            }

            input[type="text"] {
                height: 45px;
                width: 100%;
                padding: 0 10px;
                border-radius: 3px;
                font-size: 16px;
                font-family: 'Sen', sans-serif;
            }
        }
    }
}

/** Progress Bar CSS **/
& when (@media-common = true) {
    .checkout-index-index {
        .opc-wrapper {
            .form-login {
                background: #ffffff;
                margin: 0;
            }

            .form-shipping-address {
                background: #ffffff;
                margin: 0;
            }

            .methods-shipping {
                background: #ffffff;
                margin: 0;
                padding: 0 0 20px 0;
            }
        }
    }
}


@media (max-width: 639px) {
    .opc-wrapper .form-login + .form-shipping-address {
        margin-bottom: 0;
    }
}

//Shipping Method

.checkout-index-index .table-checkout-shipping-method tbody tr {
    display: table-row;
    margin: 0;
}

.checkout-index-index .table-checkout-shipping-method tbody td {
    vertical-align: middle;
    font-size: 14px;
    padding: 0 10px;
    font-family: 'Sen', sans-serif;
}

.checkout-index-index .fieldset > .field .additional {
    margin-top: 20px;
}

.checkout-index-index .opc-wrapper .checkout-shipping-address .step-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Sen', sans-serif;
    background: #ED6C02;
    color: #fff;
    padding: 10px;
    border-top-right-radius: 10px;
    margin: 0;
    border: none;
}

.checkout-index-index .checkout-shipping-method {
    background: #fff;
    padding: 0 10px;
}

.opc-block-summary .table-totals tbody  .amount{
    padding: 12px !important;
}
@media (max-width: 767px) {
    .checkout-index-index .checkout-shipping-method .step-title {
        margin-top: -30px;
        font-family: 'Sen', sans-serif;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: 18px;
    }

    .checkout-index-index .opc-block-summary .table-totals tbody {
        .mark {
            font-weight: 600;
            font-family: 'Sen', sans-serif;
            font-size: 16px;
        }
    }


    .checkout-index-index .opc-sidebar .opc-block-summary .product-item .price {
        color: #B3261E;
        font-family: 'Sen', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
    }

}

@media (min-width: 768px) {
    .checkout-index-index .checkout-shipping-method .step-title {
        border: none;
        margin-bottom: 0;
        font-family: 'Sen', sans-serif;
    }

    .opc-wrapper .checkout-shipping-address {
        background: #fff;
        border-top-right-radius: 0;
        box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);
    }

    .checkout-index-index .opc-wrapper .checkout-shipping-address .step-content {
        padding: 30px 20px;
    }

    /** Sidebar CSS on Shipping Step */
    .checkout-index-index .opc-sidebar {
        margin-top: 0;

        .opc-block-summary .product-item .price {
            color: #B3261E;
            font-family: 'Sen', sans-serif;
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
        }
    }

    .checkout-index-index .opc-block-summary {
        background: #FFFFFF;
        border-top-right-radius: 50px;

    }
    .checkout-index-index .opc-block-summary .items-in-cart {
        .title{
            padding-inline: 12px;
        }

    }

    .checkout-index-index .opc-block-summary > .title {
        color: #111;
        font-size: 28px;
        font-style: normal;
        font-family: 'Sen', sans-serif;
        font-weight: 700;
        line-height: 40px; /* 142.857% */
        letter-spacing: 0.35px;
        text-transform: capitalize;
        padding-inline: 12px;
        padding-block: 10px;
    }

    .checkout-index-index .opc-block-summary .table-totals {
        font-size: 16px;
        font-family: 'Sen', sans-serif;
    }

    .checkout-index-index .opc-block-summary .table-totals tbody tr {
        border-bottom: 1px solid #C0C0C0;
        font-family: 'Sen', sans-serif;
    }

    .checkout-index-index .opc-block-summary .table-totals tbody tr:last-child {
        border-bottom: none;
    }

    .checkout-index-index .opc-block-summary .table-totals tbody .mark {
        padding: 10px 0;
        color: #111;
        font-style: normal;
        font-weight: 600;
        font-family: 'Sen', sans-serif;
        line-height: 24px; /* 109.091% */
        letter-spacing: 0.275px;
        text-transform: capitalize;
        padding: 12px;

        .value {
            color: black !important;
        }


        .label {
            display: none;
        }
    }

    .checkout-index-index .opc-block-summary .items-in-cart > .title {
        color: #ED6C02;
        font-size: 20px;
        font-style: normal;
        font-family: 'Sen', sans-serif;
        font-weight: 400;
        line-height: 16px; /* 120% */
        letter-spacing: 0.25px;
        text-transform: capitalize;
    }

    .checkout-index-index .checkout-shipping-method {
        border-bottom-left-radius: 30px;
    }

    .checkout-index-index .checkout-shipping-method {
        padding-bottom: 10px !important;
    }
}

@media (min-width: 769px) {
    .checkout-index-index .opc-wrapper #shipping-new-address-form {
        padding: 20px 0;
    }
}

// Payment Step CSS

.checkout-index-index .checkout-payment-method .main-step-title {
    font-size: 18px;
    font-family: 'Sen', sans-serif;
    background: #ED6C02;
    color: #fff;
    padding: 10px;
    font-weight: 700;
    border-top-right-radius: 10px;
    margin: 0;
    border: none;
}

form#co-payment-form {
    padding: 30px 20px;
    box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);
}

.checkout-index-index .checkout-payment-method {
    background: #fff;
    border-top-right-radius: 0;
    border-bottom-left-radius: 30px;
}

.checkout-index-index .checkout-payment-method .form.payments hr {
    display: none;
}


/** Sidebar CSS on Payemnt-step */

.checkout-index-index {
    .opc-sidebar {
        .opc-block-shipping-information {
            padding: 0;
            background: #fff;
            border-bottom-left-radius: 50px;

            .shipping-information {
                padding: 15px;
                font-style: normal;
                margin-bottom: 30px;
                color: #111;
                text-transform: capitalize;

                .ship-to {
                    margin: 0 0 22px;
                }

            }

            .shipping-information-title {
                font-size: 22px;
                font-weight: 600;
                line-height: 40px; /* 181.818% */
                letter-spacing: 0.275px;
                border-bottom: 1px solid #C0C0C0;
                margin: 0 0 10px;
                padding-bottom: 10px;
                position: relative;
                font-family: 'Sen', sans-serif;
            }

            .shipping-information-content {
                font-size: 16px;
                font-weight: 400;
                letter-spacing: 0.25px;
                font-family: 'Sen', sans-serif;
            }

            .ship-via {
                margin: 0 0 22px;
            }
        }
    }
}

.checkout-index-index .checkout-payment-method .payment-method-content > .actions-toolbar > .primary .action.primary {
    background: #ED6C02;
    border-radius: 3px;
    border: 1px solid #ED6C02;
    font-family: 'Sen', sans-serif;
    box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);

    &:hover {
        background: #002A46;
    }
}


// shipping title
.checkout-index-index .opc-wrapper .checkout-shipping-address .step-title:before {
    content: "";
    width: 35px;
    height: 35px;
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
    background-size: cover;
    background: url('@{baseDir}images/shipping-title-icon.png') no-repeat center;
}

// payment title

.checkout-index-index .checkout-payment-method .main-step-title:before {
    content: "";
    width: 35px;
    height: 35px;
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
    background-size: cover;
    background: url('@{baseDir}images/payment-title-icon.png') no-repeat center;
}


@media (max-width: 639px) {
    #checkout-step-shipping .checkout-index-index .opc-wrapper .form-shipping-address {
        padding: 0 20px 20px;
    }
}


/** Sidebar Order Summary **/
@media (min-width: 768px) {
    .checkout-index-index .column.main .opc-block-summary .product-item {
        font-family: 'Sen', sans-serif;
        padding: 12px !important;
    }

    .checkout-index-index .opc-block-summary .minicart-items-wrapper .minicart-items .product-item-name {
        color: #000;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px; /* 120% */
        letter-spacing: 0.25px;
        text-transform: capitalize;
        font-family: 'Sen', sans-serif;
    }


    .minicart-items .product-item-details .details-qty {
        color: #5A5A5A;
        font-size: 16px;
        line-height: 24px; /* 150% */
        letter-spacing: 0.2px;
        text-transform: capitalize;
        font-family: 'Sen', sans-serif;
    }

    .opc-block-summary .product-item .subtotal {
        font-size: 20px;
        font-family: 'Sen', sans-serif;
    }
}


.checkout-index-index {
    .opc-estimated-wrapper {
        .estimated-block {
            display: flex;
            gap: 12px;
            margin-top: 10px;

            .estimated-label {
                margin: 0;
            }
        }

        .minicart-wrapper {
            margin-top: 0;

            button.action.showcart {
                position: relative;

                &:before {
                    color: #ED6C02;
                }

                .counter.qty {
                    position: relative;
                    top: -10px;
                    background: #ED6C02;
                    border-radius: 50%;
                }
            }

            .action.showcart:before {
                font-size: 40px;
                line-height: 42px;
                position: absolute;
                right: 10px;
            }
        }
    }

    .payment-option._collapsible.opc-payment-additional.discount-code {
        .payment-option-title {
            display: none;
        }

        .payment-option-content {
            display: block !important;
        }

        button.action.action-apply {
            height: 45px;
            background: #ED6C02;
            border-radius: 3px;
            border: 1px solid #ED6C02;
            font-family: 'Sen', sans-serif;
            box-shadow: 0 4px 10px 0 rgba(134, 108, 70, 0.15);
            color: white;
        }

    }
}
