/* ── Marketing Module Design System ────────── */
/* Base */
.mdr-empty { text-align: center; padding: 40px 20px; color: #94a3b8; font-size: 14px; }

/* ── Grid ──────────────────────────────────── */
.mdr-grid { display: grid; gap: 24px; margin: 24px 0; }
.mdr-cols-1 { grid-template-columns: 1fr; }
.mdr-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mdr-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mdr-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Card (shared: courses, bundles) ───────── */
.mdr-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.mdr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.mdr-card-featured {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b, 0 8px 30px rgba(245,158,11,0.12);
}
.mdr-card-featured::before {
  content: '★';
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  background: #f59e0b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}

/* Card image */
.mdr-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}
.mdr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.mdr-card:hover .mdr-card-img img {
  transform: scale(1.05);
}
.mdr-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #94a3b8;
}
.mdr-card-price-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}
.mdr-card .mdr-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

/* Card body */
.mdr-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mdr-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.3;
}
.mdr-card-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 12px;
  line-height: 1.6;
  flex: 1;
}
.mdr-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.mdr-meta-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.mdr-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.mdr-price-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}
.mdr-price-current {
  font-size: 20px;
  font-weight: 800;
  color: #059669;
}
.mdr-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-top: auto;
}
.mdr-card-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  color: #fff;
}

/* ── Pricing Table ─────────────────────────── */
.mdr-pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0;
  align-items: start;
}
.mdr-plan {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.mdr-plan:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.mdr-plan-featured {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b, 0 12px 40px rgba(245,158,11,0.15);
  transform: scale(1.04);
  z-index: 1;
}
.mdr-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.mdr-plan-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
}
.mdr-plan-price {
  margin-bottom: 24px;
}
.mdr-price-old {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-bottom: 2px;
}
.mdr-price-num {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
}
.mdr-currency {
  font-size: 18px;
  font-weight: 600;
  color: #475569;
}
.mdr-plan-duration {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}
.mdr-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: right;
}
.mdr-plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #475569;
}
.mdr-plan-features li:last-child {
  border-bottom: none;
}
.mdr-plan-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.mdr-plan-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.3);
  color: #fff;
}
.mdr-plan-featured .mdr-plan-btn {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.mdr-plan-featured .mdr-plan-btn:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
  box-shadow: 0 6px 16px rgba(217,119,6,0.3);
}

/* ── Featured Course ───────────────────────── */
.mdr-featured-course {
  display: flex;
  gap: 32px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  margin: 24px 0;
  align-items: center;
}
.mdr-featured-img {
  flex-shrink: 0;
  width: 320px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
}
.mdr-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mdr-featured-body {
  flex: 1;
  min-width: 0;
}
.mdr-featured-badge {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.mdr-featured-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 12px;
  line-height: 1.2;
}
.mdr-featured-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 16px;
}
.mdr-featured-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.mdr-featured-stats span {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #475569;
}
.mdr-featured-price {
  font-size: 24px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 16px;
}
.mdr-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.mdr-featured-btn:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.35);
  color: #fff;
}

/* ── Bundle Detail Page ────────────────────── */
.mdr-bundle-detail {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero */
.mdr-bundle-hero {
  display: flex;
  gap: 32px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
  align-items: center;
}
.mdr-bundle-hero-img {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
}
.mdr-bundle-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mdr-bundle-hero-body {
  flex: 1;
}
.mdr-bundle-hero-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.mdr-bundle-hero-body h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 16px;
}
.mdr-bundle-hero-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.mdr-price-hero {
  font-size: 32px;
  font-weight: 800;
  color: #059669;
}
.mdr-price-duration {
  font-size: 14px;
  color: #94a3b8;
}
.mdr-bundle-hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.mdr-bundle-hero-meta span {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #475569;
}

/* Content */
.mdr-bundle-content {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 32px;
}

/* Courses section */
.mdr-bundle-courses-section {
  margin-top: 32px;
}
.mdr-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px;
}

/* ── Affiliate Dashboard ───────────────────── */
.mdr-affiliate-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.mdr-affiliate-stats .mdr-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.mdr-stat-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 500;
}
.mdr-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
}
code.mdr-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 8px;
  direction: ltr;
  display: inline-block;
}

