@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');

/* ---------------------------------- 토큰 --------------------------------- */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --fg-2: #333333;
  --muted: #6b6b6b;
  --muted-2: #a0a0a0;
  --line: #ebebeb;
  --line-strong: #d3d3d3;
  --surface: #f4f4f4;
  --brand: #131313;
  --point: #ff6b00;
  --accent: #f15746;

  --container: 1200px;
  --gutter: 40px;

  --radius-sm: 6px;
  --radius: 10px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 스티키 헤더(약 150px)에 가리지 않도록 앵커 위치를 내림 */
[id] { scroll-margin-top: 170px; }

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }

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

/* Lucide 아이콘 — 배경 없이, 얇은 스트로크 */
.icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  flex: none;
}

/* ------------------------------ 데모 안내 바 ------------------------------ */
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.demo-bar strong { color: #fff; font-weight: 600; }

.demo-bar__tag {
  flex: none;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--point);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* -------------------------------- 헤더 --------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* 유틸리티 바 */
.utility { border-bottom: 1px solid var(--line); }

.utility__inner {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  height: 34px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.utility a:hover { color: var(--fg); }

/* 메인 내비게이션 */
.nav {
  display: flex;
  align-items: center;
  height: 68px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--brand);
}

.logo svg {
  display: block;
  height: 22px;
  width: auto;
}

/* 2주년 배지 — 아주 옅게 떠 있다가 가끔 한 번 반짝 */
.badge-2nd {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border-radius: 5px;
  transform-origin: 50% 50%;
  animation: badge-rock 6s ease-in-out infinite;
}

.badge-2nd img {
  display: block;
  height: 28px;
  width: auto;
}

.badge-2nd::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    transparent 34%,
    rgba(255, 255, 255, 0.5) 44%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.5) 56%,
    transparent 66%);
  transform: translateX(-130%);
  animation: badge-shine 6s ease-in-out infinite;
}

/* 정중앙을 축으로 두 번 흔들리고 진폭이 줄며 멈춤 → 3.6초 정지 후 반복 */
@keyframes badge-rock {
  0% { transform: rotate(0deg); }
  5% { transform: rotate(-4deg); }
  15% { transform: rotate(4deg); }
  25% { transform: rotate(-3deg); }
  33% { transform: rotate(3deg); }
  40%, 100% { transform: rotate(0deg); }
}

/* 흔들리는 동안(앞쪽 0.9초)에만 빛이 훑고 지나감 */
@keyframes badge-shine {
  0% { transform: translateX(-130%); }
  15% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

@media (prefers-reduced-motion: reduce) {
  .badge-2nd, .badge-2nd::after { animation: none; }
  .badge-2nd::after { display: none; }
}

.nav__icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--fg);
}

.icon-btn:hover { opacity: 0.55; }

/* 검색 아이콘 ↔ 닫기 아이콘 전환 */
.icon-btn .icon--close { display: none; }
.icon-btn[aria-expanded="true"] .icon--search { display: none; }
.icon-btn[aria-expanded="true"] .icon--close { display: block; }

/* 장바구니 카운터 */
.cart-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  letter-spacing: 0;
}

/* 검색 패널 */
.search-panel {
  height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: height 0.3s var(--ease), border-color 0.3s var(--ease);
}

.search-panel.is-open {
  height: 76px;
  border-top-color: var(--line);
}

.search-panel__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 76px;
}

.search-panel__icon {
  width: 24px;
  height: 24px;
  color: var(--muted-2);
}

.search-panel__input {
  flex: 1;
  height: 44px;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.search-panel__input::placeholder { color: var(--muted-2); font-weight: 500; }

/* 탭 */
.tabbar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabbar__inner::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  flex: none;
  height: 46px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.tab:hover { color: var(--fg); }

.tab.is-active {
  color: var(--fg);
  font-weight: 700;
}

.tab.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--fg);
}

.tab--point { color: var(--point); font-weight: 600; }
.tab--point:hover { color: var(--point); }

