/**
 * TNF Course Detail — Learn Direct layout (UI only)
 */
.tnf-course-detail {
 --ld-navy: #001a4d;
 --ld-navy-dark: #001233;
 --ld-blue-soft: #eef4f9;
 --ld-blue-mid: #2b6cb0;
 --ld-surface: #ffffff;
 --ld-text: #1f2b40;
 --ld-muted: #5a6a7d;
 --ld-border: #d8e3ef;
 --ld-cta: #ffe600;
 --ld-cta-hover: #f5d900;
 --ld-pink: #e91e8c;
 --ld-red: #d32f2f;
 --ld-green: #2e9e5b;
 background: var(--ld-blue-soft);
}

.tnf-course-detail .course__details {
 background: var(--ld-blue-soft);
 padding-top: 2.5rem;
 padding-bottom: 3rem;
}

/* —— Trust strip —— */
.tnf-ld-trust-strip {
 background: var(--ld-blue-soft);
 border-bottom: 1px solid var(--ld-border);
 padding: 0.65rem 0;
}

.tnf-ld-trust-strip__list {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 1.5rem 2.5rem;
 margin: 0;
 padding: 0;
 list-style: none;
}

.tnf-ld-trust-strip__list li {
 font-size: 0.8125rem;
 font-weight: 600;
 color: var(--ld-navy);
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.tnf-ld-trust-strip__list li::before {
 display: none;
}

.tnf-ld-trust-strip__list li i {
 color: var(--ld-blue-mid);
 font-size: 1rem;
}

.tnf-ld-promo-ribbon {
 background: var(--ld-pink);
 color: #fff;
 text-align: center;
 padding: 0.45rem 0;
 font-size: 0.8125rem;
 font-weight: 700;
 letter-spacing: 0.03em;
 text-transform: uppercase;
}

/* —— Hero —— */
.tnf-ld-hero {
 position: relative;
 background-color: var(--ld-navy-dark);
 background-size: cover;
 background-position: center;
 padding: 7rem 0 3rem 2.5rem;
 color: #fff;
}

.tnf-ld-hero .tnf-ld-hero__aside {
 padding-top: 1.5rem;
}

.tnf-ld-hero::before {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(105deg, rgba(8, 36, 64, 0.94) 0%, rgba(12, 45, 82, 0.82) 55%, rgba(12, 45, 82, 0.55) 100%);
 pointer-events: none;
}

.tnf-ld-hero .container {
 position: relative;
 z-index: 1;
}

.tnf-ld-hero__badge {
 display: inline-block;
 background: var(--ld-pink);
 color: #fff;
 font-size: 0.75rem;
 font-weight: 700;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 padding: 0.35rem 0.75rem;
 margin-bottom: 0.75rem;
}

.tnf-ld-hero__new-tag {
 display: inline-block;
 background: var(--ld-red);
 color: #fff;
 font-size: 0.6875rem;
 font-weight: 800;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 padding: 0.2rem 0.5rem;
 margin-left: 0.5rem;
 vertical-align: middle;
}

.tnf-ld-callback-card {
 background: #fff;
 border-radius: 6px;
 padding: 1.5rem;
 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
 color: var(--ld-text);
}

.tnf-ld-callback-card__title {
 font-size: 1.125rem;
 font-weight: 700;
 color: var(--ld-navy);
 margin-bottom: 1rem;
 line-height: 1.35;
}

.tnf-ld-callback-card__fields {
 display: flex;
 flex-direction: column;
 gap: 0.65rem;
 margin-bottom: 1rem;
}

.tnf-ld-callback-card__field {
 display: flex;
 flex-direction: column;
 gap: 0.25rem;
}

.tnf-ld-callback-card__input {
 width: 100%;
 border: 1px solid var(--ld-border);
 border-radius: 4px;
 padding: 0.65rem 0.75rem;
 font-size: 0.875rem;
 background: #fff;
 color: var(--ld-text);
}

.tnf-ld-callback-card__input:focus {
 outline: none;
 border-color: var(--ld-navy);
 box-shadow: 0 0 0 2px rgba(12, 35, 64, 0.12);
}

.tnf-ld-callback-card__input.is-invalid {
 border-color: #dc3545;
}

.tnf-ld-callback-card__error {
 font-size: 0.75rem;
 color: #ffb4b4;
 line-height: 1.3;
}

.tnf-ld-callback-card__btn {
 display: block;
 width: 100%;
 text-align: center;
 background: var(--ld-navy);
 color: #fff !important;
 font-weight: 700;
 font-size: 0.8125rem;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 padding: 0.85rem 1rem;
 border-radius: 4px;
 text-decoration: none;
 border: 0;
 cursor: pointer;
}

.tnf-ld-callback-card__btn:hover {
 background: var(--ld-navy-dark);
 color: #fff !important;
}

.tnf-ld-callback-card__btn,
.tnf-ld-callback-card__btn:visited {
 color: #fff !important;
}

.tnf-ld-hero .title,
.tnf-course-detail .course__details_head .title {
 font-size: clamp(1.75rem, 3.5vw, 2.75rem) !important;
 font-weight: 700 !important;
 line-height: 1.2 !important;
 color: #fff !important;
 margin-bottom: 1rem !important;
}

.tnf-ld-hero .category,
.tnf-course-detail .course__details_head .category {
 gap: 0.5rem !important;
 margin-bottom: 1rem !important;
}

.tnf-ld-hero .category_item a,
.tnf-course-detail .category_item a {
 background: rgba(255, 255, 255, 0.12) !important;
 color: #fff !important;
 border: 1px solid rgba(255, 255, 255, 0.25) !important;
 border-radius: 4px !important;
 padding: 0.25rem 0.65rem !important;
 font-size: 0.8125rem !important;
 text-decoration: none !important;
}

.tnf-course-detail .tnf-course-summary {
 font-size: 1rem;
 line-height: 1.6;
 color: rgba(255, 255, 255, 0.92);
 max-width: 42rem;
 margin-bottom: 1.25rem;
}

.tnf-ld-hero .meta,
.tnf-course-detail .course__details_head .meta {
 gap: 1.25rem !important;
}

/* Hero meta row — fix white pills with invisible white text */
.tnf-ld-hero .meta .meta_item {
 background: rgba(255, 255, 255, 0.14) !important;
 background-image: none !important;
 border: 1px solid rgba(255, 255, 255, 0.28) !important;
 border-radius: 6px !important;
 padding: 0.5rem 0.9rem !important;
 display: inline-flex !important;
 align-items: center !important;
 gap: 0.45rem !important;
 color: #fff !important;
 font-size: 0.875rem !important;
 box-shadow: none !important;
}

.tnf-ld-hero .meta .meta_item span,
.tnf-ld-hero .meta .meta_item p,
.tnf-ld-hero .meta .meta_item p span {
 color: #fff !important;
 margin: 0 !important;
}

.tnf-ld-hero .meta .meta_item.highlight {
 background: rgba(0, 0, 0, 0.35) !important;
 border-color: rgba(255, 255, 255, 0.2) !important;
}

.tnf-ld-hero .meta_item svg path,
.tnf-course-detail .tnf-ld-hero .meta_item svg path {
 fill: #fff !important;
}

.tnf-ld-hero .meta_item.highlight img {
 width: 32px;
 height: 32px;
 border-radius: 50%;
 object-fit: cover;
}

.tnf-ld-hero .meta_item .rating {
 background: transparent !important;
 padding: 0 !important;
 border: none !important;
 box-shadow: none !important;
}

.tnf-ld-hero .rating svg path {
 fill: #f5c518 !important;
}

.tnf-ld-hero .meta_item:last-child span {
 color: #fff !important;
}

/* Confidence strip (below hero) */
.tnf-ld-confidence-bar {
 --tnf-confidence-teal: #00b8a9;
 position: relative;
 overflow: hidden;
 background: var(--ld-navy);
 color: #fff;
 padding: clamp(0.9rem, 2vw, 1.15rem) 0;
}

.tnf-ld-confidence-bar::before {
 content: "";
 position: absolute;
 inset: 0;
 background-image: var(--tnf-confidence-bg, none);
 background-size: cover;
 background-position: center;
 opacity: 0.28;
 pointer-events: none;
}

.tnf-ld-confidence-bar__pattern {
 position: absolute;
 left: 0;
 top: 0;
 bottom: 0;
 width: clamp(72px, 11vw, 128px);
 background-color: rgba(255, 255, 255, 0.04);
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='%23ffffff' fill-opacity='0.22'%3E%3Cpath d='M12 2.5 8.2 9.2 2 10.4l5.1 4.6-1.4 6.5L12 18.2l6.3 3.3-1.4-6.5 5.1-4.6-6.2-1.2L12 2.5z'/%3E%3C/svg%3E");
 background-size: 28px 28px;
 opacity: 0.9;
 pointer-events: none;
}

.tnf-ld-confidence-bar .container {
 position: relative;
 z-index: 1;
}

.tnf-ld-confidence-bar__inner {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: clamp(0.75rem, 2vw, 1.25rem);
 min-height: 3rem;
}

.tnf-ld-confidence-bar__rocket {
 flex: 0 0 auto;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 2.5rem;
 height: 2.5rem;
 color: #fff;
 font-size: 1.65rem;
 line-height: 1;
 transform: rotate(-38deg);
}

.tnf-ld-confidence-bar__tagline {
 margin: 0;
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 gap: 0.45rem 0.65rem;
 font-size: clamp(1.05rem, 2.2vw, 1.45rem);
 font-weight: 400;
 line-height: 1.35;
 color: #fff;
 text-align: center;
}

.tnf-ld-confidence-bar__lead,
.tnf-ld-confidence-bar__with {
 font-weight: 400;
}

.tnf-ld-confidence-bar__highlight {
 position: relative;
 display: inline-block;
 font-weight: 700;
 padding-bottom: 0.2rem;
}

.tnf-ld-confidence-bar__highlight::after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 3px;
 border-radius: 999px;
 background: var(--tnf-confidence-teal);
}

