.home-language {
  display: flex;
  gap: 2px;
  padding: 2px;
}

.home-language[hidden] { display: none; }

.home-language button {
  min-width: 32px;
  min-height: 32px;
  padding: 5px 7px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: var(--ink, #24272a);
  font-size: 12px;
  font-weight: 700;
}

.home-language button[aria-pressed="true"] { background: var(--red, #cd2027); color: #fff; }
.home-language button[aria-pressed="false"]:hover { background: #f4f4f4; }
.product-legacy-tools { display: flex; align-items: center; gap: 8px; }

.hero { container-type: size; }
.hero-uz-layer { display: none; }

html[lang="uz"] .hero-uz-layer {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.778cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-uz-layer span {
  position: absolute;
  left: 7.45%;
  top: 43.7%;
  width: 33.1%;
  height: 3.7%;
  display: flex;
  align-items: center;
  padding-left: .45%;
  background: linear-gradient(100deg, #150908, #300806);
  color: #f5f2ef;
  font-size: clamp(5px, 1.21cqw, 24px);
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
}

.slide-two .hero-uz-layer span {
  left: 7.55%;
  top: 38.05%;
  width: 26.8%;
  height: 2.9%;
  background: linear-gradient(100deg, #200503, #260604);
  font-size: clamp(4px, .96cqw, 19px);
}

@media (min-width: 901px) and (max-width: 1040px) {
  .header:has(.home-language) { gap: 14px; }
  .header:has(.home-language) .navigation { gap: 1.3vw; }
}

@media (max-width: 560px) {
  html[lang="uz"] .hero-uz-layer {
    top: 0;
    width: 100%;
    height: 56.25cqw;
    transform: translateX(-50%);
  }
}

@media (max-width: 360px) {
  .header:has(.home-language) .brand-logo { width: min(30vw, 108px); }
  .header:has(.home-language) .header-tools { gap: 4px; }
  .home-language button { min-width: 28px; padding-inline: 5px; }
}
