/* merchant-signup — شكل مطابق docs/mockups/signup-source (Cairo فقط) */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700;800;900&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Cairo, sans-serif;
  background: #f3fbfc;
  color: #0f172a;
  min-height: 100vh;
}
.is-hidden { display: none !important; }
.nw { white-space: nowrap; }
.lat { direction: ltr; unicode-bidi: isolate; }

/* —— layout —— */
.shell { min-height: 100vh; }
.desktop-split { display: none; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.mobile-flow {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: max(12px, env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse 420px 280px at 85% 0%, rgba(92, 207, 220, 0.28), transparent 70%),
    linear-gradient(180deg, #f3fbfc, #e6f6f8);
  min-height: 100vh;
}
@media (max-width: 959px) {
  #wizardRoot {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .ms-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -10px 28px rgba(15, 42, 58, 0.1);
  }
  .ms-sticky-cta .btn { margin-top: 0; }
  #screenWelcome {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}
@media (min-width: 960px) {
  .ms-sticky-cta {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    margin-top: 14px;
  }
}

@media (min-width: 960px) {
  .mobile-only-welcome { display: none !important; }
  .mobile-flow {
    max-width: none;
    margin: 0;
    padding: 0;
    display: contents;
    background: none;
    min-height: 0;
  }
  /* LTR columns: showcase left · form right (matches desktop-start.html) */
  .desktop-split {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    min-height: 100vh;
    direction: ltr;
  }
  .desk-form-wrap {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 28px 56px 28px;
    min-height: 100vh;
    direction: rtl;
  }
  .desk-form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex: none;
  }
  .desk-form-top .ms-brand b { font-size: 18px; letter-spacing: 0.4px; }
  .desk-form-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }
  .desk-form-body #wizardRoot {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
  .desk-form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: none;
    padding-top: 18px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 13px;
  }
  .desk-form-foot b, .desk-form-foot a { color: #0d9488; font-weight: 900; text-decoration: none; }
  .desk-form-foot .lat { direction: ltr; unicode-bidi: isolate; }
  #wizardRoot {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
  #wizardRoot .ms-card {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  #wizardRoot.desk-auth-only .progress,
  #wizardRoot.desk-auth-only #wizardFoot { display: none !important; }
}