/* Commissions table */
.mdr-commissions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.mdr-commissions-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  padding: 12px 16px;
  text-align: right;
  border-bottom: 2px solid #e2e8f0;
}
.mdr-commissions-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.mdr-badge-warning { color: #d97706; font-weight: 600; }
.mdr-badge-success { color: #059669; font-weight: 600; }
.mdr-badge-danger  { color: #dc2626; font-weight: 600; }

/* Affiliate signup form */
.mdr-affiliate-signup {
  max-width: 480px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
}
.mdr-affiliate-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}
.mdr-affiliate-form p { margin: 0 0 16px; }
.mdr-affiliate-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}
.mdr-affiliate-form input[type="text"],
.mdr-affiliate-form input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}
.mdr-affiliate-form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.mdr-affiliate-form .mdr-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.mdr-affiliate-form .mdr-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}
.mdr-affiliate-result {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.mdr-ref-link {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #2563eb;
  direction: ltr;
  margin: 8px 0;
}
.mdr-msg-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}
.mdr-msg-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #059669;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
  .mdr-cols-2, .mdr-cols-3, .mdr-cols-4 { grid-template-columns: 1fr; }
  .mdr-featured-course { flex-direction: column; padding: 20px; }
  .mdr-featured-img { width: 100%; height: 200px; }
  .mdr-bundle-hero { flex-direction: column; padding: 20px; }
  .mdr-bundle-hero-img { width: 100%; height: 200px; }
  .mdr-plan-featured { transform: none; }
  .mdr-pricing-table { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .mdr-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Single Bundle Page (Modern) ───────────── */
.mdr-single-bundle {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
}

.mdr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.mdr-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.mdr-breadcrumb a:hover { color: #d97706; }
.mdr-bc-sep { color: #cbd5e1; font-size: 11px; }

.mdr-sb-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* ── Hero ──────────────────────────────────── */
.mdr-sb-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
}
.mdr-sb-hero-img {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #f1f5f9;
}
.mdr-sb-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mdr-sb-hero-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.mdr-sb-hero-emoji { font-size: 64px; }
.mdr-sb-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mdr-sb-badge-featured {
  background: linear-gradient(135deg, #d97706, #f59e0b) !important;
  right: auto;
  left: 12px;
}
.mdr-sb-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #1e293b;
  line-height: 1.2;
}
.mdr-sb-meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mdr-sb-meta {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #475569;
}
.mdr-sb-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.mdr-sb-price-old {
  font-size: 20px;
  color: #94a3b8;
  text-decoration: line-through;
}
.mdr-sb-discount-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.mdr-sb-price-current {
  font-size: 36px;
  font-weight: 800;
  color: #059669;
}
.mdr-sb-price-duration {
  font-size: 14px;
  color: #94a3b8;
}
.mdr-sb-featured-notice {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.mdr-sb-cta-mobile { display: none; }

/* ── Sections ──────────────────────────────── */
.mdr-sb-section {
  margin-bottom: 40px;
}
.mdr-sb-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px;
}
.mdr-sb-content {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
}
.mdr-sb-content p { margin: 0 0 16px; }

/* ── Features grid ─────────────────────────── */
.mdr-sb-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.mdr-sb-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
}
.mdr-sb-feature-card:hover {
  border-color: #d97706;
  box-shadow: 0 4px 16px rgba(217,119,6,0.1);
  transform: translateY(-2px);
}
.mdr-sb-feature-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.mdr-sb-feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1e293b;
}
.mdr-sb-feature-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ── Courses list ──────────────────────────── */
.mdr-sb-courses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mdr-sb-course-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.2s;
}
.mdr-sb-course-item:hover {
  border-color: #d97706;
  box-shadow: 0 2px 12px rgba(217,119,6,0.08);
}
.mdr-sb-course-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef3c7;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #92400e;
  flex-shrink: 0;
}
.mdr-sb-course-info { flex: 1; min-width: 0; }
.mdr-sb-course-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
  color: #1e293b;
}
.mdr-sb-course-info p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mdr-sb-course-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.mdr-sb-course-price { font-size: 13px; color: #475569; white-space: nowrap; }
.mdr-sb-course-link {
  font-size: 13px;
  font-weight: 600;
  color: #d97706;
  text-decoration: none;
  white-space: nowrap;
}
.mdr-sb-course-link:hover { color: #b45309; text-decoration: underline; }

/* ── Sidebar ───────────────────────────────── */
.mdr-sb-sidebar-inner {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.mdr-sb-sidebar-price {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}
.mdr-sb-sidebar-current {
  font-size: 38px;
  font-weight: 800;
  color: #059669;
  margin: 4px 0;
}
.mdr-sb-sidebar-duration {
  font-size: 14px;
  color: #94a3b8;
}
.mdr-sb-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mdr-sb-sidebar-list li {
  padding: 8px 0;
  font-size: 14px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}
.mdr-sb-sidebar-list li:last-child { border-bottom: none; }

.mdr-sb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.mdr-sb-btn-primary:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.3);
}
.mdr-sb-btn-block { width: 100%; }
.mdr-sb-sidebar-note {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: 12px 0 0;
}

/* ── Sticky CTA bar (mobile) ──────────────── */
@media (max-width: 1024px) {
  .mdr-sb-grid { grid-template-columns: 1fr; }
  .mdr-sb-sidebar { display: none; }
  .mdr-sb-cta-mobile { display: block; margin-top: 16px; }
  .mdr-sb-cta-mobile .mdr-sb-btn-primary { width: 100%; padding: 16px; font-size: 18px; }
  .mdr-sb-hero { padding: 20px; }
  .mdr-sb-hero-img { height: 200px; }
  .mdr-sb-title { font-size: 24px; }
  .mdr-sb-price-current { font-size: 28px; }
  .mdr-sb-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mdr-sb-features-grid { grid-template-columns: 1fr; }
  .mdr-sb-course-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mdr-sb-course-meta { width: 100%; justify-content: space-between; }
}

/* ── Archive Bundle Page ───────────────────── */
.mdr-archive-bundles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.mdr-archive-header {
  text-align: center;
  margin-bottom: 40px;
}
.mdr-archive-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 8px;
}
.mdr-archive-header p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* ── Mobile Responsive (bundles) ───────────── */
@media (max-width: 480px) {
  .mdr-archive-bundles { padding: 20px 12px; }
  .mdr-archive-header h1 { font-size: 22px; }
  .mdr-archive-header p { font-size: 13px; }
  .mdr-card-img { height: 160px; }
  .mdr-card-body { padding: 14px; }
  .mdr-card-title { font-size: 15px; }
  .mdr-card-desc { font-size: 12px; }
  .mdr-card-pricing { margin-bottom: 10px; }
  .mdr-price-current { font-size: 17px; }
  .mdr-card-btn { padding: 8px; font-size: 13px; }
  .mdr-single-bundle { padding: 12px; }
  .mdr-sb-hero { padding: 14px; }
  .mdr-sb-hero-img { height: 150px; }
  .mdr-sb-title { font-size: 20px; }
  .mdr-sb-meta { font-size: 11px; padding: 3px 10px; }
  .mdr-sb-price-current { font-size: 24px; }
  .mdr-sb-price-old { font-size: 16px; }
  .mdr-sb-section-title { font-size: 18px; }
  .mdr-sb-features-grid { gap: 10px; }
  .mdr-sb-feature-card { padding: 14px; }
  .mdr-sb-feature-icon { font-size: 26px; }
  .mdr-sb-feature-card h4 { font-size: 13px; }
  .mdr-sb-feature-card p { font-size: 12px; }
  .mdr-sb-course-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
  .mdr-sb-course-meta { width: 100%; justify-content: space-between; }
  .mdr-sb-course-info h4 { font-size: 14px; }
  .mdr-sb-course-info p { white-space: normal; }
  .mdr-sb-cta-mobile { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; margin: 0; }
  .mdr-sb-cta-mobile .mdr-sb-btn-primary { border-radius: 0; padding: 18px 16px; font-size: 17px; }
  .mdr-single-bundle { padding-bottom: 70px; }
  .mdr-sb-section { margin-bottom: 24px; }
}
@media (max-width: 400px) {
  .mdr-card-img { height: 140px; }
  .mdr-sb-hero-img { height: 120px; }
  .mdr-sb-meta-row { gap: 6px; }
  .mdr-breadcrumb { font-size: 11px; }
}
