/* Compact visual controls retain a 44px touch target. */
.site-preferences {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  padding: 3px;
  background: #1c2420;
  border: 1px solid #303b32;
  border-radius: 100px;
  box-shadow: 0 3px 11px #0b21101a;
}
.site-preferences .preference-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f3c64c;
}
.site-preferences .preference-field + .preference-field {
  border-left: 1px solid #586158;
  margin-left: 2px;
  padding-left: 4px;
}
.site-preferences .preference-field > svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-left: 8px;
  pointer-events: none;
}
.site-preferences .preference-field select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 32px;
  max-width: none;
  padding: 5px 24px 5px 6px;
  border: 0;
  border-radius: 100px;
  outline-offset: 2px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23f3c64c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 9px 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
  cursor: pointer;
}
.site-preferences .preference-field select:hover { background-color: #313b33; }
.site-preferences .preference-field option { color: #171918; background: white; }
@media (max-width: 920px) {
  .header .header-row { gap: 4px; }
  .header .header-actions { gap: 1px; }
  .header .account-nav,
  .header .saved-nav,
  .header .icon-btn,
  .header .mobile-pro-cta {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .header .account-nav::before,
  .header .saved-nav::before,
  .header .icon-btn::before,
  .header .mobile-pro-cta::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 5px;
    background: #fff;
    border: 1px solid #dfe3df;
    border-radius: 50%;
  }
  .header .mobile-pro-cta::before { background: #f3c64c; border: 0; border-radius: 10px; }
  .header .mobile-pro-cta { font-size: 12px; }
  .header .account-nav svg,
  .header .saved-nav svg,
  .header .icon-btn svg { width: 19px; height: 19px; }
  .header .saved-nav:hover,
  .header .icon-btn:hover { background: transparent; }
  .header .saved-nav:hover::before,
  .header .icon-btn:hover::before { background: #f3f4ef; }
}
@media (max-width: 540px) {
  .header .header-row { height: 62px; }
  .header .brand { flex: 0 1 auto; min-width: 0; }
  .header .brand img { width: clamp(123px, 35vw, 148px); height: auto; }
  .preference-bar { padding-block: 6px; font-size: 13px; }
  .preference-bar > a { font-weight: 700; }
  .site-preferences .preference-field > svg { width: 13px; height: 13px; margin-left: 7px; }
  .site-preferences .preference-field select { min-height: 30px; padding-right: 21px; padding-left: 5px; font-size: 12px; }
}
@media (max-width: 360px) {
  .header .brand img { width: 122px; }
  .header .header-actions { gap: 0; }
  .header .account-nav,
  .header .saved-nav,
  .header .icon-btn,
  .header .mobile-pro-cta { flex-basis: 42px; width: 42px; min-width: 42px; }
}