/* ------------------------------ 검색 결과 ------------------------------- */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.search-results.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.search-results__inner { padding-block: 22px 26px; }

.search-results__label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}

.search-results__label b { color: var(--point); }
.search-results__label:not(:first-child) { margin-top: 24px; }

.search-results__empty {
  padding: 8px 0 4px;
  font-size: 14px;
  color: var(--muted);
}

.search-results__empty b { color: var(--fg); }

/* 브랜드 결과 */
.search-brands { display: flex; flex-wrap: wrap; gap: 8px; }

.search-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s var(--ease);
}

.search-brand:hover { border-color: var(--fg); }

.search-brand img {
  width: calc(26px * var(--logo-scale, 1));
  height: 20px;
  object-fit: contain;
}

/* 상품 결과 */
.search-list { display: grid; gap: 2px; }

.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 8px;
  transition: background 0.12s var(--ease);
}

.search-item:hover { background: var(--surface); }

.search-item__img {
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.search-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-item__text b { font-size: 12px; color: var(--muted); font-weight: 600; }

.search-item__text > span {
  font-size: 14px;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------ 브랜드 드로워 ----------------------------- */
.drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* padding 축약형을 쓰면 .container의 좌우 gutter가 0으로 덮여서 정렬이 깨짐 */
.drawer__inner { padding-block: 28px 32px; }

.drawer__group + .drawer__group { margin-top: 30px; }

.drawer__title {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.drawer__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 20px;
  row-gap: 15px;
}

.drawer__link {
  font-size: 14px;
  color: var(--fg-2);
  transition: color 0.15s var(--ease);
}

.drawer__link:hover { color: var(--point); }

/* ------------------------------- 캐러셀 -------------------------------- */
.carousel {
  position: relative;
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1120 / 442;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 76px;
  color: #fff;
}

.slide__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 14px;
}

.slide__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.035em;
  white-space: pre-line;
}

.slide__sub {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.72;
}

/* 화살표 */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.carousel:hover .carousel__arrow { opacity: 0.75; }
.carousel__arrow:hover { opacity: 1 !important; }

.carousel__arrow--prev { left: 16px; }
.carousel__arrow--next { right: 16px; }
.carousel__arrow .icon { width: 32px; height: 32px; stroke-width: 1.5; }

/* 카운터 pill */
.carousel__counter {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 26px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.carousel__counter .icon { width: 14px; height: 14px; stroke-width: 2; }

/* ------------------------------- 섹션 ---------------------------------- */
.section { margin-top: 56px; }

.section__head { margin-bottom: 20px; }

.section__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section__sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.section__count { color: var(--point); }

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* 가로 캐러셀 — 4개씩 한 페이지, 트랙 폭만큼 스크롤 */
.row-nav { display: flex; gap: 8px; }

.row-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--fg-2);
  transition: border-color 0.15s var(--ease), opacity 0.15s var(--ease);
}

.row-nav__btn svg { width: 17px; height: 17px; }
.row-nav__btn:hover:not(:disabled) { border-color: var(--fg); }
.row-nav__btn:disabled { opacity: 0.3; cursor: default; }

.carousel-row__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  column-gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* 카드 그림자·호버가 잘리지 않게 아래 여백 */
  padding-bottom: 4px;
}

.carousel-row__track::-webkit-scrollbar { display: none; }
.carousel-row__track > .product { scroll-snap-align: start; }

/* 홈 4열과 같은 규격 */
.carousel-row__track .product__img { width: 72%; height: 72%; }
.carousel-row__track .product__brand,
.carousel-row__track .product__name { font-size: 14px; }
.carousel-row__track .product__like { width: 26px; height: 26px; }

/* 숏컷 8 x 2 */
.shortcuts {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 16px;
  row-gap: 28px;
}

.shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.shortcut__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface);
  transition: transform 0.2s var(--ease);
}

