.simple-content {
    margin: 0px 5px;
}
.simple-content fieldset {
    text-align: left;
}

.simple-content fieldset h3 {
    margin: 0;
}
.simple-content .name {
    float: none !important;
}
.simple-content .button, #simplecheckout_login .button {
    margin: 0px !important;
}
.simple-content .buttons {
    margin: 0px 0px 15px 0px;
    border: none;
}
.simple-content .form-control {
    width: 100%;
}
#simplecheckout_login .buttons {
    margin: 0;
    border: none;
    background: inherit !important;
    padding: 0px !important;
}
.simplecheckout {
    width:100%;
}
.simplecheckout:after {
    content:"";
    display:block;
    clear:both;
}
.simplecheckout-button-block:after {
    content:"";
    display:block;
    clear:both;
}
.simplecheckout-three-column {
    float:left;
    margin-right:2%;
    min-width: 200px;
    max-width: 500px;
    width:32%;
}
.simplecheckout-three-column + .simplecheckout-three-column + .simplecheckout-three-column {
    margin-right:0px;
    float: right;
}
@media only screen and (max-width:768px) {
    .simplecheckout-three-column {
        display:block;
        float: none;
        min-width: auto !important;
        max-width: 1900px !important;
        width: 100%;
    }
}
.simplecheckout-left-column {
    float:left;
    margin-right:10px;
    min-width: 280px;
    max-width: 900px;
    width:52%;
}
.simplecheckout-right-column {
    float:right;
    min-width: 280px;
    max-width: 900px;
    width:46%;
}
@media only screen and (max-width:1024px) {
    .simplecheckout-left-column {
        display:block;
        float: none;
        min-width: auto !important;
        max-width: 1900px !important;
        width: 100% !important;
    }
    .simplecheckout-right-column {
        display:block;
        float: none;
        min-width: auto !important;
        max-width: 1900px !important;
        width: 100% !important;
    }
}
@media only screen and (max-width:1200px) {
    .simplecheckout label.col-sm-2 {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media only screen and (max-width:768px) {
    .simplecheckout label.col-sm-2 {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.simplecheckout-block {
    clear: both;
    margin-bottom: 20px;
}
.simplecheckout-block-content {
    padding: 10px;
}
@media only screen and (min-width:1200px) {
    .simplecheckout-block-content>fieldset:nth-of-type(2),
    .simplecheckout-block-content>fieldset:nth-last-of-type(2) {
        width: 49%;
        margin-right: 1%;
        float: left;
        text-align: left;
    }
}
.simplecheckout-block-content:after {
    content:"";
    display:block;
    clear:both;
}
.simpleregister {
    margin-bottom: 5px;
}
.simpleregister-block-content {
    margin-bottom: 10px;
    padding: 10px;
}
@media only screen and (min-width:1200px) {
    .simpleregister-block-content>fieldset:nth-of-type(2),
    .simpleregister-block-content>fieldset:nth-last-of-type(2) {
        width: 49%;
        margin-right: 1%;
        float: left;
        text-align: left;
    }
}
.simpleregister-block-content:after {
    content:"";
    display:block;
    clear:both;
}
@media only screen and (max-width:600px) {
    .simpleregister-block-content .simplecheckout-customer {
        width: 100%;
    }
}
.simpleregister-button-block {
    overflow: auto;
    margin-bottom: 20px;
    padding: 6px;

    background: none repeat scroll 0 0 #FFFFFF;
    text-align:right;
}
.simpleregister-button-right {
    float: right;
    text-align: right;
}
.simpleregister-button-left {
    float: left;
    text-align: left;
}
.simplecheckout-methods-table {
    width: 100%;
}
.simplecheckout-methods-table td.code {
    width: 1px;
}
.simplecheckout-methods-table td.title {
    padding: 5px;
}
.simplecheckout-methods-table td.title label {
    display: block !important;
}
.simplecheckout-methods-table td.quote {
    width: 15%;
    text-align: right;
}
.simplecheckout-methods-description {
    padding: 5px;
    margin: 5px 0px;
}
.simplecheckout-required {
    color: #FF0000;
    font-weight: bold;
}
.simplecheckout-button-block {
    clear: both;
    margin-bottom: 20px;
    padding: 6px;
    background: none repeat scroll 0 0 #FFFFFF;
    text-align:right;
}
.simplecheckout-button-right {
    float: right;
    text-align: right;
}
.simplecheckout-button-left {
    float: left;
    text-align: left;
}
.simplecheckout-button {
    display: inline-block;
    padding: 6px 12px 6px 12px;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    -webkit-box-shadow: 0px 2px 2px #DDDDDD;
    -moz-box-shadow: 0px 2px 2px #DDDDDD;
    box-shadow: 0px 2px 2px #DDDDDD;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 12px;
    cursor: pointer;
    -khtml-border-radius: 7px 7px 7px 7px;
}
.simplecheckout-button-left .button {
    margin: 0;
}
@media only screen and (max-width:780px) {
    .simplecheckout-button-left {
        display: none;
    }
}
#simplecheckout_customer .simplecheckout-block-content {
    text-align: center;
}
.simplecheckout-login {
    display: inline-block;
}
.simplecheckout-login-left {
    width:50%;
    text-align: left;
}
.simplecheckout-login-right {
    width:50%;
    text-align:left;
}
.simplecheckout-login-right .button {
    float: left;
    margin: 0;
}
.simplecheckout-login-right input {
    max-width: 160px !important;
    text-align:left;
}
#simplecheckout_cart .form-control {
    display: inline-block !important;
    min-width: 50px;
}
.simplecheckout-cart {
    margin: 0px !important;
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
}
.simplecheckout-cart-total {
    padding: 7px 3px;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    text-align: right;
}
.simplecheckout-cart-total:after {
    content:"";
    display:block;
    clear:both;
}
.simplecheckout-cart-total .buttons {
    background: inherit !important;
    padding: 0px !important;
}
.simplecheckout-cart-total input {
    margin-right: 0px !important;
    max-width: 100px;
}
.simplecheckout-cart-total span.inputs {
    margin: 0 3px 0 0 !important;
    display: inline-block !important;
}
.simplecheckout-cart-total span.inputs input[type=text]{
    margin: 0px;
}
.simplecheckout-cart-total-value {
    display: inline-block;
    margin: 0px 3px;
    min-width: 60px;
}
.simplecheckout-cart-total-remove {
    display: inline-block;
    width: 18px;
    text-align: center;
}
.simplecheckout-cart-total-remove img {
    vertical-align: -2px;
    cursor: pointer;
}
.simplecheckout-cart col.image {
    width: 5%;
}
.simplecheckout-cart col.name {

}
.simplecheckout-cart col.model {
    width: 10%;
}
.simplecheckout-cart col.quantity {

}
.simplecheckout-cart col.price {
    width: 10%;
}
.simplecheckout-cart col.total {
    width: 10%;
}
.simplecheckout-cart col.remove {
    width: 7px;
}
.simplecheckout-cart th {
    padding: 8px;
    border-bottom: 1px solid #DDDDDD;
    background-color: #F8F8F8;
    color: #4D4D4D;
    font-weight: bold;
}
.simplecheckout-cart th.image {
    width: 1px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    position: static !important;
}
.simplecheckout-cart th.name {
    text-align: center;
}
.simplecheckout-cart .name {
    font-size: inherit !important;
}
.simplecheckout-cart th.model {
    text-align: center;
}
.simplecheckout-cart th.quantity {
    text-align: center;
}
.simplecheckout-cart .price {
    text-align: right;
    display: table-cell !important;
    font: inherit !important;
    font-weight: bold !important;
}
.simplecheckout-cart .total {
    text-align: right;
    display: table-cell !important;
    font: inherit !important;
    font-weight: bold !important;
}
.simplecheckout-cart .quantity {
    display: table-cell !important;
    float: none !important;
    position: static !important;
}
.simplecheckout-cart th.remove {
    width: 7px;
    text-align: center;
}
.simplecheckout-cart td {
    padding: 7px;
    border-bottom: 1px solid #DDDDDD;
    vertical-align: top;
}
.simplecheckout-cart td.image {
    text-align: center;
    display: table-cell;
    vertical-align: middle !important;
    position: static !important;
}
.simplecheckout-cart td.name {
    text-align: center;
}
.simplecheckout-cart td.name div.image {
    display: none;
}
.simplecheckout-cart td.model {
    text-align: center;
}
.simplecheckout-cart td.quantity {
    min-width:70px;
    vertical-align:top;
    text-align: center;
    white-space: nowrap;
}
.simplecheckout-cart td.quantity input {
    float: none !important;
}
.simplecheckout-cart  td.quantity .input-group {
    margin: auto !important;
}
.simplecheckout-cart  td.quantity .quantity button {
    margin: 0 !important;
}
.simplecheckout-cart td.quantity img {
    display:inline-block;
    border: 0px;
    cursor:pointer;
}
.simplecheckout-cart td.price {
    text-align: right;
    white-space: nowrap;
    display: table-cell !important;
    font: inherit !important;
}
.simplecheckout-cart td.total {
    text-align: right;
    white-space: nowrap;
    display: table-cell !important;
}
.simplecheckout-cart td.remove {
    padding-right: 3px;
    padding-left: 3px;
    width: 7px;
    vertical-align: top;
    text-align: center;
}
.simplecheckout-cart td.remove img {
    max-width: 30px !important;
    cursor: pointer;
}
.simplecheckout-cart td.product-warning {
    color: #FF0000;
    font-weight: bold;
}
.simplecheckout-cart td.right {
    vertical-align: middle;
    text-align: right;
}
.simplecheckout-three-column .simplecheckout-cart col.image,
.simplecheckout-three-column .simplecheckout-cart th.image,
.simplecheckout-three-column .simplecheckout-cart td.image,
.simplecheckout-three-column .simplecheckout-cart col.price,
.simplecheckout-three-column .simplecheckout-cart th.price,
.simplecheckout-three-column .simplecheckout-cart td.price,
.simplecheckout-three-column .simplecheckout-cart col.model,
.simplecheckout-three-column .simplecheckout-cart th.model,
.simplecheckout-three-column .simplecheckout-cart td.model {
    display: none;
}
.simplecheckout-three-column .simplecheckout-cart td.name .image {
    display: block;
}
.simplecheckout-scroll{
    overflow-y:scroll;
    max-height:300px;
}
.simplecheckout-error-text {
    display: block;
    margin-top: 3px;
    color: #FF0000;
}
.simplecheckout-warning-text {
    margin: 5px 0;
    font-weight: bold;
}
.simplecheckout-warning-block {
    clear: both;
    margin-bottom: 15px;
    padding: 10px 10px 10px 33px;
    border: 1px solid #F8ACAC;
    border-radius: 5px 5px 5px 5px;
    color: #555555;
    text-align: left;
}
.simpleregister-warning-block {
    margin-bottom: 15px;
    padding: 10px 10px 10px 33px;
    border: 1px solid #F8ACAC;
    border-radius: 5px 5px 5px 5px;
    color: #555555;
    text-align: left;
}
.simplecheckout-proceed-payment {
    display: none;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}
#simple_payment_address_block {
    margin-top: 15px;
}
.simplecheckout-customer-same-address {
    text-align: left;
    margin: 15px 0px;
}
#simplecheckout_login {
    margin: auto;
    text-align: center;
}
#simplecheckout_payment_form {
    padding: 5px;
}
#simplecheckout_payment_form .checkout-content {
    display: block;
}
#simplecheckout_payment_form div.buttons {
    display: none;
}
#simplecheckout_login .simplecheckout-block-content {
    padding: 5px !important;
}
#simple_login_layer {
    position:absolute;
    top:0;
    left:0;
    z-index:99990;
    display:none;
    width:100%;
    background-color:#000000;
}
#simple_login {
    position:fixed;
    z-index:99991;
    display: none;
    padding:5px;
    width:300px;
    height:250px;
    border:1px solid #FFD9FF;
    -webkit-border-radius:7px 7px 7px 7px;
    -moz-border-radius:7px 7px 7px 7px;
    border-radius:7px 7px 7px 7px;
    background:none repeat scroll 0 0 #FFFFFF;
    -khtml-border-radius:7px 7px 7px 7px;
}
#simple_login:after {
    content:"";
    display:block;
    clear:both;
}
#simple_login_header {
    padding: 0px 0px;
    text-align: right;
}
#simple_login_header img {
    margin: 0 0 0 auto;
}
.you-will-be-registered {
    font-weight: bold;
    margin-bottom: 10px;
}
.simplecheckout label, .simpleregister label {
    display: inline-block !important;
    margin: 0;
}
#simple_summary {
    display: none;
}
#simplecheckout_step_menu {
    margin-bottom: 10px;
}
.simple-step {
    display: inline-block;
    padding: 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background-color: #D9D9D9;
    color: #000000;
    font-size: 13px;
    -khtml-border-radius: 5px 5px 5px 5px;
    cursor: pointer;
    margin-bottom: 5px;
}
.simple-step-current {
    display: inline-block;
    padding: 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background-color: #38B0E3;
    color: #FFFFFF;
    font-size: 13px;
    -khtml-border-radius: 5px 5px 5px 5px;
}
.simple-step-delimiter {
    display: inline-block;
    vertical-align: middle;
    line-height: 13px;
    margin: 0px 5px;
}
.simple-step-completed {
    display: inline-block;
    padding: 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background-color: #38B0E3;
    color: #FFFFFF;
    font-size: 13px;
    -khtml-border-radius: 5px 5px 5px 5px;
}
.simple-step-completed a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 13px !important;
}
.simplecheckout-summary-info {
    margin-top: 15px !important;
}
.simplecheckout-summary-info th.name {
    text-align: left;
}
.simplecheckout-summary-info td {
    text-align: left;
}
.simplecheckout-cart-buttons .buttons {
    border: none !important;
    padding: 0 !important;
}
#simple_login .simplecheckout-block-content {
    border: none !important;
}
#temp_flat_container {
    text-align: center;
    margin: 10px 0px 20px 0px;
}
#simplecheckout_comment .simplecheckout-block-content {
    border: 0 !important;
    padding: 0 !important;
}
#simplecheckout_comment textarea {
    width: 100% !important;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 100px;
}
.simple-content input[type=text],
.simple-content input[type=password],
.simple-content input[type=email],
.simple-content input[type=tel],
.simple-content input[type=phone],
.simple-content input[type=date],
.simple-content input[type=time],
.simple-content select,
.simple-content textarea {
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px !important;
}
.checkout-heading:after {
    content:"";
    display:block;
    clear:both;
}
.simple-content .checkout-heading {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #333;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px 15px;
}
.checkout-heading span {
    display: inline-block !important;
    float: left;
}
.checkout-heading-button {
    float: right !important;
    display: inline-block !important;
}
.simplecheckout-select-address {
    text-align: left;
    margin-bottom: 10px;
}
.simple-captcha-container {
    margin-top: 5px;
}
.simplecheckout-tooltip {
    display: none;
}
#easyTooltip {
    padding:5px;
    border:1px solid #ccc;
    background:#fde910;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -khtml-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    -webkit-box-shadow: 0px 2px 2px #DDDDDD;
    -moz-box-shadow: 0px 2px 2px #DDDDDD;
    box-shadow: 0px 2px 2px #DDDDDD;
    opacity:1 !important;
}
#easyTooltip:before {
    content:'';
    position:absolute;
    left:10px;
    top:-8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #fde910;
}
.simplecheckout-cart i {
    cursor: pointer;
}

