.kbc-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  font-family: inherit;
}

.kbc-bubble {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #10231f;
  box-shadow: 0 16px 38px rgba(15, 23, 32, 0.28);
  font-weight: 800;
}

.kbc-bubble i {
  color: #f3d36d;
  font-size: 20px;
}

.kbc-panel {
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100vh - 105px);
  overflow: auto;
  margin-bottom: 12px;
  border: 1px solid #d9dfd8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 32, 0.24);
}

.kbc-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  color: #fff;
  background: #10231f;
}

.kbc-head span {
  display: block;
  color: #f3d36d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kbc-head strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.2;
}

.kbc-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: transparent;
}

.kbc-body {
  padding: 16px;
}

.kbc-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.kbc-line {
  display: block;
  padding: 13px;
  border: 1px solid #e3dfd2;
  border-radius: 8px;
  color: #10231f;
  background: #fafbf8;
  text-decoration: none;
}

.kbc-line:hover {
  color: #10231f;
  border-color: #c09201;
}

.kbc-line span,
.kbc-line em {
  display: block;
  font-size: 12px;
}

.kbc-line span {
  color: #8a6b08;
  font-weight: 800;
  text-transform: uppercase;
}

.kbc-line strong {
  display: block;
  margin: 2px 0;
  font-size: 19px;
}

.kbc-line em {
  color: #54605a;
  font-style: normal;
}

.kbc-form label {
  display: block;
  margin: 10px 0 6px;
  color: #26322d;
  font-size: 13px;
  font-weight: 800;
}

.kbc-form input,
.kbc-form select,
.kbc-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #cfd7d0;
  border-radius: 6px;
  color: #17201b;
  background: #fff;
}

.kbc-form textarea {
  resize: vertical;
}

.kbc-form input:focus,
.kbc-form select:focus,
.kbc-form textarea:focus {
  outline: 3px solid rgba(192, 146, 1, 0.42);
  border-color: #c09201;
}

.kbc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kbc-check {
  display: flex !important;
  gap: 9px;
  align-items: flex-start;
  font-weight: 600 !important;
}

.kbc-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.kbc-safety {
  margin: 10px 0;
  color: #65726b;
  font-size: 12px;
  line-height: 1.45;
}

.kbc-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #10231f;
  background: #f3d36d;
  font-weight: 800;
}

.kbc-form.is-sending .kbc-submit {
  opacity: 0.72;
  pointer-events: none;
}

.kbc-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #10231f;
  font-size: 13px;
  font-weight: 800;
}

.kbc-honey {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
}

@media (max-width: 575px) {
  .kbc-widget {
    right: 14px;
    bottom: 14px;
  }

  .kbc-grid {
    grid-template-columns: 1fr;
  }
}
