/* =============================================================
   고늘스토어 컴포넌트 스타일 (Dark Editorial)
   -------------------------------------------------------------
   - 디자인 토큰은 css/tokens.css 에서만 정의. 여기선 토큰만 참조.
   - 컴포넌트 = partials/ 의 화면 조각과 1:1 대응(클래스명 일치).
     디자인 변경 시: 토큰(tokens.css) → 해당 컴포넌트 블록만 수정.
   - 공유 chrome(공지바/네비/푸터)은 전 페이지 다크.
     상세/404 본문은 .site-main(라이트 패널)로 가독성 유지.
   ============================================================= */

/* ---- Base ------------------------------------------------- */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--on-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--accent); color: var(--bg); }

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

.gns-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Layout: 페이지 본문 래퍼 ----------------------------- */
/* 기본: 라이트 패널(상세/404 가독성). 홈은 --flush 로 옵트아웃 */
.site-main {
  display: block;
  min-height: 40vh;
  background: var(--surface-light);
  color: var(--ink);
}
.site-main--flush {
  background: transparent;
  color: var(--on-dark);
}

/* 라이트 패널 위 Bulma 텍스트 가독성 보정 */
.site-main:not(.site-main--flush) .title { color: var(--ink); }
.site-main:not(.site-main--flush) .subtitle { color: var(--ink-soft); }

/* ---- 섹션 공통 -------------------------------------------- */
.section {
  padding-block: var(--space-section);
}
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* 홈: 섹션 세로 간격을 좁게(토큰만 재정의 → 홈 내 모든 .section 에 반영) */
.site-main--home { --space-section: clamp(1rem, 2.2vw, 1.75rem); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.section-head__title {
  margin: 0.5rem 0 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  color: var(--on-dark);
}
/* 제목 앞 카테고리 아이콘: 카드와 동일한 그린 틴트 타일에 원본 아이콘 */
.section-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  margin-right: 0.5rem;
  vertical-align: -0.34em;     /* 텍스트 베이스라인에 맞춰 자연스럽게 */
  border-radius: 0.42em;
  background: #eef9f1;
}
.section-head__icon img { width: 66%; height: 66%; object-fit: contain; }
.section-head__desc {
  margin-top: 0.75rem;
  color: var(--on-dark-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.section-head__sub {
  margin-top: 0.75rem;
  color: var(--on-dark-soft);
  font-size: var(--fs-lead);
}

/* 섹션 하단 '전체보기' 링크(상품 그리드 아래 중앙) */
.section-more { margin-top: 2.25rem; text-align: center; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---- 버튼 ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid  { background: var(--btn-bg); color: var(--btn-ink); }
.btn--solid:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn--outline { background: transparent; color: var(--on-dark); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-strong); background: rgba(3, 199, 90, 0.06); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.82rem; }

/* 스토어 링크 버튼 — 제품 상세의 브랜드 틴트 칩(.pd-store-btn)과 동일한 톤(아이콘+몰명,
   몰별 브랜드 컬러)을 헤더·히어로·안내 CTA 에서 공용으로 쓰되, 알약(타원) 형태는 유지. */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn span { white-space: nowrap; }
.store-btn__ico { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; flex: 0 0 auto; }
.store-btn--naver   { background: rgba(3, 199, 90, 0.08);  border-color: rgba(3, 199, 90, 0.32);  color: #02a94d; }
.store-btn--coupang { background: rgba(216, 46, 30, 0.07); border-color: rgba(216, 46, 30, 0.28); color: #c8281a; }
.store-btn--naver:hover   { box-shadow: 0 8px 20px rgba(3, 199, 90, 0.22); }
.store-btn--coupang:hover { box-shadow: 0 8px 20px rgba(216, 46, 30, 0.20); }
/* 헤더 네비 등 좁은 자리용 소형 */
.store-btn--sm { padding: 0.5rem 1rem; font-size: 0.82rem; gap: 0.4rem; }
.store-btn--sm .store-btn__ico { width: 18px; height: 18px; }

/* 라이트 패널(상세/404)용 다크 버튼 — 기존 Bulma .is-ink 유지 */
.button.is-ink {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
}
.button.is-ink:hover,
.button.is-ink:focus { background-color: #000; border-color: #000; color: #fff; }

/* ---- 상단 공지 바 ----------------------------------------- */
.topbar {
  background: #f5f6f7;
  color: var(--on-dark-soft);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
/* 닫기 버튼과 겹치지 않도록 양옆 여백 확보, 문구는 중앙 유지 */
.topbar__inner { position: relative; padding: 0.55rem 2.5rem; }
.topbar a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.topbar__close {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.topbar__close:hover,
.topbar__close:focus-visible { opacity: 1; background: rgba(0, 0, 0, 0.06); }

/* ---- 네비게이션 ------------------------------------------- */
.gns-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

/* ---- 상단 줄: 브랜드 + 검색창 + 스토어 ---------------------- */
.gns-navbar__top-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}
.gns-navbar__brand {
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--on-dark);
  white-space: nowrap;
}

/* ---- 검색창 ------------------------------------------------ */
.gns-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: 480px;
  margin-inline: auto;         /* 브랜드와 스토어 버튼 사이 가운데 배치 */
}
.gns-search__icon {
  position: absolute;
  left: 0.9rem;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--on-dark-mute);
  pointer-events: none;
}
.gns-search__input {
  width: 100%;
  height: 44px;
  padding: 0 4.9rem 0 2.7rem;   /* 좌: 돋보기 / 우: 검색 버튼 자리 */
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--on-dark);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gns-search__input::placeholder { color: var(--on-dark-mute); }
.gns-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(3, 199, 90, 0.16);
}
.gns-search__btn {
  position: absolute;
  right: 5px;
  height: 34px;
  padding: 0 1.05rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.gns-search__btn:hover { background: var(--btn-bg-hover); }

/* 헤더 검색 라이브 자동완성 드롭다운 */
.gns-search__suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.35rem;
  max-height: min(70vh, 460px);
  overflow-y: auto;
}
.gns-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.gns-suggest__item:hover,
.gns-suggest__item.is-active { background: var(--surface-2); }
.gns-suggest__thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-2);
}
.gns-suggest__text { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.gns-suggest__name {
  font-weight: 600;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gns-suggest__cat { font-size: 0.78rem; color: var(--on-dark-mute); }
.gns-suggest__all {
  display: block;
  margin-top: 0.2rem;
  padding: 0.7rem 0.6rem;
  border-top: 1px solid var(--line);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  border-radius: var(--radius-sm);
}
.gns-suggest__all:hover,
.gns-suggest__all.is-active { background: var(--surface-2); }

/* ---- 아래 줄: 카테고리 + 메뉴 링크 바 ---------------------- */
.gns-navbar__bar { border-top: 1px solid var(--line); }
.gns-navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: 50px;
}
.gns-navbar__link {
  color: var(--on-dark-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--dur) var(--ease);
}
.gns-navbar__link:hover { color: var(--on-dark); }
.gns-navbar__actions { display: flex; align-items: center; gap: 0.75rem; }
.gns-navbar__actions--top { flex: 0 0 auto; }
.gns-navbar__actions--menu { display: none; }   /* 메뉴바 안 스토어 버튼은 모바일 전용 */

/* ---- 카테고리 메뉴 (데스크톱: 드롭다운 패널) ----------------- */
.gns-navbar__item { position: relative; display: flex; align-items: center; }
.gns-navbar__catbtn {
  display: inline-flex; align-items: center; gap: 0.2rem;
  background: none; border: 0; cursor: pointer; font: inherit;
}
.gns-navbar__caret { font-size: 1rem; line-height: 1; transition: transform var(--dur) var(--ease); }
.gns-navbar__item:hover .gns-navbar__caret,
.gns-navbar__item.is-open .gns-navbar__caret { transform: rotate(180deg); }

.gns-megamenu {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 480px; max-width: 92vw;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 0.6rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 40;
}
.gns-navbar__item:hover .gns-megamenu,
.gns-navbar__item.is-open .gns-megamenu { opacity: 1; visibility: visible; transform: translateY(0); }

.gns-megamenu__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.1rem 0.75rem;
}
.gns-megamenu__group { min-width: 0; }
.gns-megamenu__row { display: flex; align-items: center; }
.gns-megamenu__top {
  flex: 1 1 auto; display: block;
  padding: 0.4rem 0.6rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.92rem; color: var(--ink);
  word-break: keep-all;   /* 긴 한글 이름은 잘리지 않고 단어 단위로 줄바꿈 */
}
.gns-megamenu__top:hover { background: var(--surface-2); color: var(--accent-strong); }
.gns-megamenu__expand { display: none; }   /* 데스크톱: 하위 항상 표시 */
.gns-megamenu__children { list-style: none; margin: 0 0 0.35rem; padding: 0; }
.gns-megamenu__children a {
  display: block; padding: 0.32rem 0.6rem 0.32rem 0.75rem;
  border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--on-dark-soft);
  word-break: keep-all;
}
.gns-megamenu__children a:hover { background: var(--surface-2); color: var(--accent-strong); }
.gns-megamenu__group--all { grid-column: 1 / -1; margin-top: 0.25rem; padding-top: 0.4rem; border-top: 1px solid var(--line); }
.gns-megamenu__group--all .gns-megamenu__top { color: var(--accent-strong); }

