/* BASIC css start */
/* ==========================================================================
   1. 푸터 기본 레이아웃 (Grid 충돌 방지 및 전체 구조)
   ========================================================================== */
footer {
    display: block !important;
    padding: 0 !important;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.site-footer-info { display: contents; }

/* ==========================================================================
   2. 인스타그램 위젯 영역
   ========================================================================== */
footer .insta_box {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: auto !important;
    padding: 20px 100px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    margin-bottom: 30px;
}

footer .insta_box .insta { 
    margin: 0 0 10px 0; 
}
footer .insta_box .insta:after { 
    content: ""; 
    display: block; 
    clear: both; 
}
footer .insta_box .insta_img { 
    border: 1px solid #eee; 
    padding: 4px 4px 3px; 
    background: #fff; 
}
footer .insta_box .insta i, 
footer .insta_box .insta a { 
    display: inline-block; 
    line-height: 20px; 
    font-size: 12px; 
    vertical-align: middle; 
    padding: 0 3px; 
    font-weight: normal; 
    color: #333; 
    text-decoration: none; 
}

@media (min-width: 768px) and (max-width: 991.98px) {
    footer .insta_box { padding: 20px 24px; }
}

@media (max-width: 767.98px) {
    footer .insta_box { padding: 15px 16px; }
}

/* ==========================================================================
   3. 사각 아이콘 보드 (8개) & APP 다운로드 버튼
   ========================================================================== */
#f_board { margin: 20px 0; }
#f_board ul.f-cols4 { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; list-style: none; margin: 0; }
#f_board ul.f-cols4 li { width: calc(25% - 6px); background: #fff; border: 1px solid #e2e2e2; border-radius: 6px; text-align: center; box-sizing: border-box; }
#f_board ul.f-cols4 li a { display: block; padding: 15px 5px; color: #333; text-decoration: none; }
#f_board ul.f-cols4 li i { font-size: 24px; display: block; margin-bottom: 6px; color: #333; }
#f_board ul.f-cols4 li span { font-size: 12px; font-weight: 500; }

.app { padding: 0 16px; margin-bottom: 30px; }
.app a { display: block; width: 100%; background: #666; color: #fff; text-align: center; padding: 14px 0; font-weight: bold; text-decoration: none; border-radius: 6px; font-size: 14px; box-sizing: border-box; }

/* ==========================================================================
   4. 고객센터 (CUSTOMER CENTER) & 상담 버튼 2개 100% 가로 확장
   ========================================================================== */
.cs_inner { padding: 0 16px; text-align: left; }
.cs_info h4 { font-size: 14px; font-weight: bold; color: #555; margin-bottom: 5px; letter-spacing: 0.5px; }
.cs_info .line { width: 30px; height: 2px; background: #ddd; margin-bottom: 15px; }
.cs_info .phone { font-size: 24px; font-weight: 800; color: #333; margin-bottom: 12px; }
.cs_info .phone a { color: #333; text-decoration: none; }
.cs_info ul { list-style: none; padding: 0; margin-bottom: 20px; }
.cs_info ul li { font-size: 12px; color: #777; line-height: 1.6; }

.cs_info .btn {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 20px 0 30px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.cs_info .btn span {
    flex: 1 !important;
    display: block !important;
}

.cs_info .btn span a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 0 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.cs_info .btn span:first-child a {
    background: #333 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
}

.cs_info .btn span:last-child a {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
}

/* ==========================================================================
   5. 회사 정보 (COMPANY INFO) & 라벨 정렬
   ========================================================================== */
.cs_addr {
    margin-top: 30px;
    font-size: 13px;
    color: #777;
    line-height: 1.8;
}

.cs_addr h4 {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cs_addr .line {
    width: 24px;
    height: 1px;
    background: #bbb;
    margin-bottom: 15px;
}

.cs_addr .info_list p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
}

.cs_addr .info_list strong {
    width: 130px;
    flex-shrink: 0;
    font-weight: normal;
    color: #888;
}

.cs_addr .info_list span {
    color: #666;
    word-break: keep-all;
}

.cs_addr .info_list a {
    color: #666;
    text-decoration: none;
}

/* ==========================================================================
   6. PC / 모바일 반응형 가로배치 (cs_inner)
   ========================================================================== */
@media (min-width: 992px) {
    .cs_inner {
        display: flex;
        justify-content: space-between;
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px 0 20px;
    }

    .cs_info { flex: 1.1; }
    .cs_addr { flex: 1; margin-top: 0; }
}

@media (max-width: 991.98px) {
    .cs_inner { padding: 20px 16px; }
    .cs_addr .info_list strong { width: 110px; }
}

/* ==========================================================================
   7. 카피라이트 (Copyright)
   ========================================================================== */
.copyright {
    width: 100% !important;
    clear: both !important;
    display: block !important;
    background: #f5f5f5;
    color: #888;
    font-size: 11px;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    box-sizing: border-box;
}

/* ==========================================================================
   8. [복원] 우측 하단 플로팅 스크롤 탑(TOP) 버튼
   ========================================================================== */
.floating-wrap,
.floating-btns {
    position: fixed !important;
    right: 16px !important;
    bottom: 65px !important;       /* 모바일 하단바 바로 위 */
    z-index: 9999 !important;
    opacity: 1 !important;          /* 항상 강제 노출 */
    visibility: visible !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.floating-btns .floating-btn,
.floating-btns .btn-go-top {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid #ddd !important;
    background: #fff url("//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_arrow_expand.svg") no-repeat center center / 14px 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
    cursor: pointer !important;
}

@media (min-width: 992px) {
    .floating-wrap,
    .floating-btns {
        right: 24px !important;
        bottom: 25px !important;   /* PC에서는 맨 바닥 부근에 배치 */
    }
}

/* ==========================================================================
   9. [위치 보정] 카카오톡 플로팅 버튼 (탑버튼 바로 위로 이동)
   ========================================================================== */
.kakaoqna { 
    position: fixed !important; 
    left: auto !important;
    right: 15px !important;
    bottom: 115px !important;    /* 스크롤 탑버튼 바로 위 높이 */
    z-index: 10000 !important;   /* 탑버튼보다 위에 뜸 */
}

.kakaoqna img {
    width: 42px !important;
    height: auto !important;
    display: block !important;
}

@media (min-width: 992px) {
    .kakaoqna { 
        right: 23px !important;
        bottom: 75px !important;  /* PC 탑버튼 바로 위 높이 */
    }
}
/* BASIC css end */

