/* =============================================================
   PUREMOVE 홈페이지 스타일
   색·글꼴·간격은 아래 :root 변수만 바꾸면 사이트 전체에 적용됩니다.
   ============================================================= */
:root {
  --bg: #fbfcfd;
  --surface: #ffffff;
  --text: #16222c;
  --muted: #6b7a88;
  --line: #e4eaf0;
  --brand: #061231;          /* 메인 블루 */
  --brand-dark: #1f5f7c;
  --brand-soft: #e7f2f8;     /* 연한 아이스블루 배경 */
  --accent: #9fd3e6;
  --success: #1f8a5b; --error: #c53d3d; --info: #2d7fa3;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(22, 34, 44, .07);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.inline { display: inline; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.4em; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-ghost { background: var(--brand-soft); color: var(--brand-dark); }
.btn-sm { padding: .45em 1em; font-size: .85rem; }
.btn-danger { background: var(--error); } .btn-danger:hover { background: #a13030; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; }

/* ---------- 상단 ---------- */
.announce { background: var(--brand-dark); color: #dff0f8; font-size: .85rem; text-align: center; padding: .5em 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav .btn { color: #fff; }
.nav-sep { width: 1px; height: 18px; background: var(--line); }
.nav-admin { background: var(--brand-soft); padding: .2em .7em; border-radius: 6px; font-size: .85rem; }
.lang-switch { font-size: .78rem !important; font-weight: 600 !important; letter-spacing: .06em; padding: .3em .7em; border: 1px solid var(--line); border-radius: 999px; color: var(--muted) !important; }
.lang-switch:hover { border-color: var(--brand); color: var(--brand) !important; }
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff2dc; color: #7a5200; padding: .9rem 1.2rem; border-radius: 12px; font-size: .95rem; margin-top: 1rem; max-width: 760px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }

/* ---------- 알림 ---------- */
.flash { margin: 1rem 0 0; padding: .8em 1.1em; border-radius: 10px; font-size: .95rem; }
.flash-success { background: #e6f5ec; color: var(--success); }
.flash-error { background: #fbe9e9; color: var(--error); }
.flash-info { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #f3f9fc 0%, #e4f1f7 50%, #d6eaf3 100%); padding: 110px 0 100px; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(159,211,230,.55), transparent 70%); }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .14em; font-size: .8rem; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: .2em 0 .35em; }
.hero p { font-size: 1.15rem; color: #3b4b58; max-width: 560px; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- 섹션 ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head p { margin: 0; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .12em; font-size: .78rem; text-transform: uppercase; margin-bottom: .4em; }

/* 철학 2단 */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.philo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.philo-card .big { font-size: 2.4rem; font-weight: 700; color: var(--brand); margin-bottom: .3em; }
.philo-card ul { margin: 0; padding-left: 1.1em; color: #3b4b58; }

/* 카드 그리드 */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .thumb { aspect-ratio: 4/3; background: var(--brand-soft); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.3rem; flex: 1; }
.card h3 { margin-bottom: .2em; }
.card .sub { color: var(--muted); font-size: .9rem; margin-bottom: .8em; }
.card a.stretch { color: inherit; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); letter-spacing: .04em; }
.badge-coming { background: #fff2dc; color: #9a6400; }
.badge-notice { background: #fbe9e9; color: var(--error); }
.badge-event { background: #e6f5ec; color: var(--success); }
.badge-gray { background: #eef1f4; color: var(--muted); }

/* 소식 리스트 */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem .4rem; color: var(--text); }
.post-list a:hover { background: var(--brand-soft); }
.post-list .t { flex: 1; font-weight: 500; }
.post-list .d { color: var(--muted); font-size: .85rem; }
.tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tabs a { padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: .9rem; }
.tabs a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.article .content { font-size: 1.05rem; }
.article .content img { border-radius: var(--radius); margin: 1.5rem 0; }

/* 제품 상세 */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail .gallery { background: var(--brand-soft); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.product-detail .gallery img { width: 100%; height: 100%; object-fit: cover; }
.price { font-size: 1.6rem; font-weight: 700; margin: .5rem 0 1.2rem; }
.buy-row { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.5rem 0; }
.detail-tabs { margin-top: 2rem; border-top: 1px solid var(--line); }
.detail-tabs details { border-bottom: 1px solid var(--line); }
.detail-tabs summary { padding: 1rem 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.detail-tabs summary::after { content: '+'; color: var(--muted); }
.detail-tabs details[open] summary::after { content: '−'; }
.detail-tabs .inner { padding: 0 0 1.2rem; color: #3b4b58; }

/* 리뷰 */
.rating { color: #f2a93b; letter-spacing: .05em; }
.review { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.review .who { font-size: .9rem; color: var(--muted); }
.review-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2em; }
.stars input { display: none; }
.stars label { font-size: 1.8rem; color: #d9dee3; cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f2a93b; }

/* FAQ */
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; padding: 0 1.3rem; }
.faq-list summary { padding: 1.1rem 0; font-weight: 600; cursor: pointer; }
.faq-list .inner { padding: 0 0 1.2rem; color: #3b4b58; }

/* ---------- 폼 ---------- */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .9rem; font-weight: 600; display: block; margin-bottom: .35em; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=tel], select, textarea {
  width: 100%; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,127,163,.15); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; align-items: center; gap: .5em; font-weight: 400; font-size: .92rem; }
.check input { width: auto; }
.help { font-size: .82rem; color: var(--muted); margin-top: .3em; }
.auth-box { max-width: 440px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.auth-box h1 { font-size: 1.7rem; text-align: center; margin-bottom: 1.5rem; }
.auth-box .switch { text-align: center; margin-top: 1.4rem; font-size: .92rem; }
.page-head { padding: 60px 0 30px; }
.page-head p { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.narrow { max-width: 720px; }

/* 브랜드 스토리 */
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 60px 0; }
.story-block:nth-child(even) .visual { order: -1; }
.visual { border-radius: var(--radius); aspect-ratio: 4/3; background: linear-gradient(135deg, #e7f2f8, #c8e2ee); display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 3rem; font-weight: 700; letter-spacing: .1em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.value .num { color: var(--accent); font-weight: 700; font-size: 1.4rem; }
.quote { font-size: 1.5rem; font-weight: 500; text-align: center; max-width: 760px; margin: 0 auto; color: #2b3a46; line-height: 1.5; }

/* 마이페이지 */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem; }
.panel h3 { margin-bottom: 1rem; }
.status { font-size: .8rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; }
.status-pending { background: #fff2dc; color: #9a6400; }
.status-accepted { background: #e6f5ec; color: var(--success); }
.status-rejected { background: #eef1f4; color: var(--muted); }
.status-new { background: var(--brand-soft); color: var(--brand-dark); }
.status-done { background: #e6f5ec; color: var(--success); }

/* 표 */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .7em .6em; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .82rem; }
td form { display: inline; }
.table-wrap { overflow-x: auto; }

/* 뉴스레터 띠 · 푸터 */
.newsletter-band { background: var(--brand-dark); color: #fff; padding: 50px 0; }
.newsletter-band h3 { color: #fff; margin-bottom: .2em; }
.newsletter-band p { color: #bfdde9; margin: 0; }
.newsletter-wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.newsletter-form { display: flex; gap: .6rem; }
.newsletter-form input { min-width: 260px; border: 0; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 50px 0 30px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-grid a { color: var(--text); }
.footer-logo { margin-bottom: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; flex-wrap: wrap; gap: .5rem; }

/* ---------- 관리자 ---------- */
.is-admin main { background: #f3f6f9; min-height: 70vh; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; min-height: 70vh; }
.admin-side { background: #fff; border-right: 1px solid var(--line); padding: 1.5rem 0; }
.admin-side a { display: block; padding: .6em 1.5rem; color: var(--text); font-size: .93rem; }
.admin-side a.active, .admin-side a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.admin-side .group { font-size: .72rem; letter-spacing: .1em; color: var(--muted); padding: 1.2rem 1.5rem .3rem; text-transform: uppercase; }
.admin-main { padding: 2rem; }
.admin-main h1 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }
.stat .n { font-size: 2rem; font-weight: 700; color: var(--brand); }
.stat .l { color: var(--muted); font-size: .85rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.admin-form { max-width: 820px; }
.thumb-sm { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--brand-soft); }
.actions-cell { white-space: nowrap; }
.actions-cell .btn { margin-right: .3rem; }
pre.plain { white-space: pre-wrap; font-family: inherit; margin: 0; font-size: .9rem; color: #3b4b58; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: flex; flex-wrap: wrap; padding: .5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-side .group { display: none; }
  .admin-side a { padding: .5em .9em; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; border-bottom: 1px solid var(--line); gap: .9rem; }
  body.nav-open .nav { display: flex; }
  .nav-sep { display: none; }
  .nav .btn { justify-content: center; }
  .hero { padding: 70px 0 60px; }
  .philosophy, .grid-2, .grid-3, .product-detail, .story-block, .form-row { grid-template-columns: 1fr; }
  .story-block:nth-child(even) .visual { order: 0; }
  .values { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .newsletter-form { width: 100%; } .newsletter-form input { min-width: 0; flex: 1; }
  .auth-box { padding: 1.8rem 1.4rem; }
  .admin-main { padding: 1.2rem; }
}

/* 관리자: 영문 입력 접이식 */
.en-fields { border: 1px dashed var(--line); border-radius: 12px; padding: .8rem 1.1rem; background: #fafcfd; }
.en-fields summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--brand-dark); }
