:root {
  --bg: #fff8ef;
  --surface: #ffffff;
  --ink: #4a3b33;
  --muted: #9a8a7f;
  --line: #f1e4d4;
  --accent: #e8927c;
  --coupang: #e52528;
  --musinsa: #111111;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
}
.logo::before { content: "🍼"; font-size: 20px; }
.logo span { color: var(--accent); }
.header-link {
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}

.back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); padding: 4px 0 12px; }

/* Shared */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.tags .num { background: var(--accent); border-color: var(--accent); color: #fff; }

.ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, #fde7d6 0 18%, transparent 19%),
    radial-gradient(circle at 72% 64%, #f6d6d8 0 22%, transparent 23%),
    #fbefe2;
  color: var(--muted); font-size: 13px; font-weight: 600;
}
.ph span { background: rgba(255,255,255,0.8); padding: 6px 14px; border-radius: 999px; }
.thumb img, .media img, .item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Index */
.hero { text-align: center; padding: 36px 0 28px; }
.hero h1 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.35; }
.hero p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.look-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 48px; }
@media (min-width: 720px) { .look-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.look-card {
  display: block; background: var(--surface); border-radius: var(--radius);
  padding: 10px 10px 16px; box-shadow: 0 6px 20px rgba(150, 110, 80, 0.08);
}
.look-card .thumb { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; }
.look-card .dots { display: flex; gap: 4px; margin: 12px 4px 6px; }
.look-card .dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.06); }
.look-card .num { font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 4px; }
.look-card .name { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 2px 4px 8px; }
.look-card .tags { margin: 0 4px; }

/* Look detail */
.look { padding-bottom: 48px; }

.intro {
  display: grid; gap: 20px; align-items: center;
  background: var(--surface); border-radius: 32px; padding: 20px;
  box-shadow: 0 8px 28px rgba(150, 110, 80, 0.08);
}
@media (min-width: 820px) { .intro { grid-template-columns: 1.2fr 1fr; padding: 32px; gap: 32px; } }

.intro h1 { font-size: 26px; line-height: 1.35; letter-spacing: -0.03em; margin: 14px 0 10px; }
@media (min-width: 820px) { .intro h1 { font-size: 32px; } }
.intro .desc { color: var(--muted); font-size: 15px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.jump a {
  font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--tint, #eee) 45%, white);
}

.media { aspect-ratio: 9 / 16; max-height: 520px; width: 100%; margin: 0 auto; border-radius: 22px; overflow: hidden; }
@media (max-width: 819px) { .media { aspect-ratio: 4 / 3; } }
.media iframe, .media video { width: 100%; height: 100%; border: 0; display: block; }

.outfits { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .outfits { grid-template-columns: repeat(3, 1fr); } }

.outfit {
  background: color-mix(in srgb, var(--tint, #eee) 28%, white);
  border-radius: var(--radius); padding: 18px; scroll-margin-top: 16px;
  display: flex; flex-direction: column;
}
.outfit header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.outfit .emoji {
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.outfit-num { font-size: 12px; font-weight: 700; color: var(--muted); }
.outfit h2 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
.outfit ul { display: grid; gap: 8px; flex: 1; }
.outfit footer { margin-top: 14px; text-align: right; font-size: 13px; color: var(--muted); }
.outfit footer b { color: var(--ink); font-size: 16px; margin-left: 4px; }

.item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 16px; padding: 12px 14px;
}
.item-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; }
.item-body { flex: 1; min-width: 0; }
.item-kind { font-size: 12px; font-weight: 700; color: var(--accent); }
.item-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.item-name span { color: var(--muted); font-weight: 500; }
.item-sub { font-size: 12px; color: var(--muted); }
.buy {
  flex: none; font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 12px;
  color: #fff; white-space: nowrap;
}
.buy.coupang { background: var(--coupang); }
.buy.musinsa { background: var(--musinsa); }
.buy.disabled { background: #d8ccc1; pointer-events: none; }

.notice {
  margin-top: 24px; padding: 16px 18px; border-radius: 18px;
  background: #fdf1e3; border: 1px dashed #ecd2b6;
  font-size: 13px; color: var(--muted); line-height: 1.7;
}
.notice strong { display: block; color: var(--ink); margin-bottom: 4px; }

.site-footer { padding: 24px 0 40px; font-size: 12px; color: var(--muted); text-align: center; }
