.kln-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.65, 0.25, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
  pointer-events: none;
}

.kln-sticky-atc.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.kln-sticky-atc__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.kln-sticky-atc__info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.kln-sticky-atc__thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}

.kln-sticky-atc__text {
  flex: 1 1 auto;
  min-width: 0;
}

.kln-sticky-atc__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin-bottom: 2px;
}

.kln-sticky-atc__price {
  font-size: 16px;
  font-weight: 700;
  color: #506e50;
  line-height: 1;
  white-space: nowrap;
}

.kln-sticky-atc__btn {
  flex: 0 0 auto;
  min-width: 200px;
  padding: 12px 22px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: none !important;
  background-color: #506e50 !important;
  border-color: #506e50 !important;
  color: #ffffff !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.kln-sticky-atc__btn:hover:not(:disabled),
.kln-sticky-atc__btn:focus-visible:not(:disabled) {
  background-color: #3d5a3d !important;
  border-color: #3d5a3d !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(80, 110, 80, 0.35);
}

.kln-sticky-atc__btn:active:not(:disabled) {
  background-color: #2f472f !important;
  border-color: #2f472f !important;
}

.kln-sticky-atc__btn:disabled {
  background-color: #506e50 !important;
  border-color: #506e50 !important;
  opacity: 0.55;
}

.kln-sticky-atc__btn i {
  font-size: 18px;
  line-height: 1;
}

body.kln-has-sticky-atc .link_show_please_call_me.newton_callback_phone {
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  transition: bottom 0.35s cubic-bezier(0.2, 0.65, 0.25, 1);
}

@media (max-width: 767.98px) {
  .kln-sticky-atc__inner {
    padding: 9px 12px;
    gap: 10px;
  }

  .kln-sticky-atc__thumb {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .kln-sticky-atc__name {
    font-size: 12.5px;
    margin-bottom: 1px;
  }

  .kln-sticky-atc__price {
    font-size: 14px;
  }

  .kln-sticky-atc__btn {
    min-width: 0;
    padding: 10px 14px !important;
    font-size: 13px;
  }

  body.kln-has-sticky-atc .link_show_please_call_me.newton_callback_phone {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 479.98px) {
  .kln-sticky-atc__thumb {
    display: none;
  }

  .kln-sticky-atc__btn-label {
    display: none;
  }

  .kln-sticky-atc__btn {
    padding: 10px 12px !important;
  }

  .kln-sticky-atc__btn i {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kln-sticky-atc,
  body.kln-has-sticky-atc .link_show_please_call_me.newton_callback_phone {
    transition: none !important;
  }
}
