
/* Country root pages: compact one-line visible category scroller */
.ct-country-cat-filter{
    margin:10px 0 16px;
    padding:8px 9px;
    background:#fffafa;
    border:1px solid rgba(171,25,23,.12);
    border-radius:0;
    box-shadow:0 4px 12px rgba(0,0,0,.028);
    font-family:Arial, sans-serif;
}

.ct-country-cat-filter__inner{
    display:grid;
    grid-template-columns:auto 1fr auto auto;
    gap:7px;
    align-items:center;
}

.ct-country-cat-filter__title{
    color:#777;
    font-size:12px;
    line-height:1.1;
    font-weight:700;
    white-space:nowrap;
}

.ct-country-cat-filter__viewport{
    min-width:0;
    overflow:hidden;
}

.ct-country-cat-filter__row{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding:1px 0 4px;
    scrollbar-width:thin;
}

.ct-country-cat-filter__row::-webkit-scrollbar{
    height:5px;
}

.ct-country-cat-filter__row::-webkit-scrollbar-track{
    background:#f3f3f3;
}

.ct-country-cat-filter__row::-webkit-scrollbar-thumb{
    background:rgba(171,25,23,.28);
}

.ct-country-cat-filter__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:29px;
    padding:7px 10px;
    background:#ffffff;
    border:1px solid #eeeeee;
    border-radius:0;
    color:#444!important;
    text-decoration:none!important;
    font-size:12.5px;
    font-weight:700;
    line-height:1.1;
    white-space:nowrap;
    cursor:pointer;
    transition:all .18s ease;
}

.ct-country-cat-filter__btn:hover,
.ct-country-cat-filter__btn.is-active{
    background:#ab1917;
    border-color:#ab1917;
    color:#ffffff!important;
}

.ct-country-cat-filter__arrow{
    width:29px;
    height:29px;
    padding:0;
    background:#ffffff;
    border:1px solid rgba(171,25,23,.18);
    border-radius:0;
    color:#ab1917;
    font-size:18px;
    line-height:1;
    font-weight:700;
    cursor:pointer;
}

.ct-country-cat-filter__arrow:hover{
    background:#ab1917;
    border-color:#ab1917;
    color:#ffffff;
}

.ct-country-cat-anchor{
    scroll-margin-top:88px;
}

@media (max-width:767px){
    .ct-country-cat-filter{
        margin:8px 0 13px;
        padding:8px;
    }

    .ct-country-cat-filter__inner{
        grid-template-columns:1fr auto auto;
        gap:6px;
    }

    .ct-country-cat-filter__title{
        display:none;
    }

    .ct-country-cat-filter__btn{
        min-height:30px;
        padding:7px 9px;
        font-size:12px;
    }

    .ct-country-cat-filter__arrow{
        width:30px;
        height:30px;
    }
}
