@charset "UTF-8";
/**
 * Bundle Description Enhanced Styling
 * จัดรูปแบบการแสดงผล description ของ bundle ให้สวยงาม ทันสมัย และอ่านง่าย
 * วันที่: 01/01/2568
 */
.bundle-description-enhanced, .course-description-enhanced {
  font-family: var(--font-family);
  line-height: 1.8;
  color: var(--gray-600);
}
.bundle-description-enhanced .bundle-intro-header, .course-description-enhanced .bundle-intro-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 48px 32px;
  border-radius: 20px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-intro-header, .course-description-enhanced .bundle-intro-header {
    padding: 32px 20px;
    margin-bottom: 32px;
  }
}
.bundle-description-enhanced .bundle-intro-header:before, .course-description-enhanced .bundle-intro-header:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-intro-header:before, .course-description-enhanced .bundle-intro-header:before {
    width: 250px;
    height: 250px;
  }
}
.dark-mode .bundle-description-enhanced .bundle-intro-header, .dark-mode .course-description-enhanced .bundle-intro-header {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.bundle-description-enhanced .bundle-intro-header.play-together-gradient, .course-description-enhanced .bundle-intro-header.play-together-gradient {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 10px 40px rgba(240, 147, 251, 0.2);
}
.dark-mode .bundle-description-enhanced .bundle-intro-header.play-together-gradient, .dark-mode .course-description-enhanced .bundle-intro-header.play-together-gradient {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(245, 87, 108, 0.3) 100%);
}
.bundle-description-enhanced .bundle-intro-header.level-2-gradient, .course-description-enhanced .bundle-intro-header.level-2-gradient {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 10px 40px rgba(79, 172, 254, 0.2);
}
.dark-mode .bundle-description-enhanced .bundle-intro-header.level-2-gradient, .dark-mode .course-description-enhanced .bundle-intro-header.level-2-gradient {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(0, 242, 254, 0.3) 100%);
}
.bundle-description-enhanced .bundle-intro-header.level-3-gradient, .course-description-enhanced .bundle-intro-header.level-3-gradient {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  box-shadow: 0 10px 40px rgba(161, 140, 209, 0.2);
}
.dark-mode .bundle-description-enhanced .bundle-intro-header.level-3-gradient, .dark-mode .course-description-enhanced .bundle-intro-header.level-3-gradient {
  background: linear-gradient(135deg, rgba(161, 140, 209, 0.3) 0%, rgba(251, 194, 235, 0.3) 100%);
}
.bundle-description-enhanced .bundle-intro-header .bundle-title-text, .course-description-enhanced .bundle-intro-header .bundle-title-text {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-intro-header .bundle-title-text, .course-description-enhanced .bundle-intro-header .bundle-title-text {
    font-size: 24px;
  }
}
.bundle-description-enhanced .bundle-intro-header .bundle-subtitle-text, .course-description-enhanced .bundle-intro-header .bundle-subtitle-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-intro-header .bundle-subtitle-text, .course-description-enhanced .bundle-intro-header .bundle-subtitle-text {
    font-size: 16px;
  }
}
.bundle-description-enhanced .desc-section, .course-description-enhanced .desc-section {
  margin-bottom: 40px;
  padding: 0;
  padding-left: 32px;
  border-left: 4px solid var(--primary);
  position: relative;
  transition: all 0.3s ease;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-section, .course-description-enhanced .desc-section {
    padding-left: 20px;
    margin-bottom: 32px;
  }
}
.bundle-description-enhanced .desc-section:last-child, .course-description-enhanced .desc-section:last-child {
  margin-bottom: 0;
}
.bundle-description-enhanced .desc-section.highlight-bg, .course-description-enhanced .desc-section.highlight-bg {
  background: linear-gradient(to right, var(--primary-light), transparent);
  padding: 24px 24px 24px 32px;
  border-radius: 0 12px 12px 0;
  border-left-color: var(--primary);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-section.highlight-bg, .course-description-enhanced .desc-section.highlight-bg {
    padding: 16px 16px 16px 20px;
  }
}
.dark-mode .bundle-description-enhanced .desc-section.highlight-bg, .dark-mode .course-description-enhanced .desc-section.highlight-bg {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), transparent);
}
.bundle-description-enhanced .desc-section .desc-section-title, .course-description-enhanced .desc-section .desc-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-section .desc-section-title, .course-description-enhanced .desc-section .desc-section-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
}
.bundle-description-enhanced .desc-section .desc-section-title .title-icon, .course-description-enhanced .desc-section .desc-section-title .title-icon {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-saturated) 100%);
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-section .desc-section-title .title-icon, .course-description-enhanced .desc-section .desc-section-title .title-icon {
    min-width: 36px;
    height: 36px;
    font-size: 24px;
  }
}
.dark-mode .bundle-description-enhanced .desc-section .desc-section-title .title-icon, .dark-mode .course-description-enhanced .desc-section .desc-section-title .title-icon {
  background: rgba(var(--primary-rgb), 0.3);
}
.bundle-description-enhanced .desc-section .desc-content, .course-description-enhanced .desc-section .desc-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.bundle-description-enhanced .desc-section .desc-content:last-child, .course-description-enhanced .desc-section .desc-content:last-child {
  margin-bottom: 0;
}
.bundle-description-enhanced .desc-section .desc-content strong, .course-description-enhanced .desc-section .desc-content strong {
  color: var(--text-color);
  font-weight: 600;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-section .desc-content, .course-description-enhanced .desc-section .desc-content {
    font-size: 15px;
  }
}
.bundle-description-enhanced .desc-emoji-list, .course-description-enhanced .desc-emoji-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bundle-description-enhanced .desc-emoji-list .desc-list-item, .course-description-enhanced .desc-emoji-list .desc-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: 12px;
  transition: all 0.3s ease;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-emoji-list .desc-list-item, .course-description-enhanced .desc-emoji-list .desc-list-item {
    padding: 12px;
    gap: 12px;
  }
}
.dark-mode .bundle-description-enhanced .desc-emoji-list .desc-list-item, .dark-mode .course-description-enhanced .desc-emoji-list .desc-list-item {
  background: rgba(255, 255, 255, 0.02);
}
.bundle-description-enhanced .desc-emoji-list .desc-list-item:hover, .course-description-enhanced .desc-emoji-list .desc-list-item:hover {
  transform: translateX(8px);
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.dark-mode .bundle-description-enhanced .desc-emoji-list .desc-list-item:hover, .dark-mode .course-description-enhanced .desc-emoji-list .desc-list-item:hover {
  background: rgba(var(--primary-rgb), 0.1);
}
.bundle-description-enhanced .desc-emoji-list .desc-list-item .item-emoji, .course-description-enhanced .desc-emoji-list .desc-list-item .item-emoji {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-emoji-list .desc-list-item .item-emoji, .course-description-enhanced .desc-emoji-list .desc-list-item .item-emoji {
    font-size: 20px;
    width: 32px;
    height: 32px;
  }
}
.dark-mode .bundle-description-enhanced .desc-emoji-list .desc-list-item .item-emoji, .dark-mode .course-description-enhanced .desc-emoji-list .desc-list-item .item-emoji {
  background: rgba(255, 255, 255, 0.05);
}
.bundle-description-enhanced .desc-emoji-list .desc-list-item .item-text, .course-description-enhanced .desc-emoji-list .desc-list-item .item-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-emoji-list .desc-list-item .item-text, .course-description-enhanced .desc-emoji-list .desc-list-item .item-text {
    font-size: 15px;
  }
}
.bundle-description-enhanced .desc-emoji-list .desc-list-item .item-text strong, .course-description-enhanced .desc-emoji-list .desc-list-item .item-text strong {
  color: var(--text-color);
  font-weight: 600;
}
.bundle-description-enhanced .bundle-courses-list, .course-description-enhanced .bundle-courses-list,
.bundle-description-enhanced .bundle-highlights-list,
.course-description-enhanced .bundle-highlights-list,
.bundle-description-enhanced .bundle-benefits-list,
.course-description-enhanced .bundle-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bundle-description-enhanced .bundle-courses-list li, .course-description-enhanced .bundle-courses-list li,
.bundle-description-enhanced .bundle-highlights-list li,
.course-description-enhanced .bundle-highlights-list li,
.bundle-description-enhanced .bundle-benefits-list li,
.course-description-enhanced .bundle-benefits-list li {
  position: relative;
  padding-left: 44px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  transition: all 0.3s ease;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-courses-list li, .course-description-enhanced .bundle-courses-list li,
  .bundle-description-enhanced .bundle-highlights-list li,
  .course-description-enhanced .bundle-highlights-list li,
  .bundle-description-enhanced .bundle-benefits-list li,
  .course-description-enhanced .bundle-benefits-list li {
    font-size: 15px;
    padding-left: 36px;
  }
}
.bundle-description-enhanced .bundle-courses-list li:before, .course-description-enhanced .bundle-courses-list li:before,
.bundle-description-enhanced .bundle-highlights-list li:before,
.course-description-enhanced .bundle-highlights-list li:before,
.bundle-description-enhanced .bundle-benefits-list li:before,
.course-description-enhanced .bundle-benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-saturated) 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-courses-list li:before, .course-description-enhanced .bundle-courses-list li:before,
  .bundle-description-enhanced .bundle-highlights-list li:before,
  .course-description-enhanced .bundle-highlights-list li:before,
  .bundle-description-enhanced .bundle-benefits-list li:before,
  .course-description-enhanced .bundle-benefits-list li:before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}