/* 기본은 사각형 한 변의 절반. --logo-scale로 브랜드별 광학 보정.
   색(#222222)은 SVG 파일 자체에 들어있음 */
.shortcut__logo {
  --logo-scale: 1;
  width: calc(50% * var(--logo-scale));
  height: calc(50% * var(--logo-scale));
  object-fit: contain;
}

.shortcut:hover .shortcut__thumb { transform: translateY(-3px); }

.shortcut__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  text-align: center;
  line-height: 1.3;
}

/* 상품 6 x 3 */
.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 20px;
  row-gap: 40px;
}

/* 홈 추천 영역 — 4열로 카드와 사진을 크게 */
.products--lg {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 46px;
}

.products--lg .product__img { width: 72%; height: 72%; }
.products--lg .product__brand { font-size: 14px; }
.products--lg .product__name { font-size: 14px; }
.products--lg .product__like { width: 26px; height: 26px; }

.product__link { display: block; }

/* 배경 없이 이미지만 — 사각형 한 변의 절반 크기로 가운데 정렬 */
.product__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.product__img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: transform 0.2s var(--ease);
}

.product:hover .product__img { transform: scale(1.06); }

/* 관심 표시 — 빈 하트만, 개수 없음 */
.product__like {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 24px;
  height: 24px;
  color: var(--muted-2);
  transition: color 0.15s var(--ease);
}

.product:hover .product__like { color: var(--fg-2); }

.product__brand {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product__name {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 가격 자리 — 카카오톡 문의 */
.product__ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--fg);
  transition: color 0.15s var(--ease);
}

.product__ask:hover { color: var(--point); }

/* 로고는 글자 크기에 맞춤 */
.product__ask img {
  width: 1em;
  height: 1em;
  border-radius: 3px;
}

/* 컬렉션 칩 — 한 줄로 가로 스크롤 */
.chips--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 26px 0 0;
  padding-bottom: 2px;
}

.chips--scroll::-webkit-scrollbar { display: none; }

/* ============================ 서브 페이지 공통 ============================ */
.page { padding-bottom: 100px; }

.page-head {
  padding: 44px 0 26px;
  border-bottom: 2px solid var(--fg);
}

.page-head__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.page-head__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.empty {
  padding: 60px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted-2);
}

