.traktorki-cw {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99990;
  font-family: var(--global-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

@media (max-width: 767px) {
  .traktorki-cw {
    left: auto;
    right: 16px;
    bottom: 18px;
  }
}

.traktorki-cw__bubble {
  border: 0;
  border-radius: 999px;
  width: 58px;
  height: 58px;
  padding: 0;
  background: var(--global-palette-btn-bg, var(--global-palette1, #b22f1e));
  color: var(--global-palette-btn, #fff);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: tcw-pulse 2.4s ease-in-out 2 3s;
}

@media (max-width: 767px) {
  .traktorki-cw__bubble {
    width: 56px;
    height: 56px;
  }
}

.traktorki-cw__bubble:hover {
  background: var(--global-palette-btn-bg-hover, var(--global-palette2, #d93d29));
}

.traktorki-cw__bubble-icon {
  font-size: 26px;
  line-height: 1;
}

.traktorki-cw__bubble-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes tcw-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }
}

.traktorki-cw__hint {
  position: absolute;
  right: 72px;
  bottom: 12px;
}

@media (max-width: 767px) {
  .traktorki-cw__hint {
    right: 66px;
    bottom: 8px;
  }
}

.traktorki-cw__hint-inner {
  position: relative;
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--global-palette9, #fff);
  color: var(--global-palette3, #1b1314);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: tcw-hint-in 260ms ease-out;
}

.traktorki-cw__hint-inner::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--global-palette9, #fff);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.traktorki-cw__hint-text {
  white-space: nowrap;
}

@keyframes tcw-hint-in {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.traktorki-cw__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 19, 20, 0.65);
  z-index: 99980;
}

.traktorki-cw__modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 99981;
}

.traktorki-cw__modal[hidden],
.traktorki-cw__backdrop[hidden] {
  display: none !important;
}

.traktorki-cw__modal-inner {
  background: var(--global-palette9, #fff);
  border-radius: 18px;
  max-width: 420px;
  width: calc(100% - 32px);
  padding: 24px 24px 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  position: relative;
}

@media (max-width: 480px) {
  .traktorki-cw__modal-inner {
    padding: 20px 18px 16px;
  }
}

.traktorki-cw__modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(41, 16, 18, 0.06);
  color: var(--global-palette3, #1b1314);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.traktorki-cw__modal-close:hover {
  background: rgba(41, 16, 18, 0.12);
}

.traktorki-cw__title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  color: var(--global-palette3, #1b1314);
}

.traktorki-cw__subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--global-palette6, #765155);
}

.traktorki-cw__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.traktorki-cw__item {
  margin: 0;
}

.traktorki-cw__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--global-palette8, #f9f6f7);
  color: var(--global-palette3, #1b1314);
  transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.traktorki-cw__link:hover {
  background: var(--global-palette7, #f1eaeb);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.traktorki-cw__link-label {
  font-size: 16px;
  font-weight: 600;
}

.traktorki-cw__link-meta {
  font-size: 13px;
  color: var(--global-palette6, #765155);
}

.traktorki-cw__link--phone {
  border-left: 3px solid var(--global-palette11, #13612e);
}

.traktorki-cw__link--whatsapp {
  border-left: 3px solid #25d366;
}

.traktorki-cw__link--messenger {
  border-left: 3px solid #0084ff;
}

.traktorki-cw__link--email {
  border-left: 3px solid #b22f1e;
}
