.kll-country-bar {
  --kll-ink: #142631;
  --kll-muted: #5a6d76;
  --kll-border: rgba(20, 38, 49, 0.12);
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  color: var(--kll-ink);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--kll-border);
  box-shadow: 0 -12px 36px rgba(33, 30, 40, 0.12);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 220ms ease, transform 220ms ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.kll-country-bar--visible {
  opacity: 1;
  transform: translateY(0);
}

.kll-country-bar--leaving {
  opacity: 0;
  transform: translateY(110%);
}

.kll-country-bar__accent {
  height: 4px;
  background: linear-gradient(90deg, #efb8ca 0%, #c5b9e8 52%, #bfece8 100%);
}

.kll-country-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 64px));
  min-height: 108px;
  margin: 0 auto;
  padding: 18px 54px 18px 0;
}

.kll-country-bar__copy {
  min-width: 0;
}

.kll-country-bar__brand,
.kll-country-bar__title,
.kll-country-bar__body {
  margin: 0;
}

.kll-country-bar__brand {
  margin-bottom: 5px;
}

.kll-country-bar__brand img {
  display: block;
  width: 142px;
  height: auto;
}

.kll-country-bar__title {
  color: #222;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.kll-country-bar__body {
  margin-top: 5px;
  color: var(--kll-muted);
  font-size: 14px;
  line-height: 1.5;
}

.kll-country-bar__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.kll-country-bar__visit,
.kll-country-bar__stay,
.kll-country-bar__close {
  -webkit-appearance: none;
  appearance: none;
  font-family: Arial, Helvetica, sans-serif;
}

.kll-country-bar__visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 0;
  padding: 14px 20px;
  color: #fff !important;
  background: var(--kll-ink) !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: 0 13px 27px rgba(20, 38, 49, 0.17) !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.kll-country-bar__visit:hover,
.kll-country-bar__visit:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, #ed78ad, #a283e8) !important;
  border: 0 !important;
  box-shadow: 0 16px 31px rgba(172, 94, 168, 0.27) !important;
  outline: none;
  transform: translateY(-2px);
}

.kll-country-bar__visit-short,
.kll-country-bar__stay-short {
  display: none;
}

.kll-country-bar__stay {
  padding: 9px 2px;
  color: var(--kll-ink) !important;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  border-bottom: 1px solid rgba(48, 49, 54, 0.35);
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.035em;
  box-shadow: none !important;
  cursor: pointer;
}

.kll-country-bar__stay:hover,
.kll-country-bar__stay:focus-visible {
  color: #111 !important;
  background: transparent !important;
  background-image: none !important;
  border-bottom-color: #e72b78;
  box-shadow: none !important;
  transform: none;
}

.kll-country-bar__close {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: #3f4145;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  border-radius: 50%;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease;
}

.kll-country-bar__close:hover,
.kll-country-bar__close:focus-visible {
  color: #111 !important;
  background: rgba(48, 49, 54, 0.07) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.kll-country-bar__visit:focus-visible,
.kll-country-bar__stay:focus-visible,
.kll-country-bar__close:focus-visible {
  outline: 3px solid rgba(197, 185, 232, 0.9);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .kll-country-bar__inner {
    display: block;
    width: min(100% - 32px, 560px);
    min-height: 0;
    padding: 17px 38px calc(18px + env(safe-area-inset-bottom)) 0;
  }

  .kll-country-bar__brand {
    margin-bottom: 4px;
  }

  .kll-country-bar__brand img {
    width: 128px;
  }

  .kll-country-bar__title {
    padding-right: 4px;
    font-size: 23px;
  }

  .kll-country-bar__body {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .kll-country-bar__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin-top: 14px;
  }

  .kll-country-bar__visit {
    min-height: 56px;
    padding: 14px 20px;
    font-size: 13px;
  }

  .kll-country-bar__stay {
    font-size: 11px;
  }

  .kll-country-bar__close {
    top: 18px;
    right: -5px;
    transform: none;
  }
}

@media (max-width: 430px) {
  .kll-country-bar__inner {
    width: min(100% - 24px, 560px);
    padding: 13px 32px calc(14px + env(safe-area-inset-bottom)) 0;
  }

  .kll-country-bar__brand {
    margin-bottom: 3px;
  }

  .kll-country-bar__brand img {
    width: 108px;
  }

  .kll-country-bar__title {
    font-size: 20px;
    line-height: 1.05;
  }

  .kll-country-bar__body {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
  }

  .kll-country-bar__actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 10px;
  }

  .kll-country-bar__visit-label,
  .kll-country-bar__stay-label {
    display: none;
  }

  .kll-country-bar__visit-short,
  .kll-country-bar__stay-short {
    display: inline;
  }

  .kll-country-bar__visit {
    min-width: 0;
    white-space: nowrap;
  }

  .kll-country-bar__stay {
    align-self: center;
    justify-self: end;
    font-size: 10px;
  }

  .kll-country-bar__close {
    top: 11px;
    right: -7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kll-country-bar,
  .kll-country-bar__visit,
  .kll-country-bar__close {
    transition: none;
  }
}
