/* =====================================================================
   OliDilly — style.css
   모바일 퍼스트 · 미니멀
   ※ 색상 · 글꼴은 AVON HOME 기본값을 임시로 유지 중입니다. (최종 결정 전)
   ===================================================================== */

:root {
  /* TODO: OliDilly 브랜드 색상 확정 후 교체 (현재는 임시 중립 톤) */
  --bg: #FAF8F4;          /* 기본 배경 */
  --bg-tint: #F3EFE8;     /* 섹션 구분용 배경 */
  --surface: #FFFFFF;
  --ph: #E9E3D9;          /* 이미지 자리표시 */
  --ink: #1E1D1B;         /* 본문 */
  --ink-2: #55524D;
  --ink-3: #8C877F;
  --line: #E2DCD2;
  --radius: 4px;
  --gutter: 20px;
  --maxw: 1120px;
  --wide-maxw: 1280px;    /* 헤더(PC) · HERO 공통 기준 폭 — 로고/메뉴와 HERO 좌우 기준선을 맞춤 */
  --header-h: 60px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
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; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.br-m { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn--lg { height: 56px; min-width: 240px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); height: 46px; padding: 0 20px; font-weight: 500; font-size: 14px; }
.btn--line:hover { border-color: var(--ink); opacity: 1; }
.btn--sm.btn--line { height: 38px; padding: 0 16px; font-size: 13px; font-weight: 600; border-color: var(--ink); }
/* 링크 미설정 버튼 (예: 스마트스토어 주소 입력 전) */
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--header-h);
  padding: 0 calc(var(--gutter) - 8px) 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 16px; font-weight: 700; letter-spacing: .22em; }
.nav { display: none; }
.header__mobile { display: flex; align-items: center; gap: 4px; }
.header__mobile .btn { margin-right: 4px; }
/* 모바일 헤더 SHOP — HERO의 SHOP(Primary)과 겹치지 않도록 작고 가벼운 텍스트형 내비게이션 CTA */
.header__mobile .btn--line {
  height: 32px; padding: 0 10px; border-color: transparent; background: none;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--ink);
}

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  padding: 0 var(--gutter) 32px;
  display: flex; flex-direction: column;
}
.mmenu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; margin-right: -8px; }
.mmenu__nav { display: flex; flex-direction: column; padding: 32px 0; flex: 1; }
.mmenu__nav a { font-size: 30px; font-weight: 600; letter-spacing: .06em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mmenu__actions { display: grid; gap: 10px; }

/* ---------- Hero ----------
   푸드 큐레이션 에디토리얼 톤. 색상은 「올리딜리 브랜드 소개.pptx」의 톤(크림 · 올리브 · 테라코타)을
   HERO 안에서만 사용합니다. (사이트 전체 색상은 아직 확정 전이라 :root 는 건드리지 않음)
   모바일: 메시지 → 설명 → SHOP → 소식받기 → 이미지 / 데스크톱(960px~): 왼쪽 글 · 오른쪽 이미지 */
.hero {
  --hero-ink: #2F3A24;      /* 딥 올리브 — 헤드라인 · Primary 버튼 */
  --hero-ink-2: #5E5B50;    /* 본문 */
  --hero-accent: #A6462A;   /* 테라코타 — eyebrow 포인트 */
  --hero-cream: #F6F1E6;    /* Primary 버튼 글자 */
  --hero-ph: #EAE2D2;       /* 이미지 자리표시 */
  --hero-ph-line: #D8CDB8;
  --hero-serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif; /* HERO 헤드라인 최종 확정 (2026-09-29) */
  padding: 36px var(--gutter) 56px;
}
.hero__inner { max-width: var(--wide-maxw); margin: 0 auto; display: grid; gap: 44px; }

.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; color: var(--hero-accent);
  margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.hero__title {
  font-family: var(--hero-serif); font-weight: 500;
  font-size: 30px; line-height: 1.38; letter-spacing: -0.035em;
  color: var(--hero-ink);
  margin-bottom: 20px;
}
.hero__desc { font-size: 16px; line-height: 1.75; color: var(--hero-ink-2); margin-bottom: 32px; max-width: 30em; }

.hero__actions { display: flex; flex-direction: column; gap: 8px; }
.hero__cta { height: 56px; padding: 0 32px; border-radius: 2px; font-size: 15px; transition: background-color .2s, color .2s, border-color .2s; }
.hero__cta--primary {
  background: var(--hero-ink); border-color: var(--hero-ink); color: var(--hero-cream);
  font-weight: 600; letter-spacing: .18em;
}
.hero__cta--primary:hover { opacity: 1; background: #232C1B; }
.hero__cta-arrow { letter-spacing: 0; transition: transform .2s; }
.hero__cta--primary:hover .hero__cta-arrow { transform: translateX(4px); }
/* Secondary(소식받기) — SHOP보다 가볍게.
   모바일: 텍스트 링크 / 태블릿·PC(768px~): 옅은 테두리의 작은 버튼 */
.hero__cta--secondary {
  display: inline-flex; align-items: center; justify-content: center; align-self: center;
  min-height: 44px; padding: 0 4px; /* 누르기 쉬운 높이 확보 */
  font-size: 15px; font-weight: 500; color: var(--hero-ink);
}
.hero__sub-label--wide { display: none; }
.hero__sub-label--narrow {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: rgba(47, 58, 36, .35);
}
.hero__sub-label--narrow .hero__cta-arrow { display: inline-block; text-decoration: none; }
.hero__cta--secondary:hover .hero__sub-label--narrow { text-decoration-color: currentColor; }
.hero__cta--secondary:hover .hero__cta-arrow { transform: translateX(3px); }

/* 대표 이미지 · 자리표시 */
.hero__visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--hero-ph); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-img-pos-m, 50% 50%); } /* 기준 위치는 data.js 의 hero.imagePosition(Mobile) */
.hero__ph { position: absolute; inset: 0; }
.hero__ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--hero-ph-line); } /* 얇은 액자선 */
.hero__ph span {
  position: absolute; left: 28px; bottom: 24px;
  font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #9C927E;
}

