@charset "utf-8";
/* ============================================================
   common.css  (통합본 / 2026-07-27)
   - 변수 / 리셋
   - 헤더 / 네비 / 드롭다운 / 로그인버튼 / 언어토글
   - 햄버거 / 모바일 슬라이드 메뉴
   - 사이드 배너
   - 상담문의 모달(.inq-*) / 예약 모달(.rsv-*)
   - 헤더 반응형 (햄버거 전환점: 1180px 단일 기준)
   - 푸터 (기본 + 레이아웃 + 반응형 — 이 파일 하단 단일 블록 전담)
   ※ shop.head.php / shop.en.head.php 의 <style> 은 전부 여기로 이동. 인라인 없음.
   ※ 푸터 grid/반응형 규칙은 하단 "푸터 레이아웃 + 반응형" 블록 외에 두지 말 것.
   ============================================================ */

/* ===== 변수 ===== */
:root {
    --bg: #0e1d44;
    --bg-2: #0b1838;
    --navy-800: #15264f;
    --navy-700: #1b3160;
    --navy-card: rgba(48, 62, 124, 0.46);
    --navy-card-2: rgba(40, 54, 110, 0.56);
    --line: #2d4168;
    --line-soft: rgba(255, 255, 255, 0.09);
    --gold-line: rgba(224, 198, 130, 0.22);
    --gold: #dcba6a;
    --gold-soft: #f0d292;
    --gold-dim: #c9ad62;
    --ink-100: #ffffff;
    --text: #f1f4fc;
    --ink-200: #d6ddf3;
    --muted: #aab6d6;
    --faint: #6e7da4;
}

