
.auth-body{
  min-height:100vh;
  display:flex;flex-direction:column;
  background:
    radial-gradient(700px 420px at 50% -6%,rgba(124,58,237,.20),transparent 66%),
    var(--bg);
}
.auth-top{border-bottom:1px solid var(--line-soft);}
.auth-top .wrap{display:flex;align-items:center;gap:26px;height:62px;}
.auth-nav{display:flex;align-items:center;gap:22px;margin-left:14px;}
.auth-nav a{font-size:12.5px;font-weight:500;color:var(--muted);white-space:nowrap;}
.auth-nav a:hover{color:#fff;}
.auth-lang{
  display:flex;align-items:center;gap:7px;margin-left:auto;
  font-size:12px;color:var(--muted);white-space:nowrap;
}
.auth-lang:hover{color:#fff;}
.auth-lang svg{width:13px;height:13px;}
.auth-lang .cv{width:10px;height:10px;}

.auth-main{flex:1;padding:34px 0 40px;}
.auth-inner{width:100%;max-width:560px;margin:0 auto;}
.auth-inner.wide{max-width:620px;}

.auth-stage{display:block;}
.auth-anim{display:none;}

@media (min-width:1180px){
  .auth-stage{
    display:grid;grid-template-columns:minmax(0,620px) minmax(0,400px);
    gap:44px;align-items:center;justify-content:center;
  }
  .auth-stage .auth-inner{margin:0;}
  .auth-anim{display:block;width:100%;position:relative;align-self:stretch;}
  .auth-anim svg{display:block;width:100%;height:auto;}

  #animSignup{min-height:520px;}
  .anim-girl{position:absolute;left:-18px;top:38px;width:190px;}
  .anim-boy{position:absolute;left:96px;bottom:12px;width:260px;}
}

.auth-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;margin-bottom:22px;
}
.auth-head h1{font-size:clamp(24px,3.4vw,32px);font-weight:800;letter-spacing:-.035em;}
.auth-head h1 em{
  font-style:normal;
  background:linear-gradient(90deg,#a855f7,#e879f9);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.auth-head p{font-size:12.5px;color:var(--muted);margin-top:8px;}
.auth-art{
  width:104px;height:88px;border-radius:var(--r-lg);flex-shrink:0;
  background:linear-gradient(150deg,#7c3aed,#a855f7);
  display:grid;place-items:center;font-size:38px;
  box-shadow:0 14px 40px rgba(124,58,237,.5);
}

.auth-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:22px;
}

.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:-22px -22px 22px;padding:0 22px;}
.auth-tab{
  flex:1;padding:16px 10px;text-align:center;
  font-size:13px;font-weight:600;color:var(--muted-2);
  border-bottom:2px solid transparent;
}
.auth-tab:hover{color:#fff;}
.auth-tab.is-on{color:#fff;border-bottom-color:var(--purple);}

.a-fld{margin-bottom:15px;}
.a-fld > label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px;}
.a-wrap{position:relative;}
.a-input{
  width:100%;padding:13px 44px 13px 15px;border-radius:var(--r-sm);
  background:var(--surface-2);border:1px solid var(--line);
  color:#fff;font-size:13px;outline:none;
}
.a-input::placeholder{color:var(--muted-2);}
.a-input:focus{border-color:var(--purple);}
.a-ico{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;display:grid;place-items:center;overflow:hidden;
  color:var(--muted-2);padding:0;line-height:0;pointer-events:none;
}
.a-ico svg{width:16px;height:16px;}
button.a-ico{pointer-events:auto;cursor:pointer;}
button.a-ico:hover{color:#fff;}

.a-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 18px;}
.a-check{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);}
.a-check .box{
  width:15px;height:15px;border-radius:4px;flex-shrink:0;
  border:1.5px solid var(--line);background:var(--bg-2);
  display:grid;place-items:center;color:transparent;
}
.a-check .box svg{width:10px;height:10px;}
.a-check.is-on .box{background:var(--grad-btn);border-color:transparent;color:#fff;}
.a-check.is-on{color:#fff;}
.a-link{font-size:12px;font-weight:600;color:var(--purple-3);white-space:nowrap;}
.a-link:hover{text-decoration:underline;}

.a-submit{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:14px;border-radius:var(--r-sm);
  background:var(--grad-btn);color:#fff;font-size:14px;font-weight:700;
  box-shadow:0 6px 22px rgba(124,58,237,.42);
}
.a-submit:hover{transform:translateY(-1px);}
.a-submit svg{width:16px;height:16px;}

.a-or{
  display:flex;align-items:center;gap:14px;margin:20px 0 16px;
  font-size:11.5px;color:var(--muted-2);
}
.a-or::before,.a-or::after{content:'';flex:1;height:1px;background:var(--line-soft);}

.a-forgot{text-align:right;margin-top:8px;}
.a-forgot a{font-size:12px;font-weight:600;color:var(--purple-3);}
.a-forgot a:hover{color:#fff;}

.socials-row{display:grid;grid-template-columns:1fr;gap:11px;}

.socials-row.has-telegram{grid-template-columns:1fr 1fr;align-items:center;}

.tg-login-slot{
  display:flex;align-items:center;justify-content:center;
  min-height:44px;min-width:0;overflow:hidden;border-radius:var(--r-sm);
}
.social-btn{
  display:flex;align-items:center;justify-content:center;gap:9px;
  padding:12px 8px;border-radius:var(--r-sm);
  background:var(--surface-2);border:1px solid var(--line);
  font-size:12.5px;font-weight:600;
}
.social-btn:hover{border-color:var(--purple);}
.social-btn svg{width:16px;height:16px;flex-shrink:0;}

.a-foot{font-size:12.5px;color:var(--muted-2);text-align:center;margin-top:20px;}
.a-foot a{color:var(--purple-3);font-weight:600;}
.a-foot a:hover{text-decoration:underline;}

.a-steps{display:flex;align-items:flex-start;justify-content:center;gap:0;margin-bottom:24px;}
.a-step{text-align:center;flex-shrink:0;width:96px;}
.a-step-no{
  width:36px;height:36px;border-radius:50%;margin:0 auto 9px;
  background:var(--surface-3);color:var(--muted-2);
  display:grid;place-items:center;font-size:14px;font-weight:800;
  border:1px solid var(--line);
}
.a-step.is-on .a-step-no{background:var(--grad-btn);color:#fff;border-color:transparent;box-shadow:0 4px 16px rgba(124,58,237,.4);}
.a-step.is-done .a-step-no{background:rgba(34,197,94,.18);color:#4ade80;border-color:rgba(34,197,94,.35);}
.a-step b{font-size:11.5px;font-weight:700;display:block;}
.a-step.is-off b{color:var(--muted-2);font-weight:500;}
.a-line{flex:1;height:1.5px;background:var(--line);margin-top:18px;min-width:24px;}

.pw-bars{display:flex;gap:6px;margin-top:11px;}
.pw-bars i{flex:1;height:4px;border-radius:4px;background:var(--surface-3);font-style:normal;}
.pw-bars i.w{background:#ef4444;}
.pw-bars i.m{background:#f59e0b;}
.pw-bars i.s{background:#22c55e;}
.pw-label{font-size:11px;color:var(--muted-2);margin-top:8px;}
.pw-label b{font-weight:700;}
.pw-label b.w{color:#f87171;}
.pw-label b.m{color:#fbbf24;}
.pw-label b.s{color:#4ade80;}

.agree{display:flex;align-items:flex-start;gap:9px;margin:18px 0;font-size:11.5px;color:var(--muted);line-height:1.6;}
.agree .box{
  width:15px;height:15px;border-radius:4px;flex-shrink:0;margin-top:1px;
  border:1.5px solid var(--line);background:var(--bg-2);
  display:grid;place-items:center;color:transparent;
}
.agree .box svg{width:10px;height:10px;}
.agree.is-on .box{background:var(--grad-btn);border-color:transparent;color:#fff;}
.agree a{color:var(--purple-3);font-weight:600;}
.agree a:hover{text-decoration:underline;}

.a-trust{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;margin-top:24px;align-items:stretch;
}
.a-trust.three{grid-template-columns:repeat(3,minmax(0,1fr));}
.a-trust-item{
  display:flex;align-items:center;gap:11px;text-align:left;height:100%;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);padding:13px 14px;
}
.a-trust-item > div{min-width:0;}
.a-trust.three .a-trust-item{
  display:flex;align-items:center;gap:11px;text-align:left;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);padding:14px;
}
.a-trust-ico{
  width:36px;height:36px;border-radius:10px;margin:0;flex-shrink:0;
  background:rgba(139,92,246,.14);border:1px solid rgba(139,92,246,.3);
  display:grid;place-items:center;color:var(--purple-3);
}
.a-trust-ico svg{width:16px;height:16px;}
.a-trust-item b{font-size:12px;font-weight:700;display:block;line-height:1.35;}
.a-trust-item > div > span{
  font-size:10.5px;color:var(--muted-2);display:block;
  margin-top:3px;line-height:1.5;
}

.a-new{
  position:relative;overflow:hidden;margin-top:22px;
  background:linear-gradient(130deg,#2a1257,#170d31);
  border:1px solid rgba(168,85,247,.3);
  border-radius:var(--r-lg);padding:22px;
}
.a-new h3{font-size:16px;font-weight:800;letter-spacing:-.02em;}
.a-new p{font-size:12px;color:var(--muted);margin:8px 0 16px;max-width:320px;}
.a-new-art{position:absolute;right:24px;bottom:16px;font-size:52px;opacity:.9;}

.auth-foot{border-top:1px solid var(--line-soft);padding:18px 0;}
.auth-foot .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;font-size:11.5px;color:var(--muted-2);
}
.auth-foot-links{display:flex;gap:22px;flex-wrap:wrap;}
.auth-foot-links a:hover{color:#fff;}

.cart-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;margin-bottom:18px;
}
.cart-head h1{font-size:24px;font-weight:800;letter-spacing:-.03em;}
.cart-head h1 span{font-size:13px;font-weight:500;color:var(--muted-2);margin-left:8px;}
.cart-continue{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 18px;border-radius:var(--r-sm);
  background:var(--surface);border:1px solid var(--purple);
  font-size:12.5px;font-weight:600;color:#c4b5fd;white-space:nowrap;
}
.cart-continue:hover{background:rgba(139,92,246,.12);color:#fff;}

.cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start;padding-bottom:32px;}
.cart-col{display:flex;flex-direction:column;gap:14px;min-width:0;}

.cart-item{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:16px;
  display:flex;align-items:center;gap:16px;
}
.ci-art{
  width:86px;height:86px;border-radius:var(--r);flex-shrink:0;
  display:grid;place-items:center;overflow:hidden;
  border:1px solid var(--line);
}
.ci-art .lm{width:52px;height:52px;font-size:24px;border-radius:14px;}
.ci-body{flex:1;min-width:0;}
.ci-name{font-size:14px;font-weight:700;display:block;}
.ci-badge{
  display:inline-block;margin-top:8px;font-style:normal;
  font-size:10px;font-weight:600;padding:3px 10px;border-radius:20px;
  background:rgba(139,92,246,.14);color:#c4b5fd;border:1px solid rgba(139,92,246,.3);
}
.ci-badge.code{background:rgba(59,130,246,.14);color:#93c5fd;border-color:rgba(59,130,246,.3);}
.ci-line{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted-2);margin-top:9px;}
.ci-line svg{width:12px;height:12px;color:#fbbf24;flex-shrink:0;}
.ci-line b{color:#4ade80;font-weight:600;}
.ci-seller{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted-2);margin-top:5px;}
.ci-seller svg{width:12px;height:12px;color:#4ade80;flex-shrink:0;}
.ci-price{font-size:17px;font-weight:800;letter-spacing:-.03em;white-space:nowrap;flex-shrink:0;}
.ci-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.ci-qty{
  display:flex;align-items:center;
  background:var(--surface-2);border:1px solid var(--line);
  border-radius:var(--r-sm);overflow:hidden;
}
.ci-qty button{width:32px;height:34px;display:grid;place-items:center;color:var(--muted);}
.ci-qty button:hover{color:#fff;background:var(--surface-3);}
.ci-qty button svg{width:12px;height:12px;}
.ci-qty input{
  width:36px;text-align:center;background:none;border:none;outline:none;
  color:#fff;font-size:13px;font-weight:600;
}
.ci-del{
  width:34px;height:34px;border-radius:var(--r-sm);flex-shrink:0;
  background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.28);
  display:grid;place-items:center;color:#f87171;
}
.ci-del:hover{background:rgba(239,68,68,.2);}
.ci-del svg{width:15px;height:15px;}

.promo-box{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:16px;
}
.promo-title{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:600;margin-bottom:12px;}
.promo-title svg{width:15px;height:15px;color:var(--purple-3);}
.promo-row{display:flex;gap:10px;}
.promo-row input{
  flex:1;min-width:0;padding:11px 13px;border-radius:var(--r-sm);
  background:var(--surface-2);border:1px solid var(--line);
  color:#fff;font-size:12.5px;outline:none;
}
.promo-row input:focus{border-color:var(--purple);}
.promo-row button{
  padding:11px 22px;border-radius:var(--r-sm);flex-shrink:0;
  background:var(--grad-btn);color:#fff;font-size:12.5px;font-weight:600;
}

.sum-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:18px;
}
.sum-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:12.5px;}
.sum-line span{color:var(--muted-2);}
.sum-line b{font-weight:600;}
.sum-line b.minus{color:#4ade80;}
.sum-total{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:12px;padding-top:15px;border-top:1px solid var(--line-soft);
}
.sum-total span{font-size:15px;font-weight:700;}
.sum-total b{font-size:23px;font-weight:800;letter-spacing:-.035em;color:#c4b5fd;}
.checkout-btn{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;margin-top:18px;padding:14px;border-radius:var(--r-sm);
  background:var(--grad-btn);color:#fff;font-size:14px;font-weight:700;
  box-shadow:0 6px 22px rgba(124,58,237,.42);
}
.checkout-btn:hover{transform:translateY(-1px);}
.checkout-btn svg{width:16px;height:16px;}
.secure-note{text-align:center;margin-top:14px;}
.secure-note b{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600;}
.secure-note b svg{width:13px;height:13px;color:var(--muted-2);}
.secure-note span{font-size:10.5px;color:var(--muted-2);display:block;margin-top:5px;}

.cart-trust{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
}
.cart-trust-item{display:flex;align-items:center;gap:12px;padding:16px 18px;}
.cart-trust-item + .cart-trust-item{border-left:1px solid var(--line-soft);}
.cart-trust-ico{
  width:34px;height:34px;border-radius:10px;flex-shrink:0;
  background:rgba(34,197,94,.13);border:1px solid rgba(34,197,94,.3);
  display:grid;place-items:center;color:#4ade80;
}
.cart-trust-ico svg{width:15px;height:15px;}
.cart-trust-item b{font-size:12px;font-weight:700;display:block;}
.cart-trust-item span{font-size:10.5px;color:var(--muted-2);display:block;margin-top:2px;}

.accept-row{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:14px 18px;
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.accept-row > span{font-size:12px;color:var(--muted-2);}
.pay-badge{
  padding:6px 13px;border-radius:7px;
  background:var(--surface-2);border:1px solid var(--line);
  font-size:11.5px;font-weight:800;letter-spacing:.02em;
}
.pay-visa{color:#1a1f71;background:#f4f4f7;border-color:#f4f4f7;}
.pay-mc{color:#eb001b;}
.pay-pp{color:#009cde;}
.pay-sk{color:#862165;}
.pay-bn{color:#f0b90b;}
.pay-more{font-size:11px;font-weight:600;color:var(--purple-3);}

@media (max-width:900px){
  .cart-grid{grid-template-columns:1fr;}
  .cart-item{flex-wrap:wrap;}
  .ci-price{margin-left:auto;}
  .cart-trust{grid-template-columns:1fr;}
  .cart-trust-item + .cart-trust-item{border-left:none;border-top:1px solid var(--line-soft);}
}
@media (max-width:640px){
  .auth-head{flex-direction:column;align-items:flex-start;gap:14px;}
  .auth-art{width:76px;height:66px;font-size:28px;}

  .ci-qty button{width:44px;height:44px;}
  .ci-qty input{height:44px;}
  .a-trust,
  .a-trust.three{grid-template-columns:1fr;}
  .socials-row,
  .socials-row.has-telegram{grid-template-columns:1fr;}
  .auth-nav{display:none;}
  .a-step{width:76px;}
  .ci-art{width:64px;height:64px;}
  .ci-actions{width:100%;justify-content:space-between;}
}
