.tab-titles {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.tab-titles li {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    margin-right: 5px;
    background: #f9f9f9;
    transition: all 0.3s;
}

.tab-titles li.active {
    background: #fff;
    border: 1px solid #ccc;
    border-bottom: none;
}

.tab-contents {
    padding: 20px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* Default Desktop */
.tab-dropdown {
    display: none;
}

@media (max-width: 1024px) {
    .custom-tabs.has-mobile-dropdown .desktop-tabs {
        display: none;
    }

    .custom-tabs.no-mobile-dropdown .desktop-tabs { flex-wrap: wrap; gap: 10px; }

    .tab-titles li {
        padding: 5px 10px !important    ;
    }

    .tab-dropdown {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 16px;
        margin-bottom: 15px;
        background-color: transparent;
        border: 1px solid var(--bordercolor);
        border-radius: 10px;
        font-family: var(--primaryfont) !important;
        font-weight: 500;
    }

    .tab-dropdown option {
        font-family: var(--primaryfont) !important;
        font-weight: 500 !important;
    }
}