/*
 * 쇼핑몰 보정 스타일.
 * 화면 모양은 기존 CSS(/legacy/asset/...)가 정한다. 여기에는 기존 페이지 안에 인라인으로 있던 것과
 * 새로 생긴 상태(빈 배너 · 빈 랭킹 · 로그인 화면)만 둔다.
 */

/* 기존 CSS 가 body 배경을 비워 둬서, 어두운 테마 브라우저에서는 바탕이 검게 비친다 */
html, body { background: #fff; }

/* 상단 안내사항 띠 · 회원정보 — 기존 머리말 맨 앞 <style> 그대로 (한 줄 높이 30px 로 자른다) */
.ticker_img { height: 30px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.ticker { width: 500px; height: 30px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.ticker li { height: 30px; padding-top: 7px; padding-left: 0; margin: 0; }
.member_info { float: right; height: 30px; overflow: hidden; margin: 0; padding-top: 7px; padding-right: 10px; list-style: none; }

/* jssor 점 표시 — 기존 메인 각 슬라이더 안에 반복되던 <style> 을 한 곳으로 모았다 */
.jssorb03 { position: absolute; }
.jssorb03 div, .jssorb03 div:hover, .jssorb03 .av {
    position: absolute; width: 21px; height: 21px; text-align: center; line-height: 21px;
    color: white; font-size: 12px; overflow: hidden; cursor: pointer;
    background: url(/legacy/asset/ib/images/bo3.png) no-repeat;
}
.jssorb03 div { background-position: -5px -4px; }
.jssorb03 div:hover, .jssorb03 .av:hover { background-position: -35px -4px; }
.jssorb03 .av { background-position: -65px -4px; }
.jssorb03 .dn, .jssorb03 .dn:hover { background-position: -95px -4px; }
.jssor-loading-dim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; opacity: .7; }
.jssor-loading-icon { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(/legacy/asset/ib/images/loading.gif) no-repeat center center; }

/* 배너 · 상품이 아직 없을 때 */
.banner-empty {
    display: flex; align-items: center; justify-content: center;
    background: #f4f4f4; border: 1px dashed #ccc; color: #aaa; font-size: 12px;
}
.mcom01 .ranking-empty { width: 100%; padding: 60px 0; text-align: center; color: #aaa; font-size: 12px; float: none; }

/* 머리말: 로그인 회원 이름 · 로그아웃 */
.rtmn .member-name { font-weight: bold; }
.rtmn .logout-inline { display: inline; margin: 0; }
.rtmn .logout-inline button { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.rtmn .logout-inline button:hover { text-decoration: underline; }

/* 로그인 */
.login-box { max-width: 360px; margin: 48px auto; }
.login-box h1 { font-size: 22px; margin: 0 0 20px; }
.login-box label { display: block; margin-bottom: 12px; font-size: 14px; color: #555; font-weight: normal; }
.login-box input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; }
.login-box button { width: 100%; padding: 12px; border: 0; border-radius: 4px; background: #d4202a; color: #fff; font-size: 15px; cursor: pointer; }
.login-message { margin: 0 0 16px; padding: 10px 12px; background: #fff4e5; color: #8a4b00; font-size: 14px; border-radius: 4px; }

/* 셋트 상세: 기존 MsgOnlyOk 경고창 대신 잠깐 뜨는 알림 */
.set-toast {
    position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%); z-index: 2000;
    max-width: 480px; padding: 12px 20px; border-radius: 4px;
    background: rgba(40, 40, 40, .92); color: #fff; font-size: 13px; line-height: 1.6; white-space: pre-line; text-align: center;
}
/* 셋트 상세: 바꾼 부품 · 추가한 부품 글자 (기존 font color=1E77FE) */
.set-changed { color: #1e77fe; }
#UpdateList table { width: 460px; font-size: 9pt; }
#UpdateList td { height: 23px; vertical-align: top; padding: 1px 2px; }
/* 머리말 '딜러전용 부품구매' 탭 (기존 ClickProduct(5)). topmn01ov · topmn04 그림과 같은 138×38, 켜지면 파란 바탕 */
.atmn .dealer-tab { display: block; width: 138px; height: 38px; padding-top: 3px; box-sizing: border-box;
    border: 1px solid #d4d4d4; background: #f4f4f4; color: #777; font-size: 11px; line-height: 15px; text-align: center; text-decoration: none; }
.atmn .dealer-tab:hover { color: #333; }
.atmn .dealer-tab.on { border-color: #0d47c9; background: #0d47c9; color: #fff; }
