/* SellPick Mall — design system */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --ink: #12151b;
  --ink-soft: #3d4552;
  --muted: #6b7482;
  --line: #e6e3dc;
  --paper: #fbfaf7;
  --card: #ffffff;
  --accent: #e8462f;
  --accent-soft: #fdeee9;
  --teal: #0d7a63;
  --teal-soft: #e6f4f0;
  --gold: #b7791f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18, 21, 27, .04), 0 12px 32px -18px rgba(18, 21, 27, .28);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id], div[id='products'] { scroll-margin-top: 150px; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 250, 247, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.12rem; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), #ff8a3d);
  color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 900;
  box-shadow: 0 6px 14px -6px rgba(232, 70, 47, .8);
}
.brand em { font-style: normal; color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .08em; display: block; line-height: 1.1; }
.brand b { font-size: 1.02rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 12px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: #f0ede6; color: var(--ink); }
.nav a.is-active { color: var(--accent); background: var(--accent-soft); }
.nav a.cta {
  color: #fff; background: var(--ink); margin-left: 6px;
}
.nav a.cta:hover { background: #000; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 62px 0 44px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 520px;
  background:
    radial-gradient(46% 60% at 18% 20%, rgba(232, 70, 47, .16), transparent 70%),
    radial-gradient(40% 60% at 82% 8%, rgba(13, 122, 99, .14), transparent 70%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: 7px 13px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(13,122,99,.16); }
.hero h1 {
  margin: 18px 0 14px; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.28;
  letter-spacing: -.035em; font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero p.lead { margin: 0 0 26px; color: var(--ink-soft); font-size: 1.02rem; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 12px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 24px -16px rgba(18,21,27,.9); }
.btn-primary:hover { transform: translateY(-1px); background: #000; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cfc9bd; transform: translateY(-1px); }

.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 1.32rem; letter-spacing: -.02em; }
.hero-stats span { font-size: .8rem; color: var(--muted); font-weight: 600; }

.hero-collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center;
}
.hero-card:nth-child(1) { transform: translateY(-10px); }
.hero-card:nth-child(2) { transform: translateY(14px); }
.hero-card:nth-child(3) { transform: translateY(-4px); }
.hero-card img { width: 62px; height: 62px; object-fit: cover; border-radius: 12px; background: #f2efe9; }
.hero-card .t { font-size: .8rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card .p { font-size: .76rem; color: var(--accent); font-weight: 800; margin-top: 3px; }

/* ---------- section ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.link-more { font-weight: 700; font-size: .9rem; color: var(--teal); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- category / toolbar ---------- */
.toolbar {
  position: sticky; top: 68px; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line); padding: 12px 0 14px;
}
.toolbar-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-weight: 700; font-size: .88rem; cursor: pointer;
  transition: all .16s ease; font-family: inherit;
}
.tab .n { font-size: .72rem; color: var(--muted); font-weight: 700; }
.tab:hover { border-color: #cfc9bd; }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab.is-active .n { color: rgba(255,255,255,.62); }
.search { position: relative; margin-left: auto; }
.search input {
  width: 220px; padding: 10px 14px 10px 36px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: .88rem; color: var(--ink); outline: none;
}
.search input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,21,27,.06); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); }

.disclosure-bar {
  font-size: .78rem; color: var(--muted); padding: 12px 0 0;
}
.disclosure-bar b { color: var(--ink-soft); }

