/* 회원가입·로그인 — 가운데 한 줄 폼 (쉐이크베이비 참고, 파란 계열, 2026-10-01).
   signup-2026.css / 로그인 스타일 뒤에 불러 덮는다. 입력칸 id 와 동작은 그대로 둔다. */
:root { --ar-blue: #3d8bff; --ar-blue-dark: #1f6bff; --ar-line: #e3e5e8; --ar-text: #222; --ar-sub: #8a8f96; }

/* ── 회원가입 ── */
.su-page .su-top { display: none; }                 /* 위에 공통 헤더가 있다 */
.su-page .su-wrap { max-width: 515px; padding: 64px 20px 100px; }
.su-page .su-title { margin: 0; text-align: center; font-size: 30px; font-weight: 800; color: #000; letter-spacing: -1px; }
.su-page .su-subtitle { margin: 14px 0 0; text-align: center; font-size: 19px; font-weight: 700; line-height: 1.6; color: var(--ar-blue-dark); }

.su-page .su-quick { margin-top: 48px; padding: 0; border: 0; }
.su-page .su-quick-row { display: block; }
.su-page .su-quick-row > div:first-child { display: none; }  /* '빠른 회원가입' 설명 대신 버튼만 */
.su-page .su-quick-btns { display: grid; gap: 10px; min-width: 0; width: 100%; }
.su-page .su-kakao, .su-page .su-naver {
  position: relative; height: 64px; border-radius: 6px; font-size: 17px; font-weight: 700;
}
.su-page .su-kakao svg, .su-page .su-naver span { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); }
.su-page .su-kakao svg { width: 24px; height: 24px; }
.su-page .su-naver span { font-size: 20px; }
.su-page .su-tip { margin-top: 14px; font-size: 13px; color: var(--ar-sub); text-align: center; }

.su-page .su-sec { margin-top: 64px; }
.su-page .su-h { position: relative; padding: 0 0 6px; border: 0; font-size: 21px; font-weight: 800; color: #000; }
.su-page .su-req { position: absolute; right: 0; bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ar-text); }
.su-page .su-req i { font-style: normal; color: #ff4b4b; }
.su-page .su-row { display: block; padding: 0; margin-top: 30px; border: 0; }
.su-page .su-label { display: block; margin-bottom: 12px; padding: 0; font-size: 17px; font-weight: 700; color: var(--ar-text); }
.su-page .su-label i { color: #ff4b4b; }
.su-page .su-field { gap: 10px; }
.su-page .su-wrap input:not([type="checkbox"]):not([type="radio"]),
.su-page .su-wrap select {
  width: 100%; height: 60px; padding: 0 18px; box-sizing: border-box;
  border: 1px solid var(--ar-line); border-radius: 4px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ar-text);
}
.su-page .su-wrap input::placeholder { color: #b5b9bf; }
.su-page .su-wrap input[readonly] { background: #f7f7f8; }
.su-page .su-wrap input:focus, .su-page .su-wrap select:focus { outline: none; border-color: var(--ar-blue); box-shadow: 0 0 0 3px rgb(61 139 255 / 15%); }
.su-page .su-hint { margin-top: 2px; font-size: 14px; color: var(--ar-sub); }
.su-page .su-zip input { max-width: none; }
.su-page .su-zip button {
  height: 60px; padding: 0 26px; border: 1px solid #c9cdd2; border-radius: 4px;
  background: #fff; color: var(--ar-text); font-size: 16px; font-weight: 500;
}
.su-page .su-zip button:hover { background: #f5f8ff; border-color: var(--ar-blue); }
.su-page .su-tel span, .su-page .su-birth span { color: var(--ar-sub); font-size: 16px; }
.su-page .su-radio { display: flex; gap: 28px; }
.su-page .su-radio label { display: flex; align-items: center; gap: 10px; font-size: 17px; cursor: pointer; }
.su-page input[type="radio"], .su-page input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--ar-blue-dark); }

.su-page .su-agree { margin-top: 56px; padding-top: 0; border: 0; }
.su-page .su-all { padding-bottom: 20px; margin-bottom: 14px; border-bottom: 1px solid var(--ar-line); }
.su-page .su-all b { font-size: 18px; color: #000; }
.su-page .su-agree-row { padding: 10px 0; }
.su-page .su-agree-row label { font-size: 16px; color: var(--ar-text); }
.su-page .su-note { font-size: 14px; color: var(--ar-sub); }

.su-page .su-submit {
  height: 64px; margin-top: 44px; border-radius: 6px;
  background: var(--ar-blue); font-size: 19px; font-weight: 700;
}
.su-page .su-submit:hover { background: var(--ar-blue-dark); }
.su-page .su-switch { margin-top: 22px; text-align: center; font-size: 15px; color: var(--ar-sub); }
.su-page .su-switch a { color: var(--ar-blue-dark); font-weight: 700; }

/* ── 로그인 ── */
.lg-wrap { max-width: 515px; margin: 0 auto; padding: 64px 20px 80px; box-sizing: border-box; }
.lg-title { margin: 0; text-align: center; font-size: 30px; font-weight: 800; color: #000; letter-spacing: -1px; }
.lg-sub { margin: 16px 0 0; text-align: center; font-size: 16px; line-height: 1.6; color: #666; }
.lg-social { display: grid; gap: 10px; margin-top: 34px; }
.lg-social button {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 64px; border: 0; border-radius: 6px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700;
}
.lg-social svg, .lg-social span[aria-hidden] { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); }
.lg-naver { background: #03c75a; color: #fff; }
.lg-naver span[aria-hidden] { font-size: 20px; font-weight: 900; }
.lg-kakao { background: #fee500; color: #191600; }
.lg-kakao svg { width: 24px; height: 24px; fill: #191600; }

.lg-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 34px; padding: 0 22px 0 30px; min-height: 150px;
  border-radius: 22px; background: linear-gradient(110deg, #e7f1ff 0%, #d4e6ff 100%);
  color: #111; text-decoration: none; transition: transform .2s ease;
}
.lg-promo:hover { transform: translateY(-2px); color: #111; text-decoration: none; }
.lg-promo-tag { display: inline-block; padding: 2px 11px; border-radius: 999px; background: var(--ar-blue); color: #fff; font-size: 14px; font-weight: 800; }
.lg-promo p { margin: 10px 0 2px; font-size: 18px; color: #222; }
.lg-promo strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.8px; }
.lg-promo img { flex: none; width: 150px; height: 110px; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }

.lg-or { display: flex; align-items: center; gap: 14px; margin: 34px 0 30px; color: var(--ar-sub); font-size: 14px; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: #eee; }
.lg-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 0; border-radius: 999px; background: #f4f6f9; }
.lg-tabs button { height: 52px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 17px; font-weight: 600; color: #9aa0a8; cursor: pointer; }
.lg-tabs button.is-on { background: #1f2d4d; color: #fff; }

.lg-page #f { margin-top: 20px; }
.lg-page #f input[type="email"], .lg-page #f input[type="password"], .lg-page #f input[type="text"] {
  display: block; width: 100%; height: 74px; padding: 0 14px; box-sizing: border-box;
  border: 0; border-bottom: 1px solid var(--ar-line); border-radius: 0; background: none;
  font: inherit; font-size: 17px; color: var(--ar-text); outline: none;
}
.lg-page #f input::placeholder { color: #8a8f96; }
.lg-page #f input:focus { border-bottom-color: var(--ar-blue); }
.lg-pw { position: relative; }
.lg-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border: 0; background: none; color: var(--ar-blue-dark); font: inherit; font-size: 14px; cursor: pointer; }
.lg-keep { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 16px; color: var(--ar-text); cursor: pointer; }
.lg-keep input { width: 22px; height: 22px; accent-color: var(--ar-blue-dark); }
.lg-submit { display: block; width: 100%; height: 64px; margin-top: 28px; border: 0; border-radius: 6px; background: var(--ar-blue); color: #fff; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.lg-submit:hover { background: var(--ar-blue-dark); }
.lg-submit:disabled { opacity: .6; cursor: wait; }
.lg-links { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.lg-links a, .lg-links button { border: 0; background: none; padding: 0; font: inherit; font-size: 16px; color: #777; text-decoration: none; cursor: pointer; }
.lg-links button { color: #111; font-weight: 600; }
.lg-links span { width: 1px; height: 14px; background: #ddd; }
.lg-foot p { margin: 0; padding: 0 22px 40px; text-align: center; font-size: 12px; line-height: 1.7; color: #a1a1a6; }
/* storefront-theme.css paints the login submit black; keep it on brand blue */
.lg-page #f #go.lg-submit { background: var(--ar-blue) !important; color: #fff !important; border-radius: 6px !important; height: 64px !important; font-size: 19px !important; font-weight: 700 !important; }
.lg-page #f #go.lg-submit:hover { background: var(--ar-blue-dark) !important; }
/* Address search button: plain outlined box like the reference */
.su-page .su-zip { gap: 12px; }
.su-page .su-zip button { flex: none; width: 108px; padding: 0; border: 1px solid #a9adb3; border-radius: 0; font-size: 16px; font-weight: 500; }
.su-page .su-hint { color: #8a8f96; font-size: 14px; font-weight: 500; }

/* Narrower column and lighter type (2026-10-01 요청: 폭 줄이고 폰트 얇게) */
.su-page .su-wrap, .lg-wrap { max-width: 420px; }
.su-page .su-title, .lg-title { font-size: 26px; font-weight: 700; }
.su-page .su-subtitle { font-size: 16px; font-weight: 500; }
.lg-sub { font-size: 14px; font-weight: 400; }
.su-page .su-h { font-size: 19px; font-weight: 600; }
.su-page .su-req { font-size: 13px; font-weight: 400; }
.su-page .su-label { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.su-page .su-row { margin-top: 26px; }
.su-page .su-wrap input:not([type="checkbox"]):not([type="radio"]), .su-page .su-wrap select { height: 52px; font-size: 15px; font-weight: 400; }
.su-page .su-zip button { height: 52px; width: 96px; font-size: 15px; font-weight: 400; }
.su-page .su-hint { font-size: 13px; font-weight: 400; }
.su-page .su-kakao, .su-page .su-naver, .lg-social button { height: 54px; font-size: 15px; font-weight: 500; }
.su-page .su-radio label, .su-page .su-agree-row label, .lg-keep { font-size: 15px; font-weight: 400; }
.su-page .su-all b { font-size: 16px; font-weight: 600; }
.su-page .su-submit, .lg-page #f #go.lg-submit { height: 56px !important; font-size: 17px !important; font-weight: 500 !important; }
.lg-promo { min-height: 128px; padding: 0 16px 0 24px; }
.lg-promo-tag { font-size: 12px; font-weight: 700; }
.lg-promo p { font-size: 15px; font-weight: 400; }
.lg-promo strong { font-size: 20px; font-weight: 700; }
.lg-promo img { width: 120px; height: 92px; }
.lg-tabs button { height: 46px; font-size: 15px; font-weight: 500; }
.lg-page #f input[type="email"], .lg-page #f input[type="password"], .lg-page #f input[type="text"] { height: 62px; font-size: 15px; font-weight: 400; }
.lg-links a, .lg-links button { font-size: 14px; font-weight: 400; }
.lg-links button { font-weight: 500; }

/* ── 회원가입: 참고 화면 구성 (회원인증 · 기본정보 · 추가정보 · 전체 동의) ── */
.su-page .su-quick { margin-top: 44px; }
.su-page .su-sec { margin-top: 56px; }
.su-page .su-h small { font-size: 14px; font-weight: 500; color: #777; }
.su-page .su-sec:first-of-type .su-row { margin-top: 24px; }
.su-page .su-radio { gap: 26px; }
.su-page .su-radio input[type="radio"] { width: 22px; height: 22px; margin: 0; }
.su-page .su-birth { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.su-page .su-birth select { padding: 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.su-page .su-tel select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.su-page .su-agree { margin-top: 50px; }
.su-page .su-all { padding: 0; margin: 0; border: 0; }
.su-page .su-all-desc { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #8a8f96; }
.su-page .su-agree-list { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--ar-line); }
.su-page .su-agree-row { padding: 8px 0; }
.su-page .su-agree-row button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; }
.su-page .su-agree-row button svg { width: 20px; height: 20px; fill: none; stroke: #333; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.su-page .su-agree input[type="checkbox"] { width: 20px; height: 20px; border-radius: 0; }
.su-page .su-submit { margin-top: 40px; border-radius: 6px; }

/* 휴대전화 인증 */
.su-page .su-tel { display: grid; grid-template-columns: 92px 10px 1fr 10px 1fr auto; align-items: center; gap: 6px; }
.su-page .su-tel > span { text-align: center; }
.su-page .su-code-btn { height: 52px; padding: 0 14px; border: 1px solid #a9adb3; border-radius: 4px; background: #fff; color: var(--ar-text); font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.su-page .su-code-btn:hover:not(:disabled) { border-color: var(--ar-blue); background: #f5f8ff; }
.su-page .su-code-btn:disabled { color: #9aa0a8; cursor: default; }
.su-page .su-code { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.su-page .su-timer { position: absolute; right: 86px; top: 50%; transform: translateY(-50%); font-size: 14px; color: #ff4b4b; font-variant-numeric: tabular-nums; }
.su-page .su-phone-status:empty { display: none; }
.su-page .su-phone-status.is-ok { color: var(--ar-blue-dark); }
.su-page .su-phone-status.is-error { color: #e5484d; }

/* 약관 펼침 상자 */
.su-page .su-agree-row button[aria-expanded="true"] svg { transform: rotate(180deg); }
.su-page .su-agree-row button svg { transition: transform .2s ease; }
.su-page .su-policy-box {
  height: 240px; margin: 4px 0 14px; padding: 14px 16px; overflow-y: auto; box-sizing: border-box;
  border: 1px solid var(--ar-line); background: #fff;
  font-size: 14px; line-height: 1.7; color: #555; white-space: pre-wrap; word-break: keep-all;
}
.su-page .su-policy-box:focus-visible { outline: 2px solid var(--ar-blue); outline-offset: 2px; }
.su-page .su-policy-box { height: auto; max-height: 240px; min-height: 150px; background: #fcfcfc; border-color: #eceef0; padding: 16px 18px; color: #6b7076; }
.su-page .su-all-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.2px; }
/* 휴대전화 칸: 네 자리가 잘리지 않게 안쪽 여백을 줄이고 버튼까지 한 줄에 */
.su-page .su-tel { grid-template-columns: 82px 8px minmax(0, 1fr) 8px minmax(0, 1fr) auto; gap: 4px; }
.su-page .su-tel input, .su-page .su-tel select { min-width: 0; }
.su-page .su-wrap .su-tel input:not([type="checkbox"]):not([type="radio"]) { padding: 0 6px; text-align: center; letter-spacing: .5px; }
.su-page .su-wrap .su-tel select { padding: 0 26px 0 12px; background-position: right 8px center; }
.su-page .su-tel .su-code-btn { padding: 0 10px; margin-left: 4px; font-size: 13px; }
.su-page .su-id-status:empty { display: none; }
.su-page .su-id-status.is-ok { color: var(--ar-blue-dark); }
.su-page .su-id-status.is-error { color: #e5484d; }

/* 비밀번호 입력 조건 안내 상자 */
.su-page .su-pw-tip {
  position: absolute; left: -8px; right: -8px; bottom: calc(100% - 22px); z-index: 20;
  padding: 18px 20px 16px; background: #fff; border: 1px solid #ddd; border-radius: 2px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 10%);
}
.su-page .su-pw-tip::after {
  content: ""; position: absolute; left: 36px; top: 100%; width: 10px; height: 10px; margin-top: -5px;
  background: #fff; border: solid #ddd; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.su-page .su-pw-tip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.su-page .su-pw-tip-head b { font-size: 15px; font-weight: 600; color: #222; }
.su-page .su-pw-tip-head button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.su-page .su-pw-tip-head svg { width: 20px; height: 20px; fill: none; stroke: #333; stroke-width: 1.6; stroke-linecap: round; }
.su-page .su-pw-tip ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.75; color: #6b7076; }
.su-page .su-pw-tip li::before { content: "- "; }
.su-page .su-pw-specials { display: inline-block; padding-left: 14px; letter-spacing: 1px; word-break: break-all; }
.su-page #pwHint.is-error { color: #e5484d; }
.su-page #pwHint.is-ok { color: var(--ar-blue-dark); }
.su-page .su-phone-status { white-space: pre-line; line-height: 1.8; }
.su-page #codeRow .su-code input { padding-right: 64px; }
.su-page #codeRow .su-timer { right: 96px; font-size: 16px; color: #e5484d; }
.su-page #codeRow .su-code-btn { width: 80px; }
.su-page #pwError { display: none !important; }  /* 비밀번호 오류는 #pwHint 한 곳에만 */
/* 칸 아래 오류 문구도 안내문과 같은 줄·크기에 맞춘다 */
.su-page .auth-field-error { display: block; margin: 2px 0 0; padding: 0; font-size: 13px; line-height: 1.5; color: #e5484d; text-align: left; }
.su-page .auth-field-error[hidden] { display: none; }
.su-page .su-field .su-hint { margin: 2px 0 0; line-height: 1.5; }

/* 비밀번호 '보기' — 폰에서 다른 규칙(top:4px)이 이겨 칸 위 경계선에 걸쳐 떠 있었다 (2026-10-02). 칸 안 오른쪽 끝, 세로 가운데. */
.lg-pw [data-pw-peek]{top:50%!important;bottom:auto!important;right:8px!important;transform:translateY(-50%)!important;min-width:44px;height:44px!important;margin:0!important;padding:0 10px!important;white-space:nowrap;line-height:44px}
.lg-pw #pw{padding-right:72px!important}
