
:root{
  --mcc-bg:#fbf6f1;
  --mcc-card:rgba(255,255,255,.92);
  --mcc-ink:#302822;
  --mcc-muted:#786c64;
  --mcc-primary:#a95f34;
  --mcc-primary-2:#d08a56;
  --mcc-primary-dark:#7e4428;
  --mcc-border:rgba(108,72,49,.13);
  --mcc-soft:#fff5ec;
  --mcc-green:#3d8b5c;
  --mcc-shadow:0 24px 70px rgba(78,46,27,.10);
}

.mcc-wrap{
  direction:rtl;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  font-family:inherit;
  color:var(--mcc-ink);
  padding:38px 14px 90px;
  background:
    radial-gradient(circle at 88% 6%,rgba(231,185,141,.22),transparent 24%),
    radial-gradient(circle at 8% 76%,rgba(244,217,210,.30),transparent 27%),
    linear-gradient(180deg,#fffaf6 0%,#fbf7f3 45%,#fff 100%);
}

.mcc-wrap::before,
.mcc-wrap::after{
  content:"";
  position:absolute;
  z-index:-1;
  border-radius:50%;
  filter:blur(2px);
  pointer-events:none;
  opacity:.7;
}

.mcc-wrap::before{
  width:300px;height:300px;
  top:-145px;right:-90px;
  background:radial-gradient(circle,rgba(213,150,101,.18),transparent 70%);
  animation:mccOrbA 10s ease-in-out infinite;
}

.mcc-wrap::after{
  width:260px;height:260px;
  left:-105px;bottom:7%;
  background:radial-gradient(circle,rgba(218,166,151,.19),transparent 70%);
  animation:mccOrbA 13s ease-in-out infinite reverse;
}

.mcc-wrap *{box-sizing:border-box}
.mcc-shell{max-width:930px;margin:0 auto;position:relative}

.mcc-head{
  text-align:center;
  margin-bottom:28px;
  opacity:0;
  transform:translateY(12px);
  transition:.65s cubic-bezier(.2,.7,.2,1);
}
.mcc-wrap.is-ready .mcc-head{opacity:1;transform:none}

.mcc-head h1{
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.45;
  margin:10px 0 7px;
  letter-spacing:-.02em;
}
.mcc-head p{margin:0;color:var(--mcc-muted)}
.mcc-badge{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 14px;
  border:1px solid var(--mcc-border);
  border-radius:999px;
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(12px);
  font-weight:900;
  font-size:.87rem;
  color:#815037;
  box-shadow:0 9px 30px rgba(80,48,29,.05);
}

.mcc-progress{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:26px 0 30px;
  padding:0 8px;
}
.mcc-progress-line{
  position:absolute;
  top:19px;right:12.5%;left:12.5%;
  height:3px;
  background:#eadfd7;
  border-radius:99px;
  overflow:hidden;
}
.mcc-progress-line span{
  display:block;
  width:0;height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,var(--mcc-primary-2),var(--mcc-primary));
  box-shadow:0 0 18px rgba(169,95,52,.38);
  transition:width .55s cubic-bezier(.2,.75,.2,1);
}
.mcc-progress-step{
  position:relative;z-index:2;
  border:0;background:transparent;
  padding:0;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  color:#a0958d;
  font:inherit;
  pointer-events:none;
}
.mcc-progress-step b{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:14px;
  background:#fff;
  border:2px solid #e6dad2;
  box-shadow:0 5px 14px rgba(88,56,36,.05);
  transition:.32s cubic-bezier(.2,.8,.2,1);
}
.mcc-progress-step span{font-size:.78rem;font-weight:900}
.mcc-progress-step.is-active{color:var(--mcc-primary)}
.mcc-progress-step.is-active b{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg,var(--mcc-primary-2),var(--mcc-primary));
  box-shadow:0 12px 28px rgba(169,95,52,.24);
  transform:translateY(-2px) scale(1.05);
}
.mcc-progress-step.is-done{color:var(--mcc-green)}
.mcc-progress-step.is-done b{
  color:#fff;
  border-color:#73a985;
  background:linear-gradient(135deg,#72ad87,#43835c);
}

.mcc-step{display:none}
.mcc-step.is-active{display:block}
.mcc-step-enter{animation:mccStepIn .48s cubic-bezier(.2,.78,.2,1) both}

.mcc-card{
  position:relative;
  overflow:hidden;
  background:var(--mcc-card);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.8);
  outline:1px solid var(--mcc-border);
  border-radius:30px;
  padding:30px;
  box-shadow:var(--mcc-shadow);
}
.mcc-card::before{
  content:"";
  position:absolute;
  top:0;right:0;left:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);
}

.mcc-title-row{display:flex;gap:14px;align-items:flex-start;margin-bottom:24px}
.mcc-icon{
  width:50px;height:50px;min-width:50px;
  border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#fff7ef,#f9e7d8);
  border:1px solid rgba(169,95,52,.12);
  font-size:1.35rem;
  box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(96,58,34,.07);
  animation:mccIconFloat 4s ease-in-out infinite;
}
.mcc-title-row h2{margin:0 0 4px;font-size:1.46rem;line-height:1.6}
.mcc-title-row p{margin:0;color:var(--mcc-muted);font-size:.92rem;line-height:1.8}

.mcc-contact-choice{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin:0 0 18px;
  padding:6px;
  border-radius:18px;
  background:#f5ece5;
  border:1px solid rgba(115,75,50,.09);
}
.mcc-contact-choice::before{
  content:"";
  position:absolute;
  top:6px;bottom:6px;
  width:calc(50% - 9px);
  right:6px;
  border-radius:13px;
  background:#fff;
  box-shadow:0 8px 24px rgba(78,46,27,.09);
  transition:transform .32s cubic-bezier(.2,.8,.2,1);
}
.mcc-contact-choice[data-active="email"]::before{transform:translateX(calc(-100% - 6px))}
.mcc-contact-tab{
  position:relative;z-index:1;
  min-height:46px;
  border:0;
  background:transparent;
  border-radius:13px;
  font:inherit;
  font-weight:900;
  color:#85766d;
  cursor:pointer;
  transition:color .25s ease,transform .2s ease;
}
.mcc-contact-tab.is-active{color:var(--mcc-primary-dark)}
.mcc-contact-tab:not(:disabled):active{transform:scale(.98)}
.mcc-contact-tab:disabled{cursor:not-allowed;opacity:.6}

.mcc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mcc-grid label,
.mcc-otp-label{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.mcc-grid label span,
.mcc-otp-label span{font-size:.86rem;font-weight:900}
.mcc-contact-field[hidden]{display:none!important}
.mcc-contact-field.is-selected{animation:mccFieldIn .3s ease both}

.mcc-grid input,
.mcc-otp-label input,
.mcc-payment-phone input{
  width:100%;
  min-height:52px;
  border:1px solid #ddd0c7;
  border-radius:15px;
  background:rgba(255,255,255,.95);
  padding:11px 14px;
  font:inherit;
  outline:0;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease;
}
.mcc-grid input:focus,
.mcc-otp-label input:focus,
.mcc-payment-phone input:focus{
  border-color:var(--mcc-primary-2);
  box-shadow:0 0 0 4px rgba(199,125,74,.11),0 8px 20px rgba(86,49,28,.05);
}
.mcc-wrap.is-otp-locked .mcc-grid input{
  background:#f6f2ef;
  color:#776d66;
}

.mcc-otp-area{
  position:relative;
  margin-top:18px;
  padding:18px;
  border-radius:19px;
  background:linear-gradient(135deg,#fff9f4,#fffdfb);
  border:1px dashed rgba(169,95,52,.28);
  animation:mccFieldIn .35s ease both;
}
.mcc-locked-note{
  display:none;
  margin-bottom:12px;
  padding:11px 13px;
  border-radius:12px;
  background:#fff3e4;
  color:#7d593f;
  font-size:.84rem;
  line-height:1.8;
}
.mcc-wrap.is-otp-locked .mcc-locked-note{display:block}
.mcc-otp-label{max-width:300px}
.mcc-otp-label input{
  text-align:center;
  letter-spacing:.28em;
  font-weight:950;
  font-size:1.18rem;
}
.mcc-otp-label input.is-shake{animation:mccShake .38s ease}
.mcc-otp-meta{
  display:flex;align-items:center;justify-content:space-between;gap:13px;
  margin-top:11px;
  color:var(--mcc-muted);
  font-size:.83rem;
}
.mcc-clock-dot{
  display:inline-block;
  width:7px;height:7px;
  margin-left:5px;
  border-radius:50%;
  background:var(--mcc-primary-2);
  box-shadow:0 0 0 0 rgba(208,138,86,.4);
  animation:mccPulseDot 1.4s infinite;
}
.mcc-clock-ready{color:var(--mcc-green);font-weight:900}
.mcc-link-btn{
  border:0;background:transparent;color:var(--mcc-primary);
  font:inherit;font-weight:900;cursor:pointer;
}
.mcc-link-btn:disabled{opacity:.42;cursor:not-allowed}

.mcc-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}
.mcc-actions-between{justify-content:space-between}
.mcc-btn{
  position:relative;
  min-height:52px;
  overflow:hidden;
  border:0;
  border-radius:15px;
  padding:11px 21px;
  font:inherit;
  font-weight:950;
  cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease,opacity .2s ease;
}
.mcc-btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important}
.mcc-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--mcc-primary-2),var(--mcc-primary));
  box-shadow:0 12px 28px rgba(169,95,52,.20);
}
.mcc-btn-primary::after{
  content:"";
  position:absolute;
  top:-50%;bottom:-50%;
  width:38px;
  left:-60px;
  transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
  animation:mccButtonShine 4.5s ease-in-out infinite;
}
.mcc-btn-primary:not(:disabled):hover{
  transform:translateY(-2px);
  box-shadow:0 17px 34px rgba(169,95,52,.27);
}
.mcc-btn-ghost{
  background:#fff;
  border:1px solid var(--mcc-border);
  color:#665850;
}
.mcc-btn-ghost:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(78,46,27,.06)}
.mcc-btn.is-loading::after{display:none}
.mcc-spinner{
  width:17px;height:17px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  display:inline-block;
  margin-left:8px;
  vertical-align:middle;
  animation:mccSpin .7s linear infinite;
}
.mcc-success-check{
  width:22px;height:22px;
  display:inline-grid;place-items:center;
  margin-left:7px;
  border-radius:50%;
  background:rgba(255,255,255,.2);
}

