.catalog-section{
    max-width: 100vw;
    padding: 30px;
}
.catalog-section h1{
    /* text-shadow: var( --shadow-neon-blue); */
    color:var(--color-secondary)
}

.categories-list, .btn-order{
    /* border: 1px solid rgb(229, 255, 0); */

}

.btn-order-group{
    /* border: 1px solid rgb(229, 255, 0); */

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}



/* Faz o select do TomSelect ocupar todo o espaço da sua metade */
.categories-list .ts-wrapper, 
.custom-select-neon {
    width: 100% !important;
    max-width: 100%;
}

.categories-list .ts-wrapper {
    margin-top: auto; 
    margin-bottom: 0 !important;
    vertical-align: bottom;
}


.categories-list {
    /* border: 1px solid rgb(68, 0, 255); */
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    /* max-width: 300px; */

    
}
/* Estilização do Select Customizado */
.custom-select-neon {
    background-color: #0d021b; /* Fundo escuro combinando com o tema */
    color: var(--text-main);
    /* border: 1px solid var(--color-primary);  */
    border-radius: 4px;
    padding: 8px 35px 8px 15px; 
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    
  
    min-width: 180px; 

}

/* Efeito ao passar o mouse ou focar */
.custom-select-neon:hover, 
.custom-select-neon:focus {
    border-color: var(--color-secondary); 
    
}



.btn-order {
    /* border: 1px solid red; */
    flex: 2;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    font-size:20px;

}

/* LABEL */
.order-label {
    
    min-width: 100px;
    color: var(--text-muted);
    padding-bottom: 5px;

}

/* AÇÕES */
.order-actions {
               
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}


.btn-item{
    color:var(--text-main);

}
/* Hover nos botões */
.btn-order .btn-item:hover {
    /* border-bottom: 1px solid var(--color-secondary); */
    
    color: var(--text-main);
    text-shadow: var(--shadow-neon-blue);
    /* background: var(--bg-dark); */
    
}

/* ESTADO ATIVO (O que o seu JS vai aplicar) */
/* Usando o azul neon para o item selecionado */
.btn-order .btn-item.active,
.btn-order .btn-item:active {
    border-bottom: 1px solid var(--color-secondary) !important;
    color: var(--text-main) !important;
    border-color: var(--color-primary) !important;
    text-shadow: var(--shadow-neon-pink) !important;
    font-weight: 600;
}

/* Botão LIMPAR (Destaque em Roxo/Pink) */
.btn-order .btn-secondary {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 5px;    
    transition: all 0.3s ease;
    padding: 5px 30px;
}

.btn-order .btn-secondary:hover {
    background: transparent;
    border: 1px solid var(--color-primary);

}



/* Container do Card */
.card-catalog {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-catalog:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Área da Imagem */
.card-image-wrapper {
    position: relative;
    height: 220px;
    padding: 10px;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.5s ease;

}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    background-color: #fff;


}

.card-catalog:hover .card-image-wrapper {
    transform: scale(1.1);
}
.card-catalog:hover .image-overlay{
    

}
.image-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-card), transparent);
    border-radius: 15px;

}


/* Badge Grátis */
.badge-free {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-secondary);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: var(--shadow-neon-blue);
    letter-spacing: 1px;
}

/* Corpo e Texto */
.card-catalog .card-body {
    padding: 1.5rem;
}

.tag-item {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 5px;
    margin-right: 5px;
}

.tag-item.platform {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.card-catalog .card-title {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.card-catalog .card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Botões Customizados */
.btn-neon-pink, .btn-neon-blue {
    display: inline-block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-neon-pink {
    background: var(--color-primary);
    color: white;
}

.btn-neon-pink:hover {
    box-shadow: var(--shadow-neon-pink);
    transform: scale(1.02);
    color: white;
}

.btn-neon-blue {
    background: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-neon-blue:hover {
    background: var(--color-secondary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon-blue);
}

/* Ajuste para dispositivos móveis */

@media (max-width: 1050px) {
.btn-order-group{
        flex-direction: column;
        margin-bottom: 30px;


    }
}
@media (max-width: 768px) {

    
    .btn-order {
        align-items: flex-start;
        row-gap:20px;

    }

    .order-label {
        width: 100%;
    }

    .order-actions {
        
        /* flex-direction: column; */
        justify-content: flex-start;
        row-gap: 30px;    

    }
    
    .order-actions .btn:not(:last-child) {
        text-align: left;
        padding-left: 0px;
    }

    .btn.active{
        
        text-align: center !important;
        padding-left:10px !important;
    }
    
    

}
