/* Thrift2Me sign in / create account */
body:has(.t2m-authwrap:not(.t2m-authwrap--seller)) .t2m-page-title,
body:has(.t2m-authwrap) .t2m-acc-out{display:none!important}
.t2m-authwrap [hidden]{display:none!important}

.t2m-authwrap{
  --t2m-red:#C10B2E;--t2m-wine:#850B23;--t2m-ink:#2a2622;--t2m-mute:#6b6259;
  --t2m-cream:#F6F1E8;--t2m-kraft:#C9A574;--t2m-line:#E2D9CC;
  width:100%;box-sizing:border-box;
  max-width:1000px;margin:8px auto 28px;
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  background:#fff;border-radius:26px;overflow:hidden;
  box-shadow:0 1px 0 rgba(42,38,34,.06),0 24px 60px -28px rgba(133,11,35,.35);
  border:1px solid var(--t2m-line);color:var(--t2m-ink)
}
.t2m-authwrap *{box-sizing:border-box}

/* ----- Left: brand panel ----- */
.t2m-auth-side{
  position:relative;padding:44px 40px 40px;color:#fff;
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.10) 0 2px,transparent 3px) 0 0/22px 22px,
    linear-gradient(160deg,#C10B2E 0%,#9a0c28 60%,#850B23 100%);
  display:flex;flex-direction:column;justify-content:center;gap:14px
}
.t2m-auth-side::after{content:"";position:absolute;inset:12px;border:2px dashed rgba(255,255,255,.28);border-radius:18px;pointer-events:none}
.t2m-auth-tag{
  position:relative;align-self:flex-start;transform:rotate(-4deg);margin:6px 0 10px 18px;
  background:var(--t2m-cream);color:var(--t2m-ink);padding:14px 22px 14px 40px;
  border-radius:6px 14px 14px 6px;box-shadow:0 10px 22px -10px rgba(0,0,0,.5);
  display:flex;flex-direction:column;line-height:1.1;
  clip-path:polygon(16px 0,100% 0,100% 100%,16px 100%,0 50%)
}
.t2m-auth-tag::before{content:"";position:absolute;left:16px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:#9a0c28;box-shadow:inset 0 1px 2px rgba(0,0,0,.4)}
.t2m-auth-tag-k{font:700 10px/1.2 'Space Mono',ui-monospace,Menlo,monospace;letter-spacing:2px;color:var(--t2m-mute);text-transform:uppercase}
.t2m-auth-tag b{font:900 26px/1.1 Montserrat,sans-serif;color:var(--t2m-red);margin:2px 0}
.t2m-auth-tag-s{font:700 11px/1.2 'Space Mono',ui-monospace,Menlo,monospace;letter-spacing:.5px}
.t2m-auth-side-h{font:900 30px/1.1 Montserrat,sans-serif;margin:8px 0 0;color:#fff}
.t2m-auth-side-p{margin:0;opacity:.9;font-size:15px}
.t2m-auth-perks{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}
.t2m-auth-perks li{display:flex;align-items:center;gap:14px;font-size:14.5px;line-height:1.35}
.t2m-auth-perks i{flex:0 0 42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}
.t2m-auth-perks b{font-weight:800}

/* ----- Right: forms ----- */
.t2m-auth-main{padding:36px 44px 34px;display:flex;flex-direction:column;min-width:0}
.t2m-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;background:var(--t2m-cream);border:1px solid var(--t2m-line);border-radius:999px;margin:0 0 26px}
.t2m-auth-tabs button{appearance:none;border:0;background:transparent;border-radius:999px;padding:11px 10px;font:800 14px/1 Montserrat,sans-serif;color:var(--t2m-mute);cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.t2m-auth-tabs button:hover{color:var(--t2m-ink)}
.t2m-auth-tabs button.is-on{background:#fff;color:var(--t2m-red);box-shadow:0 2px 8px -2px rgba(42,38,34,.25)}
.t2m-auth-tabs button:focus-visible{outline:2px solid var(--t2m-red);outline-offset:2px}

.t2m-authwrap .t2m-auth-head h2{font:900 28px/1.15 Montserrat,sans-serif!important;margin:0 0 6px!important;color:var(--t2m-ink);letter-spacing:-.3px}
.t2m-auth-step .t2m-auth-row{margin:12px 0 0}
.t2m-auth-sub{color:var(--t2m-mute);margin:0 0 22px;font-size:15px}
.t2m-auth-wchead{display:none!important}
.t2m-auth{max-width:none;margin:0}

.t2m-authwrap .form-row,.t2m-authwrap .woocommerce-form-row{display:flex;flex-direction:column;gap:7px;margin:0 0 16px!important;padding:0!important;width:100%!important;float:none!important}
.t2m-authwrap label{font:700 13.5px/1.2 Montserrat,sans-serif;color:var(--t2m-ink);margin:0}
.t2m-authwrap label .required{color:var(--t2m-red)}
.t2m-authwrap input.input-text{
  width:100%;min-height:50px;padding:12px 16px!important;border-radius:14px!important;
  border:1.5px solid var(--t2m-line)!important;background:#FCFAF6!important;font-size:16px;color:var(--t2m-ink);
  transition:border-color .15s,box-shadow .15s,background .15s;box-shadow:none
}
.t2m-authwrap input.input-text:hover{border-color:#cfc3b2!important}
.t2m-authwrap input.input-text:focus{outline:0;border-color:var(--t2m-red)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(193,11,46,.12)}
.t2m-authwrap .password-input{position:relative;display:block;width:100%}
.t2m-authwrap .password-input input{padding-right:52px!important}
.t2m-authwrap .show-password-input{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:10px}
.t2m-auth-names{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}

/* login extras */
.t2m-authwrap form.login{margin:0!important;padding:0!important;border:0!important}
.t2m-authwrap form.login .cf-turnstile{margin:2px 0 14px}
.t2m-authwrap form.login br.cf-turnstile-br{display:none}
.t2m-authwrap form.login > .form-row:last-of-type{gap:0}
.t2m-auth-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0 0 16px;font-size:14px}
.t2m-auth-row-login label{display:inline-flex!important;align-items:center;gap:8px;font:600 14px/1.2 inherit;cursor:pointer}
.t2m-auth-row-login input[type=checkbox]{accent-color:var(--t2m-red);width:17px;height:17px;margin:0}
.t2m-auth-row-login a{color:var(--t2m-red);font-weight:700;text-decoration:none}
.t2m-auth-row-login a:hover{text-decoration:underline}

.t2m-authwrap .t2m-auth-btn{
  width:100%;min-height:54px;border-radius:999px!important;border:0!important;
  background:var(--t2m-red)!important;color:#fff!important;font:800 16px/1 Montserrat,sans-serif!important;letter-spacing:.2px;
  box-shadow:0 4px 0 var(--t2m-wine);transition:transform .08s,box-shadow .08s,background .15s;cursor:pointer;margin:4px 0 0
}
.t2m-authwrap .t2m-auth-btn:hover{background:#a90a28!important}
.t2m-authwrap .t2m-auth-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--t2m-wine)}
.t2m-authwrap .t2m-auth-btn:disabled{opacity:.65;cursor:progress}

/* sign-up steps */
.t2m-auth-steps{list-style:none;display:flex;gap:10px;margin:-6px 0 22px;padding:0}
.t2m-auth-steps li{flex:1;display:flex;align-items:center;gap:8px;font:700 12.5px/1.2 Montserrat,sans-serif;color:var(--t2m-mute);padding-bottom:10px;border-bottom:3px solid var(--t2m-line)}
.t2m-auth-steps b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--t2m-line);color:var(--t2m-ink);font-size:11px}
.t2m-auth-steps li.is-on{color:var(--t2m-ink);border-color:var(--t2m-red)}
.t2m-auth-steps li.is-on b{background:var(--t2m-red);color:#fff}
.t2m-auth-steps li.is-done b{background:#2f6b45}

.t2m-auth-meter{display:flex;flex-direction:column;gap:6px;margin:-8px 0 16px}
.t2m-auth-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.t2m-auth-bars i{height:5px;border-radius:5px;background:var(--t2m-line);transition:background .2s}
.t2m-auth-meter[data-score="1"] i:nth-child(-n+1){background:#C10B2E}
.t2m-auth-meter[data-score="2"] i:nth-child(-n+2){background:#d98a1c}
.t2m-auth-meter[data-score="3"] i:nth-child(-n+3){background:#5f9b3c}
.t2m-auth-meter[data-score="4"] i{background:#2f6b45}
.t2m-auth-hint{color:var(--t2m-mute);font-size:12.5px}
.t2m-auth-match{min-height:0;margin:-8px 0 14px;font-size:12.5px;font-weight:700}
.t2m-auth-match:empty{display:none}
.t2m-auth-match.is-ok{color:#2f6b45}
.t2m-auth-match.is-ok::before{content:"\2713  "}
.t2m-auth-match.is-bad{color:var(--t2m-mute)}
.t2m-auth-ts{margin:2px 0 14px;min-height:65px}

.t2m-auth-sent{display:flex;gap:14px;align-items:flex-start;background:var(--t2m-cream);border:1px dashed var(--t2m-kraft);border-radius:16px;padding:14px 16px;margin:0 0 18px;font-size:14px}
.t2m-auth-sent p{margin:0}
.t2m-auth-env{flex:0 0 40px;height:30px;border-radius:5px;background:var(--t2m-kraft);position:relative;margin-top:2px;overflow:hidden}
.t2m-auth-env::before{content:"";position:absolute;left:0;top:0;width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;border-top:16px solid #a8814f}
.t2m-auth-env::after{content:"";position:absolute;right:4px;bottom:4px;width:8px;height:8px;border-radius:50%;background:var(--t2m-red)}
.t2m-authwrap input.t2m-auth-code{font:700 30px/1 'Space Mono',ui-monospace,Menlo,monospace!important;letter-spacing:14px;text-align:center;padding-left:28px!important;min-height:64px}
.t2m-authwrap input.t2m-auth-code::placeholder{color:#d8cfc2}

.t2m-auth-link{background:none;border:0;padding:6px 0;color:var(--t2m-red);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:13.5px;font-family:inherit}
.t2m-auth-msg{background:#FBEAED;color:var(--t2m-wine);border:1px solid #f1c2cc;border-radius:12px;padding:11px 14px;font-size:14px;font-weight:700;margin:16px 0 0}
.t2m-auth-msg.is-good{background:#E8F3EC;color:#2f6b45;border-color:#bfdcc9}
.t2m-auth-switch{text-align:center;margin:22px 0 0;font-size:14.5px;color:var(--t2m-mute)}
.t2m-auth-switch a{color:var(--t2m-red);font-weight:800;text-decoration:none}
.t2m-auth-switch a:hover{text-decoration:underline}
.t2m-auth-legal{text-align:center;font-size:12px;color:var(--t2m-mute);margin:10px 0 0}
.t2m-auth-legal a{color:inherit}
.t2m-authwrap .woocommerce-notices-wrapper{margin:0 0 16px}
.t2m-authwrap .woocommerce-error,.t2m-authwrap .woocommerce-message,.t2m-authwrap .woocommerce-info{border-radius:12px;margin:0!important}

/* ----- Narrow screens ----- */
@media (max-width:820px){
  .t2m-authwrap{grid-template-columns:1fr;border-radius:22px;margin-top:0}
  .t2m-auth-side{padding:26px 24px 24px;gap:8px}
  .t2m-auth-side::after{inset:8px;border-radius:16px}
  .t2m-auth-tag{margin:0 0 4px 6px;padding:10px 18px 10px 36px}
  .t2m-auth-tag b{font-size:21px}
  .t2m-auth-side-h{font-size:23px}
  .t2m-auth-side-p{font-size:14px}
  .t2m-auth-perks{grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
  .t2m-auth-perks li{font-size:12.5px;gap:9px;align-items:flex-start}
  .t2m-auth-perks i{flex-basis:32px;height:32px;border-radius:9px}
  .t2m-auth-perks svg{width:17px;height:17px}
  .t2m-auth-main{padding:24px 20px 26px}
  .t2m-authwrap .t2m-auth-head h2{font-size:24px!important}
}
@media (max-width:420px){
  .t2m-auth-names{grid-template-columns:1fr}
  .t2m-auth-perks{grid-template-columns:1fr;gap:8px}
  .t2m-auth-side-p{display:none}
  .t2m-authwrap[data-mode="in"] .t2m-auth-perks{display:none}
  .t2m-auth-tabs button{font-size:13px;white-space:nowrap;padding:11px 6px}
  .t2m-authwrap form.login .cf-turnstile,.t2m-authwrap .t2m-auth-ts{transform:scale(.88);transform-origin:0 0;height:58px;min-height:0;margin-bottom:10px}
}

/* ---------- Seller application page (/store-registration/) ---------- */
#multivendorx-registration-form:has(.t2m-authwrap){max-width:1000px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#multivendorx-registration-form:has(.t2m-authwrap) .multivendorxstep-wizard{max-width:460px;margin:0 auto 18px}
#multivendorx-registration-form:has(.t2m-authwrap) .multivendorxprogress-bar{margin-bottom:0!important}
.multivendorx-registration:has(.t2m-authwrap) > p,
.multivendorx-registration:has(.t2m-authwrap) > h3,
.multivendorx-registration:has(.t2m-authwrap) > .multivendorx-tabs{display:none!important}
#multivendorx-registration-form .t2m-authwrap h2,#multivendorx-registration-form .t2m-authwrap h3{margin-top:0}
#multivendorx-registration-form .t2m-authwrap label{display:block;font:700 13.5px/1.2 Montserrat,sans-serif;margin:0}
#multivendorx-registration-form .t2m-auth-row-login label{display:inline-flex!important}
#multivendorx-registration-form .t2m-authwrap input.input-text{padding:12px 16px!important;border:1.5px solid #E2D9CC!important;border-radius:14px!important;background:#FCFAF6!important}
#multivendorx-registration-form .t2m-authwrap input.input-text:focus{border-color:#C10B2E!important;background:#fff!important;box-shadow:0 0 0 4px rgba(193,11,46,.12)!important}
#multivendorx-registration-form .t2m-authwrap input[type=checkbox]{width:17px;height:17px;margin:0}
#multivendorx-registration-form .t2m-authwrap .t2m-auth-tabs button{min-height:0}
.t2m-authwrap--seller .t2m-auth-side{background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 2px,transparent 2px 26px),
    linear-gradient(160deg,#2a2622 0%,#3b2f27 55%,#4a3628 100%)}
.t2m-authwrap--seller .t2m-auth-side::after{border-color:rgba(201,165,116,.45)}
.t2m-authwrap--seller .t2m-auth-tag{background:#C9A574;color:#2a2622}
.t2m-authwrap--seller .t2m-auth-tag b{color:#2a2622}
.t2m-authwrap--seller .t2m-auth-tag-k{color:#5a4630}
.t2m-authwrap--seller .t2m-auth-tag::before{background:#2a2622}
.t2m-authwrap--seller .t2m-auth-perks i{background:rgba(201,165,116,.18);border-color:rgba(201,165,116,.4);color:#E8CFA6}
@media (max-width:820px){#multivendorx-registration-form:has(.t2m-authwrap){padding:0 14px!important}}
