/* BASIC css start */
/* ===============================
   SACHEONMALL FOOTER (FINAL)
   - 상단: 로고 한 줄(양쪽 여백 줄이고 고르게 배치)
   - 중단: 고객센터(가로형/노란 전화 버튼/운영시간)
   - 하단: 사업자 정보
================================ */

/* 공통 */
#footer_rel_link,
#footer_cs,
#footer_info{
  font-family: inherit;
}

#footer_rel_link ul,
#footer_cs > div,
#footer_info > div{
  width:1200px;
  margin:0 auto;
  padding-left:0;
}

/* ===============================
   1) 상단 로고 라인 (여백 줄이고 가로로 “꽉 찬 느낌”)
================================ */
#footer_rel_link{
  background:#fff;
  border-top:1px solid #e9edf2;
}

#footer_rel_link ul{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}

#footer_rel_link li{
  list-style:none;
  flex:1;
  display:flex;
  justify-content:center;
}

#footer_rel_link a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:8px 6px;
}

#footer_rel_link a:after{
  display:none !important;
}

#footer_rel_link img{
  height:28px;
  max-width:170px;
  object-fit:contain;
}

#footer_rel_link li:first-child img{
  height:30px;
  max-width:190px;
}

/* ===============================
   2) 고객센터 영역 (NEW)
================================ */
/* ===============================
   FOOTER CS (A안: 한 덩어리 + 가운데 정렬)
================================ */

/* 묻고답하기/공지 숨김 유지 */
#footer_cs .section.type2,
#footer_cs .section.type3{
  display:none !important;
}

#footer_cs{
  background:linear-gradient(180deg,#2f5bb0 0%, #274b90 100%);
}

/* wrapper */
#footer_cs > div{
  width:1200px;
  margin:0 auto;
  padding:26px 0;
}

#footer_cs .csWrap{
  display:flex;
  align-items:center;
  justify-content:center;      /* ✅ 전체를 가운데로 */
  gap:26px;                    /* ✅ “붙어있지만 숨 쉴 정도” */
  padding:16px 22px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}

/* 아이콘 */
#footer_cs .csIcon{
  width:88px;
  height:88px;
  border-radius:16px;
  background:rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
#footer_cs .csIcon img{
  width:56px;
  height:56px;
  object-fit:contain;
  display:block;
}

/* 가운데(고객센터 + 버튼) */
#footer_cs .csMain{
  display:flex;
  align-items:center;
  gap:16px;                    /* ✅ 제목/버튼 간격 */
  flex:0 0 auto;
  min-width:0;
}

#footer_cs .csTitle{
  color:#fff;
  font-size:22px;
  font-weight:900;
  letter-spacing:-0.5px;
  white-space:nowrap;
}
#footer_cs .csTitleSub{
  font-weight:800;
  color:#ffd76b;
  margin-left:6px;
}

/* 전화 버튼 */
#footer_cs .csCallBtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffe08a 0%, #ffc940 100%);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
  flex:0 0 auto;
}
#footer_cs .csCallBtn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 30px rgba(0,0,0,.22);
}

/* 버튼 안 전화 아이콘(이미지 없이 CSS로) */
#footer_cs .csCallIco{
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgba(0,0,0,.12);
  position:relative;
  flex:0 0 auto;
}
#footer_cs .csCallIco:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:14px;
  transform:translate(-50%,-50%) rotate(0deg);
  background:url("/design/sacheonmal/img/ic_tel_small.png") no-repeat 50% 50%;
  background-size:contain;
}
/* ↑ ic_tel_small.png 없으면 아래처럼 “텍스트 아이콘”으로 대체 가능
#footer_cs .csCallIco:before{
  content:"☎";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-52%);
  font-size:14px;
  color:#222;
}
*/

#footer_cs .csCallNum{
  font-size:30px;
  font-weight:900;
  color:#1a1a1a;
  letter-spacing:-0.6px;
  line-height:1;
}

/* 운영시간(오른쪽, 한 덩어리로 붙이기) */
#footer_cs .csTime{
  width:320px;
  flex:0 0 auto;
  padding-left:18px;
  border-left:1px solid rgba(255,255,255,.18);
}

