/* 쿠팡마켓 v2 — Kurly Premium (G 방향) light theme */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Serif+KR:wght@400;500;600;700&display=swap');

:root {
  --bg: #fdfcf8;
  --bg-soft: #fbf9f3;
  --surface: #ffffff;
  --surface-2: #f5f5f4;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;
  --text: #1c1917;
  --text-2: #44403c;
  --muted: #57534e;
  --muted-2: #a8a29e;

  --accent: #6d28d9;
  --accent-soft: #a78bfa;
  --accent-bg: #faf5ff;
  --accent-on: #ffffff;

  --gold: #d97706;
  --gold-bg: #fef3c7;
  --silver: #6b7280;
  --silver-bg: #f3f4f6;
  --bronze: #92400e;
  --bronze-bg: #fde68a;

  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --serif: Georgia, 'Noto Serif KR', serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.hwrap { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 760px) { .hwrap { padding: 0 16px; } }

/* === HEADER === */
.km-strap {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--text); color: #fafaf9;
  font-family: var(--mono); font-size: 11px;
  padding: 7px 24px; letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden;
}
.km-strap .ad-zero {
  background: var(--accent); color: var(--accent-on);
  font-weight: 700; padding: 2px 8px; border-radius: 3px;
  letter-spacing: 0.04em;
}
.km-strap .strap-mid { flex: 1; text-align: center; color: #d6d3d1; font-size: 10px; letter-spacing: 0.06em; }
.km-strap .strap-end { font-size: 10px; color: #a8a29e; }

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.site-header .hwrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 56px;
}
.site-header .logo {
  display: flex; align-items: baseline; gap: 4px;
  flex-shrink: 0; white-space: nowrap;
}
.site-header .logo .logo-name {
  font-family: var(--serif); font-style: italic; font-size: 26px;
  font-weight: 700; color: var(--accent); letter-spacing: -0.02em;
}
.site-header .logo .logo-tag {
  font-size: 10px; color: var(--muted-2); font-family: var(--mono);
  margin-left: 4px;
}
.site-header nav.topnav {
  display: flex; gap: 24px; font-size: 13px; color: var(--text-2); font-weight: 500;
}
.site-header nav.topnav a:hover { color: var(--accent); }
.site-header .header-search {
  flex: 1; max-width: 380px; display: flex; gap: 6px;
  margin: 0 24px;
}
.site-header .header-search input {
  flex: 1; min-width: 0; border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 9px 16px; font-size: 13px;
  font-family: inherit; color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.site-header .header-search input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109,40,217,0.12);
}
.site-header .header-search input::placeholder { color: var(--muted-2); }
.site-header .header-search button {
  background: var(--accent); color: white; border: none;
  border-radius: 999px; width: 38px; height: 38px;
  font-size: 14px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.site-header .header-search button:hover { background: #5b21b6; }

@media (max-width: 760px) {
  .site-header .hwrap { padding: 10px 12px; gap: 8px; flex-wrap: nowrap; }
  .site-header nav.topnav { display: none; }
  .site-header .header-search { margin: 0; max-width: none; min-width: 0; }
  .site-header .header-search input { padding: 8px 12px; font-size: 12px; }
  .site-header .header-search button { width: 36px; height: 36px; font-size: 13px; }
  .site-header .logo .logo-tag { display: none; }
  .site-header .logo .logo-name { font-size: 18px; }
}

/* === HERO === */
.hero { padding: 70px 0 50px; }
.hero .hwrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 30px; }
  .hero .hwrap { grid-template-columns: 1fr; gap: 24px; }
}
.hero .vol {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.18em; margin-bottom: 16px; font-weight: 700;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 68px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 24px; color: var(--text);
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero .lead {
  font-size: 17px; color: var(--muted); line-height: 1.65;
  max-width: 460px; margin: 0 0 32px;
}
.search-form.cat-search {
  display: flex; gap: 8px; max-width: 560px;
}
.search-form.cat-search input {
  flex: 1; min-width: 0;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 12px 20px; font-size: 14px;
  font-family: inherit; color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-form.cat-search input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109,40,217,0.12);
}
.search-form.cat-search button {
  background: var(--accent); color: white; border: none;
  border-radius: 999px; padding: 0 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.search-form.cat-search button:hover { background: #5b21b6; }

.hero .search-form { display: flex; gap: 8px; max-width: 520px; }
.hero .search-form input {
  flex: 1; padding: 16px 22px; font-size: 15px;
  border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border-strong); color: var(--text);
  font-family: var(--sans); transition: all 200ms;
}
.hero .search-form input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.hero .search-form button {
  border: none; background: var(--accent); color: var(--accent-on);
  border-radius: 999px; padding: 0 28px; font-weight: 600; cursor: pointer;
  font-size: 14px; font-family: var(--sans);
}

.hero .cover { position: relative; }
.hero .cover-img {
  height: 460px; border-radius: 4px; overflow: hidden;
  background: var(--surface-2);
}
.hero .cover-img img { width: 100%; height: 100%; object-fit: cover; }
.hero .cover-pick {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--surface); padding: 18px 22px;
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.15);
  border-radius: 4px; max-width: 280px;
}
@media (max-width: 900px) {
  .hero .cover-img { height: 280px; }
  .hero .cover-pick {
    position: static !important;
    bottom: auto !important; left: auto !important;
    margin-top: 16px; max-width: 100%;
  }
}
.hero .cover-pick .ed-tag { margin-bottom: 6px; color: var(--accent); }
.hero .cover-pick .name {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  line-height: 1.3; margin-bottom: 6px;
}
.hero .cover-pick .price {
  font-family: var(--mono); font-size: 14px; font-weight: 700;
}