/* 모바일 토글 */
.gns-navbar__burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  color: var(--on-dark);
}
.gns-navbar__burger span {
  display: block; width: 22px; height: 2px; margin: 4px auto;
  background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

@media (max-width: 900px) {
  .gns-navbar__burger { display: block; order: 2; flex: 0 0 auto; }

  /* 상단 줄: 브랜드+버거 한 줄, 검색창은 그 아래 풀폭 */
  .gns-navbar__top-inner {
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    min-height: 0;
    padding-block: 0.6rem;
  }
  .gns-navbar__brand { order: 1; margin-right: auto; }
  .gns-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
  }
  .gns-navbar__actions--top { display: none; }   /* 상단줄 스토어 버튼 → 모바일은 메뉴 안으로 */

  /* 메뉴 바: 버거로 여닫는 인라인 아코디언 */
  .gns-navbar__bar { border-top: 0; }
  .gns-navbar__menu {
    flex-direction: column; align-items: stretch; gap: 0;
    min-height: 0;
    max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease);
  }
  /* 카테고리 트리가 길어도 잘리지 않게: 화면 높이까지 + 세로 스크롤 */
  .gns-navbar__menu.is-open {
    max-height: calc(100vh - 128px); overflow-y: auto;
    border-top: 1px solid var(--line); padding-bottom: 0.75rem;
  }
  .gns-navbar__link { width: 100%; padding: 0.85rem 0.25rem; }

  /* 스토어 버튼: 모바일은 메뉴 하단에 노출 */
  .gns-navbar__actions--menu {
    display: flex; flex-wrap: wrap; width: 100%;
    gap: 0.6rem; padding: 0.85rem 0.25rem 0.25rem;
  }

  /* ---- 카테고리: 모바일 인라인 아코디언 ---- */
  .gns-navbar__item { width: 100%; display: block; }
  .gns-navbar__catbtn { width: 100%; justify-content: space-between; }

  .gns-megamenu {
    position: static; width: auto; max-width: none;
    opacity: 1; visibility: visible; transform: none;
    border: 0; border-radius: 0; box-shadow: none; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease);
  }
  .gns-navbar__item.is-open .gns-megamenu { max-height: 3000px; }

  .gns-megamenu__list { display: block; }
  .gns-megamenu__group { border-top: 1px solid var(--line); }
  .gns-megamenu__group--all { margin-top: 0; padding-top: 0; }
  .gns-megamenu__top { padding: 0.75rem 0.25rem 0.75rem 1rem; white-space: normal; }

  .gns-megamenu__expand {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex: 0 0 auto;
    background: none; border: 0; cursor: pointer; color: var(--on-dark-soft);
  }
  .gns-megamenu__expand i { font-size: 1.3rem; transition: transform var(--dur) var(--ease); }
  .gns-megamenu__group.is-open .gns-megamenu__expand i { transform: rotate(90deg); }

  .gns-megamenu__children {
    margin: 0; background: var(--surface-2);
    max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease);
  }
  .gns-megamenu__group.is-open .gns-megamenu__children { max-height: 1200px; }
  .gns-megamenu__children a { padding: 0.6rem 1rem 0.6rem 1.75rem; white-space: normal; }
}

/* ---- 히어로 ----------------------------------------------- */
.hero-dark {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 62vh, 620px);
  overflow: hidden;
  background: linear-gradient(135deg, #e8f9ef 0%, #f3faf6 45%, #ffffff 100%);
}
.hero-dark__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
/* 사진이 없을 때도 자연스럽게: 좌측 화이트 스크림(텍스트 가독성) */
.hero-dark__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(3, 199, 90, 0.10), transparent 55%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 45%, rgba(255, 255, 255, 0.12) 100%);
}
.hero-dark__inner { position: relative; z-index: 1; }
.hero-dark__content { max-width: 600px; text-align: left; }
.hero-dark__title {
  margin: 1.1rem 0 0;
  font-size: var(--fs-hero);
  font-weight: 600;          /* 900(Black) → 600(SemiBold): 눌린 느낌 완화 */
  line-height: 1.2;          /* 행간을 넉넉히 열어 답답함 완화 */
  letter-spacing: -0.018em;  /* 자간을 덜 조여 부드럽게 */
  color: var(--on-dark);
}
.hero-dark__sub {
  margin-top: 1.4rem;
  max-width: 520px;
  color: var(--on-dark-soft);
  font-size: var(--fs-lead);
  line-height: 1.7;
}
.hero-dark__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* 768px 이하(모바일·태블릿)에서는 히어로 숨김 — 데스크톱에서만 노출 */
@media (max-width: 768px) {
  .hero-dark { display: none; }
}

