/* =========================================================
   The Spoon Pick — 한국식 D2C 클린라벨 스토어
   White / Soft Grey / Deep Black / Gold
   Pretendard(KR) + Plus Jakarta Sans(numbers)
   ========================================================= */

:root {
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --soft: #F7F7F5;
  --soft-2: #F1F1EC;
  --ink: #111111;
  --charcoal: #111111;
  --charcoal-soft: #3E3E3A;
  --muted: #8B8B84;
  --muted-2: #6C6C65;
  --gold: #C59B43;
  --gold-deep: #9C7626;
  --gold-soft: #FAF3E4;
  --border: #E8E8E3;
  --line: #EFEFEA;
  --sale: #A8492F;
  --max-w: 1180px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 16px 44px rgba(17, 17, 17, 0.08);
  --font-kr: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --font-num: 'Plus Jakarta Sans', 'Pretendard Variable', Pretendard, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-kr);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--gold); color: #111; }

.num { font-family: var(--font-num); font-feature-settings: 'tnum' 1; }

/* ---------- 상단 공지바 ---------- */
.top-bar {
  background: var(--ink);
  color: #F2F2EC;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 10px 18px;
}
.top-bar strong { color: var(--gold); font-weight: 700; }
.top-bar .dot { color: rgba(255, 255, 255, 0.35); margin: 0 9px; }

