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


.header__cart {
    flex-shrink: 0;
}

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

.minicart__dropdown-shadow {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
}

.minicart__dropdown-shadow_active {
    display: block;
}

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

.c-cart__small:hover {
    cursor: pointer;
    border-color: var(--secondary-text-color);
}

.c-cart__small {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 5px;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 0.5rem 2rem 0.5rem 1.5rem;
    width: auto;
    height: 4.6rem;
    border: 1px solid #ffffff44;
    border-radius: 5px;
    color: var(--secondary-text-color);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.25s;
}

.cart__image {
    margin: 0 1rem 0 0;
    display: inline-block;
    display: block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
    width: 2rem;
    height: 2rem;
}

.cart__count-text {
    margin-right: 0.3rem;
}

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

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

.table td,
.table th {
    font-size: 12px;

    line-height: 16px;
    padding: 0.744rem;
    vertical-align: middle;
    text-align: left;

}

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

.table tbody tr {
    border-top: 1px solid var(--border-color);
}

.table tbody tr:last-child {
    border-bottom: 1px solid var(--border-color);
}

.a-cart__dropdown .table tbody tr,
.popup .table tbody tr {
    transition: all 0.4s ease-in-out;
}

.a-cart__dropdown .table tbody tr:hover,
.popup .table tbody tr:hover {
    box-shadow: inset 0 0 10px 0 rgb(0 0 0 / 20%);
}

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

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

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

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

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

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 15px 10px;
    font-size: 14px;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background: var(--main-backgroun-color);
}

.btn-outline-secondary {
    cursor: pointer;
    background: none;
    border: none;
    display: inline-block;
    position: relative;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: 3;
    padding: 8px 10px;
    background: var(--accent-color);
    color: var(--main-text-color);
    margin: 10px;
    border-radius: 21px;
}

.btn-outline-secondary:hover {
    color: var(--secondary-text-color);
    background: var(--secondary-background-color);
}

.btn-primary {
    color: var(--secondary-text-color);
    cursor: pointer;
    background: none;
    border: none;
    display: inline-block;
    position: relative;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    padding: 8px 10px;
    background: var(--secondary-background-color);
    border-radius: 21px;
    margin: 10px;
}

.a-cart__dropdown .btn-outline-secondary,
.a-cart__dropdown .btn-primary {
    padding: 2px 10px;
}

.btn-primary:hover {
    color: var(--main-text-color);
    background: var(--accent-color);
}

.a-cart__dropdown-cards {
    height: 100%;
    width: 100%;
}

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


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

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

    .btn-outline-secondary::before {
        width: 100%;
    }
}

.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: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    height: 100%;
    width: 52.8rem;
    max-width: 100%;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    opacity: 0;
    visibility: hidden;
    transform: translate(100%, 0);
    background: var(--accent-background-color);
    color: var(--main-text-color);
}

.a-cart__dropdown_active {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

.a-cart__dropdown-title {
    margin: 0 2rem 0 0;
    display: block;
    -ms-flex: 1;
    flex: 1;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 500;
}

.a-cart__dropdown-container {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 4rem 2.5rem;
}
.a-cart__dropdown-close {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 0 4rem;
    transition: color 0.25s;
    cursor: pointer;
    color: var(--main-text-color);
}

.a-card__dropdown-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 0 2rem;
}

.a-cart__dropdown-close svg {
    width: 4rem;
    height: 4rem;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}
.a-cart__remove-all {
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 400;
    color: var(--link-color);
    transition: color 0.25s;
}
.a-cart__remove-all svg {
    margin: 0 0.5rem 0 0;
    color: #F0164A;
    width: 1.2rem;
    height: 1.2rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}

.a-cart__remove-all:hover {
    color: #F0164A;
}

.minicart-item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding: 2rem 2rem 9rem 2rem;
    background: var(--main-background-color);
    border-radius: 10px;
}

.minicart-item__price-container {
    display: block;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    min-height: 5rem;
    position: absolute;
    left: 29rem;
    right: 0;
    bottom: 2rem;
}

.a-table__footer-title {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 500;
    margin: 0 0 3rem;
}




