
:root{
  --bg:#ffffff;
  --fg:#18181b;
  --muted:#71717a;
  --border:#e4e4e7;
  --card:#fafafa;
  --accent:#18181b;
  --accentFg:#ffffff;
  --radius:16px;
  --shadow:0 6px 20px rgba(0,0,0,.06);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Apple SD Gothic Neo, Noto Sans KR, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--fg);
}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px; margin:0 auto; padding:20px}
.header{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
}
.brand{font-weight:800; letter-spacing:-.02em; font-size:20px}
.nav{display:flex; gap:14px; font-size:14px; color:var(--muted)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:12px;
  border:1px solid var(--border);
  background:#fff; cursor:pointer; font-size:14px;
}
.btn.primary{
  background:var(--accent);
  color:var(--accentFg);
  border-color:var(--accent);
}
.btn:disabled{opacity:.6; cursor:not-allowed}
.hero{
  margin-top:18px;
  display:grid; gap:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
}
@media (min-width: 860px){
  .hero{grid-template-columns: 1.2fr .8fr;}
}
.h1{font-size:34px; font-weight:800; letter-spacing:-.03em; line-height:1.1}
.p{color:var(--muted); margin-top:10px; line-height:1.6}
.actions{display:flex; gap:10px; margin-top:16px; flex-wrap:wrap}
.preview{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:linear-gradient(135deg, #fafafa, #fff);
  padding:14px;
}
.preview .box{
  aspect-ratio: 16/10;
  border-radius:14px;
  border:1px solid var(--border);
  background: repeating-linear-gradient(45deg, #f4f4f5, #f4f4f5 10px, #fff 10px, #fff 20px);
}
.section{margin-top:26px}
.section h2{margin:0 0 10px 0; font-size:18px}
.grid{
  display:grid; gap:14px;
}
@media (min-width: 640px){
  .grid{grid-template-columns: repeat(2, 1fr);}
}
@media (min-width: 980px){
  .grid{grid-template-columns: repeat(3, 1fr);}
}
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  background:#fff;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow .12s ease, transform .12s ease;
}
.card:hover{box-shadow: var(--shadow); transform: translateY(-1px)}
.thumb{
  aspect-ratio: 16/10;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fafafa;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); font-size:12px;
}
.badges{display:flex; gap:6px; flex-wrap:wrap; margin-top:10px}
.badge{
  font-size:11px; padding:5px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background:var(--card);
}
.price{margin-top:10px; font-weight:800}
.small{font-size:12px; color:var(--muted)}
.kicker{font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.08em}
.title{font-size:16px; font-weight:800; margin-top:4px}
.subtitle{font-size:13px; color:var(--muted); margin-top:6px; line-height:1.5}
.footer{
  margin-top:34px; padding:18px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:12px;
  display:flex; gap:14px; flex-wrap:wrap; justify-content:space-between;
}
hr{border:none; border-top:1px solid var(--border); margin:16px 0}
.detail{
  margin-top:22px;
  display:grid; gap:18px;
}
@media (min-width: 980px){
  .detail{grid-template-columns: 1.3fr .7fr;}
}
.sticky{
  position:sticky;
  top:16px;
}
.list{margin:8px 0 0 0; padding-left:18px; color:var(--muted); line-height:1.7}
.table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.table th,.table td{
  border-top:1px solid var(--border);
  padding:10px 8px;
  text-align:left;
}
.table th{color:var(--muted); font-weight:600}
.input, textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  font-size:14px;
}
textarea{min-height:90px; resize:vertical}
.row{display:grid; gap:10px}
@media (min-width: 760px){
  .row{grid-template-columns: 1fr 1fr;}
}
.notice{
  border:1px dashed var(--border);
  background:var(--card);
  border-radius:var(--radius);
  padding:12px 14px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