/* === PULL QUOTE === */
.pull-quote {
  padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.pull-quote .hwrap {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center;
}
@media (max-width: 760px) {
  .pull-quote .hwrap { grid-template-columns: 1fr; gap: 14px; }
}
.pull-quote .label { color: var(--accent); }
.pull-quote q {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  line-height: 1.5; color: var(--text-2); display: block;
  quotes: '"' '"';
}

/* === TINY LABEL === */
.km-tiny {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); font-family: var(--mono); font-weight: 500;
}

/* === SECTIONS === */
section.km-section { padding: 60px 0; }
section.km-section h2 {
  font-family: var(--serif); font-size: 30px; font-weight: 400;
  margin: 0 0 28px; letter-spacing: -0.02em;
}
section.km-section .head-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
}
section.km-section .head-row h2 { margin: 0; }
section.km-section .section-sub {
  font-size: 13px; color: var(--muted); margin: -16px 0 28px;
  font-family: var(--serif); font-style: italic;
}

/* === CATEGORY GRID === */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  padding: 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; position: relative; display: block;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.2s;
}
.cat-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px rgba(109, 40, 217, 0.2);
}
.cat-card .thumbs {
  height: 70px; margin-bottom: 14px; border-radius: 2px;
  background: var(--surface-2); display: flex; gap: 4px; padding: 4px;
}
.cat-card .thumbs img {
  flex: 1; height: 100%; object-fit: cover; border-radius: 2px;
}
.cat-card .name {
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  margin-bottom: 4px; color: var(--text);
}
.cat-card .count {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.cat-card .beta {
  position: absolute; top: 12px; right: 12px;
  font-size: 9px; color: var(--accent); font-family: var(--mono);
  font-weight: 700; letter-spacing: 0.1em;
}

/* === RANK PILLS === */
.rank-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-weight: 700; font-size: 11px;
  padding: 3px 9px; border-radius: 999px; letter-spacing: 0.04em;
}
.rank-pill-1 { background: var(--gold-bg); color: var(--gold); }
.rank-pill-2 { background: var(--silver-bg); color: var(--silver); }
.rank-pill-3 { background: var(--bronze-bg); color: var(--bronze); }

.rank-frame { position: relative; }
.rank-frame-1 { box-shadow: 0 0 0 2px var(--gold), 0 12px 28px -16px rgba(217, 119, 6, 0.4); }
.rank-frame-2 { box-shadow: 0 0 0 1.5px var(--silver); }
.rank-frame-3 { box-shadow: 0 0 0 1.5px var(--bronze); }