.minicart-item__price-one-container {
    font-size: 1.3rem;
    color: #BDC2D3;
    display: block;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}

.minicart__to-order {
    margin: 0 0 3rem;
}

.minicart-item__image {
    width: 9rem;
    height: 9rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: 0 2rem 0 0;
    background: var(--main-background-color);
    border: 1px solid var(--secondary-border-color);
    border-radius: 5px;
}

.minicart-item__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.a-cart__dropdown .minicart__old-price,
.a-cart__dropdown .minicart__sale {
    display: none;
}

.minicart-item__content {
    -ms-flex: 1;
    flex: 1;
}


.minicart-item__code {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 400;
    color: #BDC2D3;
}


.minicart__dropdown-content {
    display: none;
}

.minicart__dropdown-content:last-of-type {
    border-bottom: none;
}

.minicart__dropdown-content_active {
    display: block;
}

.minicart__total {
    justify-content: space-between;
    display: flex;
    align-items: center;
    color: var(--main-text-color);
}

.a-cart__dropdown .alert-primary {
    display: none;
}

.a-cart__dropdown .alert-primary_active {
    display: block;
}

.minicart__total-container {
    width: 100%;
    margin: 0 0 3rem;
    line-height: 1.35;
    font-size: 1.8rem;
    font-weight: 500;
}

.minicart-item__buttons {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.minicart-item__button-more {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    color: #343434;
    transition: color 0.25s;
}

.minicart-item__button-more svg {
    width: 0.4rem;
    height: 1.8rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}

.minicart-item__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(170, 189, 206, 0.25);
    border-radius: 5px;
    padding: 1.5rem;
    min-width: 22.8rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.minicart-item__dropdown._active {
    opacity: 1;
    visibility: visible;
}

.minicart-item__dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
}

.minicart-item__dropdown li {
    padding: 0 0 1.5rem;
    margin: 0 0 1.5rem;
    border-bottom: 1px solid #EFF3F4;
}

.minicart-item__dropdown li:last-of-type {
    padding: 0;
    margin: 0;
    border: none;
}

.minicart-item__dropdown button {
    text-decoration: none;
    color: var(--main-text-color);
    transition: color 0.25s;
    display: block;
}

.minicart-item__dropdown button:hover {
    color: var(--accent-color);
}

.minicart__checkout-buttons {
    padding: 2rem 0 0;
    border-top: 1px solid #E8EBF4;
    display: flex;
}

.minicart__footer .minicart__total-price,
.minicart__dropdown-content .js-cartPrice {
    color: var(--main-text-color);
    font-size: 15px;
    font-weight: 700;
}

.minicart__footer-to-cart {
    margin-right: 1rem;
}

.minicart__footer-close {
    margin-left: 1rem;
}

.minicart__checkout-buttons .btn-primary,
.minicart__checkout-buttons .btn-outline-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.minicart__checkout-buttons .mdi {
    font-size: 20px;
    margin-right: 5px;
}


.minicart-item__title {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 500;
    color: var(--main-text-color);
}

.minicart-item__title:hover {
    color: var(--accent-color);
}
.minicart-item__dropdown .quickview__favorites {
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
}
.minicart-item__dropdown .quickview__favorites svg {
    display: none;
}

.minicart-item {
    margin-bottom: 10px;
}

.minicart-item__price {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: 400;
    color: var(--main-text-color);
}

.minicart__total {
    font-size: 14px;
    line-height: 1.2;

    letter-spacing: 1px;
    color: var(--main-text-color);
}

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

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

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

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

.minicart__to-order {
    width: 100%;
}

.minicart-item__amount {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    width: 25rem;
}

.a-table__footer {
    background: var(--main-background-color);
    border-radius: 10px;
    padding: 4rem 4rem 2.5rem;
}

.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: 480px) {
    .a-cart__dropdown {
        width: 320px;
        max-width: 320px;
    }

    .minicart-item__image {
        width: 80px;
        height: 103px;
    }

    .minicart-item__title {
        max-width: 130px;
    }
}

@media (max-width: 380px) {
    .minicart-item__image {
        width: 60px;
        height: 85px;
    }
}

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