font font { word-break: break-all; }
font:empty + br { display: none; }

/* 플로팅 래퍼를 헤더 우측(SHOP 또는 햄버거 메뉴 옆)으로 강제 이동 및 배치 */
.gt_switcher_wrapper { 
  position: absolute !important;
  top: 25px !important; /* 헤더 높이에 맞게 위아래 위치 조절 (필요시 숫자 변경) */
  right: 100px !important; /* 햄버거 메뉴나 SHOP 아이콘 왼쪽에 배치되도록 여백 설정 */
  left: auto !important;
  bottom: auto !important;
  line-height: 0; 
  z-index: 99999;
}

.gt_float_switcher { border-radius: 2px; }
.gt_float_switcher .gt-selected .gt-current-lang { display: flex; gap: .5rem; }
.gt_float_switcher .gt_options.gt-open { border-top: 1px solid rgba(0,0,0,0.1); }
.gt_float_switcher .gt_options a,
.gt_float_switcher .gt-selected .gt-current-lang { padding: 9px 15px; }
.gt_float_switcher img { width: 20px; margin: unset; }
.gt_float_switcher .gt-lang-code { font-size: .85rem; }
.gt_float_switcher .gt_options a { font-size: 0; display: flex; align-items: center; gap: .25rem; }
.gt_float_switcher .gt_options a::after { content: attr(data-gt-lang); font-size: min(1rem, max(1vw, 10px)); }
.gt_float_switcher .gt_options a:hover { background-color: var(--wp--preset--color--primary); }
.gt_float_switcher .gt_float_switcher-arrow { margin-left: auto; }

@media (max-width: 1800px) {
  /* 반응형에서도 위치 유지 */
  .gt_switcher_wrapper{ 
    top: 25px !important;
    right: 55px !important;
  }
  .gt_float_switcher .gt_options a,
  .gt_float_switcher .gt-selected .gt-current-lang { padding: max(4px, 0.5vw) max(8px, 1vw); }
}

/* 모바일 화면 (태블릿/모바일) 조절 */
@media (max-width: 1024px) {
  .gt_switcher_wrapper{
    top: 20px !important; /* 모바일 헤더 높이에 맞춤 */
    right: 55px !important; /* 모바일 햄버거 버튼 메뉴 왼쪽에 딱 붙도록 설정 */
  }
  .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code { display: none; }
}