.checkout-index-index {
    --osc-bg-color: var(--bg-color);
    --osc-btn-bg-color: var(--secondary);
    --osc-btn-color: var(--white);
    --osc-btn-link-color: var(--info);
    --osc-gutter: 1rem;
    --osc-form-input-placeholder-color: var(--light);
    --osc-step-border-color: var(--light);
    --osc-text-highlight: var(--info);
    --border-color: var(--light);
    --border-radius-base: 3px;
}

/**
 * Layout
 */
.checkout-container.checkout-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.checkout-container .opc-wrapper {
    grid-row: 1;
    grid-column: 1;
}

.checkout-container .iosc-wrapper {
    grid-row: 2;
    grid-column: 1;
}

.checkout-container .iosc-wrapper .title.step-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    font-weight: 500;
    line-height: 1.2;
    padding-top: 25px;
    margin-top: 15px;
    font-family: "Gilroy-Semibold";
}

@media only screen and (min-width: 992px) {
    .checkout-container .iosc-wrapper .title.step-title {
        margin: 0;
        padding: 0;
        border-bottom: 0;
    }
}

.checkout-container .iosc-wrapper .title.step-title:after {
    content: "\f00c";
    color: #fff;
    background: #00b67a;
    order: 1;
    font: normal normal normal 14px/1 FontAwesome;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 100%;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* .checkout-container .iosc-wrapper .title.step-title:after {
    content: "&check;";
    background: #00b67a;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
} */

@media only screen and (min-width: 992px) {

    body {
        background-color: var(--osc-bg-color);
    }

    .checkout-container.checkout-container {
        margin-top: 30px;
        grid-gap: 30px;
        grid-template-columns: auto 35%;
    }

    .checkout-container #iosc-summary, .checkout-container .opc-wrapper {
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,.1);
        padding: 20px 30px;
        border-radius: 5px;
    }

    .checkout-container .iosc-wrapper {
        grid-row: 1;
        grid-column: 2;
    }

    .checkout-container .opc-wrapper {
        grid-row: 1;
        grid-column: 1;
    }
}

/* Magento's summary */
.checkout-container aside.opc-summary-wrapper {
    display: none;
}

.opc-wrapper .btn-sm {
    color: var(--osc-btn-link-color);
    text-decoration: none;
}

.opc-wrapper .btn-sm.primary {
    color: var(--btn-primary-fg);
    background: var(--btn-primary-bg);
}

@media only screen and (min-width: 992px) {
    .opc-wrapper .btn-sm {
        background-color: var(--osc-btn-bg-color);
        padding: 10px;
    }
}

.opc-wrapper .step-title {
    display: block !important;
    padding-top: 25px;
    margin-top: 15px;
    font-size: 1.0rem;
    flex-direction: row;
    margin-bottom: var(--osc-gutter);
    border-top: 1px solid var(--osc-step-border-color);
}

@media only screen and (min-width: 992px) {
    .opc-wrapper .step-title {
        display: flex !important;
    }
}

/* The first title has no top border */
#shipping>.step-title:first-child {
    border: none;
}

@media only screen and (min-width: 992px) {
    /* The first title has no top spacing on md+, because it's in a container */
    #shipping>.step-title:first-child {
        margin-top: 0;
        padding-top: 0;
    }
}

.opc-wrapper .step-title .title-number {
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.opc-wrapper .step-title .title-number:after {
    content: '.';
}

.opc-wrapper .step-title .step-title-text {
    font-size: 1.2rem;
    margin-right: auto;
    font-weight: bold;
}

.opc-wrapper .step-title .step-title-right {

}

.opc-wrapper div.address {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 -20px;
}

.form-group[name='shippingAddressshared.custom_attributes.switch_field'] {
    padding: 0 15px;
}

.opc-wrapper .form-group .field-feedback {
    margin-top: .25rem;
}

.opc-wrapper .form-group input.mage-error {
    border-color: var(--danger);
}

.opc-wrapper .form-group input+.mage-error {
    margin-top: .25rem;
    color: var(--danger);
    font-size: 80%;
}

.checkout-index-index .iosc-summary .title.step-title {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.checkout-index-index .iosc-place-order-container {
    /* display: none; */
}

.checkout-payment-method .payment-option {
    margin: 0;
}

.amblog-sidebar-am_blog_sidebar_banner {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 992px) {

    .amblog-sidebar-am_blog_sidebar_banner {
        max-width: unset;
    }

    .checkout-payment-method .payment-option {
        margin: 0 -15px;
    }
}

#iosc-summary .iosc-place-order-container {
    display: flex;
}

.opc-wrapper .iosc-place-order-container {
    display: none;
}

.opc-estimated-wrapper {
    display: none;
}

@media only screen and (min-width: 992px) {
    #iosc-summary .iosc-place-order-container {
        display: none;
    }

    .opc-wrapper .iosc-place-order-container {
        display: flex;
    }
}