.bundle-description-enhanced .bundle-courses-list li:hover, .course-description-enhanced .bundle-courses-list li:hover,
.bundle-description-enhanced .bundle-highlights-list li:hover,
.course-description-enhanced .bundle-highlights-list li:hover,
.bundle-description-enhanced .bundle-benefits-list li:hover,
.course-description-enhanced .bundle-benefits-list li:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.bundle-description-enhanced .bundle-courses-list li strong, .course-description-enhanced .bundle-courses-list li strong,
.bundle-description-enhanced .bundle-highlights-list li strong,
.course-description-enhanced .bundle-highlights-list li strong,
.bundle-description-enhanced .bundle-benefits-list li strong,
.course-description-enhanced .bundle-benefits-list li strong {
  color: var(--text-color);
  font-weight: 600;
}
.bundle-description-enhanced .bundle-courses-list li:before, .course-description-enhanced .bundle-courses-list li:before {
  content: "📚";
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  font-size: 16px;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-courses-list li:before, .course-description-enhanced .bundle-courses-list li:before {
    font-size: 14px;
  }
}
.bundle-description-enhanced .bundle-highlights-list li:before, .course-description-enhanced .bundle-highlights-list li:before {
  content: "⭐";
  background: linear-gradient(135deg, #ffd89b 0%, #ff9a76 100%);
  font-size: 16px;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .bundle-highlights-list li:before, .course-description-enhanced .bundle-highlights-list li:before {
    font-size: 14px;
  }
}
.bundle-description-enhanced .bundle-benefits-list li:before, .course-description-enhanced .bundle-benefits-list li:before {
  content: "✓";
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #1a5f3d;
}
.bundle-description-enhanced .desc-units-grid, .course-description-enhanced .desc-units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-units-grid, .course-description-enhanced .desc-units-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.bundle-description-enhanced .desc-unit-card, .course-description-enhanced .desc-unit-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-unit-card, .course-description-enhanced .desc-unit-card {
    padding: 20px;
  }
}
.dark-mode .bundle-description-enhanced .desc-unit-card, .dark-mode .course-description-enhanced .desc-unit-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}
.bundle-description-enhanced .desc-unit-card:before, .course-description-enhanced .desc-unit-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
  border-radius: 0 16px 0 100%;
  opacity: 0.5;
}
.bundle-description-enhanced .desc-unit-card:hover, .course-description-enhanced .desc-unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}
.dark-mode .bundle-description-enhanced .desc-unit-card:hover, .dark-mode .course-description-enhanced .desc-unit-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.bundle-description-enhanced .desc-unit-card:hover:before, .course-description-enhanced .desc-unit-card:hover:before {
  opacity: 1;
}
.bundle-description-enhanced .desc-unit-card .unit-number, .course-description-enhanced .desc-unit-card .unit-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-saturated) 100%);
  color: white;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-unit-card .unit-number, .course-description-enhanced .desc-unit-card .unit-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
