/* BASIC css start */
/* ============================================================================
   PRESSCO21 로그인 — 시네마틱 포토 시안 (v3: photo version)
   ----------------------------------------------------------------------------
   미학 방향: "cinematic film-still atelier"
   - 풀블리드 실사진(hero.jpg: 창가에서 압화 고사리를 핀셋으로 배치하는 손) 위에
     다크 스크림 그라데이션을 얹어 시네마틱 스틸컷처럼 연출.
   - 로고 크림 각인 + Instrument Serif 이탤릭 "Since 1999" + 라인 클립 헤드라인.
   - 하단: 사진 위에 뜬 글래스모피즘 크림 시트(backdrop-filter blur + 반투명).
   - 모션: 히어로 느린 Ken Burns 줌 + 마우스 패럴럭스(JS) + 로드 스태거 리빌.
   - 폰트: Pretendard Variable(한글 800) + Instrument Serif(영문 장치). v2와 일관.
   - 색: 260416 브랜드 토큰(Main #94A388 / Dark #2D3E33 / Cream #FFF9F0).
   - 스코핑: 모든 셀렉터는 #loginWrap / #simpleLogin. 전역 오염 금지.
   - 카카오 #FEE500 / 네이버 #03C75A 아이덴티티 컬러 유지 (플랫폼 정책).
   ============================================================================ */

/* ===== 0. 브랜드 토큰 ===== */
#loginWrap {
    --pc-deep: #2D3E33;
    --pc-deeper: #1C2620;
    --pc-forest: #2B3D2F;
    --pc-main: #94A388;
    --pc-sage: #B3C5AA;
    --pc-moss: #597051;
    --pc-cream: #FFF9F0;
    --pc-ink: #2D3E33;
    --pc-gray: #666666;
    --pc-white: #FFFFFF;
    --pc-serif: 'Instrument Serif', 'Times New Roman', serif;
    --pc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

#loginWrap,
#loginWrap * {
    font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

/* ===== 1. 메이크샵 골격 리셋 ===== */
#wrap,
#contentWrapper,
#contentWrap {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

#header,
#contentWrapper > #contentWrap > #menu,
#footer {
    display: none !important;
}

#wrap > hr {
    display: none !important;
}

/* 오버스크롤 대비 뒷배경 (조상이라 변수 상속 불가 → 리터럴) */
#wrap > #contentWrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background: #1C2620;
    z-index: -1;
}

#loginWrap {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 100vh;
    min-height: 100svh;
    background: #1C2620 !important;
    overflow-x: hidden !important;
}

#loginWrap .tit-page {
    display: none !important;
}

#loginWrap .page-body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: none;
    background: transparent !important;
}

/* ===== 2. 전체 골격 ===== */
#simpleLogin {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background: #1C2620;
}

/* ===== 3. 시네마틱 히어로 ===== */
#simpleLogin .hero-stage {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    min-height: 56svh;
    padding: max(30px, env(safe-area-inset-top)) 26px 56px;
    isolation: isolate;
    perspective: 1300px;
    perspective-origin: 58% 42%;
}

/* 풀블리드 사진 레이어 — Ken Burns 느린 줌 (JS 패럴럭스가 wrapper transform 구동) */
#simpleLogin .hero-photo {
    position: absolute;
    inset: -14%;
    z-index: 0;
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
}

/* 커서 추종 라이트 시트(sheen) — 표면에 빛이 스치는 프리미엄 감흥 */
#simpleLogin .hero-sheen {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(34% 34% at var(--mx, 50%) var(--my, 34%),
        rgba(255, 249, 240, 0.5) 0%,
        rgba(255, 249, 240, 0.14) 42%,
        rgba(255, 249, 240, 0) 72%);
    mix-blend-mode: soft-light;
    opacity: 0;
    will-change: opacity;
}

#simpleLogin .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 46%;
    display: block;
    transform: scale(1.12);
    animation: pc-kenburns 30s ease-in-out 0.2s infinite alternate;
    filter: saturate(0.94) contrast(1.02);
}

