.basket-items-hide {
    /*margin: 40px 0 30px;*/
}
.basket-items-show {
    display: flex;
    flex-direction: column;
}
.basket-items-show .line-tovar-hide {
    display: none !important;
}

.basket-items-hide .line-tovar-hide {
    padding: 28px 0;
    border-bottom: 1px solid #D9D9D9 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.basket-items-hide .line-tovar-hide .name {
    font-size: 17px;
}

.basket-items-hide .line-tovar-hide .js--show-basket {
    font-size: 16px;
    color: #68cb1f;
}

.js--hide-basket,
.js--show-basket,
.mark_all,
.del_all {
    cursor: pointer;
}

.js--hide-basket:hover,
.js--show-basket:hover,
.mark_all:hover,
.del_all:hover {
    opacity: .6;
}

.basket-items-show .hide {
    display: none !important;
}

.cart {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}
@media only screen and (max-width: 896px) {
    .cart {
        flex-direction: column;
    }
}

.cart .price .old {
    position: relative;
    font-size: 15px;
    margin-bottom: 5px;
}
@media only screen and (max-width: 1200px) {
    .cart .price .old {
        font-size: 1.3vw;
    }
}
@media only screen and (max-width: 896px) {
    .cart .price .old {
        font-size: 4vw;
    }
}
.cart .price .old span {
    font-size: 17px;
    text-decoration: line-through;
}
@media only screen and (max-width: 1200px) {
    .cart .price .old span {
        font-size: 1.43vw;
    }
}
@media only screen and (max-width: 896px) {
    .cart .price .old span {
        font-size: 4vw;
    }
}
.cart .price .old,
.cart .price .old span {
    color: #7c7c7c;
}

/*.cart .price .old:after {
    position: absolute;
    content: '';
    width: calc(100% + 20px);
    height: 0px;
    border-top: solid 1px #7c7c7c;
    top: 10px;
    left: -12px;
}
@media only screen and (max-width: 896px) {
    .cart .price .old:after {
        width: calc(100% + 5vw);
        border-top: solid 1px #7c7c7c;
        top: 1vw;
        left: 0;
    }
}*/
.cart .price {
    font-size: 20px;
    grid-area: price;
    align-self: end;
    margin-bottom: 34px;
    justify-self: flex-end;
    text-align: right;
}
@media only screen and (max-width: 1200px) {
    .cart .price {
        font-size: 1.43vw;
    }
}
@media only screen and (max-width: 896px) {
    .cart .price {
        justify-self: left;
        text-align: left;
        font-size: 4vw;
        margin: 5vw 0;
    }
}
.cart .price span {
    font-weight: 500;
    font-size: 22px;
}
@media only screen and (max-width: 1200px) {
    .cart .price span {
        font-size: 1.79vw;
    }
}
@media only screen and (max-width: 896px) {
    .cart .price span {
        font-size: 5vw;
    }
}
.cart .line-tovar {
    display: grid;
    grid-template-areas:
    "cs-checkbox img name number del"
    "cs-checkbox img char price del";
    grid-template-columns: 40px 180px 1fr 1fr 40px;
    padding: 28px 0;

}
@media only screen and (max-width: 1024px) {
    .cart .line-tovar {
        grid-template-areas:
                "cs-checkbox img name del"
                "cs-checkbox img char  del"
                "cs-checkbox number price del";
        grid-template-columns: 40px 180px 1fr 40px;
    }

}
@media only screen and (max-width: 896px) {
    .cart .line-tovar {
        grid-template-columns: 6vw 42vw 37vw 6vw;
        grid-template-areas:
            "cs-checkbox img name del"
            "cs-checkbox img number number"
            "cs-checkbox price price price"
            "cs-checkbox char char char";
        padding: 5vw 0 0;
    }
}
.cart .line-tovar {
    border-top: 1px solid #D9D9D9;
}
.cart .line-tovar:first-child {
    border: unset;
}


.cart .name {
    font-size: 22px;
    line-height: normal;
    grid-area: name;
}
@media only screen and (max-width: 1200px) {
    /*.cart .name {
        font-size: 2.33vw;
    }*/
}
@media only screen and (max-width: 896px) {
    .cart .name {
        font-size: 5vw;
    }
}
.cart .name_a {
    color: #333;
}
.cart .name_a:hover {
	color:#6FC727;
}

