/* AUTHENTINO v5.2.5 — professional timed status journey + Safari layout fix */

.payment-success-panel[hidden]{display:none}
body.checkout-success .payment-premium-intro,
body.checkout-success .checkout-grid-premium{display:none}
.payment-success-panel{
  max-width:960px;
  margin:0 auto;
  padding:clamp(28px,5vw,68px);
  border:1px solid rgba(23,23,19,.12);
  border-radius:32px;
  background:
    radial-gradient(circle at 50% 0,rgba(199,169,108,.13),transparent 34%),
    rgba(248,244,236,.9);
  box-shadow:0 30px 90px rgba(54,44,31,.12);
  text-align:center;
  overflow:hidden;
}
.payment-processing{
  min-height:580px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:opacity .4s ease,transform .4s ease;
}
.payment-processing.is-leaving{
  opacity:0;
  transform:translateY(-12px);
}
.processing-label{
  color:#8b795b;
  font-size:10px;
  letter-spacing:.22em;
}
.processing-ring{
  --payment-progress:0;
  width:178px;
  height:178px;
  margin:32px auto 28px;
  padding:9px;
  border-radius:50%;
  background:conic-gradient(#171713 calc(var(--payment-progress)*1%),#ddd5c8 0);
  box-shadow:0 18px 55px rgba(39,33,24,.13);
  transition:background .15s linear;
}
.processing-ring::before{
  content:"";
  position:absolute;
}
.processing-ring>div{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#f6f1e8;
}
.processing-ring strong{
  font:400 58px/1 Georgia,'Times New Roman',serif;
  letter-spacing:-.06em;
}
.processing-ring small{margin:22px 0 0 5px;color:#8f8577;font-size:13px}
.payment-processing h1{
  margin:0 0 12px;
  font:400 clamp(36px,5vw,58px)/1 Georgia,'Times New Roman',serif;
  letter-spacing:-.04em;
}
.payment-processing>p{
  max-width:570px;
  min-height:26px;
  margin:0;
  color:#756e64;
  font-size:14px;
  line-height:1.6;
}
.processing-track{
  width:min(520px,100%);
  height:4px;
  margin:32px auto 25px;
  overflow:hidden;
  border-radius:99px;
  background:#ddd6ca;
}
.processing-track i{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#171713,#b9985d);
  transition:width .15s linear;
}
.processing-steps{
  width:min(650px,100%);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.processing-steps span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  color:#aaa195;
  font-size:9px;
  letter-spacing:.04em;
}
.processing-steps i{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:#cfc7ba;
}
.processing-steps b{overflow-wrap:anywhere}
.processing-steps span.is-active{color:#171713}
.processing-steps span.is-active i{background:#b28f51;box-shadow:0 0 0 5px rgba(178,143,81,.13)}
.processing-steps span.is-done{color:#566b4d}
.processing-steps span.is-done i{background:#607453}
.payment-processing[hidden],
.payment-confirmed[hidden]{display:none!important}
.payment-confirmed.is-visible{animation:confirmedIn .65s cubic-bezier(.2,.8,.2,1) both}
@keyframes confirmedIn{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:none}
}
.payment-success-icon{
  width:72px;
  height:72px;
  margin:0 auto 26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#f8f2e7;
  background:#607453;
  font-size:34px;
  box-shadow:0 14px 38px rgba(73,94,62,.2);
}
.payment-success-panel .page-kicker{justify-content:center}
.payment-success-panel h1{
  margin:22px 0 14px;
  font:400 clamp(42px,6vw,70px)/.98 Georgia,'Times New Roman',serif;
  letter-spacing:-.045em;
}
.payment-success-lead{
  max-width:650px;
  margin:0 auto;
  color:#6f685e;
  font-size:17px;
  line-height:1.65;
}
.payment-success-details{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:38px 0 22px;
  border:1px solid rgba(23,23,19,.12);
  border-radius:20px;
  overflow:hidden;
  text-align:left;
}
.payment-success-details>div{
  min-width:0;
  padding:20px;
  border-right:1px solid rgba(23,23,19,.1);
}
.payment-success-details>div:last-child{border-right:0}
.payment-success-details span,
.payment-success-details strong{display:block;overflow-wrap:anywhere}
.payment-success-details span{
  margin-bottom:8px;
  color:#8a8277;
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.payment-success-details strong{font-size:14px}
.payment-status-paid{color:#526b47}
.payment-success-next{
  padding:30px;
  border-radius:20px;
  background:#171713;
  color:#f2ece2;
  text-align:left;
}
.next-heading{
  display:grid;
  grid-template-columns:170px 1fr;
  align-items:end;
  gap:20px;
  padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.payment-success-next small{color:#c3a56d;letter-spacing:.14em}
.payment-success-next h2{
  margin:0;
  font:400 31px/1.12 Georgia,'Times New Roman',serif;
}
.result-estimate{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:22px;
  padding:20px;
  border:1px solid rgba(195,165,109,.3);
  border-radius:15px;
  background:rgba(195,165,109,.08);
}
.result-estimate div{text-align:left}
.result-estimate span{
  display:block;
  color:#aaa195;
  font-size:8px;
  letter-spacing:.13em;
}
.result-estimate strong{
  display:block;
  margin-top:7px;
  color:#f3e7d0;
  font:400 27px/1 Georgia,'Times New Roman',serif;
}
.result-estimate p{
  max-width:310px;
  text-align:right;
  font-size:9px;
}
.payment-success-next ol{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin:0;
  padding:25px 0 0;
  list-style:none;
}
.payment-success-next li{
  min-width:0;
  display:grid;
  grid-template-columns:38px 1fr;
  gap:15px;
  padding:17px 0;
  border-bottom:1px solid rgba(255,255,255,.11);
  opacity:.56;
}
.payment-success-next li:first-child{padding-top:0}
.payment-success-next li:last-child{padding-bottom:0;border-bottom:0}
.payment-success-next li>span{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(195,165,109,.55);
  border-radius:50%;
  color:#c3a56d;
  font-size:8px;
}
.payment-success-next li.is-complete,
.payment-success-next li.is-current{opacity:1}
.payment-success-next li.is-complete>span{
  border-color:#6d845f;
  background:#607453;
  color:#fff;
}
.payment-success-next li.is-complete>span::after{content:"✓";font-size:12px}
.payment-success-next li.is-complete>span{font-size:0}
.payment-success-next li.is-current>span{
  border-color:#c3a56d;
  box-shadow:0 0 0 6px rgba(195,165,109,.1);
}
.timeline-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.payment-success-next strong{display:block;font-size:12px}
.timeline-title em{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:5px 8px;
  color:#a9a195;
  font-size:7px;
  font-style:normal;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.is-complete .timeline-title em{border-color:#607453;color:#9cba8e}
.is-current .timeline-title em{
  border-color:#b9975b;
  color:#d0b276;
  background:rgba(185,151,91,.08);
}
.payment-success-next p{
  margin:0;
  color:#bdb6aa;
  font-size:10px;
  line-height:1.55;
}
.payment-success-next li p{margin-top:6px}
.payment-success-next li small{
  display:block;
  margin-top:7px;
  color:#c3a56d;
  font-size:8px;
  letter-spacing:.05em;
}
.result-email-note{
  margin-top:24px!important;
  padding:17px 19px;
  border-radius:13px;
  background:rgba(255,255,255,.06);
  color:#d0c8bc!important;
  text-align:left;
}
.payment-success-reference{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin-top:18px;
  padding:16px 20px;
  border:1px solid rgba(23,23,19,.11);
  border-radius:14px;
  color:#756e64;
  text-align:left;
  font-size:10px;
}
.payment-success-reference strong{
  color:#171713;
  font-size:11px;
  letter-spacing:.05em;
}
.payment-success-home{margin-top:25px}

@media(max-width:760px){
  html,body,#app,.view{max-width:100%;overflow-x:hidden}
  .auth-v2-page,.auth-v2-layout,.auth-v2-main,.wizard-panel,
  .category-grid-v2,.product-type-grid,.brand-catalog,.guided-capture,
  .upload-zone,.upload-errors,.checkout-page,.checkout-grid,
  .payment-card,.order-card{width:100%;max-width:100%;min-width:0}
  .category-grid-v2,.product-type-grid,.brand-catalog,.guided-capture{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .premium-category-card,.product-chip,.brand-wordmark,.capture-step,
  .wizard-panel>header,.wizard-panel>header>div,.upload-zone>*,
  .upload-alert-content,.payment-method-card>*{min-width:0}
  .premium-category-card,.capture-step{overflow:hidden}
  .category-copy strong,.category-copy small,.capture-step strong,
  .capture-step small,.wizard-panel h2,.wizard-panel p,
  .upload-zone strong,.upload-zone small,.upload-alert-content strong,
  .upload-alert-content p,.payment-method-card strong,
  .payment-method-card small{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .upload-zone{padding-left:16px;padding-right:16px;text-align:center}
  .upload-zone #sequentialUploadTitle,
  .upload-zone #sequentialUploadHint{width:100%;max-width:100%}
  .payment-success-panel{padding:28px 18px;border-radius:24px}
  .payment-processing{min-height:520px}
  .processing-ring{width:150px;height:150px}
  .processing-ring strong{font-size:49px}
  .processing-steps{grid-template-columns:1fr;text-align:left;gap:15px}
  .processing-steps span{justify-content:flex-start}
  .payment-success-details{grid-template-columns:1fr;margin-top:30px}
  .payment-success-details>div{border-right:0;border-bottom:1px solid rgba(23,23,19,.1)}
  .payment-success-details>div:last-child{border-bottom:0}
  .next-heading{grid-template-columns:1fr;gap:12px}
  .result-estimate{align-items:flex-start;flex-direction:column}
  .result-estimate p{max-width:none;text-align:left}
  .payment-success-next ol{grid-template-columns:1fr;gap:0}
  .payment-success-next li{
    padding:17px 0;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .payment-success-next li:first-child{padding-top:0}
  .payment-success-next li:last-child{padding-bottom:0;border-bottom:0}
  .payment-success-reference{align-items:flex-start;flex-direction:column}
  .timeline-title{align-items:flex-start;flex-direction:column;gap:7px}
}

@media(max-width:560px){
  .category-grid-v2,.product-type-grid,.brand-catalog,.guided-capture{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .premium-category-card{min-height:152px}
  .payment-success-panel h1{font-size:42px}
  .payment-success-lead{font-size:15px}
}

/* AUTHENTINO v5.2.8 — readable payment status journey */
.payment-success-next{
  padding:clamp(32px,4.5vw,48px);
}
.payment-success-next .next-heading small{
  font-size:13px;
  line-height:1.45;
}
.payment-success-next h2{
  font-size:clamp(36px,4vw,46px);
  line-height:1.1;
}
.payment-success-next .result-estimate span{
  font-size:11px;
  line-height:1.4;
}
.payment-success-next .result-estimate strong{
  margin-top:9px;
  font:400 25px/1.15 Georgia,'Times New Roman',serif;
}
.payment-success-next .result-estimate p{
  font-size:13px;
  line-height:1.55;
}
.payment-success-next li{
  grid-template-columns:48px minmax(0,1fr);
  gap:19px;
  padding:22px 0;
  opacity:.72;
}
.payment-success-next li>span{
  width:44px;
  height:44px;
  font-size:11px;
}
.payment-success-next li.is-complete>span::after{
  font-size:17px;
}
.payment-success-next strong{
  font-size:16px;
  line-height:1.4;
}
.payment-success-next .timeline-title em{
  padding:7px 11px;
  font-size:10px;
  line-height:1.2;
}
.payment-success-next li p{
  margin-top:8px;
  font-size:14px;
  line-height:1.55;
}
.payment-success-next li small{
  margin-top:9px;
  font-size:11px;
  line-height:1.4;
}
.payment-success-next .result-email-note{
  font-size:14px;
  line-height:1.6;
}

@media(max-width:760px){
  .payment-success-next{
    padding:28px 20px;
  }
  .payment-success-next h2{
    font-size:34px;
  }
  .payment-success-next .next-heading small{
    font-size:12px;
  }
  .payment-success-next .result-estimate{
    padding:18px;
  }
  .payment-success-next .result-estimate strong{
    font-size:24px;
  }
  .payment-success-next .result-estimate p{
    font-size:14px;
  }
  .payment-success-next li{
    grid-template-columns:46px minmax(0,1fr);
    gap:15px;
    padding:21px 0;
  }
  .payment-success-next li>span{
    width:42px;
    height:42px;
  }
  .payment-success-next strong{
    font-size:17px;
  }
  .payment-success-next .timeline-title em{
    font-size:11px;
  }
  .payment-success-next li p{
    font-size:15px;
  }
  .payment-success-next li small{
    font-size:12px;
  }
}

/* AUTHENTINO v5.2.10 — readable checkout before payment */
.payment-premium-intro .page-kicker{
  font-size:13px;
}
.payment-premium-intro>p{
  font-size:18px;
  line-height:1.65;
}
.payment-trust-strip>span{
  padding:15px 18px;
  min-width:260px;
}
.payment-trust-strip b{
  font-size:13px;
}
.payment-trust-strip small{
  font-size:12px;
  line-height:1.4;
}
.payment-card-premium{
  padding:36px;
}
.payment-section-head small{
  font-size:12px;
}
.payment-section-head h2{
  font-size:36px;
  line-height:1.15;
}
.payment-live-badge{
  font-size:10px;
  padding:10px 13px;
}
.payment-method-card{
  grid-template-columns:26px minmax(0,1fr) auto;
  gap:16px;
  min-height:88px;
  padding:20px;
}
.method-radio{
  width:23px;
  height:23px;
}
.method-copy strong{
  font-size:16px;
  line-height:1.35;
}
.method-copy small{
  margin-top:6px;
  font-size:13px;
  line-height:1.4;
}
.provider-panel{
  padding:20px;
}
.provider-message{
  grid-template-columns:44px minmax(0,1fr);
  gap:16px;
}
.provider-message svg,
.paypal-provider-mark{
  width:40px;
  height:40px;
}
.provider-message strong{
  font-size:15px;
}
.provider-message p{
  margin-top:7px;
  font-size:14px;
  line-height:1.55;
}
.checkout-email{
  gap:10px;
}
.checkout-email>span{
  font-size:14px;
  font-weight:600;
}
.checkout-email input{
  height:58px;
  padding:0 17px;
  font-size:16px;
}
.premium-check-line>span,
.check-line>span{
  font-size:15px!important;
  line-height:1.5;
}
.check-line i{
  width:22px;
  height:22px;
}
.pay-button small{
  font-size:14px;
}
.pay-button strong{
  font-size:18px;
}
.payment-connection-note{
  padding:14px 15px;
}
.payment-connection-note p{
  font-size:13px;
  line-height:1.5;
}
.payment-security{
  align-items:center;
  font-size:12px;
  line-height:1.45;
}
.order-card-premium{
  padding:26px;
}
.order-image span{
  font-size:11px;
}
.order-head{
  padding-top:24px;
  padding-bottom:19px;
}
.order-head small{
  font-size:11px;
}
.order-head strong{
  margin-top:7px;
  font-size:15px;
}
.order-head>span{
  font-size:11px;
  padding:8px 11px;
}
.order-details{
  padding:14px 2px;
}
.order-details div{
  padding:11px 0;
  font-size:14px;
}
.order-details strong{
  text-align:right;
}
.order-total span{
  font-size:14px;
}
.included{
  padding:18px;
  gap:12px;
}
.included small{
  font-size:11px;
}
.included span{
  font-size:13px;
  line-height:1.45;
}
.accepted-payments small{
  font-size:10px;
}
.accepted-payments span{
  font-size:10px;
  padding:7px 9px;
}

@media(max-width:760px){
  .payment-premium-intro .page-kicker{
    font-size:12px;
  }
  .payment-premium-intro>p{
    font-size:17px;
  }
  .payment-trust-strip b{
    font-size:14px;
  }
  .payment-trust-strip small{
    font-size:13px;
  }
  .payment-card-premium{
    padding:24px 18px;
  }
  .payment-section-head h2{
    font-size:31px;
  }
  .payment-method-card{
    grid-template-columns:24px minmax(0,1fr) auto;
    padding:18px 15px;
  }
  .method-copy strong{
    font-size:16px;
  }
  .method-copy small{
    font-size:14px;
  }
  .provider-message strong{
    font-size:16px;
  }
  .provider-message p{
    font-size:15px;
  }
  .checkout-email>span{
    font-size:15px;
  }
  .premium-check-line>span,
  .check-line>span{
    font-size:16px!important;
  }
  .pay-button small{
    font-size:15px;
  }
  .payment-connection-note p,
  .payment-security{
    font-size:14px;
  }
  .order-head small,
  .order-head>span{
    font-size:12px;
  }
  .order-head strong,
  .order-details div,
  .order-total span{
    font-size:15px;
  }
  .included small{
    font-size:12px;
  }
  .included span{
    font-size:14px;
  }
}
/* AUTHENTINO v5.3.0 — item identity and report data */
.item-details{margin-top:28px;padding:clamp(18px,3vw,28px);border:1px solid rgba(171,137,77,.28);border-radius:22px;background:linear-gradient(135deg,rgba(190,160,104,.08),rgba(255,255,255,.72))}
.item-details-head{display:grid;grid-template-columns:minmax(180px,.65fr) 1.35fr;gap:26px;align-items:end;margin-bottom:22px}
.item-details-head small{display:block;margin-bottom:8px;color:#a27f43;font-size:10px;letter-spacing:.16em}
.item-details-head h3{margin:0;font:400 28px/1.05 Georgia,serif}
.item-details-head p,.item-details-note{margin:0;color:#777065;font-size:14px;line-height:1.55}
.item-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.item-details-grid label{display:grid;gap:8px;min-width:0}
.item-details-grid label>span{font-size:12px;font-weight:700;color:#5e584f}
.item-details-grid input{width:100%;min-width:0;height:52px;padding:0 15px;border:1px solid rgba(23,23,19,.16);border-radius:13px;background:rgba(255,255,255,.82);color:#171713;font:16px/1.2 Arial,sans-serif;outline:none}
.item-details-grid input:focus{border-color:#ac8950;box-shadow:0 0 0 3px rgba(172,137,80,.12)}
.item-code-field{grid-column:1/-1}
.item-details-note{margin-top:15px;font-size:12px}
@media(max-width:680px){.item-details-head{grid-template-columns:1fr;gap:10px}.item-details-grid{grid-template-columns:1fr}.item-code-field{grid-column:auto}.item-details-grid input{font-size:16px}.item-details{padding:18px 14px}}
