@font-face {
  font-family: MamarPlex;
  src: url('../mammar-v2/fonts/plex-arabic-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: MamarPlex;
  src: url('../mammar-v2/fonts/plex-arabic-semibold.ttf') format('truetype');
  font-weight: 500 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body.ck-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 0 0, #285ae033, transparent 50%), #f3f6fc;
  color: #11264a;
  font-family: MamarPlex, Arial, sans-serif;
  padding: 20px;
}
.ck-main { max-width: 480px; margin: 0 auto; padding-bottom: 32px; }
.ck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 24px;
  padding: 8px 0 16px;
  border-bottom: 1px solid #dbe3f0;
}
.ck-header img { object-fit: contain; display: block; width: 100px; height: auto; }
.ck-header a { color: #263e66; font-size: 12px; text-decoration: none; }
.ck-steps {
  font-size: 12px;
  color: #647794;
  text-align: center;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.ck-steps .is-current { color: #11264a; font-weight: 700; }
.ck-steps .is-done { color: #2f6b1f; font-weight: 700; }
.ck-summary {
  background: radial-gradient(ellipse at top right, #285ae0, transparent 85%), #091c40;
  color: #fff;
  border: 0;
  border-radius: 20px;
  padding: 20px 24px;
  margin: 0 0 16px;
  box-shadow: 0 12px 30px #142b6514;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ck-summary span:first-child { font-size: 14px; }
.ck-price { color: #dcfa87; font-size: 32px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.ck-price small { font-size: 18px; font-weight: 700; margin-right: 4px; }
.ck-card {
  background: #fff;
  border: 1px solid #e0e7f2;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 45px #142b6508;
}
.ck-card h1 {
  font-size: 27px;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0 0 6px;
  color: #11264a;
}
.ck-lead { font-size: 13px; color: #6c7b92; margin: 0 0 20px; line-height: 1.7; }
.ck-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 8px;
  color: #11264a;
}
.ck-card input[type="text"],
.ck-card input[type="email"],
.ck-card input[type="tel"],
.ck-card input[type="password"] {
  width: 100%;
  background: #f7f9fd;
  color: #11264a;
  border: 1px solid #dbe3ef;
  padding: 13px 14px;
  font-size: 14px;
  border-radius: 10px;
  font-family: inherit;
}
.ck-card input:focus {
  outline: 3px solid #2459ed20;
  border-color: #2459ed;
}
.ck-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9fd;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 0 12px;
}
.ck-phone span { color: #647794; font-size: 13px; font-weight: 700; }
.ck-phone input {
  border: 0 !important;
  background: transparent !important;
  padding: 13px 0 !important;
  outline: none !important;
}
.ck-phone:focus-within { outline: 3px solid #2459ed20; border-color: #2459ed; }
.ck-btn {
  display: block;
  width: 100%;
  background: #dcfa87;
  color: #11264a;
  font-size: 15px;
  font-weight: 800;
  border: 0;
  border-radius: 12px;
  margin-top: 22px;
  padding: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  transition: background .2s;
}
.ck-btn:hover { background: #ccef6b; }
.ck-switch {
  display: block;
  width: 100%;
  color: #2459ed;
  background: transparent;
  font-size: 12px;
  padding: 8px;
  margin-top: 12px;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
}
.ck-switch:hover { background: #f1f5ff; border-radius: 10px; }
.ck-methods { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.ck-method {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: #f7f9fd;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  font-size: 14px;
  padding: 14px;
  cursor: pointer;
  margin: 0 !important;
  font-weight: 600;
}
.ck-method:has(input:checked) { border-color: #2459ed; background: #eef4ff; }
.ck-method input { width: auto; margin: 0; accent-color: #2459ed; }
.ck-method-copy { min-width: 0; }
.ck-method-copy b { display: block; font-size: 14px; }
.ck-method-copy small { display: block; margin-top: 4px; color: #647794; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.ck-copy {
  background: #fff;
  border: 1px solid #dbe3ef;
  color: #2459ed;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.ck-note, .ck-foot { font-size: 11px; color: #7b89a0; line-height: 1.7; }
.ck-foot { margin-top: 20px; text-align: center; }
.ck-alert {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 16px;
}
.ck-alert ul { margin: 0; padding-right: 18px; }
.ck-alert-ok { background: #eefbe8; color: #215c28; border: 1px solid #cce8c4; }
.ck-alert-err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c7c7; }
.ck-upload {
  display: block;
  margin-top: 8px;
  padding: 18px 14px;
  border: 1.5px dashed #c5d3ea;
  border-radius: 14px;
  background: #f7f9fd;
  text-align: center;
  cursor: pointer;
}
.ck-upload b { display: block; font-size: 13px; color: #11264a; }
.ck-upload small { display: block; margin-top: 6px; color: #7b89a0; font-size: 11px; }
.ck-hint { font-size: 12px; color: #6c7b92; line-height: 1.7; margin: 0 0 12px; }
.ck-change { display: block; text-align: center; margin-top: 10px; font-size: 12px; color: #2459ed; text-decoration: none; font-weight: 700; }
.ck-extra { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #dbe3ef; }
.ck-intl {
  margin-top: 8px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #f7f9fd;
  padding: 14px 16px;
}
.ck-intl p { margin: 0 0 10px; font-size: 13px; color: #6c7b92; line-height: 1.7; }
.ck-intl a { color: #2459ed; font-size: 13px; font-weight: 700; text-decoration: none; }
.ck-holder { font-size: 13px; color: #52617b; margin: 12px 0 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.ck-body .mi-coupon {
  margin: 16px 0 4px;
  padding: 14px;
  border-radius: 16px;
  background: #f3f7ff;
  border: 1px solid #d4e3f8;
}
.ck-body .mi-coupon__title { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: #1e3a6e; }
.ck-body .mi-coupon__bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  background: #fff;
  border: 1px solid #c7daf4;
  border-radius: 12px;
  overflow: hidden;
}
.ck-body .mi-coupon__bar > .sr-only,
.ck-body .mi-coupon__bar > input[type="hidden"] {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ck-card .mi-coupon__bar input[type="text"] {
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}
.ck-body .mi-coupon__bar button {
  background: #2459ed;
  color: #fff;
  border: 0;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  margin: 0 !important;
  border-radius: 0 !important;
  width: auto;
  font-size: 13px;
}
.ck-body .mi-coupon__error { color: #8a1f1f; font-size: 12px; margin: 8px 0 0; }
.ck-body .mi-coupon__success { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ck-body .mi-coupon__remove {
  background: transparent;
  color: #8a1f1f;
  border: 0;
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 12px;
  cursor: pointer;
}
.ck-body .mi-coupon__code { display: block; direction: ltr; }

.ck-done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfa87;
  color: #173317;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 28px;
  font-weight: 800;
}
.ck-rows { border: 1px solid #e0e7f2; border-radius: 16px; overflow: hidden; margin: 18px 0; }
.ck-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
}
.ck-row:nth-child(odd) { background: #f7f9fd; }
.ck-row span { color: #647794; }
.ck-row b { color: #11264a; }
.ck-otp { letter-spacing: 8px; text-align: center; font-size: 22px !important; font-weight: 800; }
.ck-resend { margin-top: 10px; }

@media (max-width: 500px) {
  body.ck-body { padding: 16px; }
  .ck-card { padding: 22px; }
  .ck-header { margin-bottom: 18px; }
  .ck-summary { padding: 16px 20px; }
  .ck-card h1 { font-size: 25px; }
  .ck-price { font-size: 28px; }
}