.tnf-ld-confidence-bar__pill {
 display: inline-block;
 background: #fff;
 color: var(--ld-navy);
 font-weight: 700;
 padding: 0.38rem 0.95rem;
 border-radius: 8px;
 line-height: 1.25;
}

.tnf-ld-confidence-bar--image-only {
 background-color: transparent;
 background-image: var(--tnf-confidence-bg);
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
 padding: 0;
 min-height: clamp(72px, 10vw, 120px);
}

.tnf-ld-confidence-bar--image-only::before {
 display: none;
}

@media (max-width: 575px) {
 .tnf-ld-confidence-bar__inner {
  flex-direction: column;
  gap: 0.5rem;
 }

 .tnf-ld-confidence-bar__rocket {
  transform: rotate(-38deg) scale(0.9);
 }
}

/* Course image + sidebar — shared top alignment (desktop) */
.tnf-ld-media-row {
 margin-bottom: 0;
 padding-top: 0;
}

.tnf-ld-main-row {
 margin-top: 0;
}

.tnf-ld-course-image {
 border-radius: 8px;
 overflow: hidden;
 background: #fff;
 box-shadow: 0 4px 24px rgba(12, 45, 82, 0.12);
 margin-top: 0;
}

.tnf-ld-course-image img {
 display: block;
 width: 100%;
 height: auto;
 /* aspect-ratio: 16 / 9; */
 object-fit: cover;
}

.tnf-ld-sidebar-video {
 border-radius: 8px;
 overflow: hidden;
 background: #fff;
 box-shadow: 0 4px 24px rgba(12, 45, 82, 0.12);
}

.tnf-ld-sidebar-video__embed,
.tnf-ld-video-band__embed {
 position: relative;
 display: block;
 width: 100%;
 aspect-ratio: 16 / 9;
 border-radius: 8px;
 overflow: hidden;
 background: #000;
}

.tnf-ld-sidebar-video__embed iframe,
.tnf-ld-sidebar-video__embed video,
.tnf-ld-video-band__embed iframe,
.tnf-ld-video-band__embed video {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 border: 0;
}

