:root {
  --ink: #1A1815;
  --sub: #6E6559;
  --line: #E6E0D4;
  --bg: #FFFFFF;
  --bg-soft: #F5F1E8;
  --accent: #C1571A;
  --accent-deep: #8A3D10;
}

html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
details > summary::-webkit-details-marker { display: none; }

.ns_container { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ns_serif { font-family: 'Gowun Batang', 'Noto Serif KR', serif; }

/* dot-bracket micro label, e.g. "· 구매하기 ·" (참고 이미지의 공통 서명 요소) */
.ns_dotlabel::before { content: '· '; }
.ns_dotlabel::after { content: ' ·'; }

/* header */
.ns_nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ns_nav ul { display: flex; justify-content: center; gap: 44px; font-size: 13.5px; font-weight: 500; list-style: none; margin: 0; padding: 0; }
.ns_nav a { display: block; padding: 16px 0; }
.ns_nav a:hover { color: var(--accent); }

/* hero: split screen (이미지 절반 + 텍스트 절반) */
.ns_hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.ns_hero_media { position: relative; overflow: hidden; background: var(--bg-soft); }
.ns_hero_media picture, .ns_hero_media img { width: 100%; height: 100%; }
.ns_hero_media img { object-fit: cover; }
.ns_hero_text { display: flex; align-items: center; justify-content: center; padding: 48px; text-align: center; }
@media (max-width: 900px) {
  .ns_hero { grid-template-columns: 1fr; min-height: 0; }
  .ns_hero_media { aspect-ratio: 4 / 3; }
  .ns_hero_text { padding: 40px 24px; }
}

/* outline dot-label button (참고 이미지 "· Découvrir les produits ·") */
.ns_outline_btn { display: inline-block; border: 1px solid var(--ink); padding: 12px 28px; font-size: 13px; letter-spacing: .02em; }
.ns_outline_btn:hover { background: var(--ink); color: #fff; }

/* section headings */
.ns_section_head { text-align: center; margin: 88px 0 40px; }
.ns_section_head h2 { font-size: 26px; font-weight: 500; margin: 0; }
.ns_section_head_row { display: flex; align-items: baseline; justify-content: space-between; margin: 80px 0 32px; }
.ns_section_head_row h2 { font-size: 21px; font-weight: 500; margin: 0; }
.ns_more { font-size: 12.5px; color: var(--sub); border-bottom: 1px solid var(--sub); padding-bottom: 2px; }
.ns_more:hover { color: var(--ink); border-color: var(--ink); }

/* 카테고리 타일 그리드 (참고 이미지 "Explorer l'univers" 4열 사진 타일 + 점 라벨) */
.ns_tile_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ns_tile_grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ns_tile_photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); margin-bottom: 20px; }
.ns_tile_photo picture, .ns_tile_photo img { width: 100%; height: 100%; }
.ns_tile_photo img { object-fit: cover; transition: transform .5s ease; }
.ns_tile:hover .ns_tile_photo img { transform: scale(1.04); }
.ns_tile_label { text-align: center; font-size: 13.5px; }
.ns_tile_label span { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
@media (max-width: 900px) { .ns_tile_grid, .ns_tile_grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }

/* 서비스 안내 아이콘 로우 (참고 이미지 "À votre service") */
.ns_icon_row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; }
.ns_icon_oval { width: 76px; height: 96px; border: 1px solid var(--line); border-radius: 50%/38%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.ns_icon_oval svg { width: 30px; height: 30px; stroke: var(--ink); }
.ns_icon_caption { font-size: 12px; color: var(--sub); line-height: 1.5; }
@media (max-width: 900px) { .ns_icon_row { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } }

/* product grid — 카드 높이/내부 배치 통일 */
.ns_prd_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; align-items: stretch; }
.ns_prd_grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.ns_prd_card { display: flex; flex-direction: column; height: 100%; }
.ns_prd_thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); margin-bottom: 18px; }
.ns_prd_thumb picture, .ns_prd_thumb img { width: 100%; height: 100%; }
.ns_prd_thumb img { object-fit: cover; transition: transform .5s ease; }
.ns_prd_card:hover .ns_prd_thumb img { transform: scale(1.04); }
.ns_prd_eyebrow { font-size: 11px; letter-spacing: .1em; color: var(--sub); min-height: 14px; }
.ns_prd_name {
  font-size: 14.5px; margin: 6px 0 10px; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.5em * 2);
}
.ns_prd_price { margin-top: auto; }
.ns_prd_price .original { font-weight: 500; text-decoration: line-through; font-size: 13px; color: #a39a8c; }
.ns_prd_price .sale { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.ns_prd_price .percent { color: var(--accent); font-weight: 600; font-size: 13px; margin-right: 6px; }
.ns_buy_btn { display: block; text-align: center; background: var(--ink); color: #fff; padding: 13px; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; margin-top: 14px; }
.ns_buy_btn:hover { background: var(--accent-deep); }

/* 반응형 테이블 — 데스크톱은 표, 모바일(640px 이하)은 라벨형 카드로 스택 */
.ns_table_wrap { overflow-x: auto; }
.ns_table { width: 100%; text-align: left; border-collapse: collapse; font-size: 14px; }
.ns_table th { padding: 10px 16px 10px 0; font-size: 11px; font-weight: 500; color: var(--sub); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.ns_table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 640px) {
  .ns_table_wrap { overflow-x: visible; }
  .ns_table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ns_table, .ns_table tbody, .ns_table tr, .ns_table td { display: block; width: 100%; }
  .ns_table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ns_table td { border-bottom: none; padding: 3px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: right; }
  .ns_table td::before { content: attr(data-label); font-size: 11px; color: var(--sub); font-weight: 500; text-align: left; }

  /* 항목:값 형태의 2열 표(헤더 없음)는 라벨 의사요소 없이 위아래로만 쌓는다 */
  .ns_table.kv td { display: block; text-align: left; padding: 3px 0; }
  .ns_table.kv td::before { content: none; }
  .ns_table.kv td:first-child { font-size: 11px; color: var(--sub); font-weight: 500; margin-top: 12px; }
  .ns_table.kv tr:first-child td:first-child { margin-top: 0; }
}

/* 본문 중간 삽입 이미지(스토리텔링·설명 섹션용) */
.ns_body_img { overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; }
.ns_body_img picture, .ns_body_img img { width: 100%; height: 100%; display: block; }
.ns_body_img img { object-fit: cover; }

/* 텍스트 나열 섹션 개선 — 번호 배지 + 배경 카드로 시각적 리듬 부여 */
.ns_info_grid { display: grid; gap: 20px; }
.ns_info_grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ns_info_grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ns_info_card { background: var(--bg-soft); padding: 28px 26px; }
.ns_info_card .ns_info_num { display: block; font-family: 'Gowun Batang', 'Noto Serif KR', serif; font-size: 13px; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
.ns_info_card h2, .ns_info_card h3 { font-size: 16.5px; font-weight: 500; margin: 0 0 8px; color: var(--ink); }
.ns_info_card p { font-size: 13.5px; color: var(--sub); line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .ns_info_grid.cols-2, .ns_info_grid.cols-3 { grid-template-columns: 1fr; } }

/* 브랜드 소개 (참고 이미지 우측 텍스트 블록 톤 — 다크 배너 대신 라이트+헤어라인) */
.ns_brand_section { text-align: center; padding: 96px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.ns_brand_section h2 { font-size: 24px; font-weight: 500; margin: 0 auto 20px; line-height: 1.6; max-width: 620px; }

/* footer */
.ns_footer { border-top: 1px solid var(--line); background: #fff; padding: 48px 0 60px; font-size: 12px; color: var(--sub); line-height: 2; }
.ns_footer .ns_footer_logo { font-weight: 500; letter-spacing: 2px; font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.ns_footer .ns_footer_menu { display: flex; gap: 22px; font-size: 13px; color: #333; font-weight: 500; margin-bottom: 18px; }
.ns_footer .ns_footer_menu a:hover { color: var(--accent); }
.ns_footer .ns_copyright { margin-top: 14px; color: #b7ad9e; }

@media (max-width: 900px) {
  .ns_nav { display: none; }
  .ns_tile_grid { grid-template-columns: repeat(2, 1fr); }
  .ns_prd_grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 세부페이지 섹션 구분 · 헤딩 위계 (hero 뒤 <article> 구조에만 적용, 홈 제외) ── */
main > article { padding-bottom: 72px !important; }
main > article ~ section:not(.border-t) { padding-top: 0 !important; padding-bottom: 72px !important; background: transparent; }
/* 섹션 사이 헤어라인 + 중앙 점 장식 */
main > article ~ section:not(.border-t)::before {
  content: ''; display: block; height: 1px; background: var(--line); margin: 0 0 64px;
}
/* H2: 섹션 대제목 — 세리프 · 중앙 · 하단 포인트 바 */
main > article ~ section > h2,
main > article ~ section > .ns_section_head h2 {
  font-family: 'Gowun Batang', 'Noto Serif KR', serif; font-size: 25px; font-weight: 500; line-height: 1.4;
  text-align: center; color: var(--ink); margin: 0 0 40px; padding-bottom: 18px; position: relative;
}
main > article ~ section > h2::after,
main > article ~ section > .ns_section_head h2::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 28px; height: 2px; margin-left: -14px; background: var(--accent);
}
main > article ~ section .ns_section_head { margin: 0 !important; }
main > article ~ section .ns_section_head h2 { margin-bottom: 40px; }
/* 카드·소항목 제목은 H2여도 시각적으로 한 단계 낮춰 위계 구분 (H3 수준) */
.ns_info_card h2, .ns_info_card h3 { font-family: 'Noto Sans KR', sans-serif; font-size: 16px; font-weight: 700; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid rgba(26,24,21,.1); }
/* FAQ 질문(H3)은 가장 작은 단계 */
#faq h3 { font-size: 15.5px; font-weight: 500; }
/* 본문(article) 내부 소제목이 있을 경우 */
main > article h2 { font-family: 'Gowun Batang', 'Noto Serif KR', serif; font-size: 22px; font-weight: 500; color: var(--ink); margin: 48px 0 12px; }
main > article h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 32px 0 8px; }
/* 인용구 가독성 */
main > article blockquote { background: var(--bg-soft); border-left: 3px solid var(--accent) !important; padding: 20px 24px !important; margin: 36px 0 !important; font-style: normal !important; font-family: 'Gowun Batang', 'Noto Serif KR', serif; font-size: 16px !important; color: var(--ink) !important; }
@media (max-width: 640px) {
  main > article ~ section:not(.border-t)::before { margin-bottom: 44px; }
  main > article ~ section > h2, main > article ~ section > .ns_section_head h2 { font-size: 22px; }
}
/* 본문 사진 묶음: 비율 통일 */
main > article figure picture, main > article figure img { display: block; width: 100%; }
main > article figure img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
main > article figure figcaption { text-align: left; }
/* 섹션 안 인용구도 동일 스타일 (article 밖에 놓인 페이지 대응) */
main > article ~ section blockquote { background: var(--bg-soft); border-left: 3px solid var(--accent) !important; padding: 22px 26px !important; margin: 0 auto !important; max-width: 768px; font-style: normal !important; font-family: 'Gowun Batang', 'Noto Serif KR', serif; font-size: 16px !important; line-height: 1.8; color: var(--ink) !important; }
main > article ~ blockquote { background: var(--bg-soft); border-left: 3px solid var(--accent) !important; padding: 22px 26px !important; margin: 0 auto 72px !important; max-width: 720px; font-style: normal !important; font-family: 'Gowun Batang', 'Noto Serif KR', serif; font-size: 16px !important; line-height: 1.8; color: var(--ink) !important; }
/* 카드 안 사진 비율 통일 */
.ns_info_card picture, .ns_info_card img { display: block; width: 100%; }
.ns_info_card img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; margin-bottom: 14px; }
