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

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

#msg-about-code {
    text-align: start;
    margin-top: 10px;
    color: #ff0000;

}

.c-table__total {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    border: 1px solid #e8e8e8;
}

.c-table__total .title,
.c-table__total .total-sum {
    display: block;
    width: 50%;
    color: #555;
    font-size: 14px;
    padding: 10px;
}

.c-table__total .title {
    font-weight: 600;
    border-right: 1px solid #e8e8e8;
}

.c-table__total .total-sum {
    font-weight: 500;
}

.cart-table td {
    padding: 30px;
    border: 1px solid #e8e8e8;
}

@media (max-width: 991px) {
    .cart-table td {
        padding: 5px;
    }
}

.c-promo-code {
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-top: none;
}

.c-promo-code > span {
    display: none;
}

.c-promo-code .input-coupon {
    border-radius: 40px;
    max-width: 250px;
    width: 250px;
    min-height: 40px;
    -webkit-padding-before: 0;
    -webkit-padding-after: 0;
    background-color: #ffff;
    padding: 6px 20px;
    border: 2px solid #eee;
}

.c-promo-code  .default-btn {
    background: var(--main-color);
    display: inline-block;
    font-size: 15px;
    color: var(--button-color);
    font-weight: 700;
    margin-left: 5px;
    padding: 8px 25px;
    border: none;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border-radius: 20px;
    cursor:pointer;
}

.c-promo-code .default-btn:hover {
    color: #FFF;
}

@media (max-width: 768px) {
    .c-promo-code  .default-btn {
        width: 100%;
    }

    .c-promo-code .input-coupon {
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
    }

    .c-promo-code {
        text-align: end;
    }
}

.cart-form {
    margin-bottom: 60px;
    background: #fff;
}

.total-price__title {
    font-size: 20px;
    color: #222;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 600;
}

.checkout-form .checkout-btn {
    background: var(--main-color);
    display: inline-block;
    font-size: 15px;
    color: var(--button-color);
    font-weight: 700;
    padding: 8px 25px;
    border: none;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border-radius: 20px;
}

.checkout-form .checkout-btn:hover {
    color: #FFF;
}

.owl-stage-outer {
    margin-bottom: -300px;
    padding-bottom: 300px;
}

.cart__related {
    margin-bottom: 60px;
}


.cart-table th {
    padding: 17px 30px;
    border: 1px solid #e8e8e8;
    text-transform: none;
    color: #333;
}

.c-table__img {
    width: 145px;
}

.c-table__one-price {
    width: 200px;
    font-size: 16px;
    color: #222;
    font-weight: 700;
    text-align: center;
}

.c-table__count,
.c-table__price  {
    width: 200px;
}

.c-table__count .cart_form {
    margin-bottom: 0;
    flex-direction: column;
}

.c-table__count .amount_change {
    margin: auto;
    border-radius: 0px;
    border: 2px solid #e2e2e2;
}

.cart-table .c-table__name {
    padding-left: 0;
    border-left: none;
}

.cart-table th.c-table__name {
    padding-left: 30px;
}

.cart-table .c-table__name a {
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.cart-table .c-table__name .prop-position {
    color: #888;
    font-weight: 500;
    font-size: 14px;
}

.cart-table .c-table__img {
    border-right: none;
}

.product-cart .c-table__img:not(th) {
    height: 145px;
}

@media (max-width: 768px) {

    .c-table__total {
        font-size: 16px;
        font-weight: 400;
    }

    .c-table tr {
        display: flex;
        flex-wrap: wrap;
    }

    .c-table tr:first-of-type {
        margin-top: 0;
    }

    .c-table th {
        display: none;
    }

    .c-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .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%;
    }

    .cart-table .prop-position{
        display: none;
    }

    .cart-table .c-table__name {
        padding-left: 10px;
    }
}

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

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

.c-table--hover tr:hover td {
    background-color: #fdfde2;
}

.c-table--striped tr:nth-of-type(even) {
    background: #f3f3f3;
}

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

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

.c-table__link {
    font-weight: 600;
}

.c-table__link:hover {
    text-decoration: underline;
}

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

.c-table__price {
    font-weight: 600;
}

.c-table__footer {
    padding-left: 0;
    list-style: none;
    margin-top: 16px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .c-table__footer {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

.c-table--scroll {
    overflow: hidden auto;
    max-height: 250px;
    padding: 0 15px;
}

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

.addToCart,
.product-info {
    background: var(--main-color);
    display: inline-block;
    font-size: 15px;
    color: var(--button-color);
    font-weight: 700;
    padding: 8px 30px;
    border-radius: 20px;
    transition: color .3s;
    width: auto !important;
}

.product-info:hover {
    color: #fff !important;
}

.addToCart {
    white-space: nowrap;
}

.addToCart:hover {
    color: #fff;
}

.empty-cart-block {
    margin-bottom: 60px;
    margin-top: 60px;
    min-height: 400px;
    background: none;
}

.inCatalog-link {
    background: var(--main-color);
    display: inline-block;
    font-size: 15px;
    color: var(--button-color);
    font-weight: 700;
    padding: 8px 25px;
    border: none;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border-radius: 20px;
}

.inCatalog-link:hover {
    color: #fff;
}

.mg-fake-cart .deleteItemFromCart {
    position: absolute;
    left: -11px;
    top: -11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    background-color: #fff;
    z-index: 1;
    border: 1px solid #ddd;
    line-height: 18px;
}

.mg-fake-cart .checkout-buttons {
    display: flex;
    flex-direction: column;
}

.mg-fake-cart .c-button {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    background: var(--main-color);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 20px;
    color: var(--button-color);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}

.mg-fake-cart .c-button:hover {
    color: #fff;
}

.mg-fake-cart .c-table__footer {
    margin-bottom: 0;
}