/* ==========================================================================
   PREMIUM CANVA PRO CHECKOUT MODAL SYSTEM
   Stripe / Apple / Linear Caliber 2-Column Desktop + Responsive Mobile
   ========================================================================== */

/* Backdrop overlay with blur and ambient glows */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 45, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  z-index: 500;
  padding: 24px 16px;
  overflow-y: auto;
  animation: ckFadeIn .22s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop[hidden] {
  display: none !important;
}
@keyframes ckFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Ambient Background Light Flares */
.modal-backdrop::before,
.modal-backdrop::after {
  content: '';
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.55;
}
.modal-backdrop::before {
  top: 8%;
  left: 4%;
  background: radial-gradient(circle, rgba(0, 196, 204, 0.28) 0%, transparent 70%);
}
.modal-backdrop::after {
  bottom: 8%;
  right: 4%;
  background: radial-gradient(circle, rgba(125, 42, 232, 0.28) 0%, transparent 70%);
}

/* Centered Desktop Modal Container */
.modal-checkout-container {
  display: block;
  background: #ffffff;
  border-radius: 26px;
  max-width: 1140px;
  width: 100%;
  max-height: min(96vh, 860px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 35px 90px -20px rgba(17, 24, 45, 0.28), 0 0 0 1px rgba(229, 231, 240, 0.85);
  position: relative;
  will-change: transform, opacity;
  animation: ckModalSlide .26s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-checkout-container::-webkit-scrollbar {
  width: 6px;
}
.modal-checkout-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

@keyframes ckModalSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   TOP HEADER BAR
   ========================================================================== */
.ck-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 28px 11px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #EEF1F6;
  overflow: hidden;
}

/* Brand Wordmark */
.ck-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  user-select: none;
}
.ck-brand-script {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #7D2AE8;
  line-height: 1;
  letter-spacing: -0.01em;
}
.ck-brand-badge {
  font-size: 1rem;
  font-weight: 800;
  color: #7D2AE8;
  letter-spacing: -0.02em;
}

/* Stepper Progress Indicator */
.ck-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.ck-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .15s ease;
}
.ck-step-done {
  color: #7D2AE8;
}
.ck-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F5EEFF;
  color: #7D2AE8;
  display: grid;
  place-items: center;
}
.ck-step-arrow {
  color: #CBD5E1;
  font-size: 0.86rem;
  user-select: none;
}
.ck-step-active {
  color: #7D2AE8;
}
.ck-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7D2AE8;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 800;
}
.ck-step-future {
  color: #94A3B8;
}
.ck-step-future .ck-step-num {
  background: #F1F5F9;
  color: #94A3B8;
}

/* Header Right Actions */
.ck-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ck-security-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #17233D;
}
.ck-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: 1.5px solid #E5E7F0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #17233D;
  background: #ffffff;
  cursor: pointer;
  transition: all .15s ease;
}
.ck-lang-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}
.ck-close-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1.5px solid #E5E7F0 !important;
  background: #ffffff !important;
  color: #64748B !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer;
  padding: 0 !important;
  position: static !important;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ck-close-btn:hover {
  background: #F8FAFC !important;
  color: #11182D !important;
  border-color: #CBD5E1 !important;
  transform: rotate(90deg);
}

/* ==========================================================================
   TWO-COLUMN MAIN BODY
   ========================================================================== */
.ck-body {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 22px;
  padding: 18px 28px 22px;
  background: #FAF9FC;
}

/* LEFT COLUMN: Order Summary & Trust */
.ck-col-left {
  display: flex;
  flex-direction: column;
}
.ck-heading-group {
  margin-bottom: 12px;
}
.ck-title {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  color: #11182D !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin: 0 0 6px 0 !important;
  font-family: 'Plus Jakarta Sans', var(--font-display), sans-serif !important;
}
.ck-subtitle {
  font-size: 0.83rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

/* Order Summary Card */
.ck-summary-card {
  background: #ffffff;
  border: 1.5px solid #E5E7F0;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 4px 18px rgba(17, 24, 45, 0.03);
}
.ck-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ck-summary-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: #F5EEFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(125, 42, 232, 0.12);
}
.ck-summary-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ck-summary-title {
  font-size: 1rem;
  font-weight: 800;
  color: #11182D;
  letter-spacing: -0.01em;
}
.ck-ssl-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #BBF7D0;
}

