/* JICOA_COUNTRY_HEADER_ALIGN_V1
 * Visual alignment for the existing Select Country control only.
 * No changes to language switcher, links, or underlying market logic.
 */
.jicoa-country-select-v2.jicoa-country-header-aligned-v1 {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  min-height: 52px;
  margin: 0 15px 0 6px !important;
  flex: 0 0 auto;
}
/* Same slim vertical divider style used by the adjacent header controls. */
.jicoa-country-select-v2.jicoa-country-header-aligned-v1::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 44px;
  background-color: #d6dddc;
  pointer-events: none;
}
.jicoa-country-select-v2.jicoa-country-header-aligned-v1 > .jicoa-country-trigger-v2 {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 48px;
  max-width: 205px;
  padding: 4px 4px;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  line-height: normal;
}
.jicoa-country-header-aligned-v1 .jicoa-country-flag-v2 {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
  align-self: center;
}
.jicoa-country-header-aligned-v1 .jicoa-country-trigger-words-v2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  text-align: start;
  transform: none;
}
.jicoa-country-header-aligned-v1 .jicoa-country-kicker-v2 {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  color: #202020;
  letter-spacing: 0;
  white-space: nowrap;
}
.jicoa-country-header-aligned-v1 .jicoa-country-current-v2 {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #202020;
  letter-spacing: 0;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Replace the mismatched glyph arrow with a consistent outlined chevron. */
.jicoa-country-header-aligned-v1 .jicoa-country-chevron-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-left: 2px;
  flex: 0 0 15px;
  color: #202020;
  font-size: 0;
  line-height: 1;
}
.jicoa-country-header-aligned-v1 .jicoa-country-chevron-v2 svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease-out;
}
.jicoa-country-header-aligned-v1 .jicoa-country-trigger-v2[aria-expanded="true"] .jicoa-country-chevron-v2 svg {
  transform: rotate(180deg);
}
@media (max-width: 1200px) {
  .jicoa-country-header-aligned-v1 .jicoa-country-current-v2 { max-width: 102px; }
  .jicoa-country-select-v2.jicoa-country-header-aligned-v1 { margin-right: 11px !important; }
  .jicoa-country-select-v2.jicoa-country-header-aligned-v1::after { right: -6px; }
}
@media (max-width: 760px) {
  .jicoa-country-select-v2.jicoa-country-header-aligned-v1 { min-height: 42px; margin: 0 8px 0 2px !important; }
  .jicoa-country-select-v2.jicoa-country-header-aligned-v1::after { height: 30px; right: -5px; }
  .jicoa-country-select-v2.jicoa-country-header-aligned-v1 > .jicoa-country-trigger-v2 { min-height: 40px; gap: 5px; padding: 3px; }
  .jicoa-country-header-aligned-v1 .jicoa-country-flag-v2 { font-size: 18px; }
  .jicoa-country-header-aligned-v1 .jicoa-country-kicker-v2 { font-size: 10px; line-height: 13px; }
  .jicoa-country-header-aligned-v1 .jicoa-country-current-v2 { font-size: 12px; line-height: 16px; max-width: 85px; }
  .jicoa-country-header-aligned-v1 .jicoa-country-chevron-v2, .jicoa-country-header-aligned-v1 .jicoa-country-chevron-v2 svg { width: 12px; height: 12px; }
  .jicoa-country-header-aligned-v1 .jicoa-country-chevron-v2 { flex-basis: 12px; }
}