/* Desktop: left image + right sidebar share the same top edge */
@media (min-width: 1200px) {
 .tnf-ld-course-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  align-items: start;
 }

 .tnf-ld-course-layout > .tnf-ld-media-row,
 .tnf-ld-course-layout > .tnf-ld-main-row {
  display: contents;
 }

 .tnf-ld-course-layout .tnf-ld-media-row > .col-xl-8,
 .tnf-ld-course-layout .tnf-ld-main-row > .col-xl-8 {
  grid-column: 1;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding-top: 0;
 }

 .tnf-ld-course-layout .tnf-ld-media-row > .col-xl-8 {
  grid-row: 1;
 }

 .tnf-ld-course-layout .tnf-ld-main-row > .col-xl-8 {
  grid-row: 2;
 }

 .tnf-ld-course-layout .tnf-ld-sidebar-col {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 100%;
  margin-top: 0 !important;
  padding-top: 0;
  align-self: start;
 }

 .tnf-ld-course-layout .tnf-ld-sidebar {
  margin-top: 0;
  padding-top: 0;
 }

 .tnf-ld-course-layout .tnf-ld-sidebar-video--desktop {
  margin-top: 0;
 }
}

/* Hide old hero if still present */
.tnf-course-detail .course__details_head:not(.tnf-ld-hero) {
 display: none;
}

/* —— Stats bar —— */
.tnf-ld-stats-bar {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
 gap: 1rem;
 background: var(--ld-surface);
 border: 1px solid var(--ld-border);
 border-radius: 8px;
 padding: 1.25rem 1.5rem;
 margin-bottom: 1.5rem;
 box-shadow: 0 2px 12px rgba(12, 45, 82, 0.06);
}

.tnf-ld-stat {
 text-align: center;
 padding: 0.25rem 0.5rem;
}

.tnf-ld-stat strong {
 display: block;
 font-size: 0.9375rem;
 font-weight: 700;
 color: var(--ld-navy);
 line-height: 1.3;
}

.tnf-ld-stat span {
 display: block;
 font-size: 0.75rem;
 color: var(--ld-muted);
 margin-top: 0.2rem;
}

/* —— Main content card + tabs —— */
.tnf-course-detail .details_shadow,
.tnf-course-detail .bg-white.details_shadow {
 background: var(--ld-surface) !important;
 border: 1px solid var(--ld-border) !important;
 border-radius: 8px !important;
 box-shadow: 0 2px 16px rgba(12, 45, 82, 0.06) !important;
 overflow: hidden;
}

/* Tabs — flush Learn Direct style */
.tnf-course-detail .tnf-ld-tabs,
.tnf-course-detail .course_tabs.tnf-ld-tabs {
 background: #e8ecf0 !important;
 border-bottom: none !important;
 padding: 0 !important;
}

.tnf-course-detail .course_tabs .lms_tabmenu {
 border: none !important;
 gap: 0 !important;
 flex-wrap: nowrap;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
 width: 100%;
 margin: 0 !important;
}

.tnf-course-detail .course_tabs .nav-item {
 flex: 1 1 0;
 min-width: max-content;
}

.tnf-course-detail .course_tabs .nav-link {
 background: #e8ecf0 !important;
 border: none !important;
 border-radius: 0 !important;
 border-right: 1px solid #d5dbe3 !important;
 color: #1a1a1a !important;
 font-size: 0.8125rem !important;
 font-weight: 700 !important;
 text-transform: none;
 letter-spacing: 0;
 padding: 0.9rem 1rem !important;
 white-space: nowrap;
 margin: 0 !important;
 text-align: center;
 width: 100%;
}

.tnf-course-detail .course_tabs .nav-item:last-child .nav-link {
 border-right: none !important;
}

.tnf-course-detail .course_tabs .nav-link.active {
 color: #fff !important;
 background: var(--ld-navy) !important;
 border-right-color: var(--ld-navy) !important;
}

.tnf-course-detail .course_tabs .nav-link:hover:not(.active) {
 color: #1a1a1a !important;
 background: #dfe4ea !important;
}

/* Bundle / recommended banner */
.tnf-ld-bundle-banner {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem 1.5rem;
 background: #2b6cb0;
 padding: 1rem 1.25rem;
}

.tnf-ld-bundle-banner__badge {
 position: relative;
 background: #fff;
 color: #2b6cb0;
 font-size: 0.6875rem;
 font-weight: 800;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 padding: 0.65rem 0.85rem 1rem;
 line-height: 1.25;
 max-width: 7rem;
 text-align: center;
 clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
}

.tnf-ld-bundle-banner__text {
 flex: 1;
 margin: 0;
 color: var(--ld-cta);
 font-size: clamp(0.9375rem, 2vw, 1.25rem);
 font-weight: 700;
 line-height: 1.35;
}

.tnf-ld-content-title {
 font-size: clamp(1.375rem, 2.5vw, 1.75rem);
 font-weight: 700;
 color: #1a1a1a;
 line-height: 1.3;
 margin-bottom: 1.25rem;
}

.tnf-course-detail .course_tab_content {
 padding: 2rem 1.75rem !important;
}

.tnf-course-detail .course_tab_content h4,
.tnf-course-detail .font_32 {
 font-size: 1.5rem !important;
 font-weight: 700 !important;
 color: var(--ld-navy) !important;
 margin-bottom: 1rem !important;
}

.tnf-course-detail .course_tab_content p,
.tnf-course-detail .course_overview_description {
 color: var(--ld-text);
 line-height: 1.7;
}

/* Course at a glance */
.tnf-ld-glance {
 background: transparent;
 border: none;
 border-radius: 0;
 padding: 0;
 margin-bottom: 2rem;
}

.tnf-ld-glance h3 {
 font-size: 1.25rem;
 font-weight: 700;
 color: #1a1a1a;
 margin-bottom: 1rem;
}

.tnf-ld-glance__body ul {
 margin: 0;
 padding-left: 1.25rem;
}

.tnf-ld-glance__body ul {
 list-style: none;
 padding-left: 0;
}

.tnf-ld-glance__body li {
 position: relative;
 padding-left: 1.75rem;
 margin-bottom: 0.65rem;
 color: var(--ld-text);
 line-height: 1.55;
}

.tnf-ld-glance__body li::before {
 content: "\f00c";
 font-family: "Font Awesome 5 Free";
 font-weight: 900;
 position: absolute;
 left: 0;
 top: 0.15rem;
 color: var(--ld-blue-mid);
 font-size: 0.875rem;
}