/* Product Item Row */
.ck-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 10px;
  border-bottom: 1px solid #F1F5F9;
}
.ck-product-thumb {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #00C4CC 0%, #7D2AE8 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(125, 42, 232, 0.28);
  flex-shrink: 0;
}
.ck-thumb-logo {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.ck-product-meta {
  flex: 1;
  min-width: 0;
}
.ck-product-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ck-product-name {
  font-size: 1rem;
  font-weight: 800;
  color: #11182D;
  letter-spacing: -0.01em;
}
.ck-discount-tag {
  background: #F5EEFF;
  color: #7D2AE8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 999px;
  border: 1px solid #E9D5FF;
}
.ck-product-desc {
  font-size: 0.78rem;
  color: #64748B;
  margin: 3px 0 0;
  line-height: 1.35;
}
.ck-product-pricing {
  text-align: right;
  flex-shrink: 0;
}
.ck-price-current {
  font-size: 1.1rem;
  font-weight: 800;
  color: #11182D;
  font-family: 'Plus Jakarta Sans', var(--font-display), sans-serif;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.1;
}
.ck-price-original {
  font-size: 0.82rem;
  color: #94A3B8;
  text-decoration: line-through;
  display: block;
  margin-top: 2px;
}

/* Breakdown */
.ck-breakdown {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ck-b-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.ck-b-label {
  color: #64748B;
  font-weight: 600;
}
.ck-b-val {
  color: #11182D;
  font-weight: 700;
}
.ck-green-val {
  color: #16A34A;
  font-weight: 700;
  font-size: 0.85rem;
}
.ck-divider {
  height: 1px;
  background: #E5E7F0;
  margin: 6px 0;
}
.ck-b-total {
  padding-top: 2px;
}
.ck-total-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #11182D;
  letter-spacing: -0.01em;
}
.ck-total-val-box {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.ck-currency {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748B;
}
.ck-total-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #11182D;
  font-family: 'Plus Jakarta Sans', var(--font-display), sans-serif;
  letter-spacing: -0.025em;
}

/* 4 Trust Benefits Grid */
.ck-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.ck-trust-item {
  background: #ffffff;
  border: 1px solid #E5E7F0;
  border-radius: 11px;
  padding: 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  box-shadow: 0 1px 4px rgba(17, 24, 45, 0.02);
}
.ck-trust-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #F5EEFF;
  display: grid;
  place-items: center;
  color: #7D2AE8;
}
.ck-trust-texts {
  display: flex;
  flex-direction: column;
}
.ck-trust-texts strong {
  font-size: 0.77rem;
  font-weight: 800;
  color: #11182D;
  line-height: 1.25;
}
.ck-trust-texts span {
  font-size: 0.69rem;
  color: #64748B;
  line-height: 1.25;
  margin-top: 2px;
}

/* Handwritten Brand Signature */
.ck-signature-row {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.ck-signature-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #7D2AE8;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RIGHT COLUMN: Elevated Payment Card
   ========================================================================== */
.ck-col-right {
  display: flex;
  flex-direction: column;
}
.ck-form-card {
  background: #ffffff;
  border: 1.5px solid #E5E7F0;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(17, 24, 45, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Form Fields */
.ck-field-block {
  margin-bottom: 2px;
}
.ck-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.ck-field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #11182D;
  margin: 0;
}
.ck-label-badge {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}
.ck-secure-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #16A34A;
}