/* ---- 신뢰/특징 행 ----------------------------------------- */
.feature-row {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--line);
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  background: var(--surface);
}
.feature__icon {
  flex: 0 0 auto;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}
.feature__title { margin: 0; font-weight: 700; font-size: 1rem; color: var(--on-dark); }
.feature__desc { margin: 0.3rem 0 0; font-size: 0.86rem; color: var(--on-dark-soft); line-height: 1.55; }

/* 이용안내(구매흐름) 단계 */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.step {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.95rem;
  vertical-align: middle;
}
/* 번호와 아이콘은 항상 같은 줄(뱃지 오른쪽에 아이콘). */
.step__icon { display: inline-block; margin-left: 0.6rem; font-size: 1.9rem; line-height: 1; color: var(--accent); vertical-align: middle; }
.step__title { margin: 0.85rem 0 0; font-weight: 700; font-size: 1.05rem; color: var(--on-dark); }
.step__desc { margin: 0.45rem 0 0; font-size: 0.88rem; line-height: 1.6; color: var(--on-dark-soft); }

/* 모바일: 한 줄 1장(세로로 길어짐) 대신 최소 2장씩 (번호·아이콘 한 줄 배치는 기본 스타일에서 처리) */
@media (max-width: 600px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .step { padding: 1.1rem 1rem 1.15rem; }
  .step__icon { margin-left: 0.5rem; font-size: 1.5rem; }
  .step__title { margin-top: 0.7rem; font-size: 0.98rem; }
  .step__desc { font-size: 0.82rem; }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 모바일: 좁아진 2열에 맞춰 여백·아이콘 압축 */
@media (max-width: 600px) {
  .feature { gap: 0.65rem; padding: 1.15rem 0.9rem; }
  .feature__icon { font-size: 1.4rem; }
  .feature__title { font-size: 0.95rem; }
  .feature__desc { font-size: 0.8rem; }
}

/* ---- 카테고리 카드 (라이트 · 1열 가로 슬라이드) ----------- */
.cat-carousel { position: relative; }
/* 가로 스크롤 트랙: 카드 한 줄로 좌우 슬라이드 */
.cat-grid {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox: 스크롤바 숨김 */
  /* overflow-x:auto 는 overflow-y 도 auto 로 계산 → hover 시 위로 뜨는 카드가 잘리지 않게 상하 여백 확보 */
  padding: 10px 0 4px;            /* 상단: hover 리프트·그림자 여백 / 하단: 그림자·포커스 링 여백 */
}
.cat-grid::-webkit-scrollbar { display: none; } /* WebKit: 스크롤바 숨김 */
.cat-card {
  position: relative;
  display: flex;
  flex: 0 0 220px;                /* 고정 폭 → 가로 스크롤 */
  width: 220px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  aspect-ratio: 5 / 6;
  padding: 1.85rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
/* 좌우 슬라이드 화살표 (스크롤 가능할 때만 노출) */
.cat-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.cat-carousel__nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-carousel__nav[hidden] { display: none; }
.cat-carousel__nav--prev { left: -10px; }
.cat-carousel__nav--next { right: -10px; }
@media (max-width: 768px) {
  .cat-carousel__nav { display: none; } /* 모바일은 스와이프로 슬라이드 */
}
/* 아이콘 미디어: 연한 그린 틴트 타일 위에 원본 색 아이콘(관리화면과 동일 톤) */
.cat-card__media {
  display: flex; align-items: center; justify-content: center;
  width: 104px; height: 104px;
  margin: 0.25rem 0 1.25rem;
  border-radius: 22px;
  background: #eef9f1;
  overflow: hidden;
}
.cat-card__bg {                 /* 카테고리 대표 사진(있을 때) */
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
.cat-card__icon { width: 62%; height: 62%; object-fit: contain; }
.cat-card__name {
  font-weight: 700; font-size: 1.05rem; color: var(--on-dark);
  letter-spacing: var(--ls-tight);
}
.cat-card__count { margin-top: 0.25rem; font-size: 0.82rem; color: var(--on-dark-mute); }

/* 반응형: 캐러셀(가로 스크롤) 해제 → 1줄 4개 아이콘 그리드. 카드 축소 + 상품수 숨김.
   base .cat-card__* 규칙(위)보다 뒤에 와야 동일 명시도에서 오버라이드가 이긴다.
   JS 캐러셀은 트랙이 넘치지 않으면 자동스크롤·복제·화살표를 하지 않아 그대로 안전. */
@media (max-width: 768px) {
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;               /* 컬럼 간격 축소 → 타일 폭 확대 */
    overflow: visible;          /* 가로 스크롤 해제 */
    padding: 0;
  }
  /* 홈: 4개×2줄(8개)만 노출, 나머지는 '전체보기'(/categories)에서 확인 */
  .cat-grid > .cat-card:nth-child(n+9) { display: none; }
  .cat-card {
    flex: initial; width: auto; /* 캐러셀용 고정폭 해제 */
    aspect-ratio: auto;         /* 세로 비율 해제 → 콘텐츠 높이 */
    padding: 0.6rem 0.05rem 0.7rem;  /* 좌우 패딩 축소 → 타일 폭 확대 */
    border-color: transparent;  /* 테두리 숨김 */
    box-shadow: none;           /* 액자처럼 보이는 그림자도 제거 */
  }
  .cat-card:hover { border-color: transparent; box-shadow: none; }
  .cat-card__media {
    width: min(116px, 100%);   /* 컬럼 폭을 넘지 않게 → 좌우 잘림 방지 */
    height: auto;
    aspect-ratio: 1 / 1;       /* 정사각 유지 */
    margin: 0 0 0.45rem;
    border-radius: 16px;
    background: #f6fcf8;   /* 배경 더 연하게 → 아이콘 강조 */
    border: 1px solid var(--line);   /* 아이콘 타일 테두리선 */
  }
  .cat-card__icon { width: 100%; height: 100%; }  /* 반응형에서 아이콘 최대 */
  .cat-card__name { font-size: clamp(0.68rem, 1.9vw, 0.85rem); line-height: 1.25; font-weight: 400; }
  .cat-card__count { display: none; }  /* [n개 상품] 숨김 */
}

/* 섹션 하단 '전체보기' 등 중앙 정렬 CTA(추천/인기 등에서도 재사용 가능) */
.section-more { margin-top: clamp(1.25rem, 3vw, 2rem); text-align: center; }
.section-more .btn { min-width: 280px; padding-left: 2.75rem; padding-right: 2.75rem; }

/* 전체 카테고리 페이지: 카드 줄바꿈 그리드(캐러셀 고정폭 해제) */
.cat-allgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap);
}
.cat-allgrid .cat-card { flex: initial; width: auto; } /* .cat-card 의 캐러셀용 고정폭 무력화 */
@media (max-width: 768px) {
  /* 반응형: 홈 카테고리(.cat-grid)와 동일하게 한 줄 4개 + 좁은 gap → 아이콘 크기 일치 */
  .cat-allgrid { grid-template-columns: repeat(4, 1fr); gap: 0.25rem; }
}

