.entry-summary > .vitja-quantity {
    position: relative;
    width: 95px;
    margin-top: 15px;
    margin-bottom: 0px;
}


input[type="number"] {
    margin-bottom: 0px;
}

.qty_button {
    display: inline-block;
    border-width: 0 !important;
    width: 35px !important;
    height: 35px !important;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.4rem;
    background-repeat: no-repeat;
    background-size: 7px 7px;
    background-position: center 14px;
    line-height: 2.8;
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
}

#vitja-quantity-button {

    width: 100px;
    margin-bottom: 15px;
}

.cart > .vitja-quantity > .qty_button.down { display: none;}
.cart > .vitja-quantity > .qty_button.up { display: none;}

.single_variation_wrap > .vitja-quantity > .qty_button.down { display: none;}
.single_variation_wrap > .vitja-quantity > .qty_button.up { display: none;}

div.woocommerce-variation-add-to-cart.variations_button > div > div.qty_button.down { display: none;}
div.woocommerce-variation-add-to-cart.variations_button > div > div.qty_button.up { display: none;}

.entry-summary > .vitja-quantity > .input-text.qty.text {
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
}

.product_mass_discount {
    display: flex;
    margin-top: 28px;
}

.product_mass_discount .active {
    background: #ffdebf;
}

.product_mass_discount .checkmark {
    position: absolute;
    bottom: 0;
    margin-bottom: -12px;
    width: 24px;
}

.product_mass_discount > .product-offer-box:nth-child(1) {
    border: 3px solid #ea500e;
}

.product_mass_discount > .product-offer-box:nth-child(2) {
    border-top: 3px solid #ea500e;
    border-right: 3px solid #ea500e;
    border-bottom: 3px solid #ea500e;
}

.product_mass_discount > .product-offer-box:nth-child(3) {
    border-top: 3px solid #ea500e;
    border-right: 3px solid #ea500e;
    border-bottom: 3px solid #ea500e;
}

.product_mass_discount > .product-offer-box:nth-child(4) {
    border-top: 3px solid #ea500e;
    border-right: 3px solid #ea500e;
    border-bottom: 3px solid #ea500e;
}

.product_mass_discount .discount-title:nth-child(1) {
    margin-top: 10px;
    color: #212121;
}

.product_mass_discount .discount-title:nth-child(2) {
    margin-top: 10px;
    color: #212121;
}

.discount-best-offer {
    width: max-content;
    background: white;
    position: absolute;
    border: 1px solid #ea500e;
    border-radius: 10px;
    padding: 0 15px;
    margin-top: -36px;
    z-index: 9;
}

.discount-best-offer > img {
    width: 20px;
    float: left;
    margin: 2px 5px;
}

.discount-best-offer > span {
    color: #ea500e;
    font-weight: bold;
    text-transform: uppercase;
}

.product-offer-box {
    font-size: 15px;
    display: flex;
    flex: 1;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    cursor: pointer;
    position: relative;
    padding: 20px 5px;
}

.product-offer-box:not(.active):hover {
    background: #fff1e7;
    transition: 0.5s;
}

.product-offer-box > span {
    display: flex;
    align-items: center;
}

.discount-title {
    text-align: center;
    height: 100%;
    pointer-events: none;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.discount-subtitle {
    font-size: 12px;
    margin: auto;
    line-height: 1;
    text-align: center;
    pointer-events: none;
    color: #212121;
    margin-left: 10px;
}

.discount-subtitle > span {
    font-size: 1.4em;
}

.discount-note {
    margin-top: 0;
    color: #ea500e;
    font-weight: bold;
    font-size: 1.2em;
    pointer-events: none;
    margin-bottom: 0;
}

.product-sale-price {
    color: #ea500e;
    font-size: 20px;
}

.total-sale, .total-price-discount {
    font-size: 20px;
    font-weight: bold;
}

.per-one-box {
    color: #757575;
    font-size: 16px;
    line-height: 1;
}

.total-price-discount-pct,.total-price-discount-pct-mobile {
    background: #ea500e;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    padding: 2px 7px;
}

.total-price-discount-pct-mobile {
    display:none !important;
    font-size:16px;
}

.price-per-one {
    text-decoration: line-through;
}

/* Cart override */
td.product-quantity > div > div.qty_button.up, td.product-quantity > div > div.qty_button.down  { display: none;}


@media only screen and (max-width: 1150px) {

    .vitja-quantity > .input-text.qty.text {
        text-align: center;
        padding-left: 25px;
        padding-right: 25px;
    }

    .checkmark {
        top: 100%;
        transform: translate(0%, -50%)
    }

    .product_mass_discount {
        flex-direction: column;
        height: initial;

    }

    .total-price-discount-pct {
        display:none !important;
    }

    .total-price-discount-pct-mobile {
        display:inline !important;
    }

    .product-offer-box {
        border: 4px solid #ea500e;
    }

    .product_mass_discount > .product-offer-box:nth-child(1) {
        margin-bottom: 40px;
    }

    .product_mass_discount > .product-offer-box:nth-child(2) {
        margin-bottom: 40px;
    }

    .product_mass_discount > .product-offer-box:nth-child(3) {
        margin-bottom: 40px;
    }

    .product_mass_discount > .product-offer-box:nth-child(1) {
        height: 150px;
    }

    .per-one-box {
        display: block;
    }

}
