/* AkrilClub cleanup widgets */
.ak-price-calc,
.ak-price-calc * {
  box-sizing: border-box;
}

.ak-price-calc {
  width: 100%;
  max-width: 520px;
  margin: 18px auto;
  padding: 18px;
  border: 1px solid #dbe7d4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(35, 65, 24, 0.12);
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}

.ak-price-calc h2 {
  margin: 0 0 8px;
  color: #1f4d12;
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
}

.ak-price-calc p {
  margin: 0 0 14px;
}

.ak-calc-lead {
  color: #555;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.ak-calc-field {
  margin-bottom: 12px;
}

.ak-calc-field label {
  display: block;
  margin-bottom: 5px;
  color: #222;
  font-size: 13px;
  font-weight: bold;
}

.ak-calc-input {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #cfd9c8;
  border-radius: 6px;
  background: #f8fbf6;
  color: #222;
  font-size: 13px;
}

.ak-calc-input:focus {
  border-color: #63bc46;
  outline: none;
  background: #fff;
}

.ak-calc-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #f3f9ef;
  border: 1px solid #d9ebcf;
}

.ak-calc-label {
  display: block;
  margin-bottom: 8px;
  color: #6d5400;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.ak-calc-range {
  margin-bottom: 8px;
  color: #111;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.25;
}

.ak-calc-range strong {
  color: #c62828;
}

.ak-calc-note,
.ak-calc-disclaimer,
.ak-calc-hint {
  color: #4d5948;
  font-size: 12px;
  line-height: 1.45;
}

.ak-calc-summary {
  padding: 0;
  margin: 10px 0 12px;
  list-style: none;
  border-top: 1px solid #dbe7d4;
}

.ak-calc-summary li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #dbe7d4;
  color: #222;
  font-size: 12px;
}

.ak-calc-summary span:first-child {
  color: #65715f;
}

.ak-calc-summary span:last-child {
  text-align: right;
  font-weight: bold;
}

.ak-calc-button,
.ak-open-call-modal.ak-calc-button {
  display: block;
  width: 100%;
  margin: 12px 0 8px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #d8342f;
  color: #fff !important;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

.ak-calc-phone {
  display: block;
  color: #277505 !important;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.ak-form-removed {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #d9ebcf;
  border-radius: 8px;
  background: #f3f9ef;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.ak-form-removed a {
  font-size: 18px;
  font-weight: bold;
}

body.ak-call-modal-open {
  overflow: hidden;
}

.ak-call-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 18, 0.72);
  font-family: Arial, Helvetica, sans-serif;
}

.ak-call-modal.is-open {
  display: flex;
}

.ak-call-modal-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 30px 28px 26px;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  border: 1px solid #d9ebcf;
}

.ak-call-modal-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background: linear-gradient(90deg, #63bc46, #ffeb3b);
}

.ak-call-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef3ec;
  color: #222;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ak-call-modal-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #edf7e8;
  color: #3a8f29;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.ak-call-modal-card h2 {
  margin: 0 0 12px;
  color: #111;
  font-size: 28px;
  line-height: 1.2;
}

.ak-call-modal-phone {
  display: inline-block;
  margin-bottom: 16px;
  padding: 13px 22px;
  border-radius: 28px;
  background: #63bc46;
  color: #fff !important;
  font-size: 27px;
  font-weight: bold;
  text-decoration: none !important;
}

.ak-call-modal-text {
  max-width: 390px;
  margin: 0 auto 18px;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.ak-call-modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ak-call-modal-primary,
.ak-call-modal-secondary {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-decoration: none !important;
}

.ak-call-modal-primary {
  background: #d8342f;
  color: #fff !important;
}

.ak-call-modal-secondary {
  background: #eef3ec;
  color: #222;
}

.ak-side-actions {
  position: fixed;
  top: 50%;
  right: 12px;
  z-index: 999990;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: translateY(-50%);
  font-family: Arial, Helvetica, sans-serif;
}

.ak-side-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #17202a !important;
  border: 1px solid #d9ebcf;
  box-shadow: 0 10px 28px rgba(20, 32, 44, 0.18);
  text-decoration: none !important;
}

.ak-side-action-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #63bc46;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.ak-side-action-call .ak-side-action-icon {
  background: #d8342f;
}

.ak-side-action-calc .ak-side-action-icon {
  background: #222;
}

.ak-side-action-text {
  position: absolute;
  right: 62px;
  top: 50%;
  padding: 8px 11px;
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  transform: translate(8px, -50%);
  transition: 0.18s ease;
  pointer-events: none;
}

.ak-side-action:hover .ak-side-action-text,
.ak-side-action:focus .ak-side-action-text {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 700px) {
  .ak-side-actions {
    right: 8px;
    gap: 7px;
  }

  .ak-side-action {
    width: 46px;
    height: 46px;
  }

  .ak-side-action-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .ak-side-action-text {
    display: none;
  }

  .ak-call-modal-card {
    padding: 28px 18px 22px;
  }

  .ak-call-modal-card h2 {
    font-size: 24px;
  }

  .ak-call-modal-phone {
    font-size: 22px;
    padding: 12px 16px;
  }
}
