/* ========================================================
   도서출판 나무와열매 — 대한민국 인터넷 서점 보편 표준 서체 시스템
   - 본문·UI·검색·가격: Pretendard, Noto Sans KR (가독성 1위 표준 고딕)
   - 도서제목·서재카피·인용: KoPubWorldBatang, Noto Serif KR (출판 표준 명조)
   ======================================================== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&family=Noto+Serif+KR:wght@400;600;700;900&family=Nanum+Myeongjo:wght@400;700;800&display=swap');
/* 표준 명조 서체: Noto Serif KR, Nanum Myeongjo 완벽 연동 */

*, *::before, *::after { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

:root {
  /* 대한민국 인터넷 서점 (교보·알라딘·예스24·리디) 보편 표준 서체 시스템 */
  --font-base: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-serif: 'KoPubWorldBatang', 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --font-body: 'Pretendard', 'Noto Sans KR', sans-serif;

  /* 메인 브랜드 컬러: 생동감 넘치는 에메랄드 & 민트 */
  --kyobo-green: #059669;
  --kyobo-green-hover: #047857;
  --kyobo-green-light: #ecfdf5;
  --kyobo-green-border: #a7f3d0;
  --color-primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* 다채로운 악센트 컬러 (베스트, 신간, 추천 등) */
  --color-accent-gold: #f59e0b;
  --color-accent-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --color-accent-sky: #0284c7;
  --color-accent-sky-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --color-accent-rose: #f43f5e;
  --color-accent-rose-gradient: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  --color-accent-purple: #8b5cf6;
  --color-accent-purple-gradient: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  --color-accent-teal: #0d9488;

  /* 밝고 화사한 배경 & 카드 */
  --color-bg: #f8fafc;
  --color-card-bg: #ffffff;
  --color-subtle-bg: #f1f5f9;

  /* 텍스트 가독성 */
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-subtle: #94a3b8;

  /* 테두리 & 에러 */
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  --color-error: #ef4444;

  /* 섀도우 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-emerald: 0 8px 20px rgba(16, 185, 129, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

html, body {
  margin: 0; padding: 0; width: 100%; overflow-x: hidden;
  background-color: var(--color-bg); color: var(--color-text-main);
  font-family: var(--font-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-wrap: break-word;
}

h1, h2, h3, .serif-font, .book-title, .brand-main-text, .hero-title, .hero-main-title {
  font-family: var(--font-serif);
  letter-spacing: -0.025em;
  text-rendering: optimizeLegibility;
}

.handwriting-font {
  font-family: var(--font-serif);
  font-style: italic;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ========================================================
   1. 상단 알림 바 (밝고 상쾌한 그라데이션)
   ======================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #059669 0%, #0d9488 35%, #0284c7 70%, #6366f1 100%);
  color: #ffffff; font-size: 0.82rem; padding: 8px 16px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2);
}
.announcement-inner {
  max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.announcement-sub {
  background: rgba(255, 255, 255, 0.22); padding: 3px 12px; border-radius: var(--radius-full);
  font-size: 0.76rem; backdrop-filter: blur(4px); letter-spacing: -0.01em;
}

/* ========================================================
   2. 사이트 헤더 & 검색 & 장바구니
   ======================================================== */
.site-header {
  background: #ffffff; border-bottom: 2px solid var(--color-border);
  position: relative; z-index: 100; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.header-main-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.header-brand-row {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--kyobo-green);
}
.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
}
.brand:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.06);
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.25);
}
.brand-titles { display: flex; flex-direction: column; }
.brand-main-text { font-size: 1.3rem; font-weight: 900; line-height: 1.2; color: var(--color-text-main); letter-spacing: -0.02em; }
.brand-sub-text { font-size: 0.74rem; color: #15803d; font-weight: 800; letter-spacing: 0.04em; }

/* 화사한 검색창 */
.header-search-wrap { flex: 1; max-width: 480px; margin: 0 16px; }
.search-form {
  display: flex; border: 2px solid #10b981; border-radius: 28px;
  background: #ffffff; overflow: hidden; padding: 3px 4px 3px 18px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12); transition: all 0.2s ease;
}
.search-form:focus-within {
  border-color: #059669; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}
.search-form input {
  flex: 1; border: none; padding: 6px 0; font-size: 0.94rem; outline: none; font-family: inherit; color: var(--color-text-main);
}
.search-form button {
  background: var(--color-primary-gradient); border: none; width: 34px; height: 34px; border-radius: 50%;
  color: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease; flex-shrink: 0;
}
.search-form button:hover { transform: scale(1.06); filter: brightness(1.1); }

/* 유틸 장바구니 버튼 */
.header-utils { display: flex; align-items: center; gap: 12px; }
.util-cart-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #047857;
  padding: 7px 15px; border-radius: 24px; background: var(--kyobo-green-light);
  border: 1.5px solid var(--kyobo-green-border); position: relative;
  font-weight: 700; font-size: 0.92rem; transition: all 0.2s ease;
}
.util-cart-btn:hover {
  background: #d1fae5; border-color: #6ee7b7; transform: translateY(-1px);
}
.header-badge {
  background: var(--color-accent-rose-gradient); color: #ffffff; font-size: 0.72rem; font-weight: 900;
  padding: 2px 7px; border-radius: 12px; line-height: 1;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
}

/* PWA 앱 설치 버튼 (안드로이드 & 애플) */
.util-app-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 24px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff; border: none; font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3); cursor: pointer;
  transition: all 0.2s ease;
}
.util-app-btn:hover {
  filter: brightness(1.1); transform: translateY(-1px);
}
.util-app-btn.has-prompt {
  animation: pulseAppBtn 2s infinite;
}
@keyframes pulseAppBtn {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* iOS 사파리 홈 화면 추가 안내 바 */
.ios-install-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff; padding: 14px 20px; border-bottom: 2px solid #059669;
  position: sticky; top: 0; z-index: 200; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: slideDown 0.3s ease;
}
.ios-guide-inner {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
}
.ios-guide-icon { font-size: 1.6rem; flex-shrink: 0; }
.ios-guide-text { flex: 1; font-size: 0.9rem; }
.ios-guide-text strong { display: block; font-size: 0.98rem; color: #34d399; margin-bottom: 2px; }
.ios-guide-text p { margin: 0; opacity: 0.9; line-height: 1.4; }
.btn-close-guide {
  background: rgba(255, 255, 255, 0.15); border: none; color: #ffffff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.btn-close-guide:hover { background: rgba(255, 255, 255, 0.3); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* GNB 메뉴 바 */
.site-gnb { border-top: 1px solid var(--color-border); }
.gnb-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.gnb-item {
  display: block; padding: 13px 0; text-decoration: none; color: #334155;
  font-size: 0.96rem; font-weight: 700; position: relative; transition: color 0.15s ease;
}
.gnb-item.is-active, .gnb-item:hover { color: var(--kyobo-green); }
.gnb-item.is-active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4); border-radius: 3px 3px 0 0;
}

/* ========================================================
   3. 메인 레이아웃 & 버튼 공통
   ======================================================== */
.container { max-width: 1080px; margin: 0 auto; padding: 28px 20px 60px; min-height: 60vh; }

button, .btn-primary, .btn-secondary {
  font-family: inherit; cursor: pointer; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--color-primary-gradient); color: #ffffff; border: none; font-weight: 700;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.08); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}
.btn-secondary {
  background: #ffffff; color: var(--kyobo-green); border: 1.5px solid var(--kyobo-green); font-weight: 700;
}
.btn-secondary:hover {
  background: var(--kyobo-green-light); transform: translateY(-1px);
}
.btn-large { min-height: 48px; padding: 12px 28px; font-size: 1.05rem; border-radius: 8px; }
.btn-danger-small { background: #ffe4e6; color: #e11d48; border: 1px solid #fecdd3; padding: 6px 12px; font-size: 0.85rem; font-weight: 700; border-radius: 6px; }
.btn-danger-small:hover { background: #fecdd3; }

/* ========================================================
   4. 화사하고 에너지 넘치는 큐레이션 히어로 배너
   ======================================================== */
.kyobo-hero-banner {
  background: linear-gradient(135deg, #047857 0%, #0d9488 35%, #0284c7 75%, #4f46e5 100%);
  border-radius: var(--radius-lg); color: #ffffff; padding: 44px; margin-bottom: 36px;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.22); overflow: hidden; position: relative;
}
.kyobo-hero-banner::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.kyobo-hero-banner::after {
  content: ""; position: absolute; bottom: -60px; left: -40px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-slide-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; }
.hero-text-content { flex: 1.2; max-width: 580px; }
.hero-badge {
  display: inline-block; background: rgba(254, 240, 138, 0.25); border: 1px solid rgba(254, 240, 138, 0.55);
  color: #fef08a; font-size: 0.88rem; font-weight: 800; padding: 5px 14px;
  border-radius: var(--radius-full); margin-bottom: 16px; backdrop-filter: blur(6px);
}
.hero-main-title { font-size: 2.2rem; line-height: 1.25; margin: 0 0 14px; font-weight: 900; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.25rem; font-weight: 500; color: #bae6fd; display: block; margin-top: 6px; }
.hero-desc { font-size: 1rem; color: #f1f5f9; line-height: 1.65; margin: 0 0 24px; opacity: 0.95; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: #ffffff; color: #047857; padding: 13px 26px; font-weight: 800;
  border-radius: var(--radius-sm); text-decoration: none; font-size: 0.98rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); transition: all 0.2s ease;
}
.btn-hero-primary:hover {
  background: #f0fdf4; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.2); color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 13px 22px; font-weight: 700; border-radius: var(--radius-sm); font-size: 0.98rem;
  backdrop-filter: blur(6px); transition: all 0.2s ease;
}
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.35); transform: translateY(-2px); }
.hero-book-display { flex: 0.8; display: flex; justify-content: center; align-items: center; }
.hero-book-stand { position: relative; width: 210px; transform: rotate(-3deg); transition: transform 0.3s ease; }
.hero-book-stand:hover { transform: rotate(0deg) scale(1.04); }
.hero-book-cover {
  width: 100%; border-radius: 8px;
  box-shadow: -10px 18px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 255, 255, 0.25);
  display: block;
}

/* ========================================================
   5. 카테고리 퀵 필터 탭 (선명하고 화사한 테마 탭)
   ======================================================== */
.kyobo-filter-nav {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px;
  border-bottom: 2px solid var(--color-border); padding-bottom: 14px; flex-wrap: wrap; gap: 12px;
}
.filter-tabs-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tab-btn {
  background: #ffffff; border: 1.5px solid var(--color-border-dark); padding: 9px 18px;
  border-radius: 24px; font-size: 0.92rem; font-weight: 700; color: #475569;
  cursor: pointer; transition: all 0.2s ease; box-shadow: var(--shadow-sm);
}
.filter-tab-btn:hover {
  border-color: #94a3b8; color: var(--color-text-main); transform: translateY(-1px);
}
/* 각 탭별 고유 컬러 하이라이트 */
.filter-tab-btn[data-filter="all"].is-active {
  background: var(--color-primary-gradient); color: #ffffff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.filter-tab-btn[data-filter="best"].is-active {
  background: var(--color-accent-gold-gradient); color: #ffffff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.filter-tab-btn[data-filter="new"].is-active {
  background: var(--color-accent-sky-gradient); color: #ffffff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.filter-tab-btn[data-filter="recommend"].is-active {
  background: var(--color-accent-rose-gradient); color: #ffffff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}
.tab-count { font-size: 0.85em; opacity: 0.9; }

.search-status-bar {
  font-size: 0.92rem; color: var(--color-text-main); font-weight: 600;
  background: #f1f5f9; padding: 6px 14px; border-radius: 20px;
}
.btn-reset-search {
  background: none; border: none; color: var(--kyobo-green); font-weight: 800;
  text-decoration: underline; margin-left: 8px; cursor: pointer;
}

/* ========================================================
   6. 도서 그리드 & 컬러풀 도서 카드
   ======================================================== */
.section-title-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px;
}
.kyobo-section-title { font-size: 1.5rem; font-weight: 900; margin: 0; color: var(--color-text-main); letter-spacing: -0.02em; }
.sort-options {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}
.sort-btn {
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 14px;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.sort-btn:hover {
  color: var(--kyobo-green, #059669);
  background: #f1f5f9;
}
.sort-btn.is-active {
  color: #059669;
  background: var(--kyobo-green-light, #ecfdf5);
  border-color: var(--kyobo-green-border, #a7f3d0);
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.12);
}
.sort-divider {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}
.active-sort {
  font-size: 0.85rem; color: #059669; font-weight: 700; background: var(--kyobo-green-light);
  padding: 4px 10px; border-radius: 12px; border: 1px solid var(--kyobo-green-border);
}
.kyobo-book-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px;
}
.kyobo-book-card {
  background: var(--color-card-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  padding: 18px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.kyobo-book-card:hover {
  transform: translateY(-6px); border-color: #6ee7b7;
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.14), 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* 컬러풀 랭킹 배지 (금·은·동 그라데이션) */
.card-rank-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; width: 30px; height: 30px;
  color: #ffffff; font-weight: 900; font-size: 0.9rem;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.card-rank-badge.rank-1 {
  background: var(--color-accent-gold-gradient);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.45);
}
.card-rank-badge.rank-2 {
  background: var(--color-accent-sky-gradient);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}
.card-rank-badge.rank-3 {
  background: var(--color-accent-rose-gradient);
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35);
}
.card-rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
  background: linear-gradient(135deg, #64748b, #475569);
}

.card-cover-link { text-decoration: none; display: block; margin-bottom: 14px; }
.cover-image-box {
  width: 100%; aspect-ratio: 1 / 1.414; background: #f8fafc; border-radius: 6px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06); position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.book-cover-img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: contrast(1.02);
  backface-visibility: hidden;
  transform: translateZ(0);
}
.kyobo-book-card:hover .book-cover-img { transform: scale(1.03); }

/* 신간 & 베스트 배지 */
.card-badge-row { display: flex; gap: 6px; margin-bottom: 8px; }
.badge-new {
  background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd;
  font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 4px;
}
.badge-best {
  background: #fef3c7; color: #d97706; border: 1px solid #fde68a;
  font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 4px;
}

.card-book-title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.card-book-title a { color: var(--color-text-main); text-decoration: none; transition: color 0.15s ease; }
.card-book-title a:hover { color: var(--kyobo-green); text-decoration: underline; }
.card-author { font-size: 0.85rem; color: var(--color-text-muted); margin: 0 0 12px; }
.publisher-tag { color: var(--color-text-subtle); font-size: 0.8rem; }

.card-price-row { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--color-border); }
.card-price-value { font-size: 1.25rem; color: var(--kyobo-green); font-weight: 900; }
.free-shipping-tag {
  display: inline-block; font-size: 0.74rem; color: var(--kyobo-green); font-weight: 700;
  background: var(--kyobo-green-light); padding: 2px 8px; border-radius: 4px; margin-top: 4px;
}