/* 다크 스크림 — 하단(텍스트 영역) 진하게, 상단 은은하게 + 시네마틱 비네트 */
#simpleLogin .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 70% 22%, rgba(28, 38, 32, 0) 46%, rgba(20, 28, 22, 0.4) 100%),
        linear-gradient(180deg,
            rgba(20, 28, 22, 0.32) 0%,
            rgba(20, 28, 22, 0.06) 28%,
            rgba(20, 28, 22, 0.22) 54%,
            rgba(20, 28, 22, 0.66) 82%,
            rgba(20, 28, 22, 0.9) 100%);
    opacity: 0;
    animation: pc-fade 1.4s ease 0.1s forwards;
}

/* 미세 필름 그레인 */
#simpleLogin .hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 170px 170px;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

#simpleLogin .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 520px;
    color: var(--pc-cream);
}

/* 로고 크림 각인 */
#simpleLogin .brand-mark {
    display: block;
    width: 92px;
    height: auto;
    margin: 0 0 auto;
    margin-bottom: 26px;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.4));
    opacity: 0;
    animation: pc-rise 0.9s var(--pc-ease) 0.35s forwards;
}

/* Since 1999 — Instrument Serif 이탤릭 */
#simpleLogin .brand-since {
    margin: 0 0 8px;
    font-family: var(--pc-serif);
    font-weight: 400;
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.02;
    letter-spacing: 0.01em;
    color: var(--pc-sage);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
    opacity: 0;
    animation: pc-rise 0.9s var(--pc-ease) 0.5s forwards;
}

#simpleLogin .brand-since em {
    font-style: italic;
    margin-right: 2px;
}

/* 헤드라인 — 라인별 클립 리빌 */
#simpleLogin .welcome-title {
    margin: 0 0 12px;
    font-size: clamp(27px, 7.6vw, 32px);
    font-weight: 800;
    line-height: 1.34;
    letter-spacing: -0.04em;
    color: var(--pc-cream);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    word-break: keep-all;
}

#simpleLogin .welcome-title .title-line {
    display: block;
    overflow: hidden;
}

#simpleLogin .welcome-title .title-line-inner {
    display: inline-block;
    transform: translateY(115%);
    animation: pc-line-up 0.9s var(--pc-ease) forwards;
}

#simpleLogin .welcome-title .title-line:nth-child(1) .title-line-inner {
    animation-delay: 0.64s;
}

#simpleLogin .welcome-title .title-line:nth-child(2) .title-line-inner {
    animation-delay: 0.76s;
}

#simpleLogin .welcome-subtitle {
    margin: 0;
    max-width: 360px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.62;
    letter-spacing: -0.01em;
    color: rgba(255, 249, 240, 0.86);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    word-break: keep-all;
    opacity: 0;
    animation: pc-rise 0.9s var(--pc-ease) 0.98s forwards;
}

/* ===== 4. 로그인 시트 (사진 위 글래스모피즘) ===== */
#simpleLogin .login-sheet {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    margin-top: -30px;
    padding-top: 6px;
    border-radius: 30px 30px 0 0;
    background: rgba(255, 249, 240, 0.82);
    -webkit-backdrop-filter: blur(26px) saturate(1.3);
    backdrop-filter: blur(26px) saturate(1.3);
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 -20px 50px rgba(20, 28, 22, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: pc-sheet-up 0.95s var(--pc-ease) 0.55s forwards;
}

/* 유리 시트 위 옅은 그레인 (종이 질감) */
#simpleLogin .login-sheet::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    opacity: 0.04;
    pointer-events: none;
}

/* 드래그 핸들 그립 */
#simpleLogin .sheet-handle {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(45, 62, 51, 0.24);
}

#simpleLogin .sheet-inner {
    position: relative;
    z-index: 1;
    max-width: 440px;
    margin: 0 auto;
    padding: 30px 24px calc(30px + env(safe-area-inset-bottom));
}

/* ----- 소셜 로그인 버튼 (1차 액션) ----- */
#simpleLogin .sns-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#simpleLogin .sns-login a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 0 52px !important;
    border-radius: 17px !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease), filter 0.25s ease !important;
    opacity: 0;
    animation: pc-rise 0.8s var(--pc-ease) forwards;
}

