.c-table caption,
.c-table td,
.c-table th {
    padding: 10px;
    border-bottom: 1px solid #dadada
}

.c-table th {
    text-transform: uppercase
}

.c-table__total {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: right;
    margin-left: auto;
}

.c-table__total .checkout-form.mt-2 {
    display: flex;
    justify-content: flex-end;
}

.c-table__total-sum {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.c-table__total-sum .title {
    margin-right: 5px;
}

.a-cart-page__form {
    background: #fff;
    border-radius: 4px
}

@media (max-width:767px) {
    .c-table {
        box-shadow: inset 0 0 9px 4px #d6d6d6
    }
    .c-table__total {
        font-size: 16px;
        text-align: center;
        font-weight: 400
    }
    .l-body__order .product-cart {
        margin: 0 0 0 -10px
    }
    .c-table tr {
        display: flex;
        flex-wrap: wrap;
        margin-top: 16px;
        border: 1px solid #dadada;
        border-bottom: 2px solid #dadada
    }
    .c-table tr:first-of-type {
        margin-top: 0
    }
    .c-table th {
        display: none
    }
    .c-table__count,
    .c-table__price,
    .c-table__remove {
        display: flex!important;
        align-items: center
    }
    .c-table__count {
        justify-content: flex-start;
        flex: 1 1 30%
    }
    .c-table__price {
        justify-content: center;
        flex: 1 1 30%
    }
    .c-table__remove {
        justify-content: flex-end;
        flex: 1 1 20px
    }
}

.c-table--overflow {
    overflow: auto
}

.c-table--hover td {
    transition: background-color .1s linear
}

.c-table__count,
.c-table__img,
.c-table__price,
.c-table__remove {
    text-align: center
}

.c-table__remove a:hover {
    color: #cd4449
}

.c-table__link {
    font-weight: 600
}

.c-table__quantity {
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.c-table__price {
    font-weight: 600
}

.c-table__footer {
    display: flex;
    margin-top: 16px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap
}

.c-table--scroll {
    overflow: auto;
    max-height: 300px
}

.c-modal .c-table {
    margin-top: 16px
}

.c-table__remove .icon__cart-remove {
    width: 20px;
    height: 20px;
    transition: all .3s ease;
}

.c-table__remove:hover .icon__cart-remove {
    width: 20px;
    height: 20px;
    fill: rgb(65, 64, 64);
}

.c-table__remove {
    position: relative;
}

.c-table__remove a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border: 0
}

@media (max-width:767px) {
    .c-table__remove a {
        position: static
    }
}

.c-table__img a {
    display: flex;
    height: 80px;
    justify-content: center;
    align-items: center
}

.c-table__counter {
    color: var(--muted-text-color, #777)
}

.c-table__item-price {
    font-size: 14px;
    color: var(--main-color)
}

.c-table__link {
    font-weight: 600;
    font-size: 16px;
    max-width: 360px;
    display: inline-block;
    line-height: 1.2
}

.small-cart-list .prop-position {
    color: #777;
    font-size: 12px
}

.a-cart-page {
    margin-bottom: var(--container-indent, 50px)
}

.a-cart-page__title {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: .03em;
    font-weight: 600;
    padding: 0 0 50px 0;
    margin-top: -10px;
    text-align: center;
    text-transform: uppercase
}

@media (max-width:767px) {
    .a-cart-page__title {
        padding-bottom: 20px
    }
}

.a-cart-page .a-cart-table__props {
    font-size: 14px;
    color: var(--muted-text-color, #777)
}

.a-cart-page .a-cart-table__item-title {
    font-size: 14px;
    font-weight: 600
}

.a-cart-page .a-cart-table__link {
    color: var(--main-text-color, #191919);
    transition: all .3s ease;
}

.a-cart-page .a-cart-table__link:active,
.a-cart-page .a-cart-table__link:focus,
.a-cart-page .a-cart-table__link:hover {
    text-decoration: none;
    outline: 0;
    color: var(--main-color);
}

.a-cart-page .a-cart-table__row:last-of-type .a-cart-table__td {
    border-bottom: 1px solid #e8e8e8
}

.a-cart-page .a-cart-table__td {
    vertical-align: middle;
    padding: 20px 0
}

.a-cart-page .a-cart-table__td_img {
    width: 121px
}

.a-cart-page .a-cart-table__td_img a {
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.a-cart-page .a-cart-table__td_img img {
    max-width: 100px;
    height: auto;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 3px;
}

.a-cart-page .a-cart-table__td_price {
    color: var(--main-text-color, #191919);
    font-size: 16px;
    font-weight: 600
}

.a-cart-page .a-cart-table__td_remove:hover .icon--remove {
    fill: #cd4449
}

.a-cart-page .a-cart-table__td_remove .icon--remove {
    width: 20px;
    height: 20px;
    transition: all .3s ease
}

.a-body__cart .c-carousel__title {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: .03em;
    font-weight: 600;
    padding: 0 0 50px 0;
    margin-top: -10px;
    width: 100%
}

.a-body__cart .c-carousel__title--span {
    display: block;
    text-transform: uppercase;
    text-align: center
}

@media (max-width:767px) {
    .a-cart-table__row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 0 15px;
        border: 1px solid #e8e8e8;
    }
}

@media (max-width:767px) {
    .a-cart-table__td {
        flex-grow: 1
    }
    .a-cart-table__td_img {
        flex: 20%;
        width: auto
    }
    .a-cart-table__td_img img {
        margin-left: 10px;
        max-width: 100%!important
    }
    .a-cart-table__td_name {
        flex: 80%;
        padding-left: var(--grid-gutter-width, 20px)!important;
    }
    .a-cart-table__td_img,
    .a-cart-table__td_name {
        border-bottom: 0!important
    }
    .a-cart-table__td_price,
    .a-cart-table__td_remove {
        display: flex;
        align-items: center
    }
    .a-cart-table__td_remove {
        justify-content: flex-end;
        padding-right: 10px!important;
    }
    .a-cart-table__td_count {
        padding-left: 10px!important;
    }
    .deleteItemFromCart {
        width: 20px;
        height: 20px;
    }
    .cart-wrapper .icon__cart,
    .a-cart-page .icon__cart,
    .a-cart-page .a-cart-table__td_remove .icon--remove {
        width: 100%;
        height: 100%;
    }
}

.alreadyInCart::before {
    display: none!important
}


/* cart page */

.cart-wrapper {
    padding-top: 10px;
}

.a-cart-table {
    width: 100%;
}

.a-cart-table .amount {
    height: 40px;
}

@media(max-width: 1200px) {
    .cart-carousel {
        padding: 0 20px;
    }
}

.c-table__promocode .promo-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.c-table__promocode .promo-form>span {
    width: 100%;
    margin-bottom: 5px;
}

.c-table__promocode .input-coupon {
    margin-right: 10px;
}

.c-table__promocode .input-coupon {
    max-width: 50%;
}

@media (max-width:980px) {
    .c-table__total {
        margin-left: 0;
        text-align: center;
    }
    .c-table__footer {
        align-items: center;
        flex-direction: column
    }
    .c-table__promocode {
        margin-bottom: 20px;
    }
    .c-table__promocode .promo-form>span {
        text-align: center;
    }
    .c-table__promocode .promo-form {
        justify-content: center;
    }
}

.empty-cart-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
}

.empty-cart-block .button {
    margin: 0 auto;
}

.empty-cart-block__text {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}