.card-actions-row { display: flex; gap: 8px; margin-top: 14px; }
.btn-card-detail {
  flex: 1; background: #f1f5f9; color: #334155; font-size: 0.86rem; font-weight: 700;
  padding: 9px; border-radius: var(--radius-sm); text-align: center; text-decoration: none;
  border: 1px solid var(--color-border); transition: all 0.15s ease;
}
.btn-card-detail:hover { background: #e2e8f0; color: #0f172a; }
.btn-card-cart {
  background: var(--color-primary-gradient); color: #ffffff; border: none; font-size: 0.86rem;
  font-weight: 800; padding: 9px 12px; border-radius: var(--radius-sm); gap: 4px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3); transition: all 0.15s ease;
}
.btn-card-cart:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* 토스트 알림 */
.kyobo-toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #ffffff; padding: 14px 22px; border-radius: var(--radius-md);
  border: 1.5px solid #2dd4bf; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex; align-items: center; gap: 16px; font-size: 0.95rem; animation: slideUp 0.25s ease;
}
.toast-check { color: #34d399; font-weight: 900; font-size: 1.2rem; }
.toast-cart-link { color: #fde047; font-weight: 800; text-decoration: underline; font-size: 0.92rem; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ========================================================
   7. 주문 단계 인디케이터 (Checkout Step Bar)
   ======================================================== */
.checkout-step-bar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--color-card-bg); border: 1.5px solid var(--color-border);
  padding: 16px 24px; border-radius: var(--radius-md); margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.step-item { display: flex; align-items: center; gap: 8px; color: var(--color-text-subtle); font-size: 0.95rem; font-weight: 700; }
.step-item.is-active { color: var(--kyobo-green); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: #e2e8f0; color: #64748b;
  display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 900;
}
.step-item.is-active .step-num {
  background: var(--color-primary-gradient); color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.step-arrow { color: #cbd5e1; font-size: 0.95rem; font-weight: 700; }

/* ========================================================
   8. 장바구니 & 주문서 테이블 & 요약
   ======================================================== */
.cart-table, .order-summary-table {
  width: 100%; border-collapse: collapse; background: var(--color-card-bg);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-table th, .cart-table td, .order-summary-table th, .order-summary-table td {
  padding: 16px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: middle;
}
.cart-table th, .order-summary-table th {
  background: #f8fafc; color: #475569; font-size: 0.92rem; font-weight: 700;
  border-bottom: 2px solid var(--color-border);
}
.cart-book-title, .order-item-title { font-weight: 800; color: var(--color-text-main); text-decoration: none; font-size: 1.05rem; }
.cart-book-author { font-size: 0.85rem; color: var(--color-text-muted); display: block; margin-top: 2px; }
.cart-cell-price, .cart-cell-subtotal, .order-item-price, .order-item-subtotal { font-weight: 800; white-space: nowrap; }
.cart-cell-subtotal, .order-item-subtotal { color: var(--kyobo-green); }
.cart-qty {
  width: 64px; height: 38px; text-align: center; border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 700;
}
.cart-qty:focus { border-color: var(--kyobo-green); outline: none; }
.mobile-label { display: none; }

.cart-summary-box, .order-summary-section, .order-form-section {
  margin-top: 24px; background: var(--color-card-bg); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm);
}
.cart-summary-row, .order-total-box {
  display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; font-weight: 700;
  border-bottom: 1px solid var(--color-border); padding-bottom: 16px;
}
.total-price, .order-total-amount { color: var(--kyobo-green); font-size: 1.7rem; font-weight: 900; }
.shipping-info-text { font-size: 0.88rem; color: var(--color-text-muted); margin: 14px 0 20px; }
.cart-actions { display: flex; justify-content: flex-end; gap: 12px; }

/* Selector fix for cart button */
#cart-content button, .cart-content button { font-family: inherit; }

/* ========================================================
   9. 주문서 작성 폼 & 입력 필드 스타일
   ======================================================== */
.checkout-page h1, .cart-page h1 { font-size: 1.75rem; font-weight: 900; margin: 0 0 20px; color: var(--color-text-main); }
.section-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 16px; color: var(--color-text-main); }
.payment-notice {
  margin-top: 18px; background: #f0fdf4; border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-md); padding: 16px 20px; color: #166534; font-size: 0.92rem;
}
.payment-notice strong { display: block; font-size: 1rem; margin-bottom: 4px; color: #15803d; }
.payment-notice .sub-notice { margin-top: 6px; font-size: 0.82rem; color: #166534; opacity: 0.9; }

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.95rem; font-weight: 700; color: #334155; }
.form-row label .required { color: #ef4444; }
.form-row input[type="text"], .form-row input[type="tel"] {
  padding: 12px 16px; border: 1.5px solid var(--color-border-dark); border-radius: var(--radius-sm);
  font-size: 0.98rem; font-family: inherit; transition: all 0.2s ease; background: #ffffff;
}
.form-row input:focus {
  border-color: #10b981; outline: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.form-row input[aria-invalid="true"] { border-color: #ef4444; }
.field-error { font-size: 0.84rem; color: #dc2626; font-weight: 600; margin-top: 2px; }
.general-error {
  background: #fef2f2; border: 1px solid #fecaca; padding: 12px 16px; border-radius: var(--radius-sm);
  color: #b91c1c; margin-bottom: 18px; font-weight: 600;
}
.form-action { margin-top: 24px; }
.form-action button { width: 100%; }

/* ========================================================
   10. 상세 페이지 레이아웃 & 도서 정보
   ======================================================== */
.breadcrumb-bar { font-size: 0.88rem; color: var(--color-text-subtle); margin-bottom: 20px; font-weight: 600; }
.breadcrumb-bar a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--kyobo-green); text-decoration: underline; }
.breadcrumb-bar .divider { margin: 0 6px; color: #cbd5e1; }

.detail-main-layout {
  display: flex; gap: 40px; background: var(--color-card-bg); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 36px; margin-bottom: 36px; box-shadow: var(--shadow-sm);
}
.detail-cover-showcase { width: 320px; flex-shrink: 0; text-align: center; }
.book-3d-wrapper { position: relative; margin: 0 auto 16px; max-width: 290px; }
.detail-book-img {
  width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; border-radius: 6px;
  box-shadow: -10px 18px 36px rgba(0, 0, 0, 0.26), 0 2px 6px rgba(0, 0, 0, 0.12);
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: contrast(1.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.cover-badge-tag {
  display: inline-block; background: #f1f5f9; color: #475569; font-size: 0.78rem;
  font-weight: 700; padding: 4px 12px; border-radius: 12px; border: 1px solid var(--color-border);
}
.detail-info-col { flex: 1; min-width: 0; }
.detail-tag-row { display: flex; gap: 8px; margin-bottom: 12px; }
.detail-cate-badge {
  background: var(--kyobo-green-light); color: var(--kyobo-green); border: 1px solid var(--kyobo-green-border);
  font-size: 0.82rem; font-weight: 800; padding: 3px 10px; border-radius: 6px;
}
.detail-isbn-badge {
  background: #f1f5f9; color: var(--color-text-muted); font-size: 0.82rem;
  padding: 3px 10px; border-radius: 6px; font-weight: 600;
}
.detail-book-title { font-size: 1.95rem; line-height: 1.3; margin: 0 0 12px; font-weight: 900; color: var(--color-text-main); }
.detail-author-row { font-size: 0.98rem; color: var(--color-text-muted); margin-bottom: 22px; }
.detail-author-row strong { color: var(--color-text-main); font-weight: 800; }
.pub-name { margin-left: 10px; color: var(--color-text-subtle); }

.detail-price-card {
  background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: var(--radius-md);
  padding: 20px 24px; margin-bottom: 24px;
}
.price-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.price-label { font-size: 0.98rem; color: #166534; font-weight: 700; }
.price-number { font-size: 1.85rem; color: var(--kyobo-green); font-weight: 900; }
.won { font-size: 1.15rem; margin-left: 2px; }
.benefit-line { display: flex; font-size: 0.92rem; padding: 5px 0; }
.benefit-label { width: 85px; color: #475569; flex-shrink: 0; font-weight: 600; }
.benefit-value { color: var(--color-text-main); font-weight: 600; }

.detail-order-box {
  background: #ecfdf5; border: 1.5px solid var(--kyobo-green-border); border-radius: var(--radius-md);
  padding: 22px; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}
.qty-control-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.qty-title { font-weight: 800; font-size: 0.98rem; color: var(--color-text-main); }
.qty-btn-group { display: flex; border: 1.5px solid var(--color-border-dark); border-radius: 6px; background: #ffffff; overflow: hidden; }
.qty-action-btn { width: 38px; height: 38px; background: #ffffff; border: none; font-size: 1.1rem; cursor: pointer; color: #334155; }
.qty-action-btn:hover { background: #f1f5f9; }
.qty-btn-group input { width: 50px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); font-size: 1rem; font-weight: 800; }
.subtotal-preview { font-size: 1.05rem; font-weight: 700; }
.subtotal-preview strong { color: var(--kyobo-green); font-size: 1.35rem; font-weight: 900; }
.action-btn-row { display: flex; gap: 12px; }
.btn-detail-cart {
  flex: 1; background: #ffffff; color: var(--kyobo-green); border: 2px solid var(--kyobo-green);
  font-weight: 800; font-size: 1rem; padding: 14px; border-radius: var(--radius-sm); gap: 6px;
}
.btn-detail-cart:hover { background: var(--kyobo-green-light); transform: translateY(-1px); }
.btn-detail-buy {
  flex: 1.2; background: var(--color-primary-gradient); color: #ffffff; border: none;
  font-weight: 800; font-size: 1.05rem; padding: 14px; border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.btn-detail-buy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.detail-feedback-box {
  margin-top: 14px; background: #ffffff; border: 1.5px solid #86efac; border-radius: var(--radius-sm); padding: 12px 18px;
}
.feedback-inner { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: #166534; font-weight: 700; }
.feedback-icon { font-weight: 900; font-size: 1.2rem; }
.feedback-cart-btn { margin-left: auto; color: var(--kyobo-green); text-decoration: underline; }

/* 탭 네비게이션 */
.detail-content-tabs-section {
  background: var(--color-card-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tab-header-nav { display: flex; border-bottom: 2px solid var(--color-border); background: #f8fafc; }
.tab-btn {
  flex: 1; padding: 16px; background: none; border: none; font-size: 1.02rem; font-weight: 700;
  color: #64748b; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all 0.15s ease;
}
.tab-btn.is-active { background: #ffffff; color: var(--kyobo-green); border-bottom-color: var(--kyobo-green); font-weight: 900; }
.tab-panels { padding: 36px; }
.panel-heading { font-size: 1.3rem; font-weight: 900; margin: 0 0 16px; border-bottom: 2px solid var(--color-border); padding-bottom: 10px; color: var(--color-text-main); }
.book-intro-text { font-size: 1.02rem; line-height: 1.85; color: #334155; margin-bottom: 26px; }
.book-spec-box { background: #f8fafc; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; }
.book-spec-box h4 { margin: 0 0 12px; font-weight: 800; }
.book-spec-box ul { list-style: none; padding: 0; margin: 0; }
.book-spec-box li { padding: 5px 0; font-size: 0.95rem; color: #475569; }
.policy-grid-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.policy-card { background: #f8fafc; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; }
.policy-card h4 { margin: 0 0 10px; color: var(--kyobo-green); font-size: 1.1rem; font-weight: 800; }

/* ========================================================
   11. 주문 완료 화면 (성공 배너 & 계좌 복사)
   ======================================================== */
.order-complete-page { max-width: 760px; margin: 0 auto; }
.complete-header { text-align: center; margin-bottom: 32px; }
.complete-icon {
  width: 60px; height: 60px; background: var(--color-primary-gradient); color: #ffffff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.complete-header h1 { font-size: 1.75rem; color: var(--kyobo-green); margin: 0 0 8px; font-weight: 900; }
.order-subtitle { color: var(--color-text-muted); margin: 0; font-size: 1rem; }
.order-info-card {
  background: var(--color-card-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 26px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.order-meta-header {
  display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border); margin-bottom: 14px;
}
.order-id-badge {
  background: var(--kyobo-green-light); color: var(--kyobo-green); padding: 5px 12px;
  border-radius: var(--radius-sm); font-family: monospace; font-size: 1.15rem; font-weight: 800;
  border: 1px solid var(--kyobo-green-border);
}
.order-total-bar {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px;
  padding-top: 14px; border-top: 2px solid var(--color-border); font-size: 1.15rem; font-weight: 700;
}
.total-amount-highlight { color: var(--kyobo-green); font-size: 1.7rem; font-weight: 900; }

.bank-info-box {
  background: #f0fdf4; border: 2px solid #86efac; border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 32px; box-shadow: var(--shadow-sm);
}
.bank-info-box h2 {
  margin: 0 0 20px; font-size: 1.35rem; color: var(--kyobo-green); border-bottom: 1.5px solid #bbf7d0; padding-bottom: 12px; font-weight: 900;
}
.bank-details-grid { display: flex; flex-direction: column; gap: 14px; }
.bank-field { display: flex; align-items: center; font-size: 1.02rem; }
.bank-label { width: 95px; color: #475569; flex-shrink: 0; font-weight: 700; }
.bank-value { font-weight: 800; color: var(--color-text-main); }
.account-row { flex-wrap: wrap; gap: 10px; }
.account-num { font-size: 1.35rem; color: var(--kyobo-green); font-family: monospace; font-weight: 900; }
.btn-copy {
  background: var(--color-primary-gradient); color: #ffffff; border: none; padding: 6px 16px; font-size: 0.88rem;
  border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
  transition: all 0.15s ease;
}
.btn-copy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.copy-toast { background: #0f172a; color: #ffffff; padding: 10px 18px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-top: 14px; text-align: center; font-weight: 700; }
.bank-guidance { margin-top: 22px; border-top: 1px dashed #86efac; padding-top: 14px; font-size: 0.9rem; color: #166534; }
.bank-guidance p { margin: 4px 0; }
.complete-actions { text-align: center; margin-bottom: 32px; }

/* ========================================================
   12. 사이트 푸터 & 4대 안심 서비스 (생동감 넘치는 파스텔 배지)
   ======================================================== */
.site-footer {
  background: #f8fafc; border-top: 2px solid var(--color-border); color: #475569; font-size: 0.86rem;
}
.footer-top-services {
  background: #ffffff; border-bottom: 1px solid var(--color-border); padding: 28px 20px;
}
.services-inner {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-item { display: flex; align-items: center; gap: 14px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
/* 4가지 다채로운 파스텔 서클 배지 */
.service-item:nth-child(1) .service-icon {
  background: #ffedd5; box-shadow: 0 3px 8px rgba(234, 88, 12, 0.15);
}
.service-item:nth-child(2) .service-icon {
  background: #e0f2fe; box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15);
}
.service-item:nth-child(3) .service-icon {
  background: #dcfce7; box-shadow: 0 3px 8px rgba(22, 163, 74, 0.15);
}
.service-item:nth-child(4) .service-icon {
  background: #f3e8ff; box-shadow: 0 3px 8px rgba(147, 51, 234, 0.15);
}
.service-text strong { display: block; color: var(--color-text-main); font-size: 0.98rem; font-weight: 800; }
.service-text p { margin: 2px 0 0; font-size: 0.82rem; color: #64748b; }

.footer-main-inner {
  max-width: 1080px; margin: 0 auto; padding: 36px 20px 28px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
}
.footer-col h3, .footer-col h4 { margin: 0 0 12px; color: var(--color-text-main); font-size: 1.05rem; font-weight: 800; }
.biz-info-line, .biz-address-line { line-height: 1.7; margin: 0 0 10px; font-size: 0.84rem; color: #64748b; }
.demo-caution {
  color: #b45309; font-size: 0.82rem; margin-top: 10px;
  background: #fef3c7; padding: 8px 12px; border-radius: 6px; border-left: 3px solid #f59e0b;
}
.cs-phone {
  font-size: 1.7rem; font-weight: 900; color: var(--kyobo-green); margin-bottom: 6px; letter-spacing: -0.01em;
}
.cs-hours { font-size: 0.84rem; margin: 0 0 14px; color: #64748b; }
.shipping-policy-summary {
  background: #ffffff; border: 1.5px solid var(--color-border); padding: 14px 18px; border-radius: var(--radius-md); font-size: 0.82rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.shipping-policy-summary strong { color: var(--color-text-main); }
.shipping-policy-summary ul { margin: 6px 0 0; padding-left: 18px; color: #64748b; }
.shipping-policy-summary li { margin-bottom: 3px; }
.footer-bottom-copy {
  border-top: 1px solid var(--color-border); background: #f1f5f9; padding: 16px 20px; text-align: center;
  font-size: 0.8rem; color: #94a3b8;
}

/* ========================================================
   13. 모바일 320px & 375px & 640px 반응형 최적화
   ======================================================== */
@media (max-width: 768px) {
  .hero-slide-main { flex-direction: column; text-align: center; gap: 24px; }
  .hero-text-content { max-width: 100%; }
  .hero-main-title { font-size: 1.75rem; }
  .hero-cta-group { justify-content: center; }
  .services-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-main-inner { grid-template-columns: 1fr; gap: 24px; }
  .detail-main-layout { flex-direction: column; padding: 20px; gap: 24px; }
  .detail-cover-showcase { width: 100%; max-width: 220px; margin: 0 auto; }
  .policy-grid-box { grid-template-columns: 1fr; }
  .header-search-wrap { display: none; }
}

@media (max-width: 640px) {
  .header-main-inner { padding: 0 14px; }
  .header-brand-row { padding: 12px 0; }
  .brand-logo-img { width: 40px; height: 40px; }
  .brand-main-text { font-size: 1.15rem; }
  .container { padding: 16px 12px 40px; }
  .kyobo-hero-banner { padding: 26px 18px; margin-bottom: 24px; }
  .kyobo-book-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kyobo-book-card { padding: 12px; }
  .card-book-title { font-size: 0.95rem; }
  .detail-book-title { font-size: 1.45rem; }
  .action-btn-row { flex-direction: column; }

  /* 320px 가로 스크롤 완전 해결: 테이블 -> 카드 변환 */
  .cart-table thead, .order-summary-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td,
  .order-summary-table, .order-summary-table tbody, .order-summary-table tr, .order-summary-table td {
    display: block; width: 100%;
  }
  .cart-table tr, .order-summary-table tr {
    background: #ffffff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
    margin-bottom: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm);
  }
  .cart-table td, .order-summary-table td {
    border-bottom: none; padding: 6px 0; display: flex; justify-content: space-between; align-items: center;
  }
  .cart-cell-book, .order-summary-table td:first-child {
    display: block !important; border-bottom: 1px dashed var(--color-border) !important;
    padding-bottom: 8px !important; margin-bottom: 6px;
  }
  .cart-cell-action {
    border-top: 1px dashed var(--color-border) !important; padding-top: 8px !important;
    margin-top: 6px; justify-content: flex-end !important;
  }
  .mobile-label { display: inline; color: var(--color-text-muted); font-size: 0.88rem; font-weight: 700; }
  .cart-actions { flex-direction: column-reverse; }
  .cart-actions a, .cart-actions button, .complete-actions a { width: 100%; }
  .bank-info-box { padding: 20px 16px; }
  .account-row { flex-direction: column; align-items: flex-start; }
  .btn-copy { margin-top: 6px; }
  .checkout-step-bar { font-size: 0.8rem; gap: 8px; padding: 12px; }
}

@media (max-width: 360px) {
  .brand-main-text { font-size: 1rem; }
  .kyobo-book-grid { grid-template-columns: 1fr; }
  .total-price, .total-amount-highlight, .order-total-amount { font-size: 1.35rem; }
  .account-num { font-size: 1.15rem; }
}

/* ========================================================
   14. 스마트폰 전용 앱 연동 섹션 스타일 (안드로이드 & 애플)
   ======================================================== */
.footer-app-connect {
  background: #ffffff; border-bottom: 1.5px solid var(--color-border); padding: 36px 20px;
}
.app-connect-inner { max-width: 1080px; margin: 0 auto; }
.app-connect-header { text-align: center; margin-bottom: 28px; }
.badge-app-title {
  display: inline-block; background: var(--kyobo-green-light); color: var(--kyobo-green);
  border: 1px solid var(--kyobo-green-border); font-size: 0.82rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.app-connect-header h3 {
  font-size: 1.45rem; font-weight: 900; color: var(--color-text-main); margin: 0 0 8px; letter-spacing: -0.02em;
}
.app-connect-header p { color: var(--color-text-muted); font-size: 0.94rem; margin: 0; }
.app-platforms-grid {
  display: grid; grid-template-columns: 1.2fr 1.2fr 0.9fr; gap: 20px;
}
.platform-card {
  background: #f8fafc; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  padding: 22px; transition: transform 0.2s ease, border-color 0.2s ease;
}
.platform-card:hover { transform: translateY(-3px); }
.platform-card.android:hover { border-color: #10b981; }
.platform-card.ios:hover { border-color: #0284c7; }
.platform-badge {
  font-size: 1.02rem; font-weight: 800; color: var(--color-text-main); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--color-border);
}
.platform-card ol {
  margin: 0; padding-left: 18px; font-size: 0.88rem; color: #475569; line-height: 1.65;
}
.platform-card li { margin-bottom: 8px; }
.platform-card li:last-child { margin-bottom: 0; }
.platform-card.qr-card {
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #f0fdf4; border-color: #bbf7d0;
}
.qr-code-img-wrap {
  background: #ffffff; padding: 8px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); margin-bottom: 10px;
}
.qr-code-img-wrap img { display: block; }
.qr-tip { font-size: 0.82rem; color: #15803d; font-weight: 700; margin: 0 0 4px; }
.current-site-url {
  font-family: monospace; font-size: 0.78rem; color: var(--kyobo-green); font-weight: 700;
  background: #ffffff; padding: 2px 8px; border-radius: 4px; border: 1px solid #bbf7d0; word-break: break-all;
}

@media (max-width: 768px) {
  .app-platforms-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ========================================================
   15. [1순위] 독자 유입 & 감성 강화 스타일
   ======================================================== */
.exclusive-benefit-box {
  background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
  border: 1.5px solid #facc15;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.15);
}
.benefit-icon { font-size: 1.5rem; }
.benefit-text-wrap strong { display: block; color: #854d0e; font-size: 0.95rem; font-weight: 900; }
.benefit-desc { margin: 2px 0 0; font-size: 0.88rem; color: #713f12; font-weight: 600; }

.book-quote-section {
  background: #fdfbf7;
  border: 1.5px solid #e7dfd5;
  border-left: 5px solid var(--kyobo-green);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 28px;
  position: relative;
}
.quote-mark { font-size: 2.2rem; line-height: 1; color: var(--kyobo-green); font-family: var(--font-serif); opacity: 0.6; }
.quote-text, .quote-main-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #1e293b;
  font-weight: 700;
  margin: 8px 0 12px;
  font-family: var(--font-serif);
}
.quote-source {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 700;
  text-align: right;
  font-family: var(--font-serif);
}

.book-toc-box {
  background: #f8fafc;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.95rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc-list li:last-child { border-bottom: none; }
.toc-num { color: var(--kyobo-green); font-weight: 800; font-family: monospace; font-size: 0.9rem; }

.editor-letter-card {
  background: #fafaf9;
  border: 1.5px solid #e7e5e4;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.editor-letter-header { margin-bottom: 16px; }
.editor-badge {
  display: inline-block;
  background: #f5f5f4;
  color: #57534e;
  border: 1px solid #d6d3d1;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 800;
}
.editor-letter-text {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #292524;
  white-space: pre-line;
  margin-bottom: 20px;
}
.editor-signature {
  text-align: right;
  font-weight: 800;
  color: var(--kyobo-green);
  font-size: 0.95rem;
}

/* ========================================================
   16. [3순위] 독자 리뷰 & 평점 커뮤니티 스타일
   ======================================================== */
.reviews-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.reviews-header-row .panel-heading { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.review-count-badge {
  background: #fef08a;
  color: #854d0e;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.review-write-box {
  background: #f8fafc;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 30px;
}
.review-write-box h4 { margin: 0 0 16px; font-size: 1.05rem; font-weight: 800; color: var(--color-text-main); }
.review-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}
.rating-select-wrap, .author-input-wrap { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rating-select-wrap label, .author-input-wrap label { font-size: 0.88rem; font-weight: 700; color: #475569; }
.rating-select-wrap select, .author-input-wrap input {
  padding: 10px 14px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.review-text-row { margin-bottom: 14px; }
.review-text-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  resize: vertical;
}
.review-btn-row { text-align: right; }
.review-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-item {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.review-stars { color: #eab308; font-weight: 800; font-size: 1.05rem; letter-spacing: 1px; }
.review-author { font-weight: 800; color: var(--color-text-main); font-size: 0.95rem; }
.review-date { color: #94a3b8; font-size: 0.82rem; margin-left: auto; }
.review-content-text { margin: 0; font-size: 0.95rem; line-height: 1.65; color: #334155; }
.empty-reviews {
  text-align: center;
  padding: 36px 20px;
  color: #94a3b8;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--color-border);
}

/* ========================================================
   17. [4순위] 간편결제 UX 선택 및 승인 UI 스타일
   ======================================================== */
.payment-selection-row { margin: 28px 0; }
.form-label-title { display: block; font-weight: 800; font-size: 1rem; color: var(--color-text-main); margin-bottom: 12px; }
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.payment-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.payment-card:hover { border-color: #cbd5e1; background: #f8fafc; }
.payment-card.is-selected {
  border-color: var(--kyobo-green);
  background: #f0fdf4;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.18);
}
.pay-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.pay-info { display: flex; flex-direction: column; }
.pay-info strong { font-size: 0.96rem; font-weight: 800; color: var(--color-text-main); }
.pay-info small { font-size: 0.78rem; color: #64748b; }
.pay-notice-box {
  margin-top: 12px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.86rem;
  color: #475569;
}

.easy-pay-success-box {
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.easy-pay-success-box h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: var(--kyobo-green);
  border-bottom: 1.5px solid #bbf7d0;
  padding-bottom: 12px;
  font-weight: 900;
}
.easy-pay-details { display: flex; flex-direction: column; gap: 8px; font-size: 1rem; }
.easy-pay-details p { margin: 0; color: #1e293b; }
.badge-status-paid {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
}
.easy-pay-guidance {
  margin-top: 18px;
  border-top: 1px dashed #86efac;
  padding-top: 14px;
  font-size: 0.88rem;
  color: #166534;
}
.easy-pay-guidance p { margin: 4px 0; }

@media (max-width: 640px) {
  .payment-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .review-form-row { flex-direction: column; }
}

/* ========================================================
   18. [2순위] 출판사 관리자 대시보드 및 로그인 스타일
   ======================================================== */
.admin-login-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.admin-login-card {
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.admin-login-header { text-align: center; margin-bottom: 28px; }
.admin-badge {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.admin-login-header h1 { font-size: 1.5rem; font-weight: 900; color: #0f172a; margin: 4px 0 6px; }
.admin-login-header p { font-size: 0.88rem; color: #64748b; margin: 0; }
.admin-login-tip { margin-top: 24px; text-align: center; font-size: 0.82rem; color: #94a3b8; }
.admin-login-tip code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; color: #0f172a; font-weight: 700; }

.admin-dashboard-page { max-width: 1200px; margin: 0 auto; padding: 20px 0 60px; }
.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-title { font-size: 1.85rem; font-weight: 900; color: #0f172a; margin: 6px 0 0; }
.admin-actions-top { display: flex; align-items: center; gap: 12px; }
.btn-danger-small {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-danger-small:hover { background: #fecaca; }

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.stat-label { display: block; font-size: 0.86rem; color: #64748b; font-weight: 700; margin-bottom: 6px; }
.stat-value { font-size: 1.6rem; font-weight: 900; color: #0f172a; }
.text-amber { color: #d97706; }
.text-emerald { color: var(--kyobo-green); }

.admin-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 24px;
}
.admin-tab-btn {
  padding: 14px 22px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  margin-bottom: -2px;
  transition: all 0.15s ease;
}
.admin-tab-btn.is-active {
  color: #0f172a;
  border-bottom-color: #0f172a;
  font-weight: 900;
}

.section-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-sub-header h2 { font-size: 1.3rem; font-weight: 900; color: #0f172a; margin: 0; }
.table-tip { font-size: 0.84rem; color: #64748b; }

.admin-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1.5px solid var(--color-border);
  white-space: nowrap;
}
.admin-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.admin-data-table tr:hover { background: #fafafa; }
.order-code { display: block; font-family: monospace; color: #0f172a; font-size: 0.95rem; }
.order-time { color: #94a3b8; font-size: 0.8rem; }
.order-phone { color: #64748b; font-size: 0.85rem; }
.order-address-cell { max-width: 200px; font-size: 0.86rem; color: #334155; line-height: 1.4; }
.order-items-mini { list-style: none; padding: 0; margin: 0; font-size: 0.84rem; color: #334155; }
.order-items-mini li { margin-bottom: 2px; }
.pay-method-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
}
.pay-method-badge.bank_transfer { background: #f1f5f9; color: #475569; }
.pay-method-badge.kakaopay { background: #fef08a; color: #854d0e; }
.pay-method-badge.naverpay { background: #dcfce7; color: #166534; }
.pay-method-badge.tosspay { background: #e0f2fe; color: #0369a1; }
.order-total-mini { font-size: 0.95rem; color: #0f172a; }
.order-status-select {
  padding: 6px 10px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.tracking-display { display: block; font-size: 0.78rem; color: #0284c7; font-family: monospace; }
.btn-save-order-status {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn-save-order-status:hover { background: #334155; }

.admin-book-split {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 24px;
}
.admin-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.admin-card h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 900; color: #0f172a; }
.card-desc { font-size: 0.88rem; color: #64748b; margin: 0 0 20px; }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-books-list { display: flex; flex-direction: column; gap: 14px; }
.admin-book-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.admin-book-thumb { width: 50px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--color-border); }
.admin-book-info { display: flex; flex-direction: column; gap: 2px; }
.admin-book-info strong { font-size: 0.95rem; color: #0f172a; font-weight: 800; }
.book-author-price { font-size: 0.84rem; color: #64748b; }
.book-isbn { font-size: 0.78rem; color: #94a3b8; font-family: monospace; }
.badge-mini-gift { font-size: 0.78rem; color: #d97706; font-weight: 800; }

.admin-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.admin-review-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.btn-delete-review {
  margin-left: auto;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-delete-review:hover { background: #fecaca; }
.review-body { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.6; color: #334155; }
.review-book-id { font-size: 0.78rem; color: #94a3b8; font-family: monospace; }

@media (max-width: 900px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-book-split { grid-template-columns: 1fr; }
  .admin-reviews-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   5대 홈페이지 디자인 테마 & 실시간 전환 툴바 (Kyobo Style)
   ======================================================== */

/* 1. 디자인 실시간 전환 툴바 (최상단 고정/토글) */
.design-switcher-bar {
  background: #0f172a;
  color: #f8fafc;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-family: var(--font-base);
  border-bottom: 2px solid #334155;
  transition: all 0.3s ease;
}
.switcher-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.switcher-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switcher-badge {
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.switcher-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}
.switcher-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-theme-select {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-theme-select .theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.btn-theme-select[data-theme-target="theme-1"] .theme-dot { background: #C08457; }
.btn-theme-select[data-theme-target="theme-2"] .theme-dot { background: #8B1E3F; }
.btn-theme-select[data-theme-target="theme-3"] .theme-dot { background: #C5A059; box-shadow: 0 0 6px #C5A059; }
.btn-theme-select[data-theme-target="theme-4"] .theme-dot { background: #3B5249; }
.btn-theme-select[data-theme-target="theme-5"] .theme-dot { background: #1D4ED8; }

.btn-theme-select:hover {
  background: #334155;
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-theme-select.is-active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  border-color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}
.switcher-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.active-theme-label {
  font-size: 0.78rem;
  color: #94a3b8;
}
.active-theme-label strong {
  color: #38bdf8;
}
.btn-toggle-toolbar {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-toggle-toolbar:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* 툴바 축소 모드 */
.design-switcher-bar.is-collapsed {
  padding: 4px 16px;
  background: rgba(15, 23, 42, 0.95);
}
.design-switcher-bar.is-collapsed .switcher-buttons-group,
.design-switcher-bar.is-collapsed .switcher-title {
  display: none;
}

/* ========================================================
   2. 5가지 테마별 CSS 변수 및 전역 스타일
   ======================================================== */

/* --- [테마 1: 클래식 북 베이지 - Classic Book Beige] --- */
body.theme-1 {
  --color-bg: #F5EFEB;
  --color-card-bg: #FFFFFF;
  --color-subtle-bg: #EFE8E2;
  --color-text-main: #292524;
  --color-text-muted: #57534E;
  --color-border: #E5DCD3;
  --color-border-dark: #D6CBC0;
  --theme-accent: #292524;
  --theme-accent-hover: #1C1917;
  --theme-hero-bg: #F5EFEB;
  background-color: #F5EFEB;
}
body.theme-1 .site-header { background: #FAF7F4; border-color: #E5DCD3; }
body.theme-1 .brand-main-text { font-family: var(--font-serif); color: #292524; }
body.theme-1 .brand-sub-text { color: #78716C; }
body.theme-1 .search-form { border-color: #292524; }
body.theme-1 .search-form button { background: #292524; }
body.theme-1 .util-cart-btn { color: #292524; background: #EFE8E2; border-color: #D6CBC0; }
body.theme-1 .kyobo-section-title { font-family: var(--font-serif); color: #292524; }
body.theme-1 .kyobo-book-card { background: #FFFFFF; border: 1px solid #E5DCD3; border-radius: 12px; }
body.theme-1 .btn-card-cart { background: #292524; color: #FFFFFF; }
body.theme-1 .btn-card-cart:hover { background: #1C1917; }
body.theme-1 .card-book-title a { font-family: var(--font-serif); color: #1C1917; }

/* --- [테마 2: 모던 클래식 버건디 - Modern Classic Burgundy] --- */
body.theme-2 {
  --color-bg: #F6F5F3;
  --color-card-bg: #FFFFFF;
  --color-subtle-bg: #ECE9E4;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-border: #E2DFD8;
  --color-border-dark: #CBD5E1;
  --theme-accent: #8B1E3F;
  --theme-accent-hover: #721632;
  --theme-hero-bg: #F6F5F3;
  background-color: #F6F5F3;
}
body.theme-2 .site-header { background: #FFFFFF; border-color: #E2DFD8; }
body.theme-2 .brand-main-text { font-family: var(--font-serif); color: #1E293B; }
body.theme-2 .brand-sub-text { color: #8B1E3F; font-weight: 800; }
body.theme-2 .search-form { border-color: #8B1E3F; }
body.theme-2 .search-form button { background: #8B1E3F; }
body.theme-2 .util-cart-btn { color: #8B1E3F; background: #FDF2F4; border-color: #FBCFE8; }
body.theme-2 .kyobo-section-title { font-family: var(--font-serif); color: #8B1E3F; }
body.theme-2 .kyobo-book-card { background: #FFFFFF; border: 1.5px solid #E2DFD8; border-radius: 10px; }
body.theme-2 .card-rank-badge { background: #8B1E3F; color: #FFFFFF; }
body.theme-2 .btn-card-cart { background: #8B1E3F; color: #FFFFFF; }
body.theme-2 .btn-card-cart:hover { background: #721632; }
body.theme-2 .card-book-title a { font-family: var(--font-serif); color: #1E293B; }
body.theme-2 .filter-tab-btn.is-active { background: #8B1E3F; color: #FFFFFF; border-color: #8B1E3F; }

/* --- [테마 3: 미드나잇 앤티크 다크 - Midnight Antique Dark] --- */
body.theme-3 {
  --color-bg: #0D1520;
  --color-card-bg: #162234;
  --color-subtle-bg: #111A27;
  --color-text-main: #F3E8D2;
  --color-text-muted: #94A3B8;
  --color-border: #26364D;
  --color-border-dark: #374B67;
  --theme-accent: #C5A059;
  --theme-accent-hover: #E2B96B;
  --theme-hero-bg: #0D1520;
  background-color: #0D1520;
  color: #F3E8D2;
}
body.theme-3 .top-announcement-bar {
  background: linear-gradient(90deg, #090E16 0%, #162234 50%, #0D1520 100%);
  border-bottom: 1px solid #C5A059;
  color: #F3E8D2;
}
body.theme-3 .site-header { background: #0D1520; border-color: #26364D; }
body.theme-3 .brand-main-text { font-family: var(--font-serif); color: #F3E8D2; }
body.theme-3 .brand-sub-text { color: #C5A059; }
body.theme-3 .gnb-item { color: #CBD5E1; }
body.theme-3 .gnb-item:hover { color: #C5A059; }
body.theme-3 .search-form { background: #162234; border-color: #C5A059; }
body.theme-3 .search-form input { color: #F3E8D2; }
body.theme-3 .search-form input::placeholder { color: #64748B; }
body.theme-3 .search-form button { background: #C5A059; color: #0D1520; }
body.theme-3 .util-cart-btn { color: #C5A059; background: #162234; border-color: #C5A059; }
body.theme-3 .kyobo-section-title { font-family: var(--font-serif); color: #F3E8D2; }
body.theme-3 .kyobo-filter-nav { background: #0D1520; border-color: #26364D; }
body.theme-3 .filter-tab-btn { background: #162234; border-color: #26364D; color: #CBD5E1; }
body.theme-3 .filter-tab-btn.is-active { background: #C5A059; color: #0D1520; border-color: #C5A059; font-weight: 800; }
body.theme-3 .kyobo-book-card { background: #162234; border: 1px solid #26364D; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
body.theme-3 .kyobo-book-card:hover { border-color: #C5A059; transform: translateY(-4px); }
body.theme-3 .card-rank-badge { background: #C5A059; color: #0D1520; font-weight: 900; }
body.theme-3 .card-book-title a { font-family: var(--font-serif); color: #F3E8D2; }
body.theme-3 .card-author { color: #94A3B8; }
body.theme-3 .publisher-tag { color: #C5A059; }
body.theme-3 .card-price-value strong { color: #F3E8D2; }
body.theme-3 .free-shipping-tag { background: rgba(197, 160, 89, 0.15); color: #E2B96B; border: 1px solid rgba(197, 160, 89, 0.3); }
body.theme-3 .btn-card-detail { background: #111A27; color: #CBD5E1; border-color: #26364D; }
body.theme-3 .btn-card-detail:hover { color: #F3E8D2; border-color: #C5A059; }
body.theme-3 .btn-card-cart { background: #C5A059; color: #0D1520; font-weight: 800; }
body.theme-3 .btn-card-cart:hover { background: #E2B96B; }
body.theme-3 .site-footer { background: #090E16; color: #94A3B8; border-color: #26364D; }
body.theme-3 .footer-top-services { background: #0D1520; border-color: #26364D; }
body.theme-3 .service-item strong { color: #F3E8D2; }
body.theme-3 .footer-app-connect { background: #111A27; border-color: #26364D; }
body.theme-3 .platform-card { background: #162234; border-color: #26364D; color: #CBD5E1; }
body.theme-3 .platform-card strong { color: #F3E8D2; }

/* 테마 3: 장바구니 & 주문서 & 상세페이지 럭셔리 다크 완벽 지원 */
body.theme-3 .cart-table, 
body.theme-3 .order-summary-table { background: #162234; border-color: #26364D; }
body.theme-3 .cart-table th, 
body.theme-3 .order-summary-table th { background: #111A27; color: #CBD5E1; border-color: #26364D; }
body.theme-3 .cart-table td, 
body.theme-3 .order-summary-table td { border-color: #26364D; color: #F3E8D2; }
body.theme-3 .cart-book-title, 
body.theme-3 .order-item-title { color: #F3E8D2; }
body.theme-3 .cart-cell-subtotal, 
body.theme-3 .order-item-subtotal { color: #E2B96B; }
body.theme-3 .cart-qty { background: #111A27; color: #F3E8D2; border-color: #26364D; }
body.theme-3 .cart-summary-box, 
body.theme-3 .order-summary-section, 
body.theme-3 .order-form-section { background: #162234; border-color: #26364D; }
body.theme-3 .total-price, 
body.theme-3 .order-total-amount { color: #E2B96B; }
body.theme-3 .step-item { color: #64748B; }
body.theme-3 .step-item.is-active { color: #E2B96B; }
body.theme-3 .step-item.is-active .step-num { background: #C5A059; color: #0D1520; }
body.theme-3 .checkout-page h1, 
body.theme-3 .cart-page h1, 
body.theme-3 .section-title { color: #F3E8D2; }
body.theme-3 .form-row label { color: #CBD5E1; }
body.theme-3 .form-row input[type="text"], 
body.theme-3 .form-row input[type="tel"], 
body.theme-3 .form-row textarea { background: #111A27; color: #F3E8D2; border-color: #26364D; }
body.theme-3 .form-row input:focus, 
body.theme-3 .form-row textarea:focus { border-color: #C5A059; box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25); }
body.theme-3 .payment-notice { background: #111A27; border-color: #C5A059; color: #F3E8D2; }
body.theme-3 .payment-notice strong { color: #E2B96B; }
body.theme-3 .payment-notice .sub-notice { color: #CBD5E1; }
body.theme-3 .btn-primary { background: #C5A059; color: #0D1520; font-weight: 800; }
body.theme-3 .btn-primary:hover { background: #E2B96B; }
body.theme-3 .btn-secondary { background: #111A27; color: #CBD5E1; border-color: #26364D; }
body.theme-3 .btn-secondary:hover { background: #162234; color: #F3E8D2; border-color: #C5A059; }
body.theme-3 .detail-main-layout, 
body.theme-3 .detail-content-section, 
body.theme-3 .detail-tab-container, 
body.theme-3 .detail-book-intro-card, 
body.theme-3 .detail-toc-card, 
body.theme-3 .detail-author-intro-card, 
body.theme-3 .review-write-box, 
body.theme-3 .review-item-card { background: #162234; border-color: #26364D; color: #F3E8D2; }
body.theme-3 .detail-book-title { color: #F3E8D2; }
body.theme-3 .detail-price-card { background: #111A27; border-color: #26364D; }
body.theme-3 .price-number strong { color: #E2B96B; }
body.theme-3 .exclusive-benefit-box { background: rgba(197, 160, 89, 0.12); border-color: #C5A059; }
body.theme-3 .benefit-badge { color: #E2B96B; }
body.theme-3 .breadcrumb-bar { color: #64748B; }
body.theme-3 .breadcrumb-bar a { color: #94A3B8; }
body.theme-3 .breadcrumb-bar a:hover { color: #E2B96B; }
body.theme-3 .empty-state { background: #162234; border-color: #26364D; color: #F3E8D2; }
body.theme-3 .order-success-card { background: #162234; border-color: #26364D; color: #F3E8D2; }
body.theme-3 .bank-info-box { background: #111A27; border-color: #C5A059; }
body.theme-3 .account-num { color: #E2B96B; }
body.theme-3 .kyobo-toast { background: #162234; border-color: #C5A059; color: #F3E8D2; box-shadow: 0 8px 28px rgba(0,0,0,0.5); }
body.theme-3 .toast-check { background: #C5A059; color: #0D1520; }
body.theme-3 .toast-cart-link { background: #C5A059; color: #0D1520; }
body.theme-3 .search-status-bar { background: #111A27; border-color: #26364D; color: #CBD5E1; }
body.theme-3 .order-info-card, 
body.theme-3 .order-total-bar { background: #162234; border-color: #26364D; color: #F3E8D2; }
body.theme-3 .order-id-badge { background: #111A27; color: #E2B96B; border: 1px solid #C5A059; }
body.theme-3 .complete-icon { background: #C5A059; color: #0D1520; }

/* 살롱 와이드 프레임 */
body.theme-4 {
  --color-bg: #FAF6F0;
  --color-card-bg: #FFFFFF;
  --color-subtle-bg: #F0E9DF;
  --color-text-main: #2D3748;
  --color-text-muted: #718096;
  --color-border: #E8E0D5;
  --color-border-dark: #D4C9BD;
  --theme-accent: #3B5249;
  --theme-accent-hover: #2B3D36;
  --theme-hero-bg: #FAF6F0;
  background-color: #FAF6F0;
}
body.theme-4 .site-header { background: #FFFFFF; border-color: #E8E0D5; }
body.theme-4 .brand-main-text { font-family: var(--font-serif); color: #3B5249; }
body.theme-4 .brand-sub-text { color: #718096; }
body.theme-4 .search-form { border-color: #3B5249; }
body.theme-4 .search-form button { background: #3B5249; }
body.theme-4 .util-cart-btn { color: #3B5249; background: #F0FDF4; border-color: #BBF7D0; }
body.theme-4 .kyobo-section-title { font-family: var(--font-serif); color: #3B5249; }
body.theme-4 .filter-tab-btn.is-active { background: #3B5249; color: #FFFFFF; border-color: #3B5249; }
body.theme-4 .kyobo-book-card { background: #FFFFFF; border: 1px solid #E8E0D5; border-radius: 14px; }
body.theme-4 .card-rank-badge { background: #3B5249; color: #FFFFFF; }
body.theme-4 .btn-card-cart { background: #3B5249; color: #FFFFFF; }
body.theme-4 .btn-card-cart:hover { background: #2B3D36; }
body.theme-4 .card-book-title a { font-family: var(--font-serif); color: #2D3748; }

/* 테마 5 코발트 그래픽 배너 */
body.theme-5 {
  --color-bg: #FFFFFF;
  --color-card-bg: #F8FAFC;
  --color-subtle-bg: #F1F5F9;
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-border-dark: #CBD5E1;
  --theme-accent: #1D4ED8;
  --theme-accent-hover: #1E40AF;
  --theme-hero-bg: #F8FAFC;
  background-color: #FFFFFF;
}
body.theme-5 .site-header { background: #FFFFFF; border-color: #E2E8F0; }
body.theme-5 .brand-main-text { font-family: var(--font-serif); color: #0F172A; }
body.theme-5 .brand-sub-text { color: #1D4ED8; font-weight: 800; }
body.theme-5 .search-form { border-color: #1D4ED8; box-shadow: 0 2px 10px rgba(29, 78, 216, 0.15); }
body.theme-5 .search-form button { background: #1D4ED8; }
body.theme-5 .util-cart-btn { color: #1D4ED8; background: #EFF6FF; border-color: #BFDBFE; }
body.theme-5 .kyobo-section-title { font-family: var(--font-serif); color: #0F172A; }
body.theme-5 .filter-tab-btn.is-active { background: #1D4ED8; color: #FFFFFF; border-color: #1D4ED8; }
body.theme-5 .kyobo-book-card { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; }
body.theme-5 .kyobo-book-card:hover { border-color: #1D4ED8; box-shadow: 0 10px 25px rgba(29, 78, 216, 0.12); }
body.theme-5 .card-rank-badge { background: #1D4ED8; color: #FFFFFF; }
body.theme-5 .btn-card-cart { background: #1D4ED8; color: #FFFFFF; }
body.theme-5 .btn-card-cart:hover { background: #1E40AF; }
body.theme-5 .card-book-title a { font-family: var(--font-serif); color: #0F172A; }

/* ========================================================
   3. 5대 히어로 섹션 전환 제어
   ======================================================== */
.theme-hero-section {
  display: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}

body.theme-1 .hero-theme-1 { display: block; }
body.theme-2 .hero-theme-2 { display: block; }
body.theme-3 .hero-theme-3 { display: block; }
body.theme-4 .hero-theme-4 { display: block; }
body.theme-5 .hero-theme-5 { display: block; }

/* 히어로 공통 레이아웃 */
.hero-theme-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}
.hero-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-heading {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  word-break: keep-all;
}
.hero-desc-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 28px;
  word-break: keep-all;
}
.hero-button-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-hero-action:hover {
  transform: translateY(-2px);
}

/* ========================================================
   [테마 1 히어로]: 클래식 북 베이지 (열린 책 + 안경 + 물잔)
   ======================================================== */
.hero-theme-1 {
  background-color: #F5EFEB;
  border-bottom: 1px solid #E5DCD3;
}
.hero-theme-1 .hero-badge-tag {
  background: #E8DED3;
  color: #57534E;
}
.hero-theme-1 .hero-heading {
  color: #1C1917;
}
.hero-theme-1 .hero-desc-text {
  color: #57534E;
}
.hero-theme-1 .btn-primary-1 {
  background: #292524;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(41, 37, 36, 0.25);
}
.hero-theme-1 .btn-primary-1:hover {
  background: #1C1917;
}
.hero-theme-1 .btn-outline-1 {
  background: transparent;
  color: #292524;
  border-color: #A8A29E;
}
.hero-theme-1 .btn-outline-1:hover {
  background: rgba(41, 37, 36, 0.06);
  border-color: #292524;
}

/* 테마 1 비주얼 아트워크 (클래식 열린 책 일러스트) */
.hero-visual-classic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.classic-artwork-frame {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(145deg, #F9F5F0 0%, #EAE2D8 100%);
  box-shadow: 0 16px 36px rgba(120, 113, 108, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}
.classic-svg-scene {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

/* ========================================================
   [테마 2 히어로]: 모던 클래식 버건디 (중앙 와이드 검색 & 북 타워)
   ======================================================== */
.hero-theme-2 {
  background-color: #F6F5F3;
  border-bottom: 1.5px solid #E2DFD8;
}
.hero-theme-2 .hero-badge-tag {
  background: #FDF2F4;
  color: #8B1E3F;
  border: 1px solid #FBCFE8;
}
.hero-theme-2 .hero-heading {
  color: #1E293B;
}
.hero-theme-2 .hero-desc-text {
  color: #64748B;
}
.hero-theme-2 .hero-burgundy-search-wrap {
  margin-top: 24px;
  max-width: 520px;
}
.burgundy-search-box {
  display: flex;
  border: 2px solid #8B1E3F;
  border-radius: 30px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(139, 30, 63, 0.12);
  padding: 3px 4px 3px 18px;
  transition: all 0.2s ease;
}
.burgundy-search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(139, 30, 63, 0.18);
}
.burgundy-search-box input {
  flex: 1;
  border: none;
  font-size: 0.94rem;
  outline: none;
  font-family: inherit;
  color: #1E293B;
  background: transparent;
}
.burgundy-search-box button {
  background: #8B1E3F;
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.burgundy-search-box button:hover {
  background: #721632;
}

/* 테마 2 비주얼 아트워크 (버건디 세로 책 스택 & 올리브 화병) */
.hero-visual-burgundy {
  display: flex;
  justify-content: center;
  align-items: center;
}
.burgundy-artwork-frame {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(145deg, #FFFFFF 0%, #EDEAE5 100%);
  box-shadow: 0 16px 36px rgba(139, 30, 63, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ========================================================
   [테마 3 히어로]: 미드나잇 앤티크 다크 (스탠드 조명 빛 & 골드)
   ======================================================== */
/* ========================================================
   [테마 3 원본 직사각형 마스터 히어로 배너]
   - 원본 네모 박스 디자인 그대로 사용 (몰딩 벽체 + 대리석 데스크 + 출간 도서 스파인)
   - 실시간 검색창 오버레이 & 책 클릭 핫스팟
   ======================================================== */
.master-rectangular-hero {
  display: block !important;
  width: 100%;
  background-color: #0b121b;
  border-bottom: 2px solid #23344a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.master-hero-stage {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

.master-hero-banner-container {
  position: relative;
  width: 100%;
  line-height: 0;
  display: block;
}

.master-hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* 실시간 인터랙티브 검색창 오버레이 (디자인 원본 골드 검색창 위치에 1:1 정밀 매핑) */
.hero-overlay-search-form {
  position: absolute;
  top: 67.5%;
  left: 3.9%;
  width: 39.4%;
  height: 14.5%;
  display: flex;
  align-items: center;
  z-index: 10;
  box-sizing: border-box;
}

.hero-overlay-input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 16px 0 clamp(12px, 1.8vw, 24px);
  color: #f5eedb;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.25vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-overlay-input::placeholder {
  color: rgba(225, 195, 140, 0.55);
  font-weight: 400;
}

.hero-overlay-search-btn {
  width: 12%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 30px 30px 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
  padding: 0;
}

.hero-overlay-search-btn:hover {
  transform: scale(1.1);
}

.hero-overlay-search-btn svg {
  width: clamp(14px, 1.7vw, 24px);
  height: clamp(14px, 1.7vw, 24px);
}

/* 도서 스파인 클릭 핫스팟 (출판 도서 5종) */
.hero-books-hotspots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

.hero-book-spot {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border-radius: 3px;
}

.hero-book-spot:hover {
  background: rgba(240, 215, 135, 0.14);
  box-shadow: 0 0 18px rgba(240, 215, 135, 0.4);
}

/* 책 1: 느티나무 아래에서 */
.hero-book-spot.spot-1 {
  left: 56.0%;
  top: 20%;
  width: 3.7%;
  height: 74%;
}

/* 책 2: 열매 맺는 계절 */
.hero-book-spot.spot-2 {
  left: 59.8%;
  top: 20%;
  width: 3.6%;
  height: 74%;
}

/* 책 3: 씨앗의 기록 */
.hero-book-spot.spot-3 {
  left: 63.5%;
  top: 20%;
  width: 3.7%;
  height: 74%;
}

/* 책 4: 뿌리 깊은 나무 이야기 */
.hero-book-spot.spot-4 {
  left: 67.3%;
  top: 20%;
  width: 3.4%;
  height: 74%;
}

/* 책 5: 가지 끝의 바람 */
.hero-book-spot.spot-5 {
  left: 71.1%;
  top: 65.5%;
  width: 18.0%;
  height: 10.0%;
}

/* ========================================================
   [책 속의 한 문장] 에디터 추천 감성 인용구 (미드나잇 다크)
   ======================================================== */
.home-quote-section {
  max-width: 1080px;
  margin: 36px auto 16px;
  padding: 0 20px;
}
.home-quote-card {
  background: linear-gradient(135deg, #111A27 0%, #162234 100%);
  border: 1.5px solid #26364D;
  border-left: 5px solid #C5A059;
  border-radius: 16px;
  padding: 28px 36px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.home-quote-content {
  flex: 1;
  min-width: 280px;
}
.home-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #C5A059;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.home-quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75;
  color: #F3E8D2;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-style: normal;
}
.home-quote-author {
  font-size: 0.88rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.home-quote-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.12);
  border: 1.5px solid #C5A059;
  color: #E2B96B;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.home-quote-cta:hover {
  background: #C5A059;
  color: #0D1520;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.35);
}
@media (max-width: 768px) {
  .home-quote-card {
    padding: 22px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .home-quote-text {
    font-size: 1.08rem;
    line-height: 1.65;
  }
  .home-quote-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================
   [테마 4 히어로]: 독서 모임 살롱 (아늑한 커피 테이블 & 햇살)
   ======================================================== */
.hero-theme-4 {
  background-color: #FAF6F0;
  border-bottom: 1px solid #E8E0D5;
}
.hero-theme-4 .hero-badge-tag {
  background: #E9E1D4;
  color: #3B5249;
}
.hero-theme-4 .hero-heading {
  color: #2D3748;
}
.hero-theme-4 .hero-desc-text {
  color: #718096;
}
.hero-theme-4 .btn-salon-4 {
  background: #3B5249;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(59, 82, 73, 0.25);
}
.hero-theme-4 .btn-salon-4:hover {
  background: #2B3D36;
}
.hero-theme-4 .btn-outline-salon {
  background: transparent;
  color: #3B5249;
  border-color: #3B5249;
}
.hero-theme-4 .btn-outline-salon:hover {
  background: rgba(59, 82, 73, 0.08);
}

/* 테마 4 비주얼 아트워크 (커피 머그잔 & 독서 노트) */
.hero-visual-salon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.salon-artwork-frame {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(145deg, #FFFDF9 0%, #EBE3D7 100%);
  box-shadow: 0 16px 36px rgba(59, 82, 73, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ========================================================
   [테마 5 히어로]: 비비드 코발트 모던 (3D 모던 블루 & 앱 포커스)
   ======================================================== */
.hero-theme-5 {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  border-bottom: 1px solid #E2E8F0;
}
.hero-theme-5 .hero-badge-tag {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.hero-theme-5 .hero-heading {
  color: #0F172A;
}
.hero-theme-5 .hero-desc-text {
  color: #64748B;
}
.hero-theme-5 .btn-cobalt-5 {
  background: #1D4ED8;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.35);
}
.hero-theme-5 .btn-cobalt-5:hover {
  background: #1E40AF;
}
.hero-theme-5 .btn-outline-cobalt {
  background: transparent;
  color: #1D4ED8;
  border-color: #1D4ED8;
}
.hero-theme-5 .btn-outline-cobalt:hover {
  background: rgba(29, 78, 216, 0.08);
}
.hero-theme-5 .hero-cobalt-search-wrap {
  margin-top: 24px;
  max-width: 520px;
}
.cobalt-search-box {
  display: flex;
  border: 2px solid #1D4ED8;
  border-radius: 30px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.15);
  padding: 3px 4px 3px 18px;
  transition: all 0.2s ease;
}
.cobalt-search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.2);
}
.cobalt-search-box input {
  flex: 1;
  border: none;
  font-size: 0.94rem;
  outline: none;
  font-family: inherit;
  color: #0F172A;
  background: transparent;
}
.cobalt-search-box button {
  background: #1D4ED8;
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.cobalt-search-box button:hover {
  background: #1E40AF;
}

/* 테마 5 코발트 그래픽 배너 */
.hero-visual-cobalt {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cobalt-artwork-frame {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(145deg, #FFFFFF 0%, #DBEAFE 100%);
  box-shadow: 0 16px 36px rgba(29, 78, 216, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ========================================================
   4. 하단 베네핏 & 모바일 앱 섹션 (5개 테마 맞춤)
   ======================================================== */
.theme-bottom-cards {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

body.theme-1 .bottom-theme-1 { display: grid; }
body.theme-2 .bottom-theme-2 { display: grid; }
body.theme-3 .bottom-theme-3 { display: grid; }
body.theme-4 .bottom-theme-4 { display: grid; }
body.theme-5 .bottom-theme-5 { display: grid; }

.bottom-feature-card {
  padding: 24px 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bottom-feature-card:hover {
  transform: translateY(-3px);
}
.bottom-feature-card .card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.bottom-feature-card .card-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.bottom-feature-card .card-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* 테마 1 하단 카드 (베이지/클래식) */
.bottom-theme-1 .bottom-feature-card {
  background: #FFFFFF;
  border: 1px solid #E5DCD3;
  color: #292524;
}
.bottom-theme-1 .card-icon-wrap { background: #EFE8E2; color: #292524; }
.bottom-theme-1 p { color: #57534E; }

/* 테마 2 하단 카드 (버건디) */
.bottom-theme-2 .bottom-feature-card {
  background: #FFFFFF;
  border: 1.5px solid #FBCFE8;
  color: #1E293B;
}
.bottom-theme-2 .card-icon-wrap { background: #FDF2F4; color: #8B1E3F; }
.bottom-theme-2 .card-body strong { color: #8B1E3F; }
.bottom-theme-2 p { color: #64748B; }

/* 테마 3 하단 카드 (미드나잇 다크) */
.bottom-theme-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
}
.bottom-theme-3 .bottom-feature-card {
  background: #162234;
  border: 1px solid #26364D;
  color: #F3E8D2;
}
.bottom-theme-3 .card-icon-wrap { background: #111A27; border: 1px solid #C5A059; color: #C5A059; }
.bottom-theme-3 .card-body strong { color: #F3E8D2; }
.bottom-theme-3 p { color: #94A3B8; }

@media (max-width: 900px) {
  .bottom-theme-3 {
    grid-template-columns: 1fr !important;
  }
}

/* 살롱 와이드 프레임 */
.bottom-theme-4 .bottom-feature-card {
  background: #FFFFFF;
  border: 1px solid #E8E0D5;
  color: #2D3748;
}
.bottom-theme-4 .card-icon-wrap { background: #F0FDF4; color: #3B5249; }
.bottom-theme-4 .card-body strong { color: #3B5249; }
.bottom-theme-4 p { color: #718096; }

/* 테마 5 코발트 그래픽 배너 */
.bottom-theme-5 .bottom-feature-card.cobalt-banner {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.25);
}
.bottom-theme-5 .bottom-feature-card.cobalt-banner .card-icon-wrap { background: rgba(255, 255, 255, 0.2); color: #fff; }
.bottom-theme-5 .bottom-feature-card.cobalt-banner p { color: rgba(255, 255, 255, 0.85); }
.bottom-theme-5 .bottom-feature-card.cobalt-app {
  background: #FFFFFF;
  border: 2px solid #BFDBFE;
  color: #0F172A;
}
.bottom-theme-5 .bottom-feature-card.cobalt-app .card-icon-wrap { background: #EFF6FF; color: #1D4ED8; }
.bottom-theme-5 .bottom-feature-card.cobalt-app strong { color: #1D4ED8; }
.bottom-theme-5 .bottom-feature-card.cobalt-app p { color: #64748B; }

/* ========================================================
   5. 모바일 반응형 처리
   ======================================================== */
@media (max-width: 860px) {
  .hero-two-col {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-heading { font-size: 2rem; }
  .hero-button-row { justify-content: center; }
  .burgundy-search-box, .cobalt-search-box { margin: 0 auto; }
  .theme-bottom-cards { grid-template-columns: 1fr; }
  .switcher-bar-inner { justify-content: center; text-align: center; }
  .switcher-buttons-group { justify-content: center; }
}



/* [留덉뒪??怨좏솕吏?洹몃옒???꾨젅?? */

/* ========================================================
   [마스터 고화질 그래픽 & 1:1 시안 모달 스타일]
   ======================================================== */
.master-photo-frame {
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border-radius: 20px !important;
  aspect-ratio: auto !important;
  height: 380px !important;
  width: 100% !important;
  max-width: 520px !important;
  background: transparent !important;
}

.hero-master-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.master-photo-frame:hover .hero-master-artwork {
  transform: scale(1.025);
}

/* 테마 4 살롱 와이드 프레임 */
.salon-wide-frame {
  max-width: 560px !important;
  height: 360px !important;
}
.salon-img {
  object-fit: cover;
  object-position: center 25%;
}

/* 테마 1 QR 코드 썸네일 */
.bottom-card-with-qr {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.qr-thumbnail-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAF7F2;
  border: 1px solid #E5DCD3;
  padding: 6px 10px;
  border-radius: 12px;
  margin-left: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.qr-code-img {
  width: 68px;
  height: 68px;
  border-radius: 4px;
  display: block;
}
.qr-caption {
  font-size: 0.72rem;
  color: #78716C;
  font-weight: 700;
  margin-top: 3px;
}

/* 테마 5 코발트 3D 그래픽 배너 */
.master-cobalt-bottom {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
}
.cobalt-banner-img-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #FFFFFF;
}
.cobalt-banner-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(29, 78, 216, 0.28);
}
.cobalt-graphic-banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 툴바 캔바/어도비 원본 시안 버튼 */
.btn-inspect-master {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
  transition: all 0.2s ease;
}
.btn-inspect-master:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  transform: translateY(-1px);
}

/* 원본 시안 1:1 라이트박스 모달 */
.master-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInModal 0.25s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.master-modal-dialog {
  background: #FFFFFF;
  border-radius: 18px;
  width: 100%;
  max-width: 1200px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.master-modal-header {
  padding: 16px 24px;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
}
.master-modal-title .master-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.08em;
  display: block;
}
.master-modal-title h4 {
  margin: 3px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #F8FAFC;
}
.master-modal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-modal-action {
  background: #334155;
  color: #F8FAFC;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-modal-action:hover {
  background: #475569;
}
.btn-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #FFFFFF;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.btn-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
}
.master-modal-body {
  padding: 24px;
  overflow-y: auto;
  background: #F1F5F9;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.master-modal-preview {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  border: 1px solid #CBD5E1;
}

/* ========================================================
   [최상단 5대 시안 고정 네비게이션 바]
   ======================================================== */
.master-design-top-bar {
  background: #0f172a;
  color: #f8fafc;
  padding: 8px 16px;
  border-bottom: 2px solid #3b82f6;
  position: sticky;
  top: 0;
  z-index: 99999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  font-family: var(--font-base);
}
.master-design-top-bar .top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.master-design-top-bar .top-bar-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.master-design-top-bar .top-bar-pill {
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.master-design-top-bar .top-bar-title {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 700;
}
.master-design-top-bar .top-bar-links-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.master-design-top-bar .top-theme-link {
  background: #1e293b;
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid #334155;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.master-design-top-bar .top-theme-link:hover {
  background: #334155;
  color: #ffffff;
  transform: translateY(-1px);
}
.master-design-top-bar .top-theme-link.is-active {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  border-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3) !important;
}
.master-design-top-bar .top-theme-link .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.master-design-top-bar .dot-1 { background: #c08457; }
.master-design-top-bar .dot-2 { background: #8b1e3f; }
.master-design-top-bar .dot-3 { background: #c5a059; box-shadow: 0 0 5px #c5a059; }
.master-design-top-bar .dot-4 { background: #3b5249; }
.master-design-top-bar .dot-5 { background: #1d4ed8; }

.master-design-top-bar .link-showcase {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  font-weight: 700;
  padding: 6px 14px;
}
.master-design-top-bar .link-showcase:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

/* ========================================================
   [5대 시안 전체 비교 갤러리 (/showcase) 스타일]
   ======================================================== */
.showcase-main-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}
.showcase-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color-border);
}
.showcase-header-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid #bfdbfe;
}
.showcase-page-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.showcase-page-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 24px;
}
.showcase-quick-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.quick-nav-chip {
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}
.quick-nav-chip:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-1px);
}

.showcase-cards-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.showcase-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-card:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}
.showcase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.theme-num-badge {
  background: #c08457;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}
.badge-burgundy { background: #8b1e3f; }
.badge-midnight { background: #0f172a; border: 1px solid #c5a059; color: #e2b96b; }
.badge-salon { background: #3b5249; }
.badge-cobalt { background: #1d4ed8; }

.card-theme-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f172a;
}
.theme-keyword-tag {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}
.card-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-apply-theme {
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
}
.btn-theme-1-apply { background: #292524; }
.btn-theme-2-apply { background: #8b1e3f; }
.btn-theme-3-apply { background: #c5a059; color: #0d1520; }
.btn-theme-4-apply { background: #3b5249; }
.btn-theme-5-apply { background: #1d4ed8; }

.btn-apply-theme:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}
.btn-view-master {
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 24px;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}
.btn-view-master:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.card-desc-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 20px;
}
.showcase-image-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}
.dark-bg-frame {
  background: #0d1520;
}
.showcase-full-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
.showcase-image-frame:hover .showcase-full-img {
  transform: scale(1.015);
}
.showcase-footer-action {
  text-align: center;
  margin-top: 50px;
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
}
.btn-back-home:hover {
  background: #1e293b;
  transform: translateY(-2px);
}


/* ========================================================
   [회원 인증 & 마이페이지 시스템 스타일]
   - 회원가입 / 로그인 / 비회원 조회 / 마이페이지
   ======================================================== */
.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.announcement-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.announcement-auth-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.top-user-greeting {
  color: #fef08a;
  font-weight: 700;
}
.top-auth-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s ease;
}
.top-auth-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}
.top-signup-btn {
  background: #f59e0b;
  color: #1e1b4b !important;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 800;
}
.auth-sep {
  opacity: 0.4;
  font-size: 0.75rem;
}

/* 다크 테마 상단 바 대응 */
.theme-3 .top-announcement-bar {
  background: #080f18;
  border-bottom: 1px solid #1a283c;
  color: #cbd5e1;
}
.theme-3 .top-user-greeting {
  color: #e2b96b;
}
.theme-3 .top-auth-link {
  color: #94a3b8;
}
.theme-3 .top-auth-link:hover {
  color: #f3e8d2;
}
.theme-3 .top-signup-btn {
  background: #c5a059;
  color: #0b121b !important;
}

/* 유틸 버튼: 회원 */
.util-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #334155;
  padding: 7px 14px;
  border-radius: 24px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.util-user-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.util-user-btn.is-logged-in {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}
.theme-3 .util-user-btn {
  background: #142132;
  border-color: #24354a;
  color: #cbd5e1;
}
.theme-3 .util-user-btn:hover {
  background: #1b2c42;
  border-color: #3b506d;
}
.theme-3 .util-user-btn.is-logged-in {
  background: rgba(197, 160, 89, 0.18);
  border-color: #c5a059;
  color: #f3e8d2;
}

/* 장바구니 & 주문서 내 회원 안내 배너 */
.cart-member-badge-bar,
.member-order-notice {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid #10b981;
  color: #047857;
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.94rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-guest-login-bar,
.nonmember-order-notice {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}
.theme-3 .cart-member-badge-bar,
.theme-3 .member-order-notice {
  background: rgba(197, 160, 89, 0.12);
  border-color: #c5a059;
  color: #e2b96b;
}
.theme-3 .cart-guest-login-bar,
.theme-3 .nonmember-order-notice {
  background: #111a26;
  border-color: #24354a;
  color: #94a3b8;
}

/* 주문서 주소 검색 버튼 */
.label-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.btn-address-search-sm {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.btn-address-search-sm:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}
.theme-3 .btn-address-search-sm {
  background: #1c2b3d;
  border-color: #33475e;
  color: #e2b96b;
}
.theme-3 .btn-address-search-sm:hover {
  background: #25374e;
  border-color: #c5a059;
}

/* ========================================================
   [회원가입 & 로그인 페이지 공통 래퍼]
   ======================================================== */
.auth-page-container {
  min-height: calc(100vh - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  background: radial-gradient(circle at 50% 20%, #152232 0%, #0b121b 100%);
}

.auth-card-wrapper {
  width: 100%;
  max-width: 520px;
  background: #101a26;
  border: 1px solid #23344a;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 40px 36px;
  box-sizing: border-box;
}

@media (max-width: 560px) {
  .auth-card-wrapper {
    padding: 28px 20px;
    border-radius: 16px;
  }
}

/* 탭 전환 바 */
.auth-tabs-nav {
  display: flex;
  background: #090f17;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 30px;
  border: 1px solid #1a283c;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 12px 16px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-tab-btn.is-active {
  background: #1b293a;
  color: #f3e8d2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.auth-tab-panel.is-hidden {
  display: none !important;
}

/* 카드 헤더 */
.auth-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: #e2b96b;
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.auth-title {
  color: #f3e8d2;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* 폼 스타일 */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-alert.error-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-label {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .required {
  color: #f87171;
}

.form-label .optional-tag {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: normal;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.input-with-icon .form-input {
  padding-left: 42px;
}

.form-input {
  width: 100%;
  background: #0a1017;
  border: 1.5px solid #23344a;
  border-radius: 10px;
  padding: 12px 14px;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

.form-input::placeholder {
  color: #64748b;
}

.field-hint {
  color: #8193a8;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* 우편번호 입력 행 */
.postcode-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.postcode-input {
  max-width: 140px;
  background: #111a26;
}

.btn-postcode-search {
  background: #1b293a;
  border: 1.5px solid #c5a059;
  color: #e2b96b;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-postcode-search:hover {
  background: #c5a059;
  color: #0b121b;
}

.address-main-input {
  margin-bottom: 8px;
  background: #111a26;
}

/* 체크박스 & 약관 */
.agreement-box {
  background: #090f17;
  border: 1px solid #1a283c;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agreement-item {
  display: flex;
  align-items: flex-start;
}

.agreement-item.highlight-agreement {
  border-top: 1px solid #1a283c;
  padding-top: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #cbd5e1;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #c5a059;
  cursor: pointer;
}

.agreement-desc {
  display: block;
  color: #8193a8;
  font-size: 0.78rem;
  margin-top: 4px;
}

/* 로그인 옵션 행 */
.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

.link-subtle {
  color: #94a3b8;
  text-decoration: none;
}
.link-subtle:hover {
  color: #cbd5e1;
  text-decoration: underline;
}

/* 제출 버튼 */
.btn-auth-submit {
  width: 100%;
  background: linear-gradient(135deg, #e2b96b 0%, #c5a059 100%);
  color: #0b121b;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-auth-submit:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.45);
}

.btn-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-lookup-submit {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
}

/* 소셜 로그인 구분 */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 10px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #1e2c3d;
}

.auth-divider span {
  position: relative;
  background: #101a26;
  padding: 0 14px;
  color: #64748b;
  font-size: 0.8rem;
}

.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-social-kakao {
  background: #fee500;
  color: #191919;
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s ease;
}
.btn-social-kakao:hover { opacity: 0.92; }

.btn-social-naver {
  background: #03c75a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s ease;
}
.btn-social-naver:hover { opacity: 0.92; }

.naver-n-symbol {
  font-weight: 900;
  font-size: 1.1rem;
}

/* 하단 링크 */
.auth-bottom-links {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.link-gold {
  color: #e2b96b;
  text-decoration: none;
  font-weight: 700;
}
.link-gold:hover {
  text-decoration: underline;
}

/* 비회원 안내 박스 */
.nonmember-guide-box {
  background: #090f17;
  border: 1px solid #1c2b3d;
  border-radius: 12px;
  padding: 14px 18px;
  color: #94a3b8;
  font-size: 0.82rem;
  margin-top: 10px;
}
.nonmember-guide-box strong {
  color: #e2e8f0;
  display: block;
  margin-bottom: 6px;
}
.nonmember-guide-box ul {
  margin: 0;
  padding-left: 18px;
}
.nonmember-guide-box li {
  margin-bottom: 4px;
}

/* ========================================================
   [마이페이지 레이아웃 & 카드 스타일]
   ======================================================== */
.mypage-container {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

.mypage-welcome-card {
  background: linear-gradient(135deg, #131e2c 0%, #0d1520 100%);
  border: 1px solid #23344a;
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.welcome-user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2b96b 0%, #c5a059 100%);
  color: #0b121b;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-name {
  margin: 0;
  color: #f3e8d2;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.user-grade-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid #059669;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.user-club-badge {
  background: rgba(197, 160, 89, 0.2);
  color: #e2b96b;
  border: 1px solid #c5a059;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.user-meta-info {
  margin: 6px 0 0 0;
  color: #94a3b8;
  font-size: 0.88rem;
}
.user-meta-info .sep {
  margin: 0 6px;
  opacity: 0.5;
}

.btn-subtle-logout {
  background: #1b2838;
  color: #94a3b8;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid #283a4f;
  transition: all 0.15s ease;
}
.btn-subtle-logout:hover {
  background: #233449;
  color: #ffffff;
}

/* 2단 그리드 */
.mypage-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

@media (max-width: 860px) {
  .mypage-layout-grid {
    grid-template-columns: 1fr;
  }
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mypage-section-title {
  color: #f3e8d2;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.count-badge {
  background: #c5a059;
  color: #0b121b;
  font-size: 0.76rem;
  padding: 2px 8px;
  border-radius: 10px;
}

.section-subtext {
  color: #64748b;
  font-size: 0.84rem;
}

/* 주문 빈 상태 */
.mypage-empty-box {
  background: #101a26;
  border: 1px solid #23344a;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
}
.mypage-empty-box .empty-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.mypage-empty-box .empty-title {
  color: #f3e8d2;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}
.mypage-empty-box .empty-desc {
  color: #8193a8;
  font-size: 0.9rem;
  margin: 0 0 20px 0;
}
.btn-empty-action {
  display: inline-block;
  background: #c5a059;
  color: #0b121b;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 0.92rem;
}

/* 주문 카드 */
.mypage-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mypage-order-card {
  background: #101a26;
  border: 1px solid #23344a;
  border-radius: 16px;
  padding: 22px 24px;
  transition: border-color 0.2s ease;
}
.mypage-order-card:hover {
  border-color: #3b506d;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #1a283c;
  margin-bottom: 14px;
}

.order-date {
  color: #8193a8;
  font-size: 0.84rem;
  display: block;
}
.order-id-label {
  color: #f3e8d2;
  font-size: 0.94rem;
}

.order-status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}
.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
}
.status-paid {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid #10b981;
}
.status-shipping {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid #0284c7;
}
.status-delivered {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid #8b5cf6;
}

.order-items-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.order-book-names strong {
  color: #f3e8d2;
  font-size: 1.05rem;
}
.extra-books {
  color: #8193a8;
  font-size: 0.88rem;
  margin-left: 4px;
}
.order-amount-col .amount-label {
  color: #8193a8;
  font-size: 0.85rem;
  margin-right: 6px;
}
.order-amount-col .amount-value {
  color: #e2b96b;
  font-size: 1.15rem;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #8193a8;
  padding-top: 10px;
  border-top: 1px dashed #1a283c;
}
.btn-order-detail-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
}
.btn-order-detail-link:hover {
  text-decoration: underline;
}

/* 사이드바 카드 */
.mypage-side-card {
  background: #101a26;
  border: 1px solid #23344a;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.side-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.side-card-header h3 {
  margin: 0;
  color: #f3e8d2;
  font-size: 1.05rem;
}

.btn-edit-address {
  background: transparent;
  border: 1px solid #c5a059;
  color: #e2b96b;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-edit-address:hover {
  background: #c5a059;
  color: #0b121b;
}

.address-display {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
}
.address-display .postcode-tag {
  color: #e2b96b;
  font-weight: 700;
  margin: 0 0 4px 0;
}
.address-display .address-main {
  margin: 0 0 2px 0;
  color: #f3e8d2;
}
.address-display .address-detail {
  margin: 0;
  color: #94a3b8;
}
.no-address {
  color: #64748b;
  font-size: 0.86rem;
}

.address-edit-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.address-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.btn-save-address {
  flex: 1;
  background: #c5a059;
  color: #0b121b;
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.btn-cancel-address {
  background: #1c2b3d;
  color: #94a3b8;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.club-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-item .benefit-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.benefit-item strong {
  color: #f3e8d2;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 2px;
}
.benefit-item p {
  margin: 0;
  color: #8193a8;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ========================================================
   [실시간 브라우저 콘텐츠 편집 및 관리자 모드 스타일]
   ======================================================== */

/* 1. 상단 공지 바 내 관리자/편집 모드 배지 및 버튼 */
.btn-admin-edit-badge {
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid #c5a059;
  color: #f3e8d2;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-admin-edit-badge:hover {
  background: #c5a059;
  color: #0b121b;
}

.btn-top-grant-admin {
  background: none;
  border: 1px dashed rgba(197, 160, 89, 0.5);
  color: #c5a059;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-top-grant-admin:hover {
  background: rgba(197, 160, 89, 0.2);
  border-color: #c5a059;
}

.admin-top-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 2. 화면 하단 플로팅 관리자 바 (Sticky Admin Floating Bar) */
.floating-admin-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(11, 18, 27, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid #c5a059;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  animation: slideUpAdmin 0.3s ease-out;
}

@keyframes slideUpAdmin {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-admin-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.floating-admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.floating-admin-label {
  color: #f3e8d2;
  font-size: 0.9rem;
}

.floating-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-float-item {
  background: #162234;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: #f3e8d2;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-float-item:hover {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
}

.btn-float-dash {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
}
.btn-float-dash:hover {
  background: #e2b96b;
}

.btn-float-off {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}
.btn-float-off:hover {
  background: #ef4444;
  color: #ffffff;
}

/* 3. 인라인 편집 버튼들 (오늘의 문장, 도서 카드, 상세화면 등) */
.btn-admin-edit-inline {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #c5a059;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
  transition: all 0.2s ease;
}
.btn-admin-edit-inline:hover {
  background: #c5a059;
  color: #0b121b;
}

.btn-card-admin-edit {
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: #c5a059;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-card-admin-edit:hover {
  background: #c5a059;
  color: #0b121b;
}

.btn-admin-edit-inline-card {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid #c5a059;
  color: #f3e8d2;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.btn-admin-edit-inline-card:hover {
  background: #c5a059;
  color: #0b121b;
}

.admin-detail-notice-bar {
  background: rgba(197, 160, 89, 0.1);
  border: 1px dashed #c5a059;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: #f3e8d2;
}
.btn-admin-edit-detail {
  background: #c5a059;
  color: #0b121b;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.8rem;
}

/* 4. 관리자 모달 공통 스타일 (Admin Modals) */
.admin-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.admin-modal-backdrop[hidden] {
  display: none !important;
}

.admin-modal-card {
  background: #111a27;
  border: 1.5px solid #c5a059;
  border-radius: 14px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: modalScaleIn 0.25s ease-out;
  color: #f3e8d2;
}

.admin-modal-card.modal-large {
  max-width: 760px;
}

@keyframes modalScaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.admin-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #26364d;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap h3 {
  margin: 4px 0 0 0;
  font-size: 1.25rem;
  color: #f3e8d2;
  font-family: var(--font-serif);
}

.modal-badge-gold {
  background: rgba(197, 160, 89, 0.2);
  color: #c5a059;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.btn-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
}
.btn-modal-close:hover {
  color: #f3e8d2;
}

.admin-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.admin-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #26364d;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: #0d1520;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.modal-intro-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 18px;
}

.quick-grant-box {
  background: rgba(197, 160, 89, 0.08);
  border: 1.5px solid #c5a059;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.quick-grant-tip {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 8px;
}

.modal-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}
.modal-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #26364d;
}
.modal-divider span {
  position: relative;
  background: #111a27;
  padding: 0 12px;
  color: #64748b;
  font-size: 0.8rem;
}

.btn-cancel {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-cancel:hover {
  background: #334155;
}

.feature-edit-block {
  background: #162234;
  border: 1px solid #26364d;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}
.feature-edit-block h4 {
  margin: 0 0 10px 0;
  color: #c5a059;
  font-size: 0.9rem;
}

/* 5. 관리자 페이지 내 도서 수정/삭제 버튼 */
.admin-book-actions-cell {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.btn-sm-edit {
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid #c5a059;
  color: #f3e8d2;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-sm-edit:hover {
  background: #c5a059;
  color: #0b121b;
}
.btn-sm-delete {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-sm-delete:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ========================================================
   [전자책(eBook) 코너 & 10페이지 무료 미리보기 통합 스타일]
   ======================================================== */

/* 1. 카탈로그 및 GNB 전자책 배지 */
.badge-ebook {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(197, 160, 89, 0.22);
  border: 1px solid #c5a059;
  color: #f3e8d2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.btn-card-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  border-radius: 6px;
  color: #f3e8d2;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-card-preview:hover {
  background: #c5a059;
  color: #0b121b;
  transform: translateY(-1px);
}

/* 2. 교보문고 스타일 전자책(eBook) 코너 페이지 (/ebooks) */
.ebook-corner-page {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.ebook-hero-banner {
  margin-top: 10px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #111a27 0%, #1a2638 60%, #152233 100%);
  border: 1px solid #26364d;
  border-radius: 18px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.ebook-hero-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ebook-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.ebook-hero-text {
  flex: 1;
}
.badge-ebook-gold {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #c5a059;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.ebook-hero-title {
  font-family: 'Noto Serif KR', 'Batang', serif;
  font-size: 2.2rem;
  line-height: 1.35;
  color: #f3e8d2;
  margin: 0 0 16px 0;
  font-weight: 700;
}
.ebook-hero-desc {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.ebook-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(11, 18, 27, 0.6);
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 14px 24px;
  width: fit-content;
}
.ebook-hero-stats .stat-item {
  display: flex;
  flex-direction: column;
}
.ebook-hero-stats .stat-item strong {
  font-size: 1.5rem;
  color: #c5a059;
  font-weight: 800;
  line-height: 1.1;
}
.ebook-hero-stats .stat-item span {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
}
.ebook-hero-stats .stat-sep {
  width: 1px;
  height: 28px;
  background: #26364d;
}

.ebook-hero-visual {
  flex-shrink: 0;
  width: 300px;
}
.ebook-device-mockup {
  background: #0b121b;
  border: 3px solid #334155;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}
.device-screen {
  background: #162234;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 24px 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.device-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  color: #c5a059;
  background: rgba(197, 160, 89, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.device-quote {
  font-family: 'Noto Serif KR', 'Batang', serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f3e8d2;
  font-style: italic;
  margin: 16px 0;
}
.device-author {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: right;
}

/* 전자책 3대 특장점 바 */
.ebook-features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.ebook-feat-card {
  background: #111a27;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ebook-feat-card:hover {
  transform: translateY(-2px);
  border-color: #c5a059;
}
.ebook-feat-card .feat-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.ebook-feat-card strong {
  display: block;
  font-size: 0.95rem;
  color: #f3e8d2;
  margin-bottom: 4px;
}
.ebook-feat-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* 전자책 카드 전용 리본 및 배지 */
.cover-ebook-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c5a059;
  color: #0b121b;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}
.badge-format-epub {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid #3b82f6;
  color: #93c5fd;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.badge-format-pdf {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.badge-discount-rate {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid #eab308;
  color: #fde047;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}
.ebook-price-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
}
.ebook-origin-price {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: line-through;
}
.ebook-sale-price {
  font-size: 1.25rem;
  color: #c5a059;
  font-weight: 800;
}
.ebook-count-badge {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #f3e8d2;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
}

/* 3. 10페이지 무료 미리보기 뷰어 (/preview/:bookId) */
.book-previewer-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0b121b;
  color: #f3e8d2;
}

.previewer-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #111a27;
  border-bottom: 1px solid #26364d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-toolbar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #162234;
  border: 1px solid #26364d;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-toolbar-back:hover {
  background: #26364d;
  color: #ffffff;
}
.previewer-book-meta {
  display: flex;
  flex-direction: column;
}
.previewer-title {
  font-size: 1.1rem;
  margin: 0;
  color: #f3e8d2;
  font-weight: 700;
  font-family: 'Noto Serif KR', 'Batang', serif;
}
.previewer-author {
  font-size: 0.78rem;
  color: #94a3b8;
}

.toolbar-center {
  display: flex;
  align-items: center;
}
.page-indicator-badge {
  background: #162234;
  border: 1px solid #26364d;
  color: #f3e8d2;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}
.page-indicator-badge strong {
  color: #c5a059;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.font-size-controls,
.reader-theme-switches {
  display: flex;
  align-items: center;
  background: #162234;
  border: 1px solid #26364d;
  border-radius: 8px;
  padding: 2px;
}
.btn-tool-icon,
.theme-switch-btn {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-tool-icon:hover,
.theme-switch-btn:hover {
  color: #f3e8d2;
  background: rgba(255, 255, 255, 0.05);
}
.theme-switch-btn.is-active {
  background: #26364d;
  color: #c5a059;
}
.btn-preview-buy-ebook {
  display: inline-flex;
  align-items: center;
  background: #c5a059;
  color: #0b121b;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-preview-buy-ebook:hover {
  background: #d4b472;
  transform: translateY(-1px);
}

/* 뷰어 스테이지 */
.previewer-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
  overflow-y: auto;
}
.nav-page-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22, 34, 52, 0.8);
  border: 1px solid #26364d;
  color: #f3e8d2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.nav-page-btn:hover {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
}
.nav-page-btn.prev-btn { left: 30px; }
.nav-page-btn.next-btn { right: 30px; }

/* 본문 종이 캔버스 */
.previewer-book-paper {
  width: 100%;
  max-width: 680px;
  min-height: 800px;
  background: #111a27;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 50px 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: 'Noto Serif KR', 'Batang', serif;
}

/* 읽기 테마 스타일 (Paper themes) */
.previewer-book-paper.theme-dark {
  background: #111a27;
  color: #f3e8d2;
  border-color: #26364d;
}
.previewer-book-paper.theme-sepia {
  background: #fcf4e4;
  color: #2e261f;
  border-color: #e5d7ba;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(140, 98, 57, 0.1);
}
.previewer-book-paper.theme-sepia .page-running-head {
  border-bottom-color: #e0d1b1;
  color: #8c7355;
}
.previewer-book-paper.theme-sepia .colophon-pre-wrap,
.previewer-book-paper.theme-sepia .body-lead,
.previewer-book-paper.theme-sepia .body-para {
  color: #3b322a;
}
.previewer-book-paper.theme-sepia .section-ornament,
.previewer-book-paper.theme-sepia .section-title-large,
.previewer-book-paper.theme-sepia .page-heading-serif {
  color: #8b5e28;
}

.previewer-book-paper.theme-light {
  background: #ffffff;
  color: #1a202c;
  border-color: #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.previewer-book-paper.theme-light .page-running-head {
  border-bottom-color: #e2e8f0;
  color: #64748b;
}
.previewer-book-paper.theme-light .colophon-pre-wrap,
.previewer-book-paper.theme-light .body-lead,
.previewer-book-paper.theme-light .body-para {
  color: #2d3748;
}
.previewer-book-paper.theme-light .section-ornament,
.previewer-book-paper.theme-light .section-title-large,
.previewer-book-paper.theme-light .page-heading-serif {
  color: #1a202c;
}

/* 슬라이드 레이아웃 */
.preview-page-slide {
  display: none;
  animation: fadeInSlide 0.25s ease forwards;
}
.preview-page-slide.is-active {
  display: block;
}
@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-running-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #26364d;
  padding-bottom: 12px;
  margin-bottom: 30px;
  font-size: 0.78rem;
  color: #64748b;
  letter-spacing: 0.5px;
}
.page-cover-layout {
  text-align: center;
  padding: 30px 0;
}
.cover-center-art .cover-art-img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}
.cover-titles .cover-badge-pub {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: #c5a059;
  border: 1px solid #c5a059;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cover-main-title {
  font-size: 1.8rem;
  margin: 0 0 10px 0;
  color: inherit;
}
.cover-author-line {
  color: #94a3b8;
  font-size: 1rem;
}

.page-heading-serif {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #c5a059;
  border-bottom: 1px solid #26364d;
  padding-bottom: 10px;
}
.colophon-pre-wrap {
  white-space: pre-line;
  line-height: 1.8;
  font-size: 0.95rem;
}
.section-ornament {
  display: block;
  font-size: 2rem;
  color: #c5a059;
  margin-bottom: 16px;
}
.section-title-large {
  font-size: 1.7rem;
  margin-bottom: 24px;
  line-height: 1.35;
}
.section-quote-highlight {
  border-left: 3px solid #c5a059;
  padding-left: 18px;
  margin: 20px 0;
  font-style: italic;
  line-height: 1.7;
}

.body-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 18px;
}
.body-para {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
  text-indent: 1em;
}

/* 미리보기 완료 화면 (Page 10) */
.page-end-layout {
  text-align: center;
  padding: 40px 10px;
}
.end-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #c5a059;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.end-title {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 14px;
}
.end-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 30px;
}
.end-purchase-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}
.end-opt-card {
  background: #162234;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.end-opt-card.is-ebook {
  border-color: #c5a059;
  background: rgba(197, 160, 89, 0.08);
}
.end-opt-card h3 {
  font-size: 1rem;
  margin: 8px 0;
}
.end-opt-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 16px 0;
  line-height: 1.45;
}
.btn-end-buy {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
}
.btn-end-buy.ebook-btn {
  background: #c5a059;
  color: #0b121b;
}
.btn-end-buy.paper-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f3e8d2;
}

/* 하단 스크러버 바 */
.previewer-scrubber-bar {
  position: sticky;
  bottom: 0;
  background: #111a27;
  border-top: 1px solid #26364d;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 90;
}
.page-pill-btn {
  background: #162234;
  border: 1px solid #26364d;
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-pill-btn:hover {
  border-color: #c5a059;
  color: #f3e8d2;
}
.page-pill-btn.is-active {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
  font-weight: 900;
}

/* 4. 전역 10페이지 미리보기 모달 (.preview-modal-backdrop) */
.preview-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.preview-modal-backdrop[hidden] {
  display: none !important;
}
.preview-modal-container {
  width: 100%;
  max-width: 780px;
  height: 90vh;
  max-height: 860px;
  background: #0b121b;
  border: 1.5px solid #26364d;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}
.preview-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #111a27;
  border-bottom: 1px solid #26364d;
}
.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.preview-badge-mini {
  background: rgba(197, 160, 89, 0.2);
  color: #c5a059;
  border: 1px solid #c5a059;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
}
.modal-header-meta h3 {
  margin: 0;
  font-size: 1rem;
  color: #f3e8d2;
  font-family: 'Noto Serif KR', 'Batang', serif;
}
.preview-meta-author {
  font-size: 0.8rem;
  color: #94a3b8;
}

.modal-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-page-counter {
  font-size: 0.85rem;
  color: #94a3b8;
}
.modal-page-counter strong {
  color: #c5a059;
}
.modal-theme-btns {
  display: flex;
  gap: 4px;
}
.btn-theme-pill {
  background: #162234;
  border: 1px solid #26364d;
  color: #cbd5e1;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}
.btn-theme-pill.is-active {
  border-color: #c5a059;
  background: rgba(197, 160, 89, 0.2);
}
.btn-preview-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.btn-preview-close:hover {
  color: #ffffff;
}

.preview-modal-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  position: relative;
  overflow-y: auto;
}
.modal-nav-btn {
  background: #162234;
  border: 1px solid #26364d;
  color: #f3e8d2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.modal-nav-btn:hover {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
}
.preview-modal-paper {
  flex: 1;
  margin: 0 16px;
  min-height: 480px;
  background: #111a27;
  border: 1px solid #26364d;
  border-radius: 10px;
  padding: 30px 40px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
  font-family: 'Noto Serif KR', 'Batang', serif;
  overflow-y: auto;
  max-height: calc(90vh - 160px);
}
.preview-modal-paper.theme-sepia {
  background: #fcf4e4;
  color: #2e261f;
  border-color: #e5d7ba;
}
.preview-modal-paper.theme-light {
  background: #ffffff;
  color: #1a202c;
  border-color: #e2e8f0;
}

.preview-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #111a27;
  border-top: 1px solid #26364d;
}
.modal-pills-bar {
  display: flex;
  gap: 6px;
}
.modal-page-pill {
  background: #162234;
  border: 1px solid #26364d;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.modal-page-pill.is-active {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
}
.btn-preview-modal-buy {
  background: #c5a059;
  color: #0b121b;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

/* 5. 주문 완료 페이지 전자책 다운로드 박스 */
.ebook-download-success-box {
  background: rgba(197, 160, 89, 0.08);
  border: 1.5px solid #c5a059;
  border-radius: 14px;
  padding: 28px;
  margin: 30px 0;
}
.badge-dl-highlight {
  display: inline-block;
  background: #c5a059;
  color: #0b121b;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.ebook-download-success-box h2 {
  font-size: 1.3rem;
  color: #f3e8d2;
  margin: 0 0 8px 0;
}
.ebook-dl-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 20px 0;
}
.ebook-download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ebook-download-row {
  background: #111a27;
  border: 1px solid #26364d;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ebook-item-details {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ebook-file-icon {
  font-size: 1.8rem;
}
.ebook-item-title {
  display: block;
  font-size: 1rem;
  color: #f3e8d2;
  margin-bottom: 4px;
}
.ebook-item-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}
.ebook-item-meta .sep {
  margin: 0 6px;
  color: #475569;
}
.ebook-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-read-online {
  background: #162234;
  border: 1px solid #26364d;
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-read-online:hover {
  background: #26364d;
  color: #ffffff;
}
.btn-download-epub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c5a059;
  color: #0b121b;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-download-epub:hover {
  background: #d4b472;
}
.ebook-reader-recommend {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(197, 160, 89, 0.3);
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}
.ebook-reader-recommend .recommend-title {
  color: #c5a059;
  font-weight: 700;
  margin-right: 6px;
}

/* 6. 마이페이지 나의 전자책 보관함 */
.mypage-ebooks-section {
  margin-top: 30px;
}
.btn-link-ebook-corner {
  color: #c5a059;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-link-ebook-corner:hover {
  text-decoration: underline;
}
.ebook-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.ebook-shelf-card {
  background: #111a27;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ebook-shelf-card:hover {
  transform: translateY(-2px);
  border-color: #c5a059;
}
.shelf-cover-box {
  width: 70px;
  flex-shrink: 0;
  position: relative;
}
.shelf-cover-img {
  width: 100%;
  aspect-ratio: 1 / 1.45;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.shelf-format-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #c5a059;
  color: #0b121b;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.shelf-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.shelf-book-title {
  font-size: 0.92rem;
  margin: 0 0 4px 0;
  color: #f3e8d2;
  line-height: 1.35;
}
.shelf-book-author {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0 0 10px 0;
}
.shelf-actions-row {
  display: flex;
  gap: 6px;
}
.btn-shelf-read,
.btn-shelf-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  flex: 1;
  text-align: center;
}
.btn-shelf-read {
  background: #162234;
  border: 1px solid #26364d;
  color: #cbd5e1;
}
.btn-shelf-download {
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid #c5a059;
  color: #f3e8d2;
}
.btn-shelf-download:hover {
  background: #c5a059;
  color: #0b121b;
}

.ebook-empty-box {
  text-align: center;
}
.empty-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.btn-empty-preview {
  background: #162234;
  border: 1px solid #26364d;
  color: #f3e8d2;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-empty-preview:hover {
  background: #26364d;
  border-color: #c5a059;
}

@media (max-width: 768px) {
  .ebook-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .ebook-hero-visual {
    width: 100%;
    max-width: 260px;
  }
  .ebook-hero-stats {
    margin: 0 auto;
  }
  .ebook-features-bar {
    grid-template-columns: 1fr;
  }
  .end-purchase-options {
    grid-template-columns: 1fr;
  }
  .ebook-download-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .ebook-action-group {
    width: 100%;
    margin-top: 10px;
  }
  .btn-read-online,
  .btn-download-epub {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* ========================================================
   [게시판 시스템] 출판 의뢰 게시판 & 독자 자유게시판 스타일
   ======================================================== */
.board-page-container,
.board-write-container,
.board-detail-container {
  max-width: 1080px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

.board-header-section {
  background: linear-gradient(135deg, #101b2b 0%, #0d1522 100%);
  border: 1.5px solid #26364d;
  border-radius: 16px;
  padding: 36px 30px 24px;
  margin-bottom: 24px;
}
.board-badge-pill {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: #c5a059;
  border: 1px solid #c5a059;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.board-main-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: #f3e8d2;
  margin: 0 0 10px;
}
.board-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.board-tabs-bar {
  display: flex;
  gap: 12px;
  border-top: 1px solid #1e2c3f;
  padding-top: 20px;
}
.board-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: #142030;
  border: 1px solid #26364d;
  color: #94a3b8;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.board-tab-btn:hover {
  background: #1b2a40;
  color: #f3e8d2;
  border-color: #3b4e6b;
}
.board-tab-btn.is-active {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
}
.tab-count-badge {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.board-info-count {
  color: #94a3b8;
  font-size: 0.9rem;
}
.board-info-count strong {
  color: #f3e8d2;
}

.board-table-container {
  background: #111a27;
  border: 1px solid #26364d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.namu-board-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.namu-board-table th {
  background: #0d1520;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 16px;
  border-bottom: 1px solid #26364d;
}
.namu-board-table td {
  padding: 16px;
  border-bottom: 1px solid #1a2738;
  color: #cbd5e1;
  font-size: 0.9rem;
}
.namu-board-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.col-num { width: 60px; text-align: center; }
.col-genre, .col-cat { width: 130px; }
.col-author { width: 120px; }
.col-status { width: 110px; text-align: center; }
.col-views, .col-likes { width: 80px; text-align: center; }
.col-date { width: 110px; text-align: right; color: #64748b; font-size: 0.82rem; }

.board-link-title {
  color: #f3e8d2;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.board-link-title:hover {
  color: #c5a059;
  text-decoration: underline;
}
.badge-genre, .badge-category {
  display: inline-block;
  background: #192638;
  border: 1px solid #2b3d54;
  color: #94a3b8;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
}
.status-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
.status-received { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid #475569; }
.status-reviewing { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid #0284c7; }
.status-consulting { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid #d97706; }
.status-confirmed { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid #059669; }

.badge-reply-done {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #059669;
}
.comment-count-badge {
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
}
.empty-board-row {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.publish-guide-banner {
  margin-top: 24px;
  background: #0d1522;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.guide-icon { font-size: 1.8rem; }
.guide-text h3 { margin: 0 0 6px; font-size: 1rem; color: #f3e8d2; }
.guide-text p { margin: 0 0 6px; font-size: 0.88rem; color: #94a3b8; line-height: 1.5; }
.guide-text small { color: #c5a059; font-size: 0.8rem; }

/* 글쓰기 폼 */
.board-write-card,
.board-detail-card,
.secret-auth-card {
  background: #111a27;
  border: 1.5px solid #26364d;
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.write-header { margin-bottom: 24px; border-bottom: 1px solid #1e2c3f; padding-bottom: 18px; }
.write-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: #c5a059;
  border: 1px solid #c5a059;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.write-header h2 { font-family: var(--font-serif); font-size: 1.8rem; color: #f3e8d2; margin: 0 0 8px; }
.write-desc { color: #94a3b8; font-size: 0.9rem; margin: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.write-action-row { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }

/* 상세 페이지 */
.detail-meta-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.detail-board-tag { background: #192638; border: 1px solid #2b3d54; color: #c5a059; padding: 2px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }
.detail-main-title { font-family: var(--font-serif); font-size: 1.9rem; color: #f3e8d2; margin: 0 0 16px; line-height: 1.4; }
.detail-meta-bar { display: flex; justify-content: space-between; align-items: center; color: #64748b; font-size: 0.85rem; padding-bottom: 18px; border-bottom: 1px solid #1e2c3f; }
.detail-meta-bar strong { color: #cbd5e1; }
.meta-sep { margin: 0 6px; }

.publish-meta-box {
  background: #0b121b;
  border: 1px solid #26364d;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-lbl { font-size: 0.78rem; color: #64748b; font-weight: 600; }
.meta-item strong { color: #f3e8d2; font-size: 0.92rem; }

.detail-body-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e2e8f0;
  margin: 28px 0;
  min-height: 140px;
}

.detail-like-row { display: flex; justify-content: center; margin: 30px 0 20px; }
.btn-post-like {
  background: #162234;
  border: 1.5px solid #26364d;
  color: #f3e8d2;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-post-like:hover {
  background: #c5a059;
  color: #0b121b;
  border-color: #c5a059;
  transform: translateY(-2px);
}

.admin-reply-card {
  background: rgba(16, 185, 129, 0.05);
  border: 1.5px solid #059669;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}
.reply-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.reply-badge { color: #10b981; font-weight: 800; font-size: 0.9rem; }
.reply-status-text { font-size: 0.85rem; color: #94a3b8; }
.reply-status-text strong { color: #10b981; }
.reply-content { color: #e2e8f0; line-height: 1.7; font-size: 0.95rem; }

.admin-control-box {
  background: #0d1520;
  border: 1px dashed #c5a059;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}
.admin-control-box h3 { color: #c5a059; font-size: 1rem; margin: 0 0 16px; }

.detail-action-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1e2c3f;
  padding-top: 20px;
  margin-top: 24px;
}
.btn-delete {
  background: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.btn-delete:hover {
  background: #ef4444;
  color: #ffffff;
}

/* 댓글 */
.board-comments-section {
  margin-top: 30px;
  background: #111a27;
  border: 1.5px solid #26364d;
  border-radius: 16px;
  padding: 24px 30px;
}
.board-comments-section h3 {
  font-size: 1.1rem;
  color: #f3e8d2;
  margin: 0 0 16px;
}
.board-comments-section h3 span { color: #c5a059; }
.comments-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.comment-item {
  background: #0d1520;
  border: 1px solid #1e2c3f;
  border-radius: 10px;
  padding: 12px 16px;
}
.comment-item.is-admin-comment {
  border-color: #059669;
  background: rgba(5, 150, 105, 0.08);
}
.comment-meta { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; margin-bottom: 6px; }
.comment-meta strong { color: #cbd5e1; }
.badge-admin-tag { background: #059669; color: #fff; padding: 1px 6px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.comment-time { color: #64748b; }
.comment-text { color: #e2e8f0; font-size: 0.9rem; line-height: 1.5; }
.no-comments { color: #64748b; font-size: 0.88rem; text-align: center; padding: 20px 0; }
.comment-form { display: flex; flex-direction: column; gap: 10px; }
.comment-textarea-row { display: flex; gap: 10px; }
.comment-textarea-row textarea { flex: 1; min-height: 60px; }

/* 비밀글 인증 */
.secret-auth-card {
  max-width: 480px;
  margin: 60px auto;
  text-align: center;
}
.secret-lock-icon { font-size: 3rem; margin-bottom: 12px; }
.secret-auth-card h2 { font-size: 1.4rem; color: #f3e8d2; margin-bottom: 8px; }
.secret-auth-card p { color: #94a3b8; font-size: 0.88rem; line-height: 1.5; margin-bottom: 20px; }
.secret-auth-form { text-align: left; }
.auth-error-alert { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #fca5a5; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 14px; text-align: center; }

/* 상단 히어로 관리자 배너 수정 버튼 */
.btn-hero-admin-edit {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(17, 26, 39, 0.88);
  color: #c5a059;
  border: 1.5px solid #c5a059;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 30;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.2s;
}
.btn-hero-admin-edit:hover {
  background: #c5a059;
  color: #0b121b;
  transform: translateY(-1px);
}

/* 출판 의뢰 정규 출판 절차 카드 */
.publish-process-card {
  background: #0e1826;
  border: 1px solid #2a3d54;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
}
.process-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3e8d2;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.process-icon { font-size: 1.25rem; }
.process-steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.process-step {
  flex: 1;
  background: #131f30;
  border: 1px solid #223247;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.process-step:hover {
  border-color: #c5a059;
  transform: translateY(-2px);
}
.step-num {
  display: inline-block;
  background: rgba(197, 160, 89, 0.18);
  color: #c5a059;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}
.process-step h4 {
  font-size: 0.95rem;
  color: #f3e8d2;
  margin: 4px 0 6px;
  font-weight: 700;
}
.process-step p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}
.process-step-arrow {
  color: #c5a059;
  font-size: 1.1rem;
  opacity: 0.6;
}
.process-notice {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #24354b;
  font-size: 0.82rem;
  color: #94a3b8;
  text-align: center;
}
.process-notice strong {
  color: #fcd34d;
}

/* ======================================================== */
/* 💳 서점 PG 결제 게이트웨이 & 전 카드사 & 각종 페이 스타일 */
/* ======================================================== */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
body.theme-3 .payment-card {
  background: #111a27;
  border: 1.5px solid #26364d;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
body.theme-3 .payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
body.theme-3 .payment-card:hover {
  border-color: #3b4e6b;
  background: #162234;
}
body.theme-3 .payment-card.is-selected {
  border-color: #c5a059;
  background: rgba(197, 160, 89, 0.12);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.25);
}
body.theme-3 .payment-card .pay-info strong {
  color: #f3e8d2;
  font-size: 0.92rem;
  display: block;
}
body.theme-3 .payment-card .pay-info small {
  color: #94a3b8;
  font-size: 0.74rem;
}

.pay-subpanel {
  background: #0d1520;
  border: 1px solid #26364d;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 10px;
}
.subpanel-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #c5a059;
  margin-bottom: 10px;
}
.card-companies-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.card-chip {
  background: #162234;
  border: 1px solid #2b3d54;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.card-chip:hover {
  border-color: #c5a059;
  color: #f3e8d2;
}
.card-chip.is-selected {
  background: #c5a059;
  color: #0d1520;
  border-color: #c5a059;
  font-weight: 800;
}
.installment-row, .vbank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}
.installment-select {
  background: #111a27;
  border: 1px solid #26364d;
  color: #f3e8d2;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.installment-tip {
  font-size: 0.78rem;
  color: #94a3b8;
}
.cash-receipt-header .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.88rem;
  cursor: pointer;
}
.cash-receipt-inputs {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #26364d;
}
.cash-receipt-type-row {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.cash-receipt-type-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.cash-input {
  width: 100%;
  max-width: 320px;
  background: #111a27;
  border: 1px solid #26364d;
  color: #f3e8d2;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
}

/* PG 모달 */
.pg-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pg-modal-window {
  background: #0d1520;
  border: 1.5px solid #c5a059;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 160, 89, 0.25);
  overflow: hidden;
  animation: pgModalFadeIn 0.25s ease-out;
}
@keyframes pgModalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.pg-modal-header {
  background: #111a27;
  border-bottom: 1px solid #26364d;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pg-brand-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pg-shield-icon { font-size: 1.6rem; }
.pg-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #f3e8d2;
  font-weight: 800;
}
.pg-subtitle { color: #c5a059; font-size: 0.75rem; }
.pg-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.pg-modal-close:hover { color: #f3e8d2; }
.pg-modal-body { padding: 20px; }
.pg-order-summary-box {
  background: #142030;
  border: 1px solid #26364d;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.pg-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.pg-sum-row .lbl { color: #94a3b8; }
.pg-sum-row .val { color: #f3e8d2; font-weight: 700; }
.pg-amount-highlight { color: #c5a059 !important; font-size: 1.25rem !important; font-weight: 900 !important; }
.pg-taxfree-tag {
  font-size: 0.75rem;
  color: #38bdf8;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #26364d;
}
.pg-card-preview-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #334155;
  border-radius: 12px;
  padding: 18px 20px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
}
.pg-card-chip-icon { font-size: 0.72rem; color: #fbbf24; font-weight: 800; margin-bottom: 12px; }
.pg-card-name { font-size: 1.2rem; font-weight: 800; color: #f8fafc; margin-bottom: 4px; }
.pg-card-installment { font-size: 0.85rem; color: #94a3b8; margin-bottom: 14px; }
.pg-card-number-mask { font-family: monospace; font-size: 1rem; letter-spacing: 2px; color: #cbd5e1; }
.pg-auth-flow-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
}
.pg-pay-banner {
  text-align: center;
  padding: 14px 10px;
  background: #142030;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #26364d;
}
.pg-pay-icon-lg { font-size: 2.2rem; display: block; margin-bottom: 6px; }
.pg-pay-banner h4 { font-size: 1.15rem; color: #f3e8d2; margin-bottom: 4px; }
.pg-pay-banner p { font-size: 0.8rem; color: #94a3b8; margin: 0; }
.pg-qr-mock-box {
  text-align: center;
  padding: 14px;
  background: #ffffff;
  border-radius: 10px;
  color: #0f172a;
  margin-bottom: 12px;
}
.mock-qr-code {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  background: #0f172a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-center-logo { font-size: 2rem; }
.pg-qr-mock-box small { color: #64748b; font-size: 0.78rem; display: block; }
.pg-vbank-guide {
  background: #142030;
  border: 1px solid #26364d;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
}
.vbank-bank-badge {
  display: inline-block;
  background: #c5a059;
  color: #0b121b;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.pg-vbank-guide p { color: #cbd5e1; font-size: 0.88rem; line-height: 1.5; margin: 0; }
.pg-security-footer-badge {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #1e2c3f;
}
.pg-modal-actions {
  padding: 14px 20px;
  background: #111a27;
  border-top: 1px solid #26364d;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.btn-pg-cancel {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}
.btn-pg-cancel:hover { background: #1e293b; color: #f8fafc; }
.btn-pg-confirm {
  background: #c5a059;
  border: none;
  color: #0b121b;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-pg-confirm:hover { background: #e2b96b; }
.pg-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #0b121b;
  border-top-color: transparent;
  border-radius: 50%;
  animation: pgSpin 0.7s linear infinite;
}
@keyframes pgSpin {
  to { transform: rotate(360deg); }
}
.receipt-action-row {
  margin: 18px 0;
}
.btn-view-receipt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #162234;
  border: 1.5px solid #c5a059;
  color: #c5a059;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-view-receipt:hover {
  background: #c5a059;
  color: #0b121b;
  transform: translateY(-2px);
}
.auth-code-highlight {
  font-family: monospace;
  font-weight: 800;
  color: #38bdf8;
  background: #0d1520;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #1e2c3f;
}
.pay-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #26364d;
}
.pay-box-header h2 { margin: 0; font-size: 1.3rem; color: #f3e8d2; }
.pay-box-sub { color: #c5a059; font-weight: 700; font-size: 0.82rem; }
.pay-icon-symbol { font-size: 2rem; }

/* ========================================================
   [출판사 소개 (/about) 스타일 — 사명, 말씀, 3대 철학]
   ======================================================== */
.about-page-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.about-hero-section {
  text-align: center;
  padding: 50px 20px 40px;
  background: linear-gradient(180deg, #101c2a 0%, #0d1622 100%);
  border: 1px solid #23364c;
  border-radius: 16px;
  margin-bottom: 36px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.about-hero-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-pill-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.16);
  border: 1px solid #c5a059;
  color: #dfb76c;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.about-main-headline {
  font-family: 'KoPubWorldBatang', 'Nanum Myeongjo', serif;
  font-size: 2.3rem;
  color: #f6efe2;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.about-sub-headline {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 말씀 & 사명 카드 */
.about-scripture-card {
  background: #111b27;
  border: 1.5px solid #283e58;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.scripture-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e2e42;
}

.bible-verse-tag {
  background: #059669;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

.motto-tag {
  background: rgba(197, 160, 89, 0.15);
  color: #c5a059;
  border: 1px solid #c5a059;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.scripture-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.scripture-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.motto-speech-bubble {
  background: #172435;
  border: 1px solid #2e4562;
  border-left: 4px solid #c5a059;
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.motto-speech-bubble.en-bubble {
  border-left-color: #38bdf8;
}

.bubble-title {
  font-size: 1.25rem;
  color: #f1f5f9;
  margin: 0 0 14px;
  font-weight: 700;
}

.highlight-tree {
  color: #34d399;
}

.highlight-fruit {
  color: #fbbf24;
}

.bubble-quote {
  font-family: 'KoPubWorldBatang', 'Nanum Myeongjo', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin: 0;
}

.bubble-quote strong {
  color: #dfb76c;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.motto-img-preview {
  background: #090f17;
  border: 1px solid #23354b;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.motto-origin-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.motto-origin-img:hover {
  transform: scale(1.02);
}

/* 3대 출판 철학 */
.about-pillars-section {
  margin-bottom: 40px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.section-sub-title {
  color: #c5a059;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.section-main-title {
  font-size: 1.8rem;
  color: #f8fafc;
  margin: 6px 0 8px;
  font-weight: 800;
}

.section-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: #111a26;
  border: 1px solid #22344a;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #3b567a;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

.pillar-card.highlight-pillar {
  border-color: #c5a059;
  background: linear-gradient(180deg, #142233 0%, #111a26 100%);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.pillar-step {
  font-size: 0.75rem;
  font-weight: 800;
  color: #c5a059;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-size: 1.18rem;
  color: #f1f5f9;
  margin: 0 0 12px;
  font-weight: 700;
}

.pillar-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* 견적 티저 배너 */
.about-pricing-teaser-card {
  background: linear-gradient(135deg, #152538 0%, #0e1724 100%);
  border: 1.5px solid #2f496a;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.teaser-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-pricing-teaser-card h2 {
  font-size: 1.5rem;
  color: #f8fafc;
  margin: 0 0 12px;
  font-weight: 800;
}

.about-pricing-teaser-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 24px;
}

/* 출판사 공식 정보 카드 */
.about-info-card {
  background: #0f1722;
  border: 1px solid #1f2f42;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 36px;
}

.info-card-title {
  font-size: 1.2rem;
  color: #f1f5f9;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e2c3e;
}

.info-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-item {
  background: #152130;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #223348;
}

.info-item.full-width {
  grid-column: 1 / -1;
}

.info-lbl {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.info-item strong {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.about-bottom-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================================
   [출판 의뢰 내 견적 공간 (.publish-pricing-feature-card)]
   ======================================================== */
.publish-pricing-feature-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #162639 0%, #111a26 100%);
  border: 1.5px solid #c5a059;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.12), 0 4px 12px rgba(0, 0, 0, 0.35);
  gap: 24px;
}

.pricing-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pricing-badge-pill {
  background: #c5a059;
  color: #0b121b;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-format-tag {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.pricing-card-title {
  font-size: 1.45rem;
  color: #f8fafc;
  margin: 0 0 10px;
  font-weight: 800;
}

.pricing-card-desc {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.pricing-card-desc strong {
  color: #dfb76c;
}

.pricing-card-right {
  flex-shrink: 0;
}

.btn-open-pricing-modal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c5a059;
  color: #0b121b;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
  transition: all 0.25s ease;
}

.btn-open-pricing-modal:hover {
  background: #dfb76c;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(197, 160, 89, 0.45);
}

.btn-pricing-icon {
  font-size: 1.25rem;
}

/* 의뢰서 작성 화면 내 배너 */
.write-pricing-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #142232;
  border: 1px solid #2a415e;
  border-left: 4px solid #c5a059;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 24px;
  gap: 16px;
}

.badge-pricing-mini {
  display: inline-block;
  background: rgba(197, 160, 89, 0.2);
  color: #c5a059;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.write-pricing-info strong {
  display: block;
  font-size: 1.02rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.write-pricing-info p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
}

.btn-check-pricing {
  background: #1e3148;
  border: 1.5px solid #c5a059;
  color: #c5a059;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-check-pricing:hover {
  background: #c5a059;
  color: #0b121b;
}

/* ========================================================
   [견적 가격표 모달창 (.pricing-modal-*)]
   ======================================================== */
.pricing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 9, 14, 0.85);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pricing-modal-window {
  background: #0f1723;
  border: 1.5px solid #2c425e;
  border-radius: 18px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.pricing-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 18px;
  background: #142030;
  border-bottom: 1px solid #24374e;
}

.pricing-head-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #dfb76c;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.pricing-modal-title-group h3 {
  font-size: 1.4rem;
  color: #f8fafc;
  margin: 0 0 8px;
  font-weight: 800;
}

.pricing-modal-contact {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.pricing-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
  transition: color 0.2s;
}

.pricing-modal-close:hover {
  color: #ffffff;
}

.pricing-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.pricing-standard-notice {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.standard-pill {
  background: #152232;
  border: 1px solid #273a52;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
}

.standard-pill strong {
  color: #c5a059;
}

.pricing-tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1f3045;
}

.pricing-tab-btn {
  background: #172435;
  border: 1px solid #283c54;
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-tab-btn:hover {
  background: #203248;
  color: #ffffff;
}

.pricing-tab-btn.is-active {
  background: #c5a059;
  border-color: #c5a059;
  color: #0b121b;
}

.pricing-tables-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-tier-card {
  background: #121d2b;
  border: 1px solid #22344a;
  border-radius: 12px;
  overflow: hidden;
}

.tier-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #182638;
  border-bottom: 1px solid #23364c;
}

.tier-card-header h4 {
  font-size: 1.05rem;
  color: #f1f5f9;
  margin: 0;
  font-weight: 800;
  flex: 1;
  margin-left: 10px;
}

.tier-icon {
  font-size: 1.2rem;
}

.tier-spec-tag {
  background: #0d1520;
  border: 1px solid #26384e;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.tier-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tier-pricing-table th {
  background: #101925;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  padding: 10px 18px;
  border-bottom: 1px solid #1f3045;
}

.tier-pricing-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #1a2737;
  color: #cbd5e1;
}

.tier-pricing-table tr:last-child td {
  border-bottom: none;
}

.tier-pricing-table tr:hover td {
  background: #172435;
}

.tier-pricing-table tr.row-pod td {
  background: rgba(197, 160, 89, 0.03);
}

.badge-color-print {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-bw-print {
  display: inline-block;
  background: #1c2b3c;
  color: #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
}

.badge-format-both {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-highlight {
  font-size: 1.08rem;
  color: #dfb76c;
  font-weight: 800;
}

.pricing-notice-box {
  margin-top: 24px;
  background: #142030;
  border: 1px solid #23374e;
  border-radius: 10px;
  padding: 18px 22px;
}

.pricing-notice-box h4 {
  font-size: 0.95rem;
  color: #f1f5f9;
  margin: 0 0 10px;
  font-weight: 800;
}

.pricing-notice-box ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.pricing-notice-box li {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.pricing-notice-box li strong {
  color: #c5a059;
}

.pricing-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 28px;
  background: #121c2a;
  border-top: 1px solid #23364c;
}

.btn-pricing-close {
  background: #1a2838;
  border: 1px solid #2d425b;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pricing-close:hover {
  background: #25384e;
  color: #ffffff;
}

.btn-pricing-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c5a059;
  color: #0b121b;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-pricing-write:hover {
  background: #dfb76c;
}

/* ========================================================
   [모바일 반응형 지원 (768px 이하)]
   ======================================================== */
@media (max-width: 768px) {
  .about-main-headline { font-size: 1.7rem; }
  .scripture-content-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .info-grid-2 { grid-template-columns: 1fr; }
  .publish-pricing-feature-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
  .pricing-card-right {
    width: 100%;
  }
  .btn-open-pricing-modal {
    width: 100%;
    justify-content: center;
  }
  .write-pricing-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-check-pricing {
    width: 100%;
    text-align: center;
  }
  .tier-pricing-table th, .tier-pricing-table td {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

/* ========================================================
   [기능 1] 상황별 영성·마음 도서 처방전 (.home-prescriptions-section)
   ======================================================== */
.home-prescriptions-section {
  max-width: 1200px;
  margin: 32px auto 44px;
  padding: 0 20px;
}

.prescriptions-header {
  text-align: center;
  margin-bottom: 24px;
}

.prescriptions-badge {
  display: inline-block;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid #34d399;
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.prescriptions-title {
  font-family: 'KoPubWorldBatang', 'Nanum Myeongjo', serif;
  font-size: 1.85rem;
  color: #f8fafc;
  margin: 0 0 8px;
  font-weight: 800;
}

.prescriptions-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.presc-cat-btn {
  background: #101a26;
  border: 1px solid #1e2e42;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.presc-cat-btn:hover {
  background: #192738;
  color: #ffffff;
  border-color: #38bdf8;
}

.presc-cat-btn.is-active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.chip-cat-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: -0.2px;
}

.presc-cat-pill {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.prescription-chips-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.prescription-chip-btn {
  background: #111a26;
  border: 1px solid #23354b;
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.22s ease;
}

.prescription-chip-btn:hover {
  background: #182638;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

.prescription-chip-btn.is-active {
  background: linear-gradient(135deg, #1b324d 0%, #152438 100%);
  border-color: #c5a059;
  color: #dfb76c;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
}

.prescription-panel-card {
  background: #101925;
  border: 1.5px solid #23364c;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  animation: fadeInPanel 0.25s ease-out;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.presc-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.presc-scripture-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.presc-theme-tag {
  display: inline-block;
  align-self: flex-start;
  border: 1px solid #38bdf8;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
}

.presc-subline {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
}

.presc-scripture-text {
  background: #152232;
  border-left: 4px solid #34d399;
  border-radius: 8px;
  padding: 16px 18px;
}

.presc-scripture-text strong {
  display: block;
  color: #34d399;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.presc-scripture-text p {
  font-family: 'KoPubWorldBatang', serif;
  color: #f1f5f9;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.presc-quote-text {
  background: #172435;
  border-left: 4px solid #c5a059;
  border-radius: 8px;
  padding: 16px 18px;
}

.presc-quote-text strong {
  display: block;
  color: #c5a059;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.presc-quote-text p {
  font-family: 'KoPubWorldBatang', serif;
  color: #e2e8f0;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

.btn-make-presc-card {
  align-self: flex-start;
  background: rgba(197, 160, 89, 0.15);
  border: 1.5px solid #c5a059;
  color: #dfb76c;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-make-presc-card:hover {
  background: #c5a059;
  color: #0b121b;
}

.presc-books-column h4 {
  font-size: 1.1rem;
  color: #f8fafc;
  margin: 0 0 16px;
  font-weight: 800;
  border-bottom: 1px solid #1e2e42;
  padding-bottom: 8px;
}

.presc-books-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.presc-book-mini-card {
  display: flex;
  gap: 16px;
  background: #152130;
  border: 1px solid #23354b;
  border-radius: 12px;
  padding: 14px;
  transition: transform 0.2s ease;
}

.presc-book-mini-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}

.mini-cover img {
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  display: block;
}

.mini-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mini-info h5 {
  font-size: 1rem;
  color: #f1f5f9;
  margin: 0 0 4px;
  font-weight: 700;
}

.mini-author {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.mini-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0 0 10px;
}

.mini-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-mini-preview, .btn-mini-detail, .btn-mini-gift {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-mini-preview {
  background: #1e3046;
  color: #38bdf8;
  border-color: #2b4562;
}

.btn-mini-detail {
  background: transparent;
  color: #cbd5e1;
  border-color: #334862;
}

.btn-mini-gift {
  background: rgba(197, 160, 89, 0.15);
  color: #dfb76c;
  border-color: #c5a059;
}

.btn-mini-gift:hover {
  background: #c5a059;
  color: #0b121b;
}

/* ========================================================
   [기능 2] 디지털 말씀 & 명문장 카드 생성기 모달 (.card-maker-*)
   ======================================================== */
.card-maker-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 8, 14, 0.88);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card-maker-modal-window {
  background: #0f1825;
  border: 1.5px solid #2a3f5c;
  border-radius: 18px;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.card-maker-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 28px;
  background: #142132;
  border-bottom: 1px solid #23374e;
}

.card-maker-pill {
  display: inline-block;
  background: rgba(197, 160, 89, 0.16);
  color: #dfb76c;
  border: 1px solid #c5a059;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.card-maker-title-group h3 {
  font-size: 1.35rem;
  color: #f8fafc;
  margin: 0 0 6px;
  font-weight: 800;
}

.card-maker-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
}

.card-maker-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.card-maker-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px;
  overflow-y: auto;
}

.canvas-frame {
  background: #000;
  border: 1px solid #2b405e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

#card-maker-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
}

.card-control-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.control-label {
  display: block;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 8px;
}

.theme-buttons-group {
  display: flex;
  gap: 10px;
}

.card-theme-btn {
  flex: 1;
  background: #162436;
  border: 1px solid #283e58;
  color: #cbd5e1;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.card-theme-btn.is-active {
  background: #c5a059;
  border-color: #c5a059;
  color: #0b121b;
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-midnight { background: #121f2f; border: 1px solid #dfb76c; }
.dot-hanji { background: #fbf7ee; border: 1px solid #785e3a; }
.dot-forest { background: #064e3b; border: 1px solid #34d399; }

.card-input-textarea, .card-input-text {
  width: 100%;
  background: #142132;
  border: 1px solid #283e58;
  border-radius: 8px;
  color: #f1f5f9;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  box-sizing: border-box;
}

.card-input-textarea:focus, .card-input-text:focus {
  border-color: #c5a059;
  outline: none;
}

.card-actions-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-card-download, .btn-card-share {
  flex: 1;
  padding: 13px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-download {
  background: #c5a059;
  color: #0b121b;
  border: none;
}

.btn-card-download:hover { background: #dfb76c; }

.btn-card-share {
  background: #192a3e;
  color: #38bdf8;
  border: 1.5px solid #38bdf8;
}

.btn-card-share:hover { background: #38bdf8; color: #0b121b; }

/* 디바이스 자동 감지 배너 */
.card-device-banner {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  transition: all 0.3s;
}

.card-device-banner.mode-pc {
  background: rgba(30, 58, 138, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #bae6fd;
}

.card-device-banner.mode-mobile {
  background: rgba(6, 78, 59, 0.4);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
}

/* 1클릭 대표 공유 액션 바 (카톡 & 인스타) */
.card-primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.btn-action-kakao, .btn-action-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  text-align: left;
}

.btn-action-kakao:hover, .btn-action-insta:hover {
  transform: translateY(-2px);
}

.btn-action-kakao {
  background: #fee500;
  color: #191919;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.25);
}

.btn-action-kakao:hover {
  background: #fada0a;
  box-shadow: 0 6px 18px rgba(254, 229, 0, 0.4);
}

.btn-action-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.3);
}

.btn-action-insta:hover {
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
  opacity: 0.95;
}

.action-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.action-text-wrap {
  display: flex;
  flex-direction: column;
}

.action-text-wrap strong {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.action-sub-pc {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 2px;
}

/* 보조 도구 툴바 */
.card-sub-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.btn-sub-tool {
  flex: 1;
  background: #182638;
  border: 1px solid #283e58;
  color: #e2e8f0;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-sub-tool:hover {
  background: #243850;
  border-color: #c5a059;
  color: #dfb76c;
}

.card-share-guide-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 4px;
}

.card-share-guide-box .guide-title {
  margin: 0 0 6px 0;
  font-size: 0.84rem;
  color: #dfb76c;
  font-weight: 800;
}

.card-share-guide-box .guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-share-guide-box .guide-steps li {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.card-share-guide-box .guide-steps code {
  background: #1e293b;
  color: #38bdf8;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.76rem;
}

.card-maker-toast {
  background: #c5a059;
  color: #0b121b;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 11px 16px;
  border-radius: 8px;
  text-align: center;
  margin-top: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  line-height: 1.4;
  transition: opacity 0.3s;
}

.card-tip-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* 홈 & 상세 페이지 문장 카드 트리거 버튼 */
.btn-make-quote-card, .btn-make-quote-card-sm {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #dfb76c;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-make-quote-card:hover, .btn-make-quote-card-sm:hover {
  background: #c5a059;
  color: #0b121b;
}

.quote-card-action {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

/* ========================================================
   [기능 3] 모바일 책 선물하기 모달 & 수령 화면 (.gift-*)
   ======================================================== */
.btn-detail-gift {
  background: linear-gradient(135deg, #243b55 0%, #141e30 100%);
  border: 1.5px solid #c5a059;
  color: #dfb76c;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-detail-gift:hover {
  background: #c5a059;
  color: #0b121b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
}

.gift-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 8, 14, 0.88);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gift-modal-window {
  background: #0f1825;
  border: 1.5px solid #2a3f5c;
  border-radius: 18px;
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.gift-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 26px 18px;
  background: #142132;
  border-bottom: 1px solid #23374e;
}

.gift-modal-badge {
  background: #c5a059;
  color: #0b121b;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}

.gift-title-group h3 {
  font-size: 1.35rem;
  color: #f8fafc;
  margin: 0 0 4px;
  font-weight: 800;
}

.gift-modal-sub {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
}

.gift-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.gift-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gift-target-book-summary {
  display: flex;
  gap: 16px;
  background: #152232;
  border: 1px solid #273b54;
  border-radius: 10px;
  padding: 14px;
}

.target-book-cover img {
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.target-book-meta h4 {
  font-size: 1.05rem;
  color: #f1f5f9;
  margin: 0 0 4px;
}

.target-book-meta p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 0 10px;
}

.target-book-price-row {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.target-book-price-row .price-val {
  color: #dfb76c;
  font-size: 1.1rem;
  font-weight: 800;
  margin-left: 6px;
}

.format-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.format-opt-box {
  background: #142030;
  border: 1.5px solid #283e58;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  position: relative;
  transition: all 0.2s;
}

.format-opt-box input { display: none; }

.format-opt-box.is-selected {
  border-color: #c5a059;
  background: #1b2a3f;
  box-shadow: 0 0 0 1px #c5a059;
}

.opt-content strong {
  display: block;
  color: #f8fafc;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.opt-content p {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0 0 8px;
}

.opt-price-tag {
  color: #dfb76c;
  font-weight: 800;
  font-size: 0.88rem;
}

.gift-label {
  display: block;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 8px;
}

.theme-choice-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-chip {
  background: #162436;
  border: 1px solid #283e58;
  color: #cbd5e1;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.theme-chip.is-active {
  background: #c5a059;
  border-color: #c5a059;
  color: #0b121b;
}

.gift-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gift-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gift-form-group label {
  font-size: 0.82rem;
  color: #94a3b8;
}

.gift-form-group input, .gift-textarea {
  background: #142132;
  border: 1px solid #283e58;
  border-radius: 8px;
  color: #f1f5f9;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
}

.msg-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.msg-presets-tip {
  font-size: 0.76rem;
  color: #c5a059;
}

.preset-buttons-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.preset-btn {
  background: #18283a;
  border: 1px solid #2c425e;
  color: #94a3b8;
  font-size: 0.76rem;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.preset-btn:hover {
  background: #253952;
  color: #ffffff;
}

.gift-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 26px;
  background: #142132;
  border-top: 1px solid #23374e;
}

/* 선물 수령 페이지 스타일 (.gift-claim-container) */
.gift-claim-container {
  max-width: 720px;
  margin: 30px auto 80px;
  padding: 0 20px;
}

.gift-envelope-card {
  background: #0f1825;
  border: 2px solid #c5a059;
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.gift-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c5a059;
  color: #0b121b;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.gift-card-header {
  margin-bottom: 24px;
}

.sender-tag {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.sender-tag strong { color: #dfb76c; }

.gift-main-title {
  font-family: 'KoPubWorldBatang', serif;
  font-size: 1.8rem;
  color: #f8fafc;
  margin: 0 0 12px;
}

.gift-format-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-ebook {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid #38bdf8;
}

.pill-paper {
  background: rgba(197, 160, 89, 0.15);
  color: #c5a059;
  border: 1px solid #c5a059;
}

.gift-message-box {
  background: linear-gradient(135deg, #182638 0%, #121c2a 100%);
  border: 1.5px solid #2e4460;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  position: relative;
}

.envelope-seal {
  font-size: 2rem;
  position: absolute;
  top: -16px;
  right: 24px;
}

.letter-text {
  font-family: 'KoPubWorldBatang', serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #f1f5f9;
  margin: 0 0 16px;
}

.letter-footer {
  text-align: right;
}

.letter-from {
  color: #dfb76c;
  font-weight: 700;
  font-size: 0.95rem;
}

.gift-book-preview-card {
  display: flex;
  gap: 20px;
  background: #142030;
  border: 1px solid #23374e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
}

.gift-cover-img {
  width: 100px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

.book-title {
  font-size: 1.25rem;
  color: #f8fafc;
  margin: 0 0 6px;
}

.book-author {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.book-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 12px;
}

.book-quote-pill {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid #34d399;
  color: #34d399;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  display: inline-block;
}

.gift-action-section {
  background: #131e2c;
  border: 1px solid #22344a;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.claim-icon-head {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.claim-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0 0 18px;
}

.claim-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-read-gift {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.paper-claimed-box {
  text-align: center;
  padding: 10px 0;
}

.claimed-badge {
  display: inline-block;
  background: #059669;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.paper-claimed-box h4 {
  font-size: 1.25rem;
  color: #f8fafc;
  margin: 0 0 12px;
}

.claimed-address-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

.shipping-notice {
  color: #34d399;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0;
}

.form-intro h3 {
  font-size: 1.2rem;
  color: #f8fafc;
  margin: 0 0 6px;
}

.form-intro p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0 0 16px;
}

.btn-find-post {
  background: #1e3046;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.gift-footer-card {
  text-align: center;
  border-top: 1px solid #1e2e42;
  padding-top: 18px;
  color: #94a3b8;
  font-size: 0.82rem;
}

.link-home {
  color: #c5a059;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .presc-top-grid { grid-template-columns: 1fr; }
  .card-maker-modal-body { grid-template-columns: 1fr; padding: 16px; }
  .card-primary-actions { grid-template-columns: 1fr; gap: 10px; }
  .card-sub-actions { flex-wrap: wrap; gap: 6px; }
  .btn-sub-tool { flex: 1 1 30%; font-size: 0.78rem; padding: 8px 6px; }
  .gift-grid-2 { grid-template-columns: 1fr; }
  .format-choice-grid { grid-template-columns: 1fr; }
  .gift-book-preview-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ========================================================
   교보문고 스타일 도서 상세 코너 (책소개·목차·책속으로·서평·저자·역자·서지정보)
   ======================================================== */
.detail-book-subtitle {
  font-size: 1.15rem;
  color: #c5a059;
  font-family: var(--font-serif);
  margin: -6px 0 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.translator-name {
  color: #c5a059;
  font-weight: 700;
}

.author-sep {
  margin: 0 6px;
  color: #64748b;
}

.ebook-badge-color {
  background: rgba(14, 165, 233, 0.15) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

/* 1. 교보문고 상단 퀵 서브네비게이션 (Sticky Quick Nav) */
.kyobo-subnav-sticky {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.kyobo-subnav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}
.kyobo-subnav-inner::-webkit-scrollbar { display: none; }

.kyobo-subnav-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.2s ease;
}

.kyobo-subnav-btn:hover {
  background: rgba(197, 160, 89, 0.2);
  color: #dfb76c;
  border-color: rgba(197, 160, 89, 0.4);
  transform: translateY(-1px);
}

/* 2. 교보문고 코너 공통 섹션 */
.kyobo-corner-section {
  padding: 32px 0;
  border-bottom: 1px solid #1e293b;
  scroll-margin-top: 130px;
}
.kyobo-corner-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kyobo-corner-header {
  margin-bottom: 22px;
}

.kyobo-corner-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #c5a059;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.kyobo-corner-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #f8fafc;
  margin: 0;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kyobo-corner-subtitle {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* 3. 책 소개 본문 */
.kyobo-intro-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #e2e8f0;
}
.kyobo-intro-body p {
  margin: 0 0 16px;
}

/* 4. 목차 리스트 그리드 */
.kyobo-toc-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kyobo-toc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #293548;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.kyobo-toc-card:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(197, 160, 89, 0.35);
  transform: translateX(4px);
}

.kyobo-toc-idx {
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 800;
  color: #c5a059;
  background: rgba(197, 160, 89, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  min-width: 32px;
  text-align: center;
}

.kyobo-toc-text {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
  color: #f1f5f9;
}

.kyobo-toc-page {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  background: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #1e293b;
}

/* 5. 책 속으로 스트림 */
.kyobo-quotes-stream {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kyobo-quote-item {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid #334155;
  border-left: 4px solid #c5a059;
  border-radius: 10px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.quote-mark-icon {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 3rem;
  line-height: 1;
  color: rgba(197, 160, 89, 0.12);
  font-family: var(--font-serif);
  pointer-events: none;
}

.quote-text-wrap {
  position: relative;
  z-index: 1;
}

.quote-para {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.9;
  color: #f1f5f9;
  margin: 0 0 14px;
}
.quote-para:last-child {
  margin-bottom: 0;
}

.quote-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

.quote-page-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c5a059;
  background: rgba(197, 160, 89, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.btn-make-quote-card-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid #c5a059;
  color: #dfb76c;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-make-quote-card-inline:hover {
  background: #c5a059;
  color: #0d1520;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

/* 6. 서평 본문 */
.kyobo-review-body {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #e2e8f0;
}
.kyobo-review-body p {
  margin: 0 0 16px;
}

/* 7. 저자 / 역자 프로필 카드 */
.kyobo-profile-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 26px;
}

.profile-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #293548;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 2px solid #c5a059;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 4px;
}

.profile-role-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #dfb76c;
}

.profile-bio-text {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #cbd5e1;
}
.profile-bio-text p {
  margin: 0 0 14px;
}
.profile-bio-text p:last-child {
  margin-bottom: 0;
}

/* 8. 서지 정보 스펙 테이블 */
.kyobo-specs-table-wrap {
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
}

.kyobo-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.kyobo-specs-table th,
.kyobo-specs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #243247;
  text-align: left;
  vertical-align: middle;
}
.kyobo-specs-table tr:last-child th,
.kyobo-specs-table tr:last-child td {
  border-bottom: none;
}

.kyobo-specs-table th {
  width: 15%;
  background: rgba(30, 41, 59, 0.7);
  color: #94a3b8;
  font-weight: 700;
  white-space: nowrap;
}

.kyobo-specs-table td {
  width: 35%;
  color: #e2e8f0;
}

.isbn-code {
  background: #0f172a;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #334155;
  font-family: monospace;
  color: #38bdf8;
  font-weight: 700;
}

@media (max-width: 768px) {
  .kyobo-subnav-sticky { top: 60px; padding: 6px 8px; }
  .kyobo-subnav-btn { font-size: 0.78rem; padding: 6px 10px; }
  .kyobo-corner-title { font-size: 1.25rem; }
  .kyobo-quote-item { padding: 18px 16px; }
  .kyobo-specs-table th, .kyobo-specs-table td { display: block; width: 100%; padding: 10px 14px; }
  .kyobo-specs-table th { background: rgba(30, 41, 59, 0.9); border-bottom: none; padding-bottom: 4px; }
  .kyobo-specs-table td { padding-top: 4px; }
}