/* === TOP RANKING (HOME) === */
.top-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 18px; margin-bottom: 18px;
}
@media (max-width: 900px) { .top-grid { grid-template-columns: 1fr; } }
.top-card {
  background: var(--surface); border-radius: 4px; padding: 22px; position: relative;
  border: 1px solid var(--border); display: block;
}
.top-card .pill { position: absolute; top: 18px; left: 18px; z-index: 2; }
.top-card .img {
  border-radius: 2px; overflow: hidden; background: var(--surface-2);
  margin-bottom: 16px;
}
.top-card .img { aspect-ratio: 1.2; }
.top-card.r1 .img { aspect-ratio: 1; }
.top-card .img img { width: 100%; height: 100%; object-fit: cover; }
.top-card .ed-tag { margin-bottom: 8px; }
.top-card .name {
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  line-height: 1.3; margin-bottom: 10px; color: var(--text);
}
.top-card.r1 .name { font-size: 22px; }
.top-card .price {
  font-family: var(--mono); font-size: 15px; font-weight: 700;
}
.top-card.r1 .price { font-size: 20px; }
.top-card .unit {
  font-family: var(--mono); font-size: 10px; color: var(--muted-2); margin-top: 3px;
}

/* TOP — long list */
.top-list { border-top: 1px solid var(--border); }
.top-row {
  display: grid; grid-template-columns: 50px 80px 1fr 180px 100px;
  gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border);
  align-items: center; transition: background 0.15s;
  text-decoration: none; color: inherit;
}
.top-row:hover { background: var(--bg-soft); }
@media (max-width: 900px) {
  .top-row { grid-template-columns: 36px 60px 1fr auto; gap: 10px; padding: 14px 0; }
  .top-row .unit { display: none; }
}
@media (max-width: 480px) {
  .top-row { grid-template-columns: 30px 50px 1fr auto; gap: 8px; }
}
.top-row .rk { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--muted); }
.top-row .img-cell { background: var(--surface-2); height: 60px; border-radius: 2px; overflow: hidden; }
@media (max-width: 480px) { .top-row .img-cell { height: 44px; } }
.top-row .img-cell img { width: 100%; height: 100%; object-fit: cover; }
.top-row .row-meta { min-width: 0; overflow: hidden; }
.top-row .name {
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 600px) { .top-row .name { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; font-size: 13px; line-height: 1.3; } }
.top-row .cat-tag {
  font-family: var(--mono); font-size: 9px; color: var(--muted-2);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px;
}
.top-row .unit { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.top-row .price { font-family: var(--mono); font-size: 14px; font-weight: 700; text-align: right; white-space: nowrap; }
@media (max-width: 480px) { .top-row .price { font-size: 12px; } }

/* === HOW IT WORKS === */
.how {
  padding: 70px 0; background: var(--bg-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 760px) { .how-grid { grid-template-columns: 1fr; gap: 24px; } }
.how-step .num {
  font-family: var(--serif); font-size: 60px; color: var(--accent);
  font-style: italic; line-height: 1; margin-bottom: 16px;
}
.how-step .title {
  font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 10px;
}
.how-step p {
  font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0;
}

/* === COMPARISON === */
.compare { border-top: 2px solid var(--text); }
.compare-row {
  display: grid; grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid var(--border); padding: 20px 0; align-items: baseline;
}
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .compare-row .label-cell { grid-column: 1 / -1; margin-bottom: 6px; }
}
.compare-row .label-cell { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.compare-row .their { font-size: 14px; color: var(--muted); }
.compare-row .ours { font-size: 14px; color: var(--accent); font-weight: 600; }

/* === BLOG FEED === */
.blog-feed-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .blog-feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-feed-grid { grid-template-columns: 1fr; } }
.blog-feed-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 22px; display: block; transition: all 0.2s;
}
.blog-feed-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -12px rgba(109, 40, 217, 0.2);
}
.blog-feed-card .tag-row { margin-bottom: 12px; }
.blog-feed-card .tag-row .badge {
  display: inline-block; font-family: var(--mono); font-size: 9px;
  font-weight: 700; letter-spacing: 0.1em;
  background: var(--surface-2); padding: 3px 8px; border-radius: 3px;
  color: var(--accent);
}
.blog-feed-card h3 {
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  line-height: 1.4; margin: 0 0 10px;
}
.blog-feed-card .meta {
  font-family: var(--mono); font-size: 10px; color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 0; border-top: 1px solid var(--border); background: var(--bg-soft);
}
.site-footer .logo {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--accent); margin-bottom: 16px; font-weight: 700;
}
.site-footer p {
  font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0;
  max-width: 720px;
}
.site-footer .meta {
  font-family: var(--mono); font-size: 10px; color: var(--muted-2);
  margin-top: 14px;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
  padding: 14px 0; font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; font-style: normal; }