.tnf-ld-callout {
 display: flex;
 gap: 1rem;
 align-items: flex-start;
 background: var(--ld-navy) !important;
 color: #fff !important;
 border-radius: 8px;
 padding: 1.25rem 1.5rem;
 margin-bottom: 2rem;
}

.tnf-ld-callout i {
 font-size: 1.75rem;
 opacity: 0.9;
 flex-shrink: 0;
 color: #fff !important;
}

.tnf-ld-callout p {
 margin: 0;
 line-height: 1.6;
 color: #fff !important;
}

/* Override tab content paragraph colour inside callout */
.tnf-course-detail .course_overview_description .tnf-ld-callout,
.tnf-course-detail .course_overview_description .tnf-ld-callout p,
.tnf-course-detail .course_tab_content .tnf-ld-callout,
.tnf-course-detail .course_tab_content .tnf-ld-callout p,
.tnf-course-detail .single_overview .tnf-ld-callout p {
 color: #fff !important;
}

/* —— Sidebar (sticky enrol card) —— */
.tnf-course-detail .tnf-ld-pricing-card {
 position: relative;
 border-radius: 0 !important;
 overflow: visible;
 padding: 0 !important;
 border: 1px solid #c5cdd6 !important;
 box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
 margin-top: 0 !important;
}

.tnf-course-detail.tnf-ld-no-trailer .tnf-ld-pricing-card {
 margin-top: 0 !important;
}

.tnf-ld-pricing-card__header {
 position: relative;
 background: #333333;
 color: #fff;
 padding: 1.35rem 1.25rem 1.25rem;
 overflow: visible;
}

.tnf-ld-pricing-card__header--mini {
 margin: 0 0 1rem;
 padding: 1rem;
 padding-top: 1.15rem;
 border-radius: 0;
 overflow: visible;
}

/* LearnDirect-style hanging sale tag */
.tnf-ld-sale-tag {
 position: absolute;
 top: -4px;
 right: 1.15rem;
 z-index: 4;
 display: flex;
 flex-direction: column;
 align-items: center;
 width: 4.35rem;
 pointer-events: none;
}

.tnf-ld-sale-tag__string {
 display: block;
 width: 2px;
 height: 1.125rem;
 background: #ffe600;
 border-radius: 1px;
}

.tnf-ld-sale-tag__tag {
 position: relative;
 display: block;
 width: 100%;
 margin-top: 0;
 padding: 0.95rem 0.2rem 0.65rem;
 background: #0a2240;
 border: 2px solid #ffe600;
 border-top: 0;
 border-radius: 0 0 11px 11px;
 text-align: center;
 box-sizing: border-box;
}

.tnf-ld-sale-tag__tag::before {
 content: "";
 position: absolute;
 top: -11px;
 left: 50%;
 transform: translateX(-50%);
 width: 78%;
 height: 12px;
 background: #0a2240;
 border: 2px solid #ffe600;
 border-bottom: 0;
 border-radius: 5px 5px 0 0;
 clip-path: polygon(12% 100%, 0 0, 100% 0, 88% 100%);
}

.tnf-ld-sale-tag__hole {
 position: absolute;
 top: -7px;
 left: 50%;
 transform: translateX(-50%);
 width: 9px;
 height: 9px;
 border-radius: 50%;
 border: 2px solid #ffe600;
 background: #333333;
 z-index: 2;
}

.tnf-ld-sale-tag__line1,
.tnf-ld-sale-tag__line2 {
 display: block;
 color: #ffe600;
 font-weight: 800;
 line-height: 1.1;
}

.tnf-ld-sale-tag__line1 {
 font-size: 0.625rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
}

.tnf-ld-sale-tag__line2 {
 margin-top: 0.1rem;
 font-size: 1.05rem;
 text-transform: uppercase;
}

.tnf-ld-sale-tag--mini {
 right: 0.85rem;
 width: 3.75rem;
 transform: scale(0.88);
 transform-origin: top right;
}

.tnf-ld-sale-tag--mini .tnf-ld-sale-tag__string {
 height: 0.9rem;
}

.tnf-ld-sale-tag--mini .tnf-ld-sale-tag__line1 {
 font-size: 0.5625rem;
}

.tnf-ld-sale-tag--mini .tnf-ld-sale-tag__line2 {
 font-size: 0.9rem;
}

.tnf-ld-upgrade-box {
 background: #333333;
 color: #fff;
 padding: 1rem 1.1rem;
 margin-bottom: 1.25rem;
}

.tnf-ld-upgrade-box__title {
 color: var(--ld-cta);
 font-weight: 800;
 font-size: 0.9375rem;
 margin: 0 0 0.5rem;
}

.tnf-ld-upgrade-box__text {
 margin: 0;
 font-size: 0.8125rem;
 line-height: 1.5;
 color: rgba(255, 255, 255, 0.92);
}

.tnf-ld-bundles-wrap__title {
 font-size: 0.9375rem;
 font-weight: 700;
 color: #1a1a1a;
 margin: 0 0 0.75rem;
}

.tnf-ld-bundles-wrap .course_bundle_options {
 margin-bottom: 1.25rem;
}

.tnf-ld-bundles-wrap .course_bundle_options_head {
 display: none;
}

.tnf-ld-bundles-wrap .course_bundle_options_head h4 {
 font-size: 0.875rem;
 font-weight: 600;
 color: #2b4c7e;
 margin-bottom: 0.35rem;
}

.tnf-ld-bundles-wrap .course_bundle_card {
 background: #f0f2f5;
 border: 1px solid #dde3ea;
 border-radius: 0;
 margin-bottom: 0.5rem;
 padding: 0.75rem 1rem;
}

.tnf-ld-bundles-wrap .course_bundle_card_body h5 {
 font-size: 0.875rem;
 color: #2b4c7e;
 margin-bottom: 0.35rem;
}

.tnf-ld-bundles-wrap .course_bundle_actions {
 display: flex;
 gap: 0.5rem;
 flex-wrap: wrap;
 margin-top: 0.65rem;
}

.tnf-ld-bundles-wrap .course_bundle_actions .theme_line_btn {
 background: #fff !important;
 color: #1a1a1a !important;
 border: 1px solid #1a1a1a !important;
 font-size: 0.75rem !important;
 padding: 0.4rem 0.75rem !important;
 min-height: auto !important;
}

