.cd-body { background: #fffaf7; }
.cd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 5%; background: #57091c; color: #fff; }
.cd-logo { display: flex; align-items: center; gap: 10px; }
.cd-logo strong { font-size: 22px; color: #ffd27d; }
.cd-logo span { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.cd-back { color: #ffd27d; font-size: 14px; font-weight: 600; }
.cd-back:hover { text-decoration: underline; }

.cd-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 5% 60px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.cd-level { display: inline-block; border: 1px solid #cbd5ff; background: #f2f4ff; color: #6179d9; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.cd-main h1 { font-size: 32px; color: #101728; margin-bottom: 12px; }
.cd-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #65708a; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid #eadfe2; }
.cd-stats .star { color: #f5a623; }
.cd-stats b { color: #351018; }
.cd-sec { margin-top: 26px; }
.cd-sec h2 { font-size: 20px; color: #57091c; margin-bottom: 10px; }
.cd-sec p { color: #4a3a3f; font-size: 15px; }
.cd-list { list-style: none; display: grid; gap: 8px; }
.cd-list li { position: relative; padding-left: 26px; color: #4a3a3f; font-size: 15px; }
.cd-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 700; }

.cd-side { position: sticky; top: 20px; background: #fff; border: 1px solid #dce1ec; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(28, 34, 52, 0.08); }
.cd-side img { width: 100%; height: 190px; object-fit: cover; display: block; }
.cd-side-body { padding: 18px; }
.cd-enroll { display: block; text-align: center; background: #ffd27d; color: #4b0717; font-weight: 700; padding: 12px; border-radius: 10px; box-shadow: 0 4px 10px rgba(103, 15, 33, 0.16); transition: background .3s, transform .3s; }
.cd-enroll:hover { background: #e5b45f; transform: translateY(-2px); }
.cd-side .course-price { margin-bottom: 14px; }

@media (max-width: 860px) {
    .cd-wrap { grid-template-columns: 1fr; }
    .cd-side { position: static; order: -1; }
    .cd-main h1 { font-size: 26px; }
}