/* Email Input with Icon & Zero Collision */
.ck-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.ck-input-ic {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: color .18s ease;
}
.ck-input-wrap:focus-within .ck-input-ic {
  color: #7D2AE8;
}
.ck-email-input,
input.ck-email-input.form-input {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 11px !important;
  padding: 0 14px 0 44px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  color: #11182D !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ck-email-input::placeholder {
  color: #94A3B8 !important;
  font-weight: 400;
}
.ck-email-input:hover,
input.ck-email-input.form-input:hover {
  border-color: #94A3B8 !important;
}
.ck-email-input:focus,
input.ck-email-input.form-input:focus {
  outline: none !important;
  border-color: #7D2AE8 !important;
  box-shadow: 0 0 0 4px rgba(125, 42, 232, 0.12), 0 2px 10px rgba(125, 42, 232, 0.08) !important;
}
.ck-input-help {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.77rem;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.35;
}
.ck-input-help svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Payment Selector Stack */
.ck-pay-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.ck-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1.5px solid #E5E7F0;
  border-radius: 11px;
  background: #ffffff;
  cursor: pointer;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  overflow: hidden;
}
.ck-pay-row:hover {
  border-color: #CBD5E1;
  background: #FAF9FC;
}
.ck-pay-row.selected {
  border-color: #7D2AE8 !important;
  background: #FAF5FF !important;
  box-shadow: 0 0 0 3px rgba(125, 42, 232, 0.08);
}
.ck-pay-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.ck-pay-left input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ck-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck-pay-row.selected .ck-radio-circle {
  border-color: #7D2AE8;
  background: #7D2AE8;
  box-shadow: inset 0 0 0 4px #ffffff;
}
.ck-pay-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #11182D;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ck-pay-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  overflow: hidden;
}
.ck-card-brands {
  height: 26px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.ck-wallet-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}
.ck-pay-note {
  font-size: 0.77rem;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.35;
}

/* PayPal Box */
.ck-paypal-box {
  margin-top: 10px;
  padding: 14px;
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 14px;
}
.ck-paypal-box[hidden] {
  display: none;
}

/* Actions & CTA Submit Button */
.ck-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}
.ck-submit-btn {
  width: 100%;
  min-height: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7D2AE8 0%, #00C4CC 100%);
  color: #ffffff;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 28px -4px rgba(125, 42, 232, 0.42);
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(125, 42, 232, 0.52);
  filter: brightness(1.03);
}
.ck-submit-btn:active {
  transform: translateY(0) scale(0.99);
}
.ck-btn-lock {
  display: inline-flex;
  align-items: center;
}
.ck-btn-arrow {
  font-size: 1.15rem;
  transition: transform .2s ease;
}
.ck-submit-btn:hover .ck-btn-arrow {
  transform: translateX(4px);
}
.ck-cancel-link {
  background: none;
  border: none;
  color: #64748B;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  text-align: center;
  transition: color .15s ease;
}
.ck-cancel-link:hover {
  color: #11182D;
  text-decoration: underline;
}

/* Status feedback & alerts */
.modal-checkout-container .modal-status {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 11px;
  padding: 9px 13px;
  margin: 6px 0 10px;
  animation: ckStatusFade .2s ease;
}
.modal-checkout-container .modal-status:not(:empty) {
  display: block;
}
@keyframes ckStatusFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-checkout-container .modal-status.warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}
.modal-checkout-container .modal-status.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}
.modal-checkout-container .modal-status.success,
.modal-checkout-container .modal-status.ok {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A;
}

/* PayPal Button Container */
.ck-paypal-box {
  margin: 10px 0 6px;
  min-height: 48px;
}