/* ---------- 헤더 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-left { display: flex; align-items: center; gap: 15px; flex: 1 1 0; min-width: 0; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  padding: 9px 4px 9px 0;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .bars { display: grid; gap: 4px; width: 21px; }
.menu-btn .bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}
.menu-btn .bars i:nth-child(2) { width: 14px; }
.menu-btn:hover .bars i:nth-child(2) { width: 21px; }
.menu-btn .menu-txt {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.brand-logo { display: flex; align-items: center; cursor: pointer; }
.brand-logo img { height: 66px; width: auto; display: block; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2F2F2C;
}
.nav-links a { position: relative; padding: 4px 0; cursor: pointer; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 10px; flex: 1 1 0; justify-content: flex-end; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s;
}
.cart-btn:hover { background: #262624; transform: translateY(-1px); }
.cart-count {
  background: var(--gold);
  color: #111;
  border-radius: 999px;
  min-width: 20px;
  padding: 1px 6px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

/* ---------- 좌측 슬라이드 메뉴 ---------- */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }
.menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(404px, 88vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.42s cubic-bezier(0.22, 0.7, 0.2, 1);
  box-shadow: 26px 0 60px rgba(0, 0, 0, 0.14);
}
.menu-backdrop.open .menu-panel { transform: translateX(0); }
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px 18px 24px;
  border-bottom: 1px solid var(--line);
}
.menu-head .menu-brand {
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.menu-body { flex: 1; overflow-y: auto; padding: 2px 20px 22px; }
.menu-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 24px 0 8px;
  padding-left: 6px;
}
.menu-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.menu-cat:hover { background: var(--soft); }
.menu-cat.active { background: var(--gold-soft); }
.menu-cat .thumb {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  background: var(--soft-2);
  flex: none;
  display: block;
}
.menu-cat .thumb-all {
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: #fff;
}
.menu-cat .cat-name {
  flex: 1;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.menu-cat.active .cat-name { color: var(--gold-deep); }
.menu-cat .cat-count {
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.menu-cat.active .cat-count { color: var(--gold-deep); }
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #2F2F2C;
  cursor: pointer;
  transition: background 0.18s ease;
}
.menu-link:hover { background: var(--soft); }
.menu-link::after { content: "→"; font-size: 13px; color: var(--muted); }
.menu-foot {
  padding: 18px 24px 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.menu-foot strong { color: var(--ink); font-weight: 700; }
.menu-foot a { color: var(--muted-2); }
.menu-foot a:hover { color: var(--ink); }
body.menu-lock { overflow: hidden; }

/* ---------- 스토어 필터 탭 ---------- */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -20px 0 28px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: #4A4A44;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.filter-pill em {
  font-family: var(--font-num);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter-pill.active em { color: var(--gold); }

/* ---------- 버튼 ---------- */
.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #2A2A27; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid #D9D9D2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--ink); background: rgba(17, 17, 17, 0.03); }

/* ---------- 공통 타입 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- 히어로 ---------- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 70px 26px 60px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.7vw, 62px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero p {
  font-size: 16px;
  color: var(--charcoal-soft);
  max-width: 470px;
  margin-bottom: 30px;
  line-height: 1.75;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-stats {
  list-style: none;
  display: flex;
  gap: 34px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-stats span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1px;
}
.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--soft);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.hero-float {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
}
.hero-float div { line-height: 1.3; }
.hero-float strong {
  display: block;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-float span { font-size: 11px; color: var(--muted-2); font-weight: 600; }

/* ---------- 신뢰 스트립 ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #333330;
  letter-spacing: -0.01em;
}
.trust-item i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.trust-item span { color: var(--muted); font-weight: 500; }

/* ---------- 섹션 ---------- */
section { padding: 86px 26px; scroll-margin-top: 84px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head h2 {
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted-2); font-size: 15px; }
.surface-band { background: var(--soft); }

/* ---------- 제품 그리드 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.prod-img-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #F2F1EC;
}
.prod-img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-card:hover .prod-img-wrap img { transform: scale(1.04); }
.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 5px 11px;
  border-radius: 999px;
}
.prod-badge.gold { background: var(--gold); color: #111; }
.prod-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 16px;
}
.prod-title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin-bottom: 6px;
  cursor: pointer;
}
.prod-title:hover { color: var(--gold-deep); }
.prod-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.prod-price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price-now {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-off { font-size: 12px; font-weight: 700; color: var(--sale); letter-spacing: -0.01em; }
.product-grid.single { grid-template-columns: minmax(0, 404px) minmax(0, 1fr); align-items: start; }
.cat-aside {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 22px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.cat-aside-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 2px 10px 8px;
}
.cat-aside-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.cat-aside-item:hover { background: var(--soft); }
.cat-aside-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--soft-2);
  flex: none;
}
.cat-aside-txt { flex: 1; min-width: 0; }
.cat-aside-txt strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cat-aside-txt em {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}
.cat-aside-arrow { font-size: 13px; color: var(--muted); }
.cat-aside-all {
  margin-top: 10px;
  padding: 13px 12px;
  border-radius: 12px;
  background: var(--soft);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.18s ease;
}
.cat-aside-all:hover { background: var(--soft-2); }
.product-grid.animate .product-card { animation: cardIn 0.42s cubic-bezier(0.22, 0.7, 0.2, 1) backwards; }
.product-grid.animate .product-card:nth-child(2) { animation-delay: 0.05s; }
.product-grid.animate .product-card:nth-child(3) { animation-delay: 0.1s; }
.product-grid.animate .product-card:nth-child(4) { animation-delay: 0.15s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.prod-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-sm {
  padding: 11px 10px;
  font-size: 12.5px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
}
.btn-sm.btn-outline { padding: 11px 10px; }
.shop-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.shop-note b { color: var(--ink); font-weight: 700; }

/* ---------- 브랜드 스토리 ---------- */
.story-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}
.story-media { min-height: 400px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-text { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.story-text .eyebrow { color: var(--gold); }
.story-text .eyebrow::before { background: var(--gold); }
.story-text h2 {
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
}
.story-text p { color: #C8C8C1; font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
.story-text p strong { color: #fff; font-weight: 700; }
.story-sign {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
}

/* ---------- 클린 기준 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
}
.card-num {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.card h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.4;
}
.card p { font-size: 14px; color: var(--muted-2); line-height: 1.75; }

/* ---------- 집밥 활용 ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.recipe-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.recipe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.recipe-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--soft-2);
}
.recipe-card.img-fail .recipe-photo { display: none; }
.recipe-card.img-fail::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #EDE6D6 0%, #D9CDB2 100%);
}
.recipe-body { padding: 18px 18px 20px; }
.recipe-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  display: block;
}
.recipe-body h4 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; }
.recipe-body p { font-size: 13px; color: var(--muted-2); line-height: 1.65; }

/* ---------- 도매·입점 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.contact-info-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 42px 38px;
}
.contact-info-box h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 14px;
}
.contact-info-box p { color: #C8C8C1; font-size: 14.5px; line-height: 1.8; margin-bottom: 24px; }
.contact-detail {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 15px;
  margin-top: 15px;
  font-size: 14.5px;
  color: #fff;
}
.contact-detail span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
form.inquiry-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #595954;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid transparent;
  background: var(--soft);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: #ADADA6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea { min-height: 104px; resize: vertical; line-height: 1.65; }
.form-status {
  display: none;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--gold-soft);
  color: #6B4E18;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- 제품 상세 ---------- */
#view-detail { display: none; padding: 0; }
.detail-wrap { max-width: var(--max-w); margin: 0 auto; padding: 32px 26px 100px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
  cursor: pointer;
  background: none;
  border: none;
}
.back-link:hover { color: var(--ink); }
.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
  margin-bottom: 56px;
}
.detail-img { border-radius: var(--r-lg); overflow: hidden; background: var(--soft); position: sticky; top: 96px; }
.detail-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.detail-info h1 {
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.detail-tagline { font-size: 15px; color: var(--muted-2); margin-bottom: 22px; line-height: 1.7; }
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.detail-price .price-now { font-size: 27px; }
.opt-group { margin-bottom: 20px; }
.opt-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #595954;
  margin-bottom: 9px;
  display: block;
  letter-spacing: -0.01em;
}
.opt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pill {
  padding: 11px 17px;
  border: 1px solid #DEDED8;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
}
.opt-pill:hover { border-color: var(--ink); }
.opt-pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #DEDED8;
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}
.qty-box button {
  border: none;
  background: transparent;
  width: 40px;
  height: 42px;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
}
.qty-box span {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-num);
}
.detail-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.detail-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.detail-trust span { display: inline-flex; align-items: center; gap: 6px; }
.detail-trust span::before { content: "✓"; color: var(--gold); font-weight: 800; }
.detail-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-box { background: var(--soft); border-radius: var(--r-md); padding: 30px; }
.detail-box h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--charcoal-soft); line-height: 1.65; }
.check-list li { display: flex; gap: 8px; }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 800; flex: none; }
.ing-text { font-size: 14px; color: var(--charcoal-soft); line-height: 1.8; }
.ing-text strong { color: var(--ink); }