.tnf-ld-bundles-wrap .course_bundle_actions .theme_btn {
 background: #333 !important;
 color: #fff !important;
 border: 1px solid #333 !important;
 font-size: 0.75rem !important;
 padding: 0.4rem 0.75rem !important;
 min-height: auto !important;
 background-image: none !important;
}

.tnf-ld-pricing-card__checkout {
 margin-top: 0.5rem;
 padding-top: 0.25rem;
}

.tnf-ld-payment-icons--checkout {
 margin-bottom: 1rem;
 padding-bottom: 0;
 border-bottom: none;
}

.tnf-ld-pricing-card__actions {
 margin-bottom: 0;
}

.tnf-ld-offer-countdown {
 background: #e53935;
 color: #fff;
 text-align: center;
 padding: 1rem 1.25rem 1.25rem;
}

.tnf-ld-offer-countdown__title {
 font-size: 1.125rem;
 font-weight: 800;
 text-transform: uppercase;
 margin: 0 0 0.25rem;
 letter-spacing: 0.04em;
}

.tnf-ld-offer-countdown__date {
 margin: 0 0 1rem;
 font-size: 0.9375rem;
}

.tnf-ld-offer-countdown__grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 0.5rem;
}

.tnf-ld-offer-countdown__unit span {
 display: block;
 background: #fff;
 color: #1a1a1a;
 font-size: 1.5rem;
 font-weight: 800;
 padding: 0.5rem 0.25rem;
 line-height: 1;
 font-variant-numeric: tabular-nums;
}

.tnf-ld-offer-countdown__unit small {
 display: block;
 margin-top: 0.35rem;
 font-size: 0.625rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.05em;
}

.tnf-ld-pricing-card__from {
 font-size: 0.8125rem;
 color: rgba(255, 255, 255, 0.85);
 margin: 0 0 0.5rem;
 padding-top: 0.25rem;
}

.tnf-ld-pricing-card__price-row {
 position: relative;
 margin-bottom: 0.75rem;
}

.tnf-ld-pricing-card__price-main {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 gap: 0.35rem 0.5rem;
 padding-right: 4.5rem;
}

.tnf-ld-pricing-card__price-main #price_show_tag {
 font-size: 2rem;
 font-weight: 800;
 line-height: 1.1;
 color: #fff !important;
}

.tnf-ld-pricing-card__sub {
 font-size: 0.8125rem;
 color: rgba(255, 255, 255, 0.8);
 font-weight: 500;
}

.tnf-ld-pricing-card__was {
 display: block;
 font-size: 0.875rem;
 color: rgba(255, 255, 255, 0.65);
 text-decoration: line-through;
 margin-top: 0.15rem;
}

.tnf-ld-pricing-card__urgency {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 background: #fff;
 color: #c62828;
 font-size: 0.75rem;
 font-weight: 600;
 padding: 0.4rem 0.65rem;
 border-radius: 2px;
 width: 100%;
 max-width: 100%;
}

.tnf-ld-pricing-card__urgency i {
 color: #c62828;
}

.tnf-ld-pricing-card__body {
 background: #fff;
 padding: 1.25rem;
}

.tnf-ld-pricing-card__desc {
 font-size: 0.8125rem;
 line-height: 1.55;
 color: var(--ld-text);
 margin-bottom: 1rem;
}

.tnf-ld-pricing-card__wishlist {
 font-size: 0.8125rem;
 margin-bottom: 0.75rem;
}

.tnf-ld-pricing-card__wishlist a {
 color: var(--ld-muted);
 text-decoration: none;
}

.tnf-ld-money-back {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.75rem;
 font-weight: 600;
 color: var(--ld-navy);
 background: #fff8e1;
 border: 1px solid #f0e0a8;
 border-radius: 4px;
 padding: 0.5rem 0.75rem;
 margin: 1rem 0 0;
}

.tnf-ld-quick-facts {
 list-style: none;
 margin: 0 0 1rem;
 padding: 0;
}

.tnf-ld-quick-facts li {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.875rem;
 color: var(--ld-text);
 margin-bottom: 0.45rem;
}

.tnf-ld-quick-facts i {
 color: var(--ld-green);
}

.tnf-ld-payment-icons {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 /* margin-bottom: 1.25rem;  */
 padding-bottom: 1.25rem;
 border-bottom: 1px solid var(--ld-border);
}

.tnf-ld-payment-icons img {
 height: auto;
 width: 100%;
 object-fit: contain;
}

.tnf-ld-payment-icons__banner {
 display: block;
 width: 100%;
 max-width: 100%;
 height: auto;
 object-fit: contain;
}

.tnf-ld-includes-list li::before {
 content: none;
}

