.header-cart {
    position: relative
}

    .header-cart .span-header {
        position: relative
    }

    .header-cart .header-cart-trigger {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 58px;
        height: 58px;
        padding: 4px 5px;
        color: #fff;
        background: transparent;
        border: 0;
        border-radius: 10px;
        cursor: pointer;
        font: inherit;
        transition: background .2s ease, transform .2s ease
    }

        .header-cart .header-cart-trigger:hover,
        .header-cart .header-cart-trigger[aria-expanded=true] {
            background: rgba(255, 255, 255, .13)
        }

        .header-cart .header-cart-trigger:focus-visible {
            outline: 3px solid rgba(255, 255, 255, .35);
            outline-offset: 2px
        }

    .header-cart .decorSvgCartHome {
        display: grid;
        place-items: center;
        line-height: 1
    }

        .header-cart .decorSvgCartHome svg {
            display: block;
            width: 31px;
            height: 31px;
        }

.header-cart-label {
    color: #fff;
    font-size: 14px;
    font-family: InterSB;
    white-space: nowrap
}

.header-cart .countcart {
    top: 2px !important;
    right: 2px;
    left: auto !important;
    display: grid;
    place-items: center;
    min-width: 20px;
    width: auto;
    height: 20px;
    padding: 0 6px;
    color: #e6001c;
    background: #fff;
    border: 2px solid #e6001c;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-family: InterB
}

.header-cart .cart-top {
    position: absolute;
    z-index: 99999999;
    top: calc(100% + -5px);
    right: 0;
    display: block !important;
    visibility: hidden;
    width: 390px;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    color: #3d434b;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(20, 26, 32, .22);
    text-align: left;
    opacity: 0;
    transform: translateY(10px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease
}

    .header-cart .cart-top:before {
        position: absolute;
        top: -7px;
        right: 22px;
        width: 14px;
        height: 14px;
        content: "";
        background: #fff;
        border-top: 1px solid #e1e5e9;
        border-left: 1px solid #e1e5e9;
        transform: rotate(45deg)
    }

.header-cart.is-open .cart-top {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto
}

.mini-cart-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 14px 16px;
    background: linear-gradient(120deg, #fff5f6, #fff);
    border-bottom: 1px solid #eceff2
}

    .mini-cart-head > div {
        display: grid;
        gap: 3px
    }

    .mini-cart-head strong {
        color: #30363d;
        font-size: 18px;
        font-family: InterB
    }

    .mini-cart-head span {
        color: #858c94;
        font-size: 13px;
    }

.mini-cart-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #858c94;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 50%;
    cursor: pointer
}

    .mini-cart-close:hover {
        color: #e6001c;
        background: #fff0f2;
        border-color: #ffc6cd
    }

.header-cart .list-cart-top {
    max-height: 360px;
    padding: 5px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d5d9de transparent
}

.header-cart .item-cart {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eff1f3
}

    .header-cart .item-cart:last-child {
        border-bottom: 0
    }

    .header-cart .item-cart a {
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 11px;
        align-items: center;
        color: #3d434b !important;
        background: transparent !important;
        text-decoration: none
    }

    .header-cart .item-cart img {
        width: 66px;
        height: 66px;
        margin: 0;
        padding: 4px;
        float: none;
        object-fit: contain;
        background: #f7f8f9;
        border: 1px solid #eef0f2;
        border-radius: 9px
    }

    .header-cart .item-cart a > div {
        display: grid;
        gap: 7px;
        min-width: 0;
        overflow: visible
    }

    .header-cart .item-cart a span {
        display: -webkit-box;
        width: auto;
        margin: 0;
        overflow: hidden;
        color: #454b53;
        font-weight: 600;
        float: none;
        font-size: 15px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2
    }

    .header-cart .item-cart a:hover span {
        color: #e6001c
    }

    .header-cart .item-cart p {
        width: auto;
        margin: 0;
        color: #e6001c;
        float: none;
        font-size: 14px;
        font-family: InterB;
        text-align: left
    }