/* ---- 상품 카드 (단일 소스: components/product_card) ------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__thumb img { transform: scale(1.05); }
.product-card__badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  padding: 0.3rem 0.7rem;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1rem; }
.product-card__cat { color: var(--accent); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.product-card__name {
  margin: 0.4rem 0 0;
  font-weight: 600; font-size: 1rem; line-height: 1.45;
  color: var(--on-dark);
}
.product-card__name a:hover { color: var(--accent-strong); }
.product-card__price {
  margin: 0.55rem 0 1rem;
  font-weight: 800; font-size: 1.15rem; color: var(--on-dark);
}
.product-card__price small { margin-left: 0.1rem; font-weight: 600; font-size: 0.8rem; color: var(--on-dark-soft); }
/* 구입/대여 가격 + 본인부담금(컴팩트) */
.product-card__prices { margin: 0.55rem 0 1rem; }
.product-card__pricerow { display: flex; align-items: baseline; gap: 0.5rem; }
.product-card__pricerow .product-card__price { margin: 0; font-size: 1.05rem; }
.product-card__pricelabel { min-width: 2.3rem; font-size: 0.78rem; color: var(--on-dark-soft); }
.product-card__copay { margin-top: 0.2rem; font-size: 0.82rem; color: var(--on-dark-mute); }
.product-card__copay strong { font-weight: 800; color: var(--accent-strong); }
.product-card__copay + .product-card__pricerow { margin-top: 0.65rem; }
.product-card__askprice { font-weight: 700; font-size: 1rem; color: var(--on-dark-soft); }
.product-card__cta { margin-top: auto; }

@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- 프로모션 배너 3종 ------------------------------------ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  overflow: hidden;
  /* 홈 라이트 톤에 맞춘 소프트 그린 → 화이트 패널 */
  background: linear-gradient(135deg, #effaf3 0%, #ffffff 62%);
  border: 1px solid var(--line);
  isolation: isolate;
}
.promo__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.5s var(--ease);
}
/* 배경 이미지가 있는 배너만 가독성용 다크 오버레이 + 흰 글씨 */
.promo:has(.promo__bg)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13, 13, 15, 0.88) 0%, rgba(13, 13, 15, 0.45) 100%);
}
.promo:has(.promo__bg) .promo__title { color: #fff; }
.promo:has(.promo__bg) .promo__desc { color: rgba(255, 255, 255, 0.82); }
.promo:hover .promo__bg { transform: scale(1.05); }
.promo__eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.promo__title { margin: 0.5rem 0 0; font-size: 1.5rem; font-weight: 800; letter-spacing: var(--ls-tight); color: var(--on-dark); }
.promo__desc { margin: 0.4rem 0 1.2rem; color: var(--on-dark-soft); font-size: 0.9rem; }
.promo__cta { align-self: flex-start; }

/* 단일 배너: 가로형 와이드 레이아웃(텍스트 좌측 · CTA 우측) */
.promo-grid--single { grid-template-columns: 1fr; }
.promo--wide {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: 240px;
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
.promo--wide .promo__body { max-width: 62ch; }
.promo--wide .promo__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.promo--wide .promo__desc { margin: 0.75rem 0 0; font-size: 0.95rem; line-height: 1.75; }
.promo--wide .promo__cta { align-self: center; flex-shrink: 0; }

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo--wide { flex-direction: column; align-items: flex-start; justify-content: center; }
  .promo--wide .promo__desc { margin-bottom: 1.2rem; }
  .promo--wide .promo__cta { align-self: flex-start; }
}

/* ---- 푸터 (다크 멀티컬럼) --------------------------------- */
.gns-footer {
  background: #f5f6f7;
  border-top: 1px solid var(--line);
  color: var(--on-dark-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.gns-footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}
.gns-footer__brand { font-weight: 900; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--on-dark); }
.gns-footer__desc { margin-top: 0.9rem; font-size: 0.88rem; line-height: 1.8; }
.gns-footer__head {
  margin: 0 0 0.9rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark);
}
.gns-footer__list { list-style: none; margin: 0; padding: 0; }
.gns-footer__list li { margin-bottom: 0.55rem; }
.gns-footer__list a, .gns-footer__list span { font-size: 0.88rem; line-height: 1.7; }
.gns-footer__list a:hover { color: var(--on-dark); }
.gns-footer__divider { height: 1px; margin: 2.5rem 0 1.25rem; border: 0; background: var(--line); }
.gns-footer__copy { font-size: 0.82rem; color: var(--on-dark-mute); text-align: center; }
/* 카피라이트만 노출(홈 외 페이지): 여백 축소 */
.gns-footer--minimal { padding-block: 1.5rem; }

@media (max-width: 900px) {
  .gns-footer__top { grid-template-columns: 1fr 1fr; }
  .gns-footer__brandcol { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .gns-footer__top { grid-template-columns: 1fr; }
}

/* =============================================================
   상품 상세 (Dark)
   ============================================================= */
.pd-breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); font-size: 0.85rem; }
.pd-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0; padding: 0; }
.pd-breadcrumb li { display: flex; align-items: center; gap: 0.45rem; color: var(--on-dark-soft); }
.pd-breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.pd-breadcrumb a { color: var(--on-dark-mute); }
.pd-breadcrumb a:hover { color: var(--on-dark); }
.pd-breadcrumb li[aria-current] { color: var(--on-dark); font-weight: 600; }

.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .pd-layout { grid-template-columns: 1fr; } }