#simpleLogin .sns-login .kakao-login-btn { animation-delay: 0.72s; }
#simpleLogin .sns-login .naver-login-btn { animation-delay: 0.82s; }

#simpleLogin .sns-login a span {
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

#simpleLogin .sns-login a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(20, 28, 22, 0.24);
    filter: brightness(1.02);
}

#simpleLogin .sns-login a:active {
    transform: translateY(0) scale(0.985);
    box-shadow: none;
}

#simpleLogin .sns-login a:focus-visible {
    outline: 2px solid var(--pc-moss);
    outline-offset: 3px;
}

/* 아이콘 */
#simpleLogin .sns-login a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* 카카오 — #FEE500 / #3C1E1E (아이덴티티 유지) */
#simpleLogin .sns-login a.kakao-login-btn,
#simpleLogin a[href*="link_login_kakao"] {
    background: #FEE500 !important;
    background-color: #FEE500 !important;
    color: #3c1e1e !important;
    border: none !important;
}

#simpleLogin .kakao-login-btn span,
#simpleLogin a[href*="link_login_kakao"] span {
    color: #3c1e1e !important;
}

#simpleLogin .sns-login a.kakao-login-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233C1E1E' d='M12 3C6.48 3 2 6.54 2 10.9c0 2.8 1.86 5.25 4.66 6.64l-.97 3.6c-.09.33.28.6.57.4l4.24-2.84c.49.05.99.08 1.5.08 5.52 0 10-3.54 10-7.88C22 6.54 17.52 3 12 3z'/%3E%3C/svg%3E");
}

/* 네이버 — #03C75A / 흰색 (아이덴티티 유지) */
#simpleLogin .sns-login a.naver-login-btn,
#simpleLogin a[href*="link_login_naver"] {
    background: #03C75A !important;
    background-color: #03C75A !important;
    color: #ffffff !important;
    border: none !important;
}

#simpleLogin .naver-login-btn span,
#simpleLogin a[href*="link_login_naver"] span {
    color: #ffffff !important;
}

#simpleLogin .sns-login a.naver-login-btn::before {
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M16.27 4v8.53L7.73 4H4v16h3.73v-8.53L16.27 20H20V4h-3.73z'/%3E%3C/svg%3E");
}

/* 페이스북/애플 — 정책상 숨김 */
#simpleLogin .sns-login .fb-login-btn,
#simpleLogin .sns-login .apple-login-btn {
    display: none !important;
}

/* 소셜 아래 케어 문구 */
#simpleLogin .sns-note {
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.01em;
    text-align: center;
    color: #7d857c;
    word-break: keep-all;
    opacity: 0;
    animation: pc-rise 0.8s var(--pc-ease) 0.92s forwards;
}

/* ----- 아이디 로그인 토글 (2차: 고스트) ----- */
#simpleLogin .id-login-toggle {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(45, 62, 51, 0.12);
    opacity: 0;
    animation: pc-rise 0.8s var(--pc-ease) 1s forwards;
}

#simpleLogin .toggle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 1.5px solid rgba(45, 62, 51, 0.3);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.35);
    color: var(--pc-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

#simpleLogin .toggle-link::after {
    content: '';
    width: 9px;
    height: 9px;
    margin-left: 9px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s var(--pc-ease), margin-top 0.3s var(--pc-ease);
}

#simpleLogin .toggle-link:hover {
    border-color: var(--pc-moss);
    background: rgba(148, 163, 136, 0.16);
}

#simpleLogin .toggle-link:focus-visible {
    outline: 2px solid var(--pc-moss);
    outline-offset: 3px;
}

#simpleLogin .toggle-link.active::after {
    transform: rotate(225deg);
    margin-top: 5px;
}

/* ----- 아이디 로그인 폼 ----- */
#simpleLogin .mlog-sign {
    display: none !important;
}

#simpleLogin .mlog-sign.show-traditional {
    display: block !important;
    margin-top: 22px;
    animation: pc-form-open 0.4s var(--pc-ease);
}

#simpleLogin .mlog-sign .mlog h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pc-ink);
    text-align: left;
}

