.a-cart {
    position: relative
}

.a-cart__small {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center
}

.a-cart__small:hover .a-cart__small--text {
    text-decoration: underline
}

.a-cart__small--icon {
    font-size: 28px;
    display: flex;
    color: #5b3f97;
    align-items: center;
    justify-content: center
}

.cart-list {
    display: flex;
}

.cart-qty {
    margin-left: 5px;
}

.header__cart:hover .a-cart__dropdown {
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}

.cart {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    top: 2px;
}

.cart:hover .c-cart__small {
    color: var(--main-color);
}

.c-cart__small:hover {
    cursor: pointer;
}

.cart:hover .cart__image {
    fill: var(--main-color);
}

.cart:hover .cart__count {
    background-color: #000;
    color: #fff;
}

.cart__image {
    width: 23px;
    height: 23px;
    background-color: unset;
}

.cart__count {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1;
    left: -13px;
    top: -11px;
    padding: 1px 4px 1px 4px;
    border-radius: 50%;
    background-color: var(--main-color);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    max-height: 16px;
    min-width: 16px;
}

.cart__title {
    position: relative;
    display: block;
    margin-left: 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.table {
    letter-spacing: 0;
    border-spacing: 0px;
    border-collapse: collapse;
}

.table td,
.table th {
    padding: 0.744rem;
    vertical-align: middle;
    text-align: left;
    font-size: 12px;
}

.c-table__name {
    min-width: 0;
}

.c-table__remove {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 104px;
    min-width: 158px;
}

.c-table__remove svg {
    width: 20px;
    height: 20px;
}

.a-cart__dropdown .table tbody tr:nth-child(2n+1),
.popup .table tbody tr:nth-child(2n+1) {
    background-color: rgba(0, 0, 0, .05);
}

.table tbody tr {
    border-top: 1px solid #e8e8e8;
}

.table tbody tr:last-child {
    border-bottom: 1px solid #e8e8e8;
}

.a-cart__dropdown .table tbody tr:hover,
.popup .table tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, .075);
}

.c-table__remove-icon {
    fill: #777;
}

.c-table__remove:hover .c-table__remove-icon {
    fill: #f8353e;
}

.c-table__link:hover {
    color: var(--main-color);
}

.a-cart__empty {
    min-width: 400px;
}

.a-cart__empty div {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1 px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}

.btn-outline-secondary {
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.total__icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

#smallCartTotal {
    display: flex;
    align-items: center;
    font-size: 16px;
}

@media (max-width:1024px) {
    .a-cart__small--icon {
        font-size: 24px
    }
}

@media (max-width:767px) {
    .a-cart__small--icon {
        font-size: 22px
    }
}

.a-cart__small--text {
    font-size: 12px;
    margin-top: 4px;
    color: #666
}

@media (max-width:767px) {
    .a-cart__small--text {
        font-size: 11px
    }
    .c-table__remove {
        min-width: 0;
    }
}

.a-cart__small--price {
    display: none
}

.a-cart__dropdown {
    position: absolute;
    z-index: 90;
    top: 100%;
    right: 0;
    visibility: hidden;
    transition: all .3s;
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    -ms-transform-origin: top left;
    transform-origin: top left;
    opacity: 0;
    border-radius: var(--border-radius, 6px);
    background: #fff;
    width: auto;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)!important;
}

@media (max-width:1024px) {
    .a-cart__dropdown {
        display: none
    }
}

.a-cart-total {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 20px
}

.a-cart-total__icon {
    width: 30px;
    height: 30px;
    margin-right: 10px
}

.small-cart-list {
    padding: 0;
    margin: 0;
    list-style: none
}

.a-table__footer {
    display: flex;
    list-style: none;
    margin: 0;
    justify-content: space-between;
    padding: 15px;
    align-items: center
}

.small-arange-button {
    background-color: var(--accent-color)!important;
    border: 1px solid var(--accent-color)!important
}

.small-arange-button:hover {
    background-color: var(--menu-items-hover-background)!important
}

.alert {
    min-width: 411px;
    font-size: 16px;
}

@media (max-width: 535px) {
    .a-cart__table thead {
        display: none;
    }
    .c-table__img a {
        height: auto!important;
        max-height: 150px;
    }
    .c-table__img img {
        max-height: 150px;
    }
    .a-cart__empty {
        min-width: auto;
    }
    .alert {
        min-width: auto;
    }
}

@media (min-width: 645px) {
    .c-table__name {
        min-width: 340px;
    }
}

@media (max-width: 400px) {
    .cart-qty {
        display: none;
    }
}

.c-table__quantity .qty__inner {
    margin-right: 10px;
}