/* Shared by the main navigation and every standalone service/project page. */
.kakao-chat {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 20px 12px 15px;
  border: 1px solid #e4ce00;
  border-radius: 999px;
  background: #fee500;
  color: #191919;
  box-shadow: 0 4px 18px #17271f24;
  font-family: var(--font, sans-serif);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.kakao-chat:hover { background: #f5dc00; }
.kakao-chat:focus-visible { outline: 3px solid #143e32; outline-offset: 5px; }
.kakao-chat__icon { display: block; width: 32px; height: 32px; flex: none; }
/* Keep the final footer links scrollable above the fixed contact control. */
.footer, .search-footer { padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  .kakao-chat {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    gap: 4px;
    width: 72px;
    min-height: 72px;
    padding: 9px 5px;
    border-radius: 22px;
    font-size: 10px;
    letter-spacing: -.03em;
  }
}
@media print { .kakao-chat { display: none; } }
