@charset "utf-8";

/* =========================================================
   Dplaza 매장가입 3단계 공통 스타일
   ========================================================= */
.storeRegister,
.storeRegister *,
.storeJoin,
.storeJoin *,
.storeResult,
.storeResult * { box-sizing:border-box; }

.storeRegister,
.storeJoin,
.storeResult {
    width:100%;
    margin:0;
    padding:0 0 50px;
    color:#303640;
    font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif;
    font-size:14px;
    line-height:1.6;
    letter-spacing:-.35px;
}
.storeRegister a,.storeJoin a,.storeResult a { color:inherit;text-decoration:none; }
.storeRegister img,.storeJoin img,.storeResult img { max-width:100%;vertical-align:middle; }
.storeRegister button,.storeRegister input,.storeRegister select,.storeRegister textarea,
.storeJoin button,.storeJoin input,.storeJoin select,.storeJoin textarea,
.storeResult button { font-family:inherit; }

/* 상단 제목 */
.storeRegister__heading,.storeResult__heading {
    margin:0 0 24px;
    padding-bottom:20px;
    border-bottom:1px solid #e3e6ea;
}
.storeRegister__eyebrow,.storeResult__eyebrow {
    display:block;margin-bottom:4px;color:#ef2448;font-size:13px;font-weight:700;
}
.storeRegister__title,.storeResult__title {
    margin:0;color:#20242b;font-size:24px;font-weight:700;line-height:1.35;letter-spacing:-1.3px;
}
.storeRegister__description,.storeResult__description {
    margin:8px 0 0;color:#737b86;font-size:15px;line-height:1.65;
}

