/* CSS Document */
.facList {
  position: relative;
}
.facList .facItem {
  position: relative;
}
.facList .facItem.itemTitle {
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .facList .facItem.itemTitle {
    display: none;
  }
}
.facList .facItem.itemTitle .item {
  background-color: rgba(65, 69, 53, 0.1);
  border-radius: 20px;
}
.facList .facItem.itemTitle .storeText {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: normal;
  color: #414535;
}
@media (max-width: 1180px) {
  .facList .facItem.itemTitle .storeText {
    font-size: 16px;
  }
}
@media (max-width: 991px) {
  .facList .facItem.itemTitle .storeText {
    font-size: 16px;
  }
}
.facList .facItem:not(.itemTitle) + .facItem {
  border-top: 1px solid rgba(65, 69, 53, 0.2);
}
@media (max-width: 768px) {
  .facList .facItem:not(.itemTitle) + .facItem {
    margin-top: 1rem;
    border: none;
  }
}
.facList .item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px 20px;
}
@media (max-width: 1180px) {
  .facList .item {
    padding: 10px 16px;
  }
}
@media (max-width: 991px) {
  .facList .item {
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .facList .item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 0;
  }
}
.facList .storeText {
  position: relative;
  font-family: "Pretendard", "Noto Sans KR", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.625;
  color: #414535;
  text-align: center;
}
@media (max-width: 1180px) {
  .facList .storeText {
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  .facList .storeText {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .facList .storeText {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 0.625rem 1rem;
    width: 100%;
    text-align: left;
  }
  .facList .storeText > span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 5px 0;
  }
}
@media (max-width: 440px) {
  .facList .storeText {
    font-size: 14px;
  }
}
.facList .storeText::before {
  position: relative;
  display: block;
  content: attr(data-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: normal;
  color: #414535;
  width: 100px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  background-color: rgba(65, 69, 53, 0.1);
  border-bottom: 1px solid rgba(65, 69, 53, 0.2);
  padding: 8px 10px;
}
@media (min-width: 769px) {
  .facList .storeText::before {
    display: none;
  }
}
@media (max-width: 440px) {
  .facList .storeText::before {
    width: 90px;
    font-size: 14px;
    padding: 6px 10px;
  }
}
.facList .storeText.name {
  width: 20%;
}
@media (max-width: 1499px) {
  .facList .storeText.name {
    width: 15%;
  }
}
@media (max-width: 768px) {
  .facList .storeText.name {
    width: 100%;
  }
  .facList .storeText.name a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.facList .storeText.time, .facList .storeText.phone {
  width: 15%;
}
@media (max-width: 991px) {
  .facList .storeText.time, .facList .storeText.phone {
    width: 17%;
  }
}
@media (max-width: 768px) {
  .facList .storeText.time, .facList .storeText.phone {
    width: 100%;
  }
}
.facList .storeText.gourl {
  width: 10%;
}
@media (max-width: 1499px) {
  .facList .storeText.gourl {
    width: 15%;
  }
}
@media (max-width: 991px) {
  .facList .storeText.gourl {
    width: 17%;
  }
}
.facList .storeText.gourl .btnBox {
  margin-top: 0;
}
@media (max-width: 768px) {
  .facList .storeText.gourl .btnBox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-column-gap: 8px;
       -moz-column-gap: 8px;
            column-gap: 8px;
  }
}
@media (max-width: 400px) {
  .facList .storeText.gourl .btnBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    row-gap: 8px;
  }
}
.facList .storeText.gourl .btnBox .btn {
  min-width: 100%;
  max-width: 135px;
}
@media (max-width: 768px) {
  .facList .storeText.gourl .btnBox .btn {
    min-width: auto;
    padding: 10px 15px;
  }
}
.facList .storeText.gourl .btnBox .btn + .btn {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .facList .storeText.gourl .btnBox .btn + .btn {
    margin-top: 0;
  }
}
.facList .storeText.gourl .btnBox .btn .angle {
  width: 20px;
}
@media (max-width: 768px) {
  .facList .storeText.gourl {
    width: 100%;
  }
  .facList .storeText.gourl::before {
    border: none;
  }
}
.facList .storeText.address {
  width: 40%;
}
@media (max-width: 991px) {
  .facList .storeText.address {
    width: 34%;
  }
}
@media (max-width: 768px) {
  .facList .storeText.address {
    width: 100%;
  }
}

.contentBox .pageBox {
  margin-top: 4rem;
}
.contentBox .classLink {
  -webkit-column-gap: 0.625rem;
     -moz-column-gap: 0.625rem;
          column-gap: 0.625rem;
}

/* --- 상세 페이지 전체 레이아웃 (50:50 좌우 분할) --- */
.insIntroBox {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.insIntroBox .albumBox {
    flex: 0 0 calc(50% - 20px);
    max-width: 50%;
    box-sizing: border-box;
    margin-right: 0;
}

.insIntroBox .introBox {
    flex: 0 0 calc(50% - 20px);
    max-width: 50%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
	.insIntroBox {
        flex-direction: column;
        overflow: hidden;
        gap: 20px; /* 모바일에서 위아래 간격 조절 */
    }
    
    .insIntroBox .albumBox {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .insIntroBox .introBox {
        flex: 0 0 100%;
		width: 100%;
        max-width: 100%;
    }
}

/* --- 상단 제목 및 사이드 박스 (온도 태그, 공유) --- */
.insIntroBox .introBox .articleTitle {
    margin-bottom: 15px;
    padding: 0 0 15px 0;
}

.insIntroBox .introBox .sideBox {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 400px) {
    .insIntroBox .introBox .sideBox {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 10px;
    }
}

.insIntroBox .introBox .sideShare {
    margin: 0;
}

.insIntroBox .introBox .tagBox {
    margin-top: 0;
}

.tagBox ul {
    justify-content: center;
}

/* --- 게시판 뷰 래퍼 및 알러지 정보 영역 스타일 --- */
.subCon_Viw_wrap {
    margin: 20px auto 0;
}

.subCon_Viw_wrap .Viw_txt_allergy {
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: #f9f8f6;
    border-left: 4px solid #b0644b;
    border-radius: 0 6px 6px 0;
}

.subCon_Viw_wrap .Viw_txt_allergy h3 {
    margin-bottom: 15px;
}

.subCon_Viw_wrap .Viw_txt_allergy ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subCon_Viw_wrap .Viw_txt_allergy li {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    padding-left: 14px;
}

.subCon_Viw_wrap .Viw_txt_allergy li::before {
    content: "·";
    position: absolute;
    left: 2px;
    top: -1px;
    font-weight: bold;
    color: #b0644b;
}

/* --- 본문 내용 영역 스타일 --- */
.subCon_Viw_wrap .Viw_txt_article {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* --- [핵심] 카카오 약도 반응형 스케일 래퍼 (PC 우측 침범 원천 차단) --- */
.subCon_Viw_map {
    position: relative;
    width: 100%;
    max-width: 640px;  /* 카카오 설정 원본 너비 기준 */
    height: 360px;     /* 카카오 설정 원본 높이 기준 */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.subCon_Viw_map .root_daum_roughmap {
    position: absolute;
    top: 0;
    left: 0;
    width: 640px !important;  
    height: 360px !important; 
    transform-origin: top left;
    transform: scale(var(--map-scale, 1)); /* 자바스크립트로 계산된 스케일 자동 적용 */
    border-radius: 8px;
}

.root_daum_roughmap .cont {
    display: none !important;
}

/* 매장 정보 영역 스타일 */
.subCon_Viw_wrap .Viw_txt_info {
    margin-bottom: 25px;
    padding: 10px 20px 0;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.subCon_Viw_wrap .Viw_txt_info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.subCon_Viw_wrap .Viw_txt_info li {
    font-size: 15px;
    color: #4b5563;
    display: flex;
    align-items: center;
    padding: 15px 0 20px;
    box-sizing: border-box;
    border-bottom: 1px dotted #ddd;
}

.subCon_Viw_wrap .Viw_txt_info li:last-child {
    border-bottom: 0;
}

/* 앞단어(라벨) <span> 크기를 일정하게 고정 */
.subCon_Viw_wrap .Viw_txt_info li span {
    display: inline-block;
    width: 70px;          
    font-weight: 600;     
    color: #b26445;       
    letter-spacing: -0.5px;
}

@media (max-width: 767px) {
    .subCon_Viw_map {
        height: 280px; /* 모바일에서 보여줄 지도 높이 */
    }
}