/* BFW header destination selector. */
.header-language-background .header-language-container { display:flex; align-items:center; flex-wrap:wrap; column-gap:26px; row-gap:8px; }
.header-language-background .currency-switcher { float:none; flex:0 1 auto; margin-right:0; }
.header-language-background .welcome-msg { margin:0 0 0 auto; }
.bfw-delivery-country { display:flex; align-items:center; flex-wrap:wrap; flex:0 1 650px; gap:8px; min-width:0; position:relative; }
.bfw-delivery-country > label { flex:0 0 auto; margin:0; font-size:12px; font-weight:700; color:#fff; }
.bfw-delivery-country-control { display:flex; align-items:center; position:relative; min-width:180px; flex:1; }
.header-language-background .bfw-delivery-country select { width:100%; min-width:0; min-height:40px; margin:0; padding-left:42px; }
.bfw-delivery-flag { position:absolute; left:10px; width:24px; height:18px; object-fit:cover; pointer-events:none; border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.3); }
.bfw-delivery-flag[hidden] { display:none; }
.bfw-delivery-country-status { position:absolute; z-index:1001; left:0; top:100%; max-width:100%; padding:4px 8px; font:12px/1.4 Arial,sans-serif; text-transform:none; color:#fff; background:#0a2540; }
.bfw-delivery-country-status:empty { display:none; }
.bfw-delivery-country-status.is-error { background:#a52222; }
.bfw-delivery-region { display:flex; align-items:center; flex:1 1 250px; gap:8px; min-width:0; }
.bfw-delivery-region[hidden] { display:none; }
.bfw-delivery-region label { flex:0 0 auto; margin:0; color:#fff; font-size:11px; font-weight:700; }
.header-language-background .bfw-delivery-region select { padding-left:10px; }
@media(max-width:770px) {
    .header-language-background .header-language-container { display:flex; gap:6px; }
    .header-language-background .currency-switcher, .bfw-delivery-country { flex:1 0 100%; width:100%; }
    .header-language-background .currency-switcher > label, .bfw-delivery-country > label { width:96px; font-size:11px; flex:0 0 96px; }
    .header-language-background .bfw-delivery-country select { font-size:16px; }
    .bfw-delivery-region { flex:1 0 100%; }
    .bfw-delivery-region label { flex:0 0 96px; width:96px; min-width:0; white-space:normal; overflow-wrap:anywhere; }
    .bfw-delivery-country-control { min-width:0; }
}


/* Keep desktop controls and the customer greeting on one utility-bar row. */
@media (min-width:771px) {
    .header-language-background .header-language-container {
        width:calc(100% - 28px);
        max-width:var(--bfw-content, 2560px);
        flex-wrap:nowrap;
        column-gap:16px;
    }
    .header-language-background .currency-switcher {
        display:flex;
        align-items:center;
        flex:0 1 320px;
        gap:8px;
        min-width:220px;
    }
    .header-language-background .currency-switcher label {
        flex:0 0 auto;
        margin:0;
        white-space:nowrap;
        font-size:11px;
    }
    .header-language-background .currency-switcher select {
        flex:1 1 auto;
        width:auto;
        min-width:0;
        max-width:220px;
        font-size:13px;
    }
    .bfw-delivery-country {
        flex:1 1 500px;
        flex-wrap:nowrap;
    }
    .bfw-delivery-country > label {
        font-size:11px;
        white-space:nowrap;
    }
    .bfw-delivery-country-control {
        flex:1 1 175px;
        min-width:120px;
    }
    .bfw-delivery-region {
        flex:1 1 230px;
        min-width:190px;
    }
    .bfw-delivery-region label { white-space:nowrap; font-size:10px; }
    .header-language-background .bfw-delivery-country select { font-size:13px; }
    .header-language-background .welcome-msg {
        flex:0 1 auto;
        min-width:0;
        margin:0 0 0 auto;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        font-size:13px;
    }
}

/* Complete the destination before applying it to the basket. */
.bfw-delivery-country { margin:0; }
.bfw-delivery-postcode { display:flex; align-items:center; gap:8px; flex:0 1 175px; min-width:150px; }
.bfw-delivery-postcode label { flex:0 0 auto; margin:0; white-space:nowrap; color:#fff; font-size:10px; font-weight:700; }
.header-language-background .bfw-delivery-postcode input[type="text"],
.header-language-background .bfw-delivery-region input[type="text"] { box-sizing:border-box; width:100%; min-width:65px; height:40px; margin:0; padding:8px; border:1px solid #698092; border-radius:5px; background:#203e54; color:#fff; font-size:13px; }
.header-language-background .bfw-delivery-postcode input[type="text"]:focus,
.header-language-background .bfw-delivery-region input[type="text"]:focus { outline:2px solid #71ccab; outline-offset:1px; }
.bfw-delivery-region [hidden] { display:none !important; }
.header-language-background .bfw-delivery-apply { flex:0 0 auto; min-height:40px; padding:8px 12px; margin:0; border:0; border-radius:5px; color:#fff; background:#119b62; font-size:12px; font-weight:700; text-transform:none; white-space:nowrap; }
.bfw-delivery-apply:disabled { opacity:.6; cursor:wait; }
@media(min-width:771px) {
    .bfw-delivery-country-control { min-width:110px; }
    .bfw-delivery-region { min-width:165px; }
    .bfw-delivery-region label { max-width:65px; white-space:normal; }
    .bfw-delivery-postcode { flex-basis:155px; min-width:145px; }
}
@media(min-width:771px) and (max-width:1100px) {
    .header-language-background .header-language-container { flex-wrap:wrap; }
    .bfw-delivery-country { order:3; flex:1 0 100%; width:100%; }
    .header-language-background .welcome-msg { flex:1 1 250px; text-align:right; }
}
@media(max-width:770px) {
    .bfw-delivery-postcode { flex:1 0 100%; width:100%; min-width:0; }
    .bfw-delivery-postcode label { flex:0 0 96px; width:96px; font-size:11px; }
    .header-language-background .bfw-delivery-postcode input[type="text"],
    .header-language-background .bfw-delivery-region input[type="text"] { font-size:16px; min-height:44px; }
    .header-language-background .bfw-delivery-apply { margin-left:104px; flex:1 1 auto; min-height:44px; }
}

.bfw-delivery-postcode-fields { flex:1 1 auto; min-width:0; }
.bfw-delivery-postcode .bfw-delivery-no-postcode { display:flex; gap:5px; align-items:center; margin:4px 0 0; font-size:10px; line-height:1.3; white-space:normal; cursor:pointer; }
.bfw-delivery-no-postcode[hidden] { display:none !important; }
.header-language-background .bfw-delivery-no-postcode input { flex:0 0 14px; width:14px; height:14px; min-width:14px; min-height:14px; margin:0; padding:0; }
@media(max-width:770px) { .bfw-delivery-postcode .bfw-delivery-no-postcode { width:auto; font-size:12px; } }

@media(min-width:771px) {
    .bfw-delivery-postcode { flex:0 0 210px; min-width:210px; }
    .header-language-background .bfw-delivery-apply { box-sizing:border-box; height:42px; min-height:42px; line-height:20px; padding:0 12px; }
}
@media(max-width:770px) { .header-language-background .bfw-delivery-apply { line-height:20px; padding:10px 12px; } }

/* The complete State/Province label must fit before the region dropdown. */
@media(min-width:771px) {
    .bfw-delivery-country { min-width:700px; }
    .bfw-delivery-region { min-width:210px; }
    .bfw-delivery-region label { flex:0 0 auto; width:auto; max-width:none; white-space:nowrap; }
    .header-language-background .bfw-delivery-region select,
    .header-language-background .bfw-delivery-region input[type="text"] { flex:1 1 0%; width:auto; min-width:95px; }
}