/* 모바일 전용 — 세로 간격 압축 · 소식받기는 SHOP 아래 작은 텍스트 CTA (좌측 정렬) */
@media (max-width: 767px) {
  .hero__eyebrow { margin-bottom: 16px; }          /* eyebrow → headline : 22 → 16 */
  .hero__desc { margin-bottom: 24px; }             /* 설명 → SHOP : 32 → 24 */
  .hero__actions { gap: 2px; }                     /* SHOP → 텍스트 CTA (터치 영역 44px 안의 여백 포함) */
  .hero__inner { gap: 24px; }                      /* 텍스트 CTA → 이미지 : 44 → 24 */
  .hero__cta--secondary {
    align-self: flex-start; justify-content: flex-start;
    padding: 0; font-size: 14px; color: var(--hero-ink-2);
  }
  .hero__sub-label--narrow { text-decoration: none; }
  .hero__cta--secondary:hover { color: var(--hero-ink); }
}

@media (min-width: 768px) {
  .hero { padding: 56px var(--gutter) 80px; }
  .hero__title { font-size: 40px; }
  .hero__desc { font-size: 17px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 12px; }
  .hero__cta--primary { min-width: 200px; }
  .hero__cta--secondary {
    align-self: auto; height: 56px; padding: 0 28px; border: 1px solid #CFC5B1; border-radius: 2px;
    color: var(--hero-ink-2); transition: border-color .2s, color .2s;
  }
  .hero__cta--secondary:hover { border-color: var(--hero-ink); color: var(--hero-ink); }
  .hero__sub-label--wide { display: inline; }
  .hero__sub-label--narrow { display: none; }
  .hero__visual { aspect-ratio: 16 / 10; }
}

