/* by popularity */
.pop-card {
    transition: all 0.5s ease;
    border: 1px solid white;
    cursor: pointer;
}
.pop-card:hover {
    border-color: #4c8fff;
    box-shadow: 0 0 15px rgba(76, 143, 255, 0.5);
    transition: all 0.4s ease;
}

/* Product grid spacing */
.category-more-content {
    margin-top: 0;
} /* Ensure proper spacing between product cards */
.row .col-sm-12.col-md-3.col-xl-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* For mobile responsiveness */
@media (max-width: 767px) {
    .row .col-sm-12.col-md-3.col-xl-3 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .editor-title {
        gap: 12px;
        margin-bottom: 25px;
    }

    .editor-title h3 {
        font-size: 24px;
    }
}
@media (max-width: 768px) {
    .editor-title {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        margin-bottom: 20px;
    }

    .editor-title h3 {
        font-size: 22px;
        width: 100%;
    }

    /* Hide line on mobile */
    .editor-line-genre {
        display: none;
    }
}
@media (max-width: 576px) {
    .editor-title {
        gap: 12px;
        margin-bottom: 18px;
    }

    .editor-title h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .category-nav {
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 5px;
        width: 100%;
    }

    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .category-nav button,
    .btn-filter {
        padding: 7px 14px;
        font-size: 12px;
        border-radius: 20px;
        flex-shrink: 0;
        min-width: fit-content;
    }
    .category-nav::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, transparent, var(--bg-primary));
        pointer-events: none;
    }

    .category-nav::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(to left, transparent, var(--bg-primary));
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}
@media (max-width: 400px) {
    .editor-title h3 {
        font-size: 18px;
    }

    .category-nav button,
    .btn-filter {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 18px;
    }
}
@media (max-width: 576px) {
    .category-nav {
        position: relative;
        scroll-behavior: smooth;
    }

    /* Active button stays visible */
    .category-nav button.active,
    .btn-filter.active {
        scroll-margin-left: 20px;
    }
}

.category-nav button:active,
.btn-filter:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}
.category-nav button:focus,
.btn-filter:focus {
    outline: 2px solid #00b4ff;
    outline-offset: 2px;
}
.category-nav button,
.btn-filter {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.easy-steps {
    background: url("../img/backgrounds/94.png") no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: auto;
    z-index: 100 !important;
    padding: 100px 0 120px 0;
    margin-bottom: -90px;
}
/* .trending-badge {
    position: absolute;
    top: 10px;
    right: 25px;

    background: transparent;
    color: #ffca28;

    padding: 4px 0;
    font-size: 22px;
    font-weight: 900;

    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;

    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
}

.trending-badge i {
    font-size: 26px;
} */

.trending-badge {
    position: absolute;
    top: 10px;
    right: 25px;

    background: transparent;
    padding: 2px 0;

    font-size: 22px;
    font-weight: 900;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 6px;

    background: linear-gradient(45deg, #ff3b3b, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trending-badge i {
    font-size: 28px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