.mcc-alert{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  padding:13px 15px;
  border-radius:15px;
  font-size:.89rem;
  font-weight:800;
  opacity:0;
  transform:translateY(-6px);
  transition:.2s ease;
}
.mcc-alert.is-visible{opacity:1;transform:none}
.mcc-alert-icon{
  width:25px;height:25px;min-width:25px;
  display:grid;place-items:center;
  border-radius:50%;
  font-weight:950;
}
.mcc-alert.is-error{background:#fff0f0;border:1px solid #f0caca;color:#933939}
.mcc-alert.is-error .mcc-alert-icon{background:#f4caca}
.mcc-alert.is-success{background:#edf8f0;border:1px solid #c9e5d0;color:#347047}
.mcc-alert.is-success .mcc-alert-icon{background:#cce8d3}
.mcc-alert.is-info{background:#eff6ff;border:1px solid #d2e2f7;color:#3d6693}
.mcc-alert.is-info .mcc-alert-icon{background:#d7e8f9}

.mcc-product-box{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:16px;
  padding:20px;
  border-radius:21px;
  background:linear-gradient(135deg,#fffaf6,#fff);
  border:1px solid var(--mcc-border);
}
.mcc-mini-badge{
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  background:#fff0e5;
  color:#925334;
  font-size:.74rem;
  font-weight:900;
  margin-bottom:8px;
}
.mcc-product-main h3{font-size:1.32rem;margin:0 0 13px}
.mcc-product-main ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.mcc-product-main li{
  display:flex;align-items:center;gap:8px;
  color:#655a53;font-size:.91rem;
  animation:mccListItem .35s ease both;
  animation-delay:calc(var(--i) * 55ms);
}
.mcc-check{
  width:20px;height:20px;min-width:20px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#eaf7ed;
  color:#36734a;
  font-size:.7rem;font-weight:950;
}
.mcc-price-card{
  display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;
  min-height:170px;
  border-radius:19px;
  background:#fff;
  border:1px solid var(--mcc-border);
  box-shadow:0 12px 28px rgba(78,46,27,.05);
}
.mcc-price-card>span{color:var(--mcc-muted);font-size:.84rem}
.mcc-price-card .price{margin:7px 0;color:var(--mcc-primary);font-size:1.48rem;font-weight:950}
.mcc-price-card small{color:#998c84;font-size:.73rem}
.mcc-price-card del{opacity:.5;font-size:.9rem}
.mcc-price-card ins{text-decoration:none}

.mcc-product-loading{grid-column:1/-1;display:grid;gap:10px}
.mcc-skeleton{
  height:17px;border-radius:99px;
  background:linear-gradient(90deg,#f4eae3 25%,#fffaf6 37%,#f4eae3 63%);
  background-size:400% 100%;
  animation:mccSkeleton 1.3s ease infinite;
}
.mcc-sk-title{height:28px;width:55%}

.mcc-rules-scroll{
  max-height:480px;
  overflow:auto;
  padding:22px 20px;
  border-radius:20px;
  border:1px solid var(--mcc-border);
  background:#fffdfb;
  scroll-behavior:smooth;
  scrollbar-width:thin;
}
.mcc-rules-copy h2{font-size:1.4rem;margin:0 0 14px}
.mcc-rules-copy h3{font-size:1rem;color:#7c4b31;margin:22px 0 7px}
.mcc-rules-copy p{color:#5f5751;line-height:2;margin:7px 0}
.mcc-rule-accept{
  display:flex;gap:12px;align-items:flex-start;
  margin-top:16px;padding:15px;
  border-radius:16px;
  border:1px solid rgba(169,95,52,.22);
  background:#fff8f2;
  cursor:pointer;
  transition:.25s ease;
}
.mcc-rule-accept.is-disabled{opacity:.5;cursor:not-allowed}
.mcc-rule-accept.is-ready{box-shadow:0 0 0 4px rgba(169,95,52,.06)}
.mcc-rule-accept.is-checked{
  border-color:rgba(61,139,92,.35);
  background:#f0f8f2;
  transform:translateY(-1px);
}
.mcc-rule-accept input{margin-top:5px;transform:scale(1.2)}
.mcc-rule-accept span{line-height:1.9;font-size:.9rem}

.mcc-final-summary{
  display:grid;
  gap:10px;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(135deg,#fffaf6,#fff);
  border:1px solid var(--mcc-border);
}
.mcc-summary-row{
  display:flex;justify-content:space-between;gap:15px;
  padding-bottom:10px;
  border-bottom:1px dashed #e5d7ce;
}
.mcc-summary-row:last-child{border-bottom:0;padding-bottom:0}
.mcc-summary-row span{color:var(--mcc-muted)}
.mcc-summary-price strong{color:var(--mcc-primary);font-size:1.08rem}

.mcc-payment-phone{
  margin-top:16px;
  padding:16px;
  border-radius:17px;
  border:1px solid rgba(169,95,52,.18);
  background:#fff8f2;
}
.mcc-payment-phone[hidden]{display:none!important}
.mcc-payment-phone.is-visible{animation:mccFieldIn .35s ease both}
.mcc-payment-phone-head{
  display:flex;gap:10px;align-items:flex-start;
  margin-bottom:11px;
}
.mcc-payment-phone-head>span{font-size:1.2rem}
.mcc-payment-phone-head strong{display:block}
.mcc-payment-phone-head small{display:block;color:var(--mcc-muted);line-height:1.7;margin-top:2px}

.mcc-security-note{
  margin-top:15px;
  padding:14px;
  border-radius:15px;
  background:#f1f7fb;
  color:#52687b;
  font-size:.86rem;
  line-height:1.9;
}

@keyframes mccStepIn{
  from{opacity:0;transform:translateY(16px) scale(.992)}
  to{opacity:1;transform:none}
}
@keyframes mccFieldIn{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:none}
}
@keyframes mccListItem{
  from{opacity:0;transform:translateX(8px)}
  to{opacity:1;transform:none}
}
@keyframes mccSkeleton{
  0%{background-position:100% 0}
  100%{background-position:0 0}
}
@keyframes mccSpin{to{transform:rotate(360deg)}}
@keyframes mccShake{
  20%,60%{transform:translateX(-5px)}
  40%,80%{transform:translateX(5px)}
}
@keyframes mccPulseDot{
  0%{box-shadow:0 0 0 0 rgba(208,138,86,.36)}
  70%{box-shadow:0 0 0 7px rgba(208,138,86,0)}
  100%{box-shadow:0 0 0 0 rgba(208,138,86,0)}
}
@keyframes mccButtonShine{
  0%,72%{left:-60px}
  88%,100%{left:calc(100% + 55px)}
}
@keyframes mccIconFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
}
@keyframes mccOrbA{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,15px,0) scale(1.05)}
}

@media(max-width:700px){
  .mcc-wrap{padding:23px 9px 70px}
  .mcc-head h1{font-size:1.7rem}
  .mcc-card{padding:20px 14px;border-radius:23px}
  .mcc-grid{grid-template-columns:1fr}
  .mcc-product-box{grid-template-columns:1fr}
  .mcc-progress{padding:0}
  .mcc-progress-line{right:12%;left:12%}
  .mcc-progress-step b{width:35px;height:35px;border-radius:12px}
  .mcc-progress-step span{font-size:.68rem}
  .mcc-actions-between{display:grid;grid-template-columns:.8fr 1.4fr}
  .mcc-btn{width:100%;padding:10px 11px;font-size:.9rem}
  .mcc-rules-scroll{max-height:55vh;padding:16px 13px}
  .mcc-contact-choice{margin-bottom:14px}
  .mcc-summary-row{font-size:.86rem}
}

@media(prefers-reduced-motion:reduce){
  .mcc-wrap *,
  .mcc-wrap *::before,
  .mcc-wrap *::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}


/* v2.0.1 — OTP visibility hardening */
.mcc-otp-area[hidden],
.mcc-contact-field[hidden],
.mcc-payment-phone[hidden],
.mcc-btn[hidden]{
  display:none !important;
}

.mcc-contact-field{
  grid-column:1 / -1;
}

.mcc-otp-area:not([hidden]){
  animation:mccOtpReveal .46s cubic-bezier(.2,.82,.2,1) both;
  transform-origin:top center;
}

.mcc-otp-label{
  animation:mccOtpInner .38s .06s ease both;
}

.mcc-otp-meta{
  animation:mccOtpInner .38s .13s ease both;
}

@keyframes mccOtpReveal{
  from{
    opacity:0;
    transform:translateY(-8px) scaleY(.96);
    filter:blur(2px);
  }
  to{
    opacity:1;
    transform:none;
    filter:none;
  }
}

@keyframes mccOtpInner{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:none}
}


/* v2.1.0 — video-inspired OTP card */
.mcc-otp-card{
  margin-top:6px;
  padding:20px 18px 14px;
  border-radius:26px;
  background:linear-gradient(180deg,#fefbff 0%,#fff 100%);
  border:1px solid rgba(123,105,138,.10);
  box-shadow:
    0 18px 48px rgba(58,40,73,.08),
    inset 0 1px 0 rgba(255,255,255,.95);
  text-align:center;
}

.mcc-otp-hero{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}

.mcc-otp-lock{
  position:relative;
  width:84px;
  height:84px;
  animation:mccOtpHeroFloat 3.2s ease-in-out infinite;
}

.mcc-otp-lock-body{
  position:absolute;
  left:18px;right:18px;bottom:10px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(180deg,#ffc43b 0%,#f6ae13 100%);
  box-shadow:0 12px 22px rgba(245,176,20,.24);
}

.mcc-otp-lock-shackle{
  position:absolute;
  top:8px;left:26px;
  width:32px;height:26px;
  border:9px solid #e2c36f;
  border-bottom:0;
  border-radius:22px 22px 0 0;
  transform-origin:center bottom;
  animation:mccOtpShackle 2.8s ease-in-out infinite;
}

.mcc-otp-lock-hole{
  position:absolute;
  left:50%;top:42px;
  width:12px;height:12px;
  margin-left:-6px;
  border-radius:50%;
  background:#fff7de;
  box-shadow:0 12px 0 3px #fff7de;
}

.mcc-otp-lock-key{
  position:absolute;
  right:8px;top:18px;
  width:16px;height:16px;
  border-radius:50%;
  border:6px solid #ddbe5e;
  box-sizing:border-box;
  opacity:.92;
  animation:mccOtpKeySwing 2.8s ease-in-out infinite;
}
.mcc-otp-lock-key::before,
.mcc-otp-lock-key::after{
  content:"";
  position:absolute;
  background:#ddbe5e;
  border-radius:3px;
}
.mcc-otp-lock-key::before{
  width:6px;height:22px;
  right:-8px;top:8px;
  transform:rotate(28deg);
}
.mcc-otp-lock-key::after{
  width:10px;height:5px;
  right:-10px;top:21px;
  box-shadow:0 7px 0 #ddbe5e;
  transform:rotate(28deg);
}

.mcc-otp-copy h3{
  margin:0 0 7px;
  font-size:1.36rem;
  line-height:1.5;
}
.mcc-otp-copy p{
  margin:0 auto 16px;
  max-width:480px;
  color:#786f74;
  font-size:.93rem;
  line-height:1.85;
}

.mcc-otp-label{
  gap:9px;
}
.mcc-otp-label > span{
  display:block;
  text-align:center;
}

.mcc-otp-slots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:2px;
}
.mcc-otp-digit{
  width:56px;
  height:64px;
  border:1px solid #ddd5df;
  border-radius:16px;
  background:linear-gradient(180deg,#fcfbfd 0%,#f5f1f6 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.95), 0 5px 12px rgba(71,53,85,.05);
  text-align:center;
  font-size:1.7rem;
  font-weight:950;
  color:#3a2d37;
  outline:0;
  transition:transform .15s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mcc-otp-digit:focus{
  border-color:#ee4b8c;
  box-shadow:0 0 0 4px rgba(238,75,140,.12),0 10px 18px rgba(83,43,66,.08);
  transform:translateY(-1px);
  background:#fff;
}
.mcc-otp-digit:not(:placeholder-shown),
.mcc-otp-digit[value]{
  background:#fff;
}

.mcc-otp-slots.is-complete .mcc-otp-digit{
  border-color:#81c58b;
  box-shadow:0 0 0 4px rgba(85,180,103,.10),0 10px 18px rgba(44,122,58,.08);
}
.mcc-otp-slots.is-error .mcc-otp-digit{
  border-color:#e27c99;
  box-shadow:0 0 0 4px rgba(226,124,153,.10);
}
.mcc-otp-slots.is-shake{
  animation:mccShake .38s ease;
}

.mcc-otp-meta-centered{
  justify-content:center;
  margin-top:13px;
  flex-direction:column;
  gap:8px;
}
.mcc-otp-meta-centered .mcc-link-btn{
  text-decoration:underline;
  text-underline-offset:4px;
}

.mcc-otp-area.mcc-otp-reveal .mcc-otp-card{
  animation:mccOtpCardIn .54s cubic-bezier(.17,.84,.26,1) both;
}
.mcc-otp-area.mcc-otp-reveal .mcc-otp-hero{
  animation:mccOtpHeroIn .44s .06s ease both;
}
.mcc-otp-area.mcc-otp-reveal .mcc-otp-copy{
  animation:mccOtpCopyIn .42s .1s ease both;
}
.mcc-otp-area.mcc-otp-reveal .mcc-otp-slots{
  animation:mccOtpCopyIn .42s .16s ease both;
}
.mcc-otp-area.mcc-otp-reveal .mcc-otp-meta{
  animation:mccOtpCopyIn .42s .2s ease both;
}

@keyframes mccOtpCardIn{
  from{opacity:0;transform:translateY(16px) scale(.96);filter:blur(6px)}
  to{opacity:1;transform:none;filter:none}
}
@keyframes mccOtpHeroIn{
  from{opacity:0;transform:translateY(-8px) scale(.8)}
  to{opacity:1;transform:none}
}
@keyframes mccOtpCopyIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}
@keyframes mccOtpHeroFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
}
@keyframes mccOtpShackle{
  0%,100%{transform:rotate(0deg)}
  20%{transform:rotate(-10deg)}
  38%{transform:rotate(-2deg)}
}
@keyframes mccOtpKeySwing{
  0%,100%{transform:translateY(0) rotate(0deg)}
  20%{transform:translateY(1px) rotate(12deg)}
  38%{transform:translateY(0) rotate(0deg)}
}

@media(max-width:700px){
  .mcc-otp-card{padding:18px 12px 12px;border-radius:22px}
  .mcc-otp-digit{width:44px;height:56px;border-radius:14px;font-size:1.4rem}
  .mcc-otp-slots{gap:7px}
  .mcc-otp-copy p{font-size:.88rem;line-height:1.8}
}


/* v2.2.0 — account/logout + stronger mobile responsiveness */
.mcc-account-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 22px;
  padding:11px 14px;
  border:1px solid rgba(69,132,91,.16);
  border-radius:16px;
  background:rgba(246,252,247,.90);
  box-shadow:0 8px 24px rgba(43,88,57,.05);
}
.mcc-account-status{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  color:#4f6657;
  font-size:.86rem;
  line-height:1.7;
}
.mcc-account-status strong{
  color:#2e4938;
  overflow-wrap:anywhere;
}
.mcc-account-dot{
  width:9px;height:9px;min-width:9px;
  border-radius:50%;
  background:#45a263;
  box-shadow:0 0 0 5px rgba(69,162,99,.11);
}
.mcc-logout-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 12px;
  border:1px solid rgba(169,95,52,.18);
  border-radius:11px;
  background:#fff;
  color:var(--mcc-primary-dark);
  text-decoration:none!important;
  font-size:.82rem;
  font-weight:900;
  transition:.2s ease;
}
.mcc-logout-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(84,50,29,.07);
}

/* Six OTP boxes must shrink instead of overflowing on phones. */
.mcc-otp-slots{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  width:min(100%,390px);
  margin-left:auto;
  margin-right:auto;
  gap:clamp(4px,1.5vw,10px)!important;
}
.mcc-otp-digit{
  width:100%!important;
  min-width:0!important;
  height:clamp(48px,12vw,64px)!important;
  padding:0!important;
}

/* Keep long values and price blocks inside the viewport. */
.mcc-product-box,
.mcc-final-summary,
.mcc-summary-row,
.mcc-payment-phone,
.mcc-card{
  min-width:0;
}
.mcc-summary-row strong,
.mcc-product-main h3{
  overflow-wrap:anywhere;
}

/* Touch targets */
.mcc-contact-tab,
.mcc-btn,
.mcc-link-btn,
.mcc-logout-btn{
  -webkit-tap-highlight-color:transparent;
}

@media(max-width:600px){
  .mcc-wrap{
    padding:18px 8px 58px!important;
  }
  .mcc-shell{
    width:100%;
    max-width:100%;
  }
  .mcc-head{
    margin-bottom:18px;
  }
  .mcc-head h1{
    font-size:clamp(1.45rem,7vw,1.78rem)!important;
    line-height:1.5;
  }
  .mcc-head p{
    font-size:.87rem;
    line-height:1.8;
  }
  .mcc-account-bar{
    align-items:flex-start;
    margin-bottom:16px;
    padding:10px 11px;
  }
  .mcc-account-status{
    font-size:.78rem;
  }
  .mcc-logout-btn{
    min-height:34px;
    padding:6px 9px;
    font-size:.76rem;
  }

  .mcc-progress{
    margin:18px 0 21px!important;
  }
  .mcc-progress-line{
    top:16px!important;
  }
  .mcc-progress-step{
    gap:5px!important;
  }
  .mcc-progress-step b{
    width:32px!important;
    height:32px!important;
    border-radius:11px!important;
    font-size:.82rem;
  }
  .mcc-progress-step span{
    font-size:.62rem!important;
    white-space:nowrap;
  }

  .mcc-card{
    padding:17px 12px!important;
    border-radius:21px!important;
  }
  .mcc-title-row{
    gap:10px!important;
    margin-bottom:17px!important;
  }
  .mcc-icon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:14px!important;
  }
  .mcc-title-row h2{
    font-size:1.18rem!important;
  }
  .mcc-title-row p{
    font-size:.83rem!important;
  }

  .mcc-grid{
    grid-template-columns:1fr!important;
    gap:11px!important;
  }
  .mcc-grid input,
  .mcc-payment-phone input{
    min-height:48px!important;
    font-size:16px!important; /* prevents iOS zoom */
  }

  .mcc-contact-choice{
    padding:5px!important;
    border-radius:15px!important;
  }
  .mcc-contact-tab{
    min-height:43px!important;
    font-size:.83rem;
  }

  .mcc-otp-area{
    padding:11px!important;
    margin-top:13px!important;
  }
  .mcc-otp-card{
    padding:15px 8px 11px!important;
  }
  .mcc-otp-copy h3{
    font-size:1.15rem!important;
  }
  .mcc-otp-copy p{
    font-size:.81rem!important;
    margin-bottom:12px!important;
  }
  .mcc-otp-lock{
    transform:scale(.88);
    margin:-5px 0;
  }

  .mcc-product-box{
    grid-template-columns:1fr!important;
    padding:14px!important;
  }
  .mcc-price-card{
    min-height:125px!important;
  }

  .mcc-rules-scroll{
    max-height:52vh!important;
    padding:14px 11px!important;
  }
  .mcc-rules-copy p{
    line-height:1.9!important;
    font-size:.86rem;
  }
  .mcc-rule-accept{
    padding:12px!important;
  }

  .mcc-actions{
    margin-top:17px!important;
  }
  .mcc-actions-between{
    display:grid!important;
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;
    gap:8px!important;
  }
  .mcc-btn{
    width:100%;
    min-width:0;
    min-height:48px!important;
    padding:9px 9px!important;
    font-size:.84rem!important;
    white-space:normal;
  }

  .mcc-summary-row{
    align-items:flex-start;
    font-size:.82rem!important;
  }
  .mcc-summary-row strong{
    text-align:left;
    max-width:62%;
  }
}

@media(max-width:390px){
  .mcc-wrap{
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .mcc-card{
    padding-left:9px!important;
    padding-right:9px!important;
  }
  .mcc-account-bar{
    flex-direction:column;
    align-items:stretch;
  }
  .mcc-logout-btn{
    width:100%;
  }
  .mcc-progress-step span{
    font-size:.56rem!important;
  }
  .mcc-otp-slots{
    gap:4px!important;
  }
  .mcc-otp-digit{
    height:46px!important;
    border-radius:11px!important;
    font-size:1.2rem!important;
  }
  .mcc-actions-between{
    grid-template-columns:1fr 1.2fr!important;
  }
}


/* v2.3.0 — payment gateway selection */
.mcc-gateway-section{
  margin-top:16px;
  padding:16px;
  border:1px solid var(--mcc-border);
  border-radius:18px;
  background:#fffaf6;
}
.mcc-gateway-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
.mcc-gateway-head strong{font-size:.96rem}
.mcc-gateway-head span{
  color:var(--mcc-muted);
  font-size:.79rem;
}
.mcc-gateway-list{
  display:grid;
  gap:9px;
}
.mcc-gateway-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:62px;
  padding:11px 13px;
  border:1px solid #e3d8d0;
  border-radius:15px;
  background:#fff;
  cursor:pointer;
  transition:.2s ease;
}
.mcc-gateway-card:hover{
  transform:translateY(-1px);
  border-color:rgba(169,95,52,.28);
  box-shadow:0 8px 22px rgba(77,46,28,.06);
}
.mcc-gateway-card.is-selected{
  border-color:rgba(169,95,52,.44);
  background:#fff8f2;
  box-shadow:0 0 0 3px rgba(169,95,52,.07);
}
.mcc-gateway-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.mcc-gateway-radio{
  width:20px;
  height:20px;
  min-width:20px;
  border-radius:50%;
  border:2px solid #cdbfb5;
  background:#fff;
  box-shadow:inset 0 0 0 4px #fff;
}
.mcc-gateway-card.is-selected .mcc-gateway-radio{
  border-color:var(--mcc-primary);
  background:var(--mcc-primary);
}
.mcc-gateway-copy{
  display:flex;
  flex:1;
  min-width:0;
  flex-direction:column;
  gap:2px;
}
.mcc-gateway-copy strong{
  color:#493b33;
  font-size:.91rem;
}
.mcc-gateway-copy small{
  color:#94877f;
  font-size:.75rem;
  line-height:1.6;
}
.mcc-gateway-arrow{
  color:#b9aaa0;
  font-size:1.2rem;
}
.mcc-gateway-card.is-selected .mcc-gateway-arrow{
  color:var(--mcc-primary);
  transform:translateX(-2px);
}
.mcc-gateway-empty{
  padding:12px;
  border-radius:12px;
  background:#fff1f1;
  color:#983f3f;
  font-size:.86rem;
  font-weight:800;
}

@media(max-width:600px){
  .mcc-gateway-section{padding:12px!important}
  .mcc-gateway-head{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
  .mcc-gateway-card{
    min-height:58px;
    padding:10px 11px;
  }
  .mcc-gateway-copy strong{font-size:.86rem}
  .mcc-gateway-copy small{font-size:.7rem}
}


/* v2.4.0 — complementary contact at final step */
.mcc-payment-email{
  margin-top:16px;
  padding:16px;
  border:1px solid rgba(169,95,52,.18);
  background:#fff8f2;
  border-radius:17px;
}
.mcc-payment-email[hidden]{
  display:none!important;
}
.mcc-payment-email.is-visible{
  animation:mccFieldIn .35s ease both;
}
.mcc-payment-email label{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.mcc-payment-email label span{
  font-size:.9rem;
  font-weight:900;
}
.mcc-payment-email input{
  width:100%;
  min-height:50px;
  border:1px solid #ddd0c7;
  border-radius:14px;
  background:#fff;
  padding:10px 13px;
  font:inherit;
  outline:0;
}
.mcc-payment-email input:focus{
  border-color:var(--mcc-primary-2);
  box-shadow:0 0 0 4px rgba(199,125,74,.10);
}
.mcc-payment-email small{
  display:block;
  margin-top:7px;
  color:var(--mcc-muted);
  line-height:1.8;
}

@media(max-width:600px){
  .mcc-payment-email{
    padding:13px!important;
  }
  .mcc-payment-email input{
    min-height:48px!important;
    font-size:16px!important;
  }
}


/* v2.5.0 — standard order-pay diagnosis */
.mcc-pay-diagnostic{
  direction:rtl;
  margin:0 0 18px;
  padding:15px 16px;
  border-radius:16px;
  font-family:inherit;
  line-height:1.9;
}
.mcc-pay-diagnostic.is-ok{
  border:1px solid rgba(61,139,92,.22);
  background:#f1f9f3;
  color:#345f42;
}
.mcc-pay-diagnostic.is-warning{
  border:1px solid rgba(190,121,50,.25);
  background:#fff7e9;
  color:#79542f;
}
.mcc-pay-diagnostic-title{
  margin-bottom:4px;
  font-weight:950;
  font-size:1rem;
}
.mcc-pay-diagnostic p{
  margin:0;
}
.mcc-pay-admin-diagnostic{
  margin-top:12px;
  padding-top:10px;
  border-top:1px dashed rgba(70,50,35,.18);
}
.mcc-pay-admin-diagnostic summary{
  cursor:pointer;
  font-weight:900;
}
.mcc-pay-admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.mcc-pay-admin-grid>div{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.7);
}
.mcc-pay-admin-grid strong{
  font-size:.72rem;
  color:#85766d;
}
.mcc-pay-admin-grid span{
  overflow-wrap:anywhere;
  font-size:.82rem;
}
.mcc-pay-gateway-debug{
  display:grid;
  gap:6px;
  margin-top:10px;
}
.mcc-pay-gateway-debug-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.68);
  font-size:.77rem;
}
.mcc-pay-gateway-debug-row strong{
  direction:ltr;
}
.mcc-pay-error{
  color:#a03838;
}
@media(max-width:600px){
  .mcc-pay-diagnostic{
    padding:12px!important;
    font-size:.86rem;
  }
  .mcc-pay-admin-grid{
    grid-template-columns:1fr;
  }
}


/* ========================================================================
   v2.6.1 — MITRA CANDLE SHOP BRAND THEME
   Palette sampled from the current MITRA CANDLE SHOP storefront:
   Primary Pink: #E73C7F
   Secondary Pink: #EA558F
   Pale Lilac/Pink: #F5DAF6
   Dark Ink: #1A2125
   ======================================================================== */

:root{
  --mcc-bg:#fff8fc;
  --mcc-card:rgba(255,255,255,.94);
  --mcc-ink:#29242a;
  --mcc-muted:#786c75;

  --mcc-primary:#e73c7f;
  --mcc-primary-2:#ea558f;
  --mcc-primary-dark:#b52660;

  --mcc-brand-pale:#f5daf6;
  --mcc-brand-soft:#fdeaf3;
  --mcc-brand-soft-2:#fff4f9;

  --mcc-border:rgba(231,60,127,.16);
  --mcc-soft:#fff0f7;
  --mcc-green:#3b9862;

  --mcc-shadow:
    0 26px 72px rgba(180,38,96,.11),
    0 4px 16px rgba(231,60,127,.04);
}

/* Main branded canvas */
.mcc-wrap{
  color:var(--mcc-ink)!important;
  background:
    radial-gradient(circle at 88% 3%,rgba(231,60,127,.16),transparent 25%),
    radial-gradient(circle at 7% 73%,rgba(245,218,246,.88),transparent 29%),
    linear-gradient(180deg,#fff 0%,#fff7fb 42%,#fdf0f8 100%)!important;
}

.mcc-wrap::before{
  background:
    radial-gradient(circle,rgba(231,60,127,.18),transparent 68%)!important;
  animation:mccBrandOrbOne 9s ease-in-out infinite!important;
}

.mcc-wrap::after{
  background:
    radial-gradient(circle,rgba(245,218,246,.95),transparent 67%)!important;
  animation:mccBrandOrbTwo 12s ease-in-out infinite!important;
}

/* Header */
.mcc-badge{
  color:#a1245a!important;
  border-color:rgba(231,60,127,.18)!important;
  background:rgba(255,255,255,.86)!important;
  box-shadow:
    0 8px 24px rgba(231,60,127,.08),
    inset 0 1px 0 #fff!important;
}

.mcc-head h1{
  background:linear-gradient(110deg,#2d272c 18%,#b52660 55%,#e73c7f 92%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Progress */
.mcc-progress-line{
  background:rgba(231,60,127,.12)!important;
}

.mcc-progress-line span{
  position:relative;
  overflow:hidden;
  background:linear-gradient(
    90deg,
    #e73c7f 0%,
    #f06ba1 48%,
    #e73c7f 100%
  )!important;
  box-shadow:0 0 20px rgba(231,60,127,.30)!important;
}

.mcc-progress-line span::after{
  content:"";
  position:absolute;
  inset:0;
  width:45%;
  transform:translateX(180%) skewX(-20deg);
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.65),
    transparent
  );
  animation:mccBrandProgressShine 2.9s ease-in-out infinite;
}

.mcc-progress-step b{
  border-color:rgba(231,60,127,.16)!important;
  box-shadow:0 6px 17px rgba(179,36,96,.06)!important;
}

.mcc-progress-step.is-active{
  color:#c82c6b!important;
}

.mcc-progress-step.is-active b{
  background:linear-gradient(135deg,#f15e98,#e73c7f)!important;
  box-shadow:
    0 14px 31px rgba(231,60,127,.28),
    0 0 0 5px rgba(231,60,127,.08)!important;
  animation:mccBrandStepPulse 2.4s ease-in-out infinite;
}

/* Main cards */
.mcc-card{
  border:1px solid rgba(255,255,255,.9)!important;
  outline:1px solid rgba(231,60,127,.11)!important;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.97),
      rgba(255,250,253,.93)
    )!important;
  box-shadow:var(--mcc-shadow)!important;
}

.mcc-card::before{
  height:2px!important;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(231,60,127,.42),
    rgba(245,218,246,.9),
    transparent
  )!important;
}

.mcc-card::after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  top:-105px;
  left:-75px;
  border-radius:50%;
  background:radial-gradient(
    circle,
    rgba(245,218,246,.55),
    transparent 70%
  );
  pointer-events:none;
}

/* Icons */
.mcc-icon{
  background:
    linear-gradient(145deg,#fff,#fdeaf3)!important;
  border-color:rgba(231,60,127,.16)!important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 9px 24px rgba(231,60,127,.10)!important;
}

/* Contact method switch */
.mcc-contact-choice{
  background:#f5daf6!important;
  border-color:rgba(231,60,127,.10)!important;
  box-shadow:inset 0 1px 3px rgba(171,37,91,.05);
}

.mcc-contact-choice::before{
  background:#fff!important;
  box-shadow:
    0 9px 26px rgba(189,44,104,.14),
    0 0 0 1px rgba(231,60,127,.05)!important;
}

.mcc-contact-tab{
  color:#8c7180!important;
}

.mcc-contact-tab.is-active{
  color:#b52660!important;
}

.mcc-contact-tab.is-active::after{
  content:"";
  position:absolute;
  bottom:6px;
  right:50%;
  width:5px;
  height:5px;
  transform:translateX(50%);
  border-radius:50%;
  background:#e73c7f;
  box-shadow:0 0 0 5px rgba(231,60,127,.08);
}

/* Inputs */
.mcc-grid input,
.mcc-otp-label input,
.mcc-payment-phone input,
.mcc-payment-email input{
  border-color:rgba(178,117,146,.28)!important;
  background:#fff!important;
  color:#2b252a!important;
}

.mcc-grid input:hover,
.mcc-payment-phone input:hover,
.mcc-payment-email input:hover{
  border-color:rgba(231,60,127,.32)!important;
}

.mcc-grid input:focus,
.mcc-otp-label input:focus,
.mcc-payment-phone input:focus,
.mcc-payment-email input:focus{
  border-color:#e73c7f!important;
  box-shadow:
    0 0 0 4px rgba(231,60,127,.10),
    0 10px 24px rgba(185,44,104,.07)!important;
}

.mcc-wrap.is-otp-locked .mcc-grid input{
  background:#fcf4f8!important;
}

/* Primary button */
.mcc-btn-primary{
  color:#fff!important;
  background:
    linear-gradient(
      120deg,
      #db3878 0%,
      #e73c7f 42%,
      #f05a96 100%
    )!important;
  box-shadow:
    0 13px 29px rgba(231,60,127,.26),
    0 3px 8px rgba(184,35,94,.12)!important;
  border:1px solid rgba(186,35,94,.12)!important;
}

.mcc-btn-primary::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.20),
    transparent 42%
  );
  pointer-events:none;
}