.simple-content .table-responsive{
    margin-bottom: 0 !important;
    border: none !important;
}

@media only screen and (max-width:640px) {
    .simplecheckout-cart col.image,
    .simplecheckout-cart th.image,
    .simplecheckout-cart td.image,
    .simplecheckout-cart col.model,
    .simplecheckout-cart th.model,
    .simplecheckout-cart td.model,
    .simplecheckout-cart col.price,
    .simplecheckout-cart th.price,
    .simplecheckout-cart td.price,
    .simplecheckout-cart td.quantity [data-onclick*=increase],
    .simplecheckout-cart td.quantity [data-onclick*=decrease] {
        display: none !important;
    }
    .simplecheckout-cart td.name div.image {
        display: block;
    }
    
}
@media only screen and (max-width:1000px) {
    .simplecheckout-cart col.model,.simplecheckout-cart th.model,.simplecheckout-cart td.model {
        display: none;
    }
}
@media only screen and (max-width:600px) {
    #total_shipping span:first-child {
        max-width: 300px;
        display: inline-block;
    }
}
@media only screen and (max-width:420px) {
    #total_shipping span:first-child {
        max-width: 200px;
        display: inline-block;
    }
}
.row-customer_register .radio {
    display: inline-block !important;
    margin-right: 10px;
}
.simplecheckout-vertical-menu .checkout-heading {
    cursor: pointer;
    margin-bottom: 3px;
}
.simplecheckout-steps-wrapper {
    padding: 10px;
}
#agreement_checkbox {
    float: left;
    margin-right: 20px;
}
#agreement_checkbox .checkbox {
    margin: 0;
}
.simplecheckout-summary-totals .simplecheckout-cart-total {
    border: 0;
}