/* —— desktop showcase: stage ثابت 900×960 + scale (desktop-APPROVED) —— */
.desk-show {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  height: 100%;
  background:
    radial-gradient(ellipse 600px 420px at 18% 82%, rgba(24, 119, 242, 0.16), transparent 70%),
    linear-gradient(160deg, #5ccfdc 0%, #a9e7ef 38%, #e6f9fb 72%, #ffffff 100%);
  color: #0f2a3a;
}
.ds-stage-fit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.ds-stage {
  position: relative;
  z-index: 1;
  direction: ltr;
  width: 900px;
  height: 960px;
  flex: none;
  transform-origin: center center;
  transform: scale(var(--ds-scale, 1));
  pointer-events: none;
}
.ds-trail {
  position: absolute;
  left: 0;
  top: 0;
  width: 900px;
  height: 960px;
  pointer-events: none;
}
.ds-head {
  position: absolute;
  left: 70px;
  right: 70px;
  top: 62px;
  text-align: right;
  direction: rtl;
  z-index: 2;
}
.ds-title {
  color: #0f2a3a;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.3;
}
.ds-title em {
  color: #0d9488;
  font-style: normal;
}
.ds-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  justify-content: flex-start;
}
.ds-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 42, 58, 0.08);
  border: 1px solid rgba(15, 42, 58, 0.15);
  color: #0f2a3a;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 15px;
  white-space: nowrap;
}
.tpl {
  position: absolute;
  z-index: 5;
  box-shadow: 0 24px 48px rgba(4, 47, 56, 0.32);
  background: #fff;
}
.tpl-full {
  left: 95px;
  top: 262px;
  width: 205px;
  height: 271px;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #fff;
  transform: rotate(-6deg);
  z-index: 3;
}
.tpl-full > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tpl-full .badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 1px 12px;
  font-weight: 900;
  font-size: 13px;
  color: #0f172a;
  z-index: 2;
}
.tpl-full .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 14px 14px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.85));
  color: #fff;
  z-index: 2;
}
.tpl-full .nm { font-weight: 900; font-size: 16px; }
.tpl-full .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.tpl-full .row b { font-size: 17px; }
.tpl-full .plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f26b1d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
}
.tpl-float {
  left: 330px;
  top: 244px;
  width: 210px;
  background: transparent;
  box-shadow: none;
  transform: rotate(-2deg);
  z-index: 5;
}
.tpl-float > img {
  width: 210px;
  height: 214px;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #fff;
  box-shadow: 0 24px 48px rgba(4, 47, 56, 0.32);
  display: block;
  background: #f1f5f9;
}
.tpl-float .heart {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 8px 16px rgba(4, 47, 56, 0.12);
}
.tpl-float .float-bar {
  position: relative;
  margin: -56px 12px 0;
  background: #fff;
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 24px 48px rgba(4, 47, 56, 0.32);
  direction: rtl;
}
.tpl-float .nm, .tpl-float .pr { font-weight: 900; font-size: 15px; color: #0f172a; }
.tpl-float .plus.dark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.tpl-sale {
  left: 560px;
  top: 262px;
  width: 200px;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid #fff;
  transform: rotate(4deg);
  direction: rtl;
  z-index: 4;
}
.tpl-sale .sale-img {
  position: relative;
  height: 156px;
  overflow: hidden;
  border-radius: 14px;
}
.tpl-sale .sale-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tpl-sale .sale-tag {
  position: absolute;
  top: 10px;
  left: 0;
  background: #e11d48;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 2px 12px;
  border-radius: 0 999px 999px 0;
  direction: ltr;
  unicode-bidi: isolate;
}
.tpl-sale .sale-body { padding: 9px 8px 8px; }
.tpl-sale .nm { font-weight: 900; font-size: 15px; color: #0f172a; }
.tpl-sale .pr-row { margin-top: 2px; }
.tpl-sale .pr-row b { font-size: 16px; color: #0f172a; }
.tpl-sale .pr-row s { font-weight: 700; font-size: 12px; color: #94a3b8; }
.tpl-sale .save {
  display: inline-block;
  background: #fef2f2;
  color: #e11d48;
  font-weight: 900;
  font-size: 12px;
  border-radius: 6px;
  padding: 0 7px;
  margin-top: 2px;
}
.tpl-sale .buy {
  margin-top: 8px;
  background: #f26b1d;
  color: #fff;
  border-radius: 11px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 0;
}
.rx {
  position: absolute;
  z-index: 4;
  filter: drop-shadow(0 10px 18px rgba(4, 47, 56, 0.28));
  pointer-events: none;
}
.rx-wa { left: 50px; top: 770px; width: 150px; height: 150px; z-index: 4; }
.rx-like1 { left: 230px; top: 700px; width: 82px; height: 82px; transform: rotate(-10deg); z-index: 4; }
.rx-love1 { left: 330px; top: 640px; width: 72px; height: 72px; transform: rotate(10deg); z-index: 4; }
.rx-lol {
  left: 430px;
  top: 668px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 41px;
  line-height: 1;
  z-index: 4;
}
.rx-fb { left: 520px; top: 600px; width: 58px; height: 58px; transform: rotate(-8deg); z-index: 4; }
.rx-heart {
  left: 600px;
  top: 600px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  line-height: 1;
  opacity: 0.95;
  z-index: 6;
}
.rx-tt {
  left: 785px;
  top: 520px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(8deg);
  opacity: 0.9;
  z-index: 6;
}
.rx-ig { left: 805px; top: 465px; width: 40px; height: 40px; opacity: 0.85; z-index: 6; }
.rx-snap {
  left: 830px;
  top: 420px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #FFFC00;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
  opacity: 0.75;
  z-index: 6;
}
.rx-love2 { left: 850px; top: 385px; width: 26px; height: 26px; opacity: 0.6; z-index: 6; }
.rx-like2 { left: 868px; top: 352px; width: 20px; height: 20px; opacity: 0.45; z-index: 6; }

/* —— mobile welcome —— */
.ms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ms-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ms-brand img { width: 34px; height: auto; display: block; }
.ms-brand b { font-weight: 700; font-size: 15px; color: #0b1a2a; }
.ms-lang {
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 13px;
  color: #334155;
  background: #fff;
}
#screenWelcome {
  background: transparent;
  border-radius: 0;
  margin: -12px -16px 0;
  padding: 0 16px 8px;
}
#screenWelcome .ms-welcome-hero {
  color: #fff;
  background: linear-gradient(180deg, #0b1a2a 0%, #12304a 100%);
  margin: 0 -16px;
  padding: 18px 20px 22px;
}
#screenWelcome .ms-lang-host .ms-lang,
#screenWelcome .ms-lang-host button,
#screenWelcome #dido-lang-switch-host button {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #e2e8f0 !important;
  background: transparent !important;
  border-radius: 999px;
  padding: 1px 10px;
  font-weight: 800;
  font-size: 11.5px;
}
#screenWelcome .ms-welcome-hero h1 {
  font-weight: 900;
  font-size: 23px;
  line-height: 1.35;
  margin: 14px 0 8px;
}
#screenWelcome .ms-welcome-hero h1 em { color: #67e8f9; font-style: normal; }
#screenWelcome .ms-welcome-hero p {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 12.5px;
  margin: 0;
  padding-bottom: 2px;
}
.ms-feat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
  padding: 0 4px 8px;
}
.ms-feat li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #eef2f6;
  border-radius: 16px;
  padding: 7px 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.ms-feat .ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
}
.ms-feat .ic img { width: 28px; height: 28px; object-fit: cover; }
.ms-feat b { display: block; font-weight: 900; font-size: 15px; color: #0f172a; }
.ms-feat span { display: block; font-weight: 700; font-size: 11.5px; color: #64748b; }
.ms-feat .ok { color: #0d9488; font-weight: 900; font-size: 15px; margin-inline-start: auto; }
.ms-feat .soon-badge {
  margin-inline-start: auto;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 0 9px;
  font-weight: 900;
  font-size: 11.5px;
  white-space: nowrap;
}

/* —— wizard shared —— */
.progress {
  display: flex;
  gap: 6px;
  margin: 8px 0 14px;
}
.progress i {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: #e2e8f0;
  display: block;
}
.progress i.on {
  background: linear-gradient(90deg, #0d9488, #22d3ee);
}
.ms-card {
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 22px;
  padding: 18px 16px 20px;
  box-shadow: 0 12px 28px rgba(15, 42, 58, 0.06);
}
.ms-logo-badge {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: #0b1a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.35);
}
.ms-logo-badge img { width: 46px; height: auto; display: block; }
.t1 { font-weight: 900; font-size: 22px; color: #0f172a; line-height: 1.35; }
.t2 { font-weight: 700; font-size: 14px; color: #64748b; margin-top: 4px; line-height: 1.6; }
.t-center { text-align: center; }
.field { margin-top: 12px; }
.field label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  padding: 0 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: #0d9488;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}
.field.is-invalid input[type="text"],
.field.is-invalid input[type="email"],
.field.is-invalid input[type="tel"],
.field.is-invalid input[type="number"],
.field.is-invalid select,
.field.is-invalid .ms-phone-row,
.field.is-invalid .cko-phone-code__trigger {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
  background: #fff5f5;
}
.field-err {
  margin-top: 6px;
  color: #dc2626;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.45;
}
.btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-teal {
  background: linear-gradient(135deg, #0d9488, #0ea5b7);
  color: #fff;
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.35);
}
.btn-orange {
  background: linear-gradient(135deg, #ff8a3d, #f26b1d);
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 107, 29, 0.35);
}
.btn-navy {
  background: #0b1220;
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 18, 32, 0.22);
  border-radius: 14px;
}
.btn-ghost {
  background: transparent;
  color: #0d9488;
  font-weight: 800;
  border: none;
  box-shadow: none;
  height: auto;
  min-height: 40px;
  font-size: 14px;
}
.btn-google,
.ghost {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.eyb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
  border-radius: 999px;
  padding: 3px 14px;
  font-weight: 800;
  font-size: 13px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.eyb i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14b8a6;
  display: block;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}
.desk-h1 {
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 40px);
  color: #0b1220;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.desk-h1 .g {
  background: linear-gradient(90deg, #0d9488, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-weight: 600; font-size: 16px; color: #64748b; margin-top: 8px; line-height: 1.7; }
.divider, .sep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
  margin: 14px 0;
}
.divider::before, .divider::after,
.sep::before, .sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eef2f6;
}
.check {
  display: block;
  font-weight: 600;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.7;
  margin-top: 12px;
  white-space: normal;
}
.check input {
  display: inline;
  vertical-align: -2px;
  margin-inline-end: 8px;
  accent-color: #0d9488;
}
.check a { color: #0d9488; font-weight: 800; text-decoration: none; }
.check .opt {
  display: inline;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 5px;
  padding: 0 5px;
  font-size: 12.5px;
  font-weight: 800;
  margin-inline-end: 4px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}
.muted-foot {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  margin-top: 14px;
}
.muted-foot a, .muted-foot b { color: #0d9488; font-weight: 900; text-decoration: none; }
.err {
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
  margin: 8px 0;
  min-height: 1.2em;
}
.otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  direction: ltr;
  margin: 6px 0;
}
.otp-row input {
  width: 42px;
  height: 52px;
  text-align: center;
  font-weight: 800;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 22px;
  background: #f8fafc;
  font-family: inherit;
}
.otp-row input:focus {
  border-color: #0d9488;
  background: #fff;
  outline: none;
}

/* who / store chips */
.choice, #kindChoice { display: grid; gap: 8px; margin-top: 8px; }
.choice button, #kindChoice button {
  text-align: right;
  border: 2px solid #e2e8f0;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.choice button .ic, #kindChoice button .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex: none;
}
.choice button strong, #kindChoice button strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
}
.choice button em, #kindChoice button em {
  display: block;
  font-style: normal;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 2px;
}
.choice button.on, #kindChoice button.on {
  border-color: #0d9488;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
}
.choice button.is-soon, #kindChoice button.is-soon {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.25);
}
.choice button .soon-pill, #kindChoice button .soon-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fdba74;
}
.choice button.on::after, #kindChoice button.on::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.sec h5 { font-weight: 900; font-size: 14.5px; }
.sec small { font-weight: 700; font-size: 11.5px; color: #94a3b8; }
.seg, .tags, .chips, .sch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.seg button, .tags button, .chips button, .sch button {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
}
.seg button.on, .tags button.on, .chips button.on, .sch button.on {
  border-color: #0d9488;
  background: #f0fdfa;
  color: #0f766e;
}
.slug-preview {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}
.slug-preview-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  color: #334155;
}
.slug-preview-label { color: #0f172a; font-weight: 900; }
#slugPath { color: #0d9488; font-weight: 800; word-break: break-all; }
.slug-edit-btn {
  margin-inline-start: auto;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 900;
  font-size: 12.5px;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}
.slug-edit-btn:hover { border-color: #0d9488; color: #0d9488; }
.slug-manual { margin-top: 10px; }
.slug-hint { font-size: 12.5px; margin-top: 6px; font-weight: 800; }
.slug-hint.ok { color: #16a34a; }
.slug-hint.bad { color: #dc2626; }

/* واتساب: كود دولة + رقم محلي (زي checkout) */
.ms-phone-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  overflow: visible;
  direction: ltr;
}
.ms-phone-row:focus-within {
  border-color: #0d9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}
.ms-phone-row .cko-phone-code {
  position: relative;
  flex: 0 0 auto;
  border-inline-end: 1.5px solid #e2e8f0;
}
.ms-phone-row .cko-phone-code__trigger {
  height: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.ms-phone-row .cko-phone-code__flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.ms-phone-row .cko-phone-code__chevron {
  font-size: 10px;
  color: #64748b;
}
.ms-phone-row .cko-phone-code__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  min-width: 12rem;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 42, 58, 0.12);
  padding: 6px;
  display: none;
}
.ms-phone-row .cko-phone-code.is-open .cko-phone-code__menu { display: block; }
.ms-phone-row .cko-phone-code__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: start;
}
.ms-phone-row .cko-phone-code__option:hover,
.ms-phone-row .cko-phone-code__option.is-active { background: #f1f5f9; }
.ms-phone-row #inpWa {
  flex: 1 1 auto;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 14px 14px 0 !important;
  min-height: 52px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
}
.img-box, .drop {
  height: 150px;
  border-radius: 18px;
  border: 2px dashed #99e6ee;
  background: #f0fdfa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #64748b;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin-top: 12px;
}
.img-box img, .drop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ready-box { text-align: center; }
.ready-trial {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1.5px solid #86efac;
  color: #15803d;
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 900;
  font-size: 13.5px;
}
.ready-store {
  margin-top: 14px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 42, 58, 0.12);
  text-align: right;
}
.ready-store .bar {
  height: 28px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  direction: ltr;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}
.ready-store .bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}
.ready-store img { width: 100%; height: 120px; object-fit: cover; display: block; }
.ready-store .row {
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ready-store .cta {
  background: linear-gradient(135deg, #ff8a3d, #f26b1d);
  color: #fff;
  font-weight: 900;
  font-size: 11.5px;
  border-radius: 8px;
  padding: 4px 10px;
}
.wa-btn {
  border-color: #86efac !important;
  color: #15803d !important;
}
.wa-btn img { width: 22px; height: 22px; }

@media (min-width: 960px) {
  .desk-auth-only .ms-logo-badge { display: none; }
  .desk-auth-only .t1 { display: none; }
  .desk-auth-only .t2 { display: none; }
  .desk-auth-only .desk-only { display: block !important; }
}
.desk-only { display: none; }
