.jnd-tab-buttons{
    display: flex;
    flex-wrap: nowrap; /* never go to second line */
    gap: 5px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.jnd-tab-buttons li{
    flex: 1; /* all tabs get equal width */
    min-width: 0; /* allow shrinking */
    padding: 3px 3px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: all .3s ease;
}

.jnd-tab-buttons li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.jnd-tab-buttons li.active {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    border-color: transparent;
}

.jnd-tab-icon{
    font-size: 28px;
    margin-bottom: 0px !important;
}

.jnd-tab-title{
    font-size: 14px;
    font-weight: 700 !important;
    line-height: 1.3;
}

.jnd-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:15px;
    padding:15px;
    margin-bottom:10px;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
}
.jnd-card-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}
.jnd-card-left{
    flex:1;
}
.jnd-card-right{
    width:90px;
    flex-shrink:0;
}
.jnd-thumb{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
}
.jnd-card h3{
    margin:0 0 10px;
    font-size:20px;
}
.jnd-card p{
    margin:5px 0;
    font-size:14px;
}

.jnd-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.10);
}

.jnd-tab-content {
    display: none;
}

.jnd-tab-content.active {
    display: block;
}

@media(max-width:768px){

    .jnd-tab-buttons{
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:10px;
    }

    .jnd-tab-buttons li{
        min-width:130px;
        flex-shrink:0;
    }
    
    .jnd-card-content{
        gap:15px;
    }

    .jnd-card-right{
        width:70px;
    }

    .jnd-thumb{
        width:70px;
        height:70px;
    }
}