/* 배지 */
.badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.badge--point { background: var(--point); color: #fff; }
.badge--fill { background: var(--fg); color: #fff; }
.badge--line { border: 1px solid var(--line-strong); color: var(--fg-2); }
.badge--muted { background: var(--surface); color: var(--muted); }

/* 칩 필터 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 22px;
}

.chip {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  transition: all 0.15s var(--ease);
}

.chip:hover { border-color: var(--fg-2); }

.chip.is-active {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
  font-weight: 600;
}

/* 별점 */
.stars {
  display: inline-block;
  color: var(--point);
  font-size: 14px;
  letter-spacing: 1px;
}

/* -------------------------------- 공지사항 ------------------------------- */
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.notice-item.is-pinned { background: #fafafa; }

.notice-item__title {
  flex: 1;
  font-size: 15px;
  color: var(--fg-2);
  transition: color 0.15s var(--ease);
}

.notice-item.is-pinned .notice-item__title {
  font-weight: 700;
  color: var(--fg);
}

.notice-item__title:hover { color: var(--point); }

.notice-item__date {
  flex: none;
  font-size: 13px;
  color: var(--muted-2);
}

/* --------------------------------- 리뷰 --------------------------------- */
.review-summary {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 28px;
  padding: 26px 32px;
  border-radius: 12px;
  background: var(--surface);
}

.review-summary__score {
  flex: none;
  text-align: center;
}

.review-summary__score strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.review-summary__count {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.review-summary__bars {
  flex: 1;
  display: grid;
  gap: 6px;
  max-width: 420px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.bar-row__label { flex: none; width: 26px; }

.bar-row__track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e4e4e4;
  overflow: hidden;
}

.bar-row__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--point);
}

.bar-row__count { flex: none; width: 18px; text-align: right; }

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

.review {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.review__title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.review__body {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg-2);
}

.review__photos {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.review__photos span {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: var(--surface);
}

.review__product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.review__thumb {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--surface);
}

.review__product-name {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.review__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}

/* ------------------------------- 문의하기 -------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  margin-top: 36px;
}

.field { margin-bottom: 18px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.field__optional {
  margin-left: 4px;
  font-weight: 400;
  color: var(--muted-2);
}

.field__control {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  font: inherit;
  font-size: 14px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s var(--ease);
}

.field__control:focus { border-color: var(--fg); }
.field__control::placeholder { color: var(--muted-2); }

.field__control--area {
  height: 180px;
  padding: 14px;
  line-height: 1.6;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
}

.checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--point);
}

.form-result {
  margin-top: 14px;
  font-size: 13px;
  min-height: 18px;
}

.form-result.is-error { color: var(--accent); }
.form-result.is-ok { color: var(--point); }

.contact__aside {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.aside__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.aside__list {
  margin: 18px 0 0;
  font-size: 13px;
}

.aside__list dt {
  margin-top: 16px;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}

.aside__list dt:first-child { margin-top: 0; }

.aside__list dd {
  margin: 5px 0 0;
  color: var(--fg-2);
  line-height: 1.55;
}

.aside__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ================================= 버튼 ================================= */
.btn-primary {
  width: 100%;
  height: 52px;
  border-radius: 8px;
  background: var(--fg);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: opacity 0.15s var(--ease);
}

.btn-primary:hover { opacity: 0.85; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  transition: border-color 0.15s var(--ease);
}

.btn-outline:hover { border-color: var(--fg); }

.btn-primary--lg, .btn-outline--lg { height: 56px; font-size: 16px; }

/* ============================== 게시글 상세 ============================== */
.article { max-width: 840px; }

.article__head {
  padding: 44px 0 22px;
  border-bottom: 2px solid var(--fg);
}

.article__title {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.article__date {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-2);
}

.article__body {
  padding: 32px 0 44px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-2);
}

.article__body p { margin-bottom: 16px; }
.article__body p:last-child { margin-bottom: 0; }

.article__body ul {
  margin: 0 0 20px;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--surface);
  list-style: none;
}

.article__body li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 14px;
}

.article__body li:last-child { margin-bottom: 0; }

.article__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
}

.article__nav { border-bottom: 1px solid var(--line); }

.article__nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 4px;
}

.article__nav-row + .article__nav-row { border-top: 1px solid var(--line); }

.article__nav-label {
  flex: none;
  width: 56px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.article__nav-link {
  font-size: 14px;
  color: var(--fg-2);
  transition: color 0.15s var(--ease);
}

.article__nav-link:hover { color: var(--point); }
.article__nav-link.is-empty { color: var(--muted-2); }

.article__actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ================================ 모달 ================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: modal-fade 0.18s var(--ease) both;
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 26px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modal-rise 0.22s var(--ease) both;
}

@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(12px); } }

.modal__x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted-2);
}

.modal__x svg { width: 20px; height: 20px; }
.modal__x:hover { color: var(--fg); }

.modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.modal__img { flex: none; width: 60px; height: 60px; object-fit: contain; }
.modal__brand { font-size: 12px; font-weight: 700; color: var(--muted); }

