/* 단점까지 상품 노트: shared styles (clean app-like shopping UI) */
:root {
 --blue: #3182f6; --blue-d: #1b64da; --blue-bg: #e8f3ff;
 --ink: #191f28; --ink-2: #333d4b; --sub: #4e5968; --mute: #8b95a1; --line: #e5e8eb;
 --bg: #ffffff; --gap: #f2f4f6; --chip: #f2f4f6;
 --red: #f04452; --red-bg: #fff0f1; --green: #03b26c; --green-bg: #e9f9f1;
 --r: 16px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--gap); }
body { margin: 0; color: var(--ink); font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.5; letter-spacing: -0.2px; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
img { display: block; }
.app { max-width: 480px; margin: 0 auto; background: var(--bg); min-height: 100vh; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.bar-in { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.bar-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--sub); }
.bar-btn:hover { background: var(--gap); }
.back { font-size: 26px; line-height: 1; color: var(--ink); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; margin-left: -10px; }
.bar-title { font-size: 17px; font-weight: 600; }

.adnote { margin: 4px 20px 0; padding: 9px 12px; border-radius: 10px; background: #fff6e5; color: #8a5300; font-size: 13px; font-weight: 600; }

/* hero */
.hero { padding: 22px 20px 6px; }
.eyebrow { margin: 0 0 6px; color: var(--blue); font-size: 14px; font-weight: 700; }
h1 { margin: 0; font-size: 26px; line-height: 1.36; font-weight: 700; letter-spacing: -0.6px; }

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 20px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--chip); color: var(--sub); font-size: 14px; font-weight: 600; }
.chip.on { background: var(--ink); color: #fff; }

/* sections */
.sec { padding: 20px 20px 24px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.count { color: var(--mute); font-size: 14px; }
.gap { height: 12px; background: var(--gap); }

/* featured */
.feat { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.feat-pic { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--gap); overflow: hidden; }
.feat-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .3s; }
.feat-pic:hover img { transform: scale(1.02); }
.pic-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 4px 9px; border-radius: 8px; }
.feat-body { padding: 18px 18px 18px; }
.brand { margin: 0 0 4px; color: var(--mute); font-size: 13px; font-weight: 600; }
.feat h3, .sheet-t { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink-2); }
.price { margin: 12px 0 0; display: flex; align-items: baseline; gap: 6px; }
.price-l { color: var(--blue); font-size: 15px; font-weight: 700; }
.price b { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; }
.checked { margin: 2px 0 0; color: var(--mute); font-size: 13px; }
.tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--gap); color: var(--sub); font-size: 13px; padding: 5px 9px; border-radius: 8px; }
.warn { margin-top: 14px; background: var(--red-bg); color: var(--ink-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.warn b { display: block; color: var(--red); font-size: 13px; margin-bottom: 2px; }
.feat-act { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 16px; }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; text-align: center; transition: background .15s, transform .1s; }
.btn:hover { background: var(--blue-d); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: var(--blue-bg); color: var(--blue); }
.btn.ghost:hover { background: #d6e9ff; }
.btn.off { background: var(--gap); color: var(--mute); pointer-events: none; }
.btn.big { flex: 1; height: 56px; font-size: 17px; }

/* rows */
.row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-radius: 14px; }
.row:hover { background: var(--gap); }
.row-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-bg); display: grid; place-items: center; font-size: 22px; flex: none; }
.row-t { display: flex; flex-direction: column; min-width: 0; }
.row-t b { font-size: 16px; font-weight: 600; }
.row-t small { color: var(--mute); font-size: 14px; }
.chev { margin-left: auto; color: #b0b8c1; font-size: 26px; line-height: 1; }

/* grid */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-pic { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--gap); margin-bottom: 10px; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.card-n { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-p { font-size: 16px; font-weight: 700; margin-top: 4px; }
.card-d { font-size: 12.5px; color: var(--red); margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty { grid-column: 1 / -1; padding: 24px; text-align: center; color: var(--mute); background: var(--gap); border-radius: 14px; font-size: 14px; }

/* footer */
.foot { background: var(--gap); padding: 24px 20px 40px; color: var(--mute); font-size: 12.5px; line-height: 1.6; }
.foot p { margin: 0 0 8px; }
.foot .disc { color: var(--sub); font-weight: 600; }

/* bottom sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; z-index: 40; }
.sheet-bg.on { opacity: 1; }
.sheet { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 480px; max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; transform: translate(-50%, 100%); transition: transform .22s cubic-bezier(.2,.8,.2,1); z-index: 41; }
.sheet.on { transform: translate(-50%, 0); }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: #d1d6db; margin: 10px auto 4px; flex: none; }
.sheet-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--sub); font-size: 16px; }
.sheet-x:hover { background: var(--gap); }
.sheet-body { overflow-y: auto; padding: 10px 20px 20px; overscroll-behavior: contain; }
.sheet-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; border-radius: 16px; margin-bottom: 16px; background: var(--gap); }
.short { margin: 4px 0 0; color: var(--sub); font-size: 15px; }
.blk { margin-top: 22px; }
.blk h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.blk h4.bad { color: var(--red); } .blk h4.good { color: var(--green); }
.lst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lst li { position: relative; padding: 12px 14px 12px 36px; border-radius: 12px; background: var(--gap); font-size: 15px; color: var(--ink-2); }
.lst li::before { content: "•"; position: absolute; left: 16px; top: 11px; color: var(--mute); font-weight: 800; }
.lst.bad li { background: var(--red-bg); } .lst.bad li::before { content: "!"; color: var(--red); }
.lst.good li { background: var(--green-bg); } .lst.good li::before { content: "✓"; color: var(--green); }
.lst a { color: var(--blue); font-weight: 600; }
.muted { color: var(--mute); }
.pbanner { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 14px; background: var(--gap); }
.pbanner img { width: 96px; height: auto; border-radius: 10px; background: #fff; flex: none; }
.pbanner span { color: var(--mute); font-size: 13px; line-height: 1.6; }
.pbanner b { color: var(--blue); font-size: 15px; }
.fine { margin: 20px 0 0; color: var(--mute); font-size: 12.5px; }
.cta { flex: none; display: flex; align-items: center; gap: 14px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cta-p { display: flex; flex-direction: column; line-height: 1.2; flex: none; }
.cta-p small { color: var(--blue); font-size: 12px; font-weight: 700; }
.cta-p b { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; }

/* guide page */
.g-hero { padding: 18px 20px 24px; }
.g-hero h1 { font-size: 26px; }
.g-lead { margin: 10px 0 0; color: var(--sub); font-size: 16px; }
.g-meta { margin: 10px 0 0; color: var(--mute); font-size: 13px; }
.sum { background: var(--blue-bg); border-radius: var(--r); padding: 18px; }
.sum h2 { font-size: 17px; color: var(--blue); margin-bottom: 10px; }
.sum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sum li { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 11px 14px; }
.sum li small { color: var(--sub); font-size: 13.5px; }
.sum li b { font-size: 15.5px; }
.tabs { display: flex; gap: 6px; background: var(--gap); padding: 4px; border-radius: 14px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; padding: 9px 12px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--sub); text-align: center; white-space: nowrap; }
.tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.panel h3 { margin: 0 0 2px; font-size: 19px; }
.panel .how { margin: 0 0 14px; color: var(--sub); }
.pc { display: grid; gap: 10px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 4px; }
.steps li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.steps b { display: block; font-size: 16px; font-weight: 600; }
.steps span { color: var(--sub); font-size: 14.5px; }
.cmp { overflow-x: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.cmp table { border-collapse: collapse; width: 100%; min-width: 500px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { background: var(--gap); color: var(--sub); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 700; white-space: nowrap; position: sticky; left: 0; background: #fff; }
.cmp th:first-child { position: sticky; left: 0; }
.pcard { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.pcard img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; object-position: 50% 58%; flex: none; }
.pcard .n { font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.pcard .p { font-size: 16px; font-weight: 800; margin-top: 2px; }
.pcard .d { font-size: 13px; color: var(--red); margin-top: 2px; }
.note { margin: 12px 0 0; color: var(--mute); font-size: 13px; }
.dock { position: sticky; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 30%); }