/* ---------- 와디즈형 상세 ---------- */
.wadiz-wrap { margin-top: 66px; display: grid; gap: 20px; }
.w-hook {
  background: var(--soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}
.w-hook-text { padding: 54px 48px; display: flex; flex-direction: column; justify-content: center; }
.w-hook-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: #111;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.w-hook-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.w-hook-text p { color: var(--charcoal-soft); font-size: 15px; line-height: 1.8; }
.w-hook-img { background: var(--soft-2); }
.w-hook-img img { width: 100%; height: 100%; min-height: 340px; max-height: 500px; object-fit: cover; display: block; }

.w-stat-strip {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 42px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.w-stat-num {
  font-family: var(--font-num);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 6px;
}
.w-stat-lbl { font-size: 12.5px; color: #B5B5AE; font-weight: 500; }

.w-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 44px;
}
.w-section-dark {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px 44px;
}
.w-section-dark .w-section-head p { color: #B5B5AE; }
.w-section-head { text-align: center; max-width: 700px; margin: 0 auto 34px; }
.w-section-head h3 {
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.w-section-head p { color: var(--muted-2); font-size: 14.5px; line-height: 1.7; }

.w-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.w-compare-table th,
.w-compare-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.w-compare-table th {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.w-compare-table th.cb-col {
  background: var(--ink);
  color: var(--gold);
  border-radius: 12px 12px 0 0;
  white-space: normal;
}
.w-compare-table td.cb-col { background: #FBF6EA; font-weight: 700; color: var(--ink); }
.w-compare-table td.neg { color: var(--muted-2); }

.w-point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.w-point-card {
  background: var(--soft);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.w-point-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.w-point-card.img-fail .w-point-card-img { display: none; }
.w-point-card.img-fail .w-point-card-body { padding-top: 30px; }
.w-point-card-body { padding: 22px; }
.w-point-card.dark-card {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  padding: 26px;
}
.w-point-card.dark-card p { color: #B5B5AE; }
.w-point-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--ink);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 13px;
}
.dark-card .w-point-num { background: var(--gold); color: #111; align-self: flex-start; }
.w-point-num.bad { background: rgba(255, 255, 255, 0.12); color: #E9B9A8; }
.w-point-card h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; line-height: 1.42; }
.w-point-card p { font-size: 13.5px; color: var(--muted-2); line-height: 1.7; }

.w-gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.w-gallery-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); display: block; background: var(--soft-2); }

.w-faq-list { display: grid; gap: 10px; }
.w-faq-item { background: var(--soft); border-radius: var(--r-sm); padding: 20px 22px; }
.w-faq-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.w-faq-item p { font-size: 14px; color: #5E5E58; line-height: 1.75; }

.w-bottom-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 52px 32px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.w-bottom-cta h3 { font-size: clamp(22px, 2.7vw, 31px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.32; }
.w-bottom-cta p { color: #B5B5AE; font-size: 14.5px; max-width: 520px; line-height: 1.75; }
.w-bottom-cta .btn-primary { background: var(--gold); color: #111; border-color: var(--gold); margin-top: 6px; }
.w-bottom-cta .btn-primary:hover { background: #D3AC58; }

.w-ship-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--muted-2);
  padding: 4px 0 2px;
}

/* ---------- 장바구니 드로어 ---------- */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.44);
  backdrop-filter: blur(2px);
  z-index: 90;
  justify-content: flex-end;
}
.drawer-backdrop.open { display: flex; }
.drawer {
  width: 100%;
  max-width: 408px;
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.12);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.drawer-close {
  background: none;
  border: none;
  font-size: 19px;
  line-height: 1;
  color: var(--muted-2);
  cursor: pointer;
}
.drawer-items { flex: 1; overflow-y: auto; padding: 16px 0; display: grid; gap: 14px; align-content: start; }
.cart-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 40px 0; line-height: 1.8; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.cart-item-name { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.cart-item-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }

.ship-gauge {
  background: var(--soft);
  border-radius: 14px;
  padding: 14px 15px 13px;
  display: grid;
  gap: 9px;
}
.ship-gauge-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted-2); }
.ship-gauge-top b { color: var(--ink); font-weight: 700; }
.ship-gauge-top b.gold { color: var(--gold-deep); }
.gauge-track { height: 6px; border-radius: 999px; background: #E4E4DE; overflow: hidden; }
.gauge-fill { height: 100%; border-radius: 999px; background: var(--gold); width: 0%; transition: width 0.35s ease; }
.gauge-fill.full { background: var(--ink); }
.ship-gauge-msg { font-size: 12.5px; color: var(--charcoal-soft); line-height: 1.5; }
.ship-gauge-msg strong { color: var(--gold-deep); }

.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted-2); }
.sum-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.sum-row.total span:last-child { font-family: var(--font-num); }
.cart-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; text-align: center; }

/* ---------- 결제 미리보기 모달 ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%;
  max-width: 470px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  gap: 13px;
}
.modal h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.modal .note { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 푸터 ---------- */
footer { border-top: 1px solid var(--line); background: var(--soft); padding: 48px 26px 40px; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 54px; width: auto; align-self: flex-start; }
.footer-tagline { font-size: 13.5px; color: var(--charcoal-soft); font-weight: 600; letter-spacing: -0.02em; }
.footer-info { font-size: 12.5px; color: var(--muted-2); line-height: 1.9; }
.footer-info a { color: var(--ink); font-weight: 600; }
.footer-cols { display: flex; gap: 46px; justify-content: flex-end; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.footer-col a, .footer-col span {
  display: block;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.95;
  cursor: pointer;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .product-grid, .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 34px; padding-top: 52px; }
  .nav-links { gap: 20px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
}
@media (max-width: 900px) {
  .detail-img { position: static; }
}
@media (max-width: 860px) {
  section { padding: 60px 20px; }
  .hero, .detail-top, .detail-story-grid, .story-box, .grid-3, .contact-grid,
  .form-row, .w-hook, .w-point-grid, .w-gallery-strip, .footer-inner { grid-template-columns: 1fr; }
  .w-stat-strip { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; }
  .nav-links { display: none; }
  .story-text, .w-hook-text, .w-section, .w-section-dark { padding: 32px 22px; }
  .story-media { min-height: 240px; max-height: 300px; }
  .story-media img { max-height: 300px; }
  .hero { padding: 40px 20px 44px; }
  .hero-stats { gap: 22px; margin-top: 30px; padding-top: 20px; }
  .detail-wrap { padding: 20px 20px 80px; }
  .detail-top { gap: 26px; margin-bottom: 40px; }
  .w-compare-table { font-size: 13px; }
  .w-compare-table th, .w-compare-table td { padding: 12px 10px; }
  .brand-logo img { height: 44px; }
  .menu-txt { display: none; }
  .nav-left { gap: 11px; }
  .menu-btn { padding: 9px 2px 9px 0; }
  .footer-cols { justify-content: flex-start; gap: 34px; }
  .trust-inner { padding: 16px 20px; }
}
@media (max-width: 620px) {
  .product-grid, .recipe-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .hero-stats strong { font-size: 18px; }
  .detail-cta { grid-template-columns: 1fr; }
  .nav-wrap { padding: 10px 18px; }
  .product-grid.single { grid-template-columns: 1fr; }
  .cat-aside { padding: 18px 16px; }
  .shop-filters { margin: -10px 0 22px; gap: 7px; }
  .filter-pill { padding: 8px 13px; font-size: 12.5px; }
  .cart-btn { padding: 10px 14px; font-size: 12px; }
  .top-bar { font-size: 11.5px; padding: 9px 12px; }
  .top-bar .dot { margin: 0 6px; }
  .w-section { padding: 26px 16px; }
  .modal { padding: 22px; }
  .footer-bottom { font-size: 11px; }
}
