﻿/* ======================================================
   Follow SNS
   ====================================================== */

.sns_follow_head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    margin-bottom: .35rem;
}

.sns_follow_title {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
    color: var(--site-primary-dark);
}

.sns_follow_desc {
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--site-text-muted);
}

.sns_follow_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--site-border-strong);
    border-radius: 50%;
    color: var(--site-primary);
    background: color-mix(in srgb, var(--site-surface) 50%, transparent);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

    .sns_follow_btn:hover {
        border-color: var(--site-primary);
        background: var(--site-primary);
        color: var(--site-surface);
        transform: translateY(-2px);
    }

.sns_follow_icon {
    width: 1rem;
    height: 1rem;
    color: var(--site-primary) !important;
}

.sns_follow_btn:hover .sns_follow_icon,
.sns_follow_btn:hover .mud-icon-root {
    color: var(--site-surface) !important;
}

/* Threads SVG 전용 */
.sns_follow_threads {
    display: block;
    width: .95rem;
    height: .95rem;
    background-color: var(--site-primary);
    mask-image: url("/images/Threads.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("/images/Threads.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    transition: background-color .2s ease;
}

.sns_follow_btn:hover .sns_follow_threads {
    background-color: var(--site-surface) !important;
}
/* ======================================================
   AppBar Icon Theme Override
   ====================================================== */

.MyToolBar .FillBtn .mud-icon-root,
.MyToolBar .FillBtn .material-symbols-rounded {
    color: var(--site-primary-dark) !important;
}

.MyToolBar .FillBtn:hover .mud-icon-root,
.MyToolBar .FillBtn:hover .material-symbols-rounded {
    color: var(--site-primary) !important;
}

.MyToolBar .mud-button-root:hover,
.MyToolBar .mud-icon-button:hover {
    background-color: var(--site-primary-soft) !important;
}
/* ======================================================
   MyFooter
   ====================================================== */

.MyFooterWrap {
    width: 100%;
    padding: 2.5rem 1.25rem 5rem;
    background: transparent;
    box-sizing: border-box;
    color: var(--site-text-muted);
}

.MyFooter {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: -0.025em;
}

/* 브랜드 / 로고 */
.MyFooter_brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
}

.MyFooter_brand_text {
    line-height: 1.2;
    color: var(--site-text-strong);
}

.MyFooter_logo {
    display: block;
    width: clamp(90px, 22vw, 120px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 약관 링크 */
.MyFooter_links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.MyFooter_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.875rem;
    padding: 0 0.875rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-surface) 58%, transparent);
    border: 1px solid var(--site-border);
    color: var(--site-text-muted) !important;
    font-size: 0.8125rem !important;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

    .MyFooter_link:hover {
        background: var(--site-warm-light);
        border-color: var(--site-warm-soft);
        color: var(--site-warm-dark) !important;
        opacity: 1;
        text-decoration: none;
    }

/* 혹시 기존 구분자 요소가 남아있어도 숨김 */
.MyFooter_dot,
.MyFooter_link_divider {
    display: none !important;
}

/* 회사 정보 */
.MyFooter_info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.875rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.55;
    color: var(--site-text-muted);
}

.MyFooter_info_item {
    display: inline-flex !important;
    align-items: baseline;
    gap: 0.3rem;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
}

    /* 세로 구분선 완전 제거 */
    .MyFooter_info_item::before,
    .MyFooter_info_item::after {
        display: none !important;
        content: none !important;
    }

.MyFooter_info_label {
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.45;
    white-space: nowrap;
    color: var(--site-text-light);
}

.MyFooter_info_value {
    display: inline-flex;
    min-width: 0;
    font-size: 0.78125rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--site-text-muted);
}

/* 주소는 길 수 있어서 한 줄 전체 사용 */
.MyFooter_info_address {
    flex-basis: 100%;
    justify-content: center;
    white-space: normal;
    margin-top: 0.1rem;
}

    .MyFooter_info_address .MyFooter_info_value {
        display: inline;
        word-break: keep-all;
        overflow-wrap: anywhere;
        text-align: center;
    }

/* 안내 / 카피 */
.MyFooter_notice {
    display: block;
    margin: 1.125rem 0 0;
    line-height: 1.5;
    word-break: keep-all;
    color: var(--site-text-light);
}

.MyFooter_copy {
    display: block;
    margin: 0.55rem 0 0;
    line-height: 1.45;
    color: var(--site-text-light);
}

/* ======================================================
   MyFooter Responsive
   ====================================================== */

@media (max-width: 600px) {
    .MyFooterWrap {
        padding: 2rem 1rem 4.5rem;
    }

    .MyFooter {
        max-width: 100%;
    }

    .MyFooter_brand {
        margin-bottom: 1rem;
    }

    .MyFooter_links {
        gap: 0.375rem;
        margin-bottom: 1rem;
    }

    .MyFooter_link {
        min-height: 1.75rem;
        padding: 0 0.75rem;
        font-size: 0.71875rem !important;
    }

    .MyFooter_info {
        gap: 0.3rem 0.65rem;
        max-width: 100%;
    }

    .MyFooter_info_item {
        gap: 0.25rem;
    }

    .MyFooter_info_label {
        font-size: 0.6875rem;
    }

    .MyFooter_info_value {
        font-size: 0.71875rem;
    }

    .MyFooter_info_address {
        flex-basis: 100%;
        margin-top: 0.15rem;
    }

    .MyFooter_notice,
    .MyFooter_copy {
        font-size: 0.6875rem;
    }
}