/* Bottom Card Footer Guarantee Panel */
.ck-card-footer {
  margin-top: 8px;
  padding: 9px 14px;
  background: #FAF9FC;
  border: 1px solid #EEF1F6;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ck-footer-perks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ck-perk-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.77rem;
  font-weight: 700;
  color: #334155;
}
.ck-perk-row svg {
  flex-shrink: 0;
}
.ck-footer-watermark {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.15rem;
  color: #9B5CFF;
  transform: rotate(-3deg);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVE DESIGN — Tablet (< 960px)
   ========================================================================== */
@media (max-width: 960px) {
  .modal-backdrop {
    padding: 16px 10px;
  }
  .modal-checkout-container {
    max-height: 94vh;
    border-radius: 20px;
  }
  .ck-header {
    padding: 14px 20px 12px;
  }
  .ck-stepper {
    gap: 8px;
    font-size: 0.82rem;
  }
  .ck-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 20px 24px;
  }
  .ck-title {
    font-size: 1.75rem !important;
  }
  .ck-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN — Mobile (< 640px)
   Ultra-Premium Bottom Sheet Drawer with Native App Feel
   ========================================================================== */
@media (max-width: 640px) {

  /* --- Backdrop: Mobile Sheet Base --- */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* --- Container: Bottom-Sheet Drawer --- */
  .modal-checkout-container {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    animation: ckDrawerSlide .28s cubic-bezier(0.16, 1, 0.3, 1);
    background: #FAF9FC;
    overflow-x: hidden;
  }
  @keyframes ckDrawerSlide {
    from { transform: translateY(100%); opacity: 0.9; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* --- Pull Handle Bar --- */
  .modal-checkout-container::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 99px;
    background: #CBD5E1;
    margin: 8px auto 2px;
    flex-shrink: 0;
  }

  /* ========================
     HEADER (Mobile)
     ======================== */
  .ck-header {
    padding: 8px 14px 10px;
    gap: 8px;
    flex-wrap: nowrap;
    min-height: auto;
    border-bottom: 1px solid #EEF1F6;
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  /* Brand */
  .ck-brand-script {
    font-size: 1.35rem;
  }
  .ck-brand-badge {
    font-size: 0.82rem;
  }

  /* Stepper */
  .ck-stepper {
    gap: 6px;
    font-size: 0.75rem;
    flex: 1;
    justify-content: center;
    overflow: hidden;
  }
  .ck-step-done .ck-step-label,
  .ck-step-future,
  .ck-stepper .ck-step-arrow {
    display: none !important;
  }
  .ck-step-icon {
    width: 18px;
    height: 18px;
  }
  .ck-step-num {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }
  .ck-step-active .ck-step-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
  }

  /* Header Actions */
  .ck-security-tag,
  .ck-lang-pill {
    display: none !important;
  }
  .ck-header-actions {
    gap: 0;
  }
  .ck-close-btn {
    width: 32px !important;
    height: 32px !important;
    background: #F1F5F9 !important;
    border: none !important;
  }

  /* ========================
     BODY LAYOUT
     ======================== */
  .ck-body {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 28px;
    gap: 10px;
    background: #FAF9FC;
  }

  /* ========================
     LEFT COLUMN (Summary & Trust)
     ======================== */
  .ck-heading-group {
    margin-bottom: 6px;
    padding: 0 2px;
  }
  .ck-title {
    font-size: 1.25rem !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.2 !important;
  }
  .ck-subtitle {
    font-size: 0.76rem;
    color: #64748B;
    line-height: 1.3;
  }

  /* Summary Card */
  .ck-summary-card {
    padding: 12px 12px 10px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(17, 24, 45, 0.03);
  }
  .ck-summary-header {
    padding-bottom: 8px;
    margin-bottom: 10px;
    gap: 8px;
  }
  .ck-summary-icon {
    width: 28px;
    height: 28px;
  }
  .ck-summary-icon svg {
    width: 15px;
    height: 15px;
  }
  .ck-summary-title {
    font-size: 0.82rem;
  }
  .ck-ssl-pill {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .ck-ssl-pill svg {
    width: 9px;
    height: 9px;
  }

  /* Product Item Row */
  .ck-product-item {
    padding: 6px 0 8px;
    gap: 10px;
    border-bottom: 1px solid #F1F5F9;
  }
  .ck-product-thumb {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .ck-thumb-logo {
    font-size: 0.95rem;
  }
  .ck-product-name {
    font-size: 0.92rem;
  }
  .ck-discount-tag {
    font-size: 0.66rem;
    padding: 1.5px 6px;
  }
  .ck-product-desc {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ck-price-current {
    font-size: 1.05rem;
  }
  .ck-price-original {
    font-size: 0.75rem;
  }

  /* Breakdown */
  .ck-breakdown {
    padding-top: 6px;
    gap: 3px;
  }
  .ck-b-row {
    font-size: 0.8rem;
  }
  .ck-green-val {
    font-size: 0.76rem;
  }
  .ck-divider {
    margin: 4px 0;
  }
  .ck-total-label {
    font-size: 0.92rem;
  }
  .ck-total-val {
    font-size: 1.2rem;
  }

  /* Trust Grid (Compact 2x2 with clean badge layout) */
  .ck-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 6px;
  }
  .ck-trust-item {
    padding: 6px 8px;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #EEF2F6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  }
  .ck-trust-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .ck-trust-icon svg {
    width: 14px;
    height: 14px;
  }
  .ck-trust-texts strong {
    font-size: 0.72rem;
    line-height: 1.2;
    color: #1E293B;
  }
  .ck-trust-texts span {
    display: none; /* Hide secondary line on mobile for clean, modern look */
  }

  /* Signature: hide on mobile to save vertical space */
  .ck-signature-row {
    display: none !important;
  }

  /* ========================
     RIGHT COLUMN: Form Card (Elevated)
     ======================== */
  .ck-form-card {
    padding: 14px 12px;
    gap: 12px;
    border-radius: 15px;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(17, 24, 45, 0.04);
    background: #FFFFFF;
  }

  /* Field header */
  .ck-field-header {
    margin-bottom: 5px;
  }
  .ck-field-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
  }
  .ck-label-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .ck-secure-label {
    font-size: 0.68rem;
  }

  /* Gmail input */
  .ck-email-input,
  input.ck-email-input.form-input {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 0.9rem !important;
    border-radius: 11px !important;
    border: 1.5px solid #CBD5E1 !important;
    padding-left: 42px !important;
    background: #FAFAFC !important;
  }
  .ck-email-input:focus,
  input.ck-email-input.form-input:focus {
    background: #FFFFFF !important;
    border-color: #7D2AE8 !important;
    box-shadow: 0 0 0 3px rgba(125, 42, 232, 0.12) !important;
  }
  .ck-input-ic {
    left: 12px;
  }
  .ck-input-help {
    font-size: 0.7rem;
    line-height: 1.35;
    margin-top: 5px;
    gap: 5px;
    color: #64748B;
  }
  .ck-input-help svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  /* Payment Method Rows */
  .ck-pay-stack {
    gap: 6px;
  }
  .ck-pay-row {
    padding: 9px 12px;
    gap: 8px;
    border-radius: 11px;
    border-width: 1.5px;
    min-height: 46px;
  }
  .ck-pay-left {
    gap: 9px;
  }
  .ck-pay-name {
    font-size: 0.85rem;
    font-weight: 700;
  }
  .ck-pay-badges {
    gap: 4px;
    flex-shrink: 0;
  }
  .ck-card-brands {
    height: 19px;
    max-width: 95px;
    width: 95px;
    object-fit: contain;
  }
  .ck-pay-badges svg {
    max-height: 18px;
    width: auto;
  }
  .ck-pay-note {
    font-size: 0.68rem;
    margin-top: 4px;
    color: #64748B;
  }

  /* CTA Submit Button */
  .ck-submit-btn {
    min-height: 50px;
    height: 50px;
    font-size: 0.94rem;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(125, 42, 232, 0.32);
    letter-spacing: -0.01em;
  }
  .ck-btn-lock svg {
    width: 16px;
    height: 16px;
  }

  /* Cancel Link */
  .ck-cancel-link {
    font-size: 0.78rem;
    padding: 6px;
    color: #94A3B8;
  }

  /* Card Footer (Clean Reassurance Box) */
  .ck-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #EEF2F6;
  }
  .ck-perk-row {
    font-size: 0.72rem;
    gap: 6px;
    color: #475569;
    font-weight: 600;
  }
  .ck-perk-row svg {
    width: 13px;
    height: 13px;
  }
  .ck-footer-watermark {
    display: none !important;
  }
}

/* ==========================================================================
   Ultra-Compact Screen Optimization (< 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .ck-header {
    padding: 6px 10px 8px;
  }
  .ck-brand-script {
    font-size: 1.25rem;
  }
  .ck-body {
    padding: 10px 8px 24px;
    gap: 8px;
  }
  .ck-form-card {
    padding: 12px 10px;
  }
  .ck-pay-row {
    padding: 8px 10px;
  }
  .ck-card-brands {
    max-width: 80px;
    width: 80px;
  }
  .ck-trust-texts strong {
    font-size: 0.68rem;
  }
}

