.vnx-country-dropdown {
    position: relative;
    flex: 0 0 auto;
    color: #0e2340;
}

.vnx-country-dropdown summary {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #0e2340;
    border-radius: 7px;
    padding: 9px 12px;
    background: #fff;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.vnx-country-dropdown summary::-webkit-details-marker { display: none; }

.vnx-country-panel {
    position: absolute;
    z-index: 100;
    inset: calc(100% + 6px) auto auto 0;
    width: min(320px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid #e5dfd4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px #0e234030;
}

.vnx-country-panel [hidden] { display: none !important; }
.vnx-country-panel .vnx-country-filter { width: 100%; margin: 0 0 8px; }

.vnx-country-panel .vnx-country-options {
    max-height: min(240px, 35vh);
    overflow-y: auto;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.vnx-country-options li { margin: 0; padding: 0; }
.vnx-country-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid #eceef0;
    color: #0e2340;
}

.vnx-country-options a:hover { background: #fbf7ef; }
.vnx-country-panel .vnx-country-all {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    background: #f5821f;
    color: #0e2340;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 760px) {
    .vnx-header-in { position: relative; }
    .vnx-country-dropdown { position: static; }
    .vnx-country-panel { inset: calc(100% - 8px) auto auto 12px; }
}
