/* Homepage category controls only; plan cards and client area are unchanged. */
.plans-rack .rs-home-country-picker { display:flex; justify-content:center; flex-wrap:wrap; margin-bottom:1.5rem; }
:is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab {
 display:inline-flex; align-items:center; justify-content:center; white-space:normal; text-align:center; min-height:2.75rem;
 font-weight:600; border-radius:.65rem; color:#203e4c !important;
 background:rgba(255,255,255,.65) !important; box-shadow:inset 0 0 0 1px rgba(42,89,108,.24);
 -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
 transition:background-color .15s ease,box-shadow .15s ease;
}
:is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab:hover { background:rgba(224,240,245,.9) !important; }
:is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab.active { background:rgba(72,167,191,.18) !important; box-shadow:inset 0 0 0 1px #378ba3; }
html[data-bs-theme="dark"] :is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab {
 color:#e7f3f8 !important; background:rgba(10,35,47,.58) !important; box-shadow:inset 0 0 0 1px rgba(170,211,228,.29);
}
html[data-bs-theme="dark"] :is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab:hover { background:rgba(48,85,101,.72) !important; }
html[data-bs-theme="dark"] :is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab.active {
 color:#fff !important; background:rgba(67,112,131,.66) !important; box-shadow:inset 0 0 0 1px rgba(117,209,227,.85);
}
.plans-rack .rs-home-category-icon { height:1.25em; width:1.65em; object-fit:contain; flex-shrink:0; }
.plans-rack .rs-home-flag { display:inline-block; width:1.25rem; height:.875rem; flex-shrink:0; border-radius:2px; box-shadow:0 0 0 1px rgba(190,210,220,.3); }
.plans-rack .rs-home-flag-de { background:linear-gradient(#171717 0 33.333%,#d1272c 33.333% 66.666%,#ffce32 66.666%); }
.plans-rack .rs-home-flag-nl { background:linear-gradient(#ae1c28 0 33.333%,#fff 33.333% 66.666%,#21468b 66.666%); }
.plans-rack .rs-home-flag-pl { background:linear-gradient(#fff 0 50%,#dc143c 50%); }
:is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
[data-home-country-panel][hidden] { display:none !important; }
@media(max-width:575.98px) { :is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab { font-size:.875rem; padding:.65rem .8rem; } }
@media(prefers-reduced-motion:reduce) { :is(.plans-rack .rs-home-country-picker, .rs-catalogue-switches .nav) .rs-category-tab { transition:none; } }

/* Shared illustrated category tabs; billing controls are excluded. */
.plans-rack .rs-home-country-picker, .rs-catalogue-switches > .nav { gap:8px !important; }
.rs-category-tab { gap:.55rem; min-height:3.5rem !important; }
.rs-tab-art { position:relative; display:inline-flex; align-items:center; justify-content:center; flex:0 0 48px; width:48px; height:40px; color:#247e9c; }
html[data-bs-theme="dark"] .rs-tab-art { color:#a9d9e7; }
.rs-tab-art svg { display:block; width:48px; height:40px; }
.rs-tab-art .rs-tab-brand { width:48px; height:36px; object-fit:contain; }
html[data-bs-theme="dark"] .rs-tab-art:has(.rs-tab-brand) { background:rgba(240,249,252,.85); border-radius:6px; }
.rs-tab-art .rs-tab-custom { max-width:48px; max-height:38px; object-fit:contain; }
.rs-tab-art > i { font-size:1.8rem; }
.rs-tab-flag { position:absolute; width:21px; height:14px; right:0; bottom:0; border-radius:2px; box-shadow:0 0 0 1px rgba(190,210,220,.6); }
.rs-tab-flag-de { background:linear-gradient(#171717 0 33.333%,#d1272c 33.333% 66.666%,#ffce32 66.666%); }
.rs-tab-flag-nl { background:linear-gradient(#ae1c28 0 33.333%,#fff 33.333% 66.666%,#21468b 66.666%); }
.rs-tab-flag-pl { background:linear-gradient(#fff 0 50%,#dc143c 50%); }
@media(max-width:575.98px) { .rs-category-tab { max-width:100%; } .rs-tab-art { flex-basis:40px; width:40px; } }
