/* ═══ CP (2026-11-01 Fable, spec.md F11~F16): 주문 확인 창의 쿠폰 줄 · 내 쿠폰 카드. enroll-flow.css 의 .enr-rows 안에 들어가는 줄이라 글자 · 간격은 그 규칙을 따른다.
   구현 때 css/sections/lms/coupon.css(주문 창 · 내 강의실 공통) ═══ */
.enr-rows .cp-row { flex-wrap: wrap; row-gap: 2px; }
.enr-rows .cp-row dt { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #14151a; font-weight: 700; }
.enr-rows .cp-sub { flex: 1 1 100%; margin: 0; color: #667085; font-size: 12.5px; font-weight: 500; line-height: 1.45; text-align: right; word-break: keep-all; }
.cp-ico { width: 22px; height: 22px; flex: none; }
.cp-unset { display: inline-flex; align-items: center; min-height: 28px; padding: 0 8px; border: 1px solid #c9ccd4; border-radius: 8px; background: #fff; color: #3d404a; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.cp-unset:hover { border-color: #553ae7; color: #553ae7; }
.cp-unset:focus-visible { outline: 3px solid #b8adf7; outline-offset: 2px; }
.enr-rows .cp-row dd { color: #553ae7; font-weight: 800; }
.enr-rows .cp-row dd .enr-dd-sub { color: #667085; font-weight: 500; }
.enr-rows .cp-row--off dd { color: #667085; font-weight: 600; }
.enr-rows .cp-row--off dt { color: #667085; }
.enr-rows .cp-row--off .cp-ico { opacity: .5; }
.cp-note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #0f1a4b; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.cp-note i { margin-top: 2px; color: #c8f03c; }
.cp-note b { color: #c8f03c; }
.cp-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.enr-total .cp-final-sub { margin-top: 2px; color: #553ae7; font-size: 12.5px; font-weight: 700; }
.cp-guest { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border: 1px solid #e4e8ee; border-radius: 10px; color: #344054; font-size: 13.5px; line-height: 1.5; }
.cp-guest img { flex: none; width: 28px; height: 28px; }
.cp-guest a { color: #553ae7; font-weight: 700; white-space: nowrap; }

/* 내 강의실 > 결제내역 맨 위 「내 쿠폰」 카드(F12) */
.cp-mine { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #e4e5e9; border-radius: 14px; background: #fff; }
.cp-mine-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15.5px; font-weight: 800; color: #14151a; }
.cp-mine-h small { margin-left: auto; font-size: 13px; font-weight: 600; color: #6b6f7a; }
.cp-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.cp-item img { width: 44px; height: 44px; grid-column: 1; grid-row: 1 / 3; }
.cp-item .n { grid-column: 2; grid-row: 1; margin: 0; font-size: 16px; font-weight: 800; color: #14151a; }
.cp-item .d { grid-column: 2; grid-row: 2; margin: 0; font-size: 13.5px; color: #3d404a; word-break: keep-all; }
.cp-item .d a { color: #553ae7; font-weight: 700; }
.cp-st { grid-column: 3; grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: #0f1a4b; color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.cp-st--used { background: #f3f4f6; color: #3d404a; }
.cp-st--gone { background: #f3f4f6; color: #6b6f7a; }
@media (max-width: 480px) { .cp-item { grid-template-columns: 36px minmax(0, 1fr); } .cp-item img { width: 36px; height: 36px; } .cp-st { grid-row: auto; grid-column: 2; justify-self: start; } }


.cp-item + .cp-item { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e4e5e9; }
.cp-payment { color: #553ae7; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.mp-pay-item > .cp-payment { grid-column: 1 / -1; }

.enr-rows .cp-row { min-height: 68px; align-content: center; }
.enr-rows .cp-sub { line-height: 18px; }
.cp-row .cp-unset { width: 40px; justify-content: center; }