.cart .img {
    width: 150px;
    height: 150px;
    background-color: #0A2734;
    grid-area: img;
    object-fit: contain;
}
@media only screen and (max-width: 1280px) {
    /*.cart .img {
        width: 23vw;
        height: 23vw;
    }*/
}
@media only screen and (max-width: 896px) {
    .cart .img {
        width: 40vw;
        height: 40vw;
    }
}
.cart .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart .char {
    font-size: 15px;
    grid-area: char;
    align-self: end;
    margin-bottom: 34px;
    margin-left: 17px;
    line-height: normal;
}
@media only screen and (max-width: 1024px) {
    .cart .char {
        font-size: 1.5vw;
    }
}
@media only screen and (max-width: 896px) {
    .cart .char {
        font-size: 4vw;
        margin-bottom: 5vw;
        margin-left: 5vw;
    }
}
.cart ul.char li {
    list-style: initial;
}

.cart .number {
    user-select: none;
    position: relative;
    text-align: left;
    padding: 0;
    width: 78px;
    grid-area: number;
    justify-self: flex-end;
    height: fit-content;
    margin-right: 140px;
}
@media only screen and (max-width: 1024px) {
    .cart .number {
        margin: 10px 0 0;
        justify-self: start;
    }
}
@media only screen and (max-width: 896px) {
    .cart .number {
        width: 20vw;
        margin-right: 0;
        justify-self: start;
        align-self: end;
    }
}
.cart .number-minus, .cart .number-plus {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: #8F8F8F;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    font-family: arial;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}
@media only screen and (max-width: 896px) {
    .cart .number-minus, .cart .number-plus {
        width: 5vw;
        height: 5vw;
        font-size: 4vw;
        border-radius: 3px;
    }
}
.cart .number-minus {
    left: 0;
    line-height: 17px;
    padding: 0 1px 0 0;
}
@media only screen and (max-width: 896px) {
    .cart .number-minus {
        line-height: 4.5vw;
    }
}
.cart .number-plus {
    right: 0;
    line-height: 20px;
}
@media only screen and (max-width: 896px) {
    .cart .number-plus {
        line-height: 5vw;
    }
}
.cart .number-text {
    display: block;
    font-size: 14px;
    color: #000;
    line-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0 0 20px;
    background: #fff;
    outline: none;
    border: none;
    width: 38px;
    text-align: center;
}
@media only screen and (max-width: 896px) {
    .cart .number-text {
        font-size: 4vw;
        line-height: 5vw;
        height: 5vw;
        margin: 0 0 0 5vw;
        width: 10vw;
    }
}
.cart .cs-checkbox {
    grid-area: cs-checkbox;
}

.cart .del {
    grid-area: del;
    width: 20px;
    height: 20px;
}
@media only screen and (max-width: 896px) {
    .cart .del {
        width: 6vw;
        height: 6vw;
    }
}
.cart .del:before {
    background-image: url("/local/templates/dikart-new/images/cart-del.svg");
    background-repeat: no-repeat;
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
}
@media only screen and (max-width: 896px) {
    .cart .del:before {
        width: 5vw;
        height: 5vw;

    }
}

.cart .block-10 a.button {
    background-color: #0A2734;
}

.cart .mark {
    font-size: 16px;

}
@media only screen and (max-width: 896px) {
    .cart .mark {
        font-size: 4vw;
    }
}

.cart .wrap-mark {
    display: flex;
    justify-content: space-between;
}

.cart .mark .mark_all {
    cursor: pointer;
}

.cart .cs-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.cart .cs-checkbox + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
}

.cart .cs-checkbox + label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 2px solid #8F8F8F;
    border-radius: 3px;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    transition: all 0.2s ease;
}
@media only screen and (max-width: 896px) {
    .cart .cs-checkbox + label::before {
        width: 4.6875vw;
        height: 4.6875vw;
        border: .625vw solid #8F8F8F;
        border-radius: .9375vw;
    }
}
.cart .cs-checkbox:checked + label::before {
    border-color: #8F8F8F;
    background-color: #8F8F8F;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.cart .cs-checkbox:not(:disabled):not(:checked) + label:hover::before {
    border-color: #8F8F8F;
}

#form-basket button[type="submit"] {
    width: 100%;
    background-color: #68cb1f;
    color: #fff;
    font-size: 16px;
    padding: 16px 21px 18px 21px;
    margin: 30px 0 13px 0;
    display: block;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}