/* ===== 리셋 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(1100px 640px at 80% -6%, rgba(224, 198, 130, 0.14), transparent 58%),
        radial-gradient(820px 560px at 4% 102%, rgba(74, 96, 200, 0.20), transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(1000px 700px at 50% 12%, #000, transparent 78%);
}


/* ============================================================
   헤더
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(12px);
    background: rgba(14, 29, 68, 1);
    border-bottom: 1px solid var(--line-soft);
}

/* nav 를 flow 안에 두어야 로고/우측과 폭 계산이 됨 (겹침 방지 핵심) */
.header-inner {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

/* ===== 네비 ===== */
nav {
    position: static;
    transform: none;
    flex: 1 1 auto;
    min-width: 0;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav > ul {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: nowrap;
    min-width: 0;
}

nav > ul > li {
    position: relative;
    padding: 0 22px;
    flex-shrink: 0;
}

nav > ul > li > a {
    color: var(--ink-200) !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    height: 74px;
    border-bottom: 2px solid transparent;
}

nav > ul > li > a:hover,
nav > ul > li.active > a {
    color: var(--gold-soft) !important;
    border-bottom-color: var(--gold);
}

/* ===== 드롭다운 ===== */
.dropdown {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(10, 21, 48, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--gold-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 20px 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

nav > ul > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 마지막 메뉴는 오른쪽 기준 정렬 (화면 밖 이탈 방지) */
nav > ul > li:last-child .dropdown { left: auto; right: 0; }

.dropdown li { list-style: none; }

.dropdown a {
    display: block;
    padding: 12px 24px;
    color: var(--ink-200) !important;
    text-decoration: none;
    font-size: 13.5px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown a:hover {
    background-color: rgba(216, 184, 106, 0.1);
    color: var(--gold-soft) !important;
    padding-left: 32px;
}

.dropdown a.cur { color: var(--gold-soft) !important; }

/* ===== 우측 영역 ===== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 0;
    flex: 0 0 auto;
}

/* ===== 언어 토글 (PC) ===== */
.lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid rgba(220, 186, 106, 0.38);
    background: rgba(220, 186, 106, 0.07);
}
.lang a {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--ink-200) !important;
    text-decoration: none;
    transition: 0.2s;
}
.lang a:hover { color: var(--gold-soft) !important; }
.lang a.on {
    background: linear-gradient(135deg, #f0d292, #dcba6a);
    color: #0e1d44 !important;
    box-shadow: 0 4px 12px -6px rgba(216, 184, 106, 0.7);
}

/* ===== 로그인 / 마이페이지 버튼 =====
   그누보드 default.css 의 a:link{color:#000} 이 우선순위(0,1,1)로 이기므로
   :link/:visited 를 명시해서 막는다. (마이페이지 검정색 이슈) */
.btn-login {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--gold);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn-login,
.btn-login:link,
.btn-login:visited { color: #0e1d44 !important; }
.btn-login:hover { background: var(--gold-soft); }

.btn-login--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-login--ghost,
.btn-login--ghost:link,
.btn-login--ghost:visited { color: #ffffff !important; }
.btn-login--ghost:hover,
.btn-login--ghost:focus {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-soft) !important;
}


/* ============================================================
   햄버거 버튼
   ============================================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 4px;
    flex: 0 0 auto;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-200);
    transition: transform 0.3s ease, opacity 0.2s ease;
    margin: 0 auto;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   모바일 슬라이드 메뉴  (mobile_shop.css 억제용 !important 유지)
   ============================================================ */
.m-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
    background: rgba(6, 12, 30, .58) !important;
    backdrop-filter: blur(4px);
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .3s ease, visibility .3s ease;
}
.m-overlay.open { opacity: 1 !important; visibility: visible !important; }

.m-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    width: 84% !important;
    max-width: 360px !important;
    height: 100% !important;
    margin: 0 !important;
    background: linear-gradient(165deg, #12224f 0%, #0a1530 100%) !important;
    border-left: 1px solid rgba(224, 198, 130, .18) !important;
    box-shadow: -18px 0 60px rgba(0, 0, 0, .5) !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    transition: transform .34s cubic-bezier(.22, .68, .24, 1), visibility .34s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}
.m-menu.open { transform: translateX(0) !important; visibility: visible !important; }

.m-menu ul, .m-nav, .m-sub { margin: 0 !important; padding: 0 !important; list-style: none !important; }

/* 헤더 */
.m-menu-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
}
.m-menu-head .m-logo { height: 40px; width: auto; object-fit: contain; }

.m-close {
    width: 38px; height: 38px;
    border: none;
    background: rgba(255, 255, 255, .07);
    border-radius: 50%;
    color: #d6ddf3;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .2s;
}
.m-close:hover, .m-close:active { background: #dcba6a; color: #0e1d44; transform: rotate(90deg); }

/* 네비 */
.m-menu .m-nav {
    display: block !important;
    visibility: visible !important;
    flex: 1 !important;
    padding: 8px 14px 20px !important;
    margin: 0 !important;
}
.m-menu .m-nav > li {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
}

/* 1depth */
.m-menu .m-nav > li > .m-link {
    position: relative !important;
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 16px 16px !important;
    margin: 2px 0 !important;
    border-radius: 12px !important;
    color: #e9edf9 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    background: transparent !important;
    opacity: 1 !important;
    height: auto !important;
    transition: background .2s, color .2s !important;
}
.m-menu .m-nav > li > .m-link:hover,
.m-menu .m-nav > li > .m-link:active { background: rgba(255, 255, 255, .05) !important; }

/* 좌측 골드 액센트 바 */
.m-menu .m-nav > li > .m-link::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 3px !important;
    height: 0 !important;
    border-radius: 3px !important;
    background: var(--gold, #dcba6a) !important;
    transform: translateY(-50%) !important;
    transition: height .25s ease !important;
}
.m-menu .m-nav > li.on > .m-link { color: #f0d292 !important; background: rgba(220, 186, 106, .08) !important; }
.m-menu .m-nav > li.on > .m-link::before { height: 20px !important; }

/* 화살표 */
.m-menu .m-nav > li > .m-link .m-arrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: #8b98bd !important;
    font-size: 11px !important;
    transition: transform .3s ease, color .3s ease !important;
}
.m-menu .m-nav > li.on > .m-link .m-arrow { transform: rotate(180deg) !important; color: #dcba6a !important; }

/* 서브메뉴 */
.m-menu .m-sub {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    transition: max-height .3s ease !important;
}
.m-menu .m-nav > li.on .m-sub { max-height: 400px !important; padding: 4px 0 8px !important; }
.m-menu .m-sub > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: transparent !important;
}
.m-menu .m-sub > li > a {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    padding: 11px 16px 11px 30px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    color: #aeb9d6 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    height: auto !important;
    background: transparent !important;
    transition: color .2s, background .2s !important;
}
.m-menu .m-sub > li > a::before {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .22) !important;
    transform: translateY(-50%) !important;
    transition: background .2s !important;
}
.m-menu .m-sub > li > a:hover,
.m-menu .m-sub > li > a:active { color: #f0d292 !important; background: rgba(255, 255, 255, .04) !important; }
.m-menu .m-sub > li > a:hover::before { background: #dcba6a !important; }

/* 하단 */
.m-menu .m-menu-foot {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 20px 24px 28px !important;
    border-top: 1px solid rgba(255, 255, 255, .07) !important;
    background: rgba(0, 0, 0, .14) !important;
}

/* 언어 토글 (모바일) */
.m-lang {
    display: inline-flex !important;
    align-self: center;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(224, 198, 130, .24);
    background: rgba(0, 0, 0, .22);
    margin-bottom: 4px;
}
.m-lang a {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1;
    color: #c3cbe4 !important;
    text-decoration: none;
    transition: .2s;
}
.m-lang a:hover { color: #f0d292 !important; }
.m-lang a.on {
    background: linear-gradient(135deg, #f0d292, #dcba6a);
    color: #0e1d44 !important;
    box-shadow: 0 6px 16px -8px rgba(216, 184, 106, .7);
}

/* 모바일 버튼 */
.m-menu .m-menu-foot .m-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: .2s;
}
.m-btn--gold,
.m-btn--gold:link,
.m-btn--gold:visited {
    background: linear-gradient(135deg, #f0d292, #dcba6a) !important;
    color: #0e1d44 !important;
    box-shadow: 0 8px 20px -8px rgba(216, 184, 106, .6);
}
.m-btn--gold:active { transform: translateY(1px); }

.m-btn--ghost,
.m-btn--ghost:link,
.m-btn--ghost:visited {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #ffffff !important;
}
.m-btn--ghost:hover { color: var(--gold-soft) !important; }
.m-btn--ghost:active { background: rgba(255, 255, 255, .06); }


/* ============================================================
   사이드 배너
   ============================================================ */
.side-banner {
    position: fixed;
    right: 0;
    top: 74px;
    width: 120px;
    background-color: transparent;
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.side-banner .banner-item {
    width: 100%;
    padding: 22px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border-left: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.side-banner .banner-item:hover {
    background-color: var(--navy-card);
    border-left-color: var(--gold);
}

.side-banner .banner-icon {
    margin-bottom: 9px;
    line-height: 0;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.side-banner .banner-icon svg {
    width: 46px;
    height: 46px;
    color: var(--gold);
    stroke: var(--gold);
}
.side-banner .banner-item:hover .banner-icon svg {
    color: var(--gold-soft);
    stroke: var(--gold-soft);
}

.side-banner .banner-text {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 700;
}

/* TOP: 스크롤 내렸을 때만 노출 (항상 노출 원하면 아래 두 규칙 삭제) */
.side-banner .banner-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.side-banner .banner-top.show { opacity: 1; visibility: visible; transform: translateY(0); }


/* ============================================================
   상담/견적 신청 모달 (.inq-*)
   ============================================================ */
.inq-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 16, 38, .62);
    backdrop-filter: blur(6px);
}
.inq-overlay.open { display: flex; animation: inqFade .25s ease; }
@keyframes inqFade { from { opacity: 0; } to { opacity: 1; } }

.inq-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(220, 186, 106, .28);
    box-shadow: 0 40px 90px -30px rgba(8, 16, 38, .6);
    padding: 38px 36px 34px;
    transform: translateY(14px);
    opacity: 0;
    animation: inqRise .3s cubic-bezier(.2, .7, .2, 1) forwards;
    max-height: 92vh;
    overflow-y: auto;
}
@keyframes inqRise { to { transform: translateY(0); opacity: 1; } }

.inq-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(14, 29, 68, .06);
    color: #56637c;
    font-size: 22px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: .2s;
}
.inq-close:hover { background: #dcba6a; color: #0e1d44; }

.inq-head { margin-bottom: 24px; }
.inq-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #b9903d;
}
.inq-title {
    font-size: 26px;
    font-weight: 800;
    color: #111c36;
    letter-spacing: -.02em;
    margin: 8px 0 8px;
}
.inq-desc { font-size: 14px; color: #56637c; line-height: 1.6; }

.inq-field { margin-bottom: 18px; }
.inq-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #15264f;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.inq-field label .req { color: #b9903d; }

.inq-field input,
.inq-field textarea {
    width: 100%;
    border: 1px solid #dde5f2;
    border-radius: 11px;
    padding: 13px 15px;
    font-size: 14.5px;
    color: #111c36;
    font-family: inherit;
    background: #fbfcfe;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.inq-field input::placeholder,
.inq-field textarea::placeholder { color: #9aa6c0; }
.inq-field input:focus,
.inq-field textarea:focus {
    outline: none;
    border-color: #dcba6a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 186, 106, .18);
}
.inq-field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

.inq-type-btns { display: flex; gap: 10px; }
.inq-type {
    flex: 1;
    padding: 12px 0;
    border: 1px solid #dde5f2;
    border-radius: 11px;
    background: #fbfcfe;
    color: #56637c;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
}
.inq-type:hover { border-color: rgba(220, 186, 106, .6); color: #b9903d; }
.inq-type.on {
    background: linear-gradient(135deg, #f0d292, #dcba6a);
    border-color: transparent;
    color: #0e1d44;
    box-shadow: 0 8px 20px -8px rgba(216, 184, 106, .7);
}

.inq-submit {
    width: 100%;
    margin-top: 8px;
    padding: 15px 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(165deg, #15264f, #0e1d44);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    cursor: pointer;
    font-family: inherit;
    transition: transform .15s, box-shadow .25s;
    box-shadow: 0 14px 30px -14px rgba(11, 24, 56, .8);
}
.inq-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -16px rgba(11, 24, 56, .9);
}
.inq-submit:active { transform: translateY(0); }

@media (max-width: 520px) {
    .inq-modal { padding: 30px 22px 26px; border-radius: 18px; }
    .inq-title { font-size: 22px; }
}


/* ============================================================
   상담 예약 모달 (.rsv-*)
   ============================================================ */
.rsv-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 16, 38, .62);
    backdrop-filter: blur(6px);
}
.rsv-overlay.open { display: flex; animation: rsvFade .25s ease; }
@keyframes rsvFade { from { opacity: 0; } to { opacity: 1; } }

.rsv-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(220, 186, 106, .28);
    box-shadow: 0 40px 90px -30px rgba(8, 16, 38, .6);
    padding: 36px 32px 30px;
    transform: translateY(14px);
    opacity: 0;
    animation: rsvRise .3s cubic-bezier(.2, .7, .2, 1) forwards;
    max-height: 92vh;
    overflow-y: auto;
}
@keyframes rsvRise { to { transform: translateY(0); opacity: 1; } }

.rsv-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(14, 29, 68, .06);
    color: #56637c;
    font-size: 22px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: .2s;
}
.rsv-close:hover { background: #dcba6a; color: #0e1d44; }

.rsv-head { margin-bottom: 20px; }
.rsv-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #b9903d;
}
.rsv-title { font-size: 24px; font-weight: 800; color: #111c36; letter-spacing: -.02em; margin: 8px 0 8px; }
.rsv-desc { font-size: 14px; color: #56637c; line-height: 1.6; }

/* 캘린더 */
.rsv-cal {
    border: 1px solid #dde5f2;
    border-radius: 14px;
    padding: 16px 16px 12px;
    margin-bottom: 20px;
    background: #fbfcfe;
}
.rsv-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rsv-cal-title { font-size: 15px; font-weight: 800; color: #111c36; letter-spacing: -.01em; }
.rsv-nav {
    width: 32px; height: 32px;
    border: 1px solid #dde5f2;
    border-radius: 9px;
    background: #fff;
    color: #56637c;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: .2s;
}
.rsv-nav:hover { border-color: #dcba6a; color: #b9903d; }
.rsv-nav:disabled { opacity: .4; cursor: default; }
.rsv-nav:disabled:hover { border-color: #dde5f2; color: #56637c; }

.rsv-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rsv-cal-dow { margin-bottom: 6px; }
.rsv-cal-dow span { text-align: center; font-size: 12px; font-weight: 700; color: #8a97b3; padding: 4px 0; }
.rsv-cal-dow span.sun { color: #d9534f; }

.rsv-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 14px;
    color: #15264f;
    cursor: pointer;
    border: 1px solid transparent;
    background: #fff;
    transition: .15s;
}
.rsv-day:hover { border-color: rgba(220, 186, 106, .6); }
.rsv-day.empty { background: transparent; cursor: default; border: none; }
.rsv-day.empty:hover { border-color: transparent; }
.rsv-day.disabled { color: #c2cad9; cursor: default; background: #f4f6fa; }
.rsv-day.disabled:hover { border-color: transparent; }
.rsv-day.sun { color: #d9534f; }
.rsv-day.on {
    background: linear-gradient(135deg, #f0d292, #dcba6a);
    color: #0e1d44;
    font-weight: 800;
    border-color: transparent;
    box-shadow: 0 8px 18px -8px rgba(216, 184, 106, .7);
}
.rsv-day.on.sun { color: #0e1d44; }

.rsv-field { margin-bottom: 18px; }
.rsv-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #15264f;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.rsv-field label .req { color: #b9903d; }
.rsv-field input,
.rsv-field textarea {
    width: 100%;
    border: 1px solid #dde5f2;
    border-radius: 11px;
    padding: 13px 15px;
    font-size: 14.5px;
    color: #111c36;
    font-family: inherit;
    background: #fbfcfe;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.rsv-field input::placeholder,
.rsv-field textarea::placeholder { color: #9aa6c0; }
.rsv-field input:focus,
.rsv-field textarea:focus {
    outline: none;
    border-color: #dcba6a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 186, 106, .18);
}
.rsv-field textarea { resize: vertical; min-height: 78px; line-height: 1.6; }

/* 상담유형 토글 */
.rsv-type-btns { display: flex; gap: 10px; }
.rsv-type {
    flex: 1;
    padding: 12px 0;
    border: 1px solid #dde5f2;
    border-radius: 11px;
    background: #fbfcfe;
    color: #56637c;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
}
.rsv-type:hover { border-color: rgba(220, 186, 106, .6); color: #b9903d; }
.rsv-type.on {
    background: linear-gradient(135deg, #f0d292, #dcba6a);
    border-color: transparent;
    color: #0e1d44;
    box-shadow: 0 8px 20px -8px rgba(216, 184, 106, .7);
}

/* 시/분 select */
.rsv-time { display: flex; align-items: center; gap: 10px; }
.rsv-sel-box { position: relative; flex: 1; }
.rsv-sel-box::after {
    content: "";
    position: absolute;
    right: 14px; top: 50%;
    width: 7px; height: 7px;
    border-right: 2px solid #8a97b3;
    border-bottom: 2px solid #8a97b3;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.rsv-sel-box select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #dde5f2;
    border-radius: 11px;
    padding: 13px 34px 13px 15px;
    font-size: 14.5px;
    color: #111c36;
    background: #fbfcfe;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.rsv-sel-box select:focus {
    outline: none;
    border-color: #dcba6a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 186, 106, .18);
}
.rsv-sel-suf { font-size: 14px; font-weight: 700; color: #56637c; }

.rsv-submit {
    width: 100%;
    margin-top: 6px;
    padding: 15px 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0d292, #dcba6a);
    color: #0e1d44;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    cursor: pointer;
    font-family: inherit;
    transition: transform .15s, box-shadow .25s;
    box-shadow: 0 12px 28px -12px rgba(216, 184, 106, .7);
}
.rsv-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(216, 184, 106, .9); }
.rsv-submit:active { transform: translateY(0); }
.rsv-note { text-align: center; color: #8a97b3; font-size: 12.5px; margin: 14px 0 0; }

@media (max-width: 520px) {
    .rsv-modal { padding: 30px 20px 24px; border-radius: 18px; }
    .rsv-title { font-size: 21px; }
}


/* ============================================================
   헤더 반응형 (햄버거 전환점 1180px 단일 기준)
   ※ head 파일 JS 의 closeMobileMenu 임계값도 1180 으로 맞출 것
   ============================================================ */
@media (max-width: 1600px) {
    nav > ul > li { padding: 0 16px; }
    .logo-img { height: 46px; max-width: 260px; }
}

@media (max-width: 1400px) {
    .header-inner { padding: 0 24px; gap: 10px; }
    nav > ul > li { padding: 0 11px; }
    nav > ul > li > a { font-size: 15px; }
    .nav-right { gap: 8px; }
    .btn-login { padding: 0 12px; font-size: 13px; }
    .lang a { padding: 5px 10px; font-size: 12px; }
    .logo-img { height: 42px; max-width: 220px; }
}

@media (max-width: 1280px) {
    nav > ul > li { padding: 0 8px; }
    nav > ul > li > a { font-size: 14px; }
    .lang { display: none; }
}

/* 사이드배너 숨김 = 햄버거 전환점 */
@media (max-width: 1180px) {
    .side-banner { display: none; }
    nav { display: none; }
    .nav-right .lang,
    .nav-right .btn-login { display: none; }
    .nav-toggle { display: flex; }
    .header-inner { padding: 0 20px; justify-content: space-between; }
    .logo-img { height: 44px; max-width: 240px; }
}

/* PC 에서는 모바일 메뉴 완전 제거 (.m-menu 의 !important 를 이기기 위해 !important 필요) */
@media (min-width: 1181px) {
    .m-menu, .m-overlay { display: none !important; }
}


/* ============================================================
   푸터 — 기본 스타일
   ============================================================ */
footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #0b1838 0%, #0a142e 100%);
    border-top: 1px solid var(--line-soft);
    padding: 70px 0 40px !important;
    color: var(--text);
}

footer .footer-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 60px !important;
    box-sizing: border-box !important;
}

footer .footer-company { text-align: left; }
footer .footer-company h3 { font-size: 16px; margin-bottom: 15px; font-weight: 700; color: var(--ink-100); }
footer .footer-company p {
    font-size: 12.5px;
    opacity: 0.85;
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--ink-200);
}
footer .footer-company p strong { color: var(--ink-100); font-weight: 600; opacity: 1; }

/* 서비스이용약관 / 개인정보처리방침 */
footer .footer-policy { margin-top: 16px !important; font-size: 12.5px; }
footer .footer-policy a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer .footer-policy a:hover { color: var(--gold-soft); }
footer .footer-policy a strong { color: var(--ink-100); font-weight: 700; }
footer .footer-policy a:hover strong { color: var(--gold-soft); }
footer .footer-policy .bar { margin: 0 8px; opacity: 0.35; }

footer .footer-menu h4 {
    font-size: 13px;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.01em;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 700;
    white-space: nowrap;
}
footer .footer-menu ul { list-style: none; margin: 0; padding: 0; }
footer .footer-menu li { margin-bottom: 10px; }
footer .footer-menu a {
    display: block;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

/* LinkedIn — 텍스트는 일반 메뉴 링크와 동일(#c2cbe6), 아이콘만 금색 고정 */
footer .footer-menu li.footer-sns { margin-top: 14px; }
footer .footer-menu li.footer-sns a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
html body footer .footer-menu li.footer-sns a,
html body footer .footer-menu li.footer-sns a:link,
html body footer .footer-menu li.footer-sns a:visited { color: #c2cbe6 !important; }
html body footer .footer-menu li.footer-sns a:hover { color: #f0d292 !important; }
html body footer .footer-menu li.footer-sns svg,
html body footer .footer-menu li.footer-sns svg path {
    color: var(--gold) !important;
    fill: var(--gold) !important;
    flex-shrink: 0;
}
html body footer .footer-menu li.footer-sns a:hover svg,
html body footer .footer-menu li.footer-sns a:hover svg path {
    color: var(--gold-soft) !important;
    fill: var(--gold-soft) !important;
}

footer .footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.8;
}


/* ============================================================
   푸터 — 레이아웃 + 반응형 (단일 전담 블록. 다른 곳에 푸터 grid 규칙 금지)
   mobile_shop.css 의 float/width 규칙을 이기기 위해 html body + !important 유지
   브레이크포인트: 1280 / 1180 / 920 / 680 / 480 / 420
   ============================================================ */

/* 글자 세로 쪼개짐 방지 (body 의 break 규칙 무력화) */
footer, footer * {
    word-break: normal !important;
    overflow-wrap: break-word !important;   /* 긴 이메일/URL 만 경계에서 개행 */
}
footer .footer-company h3,
footer .footer-company p,
footer .footer-menu a { word-break: keep-all !important; }

/* 기본(데스크톱): 회사정보 1 : 메뉴 2.4 */
html body footer .footer-info {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) 2.4fr !important;
    gap: 60px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 36px !important;
    padding: 0 60px 36px !important;
    border-bottom: 1px solid var(--line-soft) !important;
    align-items: start !important;
    float: none !important;
    box-sizing: border-box !important;
}
html body footer .footer-company {
    width: auto !important;
    float: none !important;
    min-width: 0 !important;
}
html body footer .footer-menu-group {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
    width: auto !important;
    float: none !important;
    min-width: 0 !important;
}
html body footer .footer-menu {
    min-width: 0 !important;
    float: none !important;
    width: auto !important;
}
html body footer .footer-menu a { color: #c2cbe6 !important; opacity: 1 !important; }
html body footer .footer-menu a:hover { color: #f0d292 !important; }

/* ---------- 1280: 좌우 여백 축소 ---------- */
@media (max-width: 1280px) {
    footer .footer-container { padding: 0 40px !important; }
    html body footer .footer-info {
        gap: 40px !important;
        padding: 0 40px 32px !important;
    }
    footer .footer-menu h4 { font-size: 12.5px; }
    footer .footer-menu a { font-size: 13px; }
}

/* ---------- 1180: 메뉴 5열 → 3열 (햄버거 전환점과 통일) ---------- */
@media (max-width: 1180px) {
    html body footer .footer-menu-group {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px 16px !important;
    }
    /* 좁아지면 nowrap 해제 — 가로 넘침 방지 */
    footer .footer-menu h4,
    footer .footer-menu a { white-space: normal; }
}

/* ---------- 920: 회사정보 위로, 1단 스택 ---------- */
@media (max-width: 920px) {
    footer { padding: 50px 0 30px !important; }
    footer .footer-container { padding: 0 20px !important; }
    html body footer .footer-info {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding: 0 20px 32px !important;
        margin-bottom: 28px !important;
    }
}

/* ---------- 680: 메뉴 2열 + 아코디언 (중복 블록 하나로 통합) ---------- */
@media (max-width: 680px) {
    footer { padding: 40px 0 26px !important; }
    html body footer .footer-menu-group {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 14px !important;
    }
    footer .footer-company h3 { font-size: 15px; margin-bottom: 12px; }
    footer .footer-company p { font-size: 12px; margin-bottom: 6px; }
    footer .footer-menu li { margin-bottom: 8px; }
    footer .footer-bottom { font-size: 11.5px; line-height: 1.7; }

    /* 아코디언 */
    footer .footer-menu h4 {
        position: relative;
        margin-bottom: 0;
        padding: 12px 0;
        cursor: pointer;
    }
    footer .footer-menu h4::after {
        content: '+';
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 400;
        color: var(--muted);
    }
    footer .footer-menu.on h4::after { content: '\2212'; color: var(--gold); }
    html body footer .footer-menu ul { display: none !important; }
    html body footer .footer-menu.on ul {
        display: block !important;
        padding-bottom: 10px !important;
    }
}

/* ---------- 480: 여백 최소화 ---------- */
@media (max-width: 480px) {
    footer { padding: 34px 0 22px !important; }
    footer .footer-container { padding: 0 16px !important; }
    html body footer .footer-info {
        padding: 0 16px 26px !important;
        margin-bottom: 24px !important;
        gap: 26px !important;
    }
    footer .footer-policy { margin-top: 12px !important; font-size: 12px; }
    footer .footer-policy .bar { margin: 0 6px; }
    footer .footer-bottom { font-size: 11px; }
}

/* ---------- 420: 메뉴 1열 ---------- */
@media (max-width: 420px) {
    html body footer .footer-menu-group { grid-template-columns: 1fr !important; }
}