*{box-sizing:border-box}body{margin:0;background:#fff;color:#191f28;font:14px/1.7 Pretendard,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif}a{color:inherit;text-decoration:none}header{max-width:1120px;margin:auto;padding:28px 24px;display:flex;justify-content:space-between;font-weight:700}main{max-width:1000px;margin:48px auto;padding:0 24px}#product{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}#product-image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}.eyebrow{font-size:11px;letter-spacing:.15em;color:#8b95a1}h1{font-size:30px;line-height:1.4;letter-spacing:-.04em;margin:12px 0}h2{font-size:22px;margin:0}p{color:#6b7684}.price{font-size:24px;font-weight:700;color:#191f28}dl{border-top:1px solid #e5e8eb;margin:24px 0}dt{font-weight:700;margin:20px 0 6px}dd{margin:0;color:#6b7684}button,.primary,.secondary{font:inherit;cursor:pointer;border:0;border-radius:10px;padding:14px;font-weight:600}button.primary,.secondary,.kakaopay{display:block;text-align:center;width:100%;margin-top:12px}.primary{background:#3182f6;color:#fff}.secondary{border:1px solid #e5e8eb;background:#fff;color:#4e5968}.kakaopay{background:#fee500;color:#191919;min-height:52px}button:disabled{opacity:.55;cursor:not-allowed}dialog{width:min(calc(100% - 32px),460px);border:0;border-radius:18px;padding:28px;max-height:90vh;overflow:auto;box-shadow:0 12px 80px #0002}dialog::backdrop{background:#0005}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{padding:0;background:#fff;width:32px;height:32px;font-size:26px}.agree{display:flex;align-items:start;gap:10px;color:#4e5968;font-size:12px}.agree input{margin-top:5px;width:16px;height:16px;flex-shrink:0;accent-color:#3182f6}.agree a{text-decoration:underline}.error{color:#b3261e}#result{max-width:440px;margin:100px auto;text-align:center}#result-id{overflow-wrap:anywhere;font-size:12px}#result a{display:block;margin-top:16px}#retry{background:#3182f6;color:#fff;width:100%;margin-top:16px}[hidden]{display:none!important}:focus-visible{outline:2px solid #3182f6;outline-offset:3px}.card:hover{box-shadow:0 4px 20px #0001}@media(max-width:680px){main{margin:24px auto}#product{grid-template-columns:1fr;gap:20px}h1{font-size:26px}#result{margin-top:60px}}

.test-notice{padding:12px 14px;background:#fff8db;color:#6b5415;border-radius:8px;font-size:12px}

#checkout-period{white-space:pre-line}

.buyer-fields{border:0;padding:0;margin:24px 0}.buyer-fields legend{font-weight:700;font-size:15px}.buyer-fields label{display:block;margin:14px 0 6px;color:#4e5968;font-size:13px}.buyer-fields input{display:block;width:100%;min-height:48px;padding:12px 14px;border:1px solid #e5e8eb;border-radius:8px;background:#fff;color:#191f28;font:inherit}.buyer-fields input[readonly]{background:#f9fafb}.buyer-fields p{font-size:12px}

.checkout-page{max-width:480px;margin:48px auto}.checkout-page h1{margin-bottom:28px}

/* Compact checkout form */
body[data-checkout-mode] header{max-width:424px;padding:24px 24px 0;gap:16px;font-size:12px;align-items:center}
body[data-checkout-mode] header #back-product{color:#8b95a1;font-weight:500}
.checkout-page{max-width:424px;margin:52px auto 64px;padding:0 24px}
.checkout-page h1{font-size:26px;line-height:1.45;letter-spacing:-.045em;margin:0 0 10px;word-break:keep-all}
.checkout-intro{margin:0 0 32px;font-size:14px;color:#8b95a1}
.checkout-page .buyer-fields{margin:0 0 28px}
.checkout-page .buyer-fields label{margin:22px 0 8px;font-size:13px;font-weight:600;color:#6b7684}
.checkout-page .buyer-fields input{min-height:56px;padding:16px;border:1px solid transparent;border-radius:12px;background:#f2f4f6;font-size:16px;transition:background .15s,border-color .15s}
.checkout-page .buyer-fields input::placeholder{color:#b0b8c1}
.checkout-page .buyer-fields input:focus{outline:none;background:#fff;border-color:#3182f6;box-shadow:0 0 0 3px #3182f612}
.checkout-page .buyer-fields input[readonly]{color:#6b7684;background:#f9fafb}
.checkout-page .buyer-fields p{margin:14px 0 0;color:#8b95a1;font-size:12px;line-height:1.6}
.checkout-summary{border-top:1px solid #e5e8eb;padding:24px 0 20px}
.checkout-summary h2{font-size:15px;font-weight:600;color:#4e5968}
.checkout-summary .price{font-size:25px;margin:4px 0 14px;letter-spacing:-.03em}
.checkout-service summary{cursor:pointer;font-size:12px;color:#8b95a1}
.checkout-service p{font-size:12px;line-height:1.8;margin:10px 0 0}
.checkout-page .test-notice{margin:0 0 20px;line-height:1.6;background:#f9fafb;color:#8b95a1}
.checkout-page .agree{font-size:12px;line-height:1.7;gap:10px}
.checkout-page .agree input{width:18px;height:18px;margin-top:2px}
.checkout-page .kakaopay{min-height:56px;border-radius:14px;font-size:16px;margin-top:24px}
#page-message:empty,#payment-message:empty{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.checkout-page{margin-top:36px}.checkout-page h1{font-size:24px}}