.bundle-description-enhanced .desc-unit-card .unit-title, .course-description-enhanced .desc-unit-card .unit-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.4;
}
@media (max-width: 991px) {
  .bundle-description-enhanced .desc-unit-card .unit-title, .course-description-enhanced .desc-unit-card .unit-title {
    font-size: 16px;
  }
}
.bundle-description-enhanced .desc-unit-card .unit-description, .course-description-enhanced .desc-unit-card .unit-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
}

.course-description {
  font-family: var(--font-family);
  line-height: 1.8;
  color: var(--gray-600);
  font-size: 16px;
}
@media (max-width: 991px) {
  .course-description {
    font-size: 15px;
  }
}
.course-description .bundle-description-enhanced,
.course-description .course-description-enhanced {
  margin: 0;
}
.course-description p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.course-description p:last-child {
  margin-bottom: 0;
}
.course-description h1, .course-description h2, .course-description h3, .course-description h4, .course-description h5, .course-description h6 {
  color: var(--text-color);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.course-description h1:first-child, .course-description h2:first-child, .course-description h3:first-child, .course-description h4:first-child, .course-description h5:first-child, .course-description h6:first-child {
  margin-top: 0;
}
.course-description h2 {
  font-size: 24px;
}
@media (max-width: 991px) {
  .course-description h2 {
    font-size: 22px;
  }
}
.course-description h3 {
  font-size: 20px;
}
@media (max-width: 991px) {
  .course-description h3 {
    font-size: 18px;
  }
}
.course-description h4 {
  font-size: 18px;
}
@media (max-width: 991px) {
  .course-description h4 {
    font-size: 16px;
  }
}
.course-description ul, .course-description ol {
  margin: 16px 0;
  padding-left: 28px;
}
.course-description ul li, .course-description ol li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.course-description strong, .course-description b {
  color: var(--text-color);
  font-weight: 600;
}
.course-description a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.course-description a:hover {
  text-decoration: underline;
  color: var(--primary-saturated);
}
.course-description img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}
