/* Sac De Secrète Member Auth v4.1 */
:root{
  --auth-ink:#1C1A17;
  --auth-text:#302A27;
  --auth-muted:#7B716C;
  --auth-pink:#D9B7C1;
  --auth-pink-deep:#C99BA9;
  --auth-pink-soft:#FBF1F4;
  --auth-line:#E8DED5;
  --auth-ivory:#F7F3EE;
  --auth-success:#387A5D;
  --auth-error:#A34E56;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#fff;color:var(--auth-text)}
body.auth-page{
  font-family:'Noto Sans TC','Jost',sans-serif;
  min-height:100vh;
  background:linear-gradient(180deg,#fff 0%,#FCF9F7 100%);
}
.auth-shell{
  position:relative;
  width:min(100%,760px);
  min-height:100vh;
  margin:0 auto;
  padding:70px 68px 58px;
  background:#fff;
}
.auth-close{
  position:absolute;
  top:22px;
  right:24px;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  color:#AAA19C;
  font-size:38px;
  line-height:1;
  cursor:pointer;
}
.auth-brand{
  font-family:'Cormorant Garamond',serif;
  font-size:30px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--auth-ink);
  text-align:center;
  margin-bottom:32px;
}
.auth-title{
  margin:0;
  color:var(--auth-ink);
  font-size:38px;
  line-height:1.25;
  font-weight:700;
  text-align:center;
  letter-spacing:.02em;
}
.auth-new{
  margin:14px 0 42px;
  text-align:center;
  font-size:18px;
}
.auth-new a,.auth-inline a,.auth-password-link,.auth-terms a{
  color:var(--auth-pink-deep);
  text-decoration:none;
  font-weight:600;
}
.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-bottom:28px;
  border-bottom:1px solid var(--auth-line);
}
.auth-tab{
  appearance:none;
  border:0;
  background:transparent;
  padding:14px 12px 13px;
  color:var(--auth-muted);
  font:inherit;
  font-size:18px;
  font-weight:600;
  cursor:pointer;
  border-bottom:3px solid transparent;
}
.auth-tab.active{
  color:var(--auth-ink);
  border-bottom-color:var(--auth-pink-deep);
}
.auth-label{
  display:block;
  margin:18px 0 9px;
  color:var(--auth-text);
  font-size:16px;
  font-weight:600;
}
.auth-input-row{
  display:flex;
  align-items:center;
  min-height:62px;
  border:1px solid var(--auth-line);
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  transition:.2s ease;
}
.auth-input-row:focus-within{
  border-color:var(--auth-pink-deep);
  box-shadow:0 0 0 3px rgba(217,183,193,.16);
}
.auth-prefix{
  flex:0 0 auto;
  padding:0 16px;
  white-space:nowrap;
  border-right:1px solid var(--auth-line);
  color:var(--auth-text);
  font-weight:600;
}
.auth-input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  padding:17px 18px;
  color:var(--auth-text);
  font:inherit;
  font-size:17px;
}
.auth-input::placeholder{color:#BBB3AF}
.auth-inline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin:17px 0 22px;
  font-size:15px;
}
.auth-check{
  display:flex;
  align-items:center;
  gap:9px;
  cursor:pointer;
}
.auth-check input{width:19px;height:19px;accent-color:var(--auth-pink-deep)}
.auth-submit{
  width:100%;
  min-height:60px;
  border:1px solid var(--auth-pink-deep);
  border-radius:8px;
  background:var(--auth-pink-deep);
  color:#fff;
  font:inherit;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}
.auth-submit:hover{background:#B98695;border-color:#B98695}
.auth-divider{
  display:flex;
  align-items:center;
  gap:18px;
  margin:34px 0 26px;
  color:#8A817D;
  text-align:center;
  white-space:nowrap;
}
.auth-divider::before,.auth-divider::after{
  content:"";
  height:1px;
  background:var(--auth-line);
  flex:1;
}
.auth-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.auth-social{
  min-height:64px;
  border:1px solid var(--auth-line);
  border-radius:10px;
  background:#fff;
  color:#9C9692;
  font:700 28px/1 'Jost',sans-serif;
}
.auth-social:disabled{opacity:.55;cursor:not-allowed}
.auth-password-link{
  display:block;
  margin:30px auto 0;
  text-align:center;
  font-size:16px;
}
.auth-terms{
  margin:28px 0 0;
  color:#8A817D;
  font-size:14px;
  line-height:1.75;
  text-align:center;
}
.auth-guest{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:60px;
  border:1px solid var(--auth-ink);
  border-radius:8px;
  color:var(--auth-ink);
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  background:#fff;
}
.auth-error{
  margin:0 0 20px;
  padding:13px 15px;
  border:1px solid rgba(163,78,86,.35);
  border-radius:9px;
  background:#FFF3F4;
  color:var(--auth-error);
  font-size:15px;
}
.auth-phone-coming,.auth-hint{
  color:var(--auth-muted);
  font-size:13px;
  line-height:1.6;
}
.auth-register-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 18px;
}
.auth-register-grid .full{grid-column:1/-1}
.auth-register-grid label{display:block}
[hidden]{display:none!important}

/* Checkout 會員提示區，避免載入此 CSS 時影響原頁 */
.member-checkout-box{
  background:var(--auth-pink-soft)!important;
  border-color:rgba(217,183,193,.55)!important;
}
.member-checkout-box a{color:var(--auth-pink-deep)!important}

@media(max-width:760px){
  .auth-shell{width:100%;padding:64px 28px 46px}
  .auth-brand{font-size:27px;margin-bottom:26px}
  .auth-title{font-size:32px}
  .auth-new{font-size:17px;margin-bottom:34px}
  .auth-tab{font-size:17px}
  .auth-input-row{min-height:58px}
  .auth-input{padding:15px 15px;font-size:16px}
  .auth-prefix{padding:0 13px}
  .auth-register-grid{grid-template-columns:1fr;gap:0}
  .auth-register-grid .full{grid-column:auto}
}
@media(max-width:390px){
  .auth-shell{padding-left:20px;padding-right:20px}
  .auth-title{font-size:29px}
  .auth-inline{font-size:13px}
}
