
.mobile-cta{
  position: fixed;
  left:0; right:0; bottom:0;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.1);
  padding: .75rem 0;
  z-index: 50;
}

.course-section{
  padding-bottom: 50px;
  overflow:hidden
}
/* chừa khoảng trống để nội dung không bị CTA che */
/*@media (max-width: 991.98px){
  body{ padding-bottom: 110px; }
}*/
/* ===== LAYOUT 2 CỘT XUYÊN SUỐT ===== */
.page-2col{
  display:grid;
  grid-template-columns: 1fr var(--sideW);
  gap: 60px;
  align-items:start;

}

/* ===== HERO DARK full width ===== */
.hero-dark{
  position: relative;
  color: #fff;
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  z-index: 1;
}

/* 👇 CHỈ nền full width */
.hero-dark::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  right:50%;
  margin-left: -50vw;
  margin-right: -70vw;
  background:#16161d;
  z-index:-1;
}
.py-lg-5{
  padding-bottom: 0rem !important;

}
.instructor-lead-name{
  color:#bdb7ff;
  text-decoration:none;
}
.fw-500{
  font-weight: 500;
}
.crumb{ color:rgba(255,255,255,.75); font-size:.875rem; font-weight: 400;  }
.crumb a{ color:#bdb7ff; text-decoration:none; }
.crumb a:hover{ color:var(--darkhover) }
.rating-stars{ color:#f7b500; }

.sidecard{
  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  background:#fff;
  overflow:hidden;
}

.preview-cover{
  position: relative;
  overflow: hidden;
  background: #111;
}

/* ảnh phủ full */
.preview-cover-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ✅ overlay dùng ::after để KHÔNG phá ratio */
.preview-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
  z-index: 1;
  pointer-events: none;
}

/* nút phủ full khung + center chuẩn */
.preview-cover .preview-btn{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color:white !important;
}
.preview-cover .preview-btn i{
  font-size:54px;
}
/* ===== Sidebar fixed + stop (RIGHT) ===== */
.sidebar-col{ position:relative; z-index:50;}
.sidebar-placeholder{ height:0px; }

.sidebar-box{ width:100%; }
.sidebar-box.is-fixed{
  position:fixed;
  top: calc(var(--navH) + 30px);
  width: var(--sideW);
  z-index: 10;
}
.sidebar-box.is-stopped{
  position:absolute;
  top:auto;
  bottom:0;
  width: var(--sideW);
}
.lead{
  font-size:16px;
}
.lead-text{
  font-size:14px;
}
/* Responsive */
@media (max-width: 991.98px){
  .page-2col{ grid-template-columns: 1fr; }
  .sidebar-box,
  .sidebar-box.is-fixed,
  .sidebar-box.is-stopped{
    position:static !important;
    width:auto !important;
    top:auto !important;
    bottom:auto !important;
  }
  .sidebar-placeholder{ height:0 !important; }
}
.sidebar-col{ position: relative; }

/* Mobile UI giống CoursePerks */
@media (max-width: 991.98px){
  /* Ẩn sidebar sticky desktop */
  #sidebarCol{ display:none; }

  /* Hero chuyển sang trắng (tắt nền đen full-bleed) */
  .hero-dark{
    color:#111;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .hero-dark::before{ display:none; }

  /* breadcrumb + link màu tím nhẹ như CoursePerks */
  .crumb{ color:#6a6f73; }
  .crumb a{ color: var(--brand); }

  /* title nhỏ lại một chút trên mobile */
  .hero-dark .display-6{ font-size: 1.6rem; }
}
.display-6{ font-size: 2rem; }

@media (max-width: 991.98px){
  /* Hero chuyển sang nền trắng */
  .hero-dark{
    color: #111; /* 👈 text chính màu đen */
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
  }

  /* Tắt nền đen full-bleed */
  .hero-dark::before{
    display: none;
  }

  /* Breadcrumb */
  .hero-dark .crumb{
    color:#6a6f73;
  }
  .hero-dark .crumb a{
    color:#5624d0;
  }

  /* Text phụ */
  .hero-dark p,
  .hero-dark .lead{
    color:#333 !important;
  }

  /* Meta info (rating, students, created by, last updated…) */
  .hero-dark .text-white,
  .hero-dark [style*="rgba(255,255,255"]{
    color:#333;
  }
}

/* Mobile preview full width */
.mobile-preview{
  margin-top:20px;
  margin-bottom:20px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.mobile-sidebar{
  display: none;
  margin-top:30px;
}
@media (max-width: 991.98px){
  .mobile-sidebar{
    display: block;

  }
}

/* What you'll learn */
.learn-item{
  display:flex;
  gap:12px;
  font-size:14px;
  color:var(--colorText);
}
.learn-check{
  color:#1e7f43;
  font-weight:900;
}

/* Topic chips */
.topic-chip{
  display:inline-block;
  padding:6px 12px;
  border:1px solid #bdbfc2;
  border-radius:999px;
  font-size:.875rem;
  font-weight:500;
  color:var(--colorText);
  text-decoration:none;
  background:#fff;
}
.topic-chip:hover{
  background:#f7f9fa;
  text-decoration:none;
}

/* Course includes */
.course-include-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:14px;
  color:var(--colorText);
}
.course-include-item i{
  font-size:18px;
  margin-top:2px;
}

/* ===== Course content (CoursePerks-like, infinite nesting) ===== */
.course-content-wrap{
  border:1px solid #e9eaf2;
  overflow:hidden;
  background:#fff;
}

.course-content-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.course-content-meta{ color:#6a6f73; font-size:14px; }
.course-content-expandall{
  font-weight:700;
  color: var(--brand);
  text-decoration:none;
  font-size:.9rem;
}
.course-content-expandall:hover{ color:var(--darkhover) }

/* Node wrapper */
.cc-node{
  border-top:1px solid #e9eaf2;
  --indent: 0px; /* base */
}
.cc-node:first-child{ border-top:0; }
.cc-node{
  --level: 0;
}

/* mỗi khi lồng thêm 1 cấp → tăng level */
.cc-node-panel > .cc-node{
  --level: calc(var(--level) + 1);
}

/* Button row */
.cc-node-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  background:#f7f9fa;
  border:0;
  text-align:left;
  cursor:pointer;
}
.cc-node-btn:hover{ background:#eef1f3; }

.cc-node-btn{ background:#f6f7f9; }

.cc-node[style*="--level: 1"] > .cc-node-btn{ background:#f8f9fb; }
.cc-node[style*="--level: 2"] > .cc-node-btn{ background:#fafbfd; }
.cc-node[style*="--level: 3"] > .cc-node-btn{ background:#fcfdff; }

.cc-left{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}
.cc-chevron{
  width:18px;height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin-top:2px;
  transition: transform .18s ease;
  color:var(--colorText);
}
.cc-title{
  font-weight:500;
  color:var(--colorText);
  white-space:normal;
  font-size:16px;
}
.cc-title h3{
  font-weight:500;
  color:var(--colorText);
  white-space:normal;
  font-size:16px;
  margin-bottom:0 !important;
}
.cc-right{
  color:var(--colorText);
  font-size:.9rem;
  white-space:nowrap;
}

@media (max-width: 991.98px){
  .cc-right, .cc-lecture-time{
    display: none;
  }
}

/* Panel */
.cc-node-panel{ display:none; background:#fff; }
.cc-node.is-open > .cc-node-panel{ display:block; }
.cc-node.is-open > .cc-node-btn .cc-chevron{ transform: rotate(180deg); }

/* Child nodes increase indent automatically */
.cc-node-panel > .cc-node{
  --indent: calc(var(--indent) + 28px);
}
.cc-node-panel > .cc-node > .cc-node-btn{
  background:#fff;                 /* nested look */
}
.cc-node-panel > .cc-node > .cc-node-btn:hover{
  background:#fafbfc;
}

/* Lectures */
.cc-lectures{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid #eee;
}
.cc-lecture{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 16px;
  border-top:1px solid #eee;
  font-size:.95rem;
}
.cc-lecture:first-child{ border-top:0; }
.cc-lecture-left{
  display:flex;
  align-items:start;
  gap:10px;
  min-width:0;
}
.cc-lecture-left i{
  color:var(--colorText);
  font-size:16px;
  flex:0 0 auto;
}
.cc-lecture-title{
  color:var(--colorText);
  white-space:normal;
  font-size:14px;
}
.cc-lecture-time{
  color:#6a6f73;
  font-size:.9rem;
  white-space:nowrap;
}



/* RIGHT: Preview + time */
.cc-lecture-right{
  display:flex;
  align-items:center;
  gap:14px;                 /* khoảng cách Preview - time */
  flex:0 0 auto;
}

/* Preview button */
.cc-preview-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  color:var(--brand);
  white-space:nowrap;       /* không cho xuống dòng */
}

.cc-preview-btn:hover{ color:var(--darkhover); }

/* Time: cố định độ rộng để mọi dòng thẳng hàng */
.cc-lecture-time{
  width:72px;               /* bạn có thể tăng 80px nếu muốn */
  text-align:right;
  color:#6a6f73;
  white-space:nowrap;
  font-variant-numeric: tabular-nums; /* số đều nhau, nhìn thẳng hàng hơn */
}


/* "More sections" */
.cc-more-wrap{
  padding:14px 16px;
  background:#fff;
}
.cc-more-btn{
  width:100%;
  border:1px solid var(--brand);
  color: var(--brand);
  background:#fff;
  font-weight:800;
  border-radius:10px;
  padding:12px 14px;
}
.cc-more-btn:hover{ background:rgba(86,36,208,.06); }

/* ===== Description show more (CoursePerks-like) ===== */
.desc-req{
  font-size:14px;
  color:var(--colorText);
}
.desc-req li{ margin: .35rem 0; }

.desc-wrap{
  position: relative;
  max-width: 980px; /* optional */
}

.desc-content{
  max-height: 190px;          /* chỉnh độ “cắt” tại đây */
  overflow: hidden;
  transition: max-height .25s ease;
  font-size:14px;
  color:var(--colorText);
}

.desc-fade{
  position:absolute;
  left:0; right:0;
  bottom:25px;                /* chừa chỗ cho nút */
  height:72px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events:none;
}

.desc-more-btn{
  color: var(--brand);
  font-weight: 800;
  border-radius: 10px;
  padding-left:0;
  outline: 0;
  border:0;
}

/* expanded state */
.desc-wrap.is-open .desc-content{
  max-height: 2000px; /* đủ lớn để mở hết */
}
.desc-wrap.is-open .desc-fade{
  display:none;
}
.desc-wrap.is-open .desc-more-btn i{
  transform: rotate(180deg);
}
.desc-more-btn i{
  transition: transform .2s ease;
}

/* ===== Instructor block (layout like screenshot) ===== */
.instructor-name{
  display:inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: underline;
  margin-bottom: .25rem;
}
.instructor-subname{
  color:#6a6f73;
  margin-bottom: 1rem;
}

.instructor-top{
  display:flex;
  gap: 20px;
  align-items:flex-start;
  flex-wrap: wrap;
}

.instructor-avatar img{
  width: 100px;
  height: 100px;
  border-radius: 999px;
  object-fit: cover;
}

.instructor-stats{
  display:grid;
  gap: 5px;
  padding-top: 2px;
}
.instructor-stat{
  display:flex;
  align-items:center;
  gap: 10px;
  color:var(--colorText);
  font-size: .95rem;
}
.instructor-stat i{
  font-size: 16px;
  color:var(--colorText);
}

/* ===== Reuse SAME desc-wrap system (like your Description block) ===== */
/* Nếu bạn đã có desc-wrap/desc-content/desc-fade/desc-more-btn rồi
   thì KHÔNG cần copy lại phần này. Chỉ giữ nếu muốn standalone. */

.desc-wrap{
  position: relative;
  max-width: 980px;
}

.desc-content{
  max-height: 190px;
  overflow: hidden;
  transition: max-height .25s ease;
}

.desc-content h2{
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  font-size: 1.5rem;
}

.desc-fade{
  position:absolute;
  left:0; right:0;
  bottom:25px;
  height:72px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events:none;
}
.lead-text a, .crumb a{
  transition: color .25s ease;
}
.desc-more-btn{
  color: var(--brand);
  font-weight: 800;
  border-radius: 10px;
  padding-left:0;
  outline: 0;
  border:0;
  transition: color .25s ease;
}
.desc-more-btn:hover, .lead-text a:hover{
  color:var(--darkhover) !important;
}
.desc-wrap.is-open .desc-content{
  max-height: 2000px;
}
.desc-wrap.is-open .desc-fade{
  display:none;
}
.desc-more-btn i{
  transition: transform .2s ease;
}
.desc-wrap.is-open .desc-more-btn i{
  transform: rotate(180deg);
}

/* Frequently Bought Together */

.fbt-list{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.fbt-row{
  display:grid;
  grid-template-columns: 213px 1fr auto;
  gap: 18px;
  align-items:start;
  border: 1px solid #e9eaf2;
  border-radius: 12px;
  background:#fff;
  padding: 14px;
  text-decoration: none;
}
.fbt-row:hover{
  background: #f6f7f9;
}

.fbt-thumb{
  border-radius: 10px;
  overflow:hidden;
  background:#f7f9fa;
}

.fbt-thumb img{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
}

.fbt-title{
  display:inline-block;
  font-weight: 800;
  color:var(--colorText);
  text-decoration:none;
  margin-bottom: 6px;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 1.5em; 
  margin-bottom:0;
}

.fbt-sub{
  color:var(--colorText);
  font-size:.95rem;
  margin-bottom: 6px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 3em; 
}

.fbt-meta{
  color:#6a6f73;
  font-size:.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 1.5em; 
  margin-bottom:0;
}

/* Plus circle between cards */
.fbt-plus{
  position: relative;
  height: 0;
}
.fbt-plus-btn{
  width:44px;height:44px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e9eaf2;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  line-height: 1;
  color:var(--colorText);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  transform: translateX(28px) translateY(-8px);
}
.fbt-price{
  display:flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  justify-self: end;
  white-space: nowrap;
}


/* Giá hiện tại */
.price-current{
  font-size: 1rem;
  font-weight: 800;
  color:#1c1d1f;
}

/* Giá cũ */
.price-old{
  font-size: .85rem;
  color:#6a6f73;
  text-decoration: line-through;
  font-weight: normal;
}

/* % giảm */
.price-off{
  font-size: .9rem;
  font-weight: 700;
  color:#1e8e3e;
}


/* Mobile */
@media (max-width: 991.98px){
  .fbt-row{
    grid-template-columns: 140px 1fr;
    padding: 12px;
  }
  .fbt-thumb img{ height: 86px; }
  .fbt-plus-btn{
    transform: translateX(14px) translateY(-6px);
  }
}

/* More courses */
.mc-author-link{
  color: var(--brand);
  text-decoration: underline;
  font-weight: 800;
}

.mc-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mc-card{
  border:1px solid #e9eaf2;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
  transition: box-shadow .2s ease, transform .2s ease;
  padding: 15px;
  text-decoration: none;
}

.mc-card:hover{
  background: #f6f7f9;
}

.mc-thumb{
  background:#f7f9fa;
}
.mc-thumb img{
  width:100%;
  height:140px;
  object-fit:cover;
  display:block;
  border-radius: 5px;
}

.mc-body{
  padding:14px 0 0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.mc-title{
  font-weight:800;
  color:var(--colorText);
  text-decoration:none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 3em; 
}

.mc-sub{
  font-size:.95rem;
  color:var(--colorText);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 3em; 
}

.mc-author{
  font-size:.85rem;
  color:#6a6f73;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 1em; 
}

.mc-price{
  margin-top:8px;
  font-weight:800;
  font-size:1.05rem;
  color:var(--colorText);
  display:flex;
  align-items:center;
  gap: 10px;
  white-space: nowrap;

}
.fbt-price-mobile{
  display: none;
  align-items: baseline; /* canh chân chữ giống ảnh 2 */
  gap: 8px;
  white-space: nowrap;
  flex-direction: row;
  justify-self:flex-start;
}

/* Responsive */
@media (max-width: 768px){
  .fbt-price-mobile{
    display:flex;
  }
  .fbt-price{
    display: none;
  }
  .fbt-row{
    grid-template-columns: 120px 1fr;   /* ảnh | nội dung */
    gap: 12px;
    align-items: start;
    padding: 12px;
  }


  .fbt-thumb img{
    height: 84px;                       /* giảm chiều cao ảnh */
  }

  /* body chiếm cột 2 */
  .fbt-body{
    grid-column: 2;
  }

  /* price xuống dưới body, nằm ngang cho gọn */
  
  /* nếu title dài quá thì đừng phá layout */
  .fbt-title{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fbt-sub{
    display:none;
  }

  
}

@media (max-width: 991.98px){
  .mc-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px){
  .mc-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px){
  .course-content-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .course-content-expandall{
    align-self: flex-start; /* không bị đẩy sang phải */
  }
}



/* =========================
   UDEMY PREVIEW MODAL (MATCH IMAGE)
   ========================= */

.courseperks-preview-modal .modal-dialog{
  max-width: 600px;
}

.courseperks-preview-modal .modal-content{
  background: #1f212a;
  color:#fff;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}

/* header */
.courseperks-preview-head{
  padding: 22px 26px 12px;
}

.courseperks-preview-kicker{
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.70);
  margin-bottom: 6px;
}

.courseperks-preview-title{
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

/* close X */
.courseperks-preview-close{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.9;
}
.courseperks-preview-close:hover{ opacity:1; }

/* body */
.courseperks-preview-body{
  padding: 0 26px 26px;
}

/* video box */
.courseperks-preview-video{
  overflow: hidden;
  background: #000;
}

/* section label */
.courseperks-preview-section{
  margin-top: 16px;
}

.courseperks-preview-section h6{
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
  color:#fff;
}

/* list wrapper (dark strip like image) */
.preview-list{
  background:#2a2d3a;
  border-radius: 0;
  overflow:hidden;
}

/* row item */
.preview-item{
  width:100%;
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.22);
  color:#fff;
  text-align:left;
}
.preview-item:first-child{
  border-top: 0;
}

.preview-item:hover{
  background: rgba(255,255,255,.05);
}

/* active row background like image */
.preview-item.is-active{
  background: rgba(0,0,0,.18);
}

/* thumbnail left */
.preview-thumb{
  width: 65px;
  height: 37px;
  border-radius: 3px;
  overflow:hidden;
  background:#11131a;
  flex: 0 0 auto;
}
.preview-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* meta */
.preview-meta{
  min-width:0;
  flex: 1 1 auto;
  display:flex;
  align-items:center;
  gap: 12px;
}

/* play icon only for active row (like image: circle play left of title) */
.preview-play{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  display:none;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.preview-play i{
  font-size: 14px;
  margin-left: 2px;
}
.preview-item.is-active .preview-play{
  display:flex;
}

/* title */
.preview-name{
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

/* time right */
.preview-time{
  font-size: 14px;
  font-weight: 800;
  color:#fff;
  flex: 0 0 auto;
}

/* mobile fit */
@media (max-width: 575.98px){
  .courseperks-preview-modal .modal-dialog{ margin: .75rem; }
  .courseperks-preview-head{ padding: 18px 16px 10px; }
  .courseperks-preview-body{ padding: 0 16px 18px; }
  .courseperks-preview-title{ font-size: 18px; }
}


.mt10{
  margin-top:10px;
}
.mt10 span{
  line-height: 1.9;
}


.course-includes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 2;
}

.course-includes i {
  font-size: 16px;
  color: #6f42c1; /* tím giống CoursePerks */
  margin-top: 2px;
  font-size:14px;
  color:var(--colorText);
}
.course-includes span{
  line-height: 2.3em;
  font-size:14px;
  color:var(--colorText);
}

.pcs-small{
  font-size:12px;
  color:var(--colorText);
}

.pcs-price{
  margin-bottom:10px;
}


/* Ẩn link Woo tự chèn: "View cart / Go to cart" */
a.added_to_cart.wc-forward {
  display: none !important;
}

/* Nút loading: chặn click + hiệu ứng xoay */
button.add-to-cart-btn.is-loading,
a.add_to_cart_button.is-loading {
  position: relative;
  pointer-events: none;
  opacity: .85;
}

/* Spinner */
button.add-to-cart-btn.is-loading::after,
a.add_to_cart_button.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 10px;
  display: inline-block;
  vertical-align: -3px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fbtspin .7s linear infinite;
}

@keyframes fbtspin {
  to { transform: rotate(360deg); }
}



/* ===== Buy-form skeleton loading ===== */
.buy-form {
  position: relative;
}

/* Ẩn nội dung thật khi chưa loaded */
.buy-form-box.is-loading .buy-form > * {
  visibility: hidden;
}

/* Skeleton overlay */
.buy-form-box.is-loading .buy-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 5;
}

/* Các dòng skeleton */
.buy-form-box.is-loading .buy-form::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 6;

  /* nhiều “thanh” giống ảnh */
  background: linear-gradient(#e9ecf5 0 0) 0px 0px / calc(100%) 44px no-repeat, linear-gradient(#e9ecf5 0 0) 0px 50px / calc(100%) 44px no-repeat;

  /* shimmer */
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, rgba(0,0,0,.35) 50%, #000 65%, #000 100%);
  mask-size: 300% 100%;
  animation: cp-skeleton 1.2s ease-in-out infinite;
}

@keyframes cp-skeleton {
  0%   { mask-position: 120% 0; }
  100% { mask-position: -20% 0; }
}