@media (min-width: 960px) {
  .hero { padding: 64px var(--gutter) 96px; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: center;
  }
  /* 글 블록을 이미지 중앙보다 약 60px 위에 (아래 여백 120px → 중심이 60px 위로) */
  .hero__text { padding-bottom: 120px; }
  .hero__visual {
    width: 100%; aspect-ratio: 5 / 6;
    max-height: min(660px, calc(100vh - var(--header-h) - 150px)); /* 첫 화면 안에 글 · 버튼 · 이미지가 함께 보이도록 */
    min-height: 420px;
  }
  .hero__visual img { object-position: var(--hero-img-pos, 50% 50%); }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 50px; line-height: 1.32; margin-bottom: 26px; }
  .hero__desc { font-size: 18px; margin-bottom: 40px; }
  .hero__eyebrow { margin-bottom: 28px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { margin-bottom: 28px; }
.section__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .24em; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.section__title { font-size: 28px; font-weight: 700; letter-spacing: .04em; line-height: 1.25; }
.section__lead { font-size: 16px; color: var(--ink-2); margin-top: 8px; }

/* ---------- Placeholder image ---------- */
.ph {
  background: var(--ph); color: var(--ink-3);
  display: grid; place-items: center; text-align: center;
  font-size: 11px; letter-spacing: .2em; font-weight: 600;
}
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ph); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .ph { position: absolute; inset: 0; }

.more { display: inline-flex; gap: 6px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more span { transition: transform .15s; }
.more:hover span { transform: translateX(3px); }

/* ---------- Search / Chips ---------- */
.search {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px;
}
.search:focus-within { border-color: var(--ink); }
.search svg { color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.search input::placeholder { color: var(--ink-3); }

.chips {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); background: transparent;
}
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 24px 12px; grid-template-columns: repeat(2, 1fr); }
.card { display: block; }
.card .media { aspect-ratio: 1; margin-bottom: 10px; }
.card img { transition: transform .4s; }
.card:hover img { transform: scale(1.03); }
.card__title { font-size: 15px; font-weight: 500; line-height: 1.45; }
.card__meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; }
.card__meta svg { width: 14px; height: 14px; }
/* CONTENTS — 컴팩트 썸네일 · 제목 2줄 · 더보기 */
.grid--contents { gap: 18px 12px; }
.grid--contents .media { aspect-ratio: 1 / 1; margin-bottom: 8px; }
.grid--contents .card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid--contents .card__meta { margin-top: 2px; }

.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }

/* OUR PRODUCTS — 낮은 이미지 비율 · 제품명 2줄 · 더보기 */
.grid--items { gap: 20px 12px; }
.grid--items .media { aspect-ratio: 7 / 5; margin-bottom: 8px; }
.grid--items .card__title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid--items .card__row { display: flex; align-items: flex-start; gap: 6px; }
.grid--items .card__row .card__title { min-width: 0; }
.card__brand { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 2px; text-transform: uppercase; }
/* 사진 전체 표시형 카드: 원본은 카드 높이에 맞춰 가운데, 좌우는 같은 사진을 흐리게 */
.card .media--contain img.media__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px); transform: scale(1.25); }
.card .media--contain img.media__fg { position: absolute; top: 0; left: 50%; width: auto; height: 100%; max-width: none; transform: translateX(-50%); }