/* Bigmag theme: checkout headings and cart block */
.simplecheckout .simplecheckout-block {
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 15px;
    overflow: visible;
    background: #fff;
    border: 1px solid #e7eaea;
    border-radius: 10px;
    transition: box-shadow .3s ease;
}

.simplecheckout .simplecheckout-block:hover {
    box-shadow: 0 0 16px rgba(0, 0, 0, .08);
}

.simplecheckout #simplecheckout_payment_form:empty {
    display: none !important;
}

.simplecheckout .checkout-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 38px;
    margin: 0 0 15px;
    padding: 0 0 13px;
    overflow: visible;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e7eaea;
    border-radius: 0;
    box-shadow: none;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.simplecheckout .checkout-heading > span:first-child {
    float: none !important;
    min-width: 0;
}

.simplecheckout .checkout-heading .checkout-heading-button {
    flex: 0 0 auto;
    float: none !important;
    margin-left: auto;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: right;
}

.simplecheckout .checkout-heading .checkout-heading-button a {
    color: #747d84;
    text-decoration: none;
    transition: color .2s ease;
}

.simplecheckout .checkout-heading .checkout-heading-button a:hover,
.simplecheckout .checkout-heading .checkout-heading-button a:focus {
    color: var(--door-primary-dark, #172631) !important;
}

.simplecheckout .simplecheckout-block-content {
    padding: 0 !important;
}

#simplecheckout_customer .simplecheckout-block-content {
    text-align: left;
}