#simpleLogin .mlog-sign .mlog p {
    display: none;
}

#simpleLogin .mlog-sign .mlog fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#simpleLogin .mlog-sign .mlog legend {
    display: none;
}

#simpleLogin .mlog-sign .mlog .frm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#simpleLogin .mlog-sign .mlog .frm-list li {
    margin-bottom: 12px;
}

#simpleLogin .mlog-sign .mlog .frm-list label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--pc-moss);
    text-align: left;
}

#simpleLogin .mlog-sign .mlog .frm-list input[type="text"],
#simpleLogin .mlog-sign .mlog .frm-list input[type="password"] {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1.5px solid rgba(45, 62, 51, 0.18);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--pc-ink);
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#simpleLogin .mlog-sign .mlog .frm-list input:focus {
    outline: none;
    border-color: var(--pc-moss);
    background: var(--pc-white);
    box-shadow: 0 0 0 3px rgba(89, 112, 81, 0.16);
}

/* 체크박스 줄 */
#simpleLogin .form-check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 12px 2px;
    margin: 0;
}

#simpleLogin .form-check .form-check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #55605a;
    white-space: nowrap;
    cursor: pointer;
}

#simpleLogin .form-check .form-check-input,
#simpleLogin .form-check input[type="checkbox"] {
    float: none;
    margin: 0;
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--pc-moss);
    cursor: pointer;
    flex-shrink: 0;
}

#simpleLogin .form-textfield {
    margin: 8px 0;
}

/* 아이디 로그인 버튼 — 딥그린 */
#simpleLogin .mlog-sign .mlog .btn-mlog a {
    display: block;
    width: 100%;
    height: 58px;
    line-height: 58px;
    border: none;
    border-radius: 17px;
    background: var(--pc-deep);
    color: var(--pc-cream);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 28, 22, 0.28);
    transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease), background 0.25s ease;
}

#simpleLogin .mlog-sign .mlog .btn-mlog a:hover {
    transform: translateY(-2px);
    background: var(--pc-forest);
    box-shadow: 0 12px 28px rgba(20, 28, 22, 0.34);
}

#simpleLogin .mlog-sign .mlog .btn-mlog a:active {
    transform: translateY(0) scale(0.985);
}

#simpleLogin .mlog-sign .mlog .btn-mlog a:focus-visible {
    outline: 2px solid var(--pc-moss);
    outline-offset: 3px;
}

/* ----- 하단 링크 ----- */
#simpleLogin .bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    opacity: 0;
    animation: pc-rise 0.8s var(--pc-ease) 1.08s forwards;
}

#simpleLogin .bottom-links a {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--pc-gray);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

#simpleLogin .bottom-links a:hover {
    color: var(--pc-moss);
    background: rgba(148, 163, 136, 0.14);
}

#simpleLogin .bottom-links a:focus-visible {
    outline: 2px solid var(--pc-moss);
    outline-offset: 2px;
}

#simpleLogin .bottom-links .divider {
    color: rgba(45, 62, 51, 0.2);
    font-size: 12px;
}

/* 비밀번호 표시/숨기기 토글 (외부 스크립트 병행 대비) */
#loginWrap .pwd {
    position: relative;
}

#loginWrap .password-toggle {
    position: absolute;
    right: 12px;
    bottom: 16px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #9aa39a;
    line-height: 0;
    z-index: 2;
    transition: color 0.2s ease;
}

#loginWrap .password-toggle:hover {
    color: var(--pc-moss);
}

#loginWrap .password-toggle svg {
    display: block;
}

/* ===== 5. 키프레임 ===== */
@keyframes pc-kenburns {
    from {
        transform: scale(1.1);
        object-position: 40% 44%;
    }
    to {
        transform: scale(1.2);
        object-position: 46% 50%;
    }
}

@keyframes pc-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pc-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pc-line-up {
    from { transform: translateY(115%); }
    to { transform: translateY(0); }
}

@keyframes pc-sheet-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pc-form-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 4.5 페이지별 컴포넌트 (basket=비회원구매 / order=주문탭·비회원주문조회) =====
   장바구니·주문 로그인은 메인과 동일한 시네마틱 히어로+시트를 공유하고,
   해당 페이지 고유 기능만 시트 안에 얹는다. (login.css 단일 정본) */

