/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    box-sizing: border-box;
    /* background: #000; */
    z-index: 100;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s ease,
                backdrop-filter 0.5s ease,
                border-color 0.5s ease,
                color 0.5s ease;
    border-bottom: 1px solid transparent;
    color: #fff;
}

.header .wrap {
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

/* 로고 + GNB 묶음 */
.header .left {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 로고 */
.header h1 a {
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.header h1 svg {
    display: block;
    width: 2.2em;
    height: auto;
    fill: currentColor;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* GNB */
.header nav ul {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header nav ul li a {
    display: inline-block;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: inherit;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: opacity 0.3s ease;
}
.header nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* Util — 오른쪽 끝 정렬 */
.header .util {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}
.header .util a {
    color: inherit;
    text-decoration: none;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: opacity 0.3s ease;
}
.header .util a:hover {
    opacity: 0.6;
}

/* 아이콘 */
.header .util .ico-search,
.header .util .ico-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
}
.header .util .ico-cart .count {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #fff;
    color: #1a1a1a;
    font-family: 'Pretendard', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    letter-spacing: 0;
    transition: background 0.5s ease, color 0.5s ease;
}

/* Login / Join 구분선 */
.header .util .login::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: currentColor;
    opacity: 0.4;
    margin-left: 24px;
    vertical-align: middle;
}

/* ===== 스크롤 시 (.bg) — 색상 반전만 ===== */
.header.bg {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}
.header.bg .util .ico-cart .count {
    background: #1a1a1a;
    color: #fff;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
}
.footer .wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 상단 ===== */
.footer .footer-top {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 브랜드 영역 */
.footer .footer-brand .logo {
    margin-bottom: 24px;
}
.footer .footer-brand .logo a {
    display: inline-block;
    color: #fff;
}
.footer .footer-brand .logo svg {
    display: block;
    width: 2.5em;
    height: auto;
    fill: currentColor;
}
.footer .footer-brand .slogan {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

/* SNS */
.footer .sns {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer .sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.footer .sns a:hover {
    background: #fff;
    border-color: #fff;
    color: #0a0a0a;
}

/* ===== 메뉴 컬럼 ===== */
.footer .footer-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.footer .footer-menu h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer .footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer .footer-menu li {
    margin-bottom: 12px;
}
.footer .footer-menu li a {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer .footer-menu li a:hover {
    color: #fff;
}
.footer .footer-menu li a.strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* CS Center */
.footer .footer-menu .cs .tel {
    font-family: 'Cormorant Garamond', 'Pretendard', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 16px;
}
.footer .footer-menu .cs .hours {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}
.footer .footer-menu .cs .bank {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .footer-menu .cs .bank span {
    display: block;
}

/* ===== 하단 ===== */
.footer .footer-bottom {
    padding-top: 40px;
}
.footer .company-info {
    margin-bottom: 32px;
}
.footer .company-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}
.footer .company-info li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}
.footer .company-info li em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 6px;
}
.footer .company-info .biz-check {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.footer .company-info .biz-check:hover {
    background: #fff;
    border-color: #fff;
    color: #0a0a0a;
}

/* 카피라이트 */
.footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer .copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.04em;
}
.footer .copyright .hosting a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer .copyright .hosting a:hover {
    color: #fff;
}
