:root { color-scheme: light; --ink:#332044; --purple:#63428a; --yellow:#fffcae; --muted:#716879; --line:#e8e2ec; font-family:"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:#f6f4f8; color:var(--ink); font-size:1rem; line-height:1.6; word-break:keep-all; }
a { color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible { outline:3px solid var(--purple); outline-offset:5px; }
.page { max-width:600px; min-height:100svh; margin:auto; background:#fff; padding:48px 28px 24px; }
.profile { text-align:center; }
.avatar { width:108px; height:108px; border-radius:50%; display:block; margin:0 auto 16px; }
.handle { margin:0 0 3px; color:var(--muted); font-size:.875rem; letter-spacing:.015em; }
h1 { margin:0; font-size:2rem; font-weight:800; letter-spacing:-.04em; line-height:1.4; }
.intro { margin:12px 0 23px; color:#65576c; font-size:1rem; line-height:1.65; }
.instagram { display:inline-flex; justify-content:center; align-items:center; gap:28px; min-height:48px; padding:10px 23px; border:1px solid #d7cbe4; border-radius:28px; font-size:.9375rem; color:var(--purple); font-weight:600; }
.instagram:hover { background:#f5f0fb; }
main { margin-top:48px; }
.section-title { display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:1px solid var(--line); padding-bottom:13px; }
h2 { margin:0; font-size:1.1875rem; font-weight:750; letter-spacing:-.035em; }
#item-count { margin:0 0 16px; font-size:.8125rem; color:var(--muted); }
.sort-label { font-size:.8125rem; color:var(--muted); }
.disclosure { margin:14px 0 23px; font-size:.875rem; line-height:1.65; color:#645b6b; }
.search-tools { margin-bottom:22px; }
.search-field { display:flex; align-items:center; min-height:52px; border:1px solid #d7cbe4; border-radius:14px; background:#faf8fc; padding:0 5px 0 15px; gap:10px; }
.search-field:focus-within { outline:2px solid var(--purple); outline-offset:2px; }
.search-icon { flex-shrink:0; color:var(--purple); }
#product-search { min-width:0; width:100%; padding:14px 0; border:0; outline:0; background:transparent; font:inherit; font-size:1rem; color:var(--ink); }
#product-search::placeholder { color:var(--muted); opacity:1; }
#product-search::-webkit-search-cancel-button { -webkit-appearance:none; }
#clear-search { flex-shrink:0; width:44px; height:44px; border:0; border-radius:10px; background:transparent; color:var(--muted); font:inherit; font-size:1.5rem; cursor:pointer; }
#clear-search:hover { background:#eee7f4; }
.search-hint { margin:8px 2px 0; font-size:.8125rem; color:var(--muted); }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.empty { padding:38px 20px 40px; background:#fffef0; border:1px solid #eeedc9; border-radius:18px; text-align:center; }
.label { display:inline-block; border-radius:6px; background:var(--yellow); color:#605018; padding:4px 8px; font-size:.75rem; letter-spacing:.075em; font-weight:700; }
h3 { margin:17px 0 10px; font-size:1.125rem; letter-spacing:-.035em; }
.empty p { margin:0; color:var(--muted); font-size:1rem; }
.catalog { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 15px; }
.product { min-width:0; display:block; }
.product img { aspect-ratio:1; width:100%; height:auto; object-fit:cover; background:#f4f1f6; border:1px solid var(--line); border-radius:12px; display:block; }
.product img.contain { object-fit:contain; }
.product .number { display:block; color:var(--purple); font-weight:700; font-size:.8125rem; margin-top:12px; }
.product h3 { margin:2px 0 8px; font-size:1rem; line-height:1.5; }
.product .buy { font-size:.875rem; color:var(--purple); display:inline-block; padding:5px 0; }
footer { margin-top:48px; border-top:1px solid var(--line); padding-top:19px; color:var(--muted); font-size:.8125rem; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }
footer span:first-child { color:var(--purple); font-weight:700; }
.notice { font-size:.9375rem; }
[hidden] { display:none!important; }
@media(max-width:380px) { .page { padding:32px 20px 22px; } .catalog { grid-template-columns:1fr; } }
@media(min-width:700px) { .page { margin:32px auto; min-height:calc(100svh - 64px); border:1px solid var(--line); border-radius:24px; padding:42px 38px 26px; } }
@media(prefers-reduced-motion:no-preference) { .instagram { transition:background-color .15s ease; } }
.legal-page { max-width:780px; }
.legal-page main { margin-top:28px; }
.legal-page section { margin-top:32px; }
.legal-page section h2 { margin-bottom:12px; }
.legal-page a:not(.instagram) { color:var(--purple); text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.legal-page li { margin:10px 0; }
.legal-page ul { padding-left:22px; }
.back-link { display:inline-block; margin-bottom:28px; }
.legal-links { width:100%; display:flex; gap:16px; flex-wrap:wrap; }
