@charset "utf-8";
/* DB생명 설계사 포털 — 현행 모바일 PWA (As-Is 복제) 보정 스타일 */

html, body { -webkit-text-size-adjust:100%; }
body {
  font-family: "HelveticaNeue", "Helvetica Neue", "AppleSDGothicNeo", "Apple SD Gothic Neo",
               "Malgun Gothic", "맑은 고딕", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  background:#fff;
}
input, button, select, textarea { font-family:inherit; }
#app { position:relative; background:#fff; min-height:100vh; overflow-x:hidden; }
html { overflow-x:hidden; }

/* PC에서 볼 때는 모바일 화면(390~430) 프레임으로 보여 준다 */
@media (min-width: 600px) {
  body { background:#e8ebef; }
  #app { width:430px; margin:0 auto; box-shadow:0 0 24px rgba(0,0,0,.12); min-height:100vh; }
  .fixed_nav { width:430px; left:50%; margin-left:-215px; right:auto; }
  .layer-menu { width:430px; left:50%; margin-left:-215px; right:auto; }
  .layer-pop { width:430px; left:50%; margin-left:-215px; right:auto; }
}

/* ---------- 가로 스크롤 슬라이더 ---------- */
[data-slider] { overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; -ms-overflow-style:none; scroll-snap-type:x proximity; }
[data-slider]::-webkit-scrollbar { display:none; width:0; height:0; }
[data-slider] > .swiper-wrapper { display:flex; align-items:flex-start; }
[data-slider] > .swiper-wrapper > .swiper-slide { flex:0 0 auto; scroll-snap-align:start; }

.conts-list { padding-left:20px !important; }
.conts-list .thumb img { width:100%; height:auto; display:block; }
.top_banners .swiper-pagination { position:absolute; left:0; right:0; }
.conts-list > .swiper-wrapper { gap:10px; padding-right:20px; box-sizing:border-box; }
.top_banners [data-slider] > .swiper-wrapper { gap:20px; }
.top_banners [data-slider] { overflow:visible; }
.top_banners .db-banner-track { position:relative; z-index:5; display:flex; gap:20px; overflow-x:auto; scrollbar-width:none;
  padding-left:6.5%; box-sizing:border-box; }
.top_banners .db-banner-track::-webkit-scrollbar { display:none; }
.top_banners .db-banner-track > a { flex:0 0 auto; display:block; border-radius:10px; overflow:hidden; }
.top_banners .db-banner-track img { display:block; width:100%; height:auto; border-radius:10px; }

/* 리스트(인기 콘텐츠) */
.contents-slider.main-box .product_slider { padding-left:20px; box-sizing:border-box; }
.contents-slider.main-box .product_slider .swiper-wrapper { gap:10px; }
.contents-slider.main-box .product_slider .cont-box { flex:0 0 auto; }
.contents-slider .mtit { padding:0 20px; }

/* 콘텐츠 목록 (front.css 의 table-cell 레이아웃을 그대로 사용) */
.contents-box li .thum > img { width:100%; height:auto; display:block; }
.contents-box li .text_box .tit { word-break:keep-all; }
.contents-box li .text_box .info span.date:before { display:none; }
.list-srhBox { padding:10px 15px; }
.list-srhBox .ConSrhBox { position:relative; }
.list-srhBox input[type=text] { width:100%; height:40px; padding:0 46px 0 12px; border:1px solid #d5d5d5;
  border-radius:6px; box-sizing:border-box; font-size:14px; }
.list-srhBox .btn_srh { position:absolute; top:0; right:0; width:40px; height:40px; font:0/0 a;
  background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3e%3cpath fill-rule='evenodd' fill='%2300854A' d='M34.3 34.48a3.27 3.27 0 01-4.62 0l-5.77-5.76a15.24 15.24 0 114.62-4.62l5.77 5.77a3.26 3.26 0 010 4.61zM15.71 5.03a10.89 10.89 0 100 21.78 10.89 10.89 0 000-21.78z'/%3e%3c/svg%3e") 50% 50% no-repeat;
  background-size:18px; }
.empty-list { padding:60px 0; color:#a1a1a1; font-size:14px; text-align:center; }
.contents-box .tit_box { display:flex; align-items:center; justify-content:space-between; padding:10px 0 6px; }
.contents-box .tit_box h2 { color:#333; font-size:18px; font-weight:bold; }
.contents-box .tit_box select { height:30px; padding:0 6px; border:1px solid #d5d5d5; border-radius:4px;
  color:#666; font-size:12px; background:#fff; }

/* 상세 */
.detail_page #container { padding-bottom:50px; }
.conts-detail[data-slider] { scroll-snap-type:x proximity; scroll-behavior:auto; }
.conts-detail[data-slider] > .swiper-wrapper { align-items:flex-start; }
.conts-detail .swiper-slide { background:#fff; scroll-snap-align:start; }
.conts-detail .swiper-slide.bgFFF { background:#fff; }
.conts-detail .card_img { font:0/0 a; background:#f2f4f6; }
.conts-detail .card_img img { display:block; width:100%; height:auto; }
.cts_item-box { padding:20px 15px 30px; }
.cts_item-box h2 { color:#333; font-size:17px; font-weight:bold; }
.cts_item-box .item-list { margin-top:15px; }
.cts_item-box .item-list ul { display:flex; flex-wrap:wrap; gap:12px 2%; }
.cts_item-box .item-list li { width:32%; }
.cts_item-box .item-list li a { display:block; }
.cts_item-box .item-list li img { width:100%; height:auto; border-radius:7px; display:block; }
.cts_item-box .item-list li p { margin-top:7px; color:#333; font-size:12px; line-height:1.35;
  max-height:33px; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical;
  -webkit-line-clamp:2; word-break:keep-all; }
.detail_page .db-dots { position:fixed; bottom:61px; left:0; right:0; text-align:center; z-index:99;
  font:0/0 a; pointer-events:none; }
.detail_page .db-dots span { display:inline-block; width:6px; height:6px; margin:0 3px;
  border-radius:50%; background:#c9c9c9; }
.detail_page .db-dots span.on { background:#e6007b; width:18px; border-radius:30px; }

/* 공유 레이어 */
.share_layer .layer-conts > p { padding:0 6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.share_list .url input { width:calc(100% - 76px); }

/* 로그인 */
.login .input_wrap { margin-top:10px; }
.login .input_wrap input { width:100%; height:54px; padding:0 12px 0 44px; border:0;
  border-radius:0; box-sizing:border-box; font-size:15px; background:transparent; }
.login .input_wrap.id input { margin-top:0; }
.login .chkLoginSave { display:flex; align-items:center; margin-top:14px; }
.login .chkLoginSave input { position:absolute; opacity:0; width:0; height:0; }
.login .chkLoginSave label { display:flex; align-items:center; color:#666; font-size:13px;
  cursor:pointer; }
.login .chkLoginSave label:before { content:""; display:inline-block; width:20px; height:20px;
  margin-right:7px; border:1px solid #c9c9c9; border-radius:50%; box-sizing:border-box;
  background:#fff; }
.login .chkLoginSave input:checked + label:before { border-color:#00854a;
  background:#00854a url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3e%3cpath d='M6 14l8 8L30 6v8L14 30l-8-8v-8z' fill='%23fff'/%3e%3c/svg%3e") 50% 50% no-repeat;
  background-size:13px; }
.login .btn_login { display:block; width:100%; height:52px; margin-top:18px; border:0;
  border-radius:6px; background:#00854a; color:#fff; font-size:17px; font-weight:bold; }
.login .login_util { display:flex; justify-content:center; margin-top:16px; }
.login .login_util p { font-size:13px; }
.login .login_util a { color:#666; text-decoration:underline; text-underline-offset:2px; }
.login .desc { margin-top:10px; color:#a1a1a1; font-size:12px; }
.login article h1 { display:flex; align-items:center; justify-content:center; }
.login article { padding:40px 22px 30px; }
.login .copy { margin-top:40px; }

/* 비밀번호 찾기/변경 */
.new_pass .pass_btns .btn-positive,
.new_pass .pass_btns .btn-negative { display:block; width:100%; height:50px; border-radius:6px;
  font-size:16px; font-weight:bold; text-align:center; line-height:50px; box-sizing:border-box; }
.new_pass .pass_btns .btn-negative { margin-top:8px; background:#4f4c4d; color:#fff; }
.new_pass .np2_btns .btn-positive { display:block; width:100%; height:52px; background:#00854a;
  color:#fff; font-size:16px; font-weight:bold; line-height:52px; text-align:center; border:0; }
.new_pass .np2_btns .btn-negative { display:block; width:100%; height:52px; margin-top:8px;
  background:#4f4c4d; color:#fff; font-size:16px; font-weight:bold; line-height:52px; text-align:center; }

/* 검색 */
.search-box .btn-selected span { font-size:13px; color:#fff; line-height:30px; text-align:center; }
.search-result-head { padding:16px 15px 6px; color:#333; font-size:14px; }
.search-result-head b { color:#00854a; }
.srh_keyword.main-box { background:#fff; }
/* 마이페이지 */
.mymenu .my_detail { position:relative; }
.mymenu .my_detail .name em { display:block; margin-top:2px; }
.mymenu .my_info .thum { display:block; }
.mymenu .text_intro { white-space:pre-line; }

/* 운세/기프티쇼 데모 */
.demo-card { margin:15px; padding:20px; border:1px solid #e4e4e4; border-radius:10px; background:#fff; }
.demo-card h2 { color:#00854a; font-size:18px; font-weight:bold; }
.demo-card .sub { margin-top:6px; color:#a1a1a1; font-size:12px; }
.demo-card .big { margin-top:18px; color:#333; font-size:15px; line-height:1.6; }
.demo-note { margin:15px; padding:12px 14px; background:#f2f4f6; border-radius:8px;
  color:#7a8190; font-size:12px; line-height:1.6; }
.goods-grid { display:flex; flex-wrap:wrap; padding:15px 10px; }
.goods-grid .goods { width:50%; padding:5px; box-sizing:border-box; }
.goods-grid .goods img { width:100%; display:block; border-radius:8px; }
.goods-grid .goods .brand { margin-top:8px; color:#a1a1a1; font-size:12px; }
.goods-grid .goods .name { color:#333; font-size:13px; line-height:1.35; }
.goods-grid .goods .price { margin-top:6px; color:#0c9ef8; font-size:14px; font-weight:bold; }

/* 토스트 */
.db-toast { position:fixed; left:50%; bottom:70px; transform:translateX(-50%); z-index:10000;
  background:rgba(0,0,0,.78); color:#fff; font-size:13px; padding:10px 18px; border-radius:20px;
  opacity:0; transition:opacity .25s; pointer-events:none; }
.db-toast.on { opacity:1; }

/* 이용약관 안내 */
.policy { padding:20px 18px 40px; }
.policy h2 { color:#333; font-size:17px; font-weight:bold; }
.policy p { margin-top:12px; color:#666; font-size:14px; line-height:1.7; }

@media print {
  .db_header, .layer-menu, .fixed_nav, .db-dots, .dt-share, footer, .btn_top { display:none !important; }
  .conts-detail [data-slider] > .swiper-wrapper { display:block; }
  .conts-detail .swiper-slide { width:100% !important; }
}

/* 레이어 표시 */
.layer-pop.on { display:block; }
.layer-pop.share_layer.on { position:fixed; top:0; left:0; right:0; bottom:0; z-index:9000; }