.mcc-btn-primary::after{
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.48),
    transparent
  )!important;
  animation:mccBrandButtonShine 3.8s ease-in-out infinite!important;
}

.mcc-btn-primary:not(:disabled):hover{
  transform:translateY(-3px) scale(1.008)!important;
  box-shadow:
    0 18px 38px rgba(231,60,127,.34),
    0 5px 12px rgba(184,35,94,.14)!important;
}

.mcc-btn-primary:not(:disabled):active{
  transform:translateY(0) scale(.985)!important;
}

.mcc-btn-ghost{
  color:#a62a5e!important;
  border-color:rgba(231,60,127,.16)!important;
  background:#fff!important;
}

.mcc-btn-ghost:hover{
  background:#fff5fa!important;
  border-color:rgba(231,60,127,.28)!important;
}

/* Alerts */
.mcc-alert.is-success{
  color:#9e2458!important;
  border-color:rgba(231,60,127,.20)!important;
  background:#fff0f7!important;
}
.mcc-alert.is-success .mcc-alert-icon{
  color:#fff!important;
  background:#e73c7f!important;
}

.mcc-alert.is-info{
  color:#7c5271!important;
  border-color:rgba(191,103,181,.19)!important;
  background:#faecfb!important;
}
.mcc-alert.is-info .mcc-alert-icon{
  background:#efc9ef!important;
}