/* ---------- grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dcd6c9; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: #f4f1eb; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.badge-source {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  padding: 5px 9px; border-radius: 8px; background: #fff; color: var(--ink);
  box-shadow: 0 2px 8px rgba(18,21,27,.12);
}
.badge-source.coupang { color: #c0392b; }
.badge-source.aliexpress { color: #c2410c; }
.badge-pick {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: .66rem; font-weight: 800; padding: 5px 9px; border-radius: 8px;
  background: var(--ink); color: #fff; letter-spacing: .04em;
}
.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 9px; }
.card-cat { font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: var(--teal); }
.card-title {
  margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.42; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.card-price { font-size: 1.04rem; font-weight: 800; letter-spacing: -.02em; }
.card-price small { font-size: .72rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.card-reason {
  margin: 0; font-size: .82rem; color: var(--ink-soft); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-links { margin-top: auto; display: flex; gap: 8px; padding-top: 4px; }
.card-links a {
  flex: 1; text-align: center; padding: 10px 8px; border-radius: 10px; font-size: .82rem; font-weight: 700;
  border: 1px solid var(--line); background: #fff; transition: all .16s ease;
}
.card-links a.buy { background: var(--accent); border-color: var(--accent); color: #fff; }
.card-links a.buy:hover { background: #d23a24; }
.card-links a.review { color: var(--ink-soft); }
.card-links a.review:hover { border-color: #cfc9bd; background: #faf8f4; }
.card-links a:only-child { flex: 1; }

.empty { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty.is-on { display: block; }

/* ---------- standards ---------- */
.standards { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.standard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.standard {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper);
}
.standard .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: .86rem; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px;
}
.standard h3 { margin: 0 0 7px; font-size: 1.02rem; letter-spacing: -.01em; }
.standard p { margin: 0; font-size: .86rem; color: var(--ink-soft); }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 10px; }
.review-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; transition: all .16s ease;
}
.review-row:hover { border-color: #d3ccbe; transform: translateX(2px); }
.review-blog { font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.review-blog.food { background: var(--teal-soft); color: var(--teal); }
.review-blog.econ { background: #eef1fb; color: #34488f; }
.review-title { font-size: .93rem; font-weight: 600; line-height: 1.45; flex: 1; min-width: 0; }
.review-date { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.review-arrow { color: var(--muted); font-size: .9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9ccd3; padding: 46px 0 30px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: #8f97a5; }
.footer-about p { font-size: .85rem; color: #9aa2b0; max-width: 32em; margin: 14px 0 0; }
.footer-col h4 { margin: 0 0 12px; font-size: .8rem; color: #fff; letter-spacing: .08em; }
.footer-col a { display: block; font-size: .86rem; color: #a9b0bd; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.affiliate-note {
  margin: 24px 0 0; padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: .82rem; color: #b6bdc9; line-height: 1.7;
}
.affiliate-note strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 20px; font-size: .78rem; color: #7f8795; }
.footer-bottom .biz { line-height: 1.8; }
.footer-bottom .biz span { margin-right: 12px; }

/* ---------- sub pages ---------- */
.page-hero { padding: 52px 0 28px; border-bottom: 1px solid var(--line); background: #fff; }
.page-hero h1 { margin: 10px 0 10px; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 40em; }
.prose { max-width: 780px; padding: 40px 0 70px; }
.prose h2 { font-size: 1.18rem; margin: 38px 0 12px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .94rem; color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .88rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #f4f1eb; font-weight: 700; width: 30%; }
.note-box { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; font-size: .86rem; color: #8a3524; margin: 20px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-collage { order: -1; }
  .standard-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .nav { display: none; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px;
    font-family: inherit; font-weight: 700; font-size: .86rem; cursor: pointer;
  }
  .nav.is-open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 18px 16px; gap: 2px;
  }
  .nav.is-open a { padding: 12px; }
  .nav.is-open a.cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 32px; }
  .hero-stats { gap: 20px; }
  .section { padding: 44px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 13px; gap: 7px; }
  .card-title { font-size: .86rem; }
  .card-price { font-size: .95rem; }
  .card-reason { font-size: .76rem; -webkit-line-clamp: 2; }
  .card-links a { font-size: .76rem; padding: 9px 6px; }
  .badge-source, .badge-pick { font-size: .6rem; padding: 4px 7px; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .toolbar { top: 60px; }
  .header-in { height: 60px; }
  .hero h1 { font-size: 1.72rem; }
  .hero-collage { gap: 10px; }
  .hero-card { padding: 8px; gap: 8px; border-radius: 14px; }
  .hero-card img { width: 46px; height: 46px; border-radius: 9px; }
  .hero-card .t { font-size: .72rem; }
  .hero-card .p { font-size: .7rem; white-space: nowrap; margin-top: 2px; }
  .hero-stats b { font-size: 1.16rem; }
}
