/* Scoped to the shortcode. No IDs or JavaScript: safe for responsive duplicates. */
.cadette-subcats {
    --cadette-nav-blue: #185aa4;
    --cadette-nav-surface: #ffffff;
    --cadette-nav-hover: #e9f0f8;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
    box-sizing: border-box;
}
.cadette-subcats .cadette-subcats__track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 3px;
    box-sizing: border-box;
}
.cadette-subcats a.cadette-subcats__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding: 10px 19px;
    border: 1px solid var(--cadette-nav-blue);
    border-radius: 100px;
    background: var(--cadette-nav-surface);
    color: var(--cadette-nav-blue);
    font-family: 'Fredoka', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: none;
    box-sizing: border-box;
    transition: background-color .15s ease, color .15s ease;
}
.cadette-subcats a.cadette-subcats__link:hover {
    background: var(--cadette-nav-hover);
    color: var(--cadette-nav-blue);
    text-decoration: none;
}
.cadette-subcats a.cadette-subcats__link--current,
.cadette-subcats a.cadette-subcats__link--current:hover {
    background: var(--cadette-nav-blue);
    color: #ffffff;
}
.cadette-subcats a.cadette-subcats__link:focus-visible {
    outline: 2px solid #f26617;
    outline-offset: 2px;
}
@media (max-width: 1024px) {
    .cadette-subcats .cadette-subcats__track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #b5c4d5 transparent;
        padding-bottom: 10px;
        scroll-padding-inline: 3px;
    }
    .cadette-subcats a.cadette-subcats__link {
        max-width: none;
        white-space: nowrap;
        overflow-wrap: normal;
        padding-inline: 16px;
    }
    .cadette-subcats .cadette-subcats__track::-webkit-scrollbar { height: 3px; }
    .cadette-subcats .cadette-subcats__track::-webkit-scrollbar-thumb { background: #b5c4d5; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .cadette-subcats a.cadette-subcats__link { transition: none; }
}