.mcc-alert.is-error{
  border-color:rgba(202,54,88,.21)!important;
}

/* Account bar */
.mcc-account-bar{
  border-color:rgba(231,60,127,.16)!important;
  background:
    linear-gradient(
      100deg,
      rgba(255,244,249,.96),
      rgba(250,233,251,.94)
    )!important;
  box-shadow:0 8px 24px rgba(196,45,106,.07)!important;
}

.mcc-account-status{
  color:#87526d!important;
}

.mcc-account-status strong{
  color:#a12358!important;
}

.mcc-account-dot{
  background:#e73c7f!important;
  box-shadow:
    0 0 0 5px rgba(231,60,127,.10),
    0 0 14px rgba(231,60,127,.22)!important;
  animation:mccBrandStatusPulse 2s ease-in-out infinite;
}

.mcc-logout-btn{
  color:#b52660!important;
  border-color:rgba(231,60,127,.18)!important;
}

.mcc-logout-btn:hover{
  color:#fff!important;
  background:#e73c7f!important;
  border-color:#e73c7f!important;
  box-shadow:0 9px 22px rgba(231,60,127,.20)!important;
}

/* OTP */
.mcc-otp-area{
  border-color:rgba(231,60,127,.25)!important;
  background:
    linear-gradient(
      145deg,
      rgba(255,249,252,.98),
      rgba(250,234,250,.70)
    )!important;
}

.mcc-locked-note{
  color:#9c466e!important;
  background:#fdebf4!important;
}

.mcc-otp-card{
  border-color:rgba(231,60,127,.12)!important;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fff7fb 100%
    )!important;
  box-shadow:
    0 20px 52px rgba(178,40,96,.10),
    inset 0 1px 0 #fff!important;
}

/* Video-inspired lock recolored to Mitra brand */
.mcc-otp-lock-body{
  background:
    linear-gradient(
      180deg,
      #ef5b98 0%,
      #e73c7f 48%,
      #ca2d6a 100%
    )!important;
  box-shadow:
    0 13px 25px rgba(231,60,127,.26),
    inset 0 1px 0 rgba(255,255,255,.22)!important;
}

.mcc-otp-lock-shackle{
  border-color:#f0a8c7!important;
}

.mcc-otp-lock-hole{
  background:#ffe9f2!important;
  box-shadow:0 12px 0 3px #ffe9f2!important;
}

.mcc-otp-lock-key{
  border-color:#eaa0c0!important;
}
.mcc-otp-lock-key::before,
.mcc-otp-lock-key::after{
  background:#eaa0c0!important;
}
.mcc-otp-lock-key::after{
  box-shadow:0 7px 0 #eaa0c0!important;
}

