/* BASIC css start */
/* =================================================================
   Footer - THE LAB CHEMICAL (최종 간결 버전)
   - 로고 제거
   - 모든 정보를 하나의 Grid로 통합
   - 전화번호/계좌 포함
================================================================= */

:root {
    --color-primary: #0C025B;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-lighter: #999;
    --color-border: #e5e7eb;
    --color-bg: #f9fafb;
}

/* Footer Container */
#footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    padding: 4rem 2rem;
}

.foot_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 정보 그리드 */
.footer-info {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 3rem;
}

.info-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 영업시간은 전체 너비 */
.info-item.info-hours {
    grid-column: 1 / -1;
}

.info-label {
    color: var(--color-text-light);
    font-weight: 500;
}

.info-value {
    color: var(--color-text);
}

.info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.info-value a:hover {
    color: var(--color-primary);
}

/* 전화번호 강조 */
.info-value .phone {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

/* 계좌번호 강조 */
.info-value.account {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

/* 사업자확인 링크 */
.biz-check {
    color: var(--color-primary);
    font-size: 0.8125rem;
    margin-left: 0.5rem;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.biz-check:hover {
    opacity: 0.7;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.footer-nav a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -0.75rem;
    color: var(--color-border);
}

.copyright {
    font-size: 0.8125rem;
    color: var(--color-text-lighter);
    margin: 0;
}

/* Scroll Buttons */
.scroll-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.scroll-buttons.show {
    opacity: 1;
    visibility: visible;
}

.scroll-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-light);
}

.scroll-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(12, 2, 91, 0.2);
}

.scroll-btn:active {
    transform: translateY(0);
}

.scroll-btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1023px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        grid-template-columns: 140px 1fr;
    }
}

@media (max-width: 767px) {
    #footer {
        padding: 3rem 1.5rem;
    }

    .foot_inner {
        gap: 1.5rem;
    }

    .info-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .info-label {
        font-size: 0.75rem;
        color: var(--color-text-lighter);
    }

    .info-value {
        font-size: 0.875rem;
    }

    .info-value .phone,
    .info-value.account {
        font-size: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-nav a:not(:last-child)::after {
        display: none;
    }

    .scroll-buttons {
        bottom: 1rem;
        right: 1rem;
    }

    .scroll-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    #footer {
        padding: 2.5rem 1rem;
    }

    .info-grid {
        gap: 0;
    }
}

/* Print */
@media print {
    .scroll-buttons {
        display: none;
    }
}
/* BASIC css end */