.grid--items { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 좁은 화면에서도 2열 유지 */
.items__more-wrap { text-align: center; margin-top: 28px; }
.items__more-wrap .more { cursor: pointer; }
.contents__more-wrap { text-align: center; margin-top: 28px; }
.contents__more-wrap .more { cursor: pointer; }

/* ---------- Featured (뼈대) ---------- */
.featured { display: grid; gap: 28px; }
.featured__media .media { aspect-ratio: 4 / 3; }
.featured__title { font-size: 22px; font-weight: 600; line-height: 1.4; }
.featured__desc { color: var(--ink-2); margin: 10px 0 20px; }

/* ---------- Shop (뼈대) ---------- */
.shop { text-align: center; }
.shop__desc { color: var(--ink-2); margin: 8px 0 0; }
.shop .btn { margin-top: 28px; min-width: 240px; }

/* ---------- Guide (여러 자료 목록) ---------- */
.guides { display: grid; gap: 64px; }
.guide { display: grid; gap: 36px; }
.guide__cover {
  width: 72%; max-width: 320px; margin: 0 auto; aspect-ratio: 3 / 4;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  border-radius: 2px; overflow: hidden;
}
.guide__cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-default {
  height: 100%; background: #EFE9DF; padding: 28px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cover-default__brand { font-size: 10px; letter-spacing: .3em; font-weight: 700; }
.cover-default__title { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.cover-default__foot { font-size: 10px; letter-spacing: .2em; color: var(--ink-2); border-top: 1px solid var(--ink); padding-top: 10px; }
.guide__title { font-size: 22px; font-weight: 600; margin-top: 16px; line-height: 1.4; }
.guide__desc { color: var(--ink-2); margin: 10px 0 28px; }
.guide__body .btn { width: 100%; }

/* ---------- About ---------- */
/* ---------- About (뼈대 — 사진은 선택) ---------- */
.about { display: grid; gap: 20px; }
.about__photo { aspect-ratio: 4 / 5; max-width: 320px; overflow: hidden; border-radius: 6px; background: var(--ph); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 10px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 64px 0; }
.final__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.final__desc { color: var(--ink-2); margin: 8px 0 24px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: 13px; color: var(--ink-2); }
.footer .logo { color: var(--ink); margin-bottom: 10px; }
.footer__links, .footer__legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer__links a, .footer__legal a { display: inline-flex; align-items: center; min-height: 32px; } /* 누르기 쉬운 높이 확보 */
.footer a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-3); margin-top: 8px; font-size: 12px; }

/* ---------- Form (소식받기 페이지 공통) ---------- */
body.no-scroll { overflow: hidden; }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field em { font-style: normal; color: var(--ink-3); }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
}
.field input:focus { border-color: var(--ink); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; color: var(--ink-3); margin-left: 4px; }
.form-error { min-height: 20px; font-size: 13px; color: #A1402F; margin: 8px 0 10px; }

/* =====================================================================
   Tablet / PC
   ===================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 72px; }
  .br-m { display: none; }

  .section { padding: 112px 0; }
  .section__head { margin-bottom: 36px; }
  .section__title { font-size: 40px; }
  .section__lead { font-size: 18px; }

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

  .search { max-width: 520px; }
  .chips { margin-left: 0; margin-right: 0; padding: 0; flex-wrap: wrap; }

  .guide { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .guide__cover { width: 100%; max-width: 380px; }
  .cover-default { padding: 40px 32px; }
  .cover-default__title { font-size: 28px; }
  .guide__title { font-size: 28px; }
  .guide__body .btn { width: auto; }

  .about { max-width: 820px; }
  .featured { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .featured__title { font-size: 28px; }
  .final { padding: 96px 0; }
  .final__title { font-size: 36px; }

}

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
  .nav a { color: var(--ink-2); }
  .nav a:hover { color: var(--ink); }
  .nav .btn { margin-left: 4px; letter-spacing: 0; }
  .nav .btn + .btn { margin-left: -24px; } /* SHOP · 소식받기 버튼은 붙여서 강조 */
  .nav a.btn--line { color: var(--ink); }
  .header__mobile { display: none; }
  .header__inner { padding-right: var(--gutter); max-width: calc(var(--wide-maxw) + var(--gutter) * 2); } /* 내용 폭 1280px = HERO */
  .logo { font-size: 17px; }

  .grid--items { grid-template-columns: repeat(6, 1fr); gap: 32px 16px; }
  .grid--contents { grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
}

/* =====================================================================
   OUR PRODUCTS — 검수 시안 최종 확정안 적용 (2026-09-30)
   HERO 와 같은 디자인 언어(크림 · 딥 올리브 · 테라코타 · Noto Serif KR).
   색상 변수는 이 섹션 안에서만 사용합니다. (사이트 전체 :root 는 변경하지 않음)
   Mobile 기준 → 960px 이상 Desktop
   ===================================================================== */
.op {
  --op-ink: #2F3A24;       /* deep olive */
  --op-ink-2: #5E5B50;
  --op-ink-3: #8F8878;
  --op-accent: #A6462A;    /* terracotta */
  --op-line: #DCD3C2;
  --op-serif: "Noto Serif KR", serif;
  --op-name: "Noto Serif", "Noto Serif KR", serif;   /* 제품명: 라틴 세리프 먼저 (ć · ž · š) */
  padding: 72px 20px 88px;
  color: var(--op-ink);
}
.op__inner { max-width: var(--wide-maxw); margin: 0 auto; }

.op__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .26em; color: var(--op-accent); }
.op__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* 챕터 머리 */
.op__chapter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-top: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--op-line); }
.op__chapter-no { font-family: var(--op-serif); font-size: 15px; font-weight: 500; letter-spacing: .08em; }
.op__chapter-no b { font-weight: 500; color: var(--op-accent); margin-right: 10px; }
.op__chapter-meta { font-size: 13px; color: var(--op-ink-3); letter-spacing: .04em; }