.mini-cart-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 30px 15px;
    text-align: center
}

    .mini-cart-empty > i {
        display: grid;
        place-items: center;
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
        color: #e6001c;
        background: #fff0f2;
        border-radius: 50%;
        font-size: 23px
    }

    .mini-cart-empty strong {
        color: #3b4148;
        font-size: 15px;
        font-family: InterB
    }

    .mini-cart-empty span {
        margin-top: 5px;
        color: #888f97;
        font-size: 12px
    }

.header-cart .bot-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    margin: 0;
    padding: 12px 14px;
    background: #f7f8f9;
    border-top: 1px solid #e8ebee
}

    .header-cart .bot-cart p {
        margin: 0;
        color: #686f77;
        float: none;
        font-size: 14px;
    }

        .header-cart .bot-cart p strong {
            color: #e6001c;
            font-family: InterB
        }

    .header-cart .bot-cart a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 40px;
        padding: 0 16px;
        color: #fff !important;
        background: #e6001c !important;
        border-radius: 999px;
        float: none;
        font-size: 14px;
        font-family: InterB;
        text-decoration: none
    }

        .header-cart .bot-cart a:hover {
            background: #bd0017 !important;
            color: #fff !important
        }

        .header-cart .bot-cart a i {
            font-size: 10px
        }

.header-cart-backdrop {
    display: none
}

@media (max-width:767px) {
    body.mini-cart-open {
        overflow: hidden
    }

    .header-cart-mobile .header-cart-trigger {
        min-width: 35px;
        width: 35px;
        height: 35px;
        padding: 0;
        color: #333;
        border-radius: 50%
    }

        .header-cart-mobile .header-cart-trigger:hover,
        .header-cart-mobile .header-cart-trigger[aria-expanded=true] {
            background: #fff0f2
        }

    .header-cart-mobile .decorSvgCartHome svg {
        width: 22px;
        height: 22px
    }

    .header-cart-mobile .countcart {
        top: -7px !important;
        right: -8px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-width: 1px
    }

    .header-cart-label {
        display: none
    }

    .header-cart .cart-top {
        position: fixed;
        z-index: 100004;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(390px, 92vw);
        height: 100dvh;
        border: 0;
        border-radius: 16px 0 0 16px;
        opacity: 1;
        transform: translateX(105%);
        transform-origin: right center;
        transition: transform .25s ease, visibility .25s ease
    }

        .header-cart .cart-top:before {
            display: none
        }

    .header-cart.is-open .cart-top {
        visibility: visible;
        transform: none
    }

    .header-cart .list-cart-top {
        max-height: none;
        height: calc(100dvh - 138px);
        padding: 6px 12px
    }

    .header-cart .item-cart a {
        grid-template-columns: 72px minmax(0, 1fr)
    }

    .header-cart .item-cart img {
        width: 72px;
        height: 72px
    }

    .header-cart .bot-cart {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0
    }

    .header-cart .header-cart-backdrop {
        position: fixed;
        z-index: 100003;
        inset: 0;
        display: block;
        visibility: hidden;
        width: 100vw;
        height: 100vh;
        padding: 0;
        background: rgba(16, 20, 24, .52);
        border: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease
    }

    .header-cart.is-open .header-cart-backdrop {
        visibility: visible;
        opacity: 1;
        pointer-events: auto
    }
}

@media (max-width:390px) {
    .header-cart .cart-top {
        width: calc(100vw - 18px)
    }

    .header-cart .bot-cart {
        padding-inline: 10px
    }

        .header-cart .bot-cart a {
            padding-inline: 13px
        }
}

@media (prefers-reduced-motion:reduce) {
    .header-cart .cart-top,
    .header-cart .header-cart-backdrop {
        transition-duration: .01ms !important
    }
}