.modal__name {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.modal__lede {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.modal__text {
  margin: 14px 0 0;
  padding: 16px;
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.modal__actions .btn-outline,
.modal__actions .btn-primary {
  width: 100%;
  height: 48px;
  font-size: 14px;
}

.modal__note {
  margin-top: 12px;
  min-height: 18px;
  font-size: 12px;
  text-align: center;
  color: var(--muted-2);
}

.modal__note.is-ok { color: var(--point); font-weight: 600; }

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

/* ================================ 404 =================================== */
.notfound {
  max-width: 520px;
  margin: 0 auto;
  padding: 92px 0 40px;
  text-align: center;
}

.notfound__code {
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--point);
}

.notfound__title {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.notfound__lede {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.notfound__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.notfound__actions .btn-primary { width: auto; padding: 0 30px; }

.notfound__links {
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted-2);
}

.notfound__links a:hover { color: var(--point); }
.notfound__links span { margin: 0 8px; }

@media (max-width: 640px) {
  .notfound { padding-top: 56px; }
  .notfound__code { font-size: 60px; }
  .notfound__actions { flex-direction: column; }
  .notfound__actions .btn-primary, .notfound__actions .btn-outline { width: 100%; }
}

/* ========================== 약관 · 정책 · 소개 문서 ========================= */
.doc {
  max-width: 780px;
  padding-top: 34px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-2);
}

.doc h2 {
  margin: 38px 0 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.doc h2:first-child { margin-top: 0; }

.doc p { margin-bottom: 14px; }
.doc p:last-child { margin-bottom: 0; }
.doc strong { color: var(--fg); font-weight: 600; }
.doc a { color: var(--point); text-decoration: underline; }

.doc ul {
  margin: 0 0 16px;
  padding-left: 18px;
  list-style: none;
}

.doc li {
  position: relative;
  margin-bottom: 8px;
}

.doc li::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
}

.doc ul ul {
  margin: 8px 0 0;
  padding-left: 16px;
}

.doc ul ul li { font-size: 13px; color: var(--muted); }

.doc__table {
  width: 100%;
  margin: 4px 0 18px;
  border-collapse: collapse;
  border-top: 1.5px solid var(--fg);
  font-size: 13px;
}

.doc__table th, .doc__table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.doc__table th {
  width: 150px;
  font-weight: 600;
  color: var(--muted);
  background: #fafafa;
}

.doc__table thead th { width: auto; color: var(--fg); }

/* 전체 브랜드 페이지의 이름 목록 */
.brand-list { margin-bottom: 8px; }

/* ============================ 실시간 검수(QC) ============================ */
.qc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.qc-stat {
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--surface);
}

.qc-stat__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.qc-stat__value {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.qc-stat__value span {
  margin-left: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
}

/* 필터 칩 안의 건수 */
.chip b { margin-left: 3px; color: var(--point); font-weight: 700; }
.chip.is-active b { color: #fff; }

/* 카드 = 주문 1건 */
.qc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.qc-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s var(--ease);
}

.qc-card:hover { border-color: var(--line-strong); }

/* 검수 사진 4컷 */
.qc-card__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.qc-shot {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.qc-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 실제 검수 사진은 여백 없이 프레임을 꽉 채운다.
   `.qc-shot img` 보다 선택자가 강해야 contain 을 덮을 수 있음 */
.qc-shot img.qc-shot__photo {
  object-fit: cover;
  object-position: center;
}

.qc-shot__label {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.qc-card__body { padding: 16px 18px 18px; }

.qc-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qc-card__status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--point);
}

.qc-card__user {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0;
}

.qc-card__name {
  margin-top: 12px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.45;
  transition: color 0.15s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qc-card__name b { font-weight: 700; color: var(--fg); }
.qc-card__name:hover { color: var(--point); }

/* 검수 페이지는 제목 아래 구분선 없이 간다 */
body[data-page="qc"] .page-head { border-bottom: 0; }

/* ============================== 브랜드 목록 ============================== */
.brand-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  border-radius: 12px;
  background: var(--surface);
}

.brand-hero__logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: var(--bg);
}

.brand-hero__logo img {
  width: calc(58% * var(--logo-scale, 1));
  height: calc(58% * var(--logo-scale, 1));
  object-fit: contain;
}

.brand-hero__name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-hero__en {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* 목록 상단 바 — 개수 + 정렬 */
.list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 20px;
}

.list-bar__count {
  font-size: 14px;
  color: var(--muted);
}

.list-bar__count strong { color: var(--fg); font-weight: 700; }

.list-bar .chips { margin: 0; }

.list-bar .chip { height: 34px; padding: 0 14px; font-size: 13px; }

/* ============================== 상품 상세 =============================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a:hover { color: var(--fg); }
.breadcrumb span { color: var(--muted-2); }

.breadcrumb__current {
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pd__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface);
}

.pd__main img { width: 62%; height: 62%; object-fit: contain; }
.pd__thumb img { width: 62%; height: 62%; object-fit: contain; }

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

.pd__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 0.15s var(--ease);
}

.pd__thumb.is-active { border-color: var(--fg); }

.pd__brand {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.pd__brand:hover { color: var(--point); }

.section__sub a { text-decoration: underline; }
.section__sub a:hover { color: var(--point); }

.pd__name {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.pd__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.pd__rating strong { color: var(--fg); }
.pd__rating a { text-decoration: underline; }

/* 가격 자리 — 카드와 같은 카톡문의, 크기만 키움 */
.pd__ask {
  margin-top: 24px;
  gap: 8px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.pd__price-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted-2);
}

