.site-header .region-picker {
  position: relative;
  color: #f5f4f0;
  font: 500 14px/1.35 Poppins, 'Noto Sans Thai', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.region-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}
.region-trigger::-webkit-details-marker { display: none; }
.region-trigger::marker { content: ''; }
.region-trigger:is(:hover, :focus-visible),
.region-picker[open] .region-trigger {
  color: #ffc516;
}
.region-picker :is(summary, a):focus-visible {
  outline: 2px solid #ffc516;
  outline-offset: 2px;
}
.region-globe, .region-chevron, .region-check {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.region-globe { width: 19px; height: 19px; }
.region-chevron { width: 11px; height: 11px; }
.region-trigger :is(.region-globe, .region-chevron) {
  filter: drop-shadow(0 1px 2px #000a);
}
.region-picker[open] .region-chevron { transform: rotate(180deg); }
.region-flag {
  display: inline-flex;
  flex: none;
  width: 23px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #ffffff29;
}
.region-flag svg { display: block; width: 100%; }
.region-panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 236px;
  max-width: calc(100vw - 96px);
  padding: 6px;
  border: 1px solid #3b3a34;
  border-radius: 9px;
  background: #161616;
  box-shadow: 0 12px 32px #0007;
  box-sizing: border-box;
}
.region-panel-heading {
  margin: 6px 9px 4px;
  color: #c4c0b8;
  font-size: 12px;
}
.region-panel .region-option {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) 16px;
  gap: 11px;
  min-height: 54px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #f5f4f0;
  text-decoration: none;
  box-sizing: border-box;
}
.region-panel .region-option:hover {
  background: #292822;
}
.region-option .region-flag { width: 27px; }
.region-option-text { display: grid; gap: 2px; }
.region-option-text strong { font-weight: 600; }
.region-option-text small { color: #c4c0b8; font-size: 12px; }
.region-check { width: 16px; height: 16px; opacity: 0; }
.region-option[aria-current] {
  background: #ffc51616;
  color: #ffd048;
}
.region-option[aria-current] .region-check { opacity: 1; }
.site-header .home-region { display: none; }
@media (max-width: 600px) {
  .site-header .header-actions { gap: 6px; }
  .site-header .home-brand img { width: clamp(116px, 39vw, 176px); }
  .region-trigger { gap: 6px; padding-inline: 8px; }
  .region-chevron { display: none; }
}
