.favorite-btn.active svg {
    fill: #dc2626;
    stroke: #dc2626;
}

@keyframes typing {
    0% {
        width: 0
    }

    50% {
        width: 100%
    }

    100% {
        width: 0
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

/* .search-input-wrapper {
    position: relative;
    overflow: hidden;
}

.search-input-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    width: 2px;
    height: 16px;
    background-color: #dc2626;
    animation: blink 0.75s step-end infinite;
} */

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 50;
}

.search-suggestions.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.suggestion-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0.75rem;
    transition: all 0.15s ease;
    cursor: pointer;
    border-left: 2px solid transparent;
}

.suggestion-item:hover {
    background-color: #fef2f2;
    border-left: 2px solid #dc2626;
}

.suggestion-item img {
    width: 32px;
    height: 32px;
    border-radius: 0.375rem;
    object-fit: cover;
}

.suggestion-item span {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    transition: all 0.15s ease;
    cursor: pointer;
    border-left: 2px solid transparent;
    gap: 0.75rem;
}

.history-item:hover {
    background-color: #fef2f2;
    border-left: 2px solid #dc2626;
}

.history-item svg {
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.history-item span {
    font-size: 0.875rem;
    color: #374151;
    flex-grow: 1;
}

.history-item button {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.history-item:hover button {
    opacity: 1;
}

.history-item button svg {
    width: 14px;
    height: 14px;
    color: #6b7280;
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.history-header span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

.history-header button {
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: 500;
}

.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

@keyframes typing {
    0% {
        opacity: 1;
        scale: 1;
    }

    50% {
        opacity: 0.75;
        scale: 0.75;
    }

    100% {
        opacity: 1;
        scale: 1;
    }
}

.sidebar-category-content {
    position: absolute;
    z-index: 9999;
    max-height: 401px;
    max-width: 500px;
    width: auto;
    margin-left: 245px;
    padding: 15px 20px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: none;
}

.sidebar-category:hover~.sidebar-category-content,
.sidebar-category-content:hover {
    display: block !important;
}

.sidebar-category {
    height: 100%;
    overflow-y: scroll;
    max-height: 401px;
}

.text-max-line-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-256px * 8));
    }
}

.animate-marquee {
    animation: marquee 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.swiper-button-disabled {
    background-color: oklch(87% 0 0) !important;
    border-color: oklch(70.8% 0 0) !important;
}

.show_count_btn[data-count]:after {
    position: absolute;
    top: -12px;
    right: 10px;
    content: attr(data-count);
    padding: 4px 6px;
    background-color: var(--color-red-500);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}