/* Website preferences share the utility row and leave the main header unchanged. */
.pp-topbar-with-preferences{position:relative;z-index:81;overflow:visible}
.pp-topbar-with-preferences .site-topbar-inner{display:flex!important;align-items:center;justify-content:space-between;gap:12px;overflow:visible;min-height:42px}
.pp-topbar-with-preferences .site-topbar-inner>nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;min-width:0;flex:1}
.pp-topbar-preferences{display:flex;align-items:center;gap:4px;flex:none;margin-inline-start:auto}
.pp-topbar-preference{position:relative;margin:0}
.pp-topbar-preference>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:5px 8px;cursor:pointer;list-style:none;border:1px solid transparent;border-radius:7px;color:var(--text,#e9edf2);font:inherit;white-space:nowrap}
.pp-topbar-preference>summary::-webkit-details-marker{display:none}
.pp-topbar-preference>summary>svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
.pp-topbar-country>summary{min-width:40px}
.pp-topbar-country img{width:24px;height:18px;object-fit:cover;border-radius:2px;flex:none}
.pp-topbar-preference[open]>summary,.pp-topbar-preference>summary:hover{background:var(--surface-2,#20272f);border-color:var(--line,#39434d)}
.pp-topbar-preference :is(summary,button,input):focus-visible{outline:2px solid var(--accent,#85c9ed);outline-offset:3px}
.pp-topbar-preference-panel{position:absolute;inset-block-start:calc(100% + 7px);inset-inline-end:0;z-index:100;width:min(320px,calc(100vw - 24px));display:grid;gap:10px;margin:0;padding:14px;border:1px solid var(--line,#39434d);border-radius:12px;background:var(--surface,#182129);color:var(--text,#e9edf2);box-shadow:0 12px 35px #0003;text-align:start;line-height:1.5}
.pp-topbar-search-label{font-size:13px;font-weight:700}
.pp-topbar-preference-panel input[type=search]{box-sizing:border-box;width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line,#39434d);border-radius:7px;background:var(--surface-2,#20272f);color:var(--text,#e9edf2);font:inherit}
.pp-topbar-country-options{display:grid;gap:3px;max-height:min(340px,50vh);margin:0;padding:0;border:0;overflow:auto;overscroll-behavior:contain}
.pp-topbar-option{display:flex;align-items:center;gap:9px;min-height:40px;padding:5px 7px;border-radius:7px;cursor:pointer}
.pp-topbar-option input{margin:0;accent-color:var(--accent,#85c9ed);flex:none}
.pp-topbar-option:has(input:checked){background:var(--surface-2,#20272f)}
.pp-topbar-preference .pp-topbar-option[hidden],.pp-topbar-empty[hidden]{display:none!important}
.pp-topbar-preference-panel button{min-height:40px;cursor:pointer;font:inherit;color:inherit}
.pp-topbar-save{border:1px solid var(--line,#39434d);border-radius:7px;background:var(--surface-2,#20272f);font-weight:700}
.pp-topbar-short-panel{width:160px;gap:3px;padding:6px}
.pp-topbar-short-panel button{padding:9px 12px;background:transparent;border:0;border-radius:6px;text-align:start}
.pp-topbar-short-panel button:hover,.pp-topbar-short-panel button[aria-current=true]{background:var(--surface-2,#20272f)}
.pp-topbar-empty{margin:0;color:var(--muted,#a2aebc);font-size:13px}
.pp-secondary-price{display:block;margin-top:3px;color:var(--muted,#a2aebc);font-size:.78em;font-weight:500;line-height:1.5;direction:ltr;unicode-bidi:isolate}
@media(max-width:700px){
 .pp-topbar-with-preferences{display:block!important}
 .pp-topbar-with-preferences .site-topbar-inner{gap:8px;padding-block:5px;flex-wrap:nowrap}
 .pp-topbar-with-preferences .site-topbar-inner>nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:14px;padding-block:5px;min-width:0}
 .pp-topbar-with-preferences .site-topbar-inner>nav>a{flex:none;white-space:nowrap}
 .pp-topbar-preferences{gap:0}
 .pp-topbar-preference>summary{padding-inline:5px;min-height:36px;font-size:12px}
 .pp-topbar-preference-panel{position:fixed;inset-block-start:var(--pp-preference-panel-top,49px);inset-inline:12px;width:auto;max-width:none;max-height:calc(100dvh - var(--pp-preference-panel-top,49px) - 16px);overflow:auto}
 .pp-topbar-short-panel{inset-inline-start:auto;min-width:160px;max-width:calc(100vw - 24px)}
}
