.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 18px;
  white-space: nowrap;
}

.site-actions-floating {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 2000;
}

/* Keep Google's translator controls hidden; the site's EN/BG buttons control it. */
.google-translate-host,
.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Keep the primary navigation underline consistent across every page. */
.nav-links > li > a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: #eee;
  text-decoration: none;
}

.nav-links > li > a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: #e63946;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a:focus-visible::after {
  transform: scaleX(1);
}

.site-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #555;
  border-radius: 999px;
  background: #292929;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-cart:hover {
  background: #3a3a3a;
}

.site-cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #ed3948;
  color: #fff;
  font-size: 12px;
}

.site-language {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #999;
  font-weight: 800;
}

.site-language button {
  padding: 7px 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #aaa;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-language button.active,
.site-language button:hover {
  background: #444;
  color: #fff;
}

@media (max-width: 768px) {
  .site-actions {
    position: absolute;
    top: 14px;
    right: 62px;
    margin: 0;
    gap: 6px;
  }

  .site-cart {
    padding: 6px 9px;
    font-size: 13px;
  }

  .site-language {
    font-size: 12px;
  }

  .site-language button {
    padding: 6px 7px;
  }

  .site-actions-floating {
    top: 10px;
    right: 10px;
  }
}