.pd-main { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.pd-thumb { width: 68px; height: 68px; padding: 0; overflow: hidden; cursor: pointer; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; transition: border-color var(--dur) var(--ease); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { border-color: var(--line-strong); }
.pd-thumb.is-active { border-color: var(--accent); }

.pd-cat { color: var(--accent); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pd-title { margin: 0.6rem 0 0; font-size: var(--fs-display); font-weight: 800; line-height: 1.2; letter-spacing: var(--ls-tight); color: var(--on-dark); }
.pd-code { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--on-dark-soft); letter-spacing: 0.02em; }
.pd-pricebox { margin: 1.5rem 0; padding: 1.25rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pd-pricerow { display: flex; align-items: baseline; gap: 0.6rem; }
.pd-pricerow + .pd-pricerow { margin-top: 0.65rem; }
.pd-pricelabel { min-width: 3.4rem; font-size: 0.85rem; color: var(--on-dark-soft); }
.pd-price { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--on-dark); }
.pd-price small { margin-left: 0.1rem; font-size: 0.95rem; font-weight: 600; color: var(--on-dark-soft); }
.pd-rental { font-weight: 700; color: var(--on-dark); }
.pd-copay { margin-top: 0.85rem; }
.pd-copay + .pd-pricerow { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.pd-copay-lead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.5rem; }
.pd-copay-amount { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: var(--accent-strong); }
.pd-copay-note { font-size: 0.8rem; color: var(--on-dark-mute); }
.pd-copay-table { width: 100%; margin-top: 0.6rem; border-collapse: collapse; font-size: 0.82rem; table-layout: fixed; }
.pd-copay-table th, .pd-copay-table td { padding: 0.5rem 0.4rem; border: 1px solid var(--line); text-align: center; }
.pd-copay-table thead th { background: var(--surface-2); color: var(--on-dark-soft); font-weight: 700; font-size: 0.78rem; }
.pd-copay-table tbody td { color: var(--on-dark); }
.pd-copay-table tbody td.is-reduced { color: var(--accent-strong); }
.pd-copay-table .copay-rate { font-weight: 700; color: var(--on-dark-mute); }
.pd-copay-table tbody td.is-reduced .copay-rate { color: var(--accent); }
.pd-specs { margin: 1.25rem 0; border-top: 1px solid var(--line); }
.pd-specrow { display: flex; gap: 1rem; padding: 0.7rem 0.15rem; border-bottom: 1px solid var(--line); }
.pd-speclabel { flex: 0 0 5rem; margin: 0; color: var(--on-dark-mute); font-size: 0.85rem; }
.pd-specvalue { margin: 0; color: var(--on-dark-soft); font-size: 0.9rem; line-height: 1.5; word-break: break-word; }
.pd-desc { margin: 1.5rem 0; color: var(--on-dark-soft); line-height: 1.85; }
.pd-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
/* 스토어 링크 칩 — 몰별 브랜드 컬러를 옅게 입힌 배지(가맹몰 배지 관례). 배경·테두리·글자를 브랜드 색으로 통일 */
.pd-store-btn {
  flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  font-weight: 700; font-size: 0.92rem; letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pd-store-btn--naver   { background: rgba(3, 199, 90, 0.08);  border-color: rgba(3, 199, 90, 0.32);  color: #02a94d; }
.pd-store-btn--coupang { background: rgba(216, 46, 30, 0.07); border-color: rgba(216, 46, 30, 0.28); color: #c8281a; }
.pd-store-btn:hover { transform: translateY(-2px); }
.pd-store-btn--naver:hover   { box-shadow: 0 8px 20px rgba(3, 199, 90, 0.22); }
.pd-store-btn--coupang:hover { box-shadow: 0 8px 20px rgba(216, 46, 30, 0.20); }
.pd-store-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-store-ico { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; flex: 0 0 auto; }
.pd-meta { margin-top: 0.9rem; color: var(--on-dark-mute); font-size: 0.85rem; }

/* ---- 상세 본문 이미지(스마트스토어식 세로 스택 + 펼쳐보기) ---------- */
.pd-detail { max-width: 860px; margin: 0 auto; }
.pd-detail__body { position: relative; }
.pd-detail__body.is-clamped { max-height: 72vh; overflow: hidden; }
.pd-detail__img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.pd-detail__img + .pd-detail__img { margin-top: 0.75rem; }

/* 더보기 영역: 클램프 상태일 때 이미지 위로 페이드(그라데이션)를 덮고 버튼을 중앙에 둠 */
.pd-detail__more { position: relative; margin-top: 1.25rem; text-align: center; }
.pd-detail__body.is-clamped + .pd-detail__more::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 7rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg));
  pointer-events: none;
}
.pd-detail__toggle { position: relative; min-width: min(22rem, 100%); }

/* ---- 관리자 수정 플로트 버튼(pill) — 슈퍼유저·상품담당만 노출 ---- */
.pd-edit-fab {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--btn-ink);
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(3, 199, 90, 0.32);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.pd-edit-fab:hover {
  color: var(--btn-ink);
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(3, 199, 90, 0.38);
}
.pd-edit-fab .mdi { font-size: 1.15rem; line-height: 1; }
@media (max-width: 600px) {
  .pd-edit-fab { padding: 0.65rem 1rem; font-size: 0.85rem; }
}

/* ---- 빈 상태(상품 없음 / 404) ----------------------------- */
.empty-state { text-align: center; padding-block: clamp(4rem, 11vw, 8rem); }
.empty-state__title { margin: 0.6rem 0 0.6rem; font-size: var(--fs-display); font-weight: 800; color: var(--on-dark); }
.empty-state__text { color: var(--on-dark-soft); }
.empty-state__cta { margin-top: 1.75rem; }

/* ---- 관리자 표: 모바일 가로 스크롤(유지) ------------------ */
.admin-table-wrap { overflow-x: auto; }

/* =============================================================
   카테고리 상품 리스트 (Dark)
   ============================================================= */
/* 하위 카테고리 칩(드릴다운) */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--on-dark-soft);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.cat-chip:hover { border-color: var(--accent); color: var(--accent-strong); background: rgba(3, 199, 90, 0.06); }
.cat-chip__count {
  min-width: 1.5rem;
  padding: 0.05rem 0.45rem;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--on-dark);
  background: var(--surface-3);
  border-radius: var(--radius-pill);
}

/* 상품 없는 카테고리 */
.cat-empty {
  text-align: center;
  color: var(--on-dark-soft);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

/* 프런트 페이지네이션(다크) */
.gns-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gns-pagination__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.gns-pagination__link,
.gns-pagination__edge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 2.4rem; padding: 0 0.7rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--on-dark-soft); font-size: 0.9rem; font-weight: 600;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.gns-pagination__link:hover,
.gns-pagination__edge:hover { border-color: var(--on-dark); color: var(--on-dark); }
.gns-pagination__link.is-current {
  background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); cursor: default;
}
.gns-pagination__gap { color: var(--on-dark-mute); padding: 0 0.3rem; }