/* 메시지 */
.op__intro { display: grid; gap: 28px; margin-top: 40px; }
.op__kicker { font-size: 12px; font-weight: 600; letter-spacing: .22em; margin-bottom: 16px; }
.op__title { font-family: var(--op-serif); font-weight: 500; font-size: 28px; line-height: 1.4; letter-spacing: -0.035em; }
.op__desc { font-size: 15px; line-height: 1.75; color: var(--op-ink-2); margin-top: 16px; max-width: 30em; }

/* TASTE FLOW — Mobile: 한 줄 압축형 + 설명 / Desktop: 선 그림 (최종 확정) */
.op__flow-label { font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--op-ink-3); margin-bottom: 14px; }
.op__flow-map { display: none; width: 100%; height: auto; overflow: visible; }
.op__flow-map line, .op__flow-map path { stroke: #B3A792; stroke-width: 1.2; fill: none; }
.op__flow-map text { stroke: none; } /* 사이트 공통 svg(아이콘) 선 스타일이 글자에 적용되지 않게 */
.op__flow-map .k { font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: .16em; fill: var(--op-ink-2); }
.op__flow-map .k.strong { fill: var(--op-accent); }
.op__flow-compact { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--op-ink-2); }
.op__flow-compact i { flex: 1 1 10px; max-width: 22px; height: 1px; background: #B8AD97; }
.op__flow-compact i.fork { max-width: 18px; height: 22px; background: none; border: 1px solid #B8AD97; border-right: 0; border-radius: 8px 0 0 8px; }
.op__flow-compact .ends { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.op__flow-compact .ends b { font-weight: 600; color: var(--op-accent); }
.op__flow-caption { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--op-ink-2); }

/* 음식 선택 — Mobile: 2열 버튼 / Desktop: 메뉴판 글자 */
.op__foods { margin-top: 48px; padding: 22px 0 20px; border-top: 1px solid var(--op-line); border-bottom: 1px solid var(--op-line); }
.op__foods-q { display: flex; flex-direction: column; gap: 8px; }
.op__foods-en { font-size: 10px; font-weight: 600; letter-spacing: .24em; color: var(--op-ink-3); }
.op__foods-ko { font-family: var(--op-serif); font-weight: 500; font-size: 21px; line-height: 1.35; letter-spacing: -0.02em; }
.op__foods-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.op__food { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 1px solid var(--op-line); border-radius: 2px; font-size: 15px; color: var(--op-ink); }
.op__food.is-active { border-color: var(--op-ink); font-weight: 600; }

/* 선택 결과 요약 */
.op__pick { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 16px; margin: 24px 0 -8px; scroll-margin-top: calc(var(--header-h) + 16px); }
.op__pick[hidden] { display: none; }
.op__pick-text { font-size: 15px; line-height: 1.6; color: var(--op-ink-2); }
.op__pick-text #opPickFood { color: var(--op-ink); font-weight: 600; }
.op__pick-text b { font-weight: 600; color: var(--op-accent); }
.op__pick-names { display: none; }
.op__pick-clear { font-size: 14px; color: var(--op-ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(47,58,36,.35); min-height: 44px; }

/* 제품 목록 */
.op__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; }
.op__others { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--op-ink-3); }
.op__others[hidden] { display: none; }
.op__others::before, .op__others::after { content: ""; flex: 1; height: 1px; background: var(--op-line); }
.is-picking .pcard.is-rec { order: 0; }                 /* Mobile: 추천 오일을 앞으로 (흐리게 하거나 접지 않음) */
.is-picking .op__others { order: 1; }
.is-picking .pcard:not(.is-rec) { order: 2; }

/* 제품 카드 — 이미지 (최종 확정: 정사각형 1:1 · 병 높이 78% · 정중앙 · 크림 배경 · 약한 접지 그림자) */
.pcard { position: relative; }
.pcard__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px;
  background: radial-gradient(ellipse 70% 62% at 50% 47%, #F8F5EF 0%, #F4F0E8 58%, #EFEAE1 100%); }
.pcard__media::after { content: ""; position: absolute; left: 50%; top: 88%; width: 32.2%; height: 4.5%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(92,78,56,.26), rgba(92,78,56,.10) 55%, rgba(92,78,56,0)); z-index: 0; }
.pcard__bottle { position: absolute; left: 50%; top: 49%; height: 78%; width: auto; max-width: none; z-index: 1;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); mix-blend-mode: multiply; }