#footer_cs .csTimeHead{
  color:#ffd76b;
  font-weight:900;
  font-size:14px;
  margin-bottom:8px;
  letter-spacing:-0.2px;
}

#footer_cs .csTimeList{
  list-style:none;
  margin:0;
  padding:0;
}
#footer_cs .csTimeList li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:13px;
  color:rgba(255,255,255,.92);
  line-height:1.55;
  margin:2px 0;
}
#footer_cs .csTimeList .k{
  width:38px;
  flex:0 0 38px;
  color:rgba(255,255,255,.78);
  font-weight:800;
}
#footer_cs .csTimeList .v{
  font-weight:700;
}

/* 반응형 */
@media (max-width:1240px){
  #footer_cs > div{ width:92%; }
}

@media (max-width:900px){
  #footer_cs .csWrap{
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:14px;
  }
  #footer_cs .csIcon{
    width:72px; height:72px;
  }
  #footer_cs .csIcon img{
    width:46px; height:46px;
  }
  #footer_cs .csMain{
    width:100%;
    gap:12px;
    flex-wrap:wrap;
  }
  #footer_cs .csTitle{ font-size:18px; }
  #footer_cs .csCallNum{ font-size:26px; }
  #footer_cs .csTime{
    width:100%;
    border-left:0;
    padding-left:0;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.18);
  }
}
/* ===============================
   3) 하단 정보
================================ */
#footer_info{
  background:#121826;
}

#footer_info > div{
  padding:28px 0 70px;
}

/* 하단 메뉴 */
#fnb{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

#fnb li{
  list-style:none;
}

#fnb li:before{
  display:none !important;
}

#fnb a{
  display:inline-flex;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.85);
  font-size:14px;
  text-decoration:none;
}

#fnb li:first-child a{
  background:rgba(241,90,34,.18);
  color:#ffb199;
}

#fnb a:hover{
  background:rgba(255,255,255,.1);
}

/* 주소/사업자 정보 */
#footer_info address{
  margin-top:24px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 40px;
  line-height:1.65;
}

#footer_info address dl{
  margin:0;
}

#footer_info address dl:first-child{
  grid-column:1 / -1;
}

#footer_info dt{
  display:inline;
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.5);
}

#footer_info dt:after{
  content:": ";
}

#footer_info dd{
  display:inline;
  font-size:13px;
  color:rgba(255,255,255,.75);
  padding-right:12px;
}

#footer_info dd a{
  color:#fff;
  text-decoration:none;
}

#footer_info p{
  grid-column:1 / -1;
  margin-top:16px;
  font-size:12px;
  color:rgba(255,255,255,.45);
}

/* ===============================
   4) 반응형
================================ */
@media (max-width:1240px){
  #footer_rel_link ul,
  #footer_cs > div,
  #footer_info > div{
    width:92%;
  }
}

@media (max-width:980px){
  #footer_cs .csWrap{
    flex-direction:column;
    align-items:stretch;
    gap:16px;
  }
  #footer_cs .csMain{
    min-width:auto;
  }
  #footer_cs .csTime{
    flex:1;
    border-left:0;
    padding-left:0;
    border-top:1px solid rgba(255,255,255,.14);
    padding-top:14px;
  }
}

@media (max-width:900px){
  #footer_rel_link ul{
    flex-wrap:wrap;
    justify-content:flex-start;
  }
  #footer_rel_link li{
    flex:0 0 33.33%;
  }
  #footer_rel_link img{
    height:24px;
    max-width:150px;
  }

  #footer_cs .csIcon{
    width:88px;
    height:88px;
  }
  #footer_cs .csIcon img{
    width:62px;
    height:62px;
  }
  #footer_cs .csTitleText,
  #footer_cs .csTitleEm{
    font-size:22px;
  }
  #footer_cs .csCallNum{
    font-size:28px;
  }

  #footer_info address{
    grid-template-columns:1fr;
  }
}

/* BASIC css end */