/* ----- (basket) 비회원 구매 ----- */
#simpleLogin.login-version-purchase .btn-non-member {
    margin-top: 16px;
    padding-top: 16px;
    text-align: center;
    border-top: 1px solid rgba(45, 62, 51, 0.10);
    opacity: 0;
    animation: pc-rise 0.8s var(--pc-ease) 1.16s forwards;
}

#simpleLogin.login-version-purchase .btn-non-member a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--pc-gray);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

#simpleLogin.login-version-purchase .btn-non-member a:hover {
    color: var(--pc-moss);
}

/* ----- (order) 히어로 살짝 낮춰 주문조회 탭이 덜 묻히게 ----- */
#simpleLogin.login-version-order .hero-stage {
    min-height: 48svh;
}

/* ----- (order) 탭 (일반회원 로그인 / 비회원 주문조회) ----- */
#simpleLogin.login-version-order .cw-tab {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-bottom: 1.5px solid rgba(45, 62, 51, 0.14);
    gap: 0;
    opacity: 0;
    animation: pc-rise 0.8s var(--pc-ease) 0.66s forwards;
}

#simpleLogin.login-version-order .cw-tab li {
    flex: 1;
    text-align: center;
}

#simpleLogin.login-version-order .cw-tab li a {
    display: block;
    padding: 14px 12px;
    color: #7d857c;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

#simpleLogin.login-version-order .cw-tab li.now a,
#simpleLogin.login-version-order .cw-tab li.active a {
    color: var(--pc-deep);
    border-bottom-color: var(--pc-moss);
}

#simpleLogin.login-version-order .cw-tab li a:hover {
    color: var(--pc-moss);
}

#simpleLogin.login-version-order .tab-content {
    display: none;
}

#simpleLogin.login-version-order .tab-content.active {
    display: block;
    animation: pc-fade 0.35s ease;
}

/* ----- (order) 비회원 주문조회 폼 ----- */
#simpleLogin.login-version-order .login-form .form-textfield {
    margin: 4px 0 8px;
}

#simpleLogin.login-version-order .login-form .frm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#simpleLogin.login-version-order .login-form .frm-list li {
    margin-bottom: 12px;
}

#simpleLogin.login-version-order .login-form .frm-list label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--pc-moss);
    text-align: left;
}

#simpleLogin.login-version-order .login-form .frm-list input[type="text"] {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1.5px solid rgba(45, 62, 51, 0.18);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--pc-ink);
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#simpleLogin.login-version-order .login-form .frm-list input:focus {
    outline: none;
    border-color: var(--pc-moss);
    background: var(--pc-white);
    box-shadow: 0 0 0 3px rgba(89, 112, 81, 0.16);
}

/* 주문조회 버튼 — 딥그린(아이디 로그인 버튼과 동일) */
#simpleLogin.login-version-order .btn-order {
    margin-top: 6px;
}

#simpleLogin.login-version-order .btn-order a {
    display: block;
    width: 100%;
    height: 58px;
    line-height: 58px;
    border: none;
    border-radius: 17px;
    background: var(--pc-deep);
    color: var(--pc-cream);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 28, 22, 0.28);
    transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease), background 0.25s ease;
}

#simpleLogin.login-version-order .btn-order a:hover {
    transform: translateY(-2px);
    background: var(--pc-forest);
    box-shadow: 0 12px 28px rgba(20, 28, 22, 0.34);
}

#simpleLogin.login-version-order .link-join {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(45, 62, 51, 0.12);
    font-size: 14px;
    color: #55605a;
}

#simpleLogin.login-version-order .link-join a {
    color: var(--pc-deep);
    text-decoration: none;
    font-weight: 700;
}

#simpleLogin.login-version-order .link-join a:hover {
    color: var(--pc-moss);
    text-decoration: underline;
}

