/* --- Base Styling for the Button (Equivalent to .secondary-button) --- */
.trending-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 40px;

    color: white;
    text-decoration: none;
    font-weight: 500;
    box-sizing: border-box;

    border: none;
    border-radius: 12px;
    cursor: pointer;

    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Animated Gradient Border */
.trending-button::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    background: linear-gradient(90deg, #8b46ff, #5a19e6, #1f5fff, #8b46ff);
    background-size: 300% 300%;
    z-index: -1;
    animation: gradientMove 4s linear infinite;
}

/* Button Background */
.trending-button::after {
    content: "";
    position: absolute;
    inset: 2.5px;
    background: linear-gradient(90deg, #981bdb, #1903bd);
    border-radius: 11px;
    z-index: -1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Hover Shadow */
.trending-button:hover {
	color: #fff;
    box-shadow: 0 5px 15px rgba(121,148,248,0.55);
}


/* --- Trending Button: Sort Variant --- */
.trending-button.trending-button-sort {
    padding: 8px 15px;
    gap: 10px;
    border: 1px solid rgb(255 255 255 / 10%);
    box-shadow: none;
}

.trending-button.trending-button-sort::after {
    background: #282553;
    border: 1px solid rgb(255 255 255 / 10%);
}

.trending-button.trending-button-sort:hover::after {
    background: #353066;
}


/* --- Trending Button: Alternative Variant --- */
.trending-button.trending-button-alt {
    border: 1px solid rgb(255 255 255 / 10%);
    box-shadow: none;
}

.trending-button.trending-button-alt::after {
    background: #282553;
    border: 1px solid rgb(255 255 255 / 10%);
}

.trending-button.trending-button-alt:hover::after {
    background: #353066;
}


/* =================================================== */
/* ================ FE-O BUTTON STYLES ================ */
/* =================================================== */

.btn-feo {
    background: linear-gradient(90deg, #500cdc 0%, #0c5bdc 100%);
    box-shadow: 0 8px 27px rgba(104,101,255,0.43);
    border-radius: 5px 20px;
    border: none;
    color: #fff !important;
    white-space: nowrap;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    font-weight: 500;
    padding: 12px 40px;
    gap: 12px;

    transition: background 0.3s, box-shadow 0.3s, transform 0.3s ease;
}

.btn-feo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(104,101,255,0.55);
}

.btn-feo__big {
    padding: 12px 40px;
}

.btn-feo:hover .icon-arrow-right {
    transform: translateX(3px);
}

/* --- Sort variant --- */
.btn-feo.btn-feo-sort {
    background: #282553;
    gap: 10px;
    padding: 8px 15px;
    border: 1px solid rgb(255 255 255 / 10%);
    box-shadow: none !important;
}

.btn-feo.btn-feo-sort:hover {
    background: #353066;
    transform: none;
    box-shadow: none;
}


/* =================================================== */
/* === RESPONSIVE STYLES (Max Width 640px) === */
/* =================================================== */
@media (max-width: 640px) {

    .btn-feo {
        gap: 8px;
        padding: 8px 15px;
        border-radius: 5px 20px;
        font-weight: 500;
        box-sizing: border-box;     
        border: 1px solid #35A8FF;
    }

    .btn-feo__big {
        min-height: 40px;
        padding: 8px 15px;
    }

    .btn-feo.btn-feo-sort {
        background: #282553;
        gap: 10px;
        padding: 8px 15px;
        border: 1px solid rgb(255 255 255 / 10%);
        box-shadow: none;
        min-height: auto;
        font-size: 14px;
    }

    .trending-button .icon {
        width: 16px;
        height: 16px;
    }

    .trending-button:not(.btn-feo) {
         gap: 8px;
         padding: 10px 18px;
    }
	
	/* Filter header title */
		.catalog-page h1{
		margin-top:-1px;
	}
	  .catalog-page img{
	    margin-top:-4px;
		 z-index: -1;
	}
}
	


