:root {
    --bg-page: #000000;
    /* 바깥 기본색 (배경 이미지 안 보일 때) */
    --bg-app: #f9fafb;
    /* 앱 화면 기본 배경 */
    --bg-section: #ffffff;
    /* 카드/섹션 배경 */
    --accent: #4f46e5;
    /* 메인 포인트 색 (인디고) */
    --accent-soft: rgba(79, 70, 229, 0.1);
    --accent-strong: #4338ca;
    --text-main: #111827;
    /* 기본 글자 */
    --text-muted: #6b7280;
    /* 서브 텍스트 */
    --border-soft: #e5e7eb;
    --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --max-width: 960px;
}

/* 전체 페이지(브라우저 전체) 세팅 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans KR",
        sans-serif;

    /* ✅ 뒷배경 전체에 이미지 꽉 채우기 + 고정 */
    background-color: var(--bg-page);
    background-image: url("/public/img/saju-bg.png");
    background-position: center center;
    /* background-repeat: no-repeat; */
    background-size: cover;
    background-attachment: fixed;
    /* 배경 고정 */

    color: var(--text-main);

    /* ✅ body는 더 이상 스크롤 안 함 */
    height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: stretch;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ✅ 480px 고정 앱 화면 래퍼 (여기만 스크롤) */
.app-root {
    width: 480px;
    height: 100vh;
    margin: 0 auto;

    background: rgba(249, 250, 251, 0.94);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);

    /* ✅ 중앙 화면만 세로 스크롤 */
    overflow-y: auto;

    /* ✅ 스크롤바 숨기기 */
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
}

.app-root::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge (WebKit) */
}