/* =============================================================
   노인장기요양보험 안내 (guide/insurance)
   - partials/guide/insurance.php 와 1:1. 라이트 테마 토큰만 참조.
   ============================================================= */

/* 좌측 정렬 섹션 헤더(가이드 페이지용) */
.section-head--left { max-width: 760px; margin-inline: 0; text-align: left; }

/* 섹션 배경 교차(가독 리듬) */
.guide-section--alt { background: var(--surface-2); }

/* ── 인트로 ─────────────────────────────────────────────── */
.guide-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--on-dark-mute); margin-bottom: 1.25rem;
}
.guide-breadcrumb a { color: var(--on-dark-soft); }
.guide-breadcrumb a:hover { color: var(--accent-strong); }
.guide-intro__title {
  margin: 0.5rem 0 0;
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  color: var(--on-dark);
}
.guide-intro__lead {
  max-width: 720px;
  margin-top: 1.1rem;
  color: var(--on-dark-soft);
  font-size: var(--fs-lead);
  line-height: 1.75;
}
.guide-intro__lead strong { color: var(--on-dark); font-weight: 700; }
.guide-quickfacts {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}
.guide-quickfact {
  flex: 1 1 180px;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.guide-quickfact__num {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--accent-strong); letter-spacing: var(--ls-tight);
}
.guide-quickfact__label { display: block; margin-top: 0.25rem; font-size: 0.9rem; color: var(--on-dark-soft); }

/* ── 카드 그리드(대상/급여) ─────────────────────────────── */
.guide-cards { display: grid; gap: var(--gap); }
.guide-cards--2 { grid-template-columns: repeat(2, 1fr); }
.guide-cards--3 { grid-template-columns: repeat(3, 1fr); }
.guide-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.guide-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  background: rgba(3, 199, 90, 0.1); color: var(--accent-strong);
  font-size: 1.5rem; margin-bottom: 0.9rem;
}
.guide-card__title { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 700; color: var(--on-dark); }
.guide-card__text { margin: 0; color: var(--on-dark-soft); line-height: 1.65; }

/* ── 등급 ──────────────────────────────────────────────── */
.guide-grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.guide-grade {
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.guide-grade__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.6rem; }
.guide-grade__badge { font-weight: 800; color: var(--on-dark); font-size: 1.05rem; }
.guide-grade__score { font-size: 0.82rem; font-weight: 600; color: var(--accent-strong); white-space: nowrap; }
.guide-grade__desc { margin: 0; color: var(--on-dark-soft); font-size: 0.95rem; line-height: 1.6; }

/* ── 절차(스텝) ────────────────────────────────────────── */
.guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.guide-step { display: flex; gap: 1.1rem; align-items: flex-start; }
.guide-step__num {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 800;
}
.guide-step__body {
  flex: 1;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.guide-step:last-child .guide-step__body { border-bottom: 0; padding-bottom: 0; }
.guide-step__title { margin: 0.3rem 0 0.3rem; font-size: 1.05rem; font-weight: 700; color: var(--on-dark); }
.guide-step__text { margin: 0; color: var(--on-dark-soft); line-height: 1.65; }

/* ── 복지용구 품목 ─────────────────────────────────────── */
.guide-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.guide-items__head {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0 0 0.9rem; font-size: 1.05rem; font-weight: 700; color: var(--on-dark);
}
.guide-items__head .mdi { color: var(--accent-strong); }
.guide-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.guide-pill {
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.88rem; color: var(--on-dark-soft);
}
.guide-fineprint { margin-top: 1.25rem; font-size: 0.85rem; color: var(--on-dark-mute); line-height: 1.6; }

/* 주의 박스(제한·급여 불가 등) */
.guide-alert {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0.95rem 1.15rem;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  color: var(--on-dark); font-size: 0.9rem; line-height: 1.6;
}
.guide-alert .mdi { flex: 0 0 auto; margin-top: 0.1rem; color: var(--warn-ink); font-size: 1.2rem; }
.guide-alert strong { color: var(--warn-ink); }
.guide-alert__list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; }
.guide-alert__list li::marker { color: var(--warn-ink); }

/* ── 본인부담 표 ───────────────────────────────────────── */
.guide-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.guide-table th, .guide-table td { padding: 0.95rem 1.1rem; text-align: left; }
.guide-table thead th {
  background: var(--surface-2); color: var(--on-dark);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}
.guide-table tbody td { color: var(--on-dark-soft); border-top: 1px solid var(--line); }
.guide-table tbody td strong { color: var(--accent-strong); font-size: 1.05rem; }

/* ── CTA 밴드 ──────────────────────────────────────────── */
.guide-cta { background: var(--surface-2); }
.guide-cta__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.guide-cta__copy { flex: 1 1 360px; }
.guide-cta__title { margin: 0.4rem 0 0.6rem; font-size: var(--fs-h2); font-weight: 800; color: var(--on-dark); letter-spacing: var(--ls-tight); }
.guide-cta__text { margin: 0; color: var(--on-dark-soft); line-height: 1.7; max-width: 460px; }
.guide-cta__actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; flex: 0 0 auto; }
.guide-cta__phone { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--on-dark-soft); text-align: center; }
.guide-cta__phone .mdi { color: var(--accent-strong); }
.guide-cta__phone a { color: var(--on-dark); font-weight: 700; }

/* ── 출처/유의 ─────────────────────────────────────────── */
.guide-source { padding-block: 1.75rem; background: var(--surface-2); border-top: 1px solid var(--line); }
.guide-source p { margin: 0; font-size: 0.85rem; color: var(--on-dark-mute); line-height: 1.65; text-align: center; }
.guide-source a { color: var(--accent-strong); font-weight: 600; }

/* 예시 박스(카드 안 강조) */
.guide-card__eg {
  margin-top: 0.85rem; margin-bottom: 0;
  padding: 0.65rem 0.85rem;
  background: var(--surface-2); border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--on-dark-soft); line-height: 1.55;
}
.guide-card__eg strong { color: var(--accent-strong); }

/* 안내 링크바(교차 안내) */
.guide-linkbar {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0.7rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.9rem; color: var(--on-dark-soft);
}
.guide-linkbar .mdi { color: var(--accent-strong); }
.guide-linkbar a { color: var(--accent-strong); font-weight: 700; }
.guide-inline-cta { margin: 1.5rem 0 0; }