.pd__meta {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
}

.pd__meta > div {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.pd__meta > div:last-child { margin-bottom: 0; }

.pd__meta dt {
  flex: none;
  width: 44px;
  font-weight: 600;
  color: var(--muted);
}

.pd__meta dd {
  margin: 0;
  color: var(--fg-2);
}

.pd__actions { margin-top: 22px; }

/* 추가 구성품 */
.option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s var(--ease);
}

.option:hover { border-color: var(--fg-2); }
.option:has(input:checked) { border-color: var(--fg); }

/* 기본 체크박스를 숨기고 Lucide 체크로 대체 */
.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option__box {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  color: transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.option__box svg { width: 13px; height: 13px; }

.option input:checked + .option__box {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}

.option input:focus-visible + .option__box { outline: 2px solid var(--point); outline-offset: 2px; }

.option__name { color: var(--fg-2); }

.pd__notice {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.pd__notice strong { color: var(--fg-2); font-weight: 600; }

/* 스펙 표 */
.spec {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--fg);
  font-size: 14px;
}

.spec th, .spec td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec th {
  width: 160px;
  font-weight: 600;
  color: var(--muted);
  background: #fafafa;
}

.spec td { color: var(--fg-2); }

/* 안내 카드 */
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.note h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.note p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ================================= 푸터 ================================= */
.footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.footer__inner { padding-block: 48px 44px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 300px;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer__col-title {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer__col { display: flex; flex-direction: column; }

.footer__link {
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.footer__link:hover { color: var(--fg); }
.footer__link.is-strong { color: var(--fg-2); font-weight: 600; }

.footer__tel {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer__hours {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  align-self: flex-start;
  transition: border-color 0.15s var(--ease);
}

.footer__cs-btn:hover { border-color: var(--fg); }

.footer__bottom { padding-top: 28px; }

.footer__biz {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  font-size: 12px;
}

.footer__biz > div { display: flex; gap: 6px; }
.footer__biz dt { color: var(--muted-2); }
.footer__biz dd { margin: 0; color: var(--muted); }

.footer__disclaimer {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-2);
}

.footer__disclaimer strong { color: var(--fg-2); font-weight: 600; }

.footer__copy {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ========================= 로그인 · 회원가입 ========================== */
.auth {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 64px 24px 72px;
}

.auth__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  color: var(--brand);
}

.auth__logo svg { height: 24px; width: auto; }

.auth__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
}

.auth__sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.auth__form { margin-top: 32px; }

.auth__keep { margin: 2px 0 20px; }

/* 입력 안 오른쪽의 눈 아이콘 */
.field__wrap { position: relative; }
.field__wrap .field__control { padding-right: 46px; }

.field__toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--muted-2);
}

.field__toggle svg { width: 19px; height: 19px; }
.field__toggle:hover { color: var(--fg-2); }

.field__control.has-error { border-color: var(--accent); }

.field__error {
  margin: 7px 0 0;
  font-size: 12px;
  color: var(--accent);
  min-height: 0;
}

.field__error:empty { display: none; }

.field__hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.field__hint strong { color: var(--fg-2); font-weight: 600; }

/* 비밀번호 강도 */
.meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.meter__bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e8e8e8;
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s var(--ease), background 0.2s var(--ease);
}

