/* ==========================================================================
   Chans반찬배달 (Chans Banchan Delivery) - Pure Standard CSS
   Design System: Soban Modern Table
   ========================================================================== */

:root {
  --primary: #d12420;
  --primary-hover: #b01b17;
  --primary-light: #fdecea;
  --secondary: #496640;
  --secondary-light: #eef6ed;
  --tertiary: #a67c52;
  --tertiary-light: #fbf5ef;
  --bg-surface: #fbf9f8;
  --bg-stone: #f5f5f5;
  --bg-white: #ffffff;
  --text-dark: #1b1c1c;
  --text-muted: #666666;
  --text-light: #999999;
  --border-color: #e5e5e5;
  --border-light: #f0eded;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(51, 51, 51, 0.08);
  --container-max: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
}

.board-editor-shell {
  min-width: 0;
}

.board-editor-shell .note-editor.note-frame {
  overflow: hidden;
  border: 1px solid #d8dce3;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.board-editor-shell .note-toolbar {
  border-bottom: 1px solid #e6e8ec;
  background: #f8f9fb;
}

.board-editor-shell .note-editable {
  color: #252525;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.75;
}

.board-editor-shell .note-editable img {
  max-width: 100%;
  height: auto;
}

.board-editor-status {
  margin-bottom: 10px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #eef4ff;
  color: #2451a6;
  font-size: 13px;
}

.board-editor-status.is-error {
  background: #fff0f0;
  color: #b42318;
}

.board-editor-status.is-success {
  background: #edf9f0;
  color: #18753c;
}

.board-editor-help {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-surface);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid #eae8e7;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #1b1c1c;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #444444;
  padding: 27px 0;
  position: relative;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: #1b1c1c;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px 2px 0 0;
}

.mobile-menu-btn {
  display: none;
  font-size: 22px;
  color: #333333;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 440px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-banner.subpage-hero {
  min-height: 280px;
  text-align: center;
}

.hero-banner.subpage-hero::before {
  background: rgba(0, 0, 0, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

.subpage-hero .hero-content {
  text-align: center;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  word-break: keep-all;
}

.subpage-hero .hero-title {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: #e5e5e5;
  max-width: 620px;
  word-break: keep-all;
  font-weight: 400;
}

.subpage-hero .hero-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-wrapper {
  flex: 1;
  width: 100%;
}

.content-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 24px 64px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1b1c1c;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: #777777;
}

/* ==========================================================================
   Home Page: Notice & Gallery 2-Column Section
   ========================================================================== */
.home-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.home-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.home-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1b1c1c;
}

.more-link {
  font-size: 13px;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.more-link:hover {
  color: var(--primary);
}

/* Notice List in Home */
.notice-summary-list {
  list-style: none;
}

.notice-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border-light);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.notice-summary-item:last-child {
  border-bottom: none;
}

.notice-summary-item:hover .notice-item-title {
  color: var(--primary);
}

.notice-item-title {
  font-size: 14.5px;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 12px;
}

.notice-item-date {
  font-size: 13px;
  color: #999999;
  flex-shrink: 0;
}

/* Gallery Preview in Home */
.home-gallery-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: calc(100% - 50px);
}

.gallery-preview-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-stone);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-preview-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Today's Menu Section (오늘의 식단표)
   ========================================================================== */
.today-menu-section {
  padding-top: 16px;
}

.menu-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.menu-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-stone);
}

.menu-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-image-wrap img {
  transform: scale(1.04);
}

.menu-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}

.badge-red {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-green {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.badge-dark {
  background-color: #f0eded;
  color: #333333;
}

.badge-wood {
  background-color: var(--tertiary-light);
  color: var(--tertiary);
}

.menu-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 13.5px;
  color: #666666;
  line-height: 1.55;
  word-break: keep-all;
}

.btn-center-wrap {
  text-align: center;
  margin-top: 16px;
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(209, 36, 32, 0.2);
}

/* ==========================================================================
   Weekly Menu Page (주간 식단표)
   ========================================================================== */
.weekly-days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.day-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.day-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.day-name {
  font-size: 16px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 6px;
}

.day-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.day-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-menu-main {
  font-size: 15px;
  font-weight: 700;
  color: #1b1c1c;
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border-light);
}

.day-menu-item {
  font-size: 13.5px;
  color: #555555;
}

