/* =========================================================
   SNACK UNCLE - style.css
   색상·폰트는 :root 변수만 바꾸면 사이트 전체에 반영됩니다.
   ========================================================= */
:root {
  --cream:  #FFF7EA;   /* 기본 배경 */
  --paper:  #FFFFFF;
  --ink:    #1C2747;   /* 메인 글자·진한 배경 (네이비) */
  --muted:  #5E6680;
  --accent: #F2643B;   /* 포인트 (토마토 오렌지) */
  --butter: #FFD36E;   /* 보조 (버터 옐로) */
  --sky:    #CFE5F3;   /* 보조 (하늘) */
  --mint:   #CDEBD9;   /* 보조 (민트) */
  --line:   #EADFCB;
  --naver:  #03C75A;
  --coupang:#E52528;

  --font-display: "Bricolage Grotesque", "Pretendard", sans-serif;
  --font-body: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Segoe UI", sans-serif;

  --radius: 20px;
  --container: 1280px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--cream);
  line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.center { text-align: center; }

/* ---------- 이미지 자리표시 (파일이 없을 때 자동으로 나타남) ---------- */
.ph {
  width: 100%; height: 100%; min-height: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px; font-size: 12px; color: var(--muted); word-break: break-all;
  background: repeating-linear-gradient(45deg, #F3E7D2, #F3E7D2 10px, #F8EFE0 10px, #F8EFE0 20px);
}

/* 액자 규칙: 틀이 크기를 정하고 사진은 꽉 채움 (어떤 크기의 사진도 레이아웃 유지) */
.cat-img img, .product-thumb img, .recipe-img img, .list-img img, .insta-item img,
.slide-media img, .slide-media video, .split-img img, .feature-img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---------- 제목 스타일 ---------- */
.display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.02em; line-height: .95;
}
.section-title { font-size: clamp(34px, 5vw, 64px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 560px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border: 2px solid currentColor; }
.btn-naver { background: var(--naver); color: #fff; }
.btn-coupang { background: var(--coupang); color: #fff; }
.link-arrow { font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ---------- 헤더 ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--cream); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner {
  height: var(--header-h); max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: block; flex-shrink: 0; }
.logo img { height: 30px; width: auto; }          /* 헤더 로고 높이 */
.footer .logo-footer img { height: 64px; }         /* 푸터 로고 (서브타이틀 포함) */
.logo span { color: var(--accent); margin-left: 3px; }
.logo-light { color: #fff; }
.nav { display: flex; gap: 30px; font-weight: 600; font-size: 15px; }
.nav > a { position: relative; padding: 6px 0; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav > a:hover::after, .nav > a.active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; }
.lang-switch > * { padding: 4px 10px; border-radius: 999px; }
.lang-switch strong { background: var(--ink); color: #fff; }
.lang-switch a:hover { background: rgba(28,39,71,.08); }
.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 13px; } .menu-toggle span:nth-child(2) { top: 19px; } .menu-toggle span:nth-child(3) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 메인 히어로 슬라이더 ---------- */
.hero-slider { position: relative; padding: 0 32px 32px; }
.hero-slides { position: relative; height: min(78vh, 760px); min-height: 520px; border-radius: 28px; overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; }
.slide-copy {
  position: absolute; left: 40px; bottom: 40px; max-width: 560px;
  background: var(--cream); border-radius: var(--radius); padding: 36px 40px;
}
.slide-copy .display { font-size: clamp(40px, 5.4vw, 76px); margin-bottom: 16px; }
.slide-copy p { color: var(--muted); margin-bottom: 24px; }
/* 영상 슬라이드: 영상을 자르지 않고 전체 표시, 남는 공간은 영상 배경색으로 채움 */
.slide.is-video { background: #FAF3D8; }                 /* ← 영상 배경색과 맞춤 */
.slide.is-video .slide-media video { object-fit: contain; }
.slide.is-video .slide-copy { background: none; padding: 0; left: 6.8%; bottom: 7%; }
.slide.is-video .slide-copy .display,
.slide.is-video .slide-copy p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }  /* 글자는 숨기되 검색엔진용으로 유지 */
/* 문구 카드를 오른쪽에 두는 슬라이드 (주인공이 왼쪽에 있는 사진·영상용) */
.slide.copy-right .slide-copy { left: auto; right: 40px; }
.hero-dots { position: absolute; right: 64px; top: 56px; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.55); transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 32px; background: #fff; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 110px 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .lead, .bg-ink .muted { color: #C5CBE0; }
.bg-butter { background: var(--butter); }
.bg-sky { background: var(--sky); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .lead { margin-top: 16px; }

/* ---------- 카테고리 타일 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(var(--cat-cols, 6), 1fr); gap: 20px; max-width: calc(var(--cat-cols, 6) * 220px); margin: 0 auto; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-weight: 800; font-size: 16px; }
.cat-img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: transform .3s; }
.cat-tile:hover .cat-img { transform: translateY(-6px) rotate(-2deg); }
.tone-0 .cat-img { background: var(--butter); } .tone-1 .cat-img { background: var(--sky); }
.tone-2 .cat-img { background: var(--mint); } .tone-3 .cat-img { background: #FBD3C5; }
.cat-img .ph { border-radius: 50%; }

/* ---------- 제품 카드 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28,39,71,.10); }
.product-thumb { position: relative; aspect-ratio: 1; background: #F6EEDF; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.badge-new { background: var(--accent); }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-bottom: 4px; }
.product-name { font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.product-desc { font-size: 14px; color: var(--muted); margin-bottom: 10px; flex: 1; }
.product-meta { font-size: 14px; margin-bottom: 14px; }
.product-buy { display: flex; gap: 8px; }
.product-buy .btn { flex: 1; padding: 0 8px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.chip em { font-style: normal; opacity: .55; margin-left: 2px; }
.chip.is-active, .chip:hover { background: var(--ink); color: #fff; }

/* ---------- 좌우 분할 (브랜드 스토리 등) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #2A3760; }
.split-text .display { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 24px; }
.split-text .lead { margin-bottom: 32px; }
.points { display: grid; gap: 16px; margin-bottom: 36px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points b { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 14px; }
.points strong { display: block; font-size: 17px; }
.points span { font-size: 14px; opacity: .8; }

/* ---------- 대표 제품 피처 띠 ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.feature .display { font-size: clamp(44px, 7vw, 104px); margin-bottom: 20px; }
.feature-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #FFE3A3; max-width: 520px; justify-self: center; width: 100%; }
.feature-img .ph { border-radius: 50%; }

/* ---------- 구매처 ---------- */
.store-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.store-band .display { font-size: clamp(36px, 5vw, 64px); margin-bottom: 14px; }
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn { display: flex; align-items: center; gap: 14px; min-width: 250px; padding: 18px 22px; border-radius: var(--radius); background: #fff; transition: transform .2s; }
.store-btn:hover { transform: translateY(-3px); }
.store-btn i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 900; font-size: 20px; }
.store-btn span { display: flex; flex-direction: column; font-weight: 800; }
.store-btn small { font-weight: 500; font-size: 13px; color: var(--muted); }

/* ---------- 레시피 ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.recipe-card h3 { font-size: 21px; font-weight: 800; margin: 18px 0 6px; }
.recipe-card > p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.recipe-card .recipe-product { font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.recipe-img { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #F6EEDF; }
.recipe-time { position: absolute; top: 14px; right: 14px; background: #fff; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; }

/* ---------- 후기 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review-card p { font-size: 17px; font-weight: 600; line-height: 1.5; flex: 1; margin-bottom: 18px; }
.review-card cite { font-style: normal; font-size: 13px; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }

/* ---------- 인스타그램 ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-item { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #F6EEDF; transition: opacity .2s; }
.insta-item:hover { opacity: .85; }

/* ---------- 서브페이지 머리 ---------- */
.page-hero { padding: 72px 0 56px; }
.page-hero .display { font-size: clamp(48px, 8vw, 112px); margin-bottom: 18px; }

/* ---------- 목록형 카드 (이벤트·매거진) ---------- */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.list-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.list-card.is-ended { opacity: .55; }
.list-img { aspect-ratio: 16 / 10; background: #F6EEDF; }
.list-body { padding: 22px 24px 26px; }
.list-body h3 { font-size: 20px; font-weight: 800; margin: 10px 0 6px; }
.list-body p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.list-body time { font-size: 13px; color: var(--muted); }
.status { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--sky); }
.status-on { background: var(--accent); color: #fff; }
.status-soon { background: var(--butter); }
.status-end { background: #E5E5E5; }

/* ---------- 오프라인 판매처 ---------- */
.offline-list { background: #fff; border-radius: var(--radius); }
.offline-list li { display: grid; grid-template-columns: 1fr 2fr auto; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.offline-list li:last-child { border-bottom: 0; }
.offline-list span { color: var(--muted); }

/* ---------- 푸터 ---------- */
.footer { background: var(--ink); color: #fff; padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-brand p { color: #C5CBE0; margin: 12px 0 18px; }
.footer-insta { font-weight: 700; border-bottom: 1px solid currentColor; }
.footer-links { display: flex; flex-direction: column; gap: 10px; color: #C5CBE0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; font-size: 13px; color: #8E97B5; display: grid; gap: 8px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  /* 모바일 메뉴 */
  .menu-toggle { display: block; }
  .header-shop { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; gap: 0; padding: 12px 24px 32px; background: var(--cream);
    font-family: var(--font-display); font-weight: 800; font-size: 30px; text-transform: uppercase;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav > a.active { color: var(--accent); }
  .nav-mobile-extra { display: flex; gap: 12px; margin-top: 28px; font-family: var(--font-body); text-transform: none; }
  .nav-mobile-extra .btn { flex: 1; }

  .split, .feature, .store-band { grid-template-columns: 1fr; gap: 40px; }
  .split-img { aspect-ratio: 4 / 3; }
  .feature-img { max-width: 380px; }
  .recipe-grid, .list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container, .header-inner { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero-slider { padding: 0 12px 12px; }
  .hero-slides { height: 82vh; min-height: 560px; border-radius: 20px; }
  .slide-copy { left: 12px; right: 12px; bottom: 12px; padding: 26px 22px; }
  .slide-copy { padding: 20px 20px 22px; }
  .slide-copy .display { font-size: 30px; margin-bottom: 14px; }
  .slide-copy p { display: none; }                 /* 모바일은 제목+버튼만 (사진이 더 보이게) */
  .slide-copy .btn { height: 44px; padding: 0 20px; font-size: 14px; }
  .hero-dots { right: 28px; bottom: auto; top: 24px; }
  .slide.is-video .slide-copy { left: 50%; right: auto; bottom: 24px; transform: translateX(-50%); }
  .slide.copy-right .slide-copy { left: 12px; right: 12px; }
  .slide.copy-right .slide-media video, .slide.copy-right .slide-media img { object-position: 33% 35%; }  /* 모바일에서 주인공(왼쪽)이 보이도록 */
  /* 영상이 있는 경우 모바일 슬라이드 높이를 줄여 빈 공간 최소화 */
  .hero-slides:has(.slide.is-video) { height: 132vw; min-height: 0; }
  .slide.is-video .slide-media video { object-position: center 38%; }
  .logo img { height: 24px; }
  .footer .logo-footer img { height: 52px; }
  .lang-switch { font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 14px 14px 16px; }
  .product-name { font-size: 15px; }
  .product-desc { font-size: 13px; }
  .product-buy { flex-direction: column; gap: 6px; }
  .product-buy .btn { height: 34px; font-size: 12px; }
  .cat-grid { gap: 22px 14px; }
  .cat-tile { font-size: 14px; }
  .recipe-grid, .list-grid, .review-grid { grid-template-columns: 1fr; }
  .insta-grid { gap: 8px; }
  .store-btn { min-width: 0; flex: 1 1 100%; }
  .offline-list li { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { padding: 48px 0 36px; }
}

/* ---------- 연혁 (브랜드 페이지) ---------- */
.timeline { list-style: none; border-left: 3px solid var(--accent); margin-left: 8px; }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--accent); }
.timeline b { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.timeline span { font-size: 16px; padding-top: 2px; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* =========================================================
   브랜드 페이지 전용
   ========================================================= */
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; display: grid; place-items: center; }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: var(--cream); border-radius: var(--radius); padding: 30px 28px; }
.promise-num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--accent); line-height: 1; }
.promise h3 { font-size: 19px; font-weight: 800; margin: 14px 0 8px; }
.promise p { color: var(--muted); font-size: 15px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: s; }
.steps li { border-top: 2px solid rgba(255,255,255,.25); padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.steps b { font-family: var(--font-display); font-size: 15px; color: var(--butter); }
.steps strong { font-size: 20px; }
.steps span { color: #C5CBE0; font-size: 14px; }

.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.fac { text-align: center; }
.fac-img { width: min(100%, 280px); aspect-ratio: 1; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: #EEE; border: 6px solid var(--paper); box-shadow: 0 0 0 2px var(--line); }
.fac-img img { width: 100%; height: 100%; object-fit: cover; }
.fac figcaption { font-weight: 700; }
.qm { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 36px 40px; }
.qm h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.qm p { color: var(--muted); }
.qm-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qm-list li { background: var(--cream); border-radius: 12px; padding: 14px 12px; text-align: center; font-weight: 700; font-size: 15px; }

.cert-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-list li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--accent); }
.stat span { font-weight: 800; font-size: 18px; margin-top: 12px; }
.stat small { color: var(--muted); font-size: 14px; }

.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feed { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.feed b { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; }
.feed strong { display: block; font-size: 20px; margin: 14px 0 6px; }
.feed p { color: var(--muted); font-size: 15px; }
.feed-note { margin: 20px 0 48px; font-size: 14px; color: var(--ink); opacity: .8; }
.faq-good { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.faq details { background: var(--paper); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.good { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.good h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }

@media (max-width: 960px) {
  .promise-grid, .feed-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .qm, .faq-good { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .promise-grid, .feed-grid, .stat-grid, .fac-grid { grid-template-columns: 1fr; }
  .fac-grid { gap: 24px; }
  .fac-img { width: 220px; }
  .qm { padding: 26px 20px; }
  .qm-list { grid-template-columns: 1fr 1fr; }
}

/* 인증서 갤러리 */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.cert { display: flex; flex-direction: column; gap: 4px; }
.cert-img { aspect-ratio: 1 / 1.414; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(28,39,71,.10); margin-bottom: 12px; transition: transform .2s; }
.cert:hover .cert-img { transform: translateY(-4px); }
.cert-img img { width: 100%; height: 100%; object-fit: contain; }
.cert strong { font-size: 15px; }
.cert small { color: var(--muted); font-size: 13px; }
/* 브랜드 페이지 와이드 사진 */
.wide-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1920 / 816; background: #DDD; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.fd-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.fd-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .wide-photo { aspect-ratio: 4 / 3; border-radius: 20px; } .cert-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* 제품 카드: 제품 더보기 */
.product-name a:hover { color: var(--accent); }
.product-more { align-self: flex-start; }
a.product-thumb { display: block; }

/* 제품 상세 */
.link-back { display: inline-block; font-weight: 700; color: var(--muted); margin-bottom: 28px; }
.link-back:hover { color: var(--ink); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-img { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #F6EEDF; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-name { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.15; margin: 6px 0 18px; }
.pd-desc { font-size: 17px; color: var(--muted); margin-bottom: 22px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pd-tags li { background: var(--butter); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 800; }
.pd-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 15px; }
.pd-table th, .pd-table td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 1px solid var(--line); }
.pd-table th { width: 110px; color: var(--muted); font-weight: 600; }
.pd-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.pd-guide > div { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.pd-guide h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.pd-guide p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .pd, .pd-guide { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .product-more { align-self: stretch; } .pd-btns .btn { flex: 1 1 100%; } }

/* 인스타그램 타일 */
.insta-item { position: relative; display: block; }
.insta-ico { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 14px; font-weight: 800; opacity: 0; transition: opacity .2s; }
.insta-item:hover .insta-ico { opacity: 1; }

/* 제품 상세: 사진 갤러리 · 일일 권장량 */
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #F6EEDF; }
.pd-thumb.is-active { border-color: var(--accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-daily { margin-top: 64px; background: var(--paper); border-radius: var(--radius); padding: 28px; }
.pd-daily h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; }
.pd-daily table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: center; min-width: 460px; }
.pd-daily th, .pd-daily td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.pd-daily tr:first-child { background: var(--cream); font-weight: 700; }
.pd-daily th { text-align: left; color: var(--muted); font-weight: 700; }
.pd-daily p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.table-scroll { overflow-x: auto; }
.pd-guide { margin-top: 20px; }
.list-img { overflow: hidden; }
.list-img img { width: 100%; height: 100%; object-fit: cover; }
.map-box { margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: #E9E4DA; aspect-ratio: 16 / 7; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-box { aspect-ratio: 4 / 3; } }