/* OTP digit boxes */
.mcc-otp-digit{
  color:#a7265d!important;
  border-color:rgba(207,145,177,.38)!important;
  background:
    linear-gradient(180deg,#fff,#fdf3f8)!important;
}

.mcc-otp-digit:focus{
  border-color:#e73c7f!important;
  background:#fff!important;
  box-shadow:
    0 0 0 4px rgba(231,60,127,.12),
    0 12px 21px rgba(159,34,86,.09)!important;
}

.mcc-otp-slots.is-complete .mcc-otp-digit{
  border-color:#e73c7f!important;
  color:#b52660!important;
  background:#fff4f9!important;
  box-shadow:
    0 0 0 4px rgba(231,60,127,.08),
    0 10px 18px rgba(178,40,96,.07)!important;
}

.mcc-clock-dot{
  background:#e73c7f!important;
  animation:mccBrandClockPulse 1.35s infinite!important;
}

.mcc-clock-ready{
  color:#b52660!important;
}

.mcc-link-btn{
  color:#d83276!important;
}

/* Product + price */
.mcc-product-box{
  border-color:rgba(231,60,127,.13)!important;
  background:
    linear-gradient(
      135deg,
      #fff 0%,
      #fff5fa 100%
    )!important;
}

.mcc-mini-badge{
  color:#aa275d!important;
  background:#fde7f1!important;
}

.mcc-check{
  color:#fff!important;
  background:
    linear-gradient(135deg,#ef609a,#e73c7f)!important;
}

.mcc-price-card{
  border-color:rgba(231,60,127,.14)!important;
  background:
    radial-gradient(circle at top,#fff 0%,#fff8fc 100%)!important;
  box-shadow:0 13px 30px rgba(185,41,99,.07)!important;
}

.mcc-price-card .price{
  color:#e73c7f!important;
  text-shadow:0 5px 22px rgba(231,60,127,.12);
}

/* Rules */
.mcc-rules-scroll{
  border-color:rgba(231,60,127,.13)!important;
  background:#fffafd!important;
}

.mcc-rules-copy h3{
  color:#b12660!important;
}

.mcc-rule-accept{
  border-color:rgba(231,60,127,.19)!important;
  background:#fff2f8!important;
}

.mcc-rule-accept.is-ready{
  box-shadow:
    0 0 0 4px rgba(231,60,127,.06),
    0 8px 24px rgba(231,60,127,.05)!important;
}

.mcc-rule-accept.is-checked{
  border-color:rgba(231,60,127,.35)!important;
  background:#fdebf4!important;
}

/* Final summary + complementary contact */
.mcc-final-summary{
  border-color:rgba(231,60,127,.13)!important;
  background:
    linear-gradient(
      135deg,
      #fff,
      #fff4fa
    )!important;
}

.mcc-summary-row{
  border-bottom-color:rgba(231,60,127,.14)!important;
}

.mcc-summary-price strong{
  color:#e73c7f!important;
}

.mcc-payment-phone,
.mcc-payment-email{
  border-color:rgba(231,60,127,.18)!important;
  background:#fff3f8!important;
}

.mcc-security-note{
  color:#7f5670!important;
  background:#f9eafa!important;
  border:1px solid rgba(192,94,179,.12);
}

/* Loading skeleton */
.mcc-skeleton{
  background:
    linear-gradient(
      90deg,
      #f7dfea 25%,
      #fff5fa 37%,
      #f7dfea 63%
    )!important;
  background-size:400% 100%!important;
}

/* Standard order-pay diagnostics: match storefront */
.mcc-pay-diagnostic{
  border-radius:17px!important;
  box-shadow:0 9px 28px rgba(183,41,98,.06);
}

.mcc-pay-diagnostic.is-ok{
  color:#8d315e!important;
  border-color:rgba(231,60,127,.18)!important;
  background:#fff0f7!important;
}

.mcc-pay-diagnostic.is-warning{
  color:#865270!important;
  border-color:rgba(192,94,179,.18)!important;
  background:#f8e9f9!important;
}

.mcc-pay-admin-diagnostic{
  border-top-color:rgba(231,60,127,.15)!important;
}

.mcc-pay-admin-grid>div,
.mcc-pay-gateway-debug-row{
  background:rgba(255,255,255,.78)!important;
}

/* Subtle brand glow around the active step card */
.mcc-step.is-active .mcc-card{
  animation:mccBrandCardArrival .48s cubic-bezier(.2,.78,.2,1) both;
}

/* Responsive refinements specific to Mitra palette */
@media(max-width:600px){
  .mcc-wrap{
    background:
      radial-gradient(circle at 100% 0%,rgba(231,60,127,.13),transparent 28%),
      linear-gradient(180deg,#fff 0%,#fff7fb 55%,#fdf0f8 100%)!important;
  }

  .mcc-card{
    box-shadow:
      0 17px 45px rgba(181,39,96,.09),
      0 2px 9px rgba(231,60,127,.04)!important;
  }

  .mcc-btn-primary{
    box-shadow:
      0 11px 24px rgba(231,60,127,.24)!important;
  }
}

/* Branded motion */
@keyframes mccBrandProgressShine{
  0%,58%{transform:translateX(185%) skewX(-20deg);opacity:0}
  68%{opacity:1}
  92%,100%{transform:translateX(-280%) skewX(-20deg);opacity:0}
}

@keyframes mccBrandButtonShine{
  0%,62%{left:-65px;opacity:0}
  69%{opacity:1}
  88%,100%{left:calc(100% + 65px);opacity:0}
}

@keyframes mccBrandStepPulse{
  0%,100%{
    box-shadow:
      0 14px 31px rgba(231,60,127,.25),
      0 0 0 4px rgba(231,60,127,.07);
  }
  50%{
    box-shadow:
      0 16px 34px rgba(231,60,127,.31),
      0 0 0 8px rgba(231,60,127,.03);
  }
}

@keyframes mccBrandStatusPulse{
  0%,100%{
    box-shadow:
      0 0 0 5px rgba(231,60,127,.10),
      0 0 10px rgba(231,60,127,.18);
  }
  50%{
    box-shadow:
      0 0 0 7px rgba(231,60,127,.05),
      0 0 18px rgba(231,60,127,.28);
  }
}

@keyframes mccBrandClockPulse{
  0%{box-shadow:0 0 0 0 rgba(231,60,127,.36)}
  70%{box-shadow:0 0 0 8px rgba(231,60,127,0)}
  100%{box-shadow:0 0 0 0 rgba(231,60,127,0)}
}

@keyframes mccBrandOrbOne{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-10px,18px,0) scale(1.08)}
}

@keyframes mccBrandOrbTwo{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(12px,-16px,0) scale(1.06)}
}

@keyframes mccBrandCardArrival{
  from{
    opacity:0;
    transform:translateY(13px) scale(.994);
    box-shadow:0 13px 38px rgba(181,39,96,.05);
  }
  to{
    opacity:1;
    transform:none;
    box-shadow:var(--mcc-shadow);
  }
}

@media(prefers-reduced-motion:reduce){
  .mcc-progress-line span::after,
  .mcc-progress-step.is-active b,
  .mcc-account-dot{
    animation:none!important;
  }
}


/* v2.7.0 — numbered course rules */
.mcc-rules-v2{
  display:grid;
  gap:13px;
}
.mcc-rules-intro{
  padding:3px 3px 11px;
}
.mcc-rules-intro h2{
  margin:0 0 8px!important;
}
.mcc-rules-intro p{
  margin:0!important;
}
.mcc-rule-item{
  position:relative;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:13px;
  padding:16px;
  border:1px solid rgba(231,60,127,.13);
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#fff7fb 100%);
  box-shadow:0 8px 24px rgba(185,41,99,.045);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.mcc-rule-item:hover{
  transform:translateY(-1px);
  border-color:rgba(231,60,127,.24);
  box-shadow:0 12px 28px rgba(185,41,99,.07);
}
.mcc-rule-number{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:#fff;
  font-size:1rem;
  font-weight:950;
  background:linear-gradient(135deg,#ef629c,#e73c7f);
  box-shadow:0 8px 19px rgba(231,60,127,.21);
}
.mcc-rule-content{
  min-width:0;
}
.mcc-rule-content h3{
  margin:0 0 7px!important;
  color:#a8245b!important;
  font-size:1rem!important;
  line-height:1.75;
}
.mcc-rule-content p{
  margin:6px 0!important;
  line-height:2!important;
}
.mcc-rule-highlight{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  text-align:center;
  color:#a8245b;
  font-weight:950;
  background:#fde8f2;
  border:1px dashed rgba(231,60,127,.25);
}
.mcc-rules-final-note{
  padding:15px 16px;
  border-radius:17px;
  color:#71364f;
  background:linear-gradient(135deg,#fbe9f8,#fff2f8);
  border:1px solid rgba(231,60,127,.17);
}
.mcc-rules-final-note>strong{
  display:block;
  margin-bottom:4px;
  color:#a8245b;
  font-size:1rem;
}
.mcc-rules-final-note p{
  margin:5px 0!important;
}

@media(max-width:600px){
  .mcc-rule-item{
    grid-template-columns:36px minmax(0,1fr);
    gap:9px;
    padding:13px 10px;
    border-radius:15px;
  }
  .mcc-rule-number{
    width:34px;
    height:34px;
    border-radius:11px;
    font-size:.86rem;
  }
  .mcc-rule-content h3{
    font-size:.92rem!important;
  }
  .mcc-rule-content p{
    font-size:.84rem!important;
    line-height:1.9!important;
  }
  .mcc-rule-highlight{
    font-size:.82rem;
  }
}


/* v2.8.1 — contextual alerts beside the current action */
.mcc-card > .mcc-alert{
  position:relative;
  z-index:18;
  margin:18px 0 0!important;
  width:100%;
  box-shadow:0 12px 30px rgba(88,39,65,.08);
}

.mcc-card > .mcc-alert.is-visible{
  animation:mccLocalAlertIn .28s cubic-bezier(.2,.8,.2,1) both;
}

.mcc-alert-message{
  flex:1;
  min-width:0;
  line-height:1.75;
}

.mcc-alert-close{
  width:29px;
  height:29px;
  min-width:29px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.62);
  color:inherit;
  font:inherit;
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
  opacity:.78;
  transition:.18s ease;
}

.mcc-alert-close:hover{
  opacity:1;
  transform:scale(1.05);
}

.mcc-field-error{
  border-color:#d93668!important;
  box-shadow:
    0 0 0 4px rgba(217,54,104,.11),
    0 8px 20px rgba(170,36,79,.07)!important;
}

.mcc-rule-accept.mcc-field-error{
  border-color:#d93668!important;
  background:#fff0f5!important;
  animation:mccFieldErrorPulse .36s ease;
}

.mcc-otp-slots.mcc-inline-error .mcc-otp-digit{
  border-color:#d93668!important;
  box-shadow:
    0 0 0 3px rgba(217,54,104,.09)!important;
}

@keyframes mccLocalAlertIn{
  from{
    opacity:0;
    transform:translateY(8px) scale(.992);
  }
  to{
    opacity:1;
    transform:none;
  }
}

@keyframes mccFieldErrorPulse{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-3px)}
  50%{transform:translateX(3px)}
  75%{transform:translateX(-2px)}
}

@media(max-width:600px){
  .mcc-card > .mcc-alert.is-error{
    position:sticky;
    bottom:8px;
    margin-top:13px!important;
    box-shadow:
      0 15px 34px rgba(134,30,72,.16),
      0 0 0 1px rgba(217,54,104,.05);
    backdrop-filter:blur(12px);
  }

  .mcc-alert{
    padding:11px 11px!important;
    font-size:.83rem!important;
  }

  .mcc-alert-icon{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .mcc-card > .mcc-alert.is-visible,
  .mcc-rule-accept.mcc-field-error{
    animation:none!important;
  }
}

/* v2.8.2 — authoritative OTP validity / resend timers */
#mcc-otp-timer{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:7px 10px;
  line-height:1.7;
}

.mcc-otp-validity,
.mcc-otp-resend-state{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(231,60,127,.10);
}

.mcc-otp-validity{
  color:#a8245b;
  font-weight:800;
}

.mcc-otp-validity.is-expired{
  color:#b62d52;
  background:#fff0f4;
  border-color:rgba(217,54,104,.18);
}

.mcc-otp-resend-state{
  color:#735766;
}

.mcc-otp-meta-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 14px;
  margin-top:6px;
}

.mcc-link-btn-muted{
  color:#826575!important;
}

.mcc-link-btn-muted:hover{
  color:#b52660!important;
}

@media(max-width:600px){
  #mcc-otp-timer{
    align-items:stretch;
    flex-direction:column;
    width:100%;
  }

  .mcc-otp-validity,
  .mcc-otp-resend-state{
    justify-content:center;
    width:100%;
  }
}


/* v2.9.1 — keep OTP feedback and CTA inside the OTP card */
.mcc-otp-card .mcc-otp-inline-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin-top:18px;
}

.mcc-otp-card .mcc-otp-inline-actions .mcc-btn{
  width:min(100%,320px);
  min-height:52px;
  margin:0!important;
}

