
/* c-cart
------------------------------------------------------------------- */
.c-cart {
    position: relative;
}

.c-cart__small {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    color: #fff;
}

.c-cart__small:hover {
    color: #fff;
}

.c-cart__small--icon {
    font-size: 20px;
}

@media (max-width: 1024px) {
    .c-cart__small--icon {
        font-size: 24px;
    }
}

.c-cart__small .pricesht {
    margin-left: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.c-cart__small .currency {
    font-weight: 600;
    margin-left: 5px;
}

.small-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;
}

.small-cart .property {
    display: none;
}

.property {
    display: block;
    margin: 10px 0;
    color: #666;
    font-size: 13px;
}

.small-cart  .c-table__img,
.mg-fake-cart .c-table__img {
    height: 100px;
}

.small-cart .deleteItemFromCart i {
    color: #666;
}

@media (max-width: 767px) {
    .c-cart__small--icon {
        font-size: 22px;
    }
}

.c-cart__small--text {
    position: relative;
    font-size: 20px;
    color: #fff;
}

.c-cart__head {
    border-bottom: 1px solid #ddd;
    padding: 0 10px;
    font-size: 15px;
    color: #555;
    padding-bottom: 10px;
    padding-top: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.c-cart__head--link {
    color: #222;
    transition: all .3s;
}

.c-cart__head--link:hover {
    color: var(--main-color);
}

.c-cart__small--text .countsht {
    position: absolute;
    top: -4px;
    right: -12px;
    border-radius: 50%;
    background: var(--main-color);
    font-size: 15px;
    color: #222;
    width: 23px;
    height: 23px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .c-cart__small--text {
        font-size: 11px;
    }
}

.c-cart__small--price {
    display: none;
}

.small-cart-table tr {
    display: flex;
    margin-bottom: 20px;
    margin-top: 25px;
}

.small-cart-list {
    padding-left: 0;
    list-style: none;
}

.small-cart-list .c-table__link {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all .5s;
}

.small-cart-list .c-table__link:hover {
    color: var(--main-color);
}

.total-sum.c-table__total {
    border: none;
    border-top: 1px solid #ddd;
    margin-top: 35px;
    padding: 0 10px;
    line-height: 65px;
    font-size: 15px;
    margin-bottom: 0;
    width: 100%;
    text-align: left;
    color: #555;
    font-weight: 500;
}

.total-sum.c-table__total span {
    font-weight: 600;
    font-size: 18px;
    margin-left: 5px;
}

.small-cart-list .c-table__quantity {
    display: block;
    font-size: 16px;
    color: #222;
    font-weight: 700;
}

.small-cart-img {
    display: block;
    width: fit-content;
    position: relative;
    padding: 0;
    border: 1px solid #e6e6e6;
    margin-right: 10px;
    max-height: 100%;
    min-width: 100px;
    max-width: 100px;
}

.small-cart .checkout-buttons {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    background: var(--main-color);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 20px;
}

.c-table__footer .checkout-buttons a {
    color: #222;
    transition: all .5s;
}

.small-cart .checkout-buttons:hover a {
    color: #fff;
    transition: all .5s;
}

.deleteItemFromCart {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #AAA;
    font-size: 10px;
    height: 22px;
    background: #fff;
    transition: all .3s;
}

.c-table__remove {
    width: 85px;
}

.deleteItemFromCart:hover {
    color: var(--main-color);
}

.c-cart__small:hover .c-cart__small--text {
    text-decoration: underline;
}

.c-cart__dropdown {
    position: absolute;
    z-index: 90;
    top: 132%;
    right: 0;
    visibility: hidden;
    width: 310px;
    padding: 0 10px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    opacity: 0;
    transform: translateY(30px);
    border-radius: 5px;
    background: #fff;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    z-index: 101;
}

@media (max-width: 1024px) {
    .c-cart__dropdown {
        display: none;
    }
}

.c-cart:hover .c-cart__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}