/* 단계 표시 */
.storeSteps {
    display:flex;position:relative;width:100%;margin:0 0 34px;padding:0;
    border:1px solid #e4e7eb;border-radius:7px;background:#fff;overflow:hidden;list-style:none;
}
.storeStep {
    display:flex;flex:1 1 33.333%;min-height:92px;align-items:center;justify-content:center;
    gap:12px;padding:20px 16px;background:#fff;
}
.storeStep + .storeStep { border-left:1px solid #edf0f2; }
.storeStep__number {
    display:flex;flex:0 0 38px;width:38px;height:38px;align-items:center;justify-content:center;
    border:1px solid #d8dde3;border-radius:50%;background:#fff;color:#a0a7b0;font-size:13px;font-weight:700;
}
.storeStep__text { display:flex;flex-direction:column;min-width:0; }
.storeStep__label { margin-bottom:2px;color:#a0a7b0;font-size:13px;font-weight:700; }
.storeStep__title { color:#8b929c;font-size:15px;font-weight:700; }
.storeStep.is-active { background:#fff7f8; }
.storeStep.is-active .storeStep__number { border-color:#ef2448;background:#ef2448;color:#fff;box-shadow:0 4px 12px rgba(239,36,72,.2); }
.storeStep.is-active .storeStep__label,.storeStep.is-active .storeStep__title { color:#ef2448; }
.storeStep.is-complete .storeStep__number { border-color:#303640;background:#303640;color:#fff; }
.storeStep.is-complete .storeStep__label,.storeStep.is-complete .storeStep__title { color:#404750; }

/* 기존 step 이미지 임시 호환 */
.storeJoin__step { width:100%;margin:0 0 18px;padding:0;border-bottom:2px solid #24384f;text-align:center; }
.storeJoin__step img { display:block;width:100%;height:auto; }

/* STEP 01 약관 */
.storeAgreementGuide { margin-bottom:28px;padding:18px 20px;border:1px solid #e5e8ec;border-radius:9px;background:#f8f9fa; }
.storeAgreementGuide__title { margin:0 0 10px;color:#303640;font-size:15px;font-weight:700; }
.storeAgreementGuide ul { margin:0;padding:0;list-style:none; }
.storeAgreementGuide li { position:relative;margin-top:5px;padding-left:13px;color:#666e79;font-size:13px;line-height:1.65; }
.storeAgreementGuide li::before { content:"";position:absolute;top:10px;left:0;width:4px;height:4px;border-radius:50%;background:#ef2448; }
.storeAgreementCard { margin-bottom:24px;border:1px solid #e2e6ea;border-radius:10px;background:#fff;overflow:hidden; }
.storeAgreementCard__header { display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #eceff2;background:#fafbfc; }
.storeAgreementCard__title { margin:0;color:#252a31;font-size:18px;font-weight:700; }
.storeAgreementCard__description { margin:5px 0 0;color:#7c8490;font-size:13px; }
.storeAgreementCard__badge { flex:0 0 auto;padding:4px 9px;border-radius:20px;background:#fff0f3;color:#ef2448;font-size:11px;font-weight:700; }
.storeAgreementCard__body { padding:22px; }
.storeAgreementCard textarea,.storeAgreementContent { display:block;width:100%;height:220px;min-height:180px;margin:0;padding:18px;border:1px solid #dfe3e7;border-radius:7px;outline:none;background:#fff;color:#5c6570;font-size:13px;line-height:1.75;resize:vertical;overflow-y:auto; }
.storeAgreementChoice { display:flex;flex-wrap:wrap;gap:10px 22px;padding-top:15px; }
.storeRadio,.storeCheck { display:inline-flex;align-items:center;gap:8px;color:#515964;cursor:pointer; }
.storeRadio input,.storeCheck input { width:17px;height:17px;margin:0;accent-color:#ef2448;cursor:pointer; }

/* STEP 02 정보입력 */
.storeJoin__heading { display:flex;align-items:flex-end;gap:20px;margin-bottom:12px;padding:0 0 13px;border-bottom:1px solid #dfe3e7; }
.storeJoin__heading h2 { margin:0;color:#20242b;font-size:18px;font-weight:700;line-height:1.35;letter-spacing:-1px; }
.storeJoin__notice { display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 20px;color:#737b86;font-size:12px;text-align:right; }
.storeJoin__notice p { margin:0; }
.requiredMark,.joinField__label em { color:#ef2448;font-style:normal; }
.joinFields { width:100%;border-top:2px solid #303640;border-right:1px solid #e2e6ea;border-left:1px solid #e2e6ea;background:#fff; }
.joinField { display:grid;grid-template-columns:48px 180px minmax(0,1fr);min-height:72px;border-bottom:1px solid #e5e8ec; }
.joinField__icon { display:flex;align-items:center;justify-content:center;border-right:1px solid #e5e8ec;background:#f8f9fa; }
.iconText { color:#65707c;font-size:13px;font-weight:700; }
.joinField__label { display:flex;flex-direction:column;justify-content:center;padding:14px;border-right:1px solid #e5e8ec;background:#fafbfc; }
.joinField__label strong { color:#303640;font-size:15px;font-weight:700;line-height:1.4; }
.joinField__label span { margin-top:3px;color:#8a929c;font-size:13px;line-height:1.4; }
.joinField__control { display:flex;min-width:0;align-items:center;padding:11px 14px;background:#fff; }
.joinField__control--button,.joinField__control--password { gap:10px; }
.joinField__control--stack { flex-direction:column;align-items:stretch;justify-content:center;gap:9px; }
.joinInput,.storeJoin select,.storeJoin textarea { width:100%;height:42px;margin:0;padding:0 12px;border:1px solid #d6dbe1;border-radius:6px;outline:none;background:#fff;color:#303640;font-size:14px;line-height:40px;transition:border-color .15s ease,box-shadow .15s ease; }
.joinInput::placeholder { color:#a1a8b0; }
.joinInput:focus,.storeJoin select:focus,.storeJoin textarea:focus { border-color:#ef2448;box-shadow:0 0 0 3px rgba(239,36,72,.09); }
.joinInput[readonly],.joinInput[disabled] { background:#f1f3f5;color:#7f8791; }
.joinField__control--button .joinInput,.joinField__control--password .joinInput { flex:1 1 auto;min-width:0; }
.joinBtn,.passwordToggle,.captchaReload { display:inline-flex;flex:0 0 auto;min-width:88px;height:40px;align-items:center;justify-content:center;margin:0;padding:0 14px;border:1px solid #6c7480;border-radius:6px;outline:none;background:#6c7480;color:#fff;font-size:13px;font-weight:700;line-height:38px;cursor:pointer; }
.joinBtn--outline { border-color:#ef2448;background:#fff;color:#ef2448; }
.joinBtn--outline:hover { background:#fff4f6; }
.passwordToggle { min-width:58px;border-color:transparent;background:transparent;color:#737b86; }
.passwordToggle:hover { border-color:#e1e5e9;background:#f8f9fa;color:#ef2448; }
.smsAgree { display:inline-flex;align-items:center;gap:7px;color:#66707a;font-size:12px;cursor:pointer; }
.smsAgree input { width:16px;height:16px;margin:0;accent-color:#ef2448; }
.keywordGrid { display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }

/* 파일 선택 */
.fileSelect { display:flex;width:100%;min-height:42px;align-items:center;border:1px solid #d6dbe1;border-radius:6px;background:#fff;overflow:hidden;cursor:pointer; }
.fileSelect input[type=file] { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }
.fileSelect__button { display:flex;flex:0 0 96px;min-height:40px;align-items:center;justify-content:center;border-right:1px solid #dfe3e7;background:#f3f5f7;color:#424952;font-size:13px;font-weight:700; }
.fileSelect__name { min-width:0;padding:0 13px;color:#858d97;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }

/* 사진 */
.joinField--photos { min-height:260px; }
.photoGrid { display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.photoItem { position:relative;min-width:0; }
.photoInput { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }
.photoBox { display:block;position:relative;width:100%;aspect-ratio:1/1;border:1px dashed #cfd5dc;border-radius:8px;background:#fafbfc;overflow:hidden;cursor:pointer; }
.photoBox:hover { border-color:#ef2448;background:#fff7f8; }
.photoPreview { display:block;width:100%;height:100%;object-fit:cover; }
.photoPlaceholder { display:flex;position:absolute;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#8a929c;font-size:12px; }
.photoPlaceholder b { color:#ef2448;font-size:25px;font-weight:400;line-height:1; }
.photoDelete { width:100%;height:30px;margin-top:6px;border:1px solid #d9dee4;border-radius:5px;background:#fff;color:#68717c;font-size:12px;cursor:pointer; }
.photoDelete:hover { border-color:#ef2448;color:#ef2448; }
.is-hidden { display:none !important; }

/* 캡차 */
.captchaRow { display:flex;width:100%;flex-wrap:wrap;align-items:center;gap:8px; }
.captchaRow img { flex:0 0 auto;max-width:180px;height:55px;border:1px solid #dfe3e7;border-radius:5px;object-fit:contain;background:#fff; }
.captchaRow .joinInput { flex:1 1 180px;min-width:150px; }
.captchaReload { min-width:80px;border-color:#d8dde3;background:#fff;color:#5c6570; }
.captchaRowTop{
    display:flex;
    align-items:center;
    gap:8px;
}

.captchaGuide{
    margin:0;
    padding-left:2px;
    font-size:12px;
    color:#7a828c;
    line-height:1.6;
}

/* 제출 */
.storeJoin__submit { padding:30px 0 0;text-align:center; }
.joinSubmit { display:inline-flex;min-width:180px;height:48px;align-items:center;justify-content:center;padding:0 24px;border:1px solid #ef2448;border-radius:7px;background:#ef2448;color:#fff;font-size:15px;font-weight:700;line-height:46px;cursor:pointer; }
.joinSubmit:hover { border-color:#d91e40;background:#d91e40; }
.storeJoin__submit p { margin:12px 0 0;color:#89919b;font-size:15px; }
.storeJoin__submit p strong { color:#5a626c; }

/* 공통 버튼 */
.storeActions { display:flex;justify-content:center;gap:10px;margin-top:30px; }
.storeBtn { display:inline-flex;min-width:132px;height:46px;align-items:center;justify-content:center;padding:0 20px;border:1px solid transparent;border-radius:7px;font-size:14px;font-weight:700;line-height:44px;cursor:pointer; }
.storeBtn--primary { border-color:#ef2448;background:#ef2448;color:#fff !important; }
.storeBtn--primary:hover { border-color:#d91e40;background:#d91e40; }
.storeBtn--secondary { border-color:#d8dde3;background:#fff;color:#515963 !important; }

/* STEP 03 완료 */
.storeResultCard { padding:30px 30px;border:1px solid #e2e6ea;border-radius:7px;background:#fff;text-align:center; }
.storeResultIcon { display:flex;width:78px;height:78px;margin:0 auto 20px;align-items:center;justify-content:center;border-radius:50%;background:#fff0f3;color:#ef2448;font-size:38px;font-weight:700; }
.storeResultHeadline { margin:0;color:#20242b;font-size:24px;font-weight:700;line-height:1.45;letter-spacing:-1.2px; }
.storeResultText { margin:14px 0 0;color:#626b76;font-size:15px;line-height:1.75; }
.storeResultText strong { color:#ef2448; }
.storeBenefitBox { margin-top:28px;padding:20px;border-radius:7px;background:#f8f9fa;text-align:left; }
.storeBenefitBox h4,.storeProcessSection h4 { margin:0 0 14px;color:#252a31;font-size:18px;font-weight:700; }
.storeBenefitList { display:grid;margin:0;padding:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;list-style:none; }
.storeBenefitList li { position:relative;padding-left:22px;color:#59626d;font-size:15px;line-height:1.6; }
.storeBenefitList li::before { content:"✓";position:absolute;top:0;left:0;color:#ef2448;font-weight:700; }
.storeProcessSection { margin-top:28px;text-align:left; }
.storeProcessGrid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.storeProcessItem { min-height:150px;padding:20px 20px;border:1px solid #e2e6ea;border-radius:7px;background:#fff; }
.storeProcessNumber { display:inline-flex;width:30px;height:30px;margin-bottom:11px;align-items:center;justify-content:center;border-radius:50%;background:#fff0f3;color:#ef2448;font-size:13px;font-weight:700; }
.storeProcessItem strong { display:block;margin-bottom:7px;color:#303640;font-size:15px; }
.storeProcessItem p { margin:0;color:#737c87;font-size:15px;line-height:1.6; }
.storeProcessPeriod { margin-top:14px;padding:20px 20px;border:1px solid #ffd7de;border-radius:7px;background:#fff7f8;color:#525b66;font-size:18px;text-align:center; }
.storeProcessPeriod strong { color:#ef2448; }

@media screen and (max-width:760px) {
    .storeRegister__title,.storeResult__title { font-size:25px; }
    .storeSteps { display:block; }
    .storeStep { min-height:72px;justify-content:flex-start;padding:15px 18px; }
    .storeStep + .storeStep { border-top:1px solid #edf0f2;border-left:0; }
    .storeJoin__heading { display:block; }
    .storeJoin__notice { justify-content:flex-start;margin-top:8px;text-align:left; }
    .joinField { display:block; }
    .joinField__icon { display:none; }
    .joinField__label { padding:13px 16px 5px;border-right:0;background:#fff; }
    .joinField__control { padding:8px 16px 16px; }
    .joinField__control--button,.joinField__control--password { flex-wrap:wrap; }
    .joinField__control--button .joinInput,.joinField__control--password .joinInput { flex-basis:100%; }
    .keywordGrid,.photoGrid,.storeProcessGrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .storeBenefitList { grid-template-columns:1fr; }
    .storeResultCard { padding:40px 20px 34px; }
    .storeResultHeadline { font-size:24px; }
    .storeActions { flex-direction:column-reverse; }
    .storeBtn { width:100%; }
}

@media screen and (max-width:460px) {
    .keywordGrid,.photoGrid,.storeProcessGrid { grid-template-columns:1fr; }
}