/* 모바일에서 화면이 480보다 좁으면 꽉 채우기 */
@media (max-width: 480px) {
    .app-root {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

/* 공통 컨테이너 (480 내부에서 좌우 여백 역할) */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* 앱 느낌 페이지용 (폼/결과) – 가운데 살짝 좁게 */
.app-page {
    max-width: 440px;
    margin: 0 auto;
}

/* 헤더 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 1.05rem;
    color: var(--text-main);
}

.logo span {
    /* color: var(--accent); */
    color: #000000;
}

.main-nav a {
    margin-left: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.main-nav a:hover {
    color: var(--accent-strong);
}

/* 섹션 */
.section {
    padding: 28px 0;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.section-subtitle {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 메인 히어로 (홍보용 랜딩) */
.hero {
    padding: 24px 0 12px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.hero-text h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.hero-text p {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    gap: 10px;
}

/* 히어로 카드 (우측 박스) */
.hero-card {
    /* max-width: 220px; */
    padding: 14px 14px 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #eef2ff, #ffffff);
    border: 1px solid #e0e7ff;
    box-shadow: var(--shadow-soft);
}

.hero-card .badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    background: var(--accent-soft);
    color: var(--accent-strong);
    margin-bottom: 6px;
}

.hero-card h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.hero-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 12px;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
    background: transparent;
    color: var(--text-main);
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s;
}

.btn.primary {
    width: 100%;
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

.btn.primary:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
}

.btn.ghost {
    border-color: #d1d5db;
    background: #ffffff;
}

.btn.ghost:hover {
    background: #f3f4f6;
}

.btn.small {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn.full {
    width: 100%;
}

/* 폼 영역 */
.fortune-form {
    margin-top: 18px;
    padding: 18px 16px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-section);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.required {
    color: #ef4444;
}

input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: var(--text-main);
    font-size: 0.9rem;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.3);
}

.radio-group {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* 결과 요약/카드 */
.result-summary {
    padding: 14px 14px 16px;
    border-radius: var(--radius-lg);
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.result-card {
    padding: 10px 10px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-section);
    border: 1px solid var(--border-soft);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.result-card h3 {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.score-num {
    margin: 4px 0 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-strong);
}

/* 상세 텍스트 */
.result-details h3 {
    margin-top: 14px;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.result-details ul {
    margin: 0 0 10px 18px;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.align-right {
    text-align: right;
    margin-top: 14px;
}

/* 푸터 */
.site-footer {
    margin-top: auto;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
    background: rgba(249, 250, 251, 0.96);
}

.footer-inner {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 반응형 (480 이하면 레이아웃 정리) */
@media (max-width: 480px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 100%;
        margin-top: 10px;
    }

    .result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===== 폼 레이아웃 ===== */

.page-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 20px 0 18px;
}

.fortune-form--simple {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.field {
    margin-bottom: 18px;
}

.field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #111827;
}

.field-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.field-row--between {
    justify-content: space-between;
}

/* ===== 칩(성별, 양력/음력 버튼) ===== */

.chip-group {
    display: flex;
    gap: 10px;
}

.chip {
    position: relative;
    display: inline-flex;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease,
        color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

/* 작은 칩 (양력/음력) */
/* .chip--small span {
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    font-size: 0.85rem;
} */

/* 선택된 상태 */
/* .chip input:checked+span {
    border-color: #1b89ff;
    background: #1b89ff;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(27, 137, 255, 0.35);
    transform: translateY(-1px);
} */


/* ===== CTA 버튼 ===== */

/* .primary-cta {
    margin-top: 24px;
    width: 100%;
    height: 56px;
    border-radius: 999px;
    border: none;
    background: #1b89ff;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
    transition: background 0.15s ease, box-shadow 0.15s ease,
        transform 0.05s ease;
}

.primary-cta:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.primary-cta:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.28);
} */

/* 모바일 간격 약간 줄이기 */
@media (max-width: 480px) {
    .page-title {
        font-size: 1.15rem;
        margin-top: 16px;
    }

    .field {
        margin-bottom: 16px;
    }
}

/* ===========================
   폼 고급 테마 오버라이드
   (기존 코드 유지 + 아래만 style.css 맨 마지막에 추가)
   =========================== */

:root {
    /* 포인트 컬러를 조금 더 믿음 가는 블루로 조정 */
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.14);
}

/* 제목 약간 더 또렷하게 */
.page-title {
    font-size: 1.32rem;
    font-weight: 700;
    margin: 18px 0 20px;
    letter-spacing: -0.03em;
}

/* 카드 형태의 폼 컨테이너 */
.fortune-form--simple {
    margin-top: 4px;
    padding: 24px 22px 26px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #ffffff 0, #f4f6fb 55%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* 라벨을 조금 더 진하게 */
.field-label {
    font-weight: 600;
    color: #0f172a;
}

/* 인풋 / 셀렉트 – 더 둥글고, 살짝 떠 있는 느낌 */
.input-text,
.select-base {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: rgba(248, 250, 252, 0.96);
    font-size: 0.9rem;
    color: #111827;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease,
        transform 0.06s ease;
    appearance: none;
}

.input-text::placeholder,
.select-base:invalid {
    color: #9ca3af;
}

.input-text:focus,
.select-base:focus {
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.12);
    transform: translateY(-0.5px);
}

/* 셀렉트 화살표 살짝 정리 */
.select-base {
    background-image:
        linear-gradient(45deg, transparent 50%, #9ca3af 50%),
        linear-gradient(135deg, #9ca3af 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 19px,
        calc(100% - 11px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* 칩(성별/양력·음력) – 라운드 토글 느낌 */
.chip-group {
    display: flex;
    gap: 10px;
}

.chip span {
    min-width: 88px;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.06s ease;
}

/* 작은 칩 (양력/음력) */
.chip--small span {
    min-width: 60px;
    height: 38px;
    padding: 0 14px;
    font-size: 0.84rem;
}

/* 호버 */
.chip span:hover {
    border-color: rgba(148, 163, 184, 0.95);
    background: rgba(255, 255, 255, 0.99);
}

/* 선택된 칩 – 그라데이션 + 그림자 */
.chip input:checked+span {
    border-color: transparent;
    background: radial-gradient(circle at top left, #38bdf8 0, #2563eb 55%);
    color: #ffffff;
    /* box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45); */
    transform: translateY(-1px);
}

/* 시간 모름 체크 – 살짝만 강조 */
.inline-check {
    font-size: 0.85rem;
    color: #6b7280;
}

.inline-check input {
    accent-color: var(--accent);
}

/* 메인 CTA 버튼 – 그라데이션 + 더 깊은 그림자 */
.primary-cta {
    margin-top: 26px;
    width: 100%;
    height: 56px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1d4ed8 0, #2563eb 45%, #38bdf8 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    /* box-shadow:
        0 14px 30px rgba(37, 99, 235, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.5); */
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    transition:
        transform 0.08s ease,
        box-shadow 0.16s ease,
        filter 0.12s ease;
}

.primary-cta:hover {
    transform: translateY(-1px);
    /* box-shadow:
        0 18px 36px rgba(37, 99, 235, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.7); */
    filter: brightness(1.03);
}

.primary-cta:active {
    transform: translateY(0);
    /* box-shadow:
        0 10px 20px rgba(37, 99, 235, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.55); */
}

/* 모바일에서 카드 여백만 살짝 줄이기 */
@media (max-width: 480px) {
    .fortune-form--simple {
        padding: 20px 18px 22px;
    }
}

/* ===========================
   상단 메뉴 버튼 & 오버레이
   =========================== */

/* 헤더 오른쪽 메뉴 버튼 (동그란 햄버거) */
.header-menu-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
    transition: box-shadow 0.16s ease, transform 0.08s ease, background 0.16s ease;
}

.header-menu-btn span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #4b5563;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

/* 메뉴 열렸을 때 버튼 애니메이션 (X자 느낌) */
.header-menu-btn.is-active span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.header-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.header-menu-btn.is-active span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
}

.header-menu-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

/* 메뉴 오버레이 전체 */
.menu-overlay {
    position: fixed;
    inset: 0;
    display: none;
    /* 기본은 숨김 */
    justify-content: center;
    align-items: flex-start;
    padding-top: 70px;
    background: rgba(15, 23, 42, 0.45);
    /* 살짝 어두운 배경 */
    z-index: 40;
}

/* 열렸을 때 */
.menu-overlay.is-open {
    display: flex;
}

/* 480px 앱 영역에 맞춰 중앙 정렬된 패널 */
.menu-panel {
    width: 480px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.94);
    color: #f9fafb;
    padding: 16px 18px 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

/* 메뉴 헤더 */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.menu-title {
    font-size: 0.95rem;
    font-weight: 600;
}

/* 닫기 버튼 */
.menu-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

/* 메뉴 리스트 */
.menu-list {
    margin: 10px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(238, 238, 238, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.95rem;
    color: #e5e7eb;
    text-decoration: none;
    transition: background 0.14s ease, border-color 0.14s ease, transform 0.06s ease;
}

.menu-item:hover {
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(191, 219, 254, 0.9);
    transform: translateY(-1px);
}

/* 하단 문의하기 버튼 */
/* .menu-contact-btn {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1d4ed8 0, #2563eb 40%, #38bdf8 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    transition: transform 0.08s ease, box-shadow 0.16s ease, filter 0.12s ease;
}

.menu-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.6);
    filter: brightness(1.03);
} */

/* 모바일에서도 자연스럽게 보이도록 */
@media (max-width: 480px) {
    .menu-panel {
        border-radius: 0;
    }
}

/* ===========================
   오른쪽 슬라이드 메뉴 오버라이드
   =========================== */

/* 전체 오버레이: 뒷배경은 살짝 어둡게, 우측 정렬 */
.menu-overlay {
    position: fixed;
    inset: 0;
    display: none;
    /* .is-open 일 때만 보이도록 */
    justify-content: flex-end;
    /* 👉 오른쪽으로 패널 밀기 */
    align-items: stretch;
    background: rgba(15, 23, 42, 0.35);
    /* 뒤는 살짝 어두운 반투명 */
    z-index: 40;
}

/* 메뉴 열렸을 때 */
.menu-overlay.is-open {
    display: flex;
}

/* 오른쪽에서 나오는 흰색 패널 */
.menu-panel {
    width: min(440px, 80vw);
    /* 최대 440px, 아니면 화면의 80% */
    height: 100%;
    margin: 0;
    padding: 18px 22px 22px;

    background: #ffffff;
    color: #111827;
    border-radius: 24px 0 0 24px;
    /* 왼쪽만 둥글게 */
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.45);

    display: flex;
    flex-direction: column;
}

/* 상단 헤더 (제목 + 닫기 버튼) */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.menu-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* X 버튼 */
.menu-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

.menu-close-btn:hover {
    background: #e5e7eb;
    color: #111827;
    transform: translateY(-1px);
}

/* 메뉴 항목 리스트 */
.menu-list {
    margin: 12px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 각 메뉴 아이템 (사주팔자, 타로) */
.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 6px;
    border-radius: 12px;

    font-size: 0.95rem;
    color: #111827;
    text-decoration: none;

    transition: background 0.14s ease, transform 0.06s ease;
}

/* 호버 시 살짝 하이라이트 */
.menu-item:hover {
    background: rgba(148, 163, 184, 0.14);
    transform: translateY(-1px);
}

/* 하단 문의하기 버튼 – 패널 아래쪽에 고정 느낌 */
.menu-contact-btn {
    /* margin-top: auto; */
    /* 🔽 리스트 위는 내용, 아래는 버튼 */
    width: 100%;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1d4ed8 0, #2563eb 45%, #38bdf8 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    /* box-shadow: 0 12px 26px rgba(37, 99, 235, 0.55); */
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    transition: transform 0.08s ease, box-shadow 0.16s ease, filter 0.12s ease;
}

.menu-contact-btn:hover {
    transform: translateY(-1px);
    /* box-shadow: 0 16px 32px rgba(37, 99, 235, 0.6); */
    filter: brightness(1.03);
}

/* 모바일(폭 좁을 때)은 거의 전체 폭 쓰게 */
@media (max-width: 480px) {
    .menu-panel {
        width: 100%;
        border-radius: 0;
        /* 모바일에서는 전체를 덮는 느낌 */
    }
}

/* ===========================
   글로벌 메뉴: 전체 높이 + 우측 300px 패널
   =========================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* ✅ 화면 위~아래 꽉 채우기 */
    height: 100vh;

    display: none;
    /* is-open에서만 보이게 */
    justify-content: flex-end;
    /* 👉 오른쪽으로 패널 붙이기 */
    align-items: stretch;

    padding: 0;
    /* 예전에 넣은 padding-top 같은 거 덮어쓰기 */
    background: rgba(15, 23, 42, 0.35);
    /* 뒷배경 살짝 어둡게 */
    z-index: 999;
    /* 헤더보다 위로 오도록 */
}

.menu-overlay.is-open {
    display: flex;
}

/* 오른쪽에서 나오는 패널 */
.menu-panel {
    width: 300px;
    /* ✅ 요청한 너비 */
    max-width: 80vw;
    /* 화면이 너무 좁을 때 안전장치 */
    height: 100vh;
    /* ✅ 위에서 아래까지 전체 */

    margin: 0;
    padding: 18px 20px 22px;

    background: #ffffff;
    color: #111827;
    border-radius: 24px 0 0 24px;
    /* 왼쪽만 둥글게 */
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.45);

    display: flex;
    flex-direction: column;
}

/* 모바일에서는 거의 전체 폭 사용 */
@media (max-width: 480px) {
    .menu-panel {
        /* width: 100%; */
        /* max-width: 100%; */
        border-radius: 0;
    }
}

/* ===========================
   상단 이미지 hero (index용)
   =========================== */

.hero--image-only {
    padding: 16px 0 4px;
}

.hero--image-only .hero-inner {
    /* 기존 grid 대신 이미지 하나만 중앙에 */
    display: block;
    /* max-width: 440px; */
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.25);
    background-color: #fff;
}

/* 메뉴 열렸을 때 메인 화면(.app-root) 스크롤 잠그기 */
.app-root.menu-open {
    overflow: hidden;
}

/* 메뉴 패널은 위아래로 스크롤 가능하게 */
.menu-panel {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    /* 여기서만 스크롤 발생 */
    -webkit-overflow-scrolling: touch;
    /* 모바일에서 부드러운 스크롤 */
}

/* ===========================
   메뉴: 가운데 480px 우측에서 슬라이드
   =========================== */

/* 전체 어두운 오버레이 (화면 전체) */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 화면 위~아래 꽉 채우기 */
    background: rgba(15, 23, 42, 0.35);
    z-index: 900;
    display: none;
    /* is-open에서만 보이도록 */
}

.menu-overlay.is-open {
    display: block;
}

/* 오른쪽 패널: PC에서는 480px 오른쪽 옆에서, 모바일에서는 전체 */
/* .menu-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: calc(50% - 60px);
    width: 300px;
    max-width: 80vw;

    padding: 18px 20px 22px;
    background: #ffffff;
    color: #111827;
    border-radius: 24px 0 0 24px;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.45);

    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 901;
} */

/* 모바일/좁은 화면에서는 전체 폭 메뉴로 */
/* ===========================
   PC: 메뉴 오른쪽을 480px 화면 오른쪽에 맞추기
   =========================== */
@media (min-width: 781px) {
    .menu-panel {
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100vh;

        width: 300px;
        left: calc(50% - 60px);

        overflow-y: auto;
    }
}

/* 모바일/태블릿에서는 전체 폭 메뉴로 (기존처럼) */
@media (max-width: 780px) {
    .menu-panel {
        position: fixed;
        top: 0;
        bottom: 0;
        /* left: 0; */
        right: 0;
        width: 300px;
        /* max-width: 100%; */
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
    }
}

/* 메인 콘텐츠와 푸터에 부드러운 트랜지션 추가 */
.app-root main,
.app-root .site-footer {
    transition: filter 0.1s ease;
}

/* 메뉴 열렸을 때: 가운데 메인 화면만 블러 처리 */
.app-root.menu-open main,
.app-root.menu-open .site-footer {
    filter: blur(2px);
}

/* ===========================
   히어로 카드 – 할인 이벤트 스타일
   =========================== */

.hero-promo {
    margin-top: 4px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.06);
    /* 살짝 은은한 보라 계열 */
}

.hero-promo-title {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #4b5563;
}

.hero-promo-price {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hero-promo-price .price-old {
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: line-through;
    /* ✅ 취소선 */
}

.hero-promo-price .price-arrow {
    font-size: 0.85rem;
    color: #6b7280;
}

.hero-promo-price .price-new {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    /* ✅ 포인트 컬러로 강조 */
}