/* ── 품목별 안내(복지용구) ─────────────────────────────── */
.guide-itemgroup + .guide-itemgroup { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.guide-items__count {
  margin-left: 0.4rem; padding: 0.1rem 0.55rem;
  background: rgba(3, 199, 90, 0.1); color: var(--accent-strong);
  border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700;
}
.guide-itemcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.guide-itemcard {
  padding: 1.2rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.guide-itemcard__name { margin: 0 0 0.6rem; font-size: 1.02rem; font-weight: 700; color: var(--on-dark); }
.guide-itemcard__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.65rem; }
.guide-mbadge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600; color: var(--on-dark-soft);
}
.guide-mbadge .mdi { color: var(--accent-strong); font-size: 0.95rem; }
.guide-itemcard__desc { margin: 0; color: var(--on-dark-soft); font-size: 0.9rem; line-height: 1.6; }

/* ── 유의사항 목록 ─────────────────────────────────────── */
.guide-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.guide-note-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--on-dark-soft); line-height: 1.65;
}
.guide-note-item .mdi { flex: 0 0 auto; margin-top: 0.1rem; color: var(--accent-strong); font-size: 1.2rem; }

/* ── 반응형 ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .guide-grades { grid-template-columns: repeat(2, 1fr); }
  .guide-cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .guide-cards--2,
  .guide-cards--3,
  .guide-grades,
  .guide-itemcards,
  .guide-items { grid-template-columns: 1fr; }
  .guide-cta__actions { width: 100%; }

  /* 표 → 카드형 스택 */
  .guide-table-wrap { border: 0; }
  .guide-table, .guide-table thead, .guide-table tbody, .guide-table tr, .guide-table td { display: block; width: 100%; }
  .guide-table thead { display: none; }
  .guide-table tr {
    margin-bottom: 0.75rem; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; background: var(--surface);
  }
  .guide-table tbody td { border-top: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; }
  .guide-table tbody td + td { border-top: 1px solid var(--line); }
  .guide-table tbody td::before {
    content: attr(data-th); font-weight: 700; color: var(--on-dark);
  }
}

/* ── 본인부담금 계산기 ─────────────────────────────────── */
.calc { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--gap); align-items: start; }
.calc-form,
.calc-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}

/* 입력 폼 */
.calc-field { margin-bottom: 1.2rem; }
.calc-field[hidden] { display: none; }
.calc-field:last-of-type { margin-bottom: 1.5rem; }
.calc-label { display: block; margin-bottom: 0.5rem; font-size: 0.92rem; font-weight: 700; color: var(--on-dark); }
.calc-opt { color: var(--on-dark-mute); font-weight: 500; font-size: 0.85em; }
.calc-input,
.calc-inputwrap input,
.calc-daterange input {
  width: 100%; padding: 0.8rem 0.95rem;
  font-family: inherit; font-size: 1rem; color: var(--on-dark);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.calc-input:focus,
.calc-inputwrap input:focus,
.calc-daterange input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(3, 199, 90, 0.14);
}
.calc-inputwrap { position: relative; display: flex; align-items: center; }
.calc-inputwrap input { padding-right: 2.6rem; text-align: right; font-weight: 600; }
.calc-inputwrap .calc-unit { position: absolute; right: 0.95rem; color: var(--on-dark-mute); font-size: 0.92rem; pointer-events: none; }

/* 구입/대여 세그먼트 토글 */
.calc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0.3rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.calc-seg__opt { position: relative; margin: 0; }
.calc-seg__opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.calc-seg__opt span {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem; border-radius: var(--radius-sm);
  font-weight: 700; color: var(--on-dark-soft);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.calc-seg__opt input:checked + span { background: var(--surface); color: var(--accent-strong); box-shadow: var(--shadow-sm); }
.calc-seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.calc-daterange { display: flex; align-items: center; gap: 0.5rem; }
.calc-daterange span { color: var(--on-dark-mute); flex: 0 0 auto; }
.calc-form__hint { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--on-dark-mute); line-height: 1.55; }
.calc-form__hint .mdi { color: var(--accent-strong); }
.calc-form__hint strong { color: var(--on-dark-soft); }

/* 결과 패널 */
.calc-result--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 260px; gap: 0.7rem; text-align: center; color: var(--on-dark-mute); line-height: 1.6;
}
.calc-result--empty .mdi { font-size: 2.6rem; color: var(--line-strong); }
.calc-result__head { text-align: center; padding-bottom: 1.3rem; border-bottom: 1px dashed var(--line-strong); }
.calc-result__amount {
  margin: 0.45rem 0 0.35rem;
  font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800;
  color: var(--accent-strong); letter-spacing: var(--ls-tight); line-height: 1.1;
}
.calc-result__amount span { font-size: 0.42em; font-weight: 700; margin-left: 0.2rem; color: var(--on-dark-soft); }
.calc-result__sub { margin: 0; color: var(--on-dark-soft); font-size: 0.92rem; }
.calc-breakdown { margin: 1.3rem 0 0; }
.calc-breakdown > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0.15rem; border-bottom: 1px solid var(--line); }
.calc-breakdown dt { margin: 0; color: var(--on-dark-soft); }
.calc-breakdown dd { margin: 0; font-weight: 700; color: var(--on-dark); }
.calc-breakdown dd.is-accent { color: var(--accent-strong); font-size: 1.05rem; }
.calc-subhead { margin: 1.6rem 0 0.7rem; font-size: 0.95rem; font-weight: 700; color: var(--on-dark); }
.calc-tag {
  margin-left: 0.35rem; padding: 0.05rem 0.45rem;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 700; vertical-align: middle;
}
.guide-table tr.is-current td { background: rgba(3, 199, 90, 0.06); }

/* 연 한도 잔액 */
.calc-limit { margin-top: 1.6rem; padding: 1.1rem 1.25rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.calc-limit__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.28rem 0; font-size: 0.92rem; color: var(--on-dark-soft); }
.calc-limit__row strong { color: var(--on-dark); }
.calc-limit__remain { margin-top: 0.4rem; padding-top: 0.65rem; border-top: 1px solid var(--line-strong); font-size: 1rem; }
.calc-limit__remain span { font-weight: 700; color: var(--on-dark); }
.calc-limit__remain strong { color: var(--accent-strong); font-weight: 800; }
.calc-limit.is-over { background: var(--warn-bg); border-color: var(--warn-line); }
.calc-limit.is-over .calc-limit__remain strong { color: var(--warn-ink); }
.calc-limit__badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin: 0 0 0.7rem; padding: 0.25rem 0.7rem;
  background: var(--warn-ink); color: #fff;
  border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 800;
}
.calc-limit__over { margin-top: 0.35rem; }
.calc-limit__over strong { color: var(--warn-ink); font-weight: 800; }
.calc-limit__warn { display: flex; align-items: flex-start; gap: 0.4rem; margin: 0.7rem 0 0; font-size: 0.85rem; color: var(--warn-ink); line-height: 1.55; }
.calc-limit__warn strong { color: var(--warn-ink); font-weight: 800; }