@media only screen and (max-width: 1400px) {
    #form-basket button[type="submit"] {

    }
}

@media only screen and (max-width: 896px) {
    #form-basket button[type="submit"] {
        font-size: 4vw;
        line-height: normal;
        padding: 4vw 2vw;
        margin-top: 2.8vw;
    }
}

#form-basket button[type="submit"]:hover {
    opacity: .7;
}

#form-basket button[type="submit"][disabled],
#form-basket button[type="submit"][disabled]:hover {
    background: #ECECEC;
    opacity: 1;
    color: #898888;
    cursor: default;
}

#form-basket .fz152 {
    display: inline-block;
    float: left;
    margin: 0 10px 0 0;
    width: auto !important;
}
@media only screen and (max-width: 896px) {
    #form-basket .fz152 {
        margin-right: 2vw;
    }
}

#form-basket .fz152 input {
    -webkit-appearance: auto !important;
    width: 18px;
    height: 18px;
    padding: 0;
    cursor: pointer;
}
@media only screen and (max-width: 896px) {
    #form-basket .fz152 input {
        width: 4.6875vw;
        height: 4.6875vw;
    }
}
#form-basket input[type="text"] {
    border: solid 1px #ECECEC;
    height: 50px;
}
@media only screen and (max-width: 896px) {
    #form-basket input[type="text"] {
        height: 15vw;
    }
}
#form-basket .error input[type="text"] {
    border-color: orangered;
}

#form-basket .error .error-text {
    position: absolute;
    color: orangered;
    width: 100%;
    font-size: 12px;
    text-align: right;
    top: 18px;
}
@media only screen and (max-width: 896px) {
    #form-basket .error .error-text {
        font-size: 4vw;
        top: 5vw;
    }
}
.cart-form {
    width: 280px;
    /*margin: 100px 0 0 0;*/
    border-left: 1px solid #D9D9D9;
    padding-left: 10px;
    margin-top: 4rem;
}
@media only screen and (max-width: 896px) {
    .cart-form {
        width: 100%;
        border: none;
        padding: 0;
        margin-top: 1vw;
    }
}
.cart-form .form-basket {
    display: flex;
    flex-direction: column;
    position: relative;
}
.cart-form .form-basket h2 {}
@media only screen and (max-width: 896px) {
    .cart-form .form-basket h2 {
        font-size: 5vw;
    }
}
.cart-form .form-basket .error {
    position: relative;
}
.cart-form div label {
    display:block;
    font-size: 15px;
    margin: 15px 0 10px;
    font-weight: 500;
}
@media only screen and (max-width: 896px) {
    .cart-form div label {
        font-size: 4vw;
        margin: 5vw 0 2vw;
    }
}
.cart-form div input {
    background: #ECECEC;
    padding: 18px 21px;
    width: 100%;
    font-size: 14px;
}
@media only screen and (max-width: 1400px) {
    /*.cart-form div input {
      padding: 0.9890rem 1.1538rem 0.9340rem 1.1538rem;
      font-size: 1.45vw;
    }*/
}
@media only screen and (max-width: 896px) {
    .cart-form div input {
        font-size: 4vw;
        line-height: 4.35vw;
        padding: 2.90vw 3.62vw;

        font-weight: 500;
    }
}
.cart .wrap {
    width: calc(100% - 290px);
}
@media only screen and (max-width: 896px) {
    .cart .wrap {
        width: 100%;
    }
}
.submit-span {
    font-size: 12px;
}
@media only screen and (max-width: 896px) {
    .submit-span {
        font-size: 4vw;
    }
}
.cart-form h2 {
    padding: 0;
}
.fz-div {
    display: flex;
}
.fz-div a {
    color: #68cb1f;
}
.result.fancybox-content {
    text-align: center;
}
.result.fancybox-content img {
    width: 80px;
    margin: auto;
}
@media only screen and (max-width: 896px) {
    .result.fancybox-content img {
        width: 8vw;
    }
}
.itog {
    text-align: right;
    font-weight: 500;
    font-size: 22px;
    line-height: initial;
    order: 1;
}
@media only screen and (max-width: 1200px) {
    .itog {
        font-size: 2vw;
    }
}
@media only screen and (max-width: 896px) {
    .itog {
        font-size: 5vw;
        padding: 2vw 0 5vw;
        text-align: center;
    }
}