/* === PRODUCT CARD (search & category grid) === */
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: all 0.2s;
}
.pcard:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -12px rgba(109, 40, 217, 0.2);
}
.pcard .img {
  position: relative; aspect-ratio: 4/3; background: var(--surface-2);
  display: block; overflow: hidden;
}
.pcard .img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .rank-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95); color: var(--text);
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  padding: 4px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 3px;
}
.pcard .rank-badge small { font-size: 9px; font-weight: 500; opacity: 0.7; }
.pcard .rank-badge.r1 { background: var(--gold-bg); color: var(--gold); box-shadow: 0 2px 8px -2px rgba(217,119,6,0.3); }
.pcard .rank-badge.r2 { background: var(--silver-bg); color: var(--silver); }
.pcard .rank-badge.r3 { background: var(--bronze-bg); color: var(--bronze); }
.pcard .badges {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.pcard .badges .b {
  background: rgba(255,255,255,0.95); color: var(--text-2);
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  padding: 3px 7px; border-radius: 3px; letter-spacing: 0.04em;
}
.pcard .badges .b.rocket { background: rgba(14,165,233,0.95); color: white; }
.pcard .badges .b.coupang-rank { background: rgba(255,107,38,0.95); color: white; }
.cr-pill { display:inline-block; background: rgba(255,107,38,0.12); color: #c2410c; font-family: var(--mono); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; letter-spacing: 0.04em; margin-left: 6px; vertical-align: middle; }
.pcard .meta { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pcard .brand {
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.pcard .name {
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard .summary {
  font-size: 13px; color: var(--muted); font-family: var(--serif); font-style: italic;
  line-height: 1.5; border-left: 2px solid var(--accent); padding-left: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard .price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.pcard .price {
  font-family: var(--mono); font-size: 17px; font-weight: 800; color: var(--text);
}
.pcard .ppg {
  font-family: var(--mono); font-size: 11px; color: var(--muted-2);
}
.pcard .nutrition { display: flex; gap: 4px; }
.pcard .nutrition .n {
  flex: 1; text-align: center; padding: 6px 4px;
  background: var(--surface-2); border-radius: 4px;
}
.pcard .nutrition .n b { font-family: var(--mono); font-size: 13px; font-weight: 800; }
.pcard .nutrition .n small { display: block; font-size: 9px; color: var(--muted-2); margin-top: 2px; letter-spacing: 0.04em; }
.pcard .nutrition .carb b { color: var(--gold); }
.pcard .nutrition .fat b { color: #ea580c; }
.pcard .nutrition .prot b { color: var(--accent); }
.pcard .keto-pill {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--accent-bg); color: var(--accent);
  font-family: var(--mono); font-weight: 800; font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 3px;
}
.pcard .keto-pill small { font-size: 8px; font-weight: 500; opacity: 0.7; }
.pcard .buy {
  margin-top: auto; text-align: center;
  background: var(--accent); color: var(--accent-on);
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  padding: 10px; border-radius: 4px;
  transition: background 0.15s;
}
.pcard .buy:hover { background: var(--accent-soft); }

.grid { display: grid; gap: 16px; }
.grid.g3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.g4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* utility for image placeholder when no image */
/* 인기 검색어 pills */
.trending-keywords { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.88rem; color: var(--text); font-weight: 500;
  transition: all 0.15s;
}
.kw-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }

.imgph {
  background: repeating-linear-gradient(45deg, #f5f5f4 0, #f5f5f4 8px, #ebeae8 8px, #ebeae8 16px);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* === PRODUCT DETAIL PAGE === */
.pd-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
}
.pd-image {
  border-radius: 4px; overflow: hidden; background: var(--surface-2);
  position: relative;
}
.pd-image img { width: 100%; display: block; }
.pd-info h1 {
  font-family: var(--serif); font-size: 38px; font-weight: 400;
  line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 22px;
}
@media (max-width: 760px) {
  .pd-info h1 { font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
}
.pd-summary {
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: var(--accent); border-left: 3px solid var(--accent);
  padding-left: 14px; margin: 0 0 24px;
}
@media (max-width: 760px) { .pd-summary { font-size: 14px; padding-left: 10px; } }
.pd-price-row {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px;
  flex-wrap: wrap;
}
.pd-price-row .price {
  font-family: var(--mono); font-size: 36px; font-weight: 800;
}
@media (max-width: 760px) { .pd-price-row .price { font-size: 26px; } }
.pd-price-row .sub {
  font-family: var(--mono); font-size: 13px; color: var(--muted-2);
}
.pd-rank-row {
  display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.pd-cta {
  display: block; background: var(--accent); color: white;
  font-weight: 700; font-size: 15px; padding: 18px;
  border-radius: 999px; text-align: center; font-family: var(--sans);
  margin-top: 8px;
}
.pd-cta:hover { background: var(--accent-soft); }
.pd-nutrition {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 1rem 0;
}
.pd-nutrition .n {
  padding: 14px; background: var(--surface-2); border-radius: 6px; text-align: center;
}
.pd-nutrition .n b { display: block; font-size: 24px; font-weight: 800; font-family: var(--mono); }
.pd-nutrition .n small { display: block; font-size: 10px; color: var(--muted-2); margin-top: 3px; }
.pd-nutrition .carb b { color: var(--gold); }
.pd-nutrition .fat b { color: #ea580c; }
.pd-nutrition .prot b { color: var(--accent); }

.pd-why {
  padding: 60px 0; background: var(--bg-soft); border-top: 1px solid var(--border);
}
.pd-why h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 400;
  margin: 0 0 28px; letter-spacing: -0.02em;
}
@media (max-width: 760px) { .pd-why h2 { font-size: 22px; margin-bottom: 18px; } }
.pd-why-content {
  padding-left: 24px; border-left: 2px solid var(--text);
}
.pd-why-content ul { list-style: none; padding: 0; margin: 0; }
.pd-why-content li {
  font-family: var(--serif); font-size: 16px; line-height: 1.7;
  color: var(--text-2); padding: 6px 0;
}
@media (max-width: 760px) { .pd-why-content li { font-size: 14px; } }

.pd-proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px;
}
@media (max-width: 760px) { .pd-proscons { grid-template-columns: 1fr; gap: 16px; } }
.pd-proscons ul { list-style: none; padding: 0; margin: 0; }
.pd-proscons li {
  font-size: 14px; line-height: 1.7; padding: 4px 0; color: var(--text-2);
}
.pd-proscons li::before { content: '· '; color: var(--accent); margin-right: 4px; }

.pd-review-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pd-review { font-family: var(--serif); font-size: 16px; line-height: 1.8; color: var(--text); max-width: 760px; }
.pd-review p { margin: 0 0 14px; }
.pd-review p:first-child { font-size: 18px; line-height: 1.7; color: var(--text); border-left: 3px solid var(--accent); padding-left: 16px; margin-bottom: 28px; }
.pd-review h3, .pd-review h4 {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em;
  margin: 28px 0 12px; padding-top: 8px;
}
.pd-review ul { padding-left: 20px; margin: 0 0 16px; }
.pd-review li { margin: 0 0 8px; line-height: 1.7; }
.pd-review strong { color: var(--text); font-weight: 700; }
@media (max-width: 760px) {
  .pd-review { font-size: 15px; }
  .pd-review p:first-child { font-size: 16px; }
}