/* 한도 초과 — 결과 헤드라인 플래그 + 본인부담 구성 설명 */
.calc-result__flag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin: 0.7rem 0 0; padding: 0.3rem 0.75rem;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 700; color: var(--warn-ink);
}
.calc-result__head.is-over .calc-result__amount { color: var(--warn-ink); }
.calc-breakdown__note { margin: 0.5rem 0.15rem 0; font-size: 0.82rem; color: var(--warn-ink); line-height: 1.5; text-align: right; }

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

/* =============================================================
   홈 — 복지용구 도메인 섹션
   (보험 지원 후크 · 증상별 찾기 · 구입/대여)
   ============================================================= */

/* 섹션 배경 교차(라이트 그레이) — 홈/공용 */
.section--alt { background: var(--surface-2); }

/* ── 장기요양보험 지원 후크 ─────────────────────────────── */
.ins-hook {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e9f9ef 0%, #ffffff 70%);
  border: 1px solid var(--line);
}
.ins-hook__copy { flex: 1 1 380px; }
.ins-hook__eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent-strong); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.04em;
}
.ins-hook__eyebrow .mdi { font-size: 1.05rem; }
.ins-hook__title {
  margin: 0.55rem 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800; letter-spacing: var(--ls-tight);
  color: var(--on-dark);
}
.ins-hook__desc {
  margin: 0.7rem 0 0; max-width: 56ch;
  color: var(--on-dark-soft); font-size: 0.98rem; line-height: 1.7;
}
.ins-hook__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.ins-hook__stats {
  list-style: none; margin: 0; padding: 0;
  flex: 0 0 auto;
  display: grid; gap: 0.6rem;
  min-width: min(100%, 250px);
}
.ins-hook__stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ins-hook__num { font-weight: 800; font-size: 1.15rem; color: var(--accent-strong); letter-spacing: var(--ls-tight); }
.ins-hook__label { font-size: 0.85rem; color: var(--on-dark-soft); text-align: right; }

@media (max-width: 900px) {
  /* 반응형(태블릿↓): 후크를 세로로 쌓고 통계 3개를 항상 가로 한 줄(3열)로 — 세로 길이 축소 */
  /* 가로 gap(최대 3rem)이 세로 간격으로 그대로 적용돼 버튼↔stats가 과하게 벌어지므로 축소 */
  .ins-hook { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  /* 세로 스택에선 flex-basis 380px가 '높이'로 적용돼 copy가 늘어나며 버튼↔stats가 벌어짐 → 콘텐츠 높이로 */
  .ins-hook__copy { flex: 0 0 auto; }
  .ins-hook__desc { display: none; }  /* 반응형: 세로 길이 축소 위해 설명 숨김 */
  .ins-hook__stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .ins-hook__stat {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.2rem; text-align: center;
    padding: 0.75rem 0.45rem;
  }
  .ins-hook__num { font-size: clamp(0.85rem, 2.6vw, 1.15rem); }
  .ins-hook__label { font-size: clamp(0.7rem, 1.9vw, 0.82rem); text-align: center; line-height: 1.35; }
}

@media (max-width: 760px) {
  .ins-hook__actions .btn { flex: 1 1 auto; }
}

/* ── 증상·상황별 찾기 ──────────────────────────────────── */
.need-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
/* 태블릿: 3열 → 2열. auto-fill 은 특정 폭에서 1열로 떨어져 세로로 길어지므로
   명시적 컬럼 수로 고정(항상 2열 이상 보장). */
@media (max-width: 1024px) { .need-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.need-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.need-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.need-card__icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  background: #eef9f1; color: var(--accent-strong); font-size: 1.6rem;
}
.need-card__body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.need-card__title { font-weight: 700; font-size: 1.02rem; color: var(--on-dark); }
.need-card__desc { font-size: 0.86rem; color: var(--on-dark-soft); }
.need-card__arrow {
  margin-left: auto; color: var(--on-dark-mute); font-size: 1.3rem;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.need-card:hover .need-card__arrow { color: var(--accent-strong); transform: translateX(3px); }

/* 모바일: 한 줄 1장(세로로 길어짐) 대신 최소 2장씩 — 카드를 세로 구성으로 압축 */
@media (max-width: 600px) {
  .need-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .need-card {
    flex-direction: column; align-items: flex-start; gap: 0.6rem;
    padding: 0.95rem 1rem;
  }
  .need-card__icon { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; }
  .need-card__title { font-size: 0.95rem; }
  .need-card__desc { font-size: 0.8rem; }
  .need-card__arrow { display: none; }
}

/* ── 구입 vs 대여 ──────────────────────────────────────── */
.br-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.br-card {
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.br-card__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.br-card__icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  background: rgba(3, 199, 90, 0.1); color: var(--accent-strong); font-size: 1.55rem;
}
.br-card__icon--rent { background: rgba(2, 169, 77, 0.12); }
.br-card__title { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--on-dark); }
.br-card__count { margin-left: 0.35rem; font-size: 0.82rem; font-weight: 700; color: var(--accent-strong); vertical-align: middle; }
.br-card__note { margin: 0.15rem 0 0; font-size: 0.86rem; color: var(--on-dark-soft); }
.br-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.br-chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.88rem; color: var(--on-dark-soft);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.br-chip:hover { border-color: var(--accent); color: var(--accent-strong); background: rgba(3, 199, 90, 0.06); }
/* 구입·대여 모두 가능 품목(복지용구 안내의 3번째 그룹과 동일 위상) */
.br-both {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.8rem;
  margin-top: var(--gap);
  padding: 0.95rem 1.2rem;
  background: var(--surface); border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.br-both__label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.9rem; color: var(--on-dark); white-space: nowrap;
}
.br-both__label .mdi { color: var(--accent-strong); font-size: 1.15rem; }
.br-both .br-chips { flex: 1 1 auto; }

/* 취급 범위 안내(상단) — 방문자가 전체 품목으로 오인하지 않도록 목록보다 먼저 노출 */
.br-notice {
  display: flex; align-items: flex-start; gap: 0.5rem;
  max-width: 720px; margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
  padding: 0.75rem 1.05rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem; color: var(--on-dark-soft); line-height: 1.55; text-align: left;
}
.br-notice .mdi { flex: 0 0 auto; margin-top: 0.1rem; color: var(--accent-strong); font-size: 1.1rem; }
.br-notice strong { color: var(--on-dark); font-weight: 700; }

.br-foot { margin: 1.5rem 0 0; text-align: center; font-size: 0.9rem; }
.br-foot a { color: var(--accent-strong); font-weight: 700; }

@media (max-width: 760px) {
  .br-grid { grid-template-columns: 1fr; }
  .br-both { flex-direction: column; align-items: flex-start; }
}