.simplecheckout .form-group {
    margin-bottom: 14px;
}

.simplecheckout .form-group:last-child {
    margin-bottom: 0;
}

.simplecheckout .form-control {
    min-height: 42px;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #dfe3e6;
    border-radius: 10px;
    box-shadow: none;
    color: #1a1a1a;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.simplecheckout textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.simplecheckout .form-control:focus {
    background: #fff;
    border-color: #aeb7bd;
    box-shadow: 0 0 0 3px rgba(23, 38, 49, .07);
}

.simplecheckout .input-group .form-control:first-child {
    border-radius: 10px 0 0 10px;
}

.simplecheckout .input-group-btn:last-child > .btn {
    min-height: 42px;
    border-radius: 0 10px 10px 0;
}

#simplecheckout_cart {
    --simple-cart-primary: var(--door-primary, #ffd43b);
    --simple-cart-dark: var(--door-primary-dark, #172631);
    --simple-cart-accent: var(--door-accent, #ffd43b);
    --simple-cart-surface: var(--door-cream, #eef2f6);
    --simple-cart-border: #e5e8eb;
    --simple-cart-muted: #747d84;
}

#simplecheckout_cart .table-responsive {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--simple-cart-border) !important;
    border-radius: 10px;
}

#simplecheckout_cart .simplecheckout-cart {
    border: 0;
    background: #fff;
}

#simplecheckout_cart .simplecheckout-cart th {
    padding: 13px 14px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--simple-cart-border);
    color: var(--simple-cart-dark);
    font-family: inherit;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    vertical-align: middle;
}