/* Origin Section */
.weekly-menu-header {
  margin-bottom: 28px;
}

.weekly-menu-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.weekly-menu-navigation a {
  min-width: 88px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-white);
  color: #555555;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.weekly-menu-navigation a:hover,
.weekly-menu-navigation a:focus-visible,
.weekly-menu-navigation .is-current {
  border-color: var(--primary);
  color: var(--primary);
}

.day-date {
  display: block;
  margin-bottom: 12px;
  color: #888888;
  font-size: 12px;
}

.day-meal-group + .day-meal-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
}

.day-meal-note {
  margin-top: 12px;
  color: #777777;
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

.day-menu-empty {
  margin: 28px 0 12px;
  color: #999999;
  font-size: 13px;
  line-height: 1.6;
}

.weekly-menu-message {
  display: flex;
  min-height: 180px;
  margin-bottom: 64px;
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  color: #666666;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.weekly-menu-message.is-error {
  border-color: #efc0be;
  background: #fff8f7;
}

.weekly-menu-message strong {
  color: #1b1c1c;
  font-size: 17px;
}

.origin-section {
  padding-top: 24px;
  text-align: center;
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.origin-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.origin-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.origin-item-name {
  font-size: 14px;
  color: #666666;
}

.origin-country {
  font-size: 16px;
  font-weight: 700;
  color: #1b1c1c;
}

/* ==========================================================================
   Gallery Page (반찬 갤러리)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.gallery-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-stone);
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.05);
}

.gallery-card-caption {
  padding: 16px;
  text-align: center;
  font-size: 15.5px;
  font-weight: 600;
  color: #1b1c1c;
}

.gallery-board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.gallery-board-count {
  color: #777777;
  font-size: 14px;
  white-space: nowrap;
}

.gallery-board-count strong {
  color: #1b1c1c;
}

.gallery-board-actions,
.gallery-board-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-board-search input {
  width: min(280px, 42vw);
  height: 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  padding: 0 14px;
  color: #333333;
  font: inherit;
  font-size: 13.5px;
}

.gallery-board-search input:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary-light);
  outline-offset: 1px;
}

.gallery-board-search button,
.gallery-board-write {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.gallery-board-write {
  text-decoration: none;
}

.gallery-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-card-img-wrap {
  position: relative;
  display: block;
}

.gallery-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 75% 20%, rgba(209, 36, 32, 0.13), transparent 35%),
    linear-gradient(145deg, #faf3ef, #eee8e3);
  color: rgba(209, 36, 32, 0.42);
}

.gallery-card-placeholder span {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gallery-card-notice,
.gallery-card-secret {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.gallery-card-notice {
  left: 12px;
  background: var(--primary);
}

.gallery-card-secret {
  right: 12px;
  background: rgba(27, 28, 28, 0.78);
}

.gallery-board-empty {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  color: #777777;
  text-align: center;
}

.gallery-board-empty strong {
  color: #1b1c1c;
  font-size: 17px;
}

.gallery-board-empty p {
  font-size: 13.5px;
}

.gallery-board-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.page-btn.disabled {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 640px) {
  .gallery-board-toolbar,
  .gallery-board-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-board-toolbar {
    margin-bottom: 22px;
  }

  .gallery-board-count {
    text-align: center;
  }

  .gallery-board-search input {
    width: 100%;
    min-width: 0;
  }

  .gallery-board-write {
    width: 100%;
  }
}


/* Gallery detail and editor */
.gallery-detail-container,
.gallery-editor-container { max-width: 980px; }
.gallery-detail-back { display:inline-flex;align-items:center;color:var(--primary);font-size:13.5px;font-weight:700;text-decoration:none; }
.gallery-detail-back:hover { text-decoration:underline; }
.gallery-detail-article { overflow:hidden;margin-top:18px;border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-white);box-shadow:var(--shadow-sm); }
.gallery-detail-header { padding:36px clamp(22px,6vw,56px) 30px;border-bottom:1px solid var(--border-light);background:linear-gradient(145deg,#fff,#faf7f5); }
.gallery-detail-flags,.gallery-detail-meta,.gallery-detail-contact,.gallery-detail-actions,.gallery-detail-action-group { display:flex;align-items:center;flex-wrap:wrap; }
.gallery-detail-flags { gap:7px; }
.gallery-detail-flags span { border:1px solid var(--border-color);border-radius:999px;padding:5px 10px;color:#666;font-size:11px;font-weight:700; }
.gallery-detail-flags .is-notice { border-color:var(--primary);background:var(--primary);color:#fff; }
.gallery-detail-header h2 { margin:16px 0 0;color:#1b1c1c;font-size:clamp(26px,4vw,38px);line-height:1.35;letter-spacing:-.04em;word-break:keep-all; }
.gallery-detail-meta { gap:8px 18px;margin-top:16px;color:#888;font-size:12.5px; }
.gallery-detail-meta span + span { position:relative; }
.gallery-detail-meta span + span::before { content:'';position:absolute;top:50%;left:-10px;width:2px;height:2px;border-radius:50%;background:#bbb; }
.gallery-detail-contact { gap:8px 16px;margin-top:14px; }
.gallery-detail-contact a { color:#666;font-size:12.5px;text-decoration:none; }
.gallery-detail-body { min-height:320px;padding:clamp(28px,6vw,58px);color:#444;font-size:15px;line-height:1.85;overflow-wrap:anywhere; }
.gallery-detail-body > *:first-child { margin-top:0; }
.gallery-detail-body > *:last-child { margin-bottom:0; }
.gallery-detail-body img { display:block;max-width:100%;height:auto;margin:24px auto;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm); }
.gallery-detail-body p { margin:0 0 18px; }
.gallery-detail-empty { display:grid;min-height:200px;place-items:center;color:#999;text-align:center; }
.gallery-detail-actions { justify-content:space-between;gap:12px;margin-top:20px; }
.gallery-detail-action-group { gap:8px; }
.gallery-detail-action { display:inline-flex;min-height:40px;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-white);color:#444;padding:0 15px;font-size:13px;font-weight:700;text-decoration:none; }
.gallery-detail-action:hover { border-color:var(--primary);color:var(--primary); }
.gallery-detail-action.is-primary { border-color:var(--primary);background:var(--primary);color:#fff; }
.gallery-detail-action.is-danger { border-color:#efc0be;color:#b93838; }
.gallery-detail-comments { margin-top:36px; }
.gallery-editor-heading { margin:30px 0 20px;text-align:center; }
.gallery-editor-heading > span { color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.16em; }
.gallery-editor-heading h2 { margin:9px 0 0;color:#1b1c1c;font-size:clamp(25px,4vw,34px);letter-spacing:-.04em; }
.gallery-editor-heading p { max-width:620px;margin:10px auto 0;color:#777;font-size:13.5px;line-height:1.7;word-break:keep-all; }
.gallery-editor-form { display:grid;gap:22px;margin-top:0!important;border:1px solid var(--border-color)!important;border-radius:var(--radius-lg)!important;background:var(--bg-white)!important;padding:clamp(22px,5vw,42px)!important;box-shadow:var(--shadow-sm)!important; }
.gallery-editor-form label { color:#333;font-size:13.5px;font-weight:700; }
.gallery-editor-form input:not([type='checkbox']):not([type='hidden']),.gallery-editor-form select,.gallery-editor-form textarea { display:block;width:100%;border:1px solid var(--border-color)!important;border-radius:var(--radius-md)!important;background:#fff!important;color:#333!important;font:inherit; }
.gallery-editor-form input:not([type='checkbox']):not([type='hidden']),.gallery-editor-form select { min-height:44px;margin-top:7px;padding:0 13px!important; }
.gallery-editor-form textarea { min-height:280px;margin-top:7px;padding:14px!important;line-height:1.7;resize:vertical; }
.gallery-editor-form input:focus,.gallery-editor-form select:focus,.gallery-editor-form textarea:focus { border-color:var(--primary)!important;outline:2px solid var(--primary-light);outline-offset:1px; }
.gallery-editor-form small,.gallery-editor-form label + p { display:block;margin-top:6px;color:#888;font-size:11.5px;font-weight:400;line-height:1.55; }
.gallery-editor-form .simple-form-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
.gallery-editor-form .simple-form-error { border:1px solid #efc0be;border-radius:var(--radius-md);background:#fff8f7;padding:13px;color:#b93838;font-size:13px; }
.gallery-form-actions { display:flex!important;justify-content:flex-end!important;gap:8px!important; }
.gallery-form-actions a,.gallery-form-actions button { display:inline-flex;min-height:42px;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:var(--radius-md)!important;padding:0 17px!important;font-size:13.5px;font-weight:700;text-decoration:none; }
.gallery-form-actions a { background:#fff;color:#555; }
.gallery-form-actions button { border-color:var(--primary);background:var(--primary)!important;color:#fff!important;cursor:pointer; }
@media (max-width:640px) {
  .gallery-detail-actions { align-items:stretch;flex-direction:column; }
  .gallery-detail-action-group { width:100%; }
  .gallery-detail-action { flex:1; }
  .gallery-detail-header,.gallery-detail-body { padding-right:22px;padding-left:22px; }
  .gallery-editor-form .simple-form-grid { grid-template-columns:1fr; }
  .gallery-form-actions { align-items:stretch;flex-direction:column-reverse; }
  .gallery-form-actions a,.gallery-form-actions button { width:100%; }
}

/* Pagination Component */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  font-size: 14px;
  font-weight: 500;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   Notice / Customer Center (공지사항)
   ========================================================================== */
.notice-table-container {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.notice-table th {
  background-color: #faf9f8;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  border-bottom: 1px solid var(--border-color);
}

.notice-table td {
  padding: 18px 20px;
  font-size: 14.5px;
  color: #333333;
  border-bottom: 1px solid var(--border-light);
}

.notice-table tr {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.notice-table tbody tr:hover {
  background-color: #fdfaf9;
}

.notice-table tbody tr:hover td.col-title {
  color: var(--primary);
  font-weight: 600;
}

.notice-table td a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.notice-table .col-title a {
  font-weight: 500;
}

.notice-board-badge,
.notice-board-reply,
.notice-detail-flags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-right: 7px;
  border-radius: 999px;
  background: #f1eeeb;
  padding: 3px 8px;
  color: #746b63;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.notice-board-badge,
.notice-detail-flags .is-notice {
  background: rgba(209, 36, 32, .1);
  color: var(--primary);
}

.notice-board-result {
  margin: 0 0 14px;
  color: #777;
  font-size: 14px;
}

.notice-board-result a {
  margin-left: 6px;
  color: var(--primary);
  font-weight: 700;
}

.notice-board-empty td {
  padding: 64px 20px;
  text-align: center;
  color: #888;
}

.notice-board-empty:hover {
  background: transparent !important;
}

.notice-table th.col-no, .notice-table td.col-no {
  width: 80px;
  text-align: center;
  color: #888888;
}

.notice-table th.col-date, .notice-table td.col-date {
  width: 140px;
  text-align: center;
  color: #777777;
}

.notice-table th.col-views, .notice-table td.col-views {
  width: 100px;
  text-align: center;
  color: #777777;
}

/* Notice Detail View */
.notice-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.notice-detail-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.notice-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 12px;
}

.notice-detail-meta {
  font-size: 13.5px;
  color: #777777;
  display: flex;
  gap: 16px;
}

.notice-detail-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.notice-detail-flags span {
  margin-right: 0;
}

.notice-detail-body {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}

.notice-detail-body img,
.notice-detail-body video,
.notice-detail-body iframe {
  max-width: 100%;
}

.notice-detail-body img,
.notice-detail-body video {
  height: auto;
}

.notice-detail-empty {
  margin: 0;
  padding: 44px 0;
  color: #888;
  text-align: center;
}

.notice-callout-box {
  background-color: #faf9f8;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}

.notice-callout-title {
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 10px;
}

.notice-callout-list {
  list-style: none;
  padding-left: 0;
}

.notice-callout-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  color: #444444;
}

.notice-callout-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.btn-solid-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}

.btn-solid-primary:hover {
  background-color: var(--primary-hover);
}

.btn-solid-primary:active {
  transform: scale(0.98);
}

.notice-board-write-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.notice-detail-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.notice-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  padding: 10px 22px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
}

.notice-action-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.notice-action-secondary.is-danger {
  color: #a32723;
}

.notice-board-comments {
  margin-top: 42px;
}

.notice-board-pagination .disabled {
  cursor: default;
  opacity: .45;
  pointer-events: none;
}

/* ==========================================================================
   Terms & Privacy Policy Pages (이용약관 / 개인정보처리방침)
   ========================================================================== */
.policy-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.policy-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.policy-title {
  font-size: 22px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 6px;
}

.policy-date {
  font-size: 13.5px;
  color: #888888;
}

.policy-content {
  font-size: 14.5px;
  line-height: 1.8;
  color: #444444;
}

.policy-article {
  margin-bottom: 24px;
}

.policy-article-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 8px;
}

.policy-list {
  padding-left: 20px;
  margin-top: 8px;
}

.policy-list li {
  margin-bottom: 6px;
}

/* ==========================================================================
   About Us Page (회사소개)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.about-feature-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.about-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 8px;
}

.about-feature-desc {
  font-size: 13.5px;
  color: #666666;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-wrapper {
  background-color: #ffffff;
  border-top: 1px solid #eae8e7;
  margin-top: auto;
}

.footer-nav-bar {
  border-bottom: 1px solid #f0eded;
}

.footer-nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 13.5px;
  color: #555555;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--primary);
}

.footer-nav-link.highlight {
  color: var(--primary);
  font-weight: 700;
}

.footer-nav-divider {
  color: #e0e0e0;
  font-size: 12px;
}

.footer-main-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 24px 40px 24px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-logo-badge {
  background-color: #dcd9d9;
  color: #666666;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
}

.footer-logo-title-sub {
  font-size: 11px;
  color: #777777;
}

.footer-logo-title-main {
  font-size: 18px;
  font-weight: 800;
  color: #333333;
  letter-spacing: -0.5px;
}

.footer-info-area {
  flex: 1;
  font-size: 12px;
  color: #777777;
  line-height: 1.8;
}

.footer-info-line {
  margin-bottom: 2px;
}

.footer-info-line span {
  margin-right: 8px;
}

.footer-copyright {
  margin-top: 8px;
  color: #999999;
  font-size: 11.5px;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Interactive Dish Modal (Lightbox)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: slideUp 0.25s ease-out;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-img-wrap {
  width: 100%;
  height: 280px;
  background-color: var(--bg-stone);
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 24px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1b1c1c;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal-info-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  font-size: 13.5px;
}

.modal-info-label {
  color: #888888;
  width: 70px;
}

.modal-info-value {
  color: #222222;
  font-weight: 500;
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #1b1c1c;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
  .home-grid-2col {
    grid-template-columns: 1fr;
  }
  
  .menu-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .weekly-days-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .origin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-container {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-banner {
    min-height: 340px;
  }

  .weekly-days-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .origin-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 13.5px;
    padding: 20px 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}


/* Static HTML conversion */
.logo-area { text-decoration: none; color: inherit; }
[data-href], [data-dish-id], [data-toast] { cursor: pointer; }

/* Chans PHP theme integration */
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 1000; transform: translateY(-160%); background: #fff; padding: .65rem 1rem; color: #111; }
.skip-link:focus { transform: translateY(0); }
.chans-main-nav { min-width: 0; }
.nav-menu-item { position: relative; }
.nav-submenu { position: absolute; top: calc(100% - 1px); left: 50%; display: none; min-width: 11rem; transform: translateX(-50%); border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fff; padding: .45rem; box-shadow: var(--shadow-md); }
.nav-submenu a { display: block; border-radius: var(--radius-sm); padding: .7rem .85rem; color: #444; font-size: .82rem; white-space: nowrap; }
.nav-submenu a:hover, .nav-submenu a:focus { background: var(--primary-light); color: var(--primary); }
.nav-menu-item:hover .nav-submenu, .nav-menu-item:focus-within .nav-submenu { display: block; }
.chans-home-empty { padding: 2.5rem 1rem; color: var(--text-muted); text-align: center; }
.notice-summary-list > li { list-style: none; }
.footer-info-area p { margin: 0; }
.main-wrapper .menu-card { color: inherit; }
.chans-mobile-menu { display: none; position: relative; }
.chans-mobile-menu summary { display: grid; width: 42px; height: 42px; place-items: center; list-style: none; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fff; color: #333; cursor: pointer; font-size: 1rem; }
.chans-mobile-menu summary::-webkit-details-marker { display: none; }
.chans-mobile-menu summary:focus-visible { outline: 3px solid rgba(209, 36, 32, .2); outline-offset: 2px; }
.chans-mobile-navigation { position: fixed; inset: 0; z-index: 10050; visibility: hidden; pointer-events: none; transition: visibility 0s linear .46s; }
.chans-mobile-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(24, 20, 18, .58); opacity: 0; cursor: default; backdrop-filter: blur(4px); transition: opacity .4s ease; }
.chans-mobile-drawer { position: absolute; inset: 0 0 0 auto; display: flex; width: min(84vw, 340px); height: 100%; height: 100dvh; flex-direction: column; overflow: hidden; border-left: 1px solid #e7e2de; border-radius: 0; background: #fbfaf8; box-shadow: -24px 0 60px rgba(20, 16, 14, .2); transform: translateX(102%); transition: transform .46s cubic-bezier(.22, .8, .28, 1); }
.chans-mobile-menu[open] .chans-mobile-navigation { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.chans-mobile-menu[open] .chans-mobile-backdrop { opacity: 1; }
.chans-mobile-menu[open] .chans-mobile-drawer { transform: translateX(0); }
.chans-mobile-drawer-header { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 16px; margin: 0 24px; border-bottom: 1px solid #e8e3df; }
.chans-mobile-drawer-header .logo-area { min-width: 0; gap: 9px; }
.chans-mobile-drawer-header .logo-text { display: inline; overflow: hidden; color: #222; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.chans-mobile-close { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #7c7570; cursor: pointer; font-size: 1.25rem; }
.chans-mobile-close:hover, .chans-mobile-close:focus-visible { background: #f1ece8; color: var(--primary); outline: none; }
.chans-mobile-drawer-nav { display: grid; align-content: start; gap: 3px; overflow-y: auto; padding: 26px 20px 36px; overscroll-behavior: contain; }
.chans-mobile-drawer-item > a, .chans-mobile-drawer-children a { display: flex; min-height: 52px; align-items: center; gap: 15px; border-radius: 10px; padding: 10px 14px; color: #302d2b; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease; }
.chans-mobile-drawer-item > a > i { width: 20px; color: #a7a09b; text-align: center; font-size: 17px; }
.chans-mobile-drawer-item > a:hover, .chans-mobile-drawer-item > a:focus-visible, .chans-mobile-drawer-item > a.is-active { background: #f6e9e8; color: var(--primary); outline: none; }
.chans-mobile-drawer-item > a:hover > i, .chans-mobile-drawer-item > a:focus-visible > i, .chans-mobile-drawer-item > a.is-active > i { color: var(--primary); }
.chans-mobile-drawer-children { display: grid; margin: 0 0 5px 34px; border-left: 1px solid #e5ded9; padding-left: 8px; }
.chans-mobile-drawer-children a { min-height: 40px; gap: 9px; padding: 7px 12px; color: #77706b; font-size: 13px; font-weight: 600; }
.chans-mobile-drawer-children a i { font-size: 9px; }
.chans-mobile-drawer-children a:hover, .chans-mobile-drawer-children a:focus-visible, .chans-mobile-drawer-children a.is-active { background: #f5efeb; color: var(--primary); outline: none; }
.has-mobile-menu-open { overflow: hidden; overscroll-behavior: none; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; clip-path: inset(50%)!important; }

@media (max-width: 760px) {
  .header-container { height: auto; min-height: 64px; gap: 1rem; padding-block: .35rem; }
  .logo-area { flex: 0 0 auto; }
  .logo-text { display: none; }
  .chans-main-nav { display: none; }
  .chans-mobile-menu { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .chans-mobile-backdrop, .chans-mobile-drawer { transition: none; }
}


/* ==========================================================================
   Customer Center
   ========================================================================== */
.customer-page {
  background: #f8f7f4;
}

.customer-hero {
  min-height: 360px;
  position: relative;
  background-position: center 43%;
}

.customer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 19, 16, .82), rgba(23, 19, 16, .38));
}

.customer-hero .hero-content {
  position: relative;
  z-index: 1;
}

.customer-hero-kicker,
.customer-inquiry-heading > span {
  display: block;
  margin-bottom: 12px;
  color: #f3c8a1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.customer-container {
  padding-top: 0;
  padding-bottom: 100px;
}

.customer-shortcuts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -48px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(50, 40, 30, .13);
}

.customer-shortcuts a {
  position: relative;
  display: grid;
  min-height: 145px;
  align-content: center;
  gap: 6px;
  padding: 28px 32px;
  border-right: 1px solid #ece7e1;
  color: #231f1b;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.customer-shortcuts a:last-child {
  border-right: 0;
}

.customer-shortcuts a:hover,
.customer-shortcuts a:focus {
  z-index: 1;
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.customer-shortcut-number {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.customer-shortcuts a:hover .customer-shortcut-number,
.customer-shortcuts a:focus .customer-shortcut-number,
.customer-shortcuts a:hover small,
.customer-shortcuts a:focus small {
  color: rgba(255,255,255,.78);
}

.customer-shortcuts strong {
  font-size: 20px;
  letter-spacing: -.03em;
}

.customer-shortcuts small {
  color: #817970;
  font-size: 13px;
}

.customer-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  padding-top: 72px;
}

.customer-panel {
  min-width: 0;
  border-radius: 18px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 8px 28px rgba(50, 40, 30, .07);
}

.customer-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.customer-panel-heading span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.customer-panel-heading h2 {
  margin: 5px 0 0;
  color: #26211d;
  font-size: 26px;
  letter-spacing: -.04em;
}

.customer-panel-heading > a {
  color: #776f67;
  font-size: 12px;
  white-space: nowrap;
}

.customer-faq-list {
  border-top: 2px solid #29231f;
}

.customer-faq-list details {
  border-bottom: 1px solid #ece7e1;
}

.customer-faq-list summary {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 2px;
  color: #37312c;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.customer-faq-list summary::-webkit-details-marker {
  display: none;
}

.customer-question-mark {
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 18px;
}

.customer-faq-toggle {
  position: relative;
  width: 15px;
  height: 15px;
}

.customer-faq-toggle::before,
.customer-faq-toggle::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 11px;
  height: 1px;
  background: #867d74;
  transition: transform .2s ease;
}

.customer-faq-toggle::after {
  transform: rotate(90deg);
}

.customer-faq-list details[open] .customer-faq-toggle::after {
  transform: rotate(0);
}

.customer-faq-answer {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 2px 2px 22px;
  color: #706860;
  font-size: 13px;
  line-height: 1.8;
}

.customer-faq-answer > span {
  color: #9b734f;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.customer-faq-answer p {
  margin: 0;
}

.customer-notice-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid #29231f;
}

.customer-notice-list li {
  list-style: none;
  border-bottom: 1px solid #ece7e1;
}

.customer-notice-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  color: #37312c;
}

.customer-notice-badge {
  border-radius: 999px;
  background: #fce9e7;
  padding: 5px 8px;
  color: var(--primary) !important;
  font-size: 10px !important;
  letter-spacing: 0 !important;
}

.customer-notice-title {
  overflow: hidden;
  color: #37312c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-notice-list time {
  color: #958d85;
  font-size: 11px;
}

.customer-help-box {
  margin-top: 24px;
  border-radius: 14px;
  background: #f2eee9;
  padding: 20px 22px;
}

.customer-help-box strong {
  color: #3e3731;
  font-size: 14px;
}

.customer-help-box p {
  margin: 8px 0 0;
  color: #7a7169;
  font-size: 12px;
  line-height: 1.7;
}

.customer-empty {
  display: grid;
  min-height: 190px;
  place-items: center;
  margin: 0;
  border-top: 2px solid #29231f;
  color: #8a8179;
  font-size: 13px;
  text-align: center;
}

.customer-empty.is-error {
  color: #a33c36;
}

.customer-inquiry-section {
  margin-top: 72px;
  border-radius: 22px;
  background: #fff;
  padding: 48px clamp(24px, 5vw, 64px);
  box-shadow: 0 12px 36px rgba(50, 40, 30, .08);
}

.customer-inquiry-heading {
  margin-bottom: 34px;
  text-align: center;
}

.customer-inquiry-heading > span {
  color: var(--primary);
}

.customer-inquiry-heading h2 {
  margin: 0;
  color: #28221e;
  font-size: 34px;
  letter-spacing: -.05em;
}

.customer-inquiry-heading p {
  margin: 12px 0 0;
  color: #837a72;
  font-size: 14px;
}

.customer-form-message {
  margin: 0 0 24px;
  border: 1px solid;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 13px;
}

.customer-form-message.is-success {
  border-color: #a8d8ba;
  background: #eef9f2;
  color: #276a42;
}

.customer-form-message.is-error {
  border-color: #e6b7b2;
  background: #fff3f1;
  color: #a33c36;
}

.customer-inquiry-unavailable {
  border: 1px dashed #d6cec6;
  border-radius: 16px;
  background: #faf8f5;
  padding: 52px 24px;
  text-align: center;
}

.customer-inquiry-unavailable strong {
  color: #3b342e;
  font-size: 18px;
}

.customer-inquiry-unavailable p {
  margin: 10px 0 0;
  color: #80776f;
  font-size: 13px;
  line-height: 1.7;
}

.customer-inquiry-unavailable code {
  border-radius: 4px;
  background: #eee8e2;
  padding: 2px 5px;
}

.customer-inquiry-unavailable a {
  display: inline-flex;
  margin-top: 22px;
  border-radius: 8px;
  background: var(--primary);
  padding: 12px 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.customer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

.customer-field {
  display: grid;
  gap: 9px;
}

.customer-field.is-full {
  grid-column: 1 / -1;
  margin-bottom: 22px;
}

.customer-field label {
  color: #49413a;
  font-size: 13px;
  font-weight: 800;
}

.customer-field label em {
  color: var(--primary);
  font-style: normal;
}

.customer-field input,
.customer-field select,
.customer-field textarea {
  width: 100%;
  border: 1px solid #ddd6cf;
  border-radius: 9px;
  background: #fff;
  color: #29231f;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.customer-field input,
.customer-field select {
  height: 50px;
  padding: 0 14px;
}

.customer-field textarea {
  min-height: 190px;
  padding: 14px;
  line-height: 1.7;
  resize: vertical;
}

.customer-field input:focus,
.customer-field select:focus,
.customer-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(209, 36, 32, .09);
}

.customer-field input::placeholder,
.customer-field textarea::placeholder {
  color: #b0a8a0;
}

.customer-password-field {
  max-width: calc(50% - 13px);
  margin-top: 22px;
}

.customer-password-field small,
.customer-contact-hint {
  color: #938a82;
  font-size: 11px;
}

.customer-contact-hint {
  margin: 12px 0 0;
}

.customer-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  border-radius: 10px;
  background: #f7f4f1;
  padding: 16px 18px;
  color: #746b63;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.6;
}

.customer-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.customer-consent strong {
  display: block;
  color: #4c443d;
  font-size: 13px;
}

.customer-form-actions {
  margin-top: 30px;
  text-align: center;
}

.customer-form-actions button {
  min-width: 210px;
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  padding: 15px 28px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(209, 36, 32, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.customer-form-actions button:hover,
.customer-form-actions button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(209, 36, 32, .28);
}

@media (max-width: 900px) {
  .customer-information-grid {
    grid-template-columns: 1fr;
  }

  .customer-shortcuts a {
    padding-inline: 22px;
  }
}

@media (max-width: 640px) {
  .customer-hero {
    min-height: 300px;
  }

  .customer-container {
    padding-bottom: 64px;
  }

  .customer-shortcuts {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .customer-shortcuts a {
    min-height: 105px;
    border-right: 0;
    border-bottom: 1px solid #ece7e1;
  }

  .customer-shortcuts a:last-child {
    border-bottom: 0;
  }

  .customer-information-grid {
    gap: 18px;
    padding-top: 48px;
  }

  .customer-panel {
    padding: 26px 20px;
  }

  .customer-panel-heading h2 {
    font-size: 23px;
  }

  .customer-inquiry-section {
    margin-top: 48px;
    padding: 36px 20px;
  }

  .customer-inquiry-heading h2 {
    font-size: 29px;
  }

  .customer-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .customer-field.is-full {
    grid-column: auto;
    margin-bottom: 0;
  }

  .customer-password-field {
    max-width: none;
    margin-top: 0;
  }

  .customer-notice-list a {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .customer-notice-list time {
    display: none;
  }
}

@media (max-width: 640px) {
  .notice-board-page .content-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .notice-table th,
  .notice-table td {
    padding: 14px 10px;
  }

  .notice-table th.col-no,
  .notice-table td.col-no {
    width: 54px;
  }

  .notice-table th.col-date,
  .notice-table td.col-date {
    width: 92px;
  }

  .notice-table .col-views {
    display: none;
  }

  .notice-detail-card {
    padding: 28px 20px;
  }

  .notice-detail-title {
    font-size: 21px;
  }

  .notice-detail-actions > a {
    flex: 1 1 auto;
  }
}
