.nav-cart {
    height: 50px;
    display: flex;
    align-items: center;
    background-color: var(--secondery-color);
    padding: 0 60px;
    margin-top: 25px;
    border-radius: 5px;
    justify-content: space-between;
    font-size: 24px;
}

.nav-basket-cart {
    border-bottom: 1px solid var(--primary-color);
    color: white;
    font-size: 24px;
}
.megamenue-box:hover ul > .main-menu-category-border {
    visibility: visible;
    opacity: 1;
    transform: translateX(0px);
    transition: all 300ms ease-in;
}

.main-menu-category-border {
    visibility: hidden;
    opacity: 0;
    background: var(--secondery-color);
    transform: translateX(12px);
    transition: all 300ms cubic-bezier(0.47, 0, 0.745, 0.715);
}
.size-woocommerce_thumbnail{
    width: 114px;
    height: 114px !important;
    object-fit: contain;
}
.box-shadow{
    box-shadow: var(--box-shadow) !important;
}
.checkout-box{
    height: 300px;
    overflow-y: scroll;
}
.woocommerce a.remove:hover{
    padding-top: 2px;
}
.price span{
    color: var(--primary-color);
}
/*کد تخفیف*/
.floating-label {
    position: absolute;
    pointer-events: none;
    right: 12px;
    top: 10px;
    transition: 0.2s ease all;
    color: #6c757d;
    font-size: 0.9rem;
    background-color: white;
    padding: 0 5px;
}
.custom-input:focus-within ~ .floating-label,
.custom-input:not(:placeholder-shown) ~ .floating-label {
    top: -12px;
    right: 10px;
    color: #000;
}
.custom-input::placeholder {
    color: transparent;
}
/*mini-cart*/
/*skeleton*/
.item-subtotal.loading {
    position: relative;
    color: transparent !important;
}

.item-subtotal.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(
            90deg,
            #eee 25%,
            #ddd 37%,
            #eee 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.2s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}
@media (max-width: 768px) {
    .container-cart {
        padding: 0 14px;
    }

    .nav-cart {
        justify-content: space-around;
        padding: 0;
        font-size: 18px;
    }

    .nav-cart i {
        font-size: 18px !important;
    }

    .nav-basket-cart {
        font-size: 18px;
    }
}