#simplecheckout_cart .simplecheckout-cart th span {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

#simplecheckout_cart .simplecheckout-cart td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--simple-cart-border);
    color: var(--simple-cart-dark);
    vertical-align: middle;
}

#simplecheckout_cart .simplecheckout-cart tbody tr:last-child td {
    border-bottom: 0;
}

#simplecheckout_cart .simplecheckout-cart th.name,
#simplecheckout_cart .simplecheckout-cart td.name {
    text-align: left;
}

#simplecheckout_cart .simplecheckout-cart td.image img,
#simplecheckout_cart .simplecheckout-cart td.name .image img {
    display: block;
    max-width: 82px;
    height: auto;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--simple-cart-border);
    border-radius: 10px;
}

#simplecheckout_cart .simplecheckout-cart td.name > a {
    color: var(--simple-cart-dark);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

#simplecheckout_cart .simplecheckout-cart td.name > a:hover {
    color: var(--simple-cart-accent) !important;
}

#simplecheckout_cart .simplecheckout-cart .options,
#simplecheckout_cart .simplecheckout-cart td.name small,
#simplecheckout_cart .simplecheckout-cart td.model {
    color: var(--simple-cart-muted);
}

#simplecheckout_cart .simplecheckout-cart .options {
    margin-top: 5px;
    line-height: 1.45;
}

