/* EduBenchers — course page (Batch 9) */
.eb-cp {
  --navy: #052050; --navy-2: #0b2f6e; --orange: #FA8128; --orange-2: #FF5E3A;
  --violet: #7B61FF; --teal: #12B5A6; --ink: #14213d; --muted: #67708a; --line: #e6e9f1; --soft: #f5f7fb;
  --display: 'Plus Jakarta Sans', 'Open Sans', system-ui, sans-serif;
  color: var(--ink);
}
.eb-cp h1, .eb-cp h2, .eb-cp h3 { font-family: var(--display); }

/* ---------- Hero ---------- */
.eb-cp-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 72px; background: var(--navy); }
.eb-cp-hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.eb-cp-hero-bg i { position: absolute; display: block; }
/* flat creative shapes, no glow */
.eb-cp-hero-bg i:nth-child(1) { width: 220px; height: 220px; right: 4%; top: -90px; border-radius: 50%; border: 26px solid var(--orange); }
.eb-cp-hero-bg i:nth-child(2) { width: 120px; height: 120px; right: 42%; bottom: -70px; border-radius: 50%; background: #FFC93C; }
.eb-cp-hero-bg i:nth-child(3) { width: 130px; height: 90px; left: 2%; top: 26px; background-image: radial-gradient(rgba(255,255,255,.35) 2px, transparent 2.5px); background-size: 16px 16px; }
.eb-cp-hero-bg i:nth-child(4) { width: 150px; height: 22px; right: 12%; bottom: 40px; background: repeating-linear-gradient(135deg, #12B5A6 0 8px, transparent 8px 16px); border-radius: 4px; }
.eb-cp-hero-bg i:nth-child(5) { width: 0; height: 0; left: 46%; top: 30px; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--violet); transform: rotate(18deg); animation: ebSpin 18s linear infinite; }
@keyframes ebSpin { to { transform: rotate(378deg); } }
@media (max-width: 991px) { .eb-cp-hero-bg i:nth-child(1) { width: 140px; height: 140px; border-width: 18px; right: -40px; top: -50px; } .eb-cp-hero-bg i:nth-child(2), .eb-cp-hero-bg i:nth-child(3), .eb-cp-hero-bg i:nth-child(4), .eb-cp-hero-bg i:nth-child(5) { display: none; } }
.eb-cp-hero .container { position: relative; }
.eb-cp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eb-cp-kicker i { color: var(--orange); }
.eb-cp-title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; margin: 18px 0 12px; color: #fff; }
.eb-cp-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 0 26px; }
.eb-cp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eb-cp-by { display: inline-flex; align-items: center; gap: 10px; margin-right: 8px; }
.eb-cp-by em { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-family: var(--display);
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.eb-cp-by small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); line-height: 1.2; }
.eb-cp-by b { font-size: 14.5px; }
.eb-cp-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.eb-cp-chip:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.eb-cp-chip i { color: #ffc28f; font-size: 12.5px; }

/* ---------- Sticky title bar ---------- */
.eb-cp-bar { position: fixed; top: 70px; left: 0; right: 0; z-index: 1030; transform: translateY(-110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  background: rgba(5,32,80,.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); color: #fff;
  box-shadow: 0 10px 30px rgba(3,15,43,.25); border-bottom: 1px solid rgba(255,255,255,.08); }
.eb-cp-bar.on { transform: none; }
.eb-cp-bar .container { display: flex; align-items: center; gap: 18px; height: 62px; }
.eb-cp-bar b { flex: 1; min-width: 0; font-family: var(--display); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-cp-bar-price { font-weight: 800; font-size: 18px; font-family: var(--display); }
.eb-cp-bar-price s { font-weight: 500; font-size: 13px; opacity: .55; margin-left: 6px; }
.eb-cp-bar-btn { border: 0; height: 40px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 14px; color: #fff !important; display: inline-flex; align-items: center; text-decoration: none !important;
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 6px 18px rgba(250,129,40,.4); transition: transform .2s; cursor: pointer; }
.eb-cp-bar-btn:hover { transform: translateY(-2px); }
@media (max-width: 991px) { .eb-cp-bar { display: none; } }

/* ---------- Layout ---------- */
.eb-cp-body { padding: 8px 0 70px; background: linear-gradient(180deg, #fff 0, var(--soft) 100%); }
.eb-cp-main > * { margin-top: 44px; }
.eb-cp-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 18px; }
.eb-cp-h h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--navy); }
.eb-cp-h p { flex-basis: 100%; margin: 0 0 0 46px; color: var(--muted); font-size: 14.5px; }
.eb-cp-tag { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; font-family: var(--display); color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 6px 16px rgba(250,129,40,.35); transform: rotate(-6deg); }
.eb-cp-tag.eb-tag-v { background: linear-gradient(135deg, #9b87ff, var(--violet)); box-shadow: 0 6px 16px rgba(123,97,255,.35); }
.eb-cp-tag.eb-tag-t { background: linear-gradient(135deg, #3fd5c3, var(--teal)); box-shadow: 0 6px 16px rgba(18,181,166,.35); }

/* reveal on scroll */
.eb-cp.js-on .eb-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.eb-cp.js-on .eb-rv.in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.eb-cp-about { position: relative; overflow: hidden; max-height: 360px; padding: 30px 32px 34px; border-radius: 24px;
  background: linear-gradient(140deg, #fff8f1 0%, #fff 55%, #f4f1ff 100%); border: 1px solid #f6e4d3; }
.eb-cp-about::after { content: "\201C"; position: absolute; right: 22px; top: -18px; font: 800 150px/1 Georgia, serif; color: rgba(250,129,40,.12); pointer-events: none; }
.eb-cp-about.expanded { max-height: none; }
.eb-cp-about-text { font-size: 16px; line-height: 1.8; color: #2c3550; }
.eb-cp-about-text p:first-child::first-letter { float: left; font: 800 52px/.9 var(--display); color: var(--orange); margin: 6px 10px 0 0; }
.eb-cp-about-text ul { padding-left: 20px; }
.eb-cp-about .view-more { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; border: 0; padding: 80px 0 20px; cursor: pointer; text-align: center; color: var(--navy);
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96) 62%); }
.eb-cp-about .view-more span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(5,32,80,.1); transition: transform .2s, box-shadow .2s; }
.eb-cp-about .view-more:hover span { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5,32,80,.16); }

/* ---------- Square cards ---------- */
.eb-sq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.eb-sq { --c: var(--orange); --c2: #ffe3cc; position: relative; aspect-ratio: 1 / 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 12px 8px; padding: 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(5,32,80,.04); isolation: isolate;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.eb-sq-v { --c: var(--violet); --c2: #e7e1ff; }
.eb-sq-t { --c: var(--teal); --c2: #d2f5f0; }
.eb-sq::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .25s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--c2), transparent 70%); }
.eb-sq::after { content: ""; position: absolute; width: 84px; height: 84px; right: 0; top: 0; border-radius: 0 21px 0 100%; background: var(--c2); z-index: -1; transform-origin: top right; transition: transform .4s ease; }
.eb-sq-n { align-self: start; font: 800 13px var(--display); color: var(--muted); letter-spacing: .05em; padding-top: 4px; }
.eb-sq-i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 16px;
  background: var(--c); box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 40%, transparent); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.eb-sq p { grid-column: 1 / -1; align-self: end; margin: 0; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.eb-sq:hover { --ty: -6px; border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 18px 40px rgba(5,32,80,.12); animation: ebWiggle .5s ease; }
.eb-sq:hover::before { opacity: 1; }
.eb-sq:hover::after { transform: scale(1.35); }
.eb-sq:hover .eb-sq-i { transform: rotate(-10deg) scale(1.08); }
.eb-rv.in .eb-sq { animation: ebNudge .7s ease both; animation-delay: calc(var(--d, 0ms) + 250ms); }
.eb-rv.in .eb-sq:hover { animation: ebWiggle .5s ease; }
@keyframes ebWiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -1.4deg; } 50% { rotate: 1.1deg; } 75% { rotate: -.5deg; } }
@keyframes ebNudge { 0%, 100% { rotate: 0deg; } 30% { rotate: -1deg; } 60% { rotate: .8deg; } }

/* ---------- Curriculum ---------- */
.eb-cur { display: grid; gap: 10px; }
.eb-cur-sec { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.eb-cur-sec:hover { border-color: #d4daea; box-shadow: 0 8px 22px rgba(5,32,80,.06); }
.eb-cur-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.eb-cur-head:focus { outline: none; } .eb-cur-head:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.eb-cur-head em { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 800 14px var(--display); font-style: normal; color: var(--navy); background: #eef2fb; transition: background .2s, color .2s; }
.eb-cur-head span { flex: 1; min-width: 0; }
.eb-cur-head b { display: block; font-size: 15.5px; }
.eb-cur-head small { color: var(--muted); font-size: 13px; }
.eb-cur-head > i { color: var(--muted); transition: transform .3s ease; }
.eb-cur-head[aria-expanded="true"] > i { transform: rotate(180deg); color: var(--orange); }
.eb-cur-head[aria-expanded="true"] em { background: var(--navy); color: #fff; }
.eb-cur-list { list-style: none; margin: 0; padding: 0 18px 12px 66px; }
.eb-cur-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 14.5px; color: #3a4360; }
.eb-cur-list li i { color: var(--orange); }
.eb-cur-list li span { flex: 1; min-width: 0; }
.eb-cur-list li small { color: var(--muted); white-space: nowrap; }

/* ---------- Feature tiles ---------- */
.eb-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eb-feat-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 18px; text-align: center;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, box-shadow .25s ease; }
.eb-feat-card:hover { box-shadow: 0 18px 40px rgba(5,32,80,.12); animation: ebWiggle .5s ease; }
.eb-feat-img { border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; margin-bottom: 12px; padding: 6px; }
.eb-feat-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.eb-feat-card:hover img { transform: scale(1.04); }
.eb-feat-card b { display: block; font-family: var(--display); font-size: 16px; color: var(--navy); }
.eb-feat-card small { color: var(--muted); font-size: 13px; }

/* ---------- Sidebar card ---------- */
.eb-cp-side { position: sticky; top: 146px; margin-top: -250px; z-index: 5; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(5,32,80,.35), 0 0 0 1px rgba(5,32,80,.06); }
.eb-cp-vid { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-2), var(--navy)); overflow: hidden; cursor: pointer; }
.eb-cp-vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.eb-cp-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,15,43,0) 35%, rgba(3,15,43,.7)); }
.eb-cp-vid:hover img { transform: scale(1.06); }
.eb-cp-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--orange); font-size: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.eb-cp-play i { margin-left: 4px; }
.eb-cp-play::before, .eb-cp-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: ebPulse 2.2s ease-out infinite; }
.eb-cp-play::after { animation-delay: 1.1s; }
@keyframes ebPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.eb-cp-vid:hover .eb-cp-play { transform: scale(1.12); }
.eb-cp-vid-label { position: absolute; z-index: 2; left: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.eb-cp-side-in.course-sidebar-text-box { padding: 22px 24px 20px; }
.eb-cp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 16px; }
.eb-cp-price b { font: 800 36px/1 var(--display); color: var(--navy); letter-spacing: -.02em; }
.eb-cp-price s { color: var(--muted); font-size: 17px; }
.eb-cp-off { align-self: center; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #0a7a52; background: #dcf7ea; }
.eb-cp .buy-btns { display: grid; gap: 8px; }
.eb-cp .buy-btns .btn.btn-buy-now { position: relative; overflow: hidden; width: 100%; height: 54px; border: 0; border-radius: 15px; font-size: 16.5px; font-weight: 800; letter-spacing: .01em; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 12px 26px -8px rgba(250,129,40,.65); transition: transform .2s, box-shadow .2s; margin: 0; }
.eb-cp .buy-btns .btn.btn-buy-now::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: ebShine 3.6s ease-in-out infinite; }
@keyframes ebShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.eb-cp .buy-btns .btn.btn-buy-now:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(250,129,40,.75); }
.eb-cp .buy-btns .btn.btn-buy-now i { transition: transform .2s; } .eb-cp .buy-btns .btn.btn-buy-now:hover i { transform: translateX(4px); }
.eb-cp-promo { border: 0; background: none; color: var(--navy); font-weight: 700; font-size: 13.5px; padding: 6px; cursor: pointer; }
.eb-cp-promo i { color: var(--orange); margin-right: 4px; }
.eb-cp-promo:hover { text-decoration: underline; }
.eb-cp-side .already_purchased a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; margin: 0; border-radius: 15px; font-size: 16px; font-weight: 800; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #18c29c, #0e9f8a); box-shadow: 0 12px 26px -8px rgba(18,181,166,.6); transition: transform .2s; border: 0; }
.eb-cp-side .already_purchased a:hover { transform: translateY(-2px); color: #fff; }
.eb-cp-inc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.eb-cp-inc > b { display: block; font-family: var(--display); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.eb-cp-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eb-cp-inc li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.eb-cp-inc li i { flex: 0 0 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: var(--navy); background: #eef2fb; transition: transform .2s, background .2s, color .2s; }
.eb-cp-inc li:hover i { background: var(--navy); color: #fff; transform: rotate(-8deg); }
.eb-cp-safe { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.eb-cp-safe i { color: var(--teal); margin-right: 4px; }

/* ---------- Mobile bottom bar ---------- */
.bottom_bar_menu .navbottom { background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -8px 30px rgba(5,32,80,.14);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 10px; border-radius: 20px 20px 0 0; }
.bottom_bar_menu .navbutton { background: transparent; color: var(--navy, #052050); padding: 0; align-self: center; }
.bottom_bar_menu .navbutton .text_font { font: 800 24px 'Plus Jakarta Sans', sans-serif; color: #052050; }
.bottom_bar_menu .buy-btns { float: none !important; }
.bottom_bar_menu .btn-buy-now, .bottom_bar_menu .already_purchased a { width: 100%; height: 48px; border: 0; border-radius: 14px; font-weight: 800; color: #fff !important; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FA8128, #FF5E3A); box-shadow: 0 10px 22px -8px rgba(250,129,40,.7); float: none !important; }
.bottom_bar_menu .already_purchased a { background: linear-gradient(135deg, #18c29c, #0e9f8a); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .eb-cp-hero { padding: 40px 0 44px; }
  .eb-cp-body .row > .col-lg-4 { order: -1; }
  .eb-cp-side { position: relative; top: 0; margin-top: -24px; }
  .eb-cp-body { padding-bottom: 110px; }
}
@media (max-width: 767px) {
  .eb-sq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eb-sq { padding: 14px; border-radius: 18px; gap: 10px 6px; } .eb-sq::after { width: 64px; height: 64px; border-radius: 0 17px 0 100%; }
  .eb-sq-i { width: 36px; height: 36px; border-radius: 12px; font-size: 14px; }
  .eb-sq p { font-size: 13.5px; }
  .eb-cp-about { padding: 22px 20px 30px; border-radius: 20px; }
  .eb-cp-h p { margin-left: 0; }
  .eb-feat { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .eb-feat-card { padding: 8px 8px 12px; border-radius: 16px; } .eb-feat-card b { font-size: 13px; } .eb-feat-card small { display: none; }
  .eb-cur-list { padding-left: 18px; }
  .eb-cp-main > * { margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .eb-cp *, .eb-cp *::before, .eb-cp *::after { animation: none !important; transition: none !important; }
  .eb-cp.js-on .eb-rv { opacity: 1; transform: none; }
}

/* Promo code, inline in the price card */
.eb-cp-promo-box { display: flex; gap: 8px; margin-top: 2px; animation: ebPkIn .3s ease both; }
.eb-cp-promo-box[hidden] { display: none; }
.eb-cp-promo-box input[type=text] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; }
.eb-cp-promo-box input[type=text]::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: #9aa3b8; }
.eb-cp-promo-box input[type=text]:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(250,129,40,.18); }
.eb-cp-promo-box button { height: 46px; padding: 0 18px; border: 0; border-radius: 12px; font-weight: 800; font-size: 14px; color: #fff; background: var(--navy); cursor: pointer; transition: transform .2s, background .2s; }
.eb-cp-promo-box button:hover { background: #0b2f6e; transform: translateY(-1px); }
@keyframes ebPkIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Courses list ---------- */
.eb-cl-hero { padding: 40px 0 56px; }
.eb-cl-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.eb-cl-crumb a { color: rgba(255,255,255,.8) !important; text-decoration: none !important; }
.eb-cl-crumb i { font-size: 10px; }
.eb-cl-hero .eb-cp-title { margin-top: 10px; }
.eb-cl-body { padding-top: 0; }
.eb-cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; margin-top: -30px; position: relative; z-index: 2; }
.eb-cl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink) !important; text-decoration: none !important;
  box-shadow: 0 10px 30px -18px rgba(5,32,80,.35); transition: transform .25s ease, box-shadow .25s ease; animation: ebPkIn .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.eb-cl-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(5,32,80,.4); }
.eb-cl-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--soft); padding: 16px; }
.eb-cl-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.eb-cl-card:hover .eb-cl-img img { transform: scale(1.06) rotate(-2deg); }
.eb-cl-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--orange); }
.eb-cl-tag.eb-cl-own { background: var(--teal); }
.eb-cl-txt { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 0; flex: 1; }
.eb-cl-txt b { font-family: var(--display); font-size: 19px; line-height: 1.25; color: var(--navy); }
.eb-cl-txt small { font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eb-cl-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.eb-cl-meta span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: #f1f4fa; font-size: 12.5px; font-weight: 600; color: #3a4360; }
.eb-cl-meta i { color: var(--orange); font-size: 11.5px; }
.eb-cl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.eb-cl-price { font: 800 20px var(--display); color: var(--navy); }
.eb-cl-price s { font: 500 13px 'Open Sans', sans-serif; color: var(--muted); margin-left: 4px; }
.eb-cl-cont { font-size: 15px; color: #0a7a52; }
.eb-cl-go { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--navy); transition: background .2s, transform .2s; }
.eb-cl-card:hover .eb-cl-go { background: var(--orange); transform: translateX(3px); }
.eb-cl-empty { margin-top: 40px; color: var(--muted); }
.eb-cl-pages { margin-top: 26px; }
.eb-cl-deals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.eb-cl-deal { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #fff4ea; border: 1px solid #fbd9bb; color: var(--ink) !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.eb-cl-deal:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(250,129,40,.6); }
.eb-cl-deal > i { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--orange); font-size: 18px; }
.eb-cl-deal span { flex: 1; min-width: 0; }
.eb-cl-deal b { display: block; font-family: var(--display); font-size: 16.5px; color: var(--navy); }
.eb-cl-deal small { color: var(--muted); font-size: 13.5px; }
.eb-cl-deal em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--orange); white-space: nowrap; }
.eb-cl-deal-all { background: #f1eeff; border-color: #d9d1ff; }
.eb-cl-deal-all > i { background: var(--violet); }
.eb-cl-deal-all em { color: var(--violet); }
@media (max-width: 767px) {
  .eb-cl-hero { padding: 28px 0 50px; }
  .eb-cl-grid { grid-template-columns: 1fr; gap: 16px; }
  .eb-cl-img { aspect-ratio: 16 / 8; padding: 12px; }
  .eb-cl-deals { grid-template-columns: 1fr; }
  .eb-cl-deal em { display: none; }
}

/* ---------- Checkout ---------- */
.eb-ck-hero { padding: 36px 0 84px; }
.eb-ck-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 6px; }
.eb-ck-steps li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.eb-ck-steps li b, .eb-ck-steps li > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-style: normal; background: rgba(255,255,255,.12); }
.eb-ck-steps li.done { color: #fff; } .eb-ck-steps li.done > i { background: var(--teal); }
.eb-ck-steps li.on { color: #fff; border-color: var(--orange); } .eb-ck-steps li.on b { background: var(--orange); }
.eb-ck-body { padding-top: 0; }
.eb-ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-top: -54px; position: relative; z-index: 2; }
.eb-ck-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px -26px rgba(5,32,80,.45); }
.eb-ck-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.eb-ck-head span { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.eb-ck-head b { font-family: var(--display); color: var(--navy); }
.eb-ck-items { list-style: none; margin: 0; padding: 6px 22px; }
.eb-ck-items li { display: flex; align-items: center; gap: 14px; padding: 14px 0; animation: ebPkIn .5s ease both; }
.eb-ck-items li + li { border-top: 1px dashed var(--line); }
.eb-ck-thumb { flex: 0 0 76px; height: 58px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; padding: 6px; }
.eb-ck-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.eb-ck-it { flex: 1; min-width: 0; }
.eb-ck-it b { display: block; font-family: var(--display); font-size: 17px; color: var(--navy); }
.eb-ck-it small { color: var(--muted); font-size: 12.5px; }
.eb-ck-it small i { color: var(--orange); font-size: 11px; }
.eb-ck-items s { color: var(--muted); font-size: 14px; }
.eb-ck-empty { padding: 20px 22px; color: var(--muted); }
.eb-ck-perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eb-ck-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.eb-ck-perks i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--navy); background: #eef2fb; font-size: 14px; }
.eb-ck-perks span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.eb-ck-perks b { display: block; font-size: 14px; color: var(--ink); }
.eb-ck-sum .eb-ck-card { padding: 22px; position: sticky; top: 90px; }
.eb-ck-sum h2 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.eb-ck-lines { margin: 0; }
.eb-ck-lines div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 15px; }
.eb-ck-lines dt { font-weight: 500; color: var(--muted); }
.eb-ck-lines dd { margin: 0; font-weight: 700; color: var(--ink); }
.eb-ck-lines em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .05em; padding: 2px 8px; margin-left: 4px; border-radius: 6px; color: #0a7a52; background: #dcf7ea; border: 1px dashed #69c9a3; }
.eb-ck-good dd { color: #0a7a52 !important; }
.eb-ck-total { margin-top: 6px; padding-top: 14px !important; border-top: 1px solid var(--line); }
.eb-ck-total dt { font-weight: 800 !important; color: var(--navy) !important; font-size: 16px; }
.eb-ck-total dd { font: 800 28px/1 var(--display) !important; color: var(--navy) !important; }
.eb-ck-save { margin: 10px 0 16px; padding: 10px 12px; border-radius: 12px; background: #dcf7ea; color: #0a7a52; font-weight: 700; font-size: 14px; }
.eb-ck-save i { margin-right: 6px; }
.eb-ck .buy-btns { margin-top: 14px; }
.eb-ck-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 6px; }
.eb-ck-pay span { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: #3a4360; }
.eb-ck-by { text-align: center; font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.eb-ck-back { display: block; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--navy) !important; }
@media (max-width: 991px) {
  .eb-ck-grid { grid-template-columns: 1fr; }
  .eb-ck-sum { order: -1; }
  .eb-ck-sum .eb-ck-card { position: static; }
}
@media (max-width: 767px) {
  .eb-ck-hero { padding: 26px 0 70px; }
  .eb-ck-perks { grid-template-columns: 1fr; }
  .eb-ck-it b { font-size: 15px; }
  .eb-ck-thumb { flex-basis: 60px; height: 48px; }
}
.eb-ck-hero .eb-cp-hero-bg i:nth-child(4), .eb-cl-hero .eb-cp-hero-bg i:nth-child(4) { display: none; }

.eb-pk .eb-pk-side { top: 86px; }
