.qbf-phone-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 4px;
    max-width: 100%;
    flex-wrap: nowrap;
    position: relative;
    font-size: 14px;
    line-height: 1.3;
}

/* phone input */
.qbf-phone-wrapper input[name="billing_phone"] {
    flex: 1 1 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 15px;
    background: #fff;
    line-height: 1.3;
}

/* custom picker */
.qbf-country-picker {
    position: relative;
    min-width: 130px;
    max-width: 150px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.qbf-country-selected {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 8px;
    gap: 6px;
    font-size: 14px;
}
.qbf-country-selected .qbf-flag { font-size: 16px; line-height: 1; }
.qbf-country-selected .qbf-name { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbf-country-selected .qbf-arrow { font-size: 12px; opacity: 0.7; }

.qbf-country-list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 99999;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 10px 24px rgba(0,0,0,0.08);
    padding: 4px 0;
    margin: 0;
    list-style: none;
}
.qbf-country-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
}
.qbf-country-item .qbf-flag { font-size: 16px; line-height: 1; }
.qbf-country-item .qbf-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbf-country-item:hover { background: #f3f3f3; }

.qbf-phone-country-native { display: none !important; }