#simplecheckout_cart .simplecheckout-cart td.quantity {
    min-width: 190px;
    vertical-align: middle;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .input-group {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    width: auto;
    max-width: none !important;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn {
    display: inline-flex;
    width: auto;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .btn,
#simplecheckout_cart .simplecheckout-cart td.quantity .form-control {
    height: 40px;
    box-shadow: none;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 0;
    font-size: 12px;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .btn-primary {
    background: var(--simple-cart-primary) !important;
    border-color: var(--simple-cart-primary) !important;
    color: var(--simple-cart-dark) !important;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .btn-primary:hover,
#simplecheckout_cart .simplecheckout-cart td.quantity .btn-primary:focus {
    background: var(--simple-cart-dark) !important;
    border-color: var(--simple-cart-dark) !important;
    color: #fff !important;
}

#simplecheckout_cart .simplecheckout-cart td.quantity [data-onclick="decreaseProductQuantity"] {
    border-radius: 8px 0 0 8px;
}

#simplecheckout_cart .simplecheckout-cart td.quantity [data-onclick="increaseProductQuantity"] {
    border-radius: 0 8px 8px 0;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .form-control {
    width: 48px;
    min-width: 48px;
    padding: 8px 5px;
    background: #fff;
    border: 1px solid var(--simple-cart-border);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    color: var(--simple-cart-dark);
    font-weight: 600;
    text-align: center;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .form-control:focus {
    position: relative;
    z-index: 2;
    border-color: var(--simple-cart-accent);
    box-shadow: 0 0 0 3px rgba(176, 123, 74, .12);
}

#simplecheckout_cart .simplecheckout-cart td.quantity .form-control:disabled {
    background: #f5f6f7;
    border: 1px solid var(--simple-cart-border);
    border-radius: 8px 0 0 8px;
    color: var(--simple-cart-muted);
}

#simplecheckout_cart .simplecheckout-cart td.quantity .btn-danger {
    margin-left: 8px;
    background: #fff4f3;
    border-color: #f1d1cd;
    border-radius: 8px;
    color: #b42318;
}

#simplecheckout_cart .simplecheckout-cart td.quantity .btn-danger:hover,
#simplecheckout_cart .simplecheckout-cart td.quantity .btn-danger:focus {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}

#simplecheckout_cart .simplecheckout-cart td.quantity [data-onclick="removeGift"] {
    margin-left: 0;
    border-radius: 0 8px 8px 0;
}

#simplecheckout_cart .simplecheckout-cart td.price {
    color: var(--simple-cart-muted);
    font-weight: 400 !important;
}

#simplecheckout_cart .simplecheckout-cart td.total {
    color: var(--simple-cart-dark);
    font-weight: 700 !important;
}

#simplecheckout_cart .simplecheckout-cart-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
    margin-top: 0;
    padding: 10px 12px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--simple-cart-border);
    border-radius: 0;
    color: var(--simple-cart-dark);
}

#simplecheckout_cart .table-responsive + .simplecheckout-cart-total {
    margin-top: 10px;
}

#simplecheckout_cart .simplecheckout-cart-total-value {
    min-width: 90px;
    margin-left: 14px;
    font-weight: 700;
}

#simplecheckout_cart .simplecheckout-cart-total-remove {
    color: #b42318;
}

#simplecheckout_cart #total_total {
    margin-top: 8px;
    background: #eef2f6;
    border: 0;
    border-radius: 10px;
    color: var(--simple-cart-dark);
    font-size: 16px;
}

