/* CGP PUBLICATION – public website styles (Bootstrap 5 + brand layer) */
:root {
  --cgp-navy: #12345A;
  --cgp-navy-dark: #0c2440;
  --cgp-green: #159447;
  --cgp-gold: #E5B84B;
  --cgp-bg: #F5F8FC;
  --cgp-text: #263445;
  --cgp-muted: #5f6f82;
  --cgp-border: #e2e8f0;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(18, 52, 90, .06);
  --shadow: 0 10px 30px rgba(18, 52, 90, .10);
  --bs-primary: #12345A;
  --bs-primary-rgb: 18, 52, 90;
  --bs-success: #159447;
  --bs-success-rgb: 21, 148, 71;
  --bs-body-color: #263445;
  --bs-body-font-family: 'Open Sans', system-ui, sans-serif;
  --bs-link-color: #12345A;
  --bs-link-color-rgb: 18, 52, 90;
  --bs-link-hover-color: #159447;
}
body { background: #fff; color: var(--cgp-text); font-family: 'Open Sans', system-ui, sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Poppins', sans-serif; color: var(--cgp-navy); font-weight: 600; letter-spacing: -.01em; }
a { text-decoration: none; }
.btn { font-family: 'Poppins', sans-serif; font-weight: 500; border-radius: 10px; }
.btn-primary { --bs-btn-bg: var(--cgp-navy); --bs-btn-border-color: var(--cgp-navy); --bs-btn-hover-bg: var(--cgp-navy-dark); --bs-btn-hover-border-color: var(--cgp-navy-dark); --bs-btn-active-bg: var(--cgp-navy-dark); }
.btn-outline-primary { --bs-btn-color: var(--cgp-navy); --bs-btn-border-color: var(--cgp-navy); --bs-btn-hover-bg: var(--cgp-navy); --bs-btn-hover-border-color: var(--cgp-navy); }
.btn-success { --bs-btn-bg: var(--cgp-green); --bs-btn-border-color: var(--cgp-green); --bs-btn-hover-bg: #0f7a39; --bs-btn-hover-border-color: #0f7a39; }
.btn-gold { background: var(--cgp-gold); color: var(--cgp-navy-dark); border: 0; }
.btn-gold:hover { background: #d9a734; color: var(--cgp-navy-dark); }
.btn-link { color: var(--cgp-navy); font-weight: 600; }
.text-gold { color: var(--cgp-gold) !important; }
.text-primary { color: var(--cgp-navy) !important; }
.text-success { color: var(--cgp-green) !important; }
.bg-soft { background: var(--cgp-bg); }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--cgp-navy); box-shadow: 0 0 0 .2rem rgba(18, 52, 90, .15); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Top bar & header */
.topbar { background: var(--cgp-navy-dark); color: rgba(255,255,255,.8); font-size: .8rem; padding: .4rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--cgp-gold); }
.site-header { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cgp-border); }
.site-header .navbar { padding: .6rem 0; }
.brand-logo { height: 46px; width: auto; }
.brand-wordmark { display: inline-flex; flex-direction: column; line-height: 1; font-family: 'Poppins', sans-serif; }
.brand-wordmark .bw-cgp { font-size: 1.6rem; font-weight: 700; color: var(--cgp-navy); letter-spacing: .02em; }
.brand-wordmark .bw-cgp::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cgp-green); margin-left: 3px; }
.brand-wordmark .bw-pub { font-size: .62rem; font-weight: 600; letter-spacing: .32em; color: var(--cgp-green); }
.brand-wordmark.on-dark .bw-cgp { color: #fff; }
.brand-wordmark.on-dark .bw-pub { color: var(--cgp-gold); }
.navbar .nav-link { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .92rem; color: var(--cgp-text); padding: .5rem .7rem !important; border-radius: 8px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--cgp-navy); background: var(--cgp-bg); }
.navbar .nav-link.active { box-shadow: inset 0 -2px 0 var(--cgp-green); }
.navbar-toggler { border: 0; font-size: 1.6rem; color: var(--cgp-navy); }
.navbar-toggler:focus { box-shadow: none; }
.btn-icon { font-size: 1.25rem; color: var(--cgp-navy); padding: .35rem .55rem; border: 0; }
.btn-icon:hover { background: var(--cgp-bg); }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--cgp-green); color: #fff; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.search-bar { background: var(--cgp-bg); border-top: 1px solid var(--cgp-border); }
.search-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 1050; margin-top: 4px; }
.search-suggest .list-group-item small { color: var(--cgp-muted); }
@media (max-width: 1199.98px) {
  .navbar-collapse { border-top: 1px solid var(--cgp-border); margin-top: .6rem; padding-top: .4rem; }
  .navbar .nav-link.active { box-shadow: inset 3px 0 0 var(--cgp-green); }
}

