:root { color-scheme:light; --blue:#146fe8; --navy:#0c315f; --sky:#eef7ff; --line:#d9e8f7; --text:#18324f; --muted:#6a7f96; }
* { box-sizing:border-box; }
body { margin:0; background:#f6faff; color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Malgun Gothic",sans-serif; }
.topbar { height:72px; padding:0 max(24px,calc((100% - 1180px)/2)); display:flex; align-items:center; justify-content:space-between; background:#fff; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:10px; color:var(--navy); font-size:21px; font-weight:800; text-decoration:none; }
.brand span { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:linear-gradient(135deg,#4bb9ff,var(--blue)); color:#fff; }
.status { font-size:13px; color:var(--muted); }.status i { display:inline-block; width:8px; height:8px; margin-right:6px; border-radius:50%; background:#19a974; }
main { max-width:1180px; margin:auto; padding:54px 24px 80px; }
.hero { display:grid; grid-template-columns:1.5fr .7fr; gap:40px; align-items:center; padding:48px; border:1px solid #cde6ff; border-radius:28px; background:linear-gradient(135deg,#eaf7ff 0%,#f9fcff 60%,#e9f2ff 100%); box-shadow:0 20px 50px rgba(30,85,145,.08); }
.eyebrow { margin:0 0 10px; color:var(--blue); font-size:12px; font-weight:800; letter-spacing:.12em; }
h1 { margin:0; color:var(--navy); font-size:clamp(34px,5vw,52px); line-height:1.2; letter-spacing:-.04em; }.description { max-width:660px; margin:20px 0 0; color:var(--muted); font-size:16px; line-height:1.8; }
.guide { padding:26px; border-radius:20px; background:#fff; box-shadow:0 12px 30px rgba(26,77,133,.1); }.guide strong { font-size:18px; }.guide ol { margin:16px 0 0; padding-left:22px; color:var(--muted); line-height:2; }
.catalog { margin-top:54px; }.section-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px; }.section-head h2 { margin:0; font-size:30px; }.actions { display:flex; align-items:center; gap:12px; }.actions span { font-weight:800; color:var(--blue); }.actions button { padding:10px 15px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--text); cursor:pointer; }
.notice { margin-bottom:20px; padding:14px 18px; border-radius:12px; background:#edf5ff; color:#496887; }.notice[data-state="success"] { background:#e9f8f2; color:#147a5d; }.notice[data-state="error"] { background:#fff0f0; color:#b42318; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }.product-card { overflow:hidden; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(35,78,120,.07); }.visual { display:grid; place-items:center; aspect-ratio:1.2; overflow:hidden; background:var(--sky); }.visual img { width:100%; height:100%; object-fit:cover; }.image-empty { color:#8da6be; font-size:12px; font-weight:800; letter-spacing:.1em; }.product-body { display:flex; flex-direction:column; gap:10px; padding:18px; }.code { color:var(--blue); font-size:11px; font-weight:800; }.product-body h3 { display:-webkit-box; min-height:48px; overflow:hidden; margin:0; font-size:16px; line-height:1.5; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:2; }.price { overflow:hidden; color:var(--navy); font-size:20px; text-overflow:ellipsis; white-space:nowrap; }.quantity { color:#315f91; font-size:13px; font-weight:800; }.request-note { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:12px; line-height:1.5; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:3; }.product-body time { color:var(--muted); font-size:11px; }.detail-link { padding-top:10px; border-top:1px solid #edf2f7; color:var(--blue); font-size:13px; font-weight:700; text-decoration:none; }
footer { padding:26px; border-top:1px solid var(--line); background:#fff; color:var(--muted); text-align:center; font-size:12px; }
@media (max-width:900px) { .hero { grid-template-columns:1fr; padding:32px; }.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .status { display:none; } main { padding:30px 16px 60px; }.hero { padding:24px; border-radius:20px; }.product-grid { grid-template-columns:1fr; }.section-head { align-items:start; flex-direction:column; } }
.admin-link { color:var(--blue); font-size:14px; font-weight:700; text-decoration:none; }
.prototype-note { padding:15px 20px; border-radius:12px; background:#fff3df; color:#875719; font-size:13px; line-height:1.7; }
.guide small { display:block; margin-top:15px; color:var(--muted); }
.final-price { display:flex; flex-direction:column; gap:8px; margin-top:6px; padding-top:15px; border-top:1px solid var(--line); }
.final-price span { color:var(--muted); font-size:12px; }.final-price strong { color:var(--blue); font-size:24px; }
.buy-button { padding:13px 15px; border:0; border-radius:10px; background:var(--blue); color:#fff; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
button:disabled { opacity:.5; cursor:not-allowed; }summary { cursor:pointer; color:var(--muted); font-size:13px; padding:8px 0; }
.cost-breakdown { padding:12px 0; font-size:12px; }.cost-breakdown>div { display:flex; justify-content:space-between; gap:10px; padding:6px 0; }.cost-breakdown small { display:block; color:var(--muted); margin-top:8px; line-height:1.5; }
.orders-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }.orders-list>.notice { grid-column:1/-1; }
.order-card { padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; min-width:0; }.order-card h3 { overflow-wrap:anywhere; font-size:16px; line-height:1.5; }.order-header { display:flex; align-items:center; justify-content:space-between; gap:10px; }.order-status { font-size:12px; padding:6px 12px; border-radius:20px; background:#eaf3ff; color:var(--blue); }.order-status.cancelled { background:#fff0f0; color:#ad3333; }.order-status.delivered { background:#e9f8f2; color:#147a5d; }
.order-steps { display:flex; gap:6px; margin:20px 0; }.order-steps span { flex:1; padding:8px 0; border-top:3px solid #e8edf3; color:var(--muted); font-size:11px; text-align:center; }.order-steps .done { border-color:var(--blue); color:var(--blue); }.tracking,.history-entry { font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
dialog { width:min(520px,calc(100% - 32px)); padding:28px; border:1px solid var(--line); border-radius:22px; color:var(--text); box-shadow:0 24px 80px #1234; max-height:90vh; overflow:auto; }dialog::backdrop { background:#102c4b88; }dialog h2 { margin:0 0 20px; }dialog h3 { font-size:16px; overflow-wrap:anywhere; }dialog p { font-size:13px; color:var(--muted); line-height:1.6; }.confirmation-total { display:block; text-align:right; font-size:28px; color:var(--blue); }.dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }.dialog-actions>button:not(.buy-button) { padding:10px 15px; border:1px solid var(--line); background:#fff; border-radius:10px; cursor:pointer; }#purchase-error { color:#b42318; }
@media(max-width:700px) { .orders-list { grid-template-columns:1fr; } }

.fee-summary { display:grid; gap:8px; font-size:11px; padding:12px; border-radius:10px; background:#f3f7fc; }
.fee-summary>div { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.fee-summary span { color:var(--muted); }.fee-summary b { white-space:nowrap; color:var(--navy); }

.bulk-bar { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin:0 0 22px; padding:20px; background:#fff; border:1px solid var(--line); border-radius:14px; }
.select-all,.product-select { display:flex; align-items:center; gap:8px; font-size:13px; cursor:pointer; }
.product-select { padding:12px 16px; border-bottom:1px solid var(--line); color:var(--muted); }
.select-all input,.product-select input { width:18px; height:18px; accent-color:var(--blue); flex-shrink:0; }
.bulk-info { display:grid; gap:4px; margin-left:auto; text-align:right; }.bulk-info span { color:var(--muted); font-size:12px; }.bulk-info strong { font-size:22px; color:var(--blue); }
.bulk-bar small { flex-basis:100%; color:var(--muted); font-size:12px; line-height:1.6; }
.bulk-confirm-item { padding:12px 0 18px; border-bottom:1px solid var(--line); }.bulk-confirm-item>strong { display:block; text-align:right; color:var(--blue); }
@media(max-width:560px) { .bulk-bar { gap:12px; padding:16px; }.select-all { flex-basis:100%; }.bulk-info { margin-left:0; text-align:left; flex:1; }.bulk-bar>.buy-button { font-size:13px; } }