.mcc-otp-card > .mcc-alert{
  margin:16px 0 0!important;
  width:100%;
  position:relative!important;
  bottom:auto!important;
  top:auto!important;
  border-radius:15px;
}

.mcc-otp-card > .mcc-alert.is-success{
  background:#fff0f7!important;
  border-color:rgba(231,60,127,.22)!important;
  color:#9f285e!important;
}

.mcc-otp-card > .mcc-alert.is-error{
  background:#fff1f4!important;
  border-color:rgba(217,54,104,.24)!important;
}

@media(max-width:600px){
  .mcc-otp-card .mcc-otp-inline-actions{
    margin-top:14px;
  }

  .mcc-otp-card .mcc-otp-inline-actions .mcc-btn{
    width:100%;
    min-height:50px;
    position:relative!important;
    inset:auto!important;
  }

  .mcc-otp-card > .mcc-alert{
    position:relative!important;
    bottom:auto!important;
    margin-top:12px!important;
    box-shadow:0 10px 24px rgba(134,30,72,.10)!important;
  }
}


/* v3.1.0 — coupon field */
.mcc-coupon-box{margin-top:18px;padding:16px;border:1px solid rgba(231,60,127,.16);border-radius:18px;background:linear-gradient(135deg,#fff,#fff4fa);box-shadow:0 10px 28px rgba(181,39,96,.055)}
.mcc-coupon-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.mcc-coupon-head strong{display:block;color:#a8245b;font-size:.98rem;font-weight:950}
.mcc-coupon-head div>span{display:block;margin-top:3px;color:#806f79;font-size:.8rem;line-height:1.7}
.mcc-coupon-icon{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:13px;color:#fff;font-weight:950;background:linear-gradient(135deg,#ef619b,#e73c7f);box-shadow:0 8px 20px rgba(231,60,127,.2)}
.mcc-coupon-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.mcc-coupon-form input{width:100%;min-height:48px;border:1px solid rgba(178,117,146,.28);border-radius:14px;padding:10px 13px;background:#fff;color:#2b252a;font:inherit;outline:0;direction:ltr;text-align:left}
.mcc-coupon-form input:focus{border-color:#e73c7f;box-shadow:0 0 0 4px rgba(231,60,127,.1)}
.mcc-coupon-form input:disabled{background:#fff7fb;color:#a8245b;font-weight:800}
.mcc-coupon-apply{min-height:48px;padding:0 18px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#e73c7f,#ef5a96);font:inherit;font-weight:900;cursor:pointer;box-shadow:0 9px 20px rgba(231,60,127,.18)}
.mcc-coupon-result{display:flex;align-items:flex-start;gap:9px;margin-top:11px;padding:11px 12px;border-radius:13px;font-size:.82rem;line-height:1.75}
.mcc-coupon-result[hidden]{display:none!important}.mcc-coupon-result.is-success{color:#8f2858;background:#fff0f7;border:1px solid rgba(231,60,127,.18)}.mcc-coupon-result.is-error{color:#9e344f;background:#fff1f4;border:1px solid rgba(217,54,104,.18)}
.mcc-coupon-result-icon{width:23px;height:23px;min-width:23px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#e73c7f;font-weight:900}.mcc-coupon-result strong,.mcc-coupon-result span{display:block}.mcc-coupon-remove{margin-top:9px;padding:0;border:0;background:transparent;color:#b52660;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.mcc-summary-discount{color:#3b9862!important}.mcc-summary-final-after-coupon{margin-top:5px;padding-top:11px!important;border-top:1px dashed rgba(231,60,127,.22)}.mcc-summary-final-after-coupon strong{color:#e73c7f!important;font-size:1.08rem}
@media(max-width:600px){.mcc-coupon-box{padding:13px}.mcc-coupon-form{grid-template-columns:1fr}.mcc-coupon-apply{width:100%}.mcc-coupon-form input{font-size:16px}}


/* v3.1.1 — coupon amount preview fix */
.mcc-coupon-result > div{
  width:100%;
}

.mcc-coupon-result > div > span{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:6px!important;
  padding-top:6px;
  border-top:1px dashed rgba(231,60,127,.14);
}

.mcc-coupon-result > div > span b{
  white-space:nowrap;
  direction:rtl;
  color:#b52660;
  font-weight:950;
}

.mcc-coupon-result.is-success > div > span:last-child b{
  color:#e73c7f;
}

@media(max-width:600px){
  .mcc-coupon-result > div > span{
    flex-wrap:wrap;
  }
}

/* v3.3.0 SpotPlayer customer status */
.mcc-spot-customer{direction:rtl;display:flex;flex-direction:column;gap:4px;margin:14px 0;padding:14px 16px;border-radius:15px;line-height:1.8}.mcc-spot-customer strong{font-size:.94rem}.mcc-spot-customer span{font-size:.82rem}.mcc-spot-customer.is-ready{color:#286c45;border:1px solid rgba(59,152,98,.20);background:#f1faf4}.mcc-spot-customer.is-waiting{color:#8b4165;border:1px solid rgba(231,60,127,.17);background:#fff1f7}


/* v3.6.0 — dedicated thank-you experience for course-only funnel orders */
.mcc-course-success{
  --mcc-course-pink:#e73c7f;
  --mcc-course-dark:#2e2529;
  direction:rtl;
  max-width:1060px;
  margin:22px auto 26px;
  color:var(--mcc-course-dark);
}

.mcc-course-success-head{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:24px 26px;
  border:1px solid rgba(231,60,127,.14);
  border-radius:24px;
  background:
    radial-gradient(circle at 6% 15%,rgba(245,218,246,.85),transparent 28%),
    linear-gradient(135deg,#fff,#fff5fa);
  box-shadow:0 18px 52px rgba(181,39,96,.10);
  overflow:hidden;
}

.mcc-course-success-mark{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:29px;
  font-weight:950;
  background:linear-gradient(135deg,#ef609a,#e73c7f);
  box-shadow:
    0 12px 28px rgba(231,60,127,.25),
    0 0 0 7px rgba(231,60,127,.07);
}

.mcc-course-success-brand{
  display:block;
  margin-bottom:4px;
  color:#bd2a64;
  font-size:11px;
  font-weight:950;
  letter-spacing:1.1px;
}

.mcc-course-success-head h2{
  margin:0!important;
  color:#2e2529!important;
  font-size:clamp(22px,3vw,34px)!important;
  line-height:1.45!important;
}

.mcc-course-success-head p{
  margin:7px 0 0!important;
  color:#786b73;
  font-size:13px;
  line-height:1.9;
}

.mcc-course-order-chip{
  min-width:112px;
  padding:10px 13px;
  border:1px solid rgba(231,60,127,.14);
  border-radius:14px;
  text-align:center;
  color:#866372;
  background:rgba(255,255,255,.8);
}

.mcc-course-order-chip strong{
  display:block;
  margin-top:3px;
  color:#b52660;
  font-size:16px;
}

.mcc-course-spot-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin-top:14px;
  padding:17px 19px;
  border-radius:19px;
  border:1px solid rgba(231,60,127,.14);
  background:#fff;
  box-shadow:0 11px 34px rgba(89,45,65,.06);
}

.mcc-course-spot-card.is-ready{
  border-color:rgba(59,152,98,.22);
  background:#f4fbf6;
}

.mcc-course-spot-card.is-warning{
  border-color:rgba(207,151,60,.28);
  background:#fffaf0;
}

.mcc-course-spot-card.is-waiting{
  background:#fff3f8;
}

.mcc-course-spot-icon{
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#ec5d96,#e73c7f);
  font-size:20px;
  font-weight:900;
}

.mcc-course-spot-card.is-ready .mcc-course-spot-icon{
  background:#3b9862;
}

.mcc-course-spot-card.is-warning .mcc-course-spot-icon{
  background:#c79235;
}

.mcc-course-spot-copy>span{
  display:block;
  margin-bottom:2px;
  color:#9d6a80;
  font-size:11px;
  font-weight:800;
}

.mcc-course-spot-copy>strong{
  display:block;
  color:#4a303d;
  font-size:15px;
}

.mcc-course-spot-copy p{
  margin:4px 0 0!important;
  color:#776871;
  font-size:12px;
  line-height:1.8;
}

.mcc-course-spot-live{
  padding:6px 9px;
  border-radius:999px;
  color:#a52c60;
  background:#fff;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}

.mcc-course-spot-live[hidden]{
  display:none!important;
}

.mcc-course-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}

.mcc-course-card{
  padding:18px;
  border:1px solid rgba(231,60,127,.12);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 35px rgba(89,45,65,.055);
}

.mcc-course-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:11px;
}

.mcc-course-card-head span{
  color:#9a6a7f;
  font-size:11px;
  font-weight:800;
}

.mcc-course-card-head strong{
  padding:5px 9px;
  border-radius:999px;
  color:#a4265d;
  background:#fff0f7;
  font-size:10px;
}

.mcc-course-summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:9px 0;
  border-bottom:1px solid #f4e8ed;
  color:#766871;
  font-size:12px;
}

.mcc-course-summary-row:last-of-type{
  border-bottom:0;
}

.mcc-course-summary-row b{
  color:#3e3238;
  font-size:12px;
  text-align:left;
}

.mcc-course-summary-row.is-total b{
  color:#e73c7f;
  font-size:14px;
}

.mcc-course-summary-row .is-discount{
  color:#3b9862;
}

.mcc-course-coupon{
  direction:ltr;
  padding:3px 7px;
  border-radius:8px;
  color:#b52660!important;
  background:#fff0f7;
}

.mcc-course-summary-row .is-ltr{
  direction:ltr;
  unicode-bidi:plaintext;
}

.mcc-course-access-note{
  margin-top:11px;
  padding:10px 11px;
  border-radius:12px;
  color:#735968;
  background:#fbecfa;
  font-size:11px;
  line-height:1.9;
}

.mcc-course-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:14px;
}

.mcc-course-btn{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border:1px solid rgba(231,60,127,.17);
  border-radius:14px;
  color:#a4265d!important;
  background:#fff!important;
  font-size:12px;
  font-weight:900;
  text-decoration:none!important;
  cursor:pointer;
  transition:.2s ease;
}

.mcc-course-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(231,60,127,.30);
  box-shadow:0 9px 24px rgba(231,60,127,.11);
}

.mcc-course-btn.is-primary{
  color:#fff!important;
  border-color:#e73c7f;
  background:linear-gradient(135deg,#e73c7f,#ef5c98)!important;
  box-shadow:0 10px 24px rgba(231,60,127,.20);
}

/* Keep native WooCommerce order details below. SpotPlayer may render its
   actual license/output there, so the dedicated course UI never hides it. */
.mcc-course-success + .woocommerce-order-details{
  margin-top:22px;
}

@media(max-width:760px){
  .mcc-course-success{
    margin:14px 0 20px;
  }

  .mcc-course-success-head{
    grid-template-columns:auto minmax(0,1fr);
    padding:18px 15px;
    border-radius:19px;
  }

  .mcc-course-success-mark{
    width:48px;
    height:48px;
    font-size:23px;
  }

  .mcc-course-order-chip{
    grid-column:1/-1;
    width:100%;
  }

  .mcc-course-spot-card{
    grid-template-columns:auto minmax(0,1fr);
    padding:14px;
  }

  .mcc-course-spot-live{
    grid-column:1/-1;
    justify-self:start;
  }

  .mcc-course-grid{
    grid-template-columns:1fr;
  }

  .mcc-course-card{
    padding:15px;
  }

  .mcc-course-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .mcc-course-btn{
    width:100%;
  }
}


/* v3.6.1 — isolate Mitra Checkout direction from RTL Tester/theme */
.mcc-wrap[dir="rtl"],
.mcc-course-success[dir="rtl"]{
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:isolate;
}

.mcc-wrap[dir="ltr"],
.mcc-course-success[dir="ltr"]{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:isolate;
}

/* Persian/RTL content must not inherit left alignment from body/theme. */
.mcc-wrap[dir="rtl"] .mcc-shell,
.mcc-wrap[dir="rtl"] .mcc-head,
.mcc-wrap[dir="rtl"] .mcc-card,
.mcc-wrap[dir="rtl"] .mcc-step,
.mcc-wrap[dir="rtl"] .mcc-field,
.mcc-wrap[dir="rtl"] .mcc-field-label,
.mcc-wrap[dir="rtl"] .mcc-field-help,
.mcc-wrap[dir="rtl"] .mcc-helper,
.mcc-wrap[dir="rtl"] .mcc-alert,
.mcc-wrap[dir="rtl"] .mcc-rule-content,
.mcc-wrap[dir="rtl"] .mcc-coupon-box,
.mcc-wrap[dir="rtl"] label{
  direction:rtl!important;
  text-align:right!important;
}

/* English/LTR version through WPML. */
.mcc-wrap[dir="ltr"] .mcc-shell,
.mcc-wrap[dir="ltr"] .mcc-head,
.mcc-wrap[dir="ltr"] .mcc-card,
.mcc-wrap[dir="ltr"] .mcc-step,
.mcc-wrap[dir="ltr"] .mcc-field,
.mcc-wrap[dir="ltr"] .mcc-field-label,
.mcc-wrap[dir="ltr"] .mcc-field-help,
.mcc-wrap[dir="ltr"] .mcc-helper,
.mcc-wrap[dir="ltr"] .mcc-alert,
.mcc-wrap[dir="ltr"] .mcc-rule-content,
.mcc-wrap[dir="ltr"] .mcc-coupon-box,
.mcc-wrap[dir="ltr"] label{
  direction:ltr!important;
  text-align:left!important;
}

/* Textual Persian fields: first/last name and ordinary text inputs. */
.mcc-wrap[dir="rtl"] input[type="text"]:not(#mcc-coupon-code):not(.mcc-otp-digit){
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:plaintext;
}

/* Data fields remain LTR in either language so digits and emails are stable. */
.mcc-wrap #mcc-phone,
.mcc-wrap #mcc-payment-phone,
.mcc-wrap #mcc-email,
.mcc-wrap #mcc-payment-email,
.mcc-wrap #mcc-coupon-code,
.mcc-wrap .mcc-otp-digit,
.mcc-wrap input[type="tel"],
.mcc-wrap input[type="email"]{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext;
}

/* OTP digits should visually flow 1→6 left-to-right even in Persian. */
.mcc-wrap[dir="rtl"] .mcc-otp-slots{
  direction:ltr!important;
}

/* Do not let generic theme selectors flip buttons/action rows. */
.mcc-wrap[dir="rtl"] .mcc-actions,
.mcc-wrap[dir="rtl"] .mcc-otp-inline-actions,
.mcc-wrap[dir="rtl"] .mcc-coupon-form{
  direction:rtl!important;
}

/* Thank-you page follows active language, but phone/email values remain LTR. */
.mcc-course-success[dir="rtl"] .mcc-course-success-head,
.mcc-course-success[dir="rtl"] .mcc-course-spot-card,
.mcc-course-success[dir="rtl"] .mcc-course-card{
  direction:rtl!important;
  text-align:right!important;
}

.mcc-course-success[dir="ltr"] .mcc-course-success-head,
.mcc-course-success[dir="ltr"] .mcc-course-spot-card,
.mcc-course-success[dir="ltr"] .mcc-course-card{
  direction:ltr!important;
  text-align:left!important;
}

.mcc-course-success .is-ltr,
.mcc-course-success a[href^="mailto:"],
.mcc-course-success a[href^="tel:"]{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext;
}


/* v3.6.2 — course-only WooCommerce thank-you refinement */

/* The custom course block replaces these duplicated native summary elements.
   Order details remain visible below because SpotPlayer may render license data there. */
body.mcc-course-thankyou-active .woocommerce-thankyou-order-received,
body.mcc-course-thankyou-active .woocommerce-order-overview{
  display:none!important;
}

/* Common WoodMart wrappers around the standard overview should not add
   excessive blank space once their WooCommerce children are hidden. */
body.mcc-course-thankyou-active .woocommerce-order > .woocommerce-notice:empty,
body.mcc-course-thankyou-active .woocommerce-order > p.woocommerce-notice:empty{
  display:none!important;
  margin:0!important;
  padding:0!important;
}

/* Overall width / rhythm */
body.mcc-course-thankyou-active .mcc-course-success{
  width:min(1040px,calc(100% - 32px));
  max-width:1040px;
  margin:18px auto 22px!important;
}

body.mcc-course-thankyou-active .mcc-course-success-head{
  min-height:0!important;
  grid-template-columns:58px minmax(0,1fr) 118px;
  gap:16px;
  padding:21px 24px!important;
  border-radius:22px!important;
}

body.mcc-course-thankyou-active .mcc-course-success-mark{
  width:54px!important;
  height:54px!important;
  font-size:25px!important;
}

body.mcc-course-thankyou-active .mcc-course-success-head h2{
  font-size:clamp(23px,2.35vw,32px)!important;
  line-height:1.4!important;
}

body.mcc-course-thankyou-active .mcc-course-success-head p{
  margin-top:5px!important;
  max-width:650px;
  font-size:12.5px!important;
}

.mcc-course-meta-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}

.mcc-course-meta-chips span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:3px 9px;
  border:1px solid rgba(231,60,127,.11);
  border-radius:999px;
  color:#8e596f;
  background:rgba(255,255,255,.72);
  font-size:10px;
  font-weight:800;
}

.mcc-course-next-label{
  margin:15px 2px 6px;
  color:#a4275d;
  font-size:11px;
  font-weight:950;
}

body.mcc-course-thankyou-active .mcc-course-spot-card{
  margin-top:0!important;
  padding:15px 17px!important;
  border-radius:17px!important;
}

body.mcc-course-thankyou-active .mcc-course-grid{
  gap:12px!important;
  margin-top:12px!important;
}

body.mcc-course-thankyou-active .mcc-course-card{
  padding:16px!important;
  border-radius:18px!important;
}

body.mcc-course-thankyou-active .mcc-course-summary-row{
  min-height:38px;
  padding:7px 0!important;
}

body.mcc-course-thankyou-active .mcc-course-actions{
  margin-top:12px!important;
}

body.mcc-course-thankyou-active .mcc-course-btn{
  min-height:43px!important;
  border-radius:12px!important;
}

/* Native Woo order details are still useful, but match the course width. */
body.mcc-course-thankyou-active .woocommerce-order-details,
body.mcc-course-thankyou-active .woocommerce-customer-details{
  width:min(1040px,calc(100% - 32px));
  max-width:1040px;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* ---------- Tablet: 641–1024 ---------- */
@media (min-width:641px) and (max-width:1024px){
  body.mcc-course-thankyou-active .mcc-course-success{
    width:min(94%,900px);
    margin-top:14px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head{
    grid-template-columns:52px minmax(0,1fr);
    padding:18px 19px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-order-chip{
    grid-column:1/-1;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    min-width:0;
    padding:8px 11px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-order-chip strong{
    margin-top:0!important;
  }

  body.mcc-course-thankyou-active .mcc-course-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.mcc-course-thankyou-active .mcc-course-spot-card{
    grid-template-columns:42px minmax(0,1fr);
  }

  body.mcc-course-thankyou-active .mcc-course-spot-live{
    grid-column:1/-1;
    justify-self:start;
  }

  body.mcc-course-thankyou-active .mcc-course-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.mcc-course-thankyou-active .mcc-course-btn{
    width:100%;
  }
}

/* ---------- Mobile: <=640 ---------- */
@media (max-width:640px){
  body.mcc-course-thankyou-active .site-content,
  body.mcc-course-thankyou-active .main-page-wrapper{
    overflow-x:hidden;
  }

  body.mcc-course-thankyou-active .mcc-course-success{
    width:calc(100% - 20px);
    margin:10px auto 17px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head{
    display:flex!important;
    flex-direction:column;
    align-items:center;
    gap:9px!important;
    padding:17px 13px!important;
    text-align:center!important;
    border-radius:18px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-mark{
    width:48px!important;
    height:48px!important;
    font-size:22px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-brand{
    margin-bottom:3px;
    text-align:center;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head h2{
    font-size:23px!important;
    line-height:1.45!important;
    text-align:center!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head p{
    margin:5px auto 0!important;
    max-width:420px;
    font-size:11.5px!important;
    line-height:1.85!important;
    text-align:center!important;
  }

  .mcc-course-meta-chips{
    justify-content:center;
    gap:5px;
    margin-top:9px;
  }

  .mcc-course-meta-chips span{
    min-height:24px;
    padding:2px 7px;
    font-size:9px;
  }

  body.mcc-course-thankyou-active .mcc-course-order-chip{
    width:100%;
    min-width:0;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    padding:8px 10px!important;
    border-radius:12px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-order-chip strong{
    margin:0!important;
    font-size:14px!important;
  }

  .mcc-course-next-label{
    margin-top:12px;
  }

  body.mcc-course-thankyou-active .mcc-course-spot-card{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:10px!important;
    padding:13px!important;
    border-radius:15px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-spot-icon{
    width:40px!important;
    height:40px!important;
    border-radius:12px!important;
    font-size:17px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-spot-copy>strong{
    font-size:13px!important;
    line-height:1.65;
  }

  body.mcc-course-thankyou-active .mcc-course-spot-copy p{
    font-size:10.5px!important;
    line-height:1.75!important;
  }

  body.mcc-course-thankyou-active .mcc-course-spot-live{
    grid-column:1/-1;
    justify-self:stretch;
    text-align:center;
    white-space:normal;
    line-height:1.6;
  }

  body.mcc-course-thankyou-active .mcc-course-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-card{
    padding:14px!important;
    border-radius:16px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-card-head{
    margin-bottom:7px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-summary-row{
    min-height:37px;
    gap:10px!important;
    padding:7px 0!important;
    font-size:11px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-summary-row b{
    max-width:57%;
    font-size:11px!important;
    overflow-wrap:anywhere;
  }

  body.mcc-course-thankyou-active .mcc-course-summary-row.is-total b{
    font-size:12.5px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-access-note{
    font-size:10.5px!important;
    line-height:1.8!important;
  }

  body.mcc-course-thankyou-active .mcc-course-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-btn{
    width:100%;
    min-height:45px!important;
    padding:0 12px!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details,
  body.mcc-course-thankyou-active .woocommerce-customer-details{
    width:calc(100% - 20px);
  }

  /* WooCommerce product/order tables should scroll instead of breaking viewport. */
  body.mcc-course-thankyou-active .woocommerce-order-details{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details table{
    min-width:560px;
  }
}

/* ---------- Small phones: <=390 ---------- */
@media (max-width:390px){
  body.mcc-course-thankyou-active .mcc-course-success{
    width:calc(100% - 14px);
  }

  body.mcc-course-thankyou-active .mcc-course-success-head{
    padding:15px 10px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head h2{
    font-size:20px!important;
  }

  .mcc-course-meta-chips span{
    font-size:8.5px;
  }

  body.mcc-course-thankyou-active .mcc-course-summary-row{
    align-items:flex-start;
  }

  body.mcc-course-thankyou-active .mcc-course-summary-row b{
    max-width:54%;
  }
}


/* =========================================================
   v3.9.1 — TRUE MOBILE RESPONSIVE COURSE THANK-YOU
   Fixes WoodMart/WooCommerce desktop widths on phones/tablets.
   ========================================================= */

body.mcc-course-thankyou-active,
body.mcc-course-thankyou-active #page,
body.mcc-course-thankyou-active .website-wrapper,
body.mcc-course-thankyou-active .main-page-wrapper,
body.mcc-course-thankyou-active .site-content,
body.mcc-course-thankyou-active .container,
body.mcc-course-thankyou-active .woocommerce,
body.mcc-course-thankyou-active .woocommerce-order{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

body.mcc-course-thankyou-active{
  overflow-x:hidden!important;
}

body.mcc-course-thankyou-active .woocommerce-order,
body.mcc-course-thankyou-active .woocommerce-order > *{
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Native blocks preserved below custom course experience. */
body.mcc-course-thankyou-active .woocommerce-order-details,
body.mcc-course-thankyou-active .woocommerce-customer-details{
  float:none!important;
  clear:both!important;
  max-width:1040px!important;
  min-width:0!important;
  width:min(1040px,calc(100% - 32px))!important;
  margin:16px auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Never let WoodMart columns keep desktop widths. */
body.mcc-course-thankyou-active .woocommerce-columns,
body.mcc-course-thankyou-active .woocommerce-columns--addresses,
body.mcc-course-thankyou-active .woocommerce-column,
body.mcc-course-thankyou-active .woocommerce-column--billing-address,
body.mcc-course-thankyou-active .woocommerce-column--shipping-address{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* Product image/name row should be allowed to shrink. */
body.mcc-course-thankyou-active .woocommerce-table__product-name,
body.mcc-course-thankyou-active .woocommerce-table__product-name a,
body.mcc-course-thankyou-active .product-name{
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

/* Address / contact values */
body.mcc-course-thankyou-active address,
body.mcc-course-thankyou-active .woocommerce-customer-details--phone,
body.mcc-course-thankyou-active .woocommerce-customer-details--email{
  max-width:100%!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  box-sizing:border-box!important;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media (min-width:641px) and (max-width:1024px){
  body.mcc-course-thankyou-active .mcc-course-success,
  body.mcc-course-thankyou-active .woocommerce-order-details,
  body.mcc-course-thankyou-active .woocommerce-customer-details{
    width:calc(100% - 28px)!important;
    max-width:900px!important;
  }

  body.mcc-course-thankyou-active .woocommerce-columns--addresses{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  body.mcc-course-thankyou-active .woocommerce-column{
    margin:0!important;
  }

  body.mcc-course-thankyou-active .woocommerce-table{
    width:100%!important;
    table-layout:fixed!important;
  }

  body.mcc-course-thankyou-active .woocommerce-table th,
  body.mcc-course-thankyou-active .woocommerce-table td{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }
}

/* ---------------------------------------------------------
   Mobile: convert WooCommerce order details to card layout.
   --------------------------------------------------------- */
@media (max-width:640px){

  body.mcc-course-thankyou-active .main-page-wrapper,
  body.mcc-course-thankyou-active .site-content,
  body.mcc-course-thankyou-active .container{
    padding-left:0!important;
    padding-right:0!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success,
  body.mcc-course-thankyou-active .woocommerce-order-details,
  body.mcc-course-thankyou-active .woocommerce-customer-details{
    width:calc(100% - 18px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Remove desktop table constraints entirely. */
  body.mcc-course-thankyou-active .woocommerce-order-details{
    overflow:visible!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details table,
  body.mcc-course-thankyou-active .woocommerce-table,
  body.mcc-course-thankyou-active table.shop_table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:auto!important;
    border:0!important;
    background:transparent!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details thead,
  body.mcc-course-thankyou-active .woocommerce-table thead{
    display:none!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tbody,
  body.mcc-course-thankyou-active .woocommerce-order-details tfoot,
  body.mcc-course-thankyou-active .woocommerce-order-details tr,
  body.mcc-course-thankyou-active .woocommerce-order-details td,
  body.mcc-course-thankyou-active .woocommerce-order-details th{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Product item = card */
  body.mcc-course-thankyou-active .woocommerce-order-details tbody tr{
    margin:0 0 10px!important;
    padding:12px!important;
    border:1px solid rgba(231,60,127,.12)!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 6px 20px rgba(89,45,65,.045)!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tbody td{
    padding:6px 0!important;
    border:0!important;
  }

  body.mcc-course-thankyou-active .woocommerce-table__product-name{
    font-weight:800!important;
    font-size:13px!important;
    line-height:1.8!important;
  }

  body.mcc-course-thankyou-active .woocommerce-table__product-total{
    margin-top:5px!important;
    padding-top:8px!important;
    border-top:1px dashed rgba(231,60,127,.12)!important;
    text-align:right!important;
  }

  /* Totals = compact rows, no clipping */
  body.mcc-course-thankyou-active .woocommerce-order-details tfoot{
    margin-top:8px!important;
    padding:10px 12px!important;
    border:1px solid rgba(231,60,127,.12)!important;
    border-radius:15px!important;
    background:#fff!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot tr{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    margin:0!important;
    padding:8px 0!important;
    border:0!important;
    border-bottom:1px solid #f3e7ec!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot tr:last-child{
    border-bottom:0!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot th,
  body.mcc-course-thankyou-active .woocommerce-order-details tfoot td{
    width:auto!important;
    padding:0!important;
    border:0!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot th{
    text-align:right!important;
    font-size:11px!important;
    color:#806f79!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot td{
    text-align:left!important;
    font-size:11px!important;
    color:#31292e!important;
    overflow-wrap:anywhere!important;
  }

  /* Billing/contact = one clean card */
  body.mcc-course-thankyou-active .woocommerce-customer-details{
    padding:13px!important;
    border:1px solid rgba(231,60,127,.12)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 7px 22px rgba(89,45,65,.045)!important;
  }

  body.mcc-course-thankyou-active .woocommerce-customer-details h2,
  body.mcc-course-thankyou-active .woocommerce-column__title{
    margin:0 0 10px!important;
    font-size:15px!important;
    line-height:1.6!important;
  }

  body.mcc-course-thankyou-active .woocommerce-customer-details address{
    width:100%!important;
    margin:0!important;
    padding:10px!important;
    border:1px solid #f1e3e9!important;
    border-radius:12px!important;
    background:#fffafb!important;
    font-size:11px!important;
    line-height:1.9!important;
  }

  body.mcc-course-thankyou-active .woocommerce-customer-details--phone,
  body.mcc-course-thankyou-active .woocommerce-customer-details--email{
    display:block!important;
    width:100%!important;
    margin:7px 0 0!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    background:#fff5f9!important;
    font-size:10.5px!important;
    direction:ltr!important;
    text-align:left!important;
  }

  /* Custom course hero remains compact */
  body.mcc-course-thankyou-active .mcc-course-success-head{
    padding:15px 12px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head h2{
    font-size:21px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-success-head p{
    font-size:10.5px!important;
  }

  body.mcc-course-thankyou-active .mcc-course-grid{
    grid-template-columns:1fr!important;
  }

  body.mcc-course-thankyou-active .mcc-course-actions{
    grid-template-columns:1fr!important;
  }
}

/* ---------------------------------------------------------
   Very small phones
   --------------------------------------------------------- */
@media (max-width:390px){
  body.mcc-course-thankyou-active .mcc-course-success,
  body.mcc-course-thankyou-active .woocommerce-order-details,
  body.mcc-course-thankyou-active .woocommerce-customer-details{
    width:calc(100% - 12px)!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tbody tr,
  body.mcc-course-thankyou-active .woocommerce-order-details tfoot,
  body.mcc-course-thankyou-active .woocommerce-customer-details{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot tr{
    gap:7px!important;
  }

  body.mcc-course-thankyou-active .woocommerce-order-details tfoot th,
  body.mcc-course-thankyou-active .woocommerce-order-details tfoot td{
    font-size:10px!important;
  }
}


/* =========================================================
   v3.9.3 — FULL PAGE LANGUAGE DIRECTION
   Header + Footer + WooCommerce + Funnel follow active WPML language.
   ========================================================= */

body.mcc-language-page.mcc-dir-rtl,
body.mcc-language-page.mcc-dir-rtl #page,
body.mcc-language-page.mcc-dir-rtl .website-wrapper,
body.mcc-language-page.mcc-dir-rtl .main-page-wrapper,
body.mcc-language-page.mcc-dir-rtl .site-content,
body.mcc-language-page.mcc-dir-rtl .site-header,
body.mcc-language-page.mcc-dir-rtl .whb-header,
body.mcc-language-page.mcc-dir-rtl .main-header,
body.mcc-language-page.mcc-dir-rtl .site-footer,
body.mcc-language-page.mcc-dir-rtl .footer-container,
body.mcc-language-page.mcc-dir-rtl .woocommerce{
  direction:rtl!important;
}

body.mcc-language-page.mcc-dir-ltr,
body.mcc-language-page.mcc-dir-ltr #page,
body.mcc-language-page.mcc-dir-ltr .website-wrapper,
body.mcc-language-page.mcc-dir-ltr .main-page-wrapper,
body.mcc-language-page.mcc-dir-ltr .site-content,
body.mcc-language-page.mcc-dir-ltr .site-header,
body.mcc-language-page.mcc-dir-ltr .whb-header,
body.mcc-language-page.mcc-dir-ltr .main-header,
body.mcc-language-page.mcc-dir-ltr .site-footer,
body.mcc-language-page.mcc-dir-ltr .footer-container,
body.mcc-language-page.mcc-dir-ltr .woocommerce{
  direction:ltr!important;
}

/* WooCommerce's own checkout/order blocks follow language too. */
body.mcc-language-page.mcc-dir-rtl .woocommerce-order,
body.mcc-language-page.mcc-dir-rtl .woocommerce-order-details,
body.mcc-language-page.mcc-dir-rtl .woocommerce-customer-details,
body.mcc-language-page.mcc-dir-rtl .woocommerce-table{
  direction:rtl!important;
  text-align:right!important;
}

body.mcc-language-page.mcc-dir-ltr .woocommerce-order,
body.mcc-language-page.mcc-dir-ltr .woocommerce-order-details,
body.mcc-language-page.mcc-dir-ltr .woocommerce-customer-details,
body.mcc-language-page.mcc-dir-ltr .woocommerce-table{
  direction:ltr!important;
  text-align:left!important;
}

/* WoodMart navigation/header groups must follow active language. */
body.mcc-language-page.mcc-dir-rtl .whb-flex-row,
body.mcc-language-page.mcc-dir-rtl .wd-header-nav,
body.mcc-language-page.mcc-dir-rtl .wd-nav,
body.mcc-language-page.mcc-dir-rtl .wd-dropdown,
body.mcc-language-page.mcc-dir-rtl .wd-tools-element,
body.mcc-language-page.mcc-dir-rtl .footer-container{
  direction:rtl!important;
}

body.mcc-language-page.mcc-dir-ltr .whb-flex-row,
body.mcc-language-page.mcc-dir-ltr .wd-header-nav,
body.mcc-language-page.mcc-dir-ltr .wd-nav,
body.mcc-language-page.mcc-dir-ltr .wd-dropdown,
body.mcc-language-page.mcc-dir-ltr .wd-tools-element,
body.mcc-language-page.mcc-dir-ltr .footer-container{
  direction:ltr!important;
}

/* Keep phone/email/code data readable in both languages. */
body.mcc-language-page input[type="tel"],
body.mcc-language-page input[type="email"],
body.mcc-language-page #mcc-phone,
body.mcc-language-page #mcc-payment-phone,
body.mcc-language-page #mcc-email,
body.mcc-language-page #mcc-payment-email,
body.mcc-language-page #mcc-coupon-code,
body.mcc-language-page .mcc-otp-digit,
body.mcc-language-page .mcc-otp-slots{
  direction:ltr!important;
}

/* Persian text inputs remain RTL; English text inputs stay LTR. */
body.mcc-language-page.mcc-dir-rtl .mcc-wrap input[type="text"]:not(#mcc-coupon-code):not(.mcc-otp-digit){
  direction:rtl!important;
  text-align:right!important;
}

body.mcc-language-page.mcc-dir-ltr .mcc-wrap input[type="text"]:not(#mcc-coupon-code):not(.mcc-otp-digit){
  direction:ltr!important;
  text-align:left!important;
}


/* v3.9.5 — OTP digits must stay optically centered even though numeric data fields are LTR. */
.mcc-wrap .mcc-otp-digit,
.mcc-wrap[dir="rtl"] .mcc-otp-digit,
.mcc-wrap[dir="ltr"] .mcc-otp-digit{
  direction:ltr!important;
  text-align:center!important;
  padding-left:0!important;
  padding-right:0!important;
  text-indent:0!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums;
}

/* Signed-in users with incomplete names see only a compact profile-completion gate. */
.mcc-profile-only-card .mcc-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.mcc-profile-only-card .mcc-actions{
  margin-top:20px;
}
@media (max-width:640px){
  .mcc-profile-only-card .mcc-grid{grid-template-columns:1fr;}
}

.mcc-account-profile-complete{display:none!important;}