/* 제품 카드 — 정보 (제품명 > 한 줄 설명 > PAIRING > 성격 태그) */
.pcard__body { padding-top: 16px; }
.pcard__char { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--op-accent); }
.pcard__name { font-family: var(--op-name); font-weight: 500; font-size: 25px; line-height: 1.3; letter-spacing: -0.02em; margin-top: 10px; }
.pcard__name .ko { font-family: var(--op-serif); font-size: .92em; letter-spacing: -0.02em; white-space: nowrap; }
.pcard__name.is-wrapped .sep { display: none; }
.pcard__name.is-wrapped .ko { display: block; margin-top: 2px; }
.pcard__msg { font-size: 16.5px; line-height: 1.6; color: var(--op-ink-2); margin-top: 10px; }
.pcard__facts { margin: 18px 0 0; display: grid; grid-template-columns: 76px 1fr; gap: 6px 12px; font-size: 16px; line-height: 1.55; }
.pcard__facts dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--op-ink-3); padding-top: 4px; }
.pcard__facts dd { margin: 0; color: var(--op-ink); }
.pcard__pair .hit { color: var(--op-accent); font-weight: 600; }

/* 자세히 보기 — 같은 카드 안에서 TASTE · PAIRING · TYPE · ORIGIN 펼침 */
.pcard__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--op-ink); }
.pcard__label { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(47,58,36,.35); }
.pcard__sign { display: inline-block; width: 1em; text-align: center; }
.pcard__sign--desk { display: none; }
.pcard__detail { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--op-line); }
.pcard__detail[hidden] { display: none; }
.pcard__detail .pcard__facts { margin-top: 0; gap: 8px 12px; }

/* 챕터 끝 */
.op__closing { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--op-line); display: flex; flex-direction: column; gap: 14px; }
.op__closing p { font-size: 15px; color: var(--op-ink-2); }
.op__closing a { font-size: 15px; font-weight: 600; letter-spacing: .16em; color: var(--op-ink); }

