.country__page {
    background-color: #fff6f0;
    background-image: var(--visamart-img-country-bg, url('../img/country_bg.png'));
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.country__page .cta::before {
  background: #FFF6F0;
  opacity: 1;
}

.country__page .cta__title,
.country__page .cta__desc,
.country__page .cta__big,
.country__page .cta__address,
.country__page .cta__contacts a {
  color: #000;
}

.country-select {
    max-width: 1376px;
    margin: 120px auto 60px;
}

.country-select__inner {
  width: 100%;
  min-height: 887px;
  padding: 24px;
  background: #fff6f0;
  border-radius: 32px;
}

.country-select__title {
  margin: 0 0 32px;
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  color: #000;
}

.country-select__search {
  position: relative;
  margin-bottom: 8px;
}

.country-select__input {
  width: 100%;
  height: 64px;
  padding: 0 64px 0 24px;
  border: 0;
  border-radius: 16px;
  background: #ebe4df;
  font-size: 14px;
  outline: none;
}

.country-select__search-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border: 2px solid #8a8580;
  border-radius: 50%;
}

.country-select__search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: #8a8580;
  transform: rotate(45deg);
}

.country-select__popular {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.country-select__popular-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.country-select__popular-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-select__tag {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #ded5cf;
  border-radius: 999px;
  background: transparent;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: 0.2s ease;
}

.country-select__tag:hover,
.country-select__tag--active {
  border-color: #0e7c6b;
  color: #0e7c6b;
}

.country-select__content {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 40px;
}

.country-select__regions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 32px;
  border-right: 1px solid #ebe4df;
}

.country-select__region {
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: 0.2s ease;
}

.country-select__region::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
}

.country-select__region:hover,
.country-select__region--active {
  background: #e1dad5;
}

.country-select__countries {
  padding-top: 12px;
}

.country-select__letters {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  margin-bottom: 28px;
}

.country-select__letters .country-select__letter,
.country-select__letters button {
  min-width: 20px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8f8b88;
  font-size: 14px;
  line-height: 44px;
  cursor: pointer;
  transition: 0.2s ease;
}

.country-select__letters .country-select__letter:hover,
.country-select__letters .country-select__letter--active,
.country-select__letters button:hover,
.country-select__letters button.country-select__letter--active {
  color: #0e7c6b;
}

.country-select__popular-empty {
  font-size: 14px;
  color: #8f8b88;
}

.country-select__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 8px;
  row-gap: 12px;
}

.country-select__country {
  min-height: 48px;
  padding: 12px 8px;
  border-radius: 10px;
  color: #000;
  font-size: 16px;
  text-decoration: none;
  transition: 0.2s ease;
}

.country-select__empty,
.country-select__empty-admin {
  grid-column: 1 / -1;
  color: #666;
  font-size: 15px;
  padding: 24px 0;
}

.page-countries {
  background: transparent;
}

.country-select__country:hover,
.country-select__country--active {
  background: #e1dad5;
}

/* Модалка выбора страны на главной */
.popup--country-picker {
  z-index: 1200;
}

.popup--country-picker .popup__content--country {
  width: min(1200px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px 28px 32px;
  border-radius: 22px;
}

.country-select--modal {
  padding: 0;
}

.country-select--modal .country-select__inner {
  max-width: none;
  padding: 0;
}

.country-select--modal .country-select__title {
  font-size: 28px;
  margin-bottom: 20px;
}

section.popular {
  padding: 60px 0 100px;
}

.popular__container {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 24px;
}

.popular__empty {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin: 0;
}

.popular__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.popular__cta {
  display: flex;
  align-items: center;
  padding: 12px 36px 12px 20px;
  gap: 16px;

  width: 372px;
  height: 72px;

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 22px;

  text-decoration: none;
  color: #fff !important;
}

.popular__cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

.popular__cta strong {
  font-size: 16px;
  display: block;
}

.popular__cta span {
  font-size: 12px;
  opacity: 0.7;
}

.popular__head .popular__title {
  margin: 0;
  font-size: 64px;
  font-weight: 500;
  color: #fff;
}

.popular__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.popular-card {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 0;
  border-radius: 24px;
  background: #FFF6F0;
  min-height: 260px;
  overflow: hidden;
}

.popular-card__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 260px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
}

.popular-card__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.popular-card__badges span {
  padding: 6px 12px;
  border: 1px solid #cfc6bf;
  border-radius: 999px;
  font-size: 12px;
  color: #6f6a66;
}

.popular-card__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
  color: #000;
}

.popular-card__desc {
  margin: 0 0 24px;
  font-size: 14px;
  color: #5f5a56;
}

.popular-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.popular-card__time {
  font-size: 16px;
  color: #000;
}

.popular-card__price {
  text-align: right;
}

.popular-card__price span {
  display: block;
  font-size: 12px;
  color: #8f8b88;
}

.popular-card__price strong {
  font-size: 18px;
  color: #000;
}

.country__page .interest {
    max-width: 1376px;
    margin: 60px auto;
}

.country__page .interest-item {
    color: #fff;
}

.country__page .process__card-text {
    color: #000;
}

.country__page .cta__form-link button {
    color: #000;
}