.geo-controls { margin-bottom: 12px; padding: 18px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f0f5ff; color: #172554; }
.geo-controls-title { display: block; margin-bottom: 12px; font-size: 1.15rem; }
.geo-fields { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.geo-fields .geo-field { flex: 1 1 180px; display: grid; gap: 6px; font-size: .875rem; font-weight: 600; }
.geo-fields select { display: block; width: 100%; min-height: 46px; padding: 10px 30px 10px 12px; border: 1px solid #94a3b8; border-radius: 6px; background: white; color: #0f172a; font: inherit; }
.geo-reset, .geo-retry { min-height: 46px; padding: 10px 14px; border: 1px solid #94a3b8; border-radius: 6px; background: white; color: #1e40af; font-size: .875rem; font-weight: 600; cursor: pointer; }
.geo-fields select:focus-visible, .geo-reset:focus-visible, .geo-retry:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.geo-status { margin: 0 4px 12px; font-size: .875rem; color: #475569; }
.geo-empty { padding: 24px 16px; text-align: center; color: #475569; }
[data-geo-list] [hidden] { display: none !important; }
@media (max-width: 520px) { .geo-fields { flex-direction: column; align-items: stretch; } .geo-fields .geo-field { flex-basis: auto; } .geo-controls { padding: 14px; } }
.geo-picker { position: relative; min-width: 0; font-weight: 400; }
.geo-picker summary { box-sizing: border-box; height: 52px; line-height: 20px; display: flex; align-items: center; justify-content: space-between; min-height: 46px; gap: 12px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 6px; background: #fff; color: #0f172a; cursor: pointer; list-style: none; }
.geo-picker summary::-webkit-details-marker { display:none; }
.geo-picker summary::after { content: '⌄'; font-size: 18px; line-height: 20px; flex-shrink: 0; }
.geo-picker[open] summary { border-color:#2563eb; box-shadow:0 0 0 2px #bfdbfe; }
.geo-picker-selected { display:flex; align-items:center; gap:10px; min-width:0; }
.geo-picker-flag { width:28px; height:20px; flex-shrink:0; object-fit:contain; border-radius:2px; }
.geo-picker-globe { display:inline-flex; align-items:center; height:20px; line-height:20px; width:28px; flex-shrink:0; justify-content:center; font-size:24px; color:#64748b; }
.geo-picker-panel { position:absolute; top:calc(100% + 7px); left:0; width:100%; min-width:250px; z-index:60; padding:10px; border:1px solid #cbd5e1; border-radius:10px; background:#fff; box-shadow:0 12px 32px #0f172a30; }
.geo-picker-panel input { width:100%; min-height:44px; padding:10px; border:1px solid #94a3b8; border-radius:6px; font:inherit; color:#0f172a; background:#fff; }
.geo-picker-results { max-height:300px; max-height:min(300px,45dvh); overflow-y:auto; overscroll-behavior:contain; margin-top:8px; }
.geo-picker-group h3 { position:sticky; top:0; margin:0; padding:9px 10px; background:#f1f5f9; color:#475569; font:600 12px/1.4 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.04em; }
.geo-picker-option { display:flex; width:100%; align-items:center; gap:10px; min-height:44px; padding:9px 10px; border:0; border-radius:5px; background:#fff; color:#0f172a; text-align:left; font:inherit; cursor:pointer; }
.geo-picker-option span { flex:1; }
.geo-picker-option small { color:#64748b; font-size:11px; }
.geo-picker-option:hover, .geo-picker-option[aria-pressed="true"] { background:#eff6ff; }
.geo-picker-option[aria-pressed="true"] { color:#1d4ed8; font-weight:600; }
.geo-picker :focus-visible { outline:2px solid #2563eb; outline-offset:-2px; }
.geo-picker-no-results { margin:12px 8px; color:#64748b; }
.geo-picker img.geo-picker-flag { margin:0; padding:0; border:0; box-shadow:none; width:28px; height:20px; max-width:none; }
.geo-picker-option .geo-picker-globe { flex:0 0 28px; }

.geo-fields .geo-reset { box-sizing: border-box; height: 52px; line-height: 20px; }
.geo-picker-selected > span:last-child:not(.geo-picker-globe) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Country directory: server-rendered offers with progressive search. */
.country-directory { padding-block: 3rem; }
.country-intro { width: 100%; max-width: none; margin-bottom: 2rem; }
.country-eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: #526981; }
.country-intro h1 { max-width: none; text-wrap: wrap; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.15; font-weight: 800; color: #10263d; margin: .7rem 0 1rem; }
.country-intro p { line-height: 1.65; }
.country-note { color: #526477; font-size: .9rem; margin-top: .7rem; }
.country-tools { padding: 1.2rem; border: 1px solid #ccd8e3; border-radius: 12px; background: #eef4fa; margin-bottom: 1.2rem; }
.country-tools label { display: block; font-weight: 700; margin-bottom: .5rem; }
.country-tools input { width: 100%; background: white; border: 1px solid #8ca2b8; border-radius: 8px; padding: .85rem 1rem; font: inherit; }
.country-tools p { font-size: .85rem; color: #526477; margin-top: .5rem; }
.country-region-nav { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.country-region-nav a { border: 1px solid #ccd8e3; border-radius: 30px; padding: .5rem 1rem; background: white; font-weight: 600; }
.country-region { scroll-margin-top: 90px; margin-bottom: 2.5rem; }
.country-region h2 { font-size: 1.5rem; font-weight: 750; margin-bottom: 1rem; }
.country-region h2 span { color: #63788c; font-size: 1rem; margin-left: .4rem; }
.country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.country-card { background: white; border: 1px solid #ced9e3; border-radius: 12px; padding: 1.1rem; box-shadow: 0 3px 10px #18385408; }
.country-card h3 { display: flex; align-items: center; gap: .65rem; min-height: 42px; font-size: 1.05rem; font-weight: 750; margin-bottom: .75rem; }
.country-card h3 img { flex-shrink: 0; width: 36px; height: 27px; object-fit: cover; border-radius: 3px; }
.country-card h3 span { margin-left: auto; color: #64768a; font-size: .7rem; }
.country-offers { border-top: 1px solid #e4eaf0; }
.country-offers summary { cursor: pointer; padding: .85rem 0; display: flex; gap: .5rem; align-items: center; color: #234969; }
.country-offers summary::after { content: '+'; width: 1rem; text-align: center; }
.country-offers[open] summary::after { content: '−'; }
.country-offers summary strong { margin-left: auto; border-radius: 6px; background: #edf3f8; min-width: 2rem; text-align: center; padding: .15rem .35rem; }
.country-offers ol { list-style: decimal; padding: 0 0 .8rem 1.4rem; }
.country-offers li { padding: .3rem 0; }
.country-offers a { text-decoration: underline; text-underline-offset: 3px; color: #234969; }
.country-no-offers { display: flex; justify-content: space-between; gap: .5rem; padding: .85rem 0; border-top: 1px solid #e4eaf0; color: #637386; }
.country-directory [hidden] { display: none !important; }
.country-directory :is(a, summary, input):focus-visible { outline: 3px solid #2679ce; outline-offset: 3px; }
@media (max-width: 1000px) { .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .country-grid { grid-template-columns: 1fr; } .country-directory { padding-block: 1.5rem; } }

.country-category-link { display:flex; align-items:center; gap:.7rem; padding:.9rem 0; border-top:1px solid #e4eaf0; color:#234969; }
.country-category-link strong { margin-left:auto; border-radius:6px; background:#edf3f8; padding:.15rem .5rem; }
.country-category-link:hover { color:#1255a0; }
.country-region-nav a[aria-current="page"] { color:white; background:#354f69; border-color:#354f69; }

/* Compact header for country offer pages. */
.country-offer-page { padding-top: 1.5rem; }
.country-breadcrumb { margin-bottom: 1.25rem; font-size: .85rem; color: #64748b; }
.country-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.country-breadcrumb li { display: flex; align-items: center; gap: .55rem; }
.country-breadcrumb li + li::before { content: '/'; color: #9caabb; }
.country-breadcrumb a:hover { color: #234969; text-decoration: underline; }
.country-offer-hero { padding: 1.5rem 1.75rem 0; margin-bottom: 1.5rem; border: 1px solid #d7e1eb; border-radius: 14px; background: linear-gradient(120deg, #fff, #edf3f8); }
.country-location { display: flex; align-items: center; gap: .65rem; color: #4a6278; font-size: .85rem; font-weight: 650; }
.country-location img { width: 32px; height: 24px; object-fit: cover; border-radius: 3px; }
.country-offer-hero h1 { margin: .75rem 0 .65rem; max-width: 1000px; color: #102e43; font-size: clamp(1.65rem, 2.7vw, 2.45rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
.country-offer-hero > p { max-width: 880px; color: #526477; line-height: 1.65; font-size: .95rem; }
.country-offer-tabs { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.4rem; border-top: 1px solid #d7e1eb; }
.country-offer-tabs a { display: flex; align-items: center; gap: .55rem; padding: .9rem 0; margin-bottom: -1px; border-bottom: 3px solid transparent; color: #576b7e; font-size: .9rem; font-weight: 650; }
.country-offer-tabs a[aria-current="page"] { border-bottom-color: #2d526d; color: #173c58; }
.country-offer-tabs a:hover { color: #173c58; }
.country-offer-tabs a span { padding: .1rem .45rem; border-radius: 5px; background: #e1eaf2; font-size: .75rem; }
@media (max-width: 620px) { .country-offer-hero { padding: 1.1rem 1rem 0; } .country-offer-tabs { gap: 1rem; } .country-offer-page { padding-top: 1rem; } }

.content-layout.geo-directory-layout {display:block}.geo-reset {display:flex;align-items:center;justify-content:center}.geo-controls [hidden],.country-directory [hidden] {display:none!important}