@media (min-width: 960px) {
  .op { padding: 112px 40px 128px; }
  .op__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-top: 56px; }
  .op__title { font-size: 38px; line-height: 1.36; }
  .op__desc { font-size: 16px; }
  .op__flow { justify-self: end; width: 100%; max-width: 600px; padding-bottom: 4px; }
  .op__flow-map { display: block; }
  .op__flow-compact, .op__flow-caption { display: none; }
  .op__foods { display: flex; align-items: center; gap: 40px; margin-top: 64px; padding: 20px 0; }
  .op__foods-q { gap: 4px; flex: none; }
  .op__foods-list { margin: 0; display: flex; flex-wrap: wrap; gap: 0 30px; }
  .op__food { min-height: 40px; width: auto; border: 0; border-bottom: 1px solid transparent; border-radius: 0; font-size: 16px; padding: 0 2px; }
  .op__food.is-active { border-bottom-color: var(--op-accent); }
  .op__food--all { display: none; }
  .op__pick { margin: 32px 0 0; }
  .op__pick-names { display: inline; margin-left: 10px; color: var(--op-ink); }
  .op__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 40px; margin-top: 56px; }
  .op__others { display: none !important; }
  .is-picking .pcard { order: 0 !important; }        /* Desktop: 카드 순서 · 위치 고정 */
  .pcard__body { padding-top: 24px; }
  .pcard__name { font-size: 30px; margin-top: 12px; }
  .pcard__msg { font-size: 17px; margin-top: 12px; }
  .pcard__facts { margin-top: 22px; grid-template-columns: 80px 1fr; }
  .pcard__toggle { min-height: 0; margin-top: 24px; padding-bottom: 2px; border-bottom: 1px solid var(--op-ink); }
  .pcard__label { text-decoration: none; }
  .pcard__sign--mob { display: none; }
  .pcard__sign--desk { display: inline-block; }
  .op__closing { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =====================================================================
   2026-10-09 사이트 단순화 — 헤더 메뉴 · 홈 '맛있는 이야기' · '올리딜리 올리브오일' 요약
   (기존 규칙은 그대로 두고 아래에 추가)
   ===================================================================== */
.snav { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.snav a[aria-current="page"] { border-bottom: 1.5px solid var(--ink); }
.snav .btn--sm.btn--line { height: 32px; padding: 0 12px; font-size: 12px; letter-spacing: .14em; border-color: var(--ink); }

.hsec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hsec__title { font-family: "Noto Serif KR", serif; font-weight: 500; font-size: 26px; line-height: 1.3; letter-spacing: -0.02em; }
.hsec__sub { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.hsec__head .more { white-space: nowrap; font-size: 14px; }

.story-lead { display: block; }
.story-lead .media { aspect-ratio: 4 / 5; }
.story-lead .media img { transition: transform .4s; }
.story-lead:hover .media img { transform: scale(1.02); }
.story-tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #A6462A; margin-top: 12px; }
.story-lead__title { font-size: 19px; font-weight: 600; line-height: 1.45; margin-top: 4px; }
.story-lead__sum { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.story-rows { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.story-row { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.story-row .media { aspect-ratio: 1; }
.story-row .story-tag { margin-top: 0; }
.story-row__title { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; }

.oilsum__desc { font-size: 15px; color: var(--ink-2); margin: -8px 0 18px; }
.oilsum__strip { list-style: none; display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.oilsum__strip::-webkit-scrollbar { display: none; }
.oilsum__strip li { flex: 0 0 148px; scroll-snap-align: start; }
.oilcard { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 10px 14px; }
.oilcard__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 6px; background: radial-gradient(circle, #F8F5EF 0%, #F4F0E8 55%, #EFEAE1 100%); }
.oilcard__media img { height: 78%; width: auto; }
.oilcard__name { display: block; font-family: "Noto Serif", serif; font-weight: 500; font-size: 14px; margin-top: 10px; line-height: 1.3; }
.oilcard__ko { display: block; font-size: 12px; color: var(--ink-3); }
.oilcard__sum { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.oilsum__links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }

@media (min-width: 768px) {
  .snav { gap: 28px; }
  .hsec__title { font-size: 34px; }
  .stories #storiesBody { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
  .story-rows { margin-top: 0; }
  .oilsum__strip { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .oilsum__strip li { flex: none; }
}
@media (min-width: 768px) {
  .stories #storiesBody.is-single { display: block; }
  .is-single .story-lead { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: center; }
  .is-single .story-lead .story-tag { margin-top: 0; }
  .is-single .story-lead__title { font-size: 24px; }
  .is-single .story-lead__sum { font-size: 15px; margin-top: 10px; }
}
