.ck-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(22, 10, 6, .62);
  display: grid;
  place-items: center;
  padding: 18px 12px;
}
.ck-overlay[hidden] { display: none; }
.ck-dialog {
  width: min(640px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fff;
  border: 4px solid #c2410c;
  border-radius: 6px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.ck-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.ck-dialog h2 {
  margin: 0 36px 18px;
  text-align: center;
  color: #c62828;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.ck-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 3px solid #1f9d55;
  margin-bottom: 22px;
}
.ck-step {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 8px 12px;
  cursor: pointer;
  position: relative;
}
.ck-step strong {
  display: block;
  color: #1f9d55;
  font-size: 16px;
}
.ck-step span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}
.ck-step.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #1f9d55;
}
.ck-step:not(.is-active) span { color: #9ca3af; }
#ck-step-1 input,
.ck-phone,
.ck-country select,
.ck-coupon input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 14px 16px;
  font: 16px/1.3 Inter, system-ui, sans-serif;
  color: #1f2937;
  background: #fff;
}
#ck-step-1 input { margin-bottom: 14px; }
#ck-step-1 input:focus,
.ck-phone:focus-within,
.ck-country select:focus,
.ck-coupon input:focus {
  outline: 2px solid #bfdbfe;
  border-color: #1f9d55;
}
.ck-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 8px 0 12px;
}
.ck-phone select {
  border: 0;
  background: transparent;
  font: 600 15px/1 Inter, system-ui, sans-serif;
  color: #111827;
  padding: 14px 0;
}
.ck-phone input {
  border: 0 !important;
  margin: 0 !important;
  padding: 14px 8px !important;
  outline: none !important;
  width: 100%;
}
.ck-next,
.ck-pay {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 6px;
  background: #22c55e;
  color: #fff;
  font: 800 18px/1 Inter, system-ui, sans-serif;
  padding: 16px 18px;
  cursor: pointer;
  box-shadow: 0 2px 0 #15803d;
}
.ck-next:hover,
.ck-pay:hover { background: #16a34a; }
.ck-next:disabled,
.ck-pay:disabled { opacity: .7; cursor: wait; }
.ck-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ck-pay svg { width: 22px; height: 22px; }
.ck-privacy,
.ck-secure {
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  margin: 12px 0 0;
}
.ck-error,
.ck-coupon-msg,
.ck-pay-note {
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
  margin: 8px 0 0;
}
.ck-coupon-msg.is-ok { color: #15803d; }
.ck-back {
  border: 0;
  background: transparent;
  color: #6b7280;
  font: 600 14px/1 Inter, system-ui, sans-serif;
  padding: 0 0 14px;
  cursor: pointer;
}
.ck-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ck-table th {
  text-align: left;
  color: #6b7280;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 1px solid #e5e7eb;
}
.ck-table td {
  padding: 12px 4px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}
.ck-table th:nth-child(2),
.ck-table td:nth-child(2),
.ck-table th:nth-child(3),
.ck-table td:nth-child(3) { text-align: right; }
.ck-radio {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 2px solid #1f9d55;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px #1f9d55;
  vertical-align: -2px;
}
.ck-summary-label {
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  margin: 16px 0 6px;
}
.ck-total td { font-weight: 800; }
.ck-coupon {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.ck-coupon input { width: 220px; padding: 10px 12px; }
.ck-coupon button {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  font: 700 14px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}
#ck-payment { margin-top: 18px; }
.ck-country {
  display: block;
  margin-top: 14px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}
.ck-country select { margin-top: 6px; background: #fff; }
@media (max-width: 640px) {
  .ck-dialog { padding: 22px 14px 16px; }
  .ck-dialog h2 { margin-inline: 24px; }
  .ck-coupon { flex-direction: column; }
  .ck-coupon input { width: 100%; }
}