/* Sections */
.section { padding: 80px 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: .35rem; }
.section-head p { color: var(--cgp-muted); max-width: 640px; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-family: 'Poppins', sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cgp-green); margin-bottom: .6rem; }
.section-navy { background: var(--cgp-navy); color: #fff; }
@media (max-width: 767.98px) { .section { padding: 56px 0; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cgp-bg) 0%, #fff 100%); padding: 72px 0 88px; overflow: hidden; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.2rem; }
.hero-lead { font-size: 1.15rem; color: var(--cgp-muted); max-width: 560px; }
.hero-support { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--cgp-navy); border-left: 3px solid var(--cgp-gold); padding-left: .8rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cgp-border); }
.hero-stats strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.8rem; color: var(--cgp-navy); }
.hero-stats span { font-size: .85rem; color: var(--cgp-muted); }
.hero-stack { position: relative; height: 440px; max-width: 520px; margin: 0 auto; }
.hero-book { position: absolute; width: 230px; aspect-ratio: 2/3; border-radius: 6px 12px 12px 6px; box-shadow: 0 30px 50px rgba(18,52,90,.25); overflow: hidden; transition: transform .6s ease; }
.hero-book.hb-0 { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.hero-book.hb-1 { left: 4%; top: 60px; transform: rotate(-8deg); z-index: 2; }
.hero-book.hb-2 { right: 4%; top: 60px; transform: rotate(8deg); z-index: 1; }
.hero-stack:hover .hb-1 { transform: rotate(-11deg) translateX(-10px); }
.hero-stack:hover .hb-2 { transform: rotate(11deg) translateX(10px); }
.hero-shelf { position: absolute; bottom: 30px; left: 0; right: 0; height: 14px; background: var(--cgp-navy); border-radius: 4px; box-shadow: 0 10px 20px rgba(18,52,90,.2); }
@media (max-width: 575.98px) { .hero-stack { height: 340px; } .hero-book { width: 170px; } }

/* Generated covers */
.gen-cover { width: 100%; height: 100%; aspect-ratio: 2/3; display: flex; flex-direction: column; padding: 14% 11% 10%; position: relative; color: #fff; overflow: hidden; }
.gen-cover::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7%; background: rgba(0,0,0,.18); }
.gen-cover::after { content: ''; position: absolute; right: -30%; bottom: -12%; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.gen-cover .gc-series { font-size: .62em; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 600; font-family: 'Poppins', sans-serif; }
.gen-cover .gc-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15em; line-height: 1.15; margin-top: .8em; }
.gen-cover .gc-sub { font-size: .7em; opacity: .85; margin-top: .5em; }
.gen-cover .gc-pub { margin-top: auto; font-family: 'Poppins', sans-serif; font-size: .55em; letter-spacing: .25em; font-weight: 600; color: var(--cgp-gold); position: relative; z-index: 1; }
.gen-navy { background: var(--cgp-navy); }
.gen-green { background: #127a3c; }
.gen-teal { background: #0f5c6e; }
.gen-slate { background: #3a4a5e; }
.gen-gold { background: #8a6418; }
.gen-gold .gc-pub { color: #fff; }
.book-cover-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2/3; display: block; }

/* Category cards */
.cat-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.cat-media { height: 130px; display: grid; place-items: center; position: relative; color: #fff; font-size: 2.6rem; }
.cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-letter { position: absolute; top: 10px; left: 14px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .85rem; opacity: .75; }
.cat-career-guideline { background: var(--cgp-navy); }
.cat-cg-tech { background: var(--cgp-green); }
.cat-language { background: #0f5c6e; }
.cat-business-professional { background: #3a4a5e; }
.cat-general-author { background: #8a6418; }
.cat-body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.cat-body p { font-size: .88rem; color: var(--cgp-muted); flex: 1; }
.cat-link { font-family: 'Poppins', sans-serif; font-size: .85rem; font-weight: 600; color: var(--cgp-green); }

/* Book cards */
.book-card { background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.book-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.book-card-cover { display: block; position: relative; background: var(--cgp-bg); padding: 22px 22px 0; }
.book-card-cover > * { border-radius: 3px 8px 8px 3px; box-shadow: 0 12px 24px rgba(18,52,90,.18); font-size: 15px; }
.ribbon { position: absolute; top: 12px; right: 12px; background: var(--cgp-green); color: #fff; font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.ribbon-gold { background: var(--cgp-gold); color: var(--cgp-navy-dark); }
.book-card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.book-cat { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cgp-green); }
.book-title { font-size: .98rem; line-height: 1.3; margin: 0 0 .25rem; }
.book-title a { color: var(--cgp-navy); }
.book-title a:hover { color: var(--cgp-green); }
.book-author { font-size: .83rem; color: var(--cgp-muted); margin-bottom: .5rem; }
.book-meta { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .74rem; color: var(--cgp-muted); }
.book-meta li + li::before { content: '•'; margin-right: .6rem; opacity: .5; }
.book-price { margin-top: auto; display: flex; align-items: baseline; gap: .45rem; margin-bottom: .75rem; }
.book-price strong { font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--cgp-navy); }
.book-price del { color: var(--cgp-muted); font-size: .85rem; }
.book-price small { font-size: .65rem; }
.book-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.book-actions > * { flex: 1 1 auto; }
.book-actions .btn { width: 100%; font-size: .8rem; }
.badge-sample { display: inline-block; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8a5a00; background: #fff4d6; border: 1px dashed #e5b84b; border-radius: 6px; padding: .1rem .4rem; }
.scroll-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.scroll-item { scroll-snap-align: start; }
@media (min-width: 1200px) { .scroll-row { grid-auto-columns: calc((100% - 4.5rem) / 4); } }

/* Authors */
.author-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); padding: 1.8rem 1.25rem; color: inherit; transition: box-shadow .25s, transform .25s; height: 100%; }
.author-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.author-card h2, .author-card h3 { font-size: 1.02rem; margin: .9rem 0 .2rem; }
.author-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid var(--cgp-bg); }
.author-photo-lg { width: 140px; height: 140px; font-size: 3rem !important; }
.author-initials { display: grid; place-items: center; background: var(--cgp-navy); color: var(--cgp-gold); font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 700; }
.author-desig { font-size: .82rem; color: var(--cgp-green); font-weight: 600; margin-bottom: .5rem; }

/* Feature tiles */
.feature-tile { display: flex; align-items: center; gap: .9rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1rem 1.1rem; font-weight: 600; }
.feature-tile i { font-size: 1.4rem; color: var(--cgp-gold); }
.feature-card { background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); padding: 1.6rem; height: 100%; }
.feature-card i { font-size: 1.8rem; color: var(--cgp-green); display: block; margin-bottom: .8rem; }
.feature-card.sm { padding: 1.1rem; }
.feature-card.sm i { font-size: 1.4rem; margin-bottom: .5rem; }
.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.inst-item { display: flex; align-items: center; gap: .8rem; background: var(--cgp-bg); border-radius: 12px; padding: 1.1rem 1.2rem; font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--cgp-navy); }
.inst-item i { font-size: 1.4rem; color: var(--cgp-green); }
.cta-band { background: var(--cgp-navy); border-radius: 20px; padding: 3rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(229,184,75,.12); }
@media (max-width: 767.98px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 2rem; } }
.value-card { background: #fff; border-radius: var(--radius); padding: 1.3rem; border-top: 3px solid var(--cgp-green); box-shadow: var(--shadow-sm); height: 100%; }
.value-card h3 { font-size: 1rem; }
.value-card p { font-size: .9rem; color: var(--cgp-muted); margin: 0; }
.news-card { display: block; background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); padding: 1.5rem; color: inherit; height: 100%; transition: box-shadow .25s; }
.news-card:hover { box-shadow: var(--shadow); color: inherit; }
.news-type { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cgp-green); margin-right: .6rem; }
.news-card time { font-size: .8rem; color: var(--cgp-muted); }
.news-card h2, .news-card h3 { font-size: 1.05rem; margin: .6rem 0 .5rem; }
.news-card p { font-size: .9rem; color: var(--cgp-muted); }

/* Page hero & content */
.page-hero { background: var(--cgp-navy); color: #fff; padding: 48px 0 52px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 720px; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--cgp-gold); }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); font-size: .82rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb-item.active { color: var(--cgp-gold); }
.prose { line-height: 1.8; }
.prose h2 { font-size: 1.35rem; margin-top: 1.5rem; }
.form-card { background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
@media (max-width: 575.98px) { .form-card { padding: 1.25rem; } }
.spec-card { background: var(--cgp-bg); border-radius: var(--radius); padding: 1.5rem; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: 0; font-size: .9rem; }
.spec-list dt { font-weight: 600; color: var(--cgp-muted); }
.spec-list dd { margin: 0; text-align: right; }
.check-list, .process-list { padding-left: 1.2rem; }
.check-list li, .process-list li { margin-bottom: .5rem; }
.contact-list li { display: flex; gap: .8rem; margin-bottom: .9rem; }
.contact-list i { color: var(--cgp-green); font-size: 1.1rem; }
.filter-panel { background: var(--cgp-bg); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 96px; }
.filter-panel .form-label { font-size: .8rem; font-weight: 600; color: var(--cgp-muted); margin-bottom: .25rem; }
.empty-state { text-align: center; padding: 4rem 1rem; background: var(--cgp-bg); border-radius: var(--radius); }
.empty-state i { font-size: 2.6rem; color: var(--cgp-muted); }
.pagination { --bs-pagination-active-bg: var(--cgp-navy); --bs-pagination-active-border-color: var(--cgp-navy); --bs-pagination-color: var(--cgp-navy); }

/* Book detail */
.book-hero { background: var(--cgp-bg); padding: 28px 0 56px; }
.book-hero .breadcrumb { font-size: .82rem; }
.book-detail-cover { max-width: 340px; margin: 0 auto; border-radius: 4px 12px 12px 4px; overflow: hidden; box-shadow: 0 30px 60px rgba(18,52,90,.25); font-size: 22px; }
.book-h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: .3rem 0; }
.book-subtitle { font-size: 1.15rem; color: var(--cgp-muted); margin-bottom: .6rem; }
.book-byline { font-size: .95rem; }
.book-byline a { font-weight: 600; }
.lead-sm { font-size: 1.02rem; color: var(--cgp-text); }
.buy-box { background: #fff; border: 1px solid var(--cgp-border); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; box-shadow: var(--shadow-sm); }
.format-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.format-option { display: flex; gap: .6rem; border: 1.5px solid var(--cgp-border); border-radius: 12px; padding: .8rem .9rem; cursor: pointer; transition: border-color .2s; }
.format-option:has(input:checked) { border-color: var(--cgp-green); background: #f2fbf5; }
.format-option.disabled { opacity: .55; cursor: not-allowed; }
.fo-body { display: flex; flex-direction: column; }
.fo-type { font-weight: 600; font-size: .9rem; }
.fo-price { font-family: 'Poppins', sans-serif; font-size: 1.15rem; color: var(--cgp-navy); font-weight: 600; }
.fo-price del { font-size: .8rem; color: var(--cgp-muted); font-weight: 400; }
.book-tabs .nav-link { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--cgp-muted); }
.book-tabs .nav-link.active { color: var(--cgp-navy); border-bottom: 2px solid var(--cgp-green); }
.toc-list li { padding: .45rem 0; border-bottom: 1px dashed var(--cgp-border); }

/* Footer */
.site-footer { background: var(--cgp-navy-dark); color: rgba(255,255,255,.82); padding: 64px 0 24px; margin-top: 0; }
.footer-title { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: var(--cgp-gold); }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; margin-right: .4rem; }
.social a:hover { background: var(--cgp-green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem; font-size: .82rem; }
.footer-policies a { color: rgba(255,255,255,.7); margin-left: 1rem; }
.footer-policies a:first-child { margin-left: 0; }
.footer-policies a:hover { color: var(--cgp-gold); }
.auth-section { background: var(--cgp-bg); min-height: 70vh; }
.auth-body { background: var(--cgp-bg); }

/* Subtle reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Keep wide gutters from overflowing phone screens */
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* Phase 3 – checkout & orders */
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cgp-navy); color: #fff; font-size: .85rem; margin-right: .6rem; }
.pay-badge { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--cgp-border); border-radius: 8px; padding: .4rem .7rem; font-size: .85rem; font-weight: 600; color: var(--cgp-navy); }
.order-badge { font-size: .78rem; padding: .4em .7em; }
.order-track { list-style: none; display: flex; padding: 0; margin: 0; counter-reset: s; }
.order-track li { flex: 1; text-align: center; position: relative; font-size: .85rem; color: var(--cgp-muted); font-weight: 600; }
.order-track li span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--cgp-border); margin: 0 auto .5rem; position: relative; z-index: 1; }
.order-track li::before { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: var(--cgp-border); }
.order-track li:first-child::before { display: none; }
.order-track li.done { color: var(--cgp-green); }
.order-track li.done span { background: var(--cgp-green); box-shadow: 0 0 0 4px #dff3e7; }
.order-track li.done::before { background: var(--cgp-green); }
.timeline { list-style: none; padding: 0 0 0 1rem; border-left: 2px solid var(--cgp-border); margin: 0 0 1rem; }
.timeline li { position: relative; padding: 0 0 .9rem .6rem; }
.timeline li::before { content: ''; position: absolute; left: -1.38rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--cgp-green); }
.timeline time { display: block; font-size: .75rem; color: var(--cgp-muted); }

/* Phase 5 – My Library */
.continue-card { display: flex; gap: 2rem; align-items: center; background: var(--cgp-bg); border-radius: var(--radius); padding: 1.75rem; }
.cc-cover { width: 150px; flex-shrink: 0; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 14px 30px rgba(18,52,90,.2); font-size: 13px; }
.cc-body { flex: 1; min-width: 0; }
.lib-progress { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; max-width: 420px; }
.lib-progress i { display: block; height: 100%; background: var(--cgp-green); border-radius: 3px; }
@media (max-width: 575.98px) { .continue-card { flex-direction: column; align-items: flex-start; padding: 1.25rem; } .cc-cover { width: 110px; } }