/* 모션 최소화 선호 시 전면 해제 */
@media (prefers-reduced-motion: reduce) {
    #simpleLogin .hero-img {
        animation: none !important;
        transform: scale(1.06) !important;
    }

    #simpleLogin .hero-scrim,
    #simpleLogin .brand-mark,
    #simpleLogin .brand-since,
    #simpleLogin .welcome-subtitle,
    #simpleLogin .welcome-title .title-line-inner,
    #simpleLogin .login-sheet,
    #simpleLogin .sns-login a,
    #simpleLogin .sns-note,
    #simpleLogin .id-login-toggle,
    #simpleLogin .bottom-links,
    #simpleLogin.login-version-purchase .btn-non-member,
    #simpleLogin.login-version-order .cw-tab {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== 6. 반응형 ===== */

/* 작은 모바일 */
@media (max-width: 360px) {
    #simpleLogin .hero-stage {
        padding: max(24px, env(safe-area-inset-top)) 20px 48px;
        min-height: 52svh;
    }

    #simpleLogin .brand-mark {
        width: 82px;
        margin-bottom: 22px;
    }

    #simpleLogin .sheet-inner {
        padding: 28px 18px calc(26px + env(safe-area-inset-bottom));
    }

    #simpleLogin .sns-login a {
        min-height: 56px !important;
    }

    #simpleLogin .sns-login a span {
        font-size: 15px !important;
    }

    #simpleLogin .bottom-links .divider {
        display: none;
    }
}

/* 태블릿 */
@media (min-width: 768px) {
    #simpleLogin .hero-stage {
        min-height: 60svh;
        padding: 56px 7vw 88px;
    }

    #simpleLogin .hero-content {
        max-width: 600px;
    }

    #simpleLogin .brand-mark {
        width: 108px;
        margin-bottom: 40px;
    }

    #simpleLogin .brand-since {
        font-size: 52px;
    }

    #simpleLogin .welcome-title {
        font-size: 38px;
    }

    #simpleLogin .welcome-subtitle {
        font-size: 16px;
        max-width: 420px;
    }

    #simpleLogin .login-sheet {
        margin-top: -44px;
    }

    #simpleLogin .sheet-inner {
        max-width: 480px;
        padding: 40px 32px 48px;
    }
}

/* 데스크톱: 좌 시네마틱 히어로 / 우 글래스 로그인 컬럼 분할 */
@media (min-width: 992px) {
    #simpleLogin {
        flex-direction: row;
        align-items: stretch;
        min-height: 100vh;
    }

    #simpleLogin .hero-stage {
        flex: 1.25;
        min-height: 100vh;
        padding: 64px 64px 72px;
    }

    #simpleLogin .hero-content {
        max-width: 540px;
    }

    #simpleLogin .brand-mark {
        width: 120px;
        margin-bottom: 60px;
    }

    #simpleLogin .brand-since {
        font-size: 62px;
        margin-bottom: 12px;
    }

    #simpleLogin .welcome-title {
        font-size: 42px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    #simpleLogin .welcome-subtitle {
        font-size: 17px;
        max-width: 440px;
    }

    /* 우측 유리 컬럼: 히어로 사진 위에 뜬 게 아니라 옆에 서므로
       크림 반투명 배경 + 시트 상단 라운드 제거 */
    #simpleLogin .login-sheet {
        flex: 0 0 clamp(400px, 38%, 500px);
        margin-top: 0;
        padding-top: 0;
        border-radius: 0;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 249, 240, 0.9);
        box-shadow: -26px 0 60px rgba(20, 28, 22, 0.34);
        display: flex;
        align-items: center;
        animation-name: pc-rise;
    }

    #simpleLogin .login-sheet::after {
        border-radius: 0;
    }

    #simpleLogin .sheet-handle {
        display: none;
    }

    #simpleLogin .sheet-inner {
        width: 100%;
        max-width: 420px;
        padding: 72px 48px;
    }
}

/* 와이드 */
@media (min-width: 1200px) {
    #simpleLogin .hero-stage {
        padding: 72px 88px 84px;
    }

    #simpleLogin .brand-since {
        font-size: 72px;
    }

    #simpleLogin .welcome-title {
        font-size: 48px;
    }

    #simpleLogin .sheet-inner {
        max-width: 440px;
    }
}

/* BASIC css end */