.meter__fill.is-weak { background: var(--accent); }
.meter__fill.is-fair { background: var(--point); }
.meter__fill.is-strong { background: #17a34a; }

.meter__label { font-size: 11px; font-weight: 600; }
.meter__label.is-weak { color: var(--accent); }
.meter__label.is-fair { color: var(--point); }
.meter__label.is-strong { color: #17a34a; }

/* 약관 */
.terms {
  margin: 26px 0 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.terms__all {
  margin: 0;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.terms__list { padding: 14px 16px 16px; }

.terms__list .checkbox {
  margin: 0 0 11px;
  font-size: 13px;
  color: var(--muted);
}

.terms__list .checkbox:last-child { margin-bottom: 0; }

.terms__view {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted-2);
  text-decoration: underline;
}

.terms__view:hover { color: var(--fg); }

.terms .field__error { padding: 0 16px 14px; margin: 0; }

.auth__switch {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.auth__switch a {
  font-weight: 600;
  color: var(--fg);
  text-decoration: underline;
}

.auth__help {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
}

.auth__help a:hover { color: var(--fg); }
.auth__help span { margin: 0 7px; }

.auth-foot {
  padding: 26px 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
}

.auth-foot a:hover { color: var(--fg); }
.auth-foot span { margin: 0 7px; }
.auth-foot p { margin-top: 8px; }

/* ========================= 홈 진입 애니메이션 ========================== */
/* 헤더는 위에서 통째로 내려오고, 브랜드 카드는 순서대로 살짝 떠오른다.
   홈에서만 동작하고, 모션 최소화 설정에서는 전부 꺼진다. */
@media (prefers-reduced-motion: no-preference) {
  body[data-page="home"] .header {
    animation: enter-slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body[data-page="home"] .carousel {
    animation: enter-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  }

  body[data-page="home"] .shortcut {
    animation: enter-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(260ms + var(--i, 0) * 35ms);
  }
}

@keyframes enter-slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes enter-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------- 반응형 -------------------------------- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .shortcuts { grid-template-columns: repeat(4, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .drawer__grid { grid-template-columns: repeat(4, 1fr); }
  .slide { padding: 0 44px; }
  .slide__title { font-size: 30px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .notes { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .logo svg { height: 17px; }
  .badge-2nd img { height: 21px; }
  .nav__brand { gap: 7px; }
  .shortcuts { grid-template-columns: repeat(4, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .drawer__grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { aspect-ratio: 4 / 3; }
  .slide { padding: 0 28px; }
  .slide__title { font-size: 24px; }
  .search-panel.is-open, .search-panel__inner { height: 60px; }
  .reviews { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .review-summary { flex-direction: column; align-items: flex-start; gap: 22px; }
  .review-summary__bars { width: 100%; max-width: none; }
  .qc-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-row__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
  .list-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand-hero { padding: 20px; gap: 16px; }
  .brand-hero__logo { width: 72px; height: 72px; }
  .brand-hero__name { font-size: 21px; }
  .notice-item { flex-wrap: wrap; gap: 10px 14px; }
  .notice-item__title { flex: 1 1 100%; order: 3; }
  .qc-grid { grid-template-columns: 1fr; }
  .qc-stats { grid-template-columns: 1fr; }
  .carousel-row__track { grid-auto-columns: calc((100% - 16px) / 2); column-gap: 16px; }
  .footer__cols { grid-template-columns: 1fr; }
  .spec th { width: 104px; }
  .article__nav-row { flex-wrap: wrap; gap: 6px; }
}
