.header-cart-btn-cont {
    position: relative;
    border-radius: 0.4vw;
}

.header-cart-btn-cont:hover {
    background-color: var(--lightest-green);
}

.header-cart-btn-cont .header-cart-btn {
    padding: 0.32vw;
    width: 6.1vw;
    background: transparent !important;
    position: relative;
    gap: 0.1vw;
    font-size: 0.9vw;
    font-weight: bold;
    justify-content: space-between!important;
}

.header-cart-btn-cont .header-cart-btn svg {
    width: 1.7vw;
}

.header-cart-btn-cont .header-cart-btn span.cart-item-qty {
    padding: 0.5vw;
    width: 1.15vw;
    height: 1.15vw;
    position: absolute;
    right: -0.25vw;
    top: 0;
    background-color: #ff0044;
    border-radius: 50%;
    font-weight: 500;
    color: var(--light-bg);
    font-size: 0.78vw;
    animation: animate-cart-item-qty 2s ease-in-out infinite;
}

@keyframes animate-cart-item-qty {
    0%{transform: scale(0.89)}
    50%{transform: scale(1)}
    100%{transform: scale(0.89)}
}

.header-cart-btn-cont .header-cart-window {
    width: 25vw;
    height: 30vw;
    background-color: var(--light-bg);
    box-shadow: 0 0.3vw 0.5vw rgba(0, 0, 0, 0.2);
    border-radius: 1vw;
    position: absolute;
    top: 150%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease-in-out;
    /*overflow: hidden;*/
}

.header-cart-btn-cont:hover .header-cart-window {
    opacity: 1;
    visibility: visible;
}

.header-cart-btn-cont .header-cart-window::before {
    content: "";
    height: 1.5vw;
    width: 100%;
    position: absolute;
    left: 0;
    top: -1.5vw;
}

header .header-cart-items-container {
    width: 100%;
    height: 79%;
    overflow: hidden;
    position: relative;
    justify-content: start!important;
}

header .header-cart-items {
    width: 100%;
    height: 100%;
    overflow: auto;
}
header .header-cart-items::-webkit-scrollbar {
    width: 0.35vw;
}

header .header-cart-items-container ul {
    padding: 0 1vw;
    width: 100%;
    position: relative;
    overflow: auto;
    justify-content: start!important;
}

header .header-cart-items-container ul li {
    padding: 1vw 0;
    width: 100%;
    height: 16vw;
    position: relative;
    justify-content: space-between!important;
}

header .header-cart-items-container ul li:not(:last-child) {
    border-bottom: 1px dashed rgba(192, 192, 192, 0.4);
}

header .header-cart-items-container ul li .right-side-div {
    width: 40%;
    height: 100%;
    gap: 1vw;
    justify-content: start!important;
}

header .header-cart-items-container ul li .right-side-div a {
    width: 100%;
    height: 70%;
    position: relative;
}

header .header-cart-items-container ul li .right-side-div a figure {
    width: 100%;
    height: 100%;
    position: relative;
    transform: scale(0.95);
}

header .header-cart-items-container ul li .right-side-div a figure img {
    width: 100%;
    height: 100%;
}

header .header-cart-items-container ul li .right-side-div a figure .discount-label {
    width: 2.5vw;
    height: 2.5vw;
    position: absolute;
    top: 0.25vw;
    right: 0.25vw;
    z-index: 3;
    color: var(--light-bg);
}

header .header-cart-items-container ul li .right-side-div a figure .discount-label svg {
    width: 100%;
    position: absolute;
    z-index: 1;
    fill: var(--green);
}

header .header-cart-items-container ul li .right-side-div a figure .discount-label span {
    display: inline-block;
    color: var(--light-bg);
    font-size: 0.9vw;
    font-weight: 500;
    position: absolute;
    z-index: 3;
    transform: translateY(-0.1vw);
}


header .header-cart-items-container ul li .left-side-div {
    width: 58%;
    height: 100%;
    gap: 1vw;
    align-items: start!important;
    justify-content: start!important;
}

header .header-cart-items-container ul li .left-side-div h3 {
    font-weight: bold;
    font-size: 1vw;
    color: var(--dark-box-bg);
}

header .header-cart-items-container ul li .left-side-div .color {
    gap: 0.5vw;
}

header .header-cart-items-container ul li .left-side-div .color > span:nth-child(1) {
    padding: 0.15vw;
    width: 1.6vw;
    height: 1.6vw;
    border: 0.1vw solid;
    border-radius: 50%;
}

header .header-cart-items-container ul li .left-side-div .color span:nth-child(1) span {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

header .header-cart-items-container ul li .left-side-div .color > span:nth-child(2) {
    font-weight: 600;
    font-size: 0.85vw;
}

header .header-cart-items-container ul li .left-side-div .size {
    gap: 0.7vw;
}

header .header-cart-items-container ul li .left-side-div .size > span:nth-child(1) {
    font-weight: 500;
    font-size: 1.25vw;
    color: #909090;
    width: 1.6vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

header .header-cart-items-container ul li .left-side-div .size > span:nth-child(2) {
    font-weight: 600;
    font-size: 0.9vw;
    color: var(--dark-box-bg);
}

header .header-cart-items-container ul li .left-side-div .guarantee-msg {
    font-weight: normal;
    font-size: 0.75vw;
    color: #B7BFC5;
    gap: 0.4vw;
}

header .header-cart-items-container ul li .left-side-div .guarantee-msg i {
    width: 1.6vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.25vw;
}

.header-cart-items-price-cont {
    gap: 0.3vw;
    position: absolute;
    bottom: 1.5vw;
    left: 1.5vw;
}

.header-cart-items-price-cont h3 {
    color: #01c07d !important;
    font-size: 1.5vw!important;
    font-weight: 600;
}

.header-cart-items-price-cont svg.toman {
    width: 2.1vw;
    fill: #01c07d;
}

.header-cart-window-last-div {
    padding: 1vw;
    width: 100%;
    height: 20%;
    border-top: 0.125vw solid #F1F5F9;
    position: relative;
    justify-content: space-between!important;
}

.header-cart-window-last-div a.btn {
    padding: 0.9vw 0;
    width: 8vw;
    background-color: var(--green);
    color: var(--light-bg);
    font-weight: 500!important;
    font-size: 0.95vw;
    border-radius: 0.7vw;
    transition: all 0.25s ease-in-out;
}

.header-cart-window-last-div a.btn:hover {
    filter: brightness(1.25);
    color: var(--light-green2);
}

.header-cart-window-last-div .right-side {
    gap: 0.75vw;
    align-items: start!important;
}

.header-cart-window-last-div .right-side span {
    font-weight: 300;
    font-size: 0.85vw;
}

.header-cart-window-last-div .right-side h3 {
    font-weight: bold;
    font-size: 1.35vw;
    color: var(--green);
    align-items: start!important;
    gap: 0.25vw;
}

.header-cart-window-last-div .right-side h3 svg {
    width: 1.4vw;
    height: 1.4vw;
    fill: var(--green);
}