.mod_langswitcher_country {
	position: relative;
	float: right;
	margin-left: 20px;
	z-index: 100;
	transition: All 0.1s ease;
	-webkit-transition: All 0.1s ease;
	@media screen and (max-width: 1024px) {
		margin-right: 30px;
	}
	@media screen and (max-width: 767px) {
		margin-right: 30px;
	}
}

/* ── Trigger button (globe + label) ── */
.lang-trigger {
	vertical-align: middle;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: #111;
  padding: 8px 12px;
  border-radius: 64px;
  transition: background-color 0.15s;
}

.lang-trigger:hover { background-color: #f5f5f5; }

.lang-trigger__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lang-trigger__label {
  font-weight: 400;
  line-height: 1;
}

.lang-trigger__label strong {
  font-weight: 700;
}

/* ── Backdrop ── */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.backdrop--open {
  opacity: 1;
  visibility: visible;
}

/* ── Side panel (sheet) ── */
.panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: #fff;
  z-index: 99901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.panel--open {
  transform: translateX(0);
}

/* ── Panel header ── */
.panel__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 24px;
  flex-shrink: 0;
}

.panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.15s;
}

.panel__close:hover { background-color: #f5f5f5; }

.panel__close svg {
  width: 24px;
  height: 24px;
}

/* ── Panel body ── */
.panel__body {
  flex: 1;
  padding: 0 24px;
  overflow-y: auto;
}

.panel__heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

/* ── Language buttons ── */
.lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lang-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 64px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}

.lang-btn:hover {
  background: #111;
  color: #fff;
}

.lang-btn--active {
  background: #111;
  color: #fff;
  cursor: default;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Country info ── */
.panel__subheading {
  font-size: 14px;
  font-weight: 400;
  color: #484848;
  margin-bottom: 5px;
  margin-top: 32px;
}

/* ── Change country link ── */
.change-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  /* font-weight: 400; */
  color: #111;
  text-decoration: underline;
  padding: 4px 0;
  margin-bottom: 24px;
}

.change-country:hover {
  text-decoration: underline;
}

.change-country__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Disclaimer ── */
.panel__disclaimer {
  font-size: 12px;
  color: #484848;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ── Panel footer ── */
.panel__footer {
  padding: 16px 24px;
  border-top: 1px solid #dfdfdf;
  flex-shrink: 0;
}

.cancel-btn {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 64px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.cancel-btn:hover {
  background: #111;
  color: #fff;
}

/* ── Demo page content ── */
.page-content {
  padding: 48px 24px;
  max-width: 720px;
  color: #484848;
  font-size: 15px;
  line-height: 1.6;
}

.page-content h1 {
  font-size: 28px;
  color: #111;
  margin-bottom: 12px;
}