.tnf-course-detail .tnf-ld-pricing-card .course_includes {
 margin-top: 0.75rem;
 padding-top: 0.75rem;
 border-top: 1px solid var(--ld-border);
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-includes-heading {
 border-top: none;
 padding-top: 0;
 margin-top: 0.5rem;
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-quick-facts {
 margin-top: 1rem;
 padding-top: 1rem;
 border-top: 1px solid var(--ld-border);
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-pricing-card__actions,
.tnf-course-detail .tnf-ld-pricing-card .d-flex.flex-column.gap-3.mb-4 {
 margin-top: 0;
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-payment-icons:not(.tnf-ld-payment-icons--checkout) {
 display: none;
}

.tnf-course-detail .tnf-ld-sidebar .tnf-ld-offer-countdown {
 width: 100%;
}

.tnf-course-detail .tnf-ld-sidebar-col {
 margin-top: 0 !important;
 padding-top: 0;
 align-self: flex-start;
}

.tnf-course-detail .course__details > .container > .row {
 align-items: flex-start;
}

.tnf-course-detail .course_sidebar,
.tnf-course-detail .tnf-ld-sidebar {
 position: sticky;
 top: 120px;
 z-index: 10;
}

.tnf-course-detail .course_tabs.text-center {
 text-align: left !important;
}

.tnf-course-detail .course_tabs .gradient_border::before,
.tnf-course-detail .course_tabs .gradient_border::after {
 display: none !important;
}

.tnf-ld-price-lead {
 font-size: 0.8125rem;
 font-weight: 600;
 color: var(--ld-muted);
 margin: 0 0 0.5rem;
 line-height: 1.4;
}

.tnf-ld-includes-heading {
 font-size: 1rem;
 font-weight: 700;
 color: var(--ld-navy);
 margin: 1.25rem 0 0.75rem;
 padding-top: 1rem;
 border-top: 1px solid var(--ld-border);
}

.tnf-course-detail .course_sidebar .sidebar__widget:not(.tnf-ld-pricing-card),
.tnf-course-detail .tnf-ld-sidebar-card:not(.tnf-ld-pricing-card) {
 background: var(--ld-surface) !important;
 border: 1px solid var(--ld-border) !important;
 padding: 1.5rem !important;
}

.tnf-course-detail .course_sidebar .previous_price {
 color: var(--ld-muted) !important;
 font-size: 1rem !important;
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-btn-enrol,
.tnf-course-detail .tnf-ld-pricing-card__actions .theme_btn,
.tnf-course-detail .tnf-ld-pricing-card .theme_btn.height_50,
.tnf-course-detail .tnf-ld-pricing-card .theme_btn.d-block {
 background: #ffe600 !important;
 background-image: none !important;
 color: #000 !important;
 border: 1px solid #000 !important;
 border-radius: 4px !important;
 font-weight: 800 !important;
 font-size: 1rem !important;
 letter-spacing: 0.02em;
 text-transform: uppercase;
 min-height: 52px;
 width: 100%;
 display: flex !important;
 align-items: center;
 justify-content: center;
 box-shadow: none !important;
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-btn-enrol:hover,
.tnf-course-detail .tnf-ld-pricing-card__actions .theme_btn:hover {
 background: #f5d900 !important;
 color: #000 !important;
}

.tnf-course-detail .tnf-ld-pricing-card .tnf-ld-btn-buy,
.tnf-course-detail .tnf-ld-pricing-card .theme_line_btn {
 border: 1px solid #000 !important;
 color: #000 !important;
 background: #fff !important;
 background-image: none !important;
 border-radius: 4px !important;
 font-weight: 700 !important;
 font-size: 0.9375rem !important;
 text-transform: uppercase;
 min-height: 48px;
 width: 100%;
 display: flex !important;
 align-items: center;
 justify-content: center;
 box-shadow: none !important;
}

.tnf-course-detail .tnf-ld-pricing-card .apply_coupon_section .applyCoupon,
.tnf-course-detail .tnf-ld-pricing-card #applyCourseCoupon {
 background: #333 !important;
 background-image: none !important;
 color: #fff !important;
 border: 1px solid #333 !important;
 border-radius: 0 4px 4px 0 !important;
 font-weight: 700 !important;
}

.tnf-course-detail .tnf-ld-pricing-card .apply_coupon_section .form-control,
.tnf-course-detail .tnf-ld-pricing-card #couponText {
 border: 1px solid #333 !important;
 border-radius: 4px 0 0 4px !important;
}

.tnf-course-detail .course_includes {
 margin-top: 1.25rem;
 padding-top: 1.25rem;
 border-top: 1px solid var(--ld-border);
}

.tnf-course-detail .course_includes li {
 display: flex;
 align-items: flex-start;
 gap: 0.65rem;
 margin-bottom: 0.75rem;
 font-size: 0.875rem;
 color: var(--ld-text);
}

.tnf-course-detail .course_includes li p {
 margin: 0;
 color: var(--ld-text);
}

.tnf-course-detail .course_includes svg {
 flex-shrink: 0;
 margin-top: 2px;
}

.tnf-course-detail .course_includes svg stop {
 stop-color: var(--ld-navy) !important;
}

.tnf-course-detail .course_includes svg path[stroke] {
 stroke: var(--ld-navy) !important;
}

/* Reviews / QA blocks */
.tnf-course-detail .review_star,
.tnf-course-detail .theme_review {
 border-color: var(--ld-border) !important;
}

.tnf-course-detail .single_reviews,
.tnf-course-detail .review_list .single_reviews {
 background: var(--ld-blue-soft);
 border-radius: 8px;
 padding: 1rem 1.25rem;
 margin-bottom: 1rem;
 border: 1px solid var(--ld-border);
}

.tnf-course-detail .curriculum_meta li {
 color: var(--ld-muted);
 font-size: 0.875rem;
}

.tnf-course-detail .expand_all_btn {
 color: var(--ld-navy) !important;
 font-weight: 600;
}

/* —— Curriculum accordion —— */
.tnf-course-detail .theme_according .accordion-item {
 border: 1px solid var(--ld-border) !important;
 border-radius: 6px !important;
 margin-bottom: 0.75rem;
 overflow: hidden;
}

.tnf-course-detail .theme_according .btn-link {
 background: var(--ld-blue-soft) !important;
 color: var(--ld-navy) !important;
 font-weight: 600 !important;
 text-decoration: none !important;
 width: 100%;
 text-align: left;
}

.tnf-course-detail .theme_according .accordion-body {
 background: #fff;
}

/* —— Learning options comparison table —— */
.tnf-ld-compare-table-wrap {
 margin: 2rem 0;
 overflow-x: auto;
}

.tnf-ld-compare-table {
 width: 100%;
 border-collapse: collapse;
 border: 2px solid #0c2d52;
 font-size: 0.875rem;
}

.tnf-ld-compare-table th,
.tnf-ld-compare-table td {
 border: 1px solid #0c2d52;
 padding: 0.85rem 1rem;
 vertical-align: middle;
}

.tnf-ld-compare-table thead th {
 font-weight: 700;
 text-align: center;
 line-height: 1.35;
}

.tnf-ld-compare-table__corner {
 background: #f0f2f5;
 width: 32%;
}

.tnf-ld-compare-table thead th:nth-child(2) {
 background: #fff;
 color: #0c2d52;
}

.tnf-ld-compare-table__premium-head {
 position: relative;
 background: #0c2d52 !important;
 color: #ffe600 !important;
 padding-top: 1.75rem !important;
}

.tnf-ld-compare-table__upgrade-badge {
 position: absolute;
 top: 0.5rem;
 right: 0.75rem;
 background: #ffe600;
 color: #0c2d52;
 font-size: 0.6875rem;
 font-weight: 800;
 text-transform: uppercase;
 padding: 0.2rem 0.5rem;
 border-radius: 999px;
}

.tnf-ld-compare-table tbody th {
 background: #f0f2f5;
 color: #0c2d52;
 font-weight: 600;
 text-align: left;
}

.tnf-ld-compare-table__std {
 background: #fff;
 text-align: center;
 width: 22%;
}

.tnf-ld-compare-table__std .fa-check {
 color: #0c2d52;
 font-size: 1.125rem;
}

.tnf-ld-compare-table__premium {
 background: #0c2d52;
 text-align: center;
 width: 22%;
}

.tnf-ld-compare-table__premium .fa-check {
 color: #ffe600;
 font-size: 1.125rem;
}

/* —— Students also bought —— */
.tnf-course-detail .tnf-ld-also-bought,
.tnf-course-detail .students_also_bought.tnf-ld-also-bought {
 background: #fff;
 border: 1px solid #d5dbe3;
 border-radius: 8px;
 padding: 1.25rem 1.5rem;
 margin-top: 2rem;
}

.tnf-ld-also-bought__title {
 font-size: 1.25rem;
 font-weight: 700;
 color: #001a4d;
 margin: 0 0 1rem;
}

.tnf-ld-also-bought__row {
 display: grid;
 grid-template-columns: 72px 1fr auto auto 44px;
 align-items: center;
 gap: 0.75rem 1rem;
 padding: 1rem 0;
 border-bottom: 1px solid #e2e8f0;
}

.tnf-ld-also-bought__row:last-child {
 border-bottom: none;
}

.tnf-ld-also-bought__thumb {
 display: block;
 width: 72px;
 height: 72px;
 border: 1px solid #d5dbe3;
 overflow: hidden;
 flex-shrink: 0;
}

.tnf-ld-also-bought__thumb img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.tnf-ld-also-bought__name {
 margin: 0 0 0.35rem;
 font-size: 0.9375rem;
 font-weight: 700;
}

.tnf-ld-also-bought__name a {
 color: #001a4d;
 text-decoration: none;
}

.tnf-ld-also-bought__name a:hover {
 text-decoration: underline;
}

.tnf-ld-also-bought__meta {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.8125rem;
 color: #5a6a7d;
}

.tnf-ld-also-bought__level {
 background: #1a1a1a;
 color: #fff;
 font-size: 0.6875rem;
 font-weight: 700;
 padding: 0.15rem 0.45rem;
 border-radius: 3px;
}

.tnf-ld-also-bought__stats {
 border-left: 1px solid #e2e8f0;
 border-right: 1px solid #e2e8f0;
 padding: 0 1rem;
 min-width: 130px;
}

.tnf-ld-also-bought__rating,
.tnf-ld-also-bought__enrolled {
 display: flex;
 align-items: center;
 gap: 0.35rem;
 font-size: 0.75rem;
 color: #5a6a7d;
 margin-bottom: 0.25rem;
}

.tnf-ld-also-bought__rating i {
 color: #ffc107;
 font-size: 0.75rem;
}

.tnf-ld-also-bought__price {
 text-align: right;
 min-width: 90px;
}

.tnf-ld-also-bought__price strong {
 display: block;
 font-size: 1.125rem;
 font-weight: 800;
 color: #001a4d;
}

.tnf-ld-also-bought__price del {
 font-size: 0.8125rem;
 color: #5a6a7d;
}

.tnf-ld-also-bought__cart {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 40px;
 height: 40px;
 color: #001a4d !important;
 font-size: 1.125rem;
 text-decoration: none;
 border-left: 1px solid #e2e8f0;
}

.tnf-ld-also-bought__cart:hover {
 color: #0c2d52 !important;
}

@media (max-width: 991.98px) {
 .tnf-ld-also-bought__row {
 grid-template-columns: 64px 1fr auto;
 grid-template-rows: auto auto;
 }

 .tnf-ld-also-bought__stats {
 grid-column: 2 / 3;
 border: none;
 padding: 0;
 min-width: 0;
 }

 .tnf-ld-also-bought__price {
 grid-column: 3 / 4;
 grid-row: 1 / 3;
 align-self: center;
 }

 .tnf-ld-also-bought__cart {
 grid-column: 1 / 2;
 grid-row: 2 / 3;
 border: none;
 }
}

/* —— More courses section —— */
.tnf-course-detail .more_course_section {
 background: var(--ld-surface) !important;
 padding: 3rem 0 !important;
 border-top: 1px solid var(--ld-border);
}

.tnf-course-detail .more_course_section .section__title h3 {
 color: var(--ld-navy);
 font-weight: 700;
}

/* —— Coupon / share in sidebar —— */
.tnf-course-detail .coupon_code .form-control {
 border-color: var(--ld-border);
 border-radius: 4px 0 0 4px;
}

.tnf-course-detail .coupon_code .theme_btn.small_btn {
 background: var(--ld-navy) !important;
 border-radius: 0 4px 4px 0 !important;
}

@media (max-width: 1199.98px) {
 .tnf-course-detail .tnf-ld-sidebar-col {
 margin-top: 0;
 }

 .tnf-course-detail .course_sidebar,
 .tnf-course-detail .tnf-ld-sidebar {
 position: relative;
 top: 0;
 margin-bottom: 2rem;
 }

 .tnf-course-detail .col-xl-4.order-1 {
 order: 1 !important;
 }

 .tnf-course-detail .col-xl-8.order-2 {
 order: 2 !important;
 }
}

/* Stats section (full width, below content) */
.tnf-ld-stats-section {
 background: #fff;
 border-top: 1px solid var(--ld-border);
 border-bottom: 1px solid var(--ld-border);
 padding: 2rem 0;
 margin-top: 1rem;
}

.tnf-ld-stats-bar--wide {
 margin-bottom: 0;
}

.tnf-ld-stats-bar--wide .tnf-ld-stat i {
 display: block;
 font-size: 1.25rem;
 color: var(--ld-blue-mid);
 margin-bottom: 0.35rem;
}

/* Testimonials */
.tnf-ld-testimonials {
 background: #2d3439;
 color: #fff;
 padding: 3rem 0;
}

.tnf-ld-testimonials__title {
 text-align: center;
 font-size: 1.75rem;
 font-weight: 700;
 margin-bottom: 2rem;
}

.tnf-ld-testimonials__grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 1rem;
}

.tnf-ld-testimonial-card {
 background: #fff;
 color: var(--ld-text);
 border-radius: 8px;
 padding: 1.25rem;
}

.tnf-ld-testimonial-card__stars {
 color: var(--ld-green);
 margin-bottom: 0.75rem;
 font-size: 0.875rem;
}

.tnf-ld-testimonial-card__quote {
 font-size: 0.875rem;
 line-height: 1.55;
 margin-bottom: 0.75rem;
}

.tnf-ld-testimonial-card__author {
 font-weight: 700;
 font-size: 0.8125rem;
 color: var(--ld-navy);
 margin: 0;
}

/* Newsletter */
.tnf-ld-newsletter {
 background: #fff;
 padding: 2.5rem 0;
 border-bottom: 1px solid var(--ld-border);
}

.tnf-ld-newsletter__inner {
 max-width: 720px;
 margin: 0 auto;
 text-align: center;
}

.tnf-ld-newsletter__inner h3 {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--ld-navy);
 margin-bottom: 0.5rem;
}

.tnf-ld-newsletter__inner p {
 color: var(--ld-muted);
 margin-bottom: 1.25rem;
}

.tnf-ld-newsletter__form {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 justify-content: center;
}

.tnf-ld-newsletter__form input {
 flex: 1 1 160px;
 max-width: 220px;
 border: 1px solid var(--ld-border);
 border-radius: 4px;
 padding: 0.65rem 0.75rem;
}

.tnf-ld-newsletter__btn {
 background: #111;
 color: #fff;
 border: none;
 border-radius: 4px;
 padding: 0.65rem 1.5rem;
 font-weight: 700;
 text-transform: uppercase;
 font-size: 0.8125rem;
 cursor: pointer;
}

@media (max-width: 767.98px) {
 .tnf-ld-trust-strip__list {
 flex-direction: column;
 align-items: center;
 gap: 0.5rem;
 }

 .tnf-ld-stats-bar {
 grid-template-columns: repeat(2, 1fr);
 }

 .tnf-course-detail .course_tab_content {
 padding: 1.25rem 1rem !important;
 }

 .tnf-ld-callback-card {
 margin-top: 1rem;
 }
}

/* Student Course Bundles (upsell) */
.tnf-student-bundles {
    margin: 1.25rem 0 1rem;
}
.tnf-student-bundles__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.75rem;
}
.tnf-student-bundles__list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.tnf-student-bundles__option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1rem;
    background: #f3f3f3;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tnf-student-bundles__option.is-active {
    background: #2b2b2b;
    color: #fff;
}
.tnf-student-bundles__option.is-active .tnf-student-bundles__name,
.tnf-student-bundles__option.is-active .tnf-student-bundles__meta {
    color: #fff;
}
.tnf-student-bundles__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}
.tnf-student-bundles__control {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid #bbb;
    background: #fff;
    position: relative;
}
.tnf-student-bundles__option.is-active .tnf-student-bundles__control {
    border-color: #fff;
}
.tnf-student-bundles__option.is-active .tnf-student-bundles__control::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #111;
}
.tnf-student-bundles__content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}
.tnf-student-bundles__name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}
.tnf-student-bundles__meta {
    display: none;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255,255,255,.85);
    line-height: 1.3;
}
.tnf-student-bundles__option.is-active .tnf-student-bundles__meta {
    display: block;
}
.tnf-student-bundles__badge {
    display: none;
    margin-top: 0.25rem;
    padding: 0.55rem 0.65rem;
    background: #ffe000;
    color: #111;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.25;
}
.tnf-student-bundles__option.is-active .tnf-student-bundles__badge {
    display: block;
}

