/* ============================================
   산타클로스의원 - Footer & Floating Quick Menu
   메이린의원 스타일 참조
   ============================================ */

/* ─────────────────────────────────────────────
   FOOTER (메이린 스타일: 다크 배경, 3컬럼 flex)
   ───────────────────────────────────────────── */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col {
    flex: 1;
    min-width: 0;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col p {
    color: #aaa;
    line-height: 1.8;
    margin: 0 0 8px;
}

.footer-sub-note {
    color: #D4AF37 !important;
    font-size: 13px;
    margin-top: 10px !important;
}

.footer-phone {
    font-size: 28px !important;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 1px;
}

/* Office Hours 테이블 */
.footer-hours-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.hours-day {
    color: #ddd;
    min-width: 100px;
    font-weight: 500;
}

.hours-time {
    color: #aaa;
}

.footer-closed-note {
    color: #e74c3c !important;
    font-size: 13px;
    margin-top: 12px !important;
}

/* Footer 하단 바 */
.footer-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    gap: 8px;
}

.footer-copyright {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.footer-biz-info {
    color: #555;
    font-size: 12px;
    margin: 0;
}

/* Footer 반응형 */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
        padding-bottom: 70px; /* 모바일 플로팅바 공간 확보 */
    }
    
    .footer-cols {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .hours-row {
        justify-content: center;
    }
    
    .footer-phone {
        font-size: 24px !important;
    }
    
    .footer-bottom-bar {
        padding: 20px 0;
    }
}


/* ─────────────────────────────────────────────
   FLOATING QUICK MENU (메이린 스타일)
   PC: 우측 중앙 세로 배치
   모바일: 하단 고정 가로 배치
   ───────────────────────────────────────────── */
.floating-quick-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
}

.floating-quick-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #333;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.floating-quick-menu li {
    margin: 0;
    padding: 0;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 4px;
    position: relative;
}

.quick-item:hover {
    background: #f43f6a;
}

.quick-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 4px;
}

.quick-icon-fallback {
    width: 28px;
    height: 28px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.quick-label {
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.quick-item:hover .quick-label {
    color: #fff;
}

/* Top 버튼 구분선 */
.quick-top-btn {
    border-top: 1px solid #e0e0e0;
}

.quick-top-btn .quick-icon-fallback {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.quick-top-btn .quick-label {
    color: #fff;
    font-weight: 600;
}

/* ─────────────────────────────────────────────
   모바일 플로팅바 (하단 고정 가로 배치)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .floating-quick-menu {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        z-index: 9000;
    }
    
    .floating-quick-menu ul {
        display: flex;
        flex-direction: row;
        gap: 0;
        border-radius: 0;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.12);
        background: #333;
    }
    
    .floating-quick-menu li {
        flex: 1;
    }
    
    .quick-item {
        width: 100%;
        height: 60px;
        padding: 6px 2px;
        border-radius: 0;
    }
    
    .quick-item img {
        width: 24px;
        height: 24px;
        margin-bottom: 3px;
    }
    
    .quick-icon-fallback {
        width: 24px;
        height: 24px;
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .quick-label {
        font-size: 9px;
    }
    
    /* 모바일에서 Top 버튼 구분선 방향 변경 */
    .quick-top-btn {
        border-top: none;
        border-left: 1px solid #e0e0e0;
    }
}

/* 태블릿 */
@media (min-width: 769px) and (max-width: 1024px) {
    .floating-quick-menu {
        right: 10px;
    }
    
    .quick-item {
        width: 60px;
        height: 60px;
    }
    
    .quick-item img {
        width: 24px;
        height: 24px;
    }
}
