body {
    background: #f0f0f0 !important;
}

header {
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 4px 0 rgba(199, 199, 199, .5);
}

header .container {
    max-width: 1600px !important;
}

header .icon svg {
    width: 18px;
    height: 18px;
    margin-right: 1rem;
}

#content {
    width: 100%;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps .steps__item {
    color: #787878;
    padding: 10px 25px;
    border-bottom: 5px solid #d0d0d0;
    margin: 0 5px;
    width: 300px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    pointer-events: none;
}

.steps .steps__item--active {
    color: #333;
    border-bottom: 4px solid #f8c82f !important;
}

.simple-content .checkout-heading {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: 19px;
    font-weight: 500;
}

#simplecheckout_shipping_address .delivery-heading {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 20px;
}

#simplecheckout_shipping_address .panel-heading {
    margin-top: 30px;
}

.simple-content .checkout-heading .chevron::before {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: '';
    display: inline-block;
    height: 10px;
    position: relative;
    transform: rotate(-45deg);
    vertical-align: top;
    width: 10px;
    transform: rotate(45deg);
    float: inherit;

}

.simple-content fieldset {
    border: 0;
    padding: 0
}

#simplecheckout_customer .checkout-heading {
    cursor: pointer;
}

#simplecheckout_customer .row-customer_register {
    display: none;
}

#simplecheckout_login {
    position: absolute;
    top: -10000px;
    margin-top: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

.simplecheckout_login_active {
    position: relative !important;
    top: 0 !important;
}

.simplecheckout .simplecheckout-block-content {
    margin-top: 35px;
}

.simplecheckout-block-content label.control-label {
    display: none!important;
}

.form-group .form-control {
    height: auto !important;
    border-radius: 0;
    padding: 16px 40px 16px 10px;
    font-size: 13px;
    border: 0;
    -webkit-box-shadow: inset 0 0 0 1px #ddd;
    box-shadow: inset 0 0 0 1px #ddd;
}

.simplecheckout-block-content .primary-button {
    cursor: pointer;
}

.simplecheckout-block-content .form-group {
    margin-bottom: 2rem;
}

.simplecheckout-block-content .primary-button:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
}

.header-summary {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header-summary .header-summary__item {
    width: 120px;
    text-align: center;
    font-size: 12px;
    line-height: 13px;
    font-weight: 500;
}

.header-summary .header-summary__item .header-summary__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8c82f;
    width: 46px;
    height: 46px;
    margin: 0 auto 8px;
}

.header-summary .header-summary__item .header-summary__icon--truck img {
    width: 29px;

}

.header-summary .header-summary__item .header-summary__icon--calendar svg {
    width: 22px;

}

#simplecheckout_shipping_address .form-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#simplecheckout_shipping_address .form-horizontal .form-group {
    width: 100%;
}

#simplecheckout_shipping_address .form-horizontal .row-shipping_address_firstname,
#simplecheckout_shipping_address .form-horizontal .row-shipping_address_lastname {
    width: 48%;
}

.summary-products .product img {
    width: 90px;
    object-fit: contain;
}

.simplecheckout-block .text-right {
    text-align: right !important;
}

#simplecheckout_cart .before-discount {
    display: flex;
    justify-content: space-between;
}

#simplecheckout_cart .cost-delivery {
    border-top: 0;
}

#simplecheckout_cart #total_total {
    border-bottom: 0;
}

#simplecheckout_cart #total_total .cost-delivery__label {
    font-size: 24px;
}

.simplecheckout #buttons .simplecheckout-button-right {
    max-width: 500px;
    margin: 0 auto;
    float: initial;
    padding: 25px;
}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox {
    display: block;
    margin-bottom: 15px;
    margin-right: 0;
    float: initial;
    text-align: center;
    cursor: pointer;
}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox label {
    display: flex !important;
    align-items: center;
}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox .custom-input {
    display: block;
    height: 20px;
    width: 20px;
    min-width: 20px;
    position: relative;

    background: #fff;
    margin-right: 10px;
    -webkit-box-shadow: inset 0 0 0 1px #ddd;
    box-shadow: inset 0 0 0 1px #ddd;

}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox:not(.disabled):hover .custom-input {
    box-shadow: inset 0 0 0 2px #404040;
}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox .custom-input::after {
    content: "";
    display: none;
    position: absolute;

    left: 0;
    right: 0;
    top: 3px;
    bottom: 0;
    margin: 0 auto;
    width: 6px;
    height: 10px;
    border: solid #000;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox :checked ~ .custom-input::after {
    display: block;
}

.simplecheckout #buttons #simplecheckout_button_confirm {
    justify-content: center;
    cursor: pointer;
}

.simplecheckout #buttons #simplecheckout_button_confirm:hover {
    opacity: 0.7;
}

footer {
    border-top: 1px solid #ededed;
    margin-top: 30px;
    background: #fff;
    padding: 30px 0;

}

.footer-checkout__left {
    width: 60%;
    text-align: right;
}

.footer-checkout__right {
    width: 35%;
    text-align: right;
}

/* cart page */
.discount-code .d-flex {
    justify-content: space-between;
}

.discount-code .discount-code__input {
    width: 75%;
    height: 42px !important;
}

.discount-code .discount-code__submit {
    padding: 10px 21px;
    font-weight: 800;
    border: 1px solid #000;
    cursor: pointer;
    text-transform: uppercase;
}

.primary-transparent-button {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
    font-size: 1.083em;
    -webkit-transition: .25s;
    transition: .25s;
}

.primary-transparent-button:hover {
    color: #fff;
    background-color: #000;
}

.go-to-checkout .go-to-checkout__button {
    justify-content: center;
}

@media (max-width: 768px) {
    /* cart page */
    .cart-container {
        flex-wrap: wrap;
    }

    .cart-container__left {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .cart-container__right {
        width: 100% !important;
        margin-top: 18px;
    }

    /* cart page end */
    .checkout-header .col-4 {
        max-width: fit-content;
    }

    .checkout-header .row {
        justify-content: space-between;
    }

    .checkout-header .logo img {
        max-width: 140px !important;
    }

    .payment-secure-info__text {
        line-height: 12px;
        color: #d0d0d0;
        margin-left: 5px;
    }

    .simple-content {
        margin-top: 0;
    }

    .simplecheckout-block {
        padding: 25px 10px;
    }

    .simple-content .checkout-heading {
        font-size: 16px;
    }

    #simplecheckout_login {
        padding: 0;
    }

    #simplecheckout_login .simplecheckout-block-content {
        padding: 0 !important;
    }

    #simplecheckout_shipping_address .form-horizontal .row-shipping_address_firstname, #simplecheckout_shipping_address .form-horizontal .row-shipping_address_lastname {
        width: 100%;
    }

    .steps {
        align-items: inherit;
    }

    .steps .steps__item {
        font-size: 12px;
        padding: 5px;
    }

    .payment-method .payment-method__select {
        flex-wrap: wrap;
    }

    #payment-methods .payment-method__item {
        flex: 0 0 100%;
    }

    .payment-method .payment-method__item input:checked + label::before {
        display: none;
    }

    .payment-method .payment-method__item input:checked + label::after {
        display: none;
    }

    .payment-method .payment-method__item label {
        display: flex !important;
        align-items: center;
        height: auto !important;
        padding-left: 10px;
    }

    .payment-method .payment-method__icon {
        width: 80px;
        height: 60px;
    }

    .simplecheckout #buttons .simplecheckout-button-right #agreement_checkbox label {
        flex-wrap: wrap;
    }

    .footer-checkout__left {
        width: 100%;
        text-align: center;
    }

    .footer-checkout__right {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

}