.tnf-cart-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    line-height: 1.2;
}
.tnf-cart-price__was {
    color: #e11d48;
    font-size: 0.85rem;
    margin-right: 0.35rem;
}
.tnf-cart-price__off {
    display: inline-block;
    background: #e11d48;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* Mini cart + student bundle mobile fixes */
.shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item,
.tnf-mini-cart-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item .remove_cart,
.tnf-mini-cart-item .remove_cart {
    margin: 0 !important;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item .thumb,
.tnf-mini-cart-item .thumb {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    border-radius: 6px;
    background: #f3f3f3;
    background-image: none !important;
}

.shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item .thumb img,
.tnf-mini-cart-item .thumb img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.tnf-mini-cart-item .cart_content {
    flex: 1 1 auto;
    min-width: 0;
}

.tnf-mini-cart-item .cart_content h5 {
    font-size: 0.92rem;
    line-height: 1.35;
    margin: 0 0 0.35rem;
    word-break: break-word;
}

.tnf-mini-cart-price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0;
}

.tnf-mini-cart-was {
    color: #e11d48;
    font-size: 0.8rem;
}

.tnf-mini-cart-off {
    display: inline-block;
    background: #e11d48;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
}

.shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item:last-child {
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
}

.shoping_wrapper .view_checkout_btn {
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.shoping_wrapper .view_checkout_btn .theme_btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .shoping_wrapper .shoping_cart {
        width: min(100vw - 1rem, 360px);
        max-width: 100%;
    }

    .shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item .thumb,
    .tnf-mini-cart-item .thumb {
        flex: 0 0 56px !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
        margin-right: 0 !important;
    }

    .shoping_wrapper .shoping_cart .shoping_cart_inner .single_cart.tnf-mini-cart-item .thumb img,
    .tnf-mini-cart-item .thumb img {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }

    .tnf-mini-cart-item .cart_content h5 {
        font-size: 0.86rem;
    }

    .tnf-student-bundles__option {
        padding: 0.75rem 0.8rem;
    }

    .tnf-student-bundles__name {
        font-size: 0.86rem;
    }

    .tnf-student-bundles__badge {
        font-size: 0.66rem;
        padding: 0.45rem 0.5rem;
    }

    .tnf-ld-pricing-card .tnf-student-bundles {
        margin-left: 0;
        margin-right: 0;
    }
}