#simplecheckout_cart #total_total .simplecheckout-cart-total-value {
    color: var(--simple-cart-dark);
    font-size: 18px;
}

#simplecheckout_cart .simplecheckout-cart-total span.inputs {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 !important;
}

#simplecheckout_cart .simplecheckout-cart-total span.inputs input[type="text"] {
    width: 140px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--simple-cart-border);
    border-radius: 8px;
    box-shadow: none;
}

#simplecheckout_cart .simplecheckout-cart-total span.inputs input[type="text"]:focus {
    border-color: var(--simple-cart-accent);
    box-shadow: 0 0 0 3px rgba(176, 123, 74, .12);
}

#simplecheckout_cart #simplecheckout_button_cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    background: var(--simple-cart-primary) !important;
    border: 1px solid var(--simple-cart-primary) !important;
    border-radius: 8px;
    color: var(--simple-cart-dark) !important;
    font-weight: 600;
    text-decoration: none;
}

#simplecheckout_cart #simplecheckout_button_cart:hover,
#simplecheckout_cart #simplecheckout_button_cart:focus {
    background: var(--simple-cart-dark) !important;
    border-color: var(--simple-cart-dark) !important;
    color: #fff !important;
}

@media only screen and (max-width: 640px) {
    .simplecheckout .checkout-heading {
        min-height: 36px;
        padding: 0 0 12px;
        font-size: 16px;
    }

    #simplecheckout_cart .table-responsive {
        overflow: visible;
        background: transparent;
        border: 0 !important;
        border-radius: 0;
    }

    #simplecheckout_cart .simplecheckout-cart,
    #simplecheckout_cart .simplecheckout-cart tbody {
        display: block;
        width: 100%;
    }

    #simplecheckout_cart .simplecheckout-cart thead {
        display: none;
    }

    #simplecheckout_cart .simplecheckout-cart tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "name name"
            "quantity total";
        gap: 14px 12px;
        margin-bottom: 10px;
        padding: 14px;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--simple-cart-border);
        border-radius: 10px;
    }

    #simplecheckout_cart .simplecheckout-cart td {
        display: block !important;
        padding: 0;
        border: 0;
    }

    #simplecheckout_cart .simplecheckout-cart td.name {
        grid-area: name;
        min-width: 0;
    }

    #simplecheckout_cart .simplecheckout-cart td.name div.image {
        display: block;
        float: left;
        margin: 0 12px 6px 0;
    }

    #simplecheckout_cart .simplecheckout-cart td.name .image img {
        max-width: 68px;
    }

    #simplecheckout_cart .simplecheckout-cart td.quantity {
        grid-area: quantity;
        min-width: 0;
        text-align: left;
    }

    #simplecheckout_cart .simplecheckout-cart td.total {
        grid-area: total;
        align-self: center;
        text-align: right;
    }

    #simplecheckout_cart .simplecheckout-cart td.remove,
    #simplecheckout_cart .simplecheckout-cart td.image,
    #simplecheckout_cart .simplecheckout-cart td.model,
    #simplecheckout_cart .simplecheckout-cart td.price {
        display: none !important;
    }

    #simplecheckout_cart .simplecheckout-cart td.quantity [data-onclick*="increase"],
    #simplecheckout_cart .simplecheckout-cart td.quantity [data-onclick*="decrease"] {
        display: inline-flex !important;
    }

    #simplecheckout_cart .simplecheckout-cart td.simplecheckout-recurring-product {
        grid-column: 1 / -1;
    }

    #simplecheckout_cart .simplecheckout-cart-total {
        justify-content: space-between;
        padding: 11px 13px;
        text-align: left;
    }

    #simplecheckout_cart .simplecheckout-cart-total-value {
        min-width: 0;
        margin-left: 10px;
        text-align: right;
    }

    #simplecheckout_cart .simplecheckout-cart-total span.inputs {
        width: 100%;
        justify-content: space-between;
    }

    #simplecheckout_cart .simplecheckout-cart-total span.inputs input[type="text"] {
        width: 115px;
        min-width: 0;
    }
}

@media only screen and (max-width: 380px) {
    #simplecheckout_cart .simplecheckout-cart tbody tr {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "quantity"
            "total";
    }

    #simplecheckout_cart .simplecheckout-cart td.total {
        text-align: left;
    }
}
