/* ===== APFP Pricing Styles ===== */
/* Scoped under #apfp-root to avoid Webflow conflicts */

#apfp-root {
  --navy: #273c91;
  --navy-dark: #1c2d6e;
  --coral: #ec634b;
  --coral-dark: #d26f5e;
  --blue-accent: #3478f6;
  --sky-blue: #35a7e7;
  --light-blue-bg: #e9f1fe;
  --warm-cream: #fef8ea;
  --text-dark: #0b1023;
  --text-muted: #0b1023a3;
  --text-dark-muted: #0b1023cc;
  --border: #e2e8f0;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 10px;
  font-family: 'Proxima Nova', 'Inter', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
#apfp-root .apfp-hero {
  background: linear-gradient(#2aabec66, #2aabec00);
  text-align: center;
  padding: 48px 24px 52px;
}
#apfp-root .apfp-hero h1 {
  font-size: 51px;
  line-height: 106%;
  letter-spacing: -.01em;
  font-weight: 700;
  color: #273c91;
  margin-bottom: 8px;
}
#apfp-root .apfp-hero p {
  font-size: 21.33px;
  color: #ff5733;
  font-weight: bold;
}

/* ===== CONTAINER ===== */
#apfp-root .apfp-container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0;
}
body .pricing-section {
  padding-top: 0;
}

/* ===== TWO-COLUMN LAYOUT ===== */
#apfp-root .apfp-layout {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
#apfp-root .apfp-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 74px);
  padding-top: 20px;
  overflow-y: auto;
  padding-bottom: 12px;
}
#apfp-root .viewing-product-details .apfp-sidebar {
  display: none;
}
#apfp-root .apfp-main {
  flex: 1;
  min-width: 0;
  padding: 16px;
  background-image: linear-gradient(#edf0f6, #edf0f666);
  border-radius: 16px;
  width: 100%;
}

/* ===== SECTION HEADER ===== */
#apfp-root .apfp-section-header {
  text-align: center;
  margin-bottom: 32px;
}
#apfp-root .apfp-section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0;
}
#apfp-root .apfp-section-header p {
  color: var(--text-muted);
  font-size: 15px;
}
#apfp-root .apfp-sidebar .apfp-section-header {
  text-align: left;
  margin-bottom: 12px;
}
#apfp-root .apfp-sidebar .apfp-section-header h2 {
  font-size: 16px;
  margin-top: 0;
  line-height: 1.2;
}
#apfp-root .apfp-sidebar .apfp-section-header p {
  font-size: 13px;
}

/* ===== GRID ===== */
#apfp-root .apfp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
#apfp-root .apfp-card-grid.flat .apfp-card {
  background-image: linear-gradient(to right, var(--border), transparent);
  background-size: 101%;
  background-position: right center;
  background-repeat: no-repeat;
}
#apfp-root .apfp-card-grid.flat .apfp-card:not(:hover) {
  border-color: transparent;
}
#apfp-root .apfp-card-grid.flat .apfp-card:hover,
#apfp-root .apfp-card-grid.flat .apfp-card.selected {
  background-color: var(--border);
}

/* ===== CARDS ===== */
#apfp-root .apfp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
#apfp-root .apfp-card:hover {
  border-color: #cbd5e1;
}
#apfp-root .apfp-card.selected {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
#apfp-root .apfp-card.selected.locked {
  pointer-events: none;
}
#apfp-root .apfp-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
#apfp-root .apfp-card .card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== CARD ICON ===== */
#apfp-root .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  flex-shrink: 0;
}
#apfp-root .card-icon.navy { background: var(--navy); }
#apfp-root .card-icon.coral { background: var(--coral); }
#apfp-root .card-icon.blue { background: var(--blue-accent); }
#apfp-root .card-icon.sky { background: var(--sky-blue); }
#apfp-root .card-icon.green { background: var(--green); }

/* ===== SCHOOL TYPE GRID ===== */
#apfp-root #schoolTypeGrid { grid-template-columns: 1fr; gap: 6px; }
#apfp-root #schoolTypeGrid .apfp-card { padding: 8px; }
#apfp-root #schoolTypeGrid .card-icon { width: 32px; height: 32px; font-size: 12px; border-radius: 6px; background-color: transparent; }
#apfp-root #schoolTypeGrid .card-icon img { width: auto; height: 26px; }
#apfp-root #schoolTypeGrid .apfp-card span { line-height: 1.2; }

/* ===== PROBLEM GRID ===== */
#apfp-root #problemGrid { grid-template-columns: 1fr; gap: 6px; }
#apfp-root #problemGrid .apfp-card { padding: 10px 16px; }
#apfp-root #problemGrid .apfp-card.locked { opacity: 0.7; cursor: default; }
#apfp-root #problemGrid .apfp-card.locked:hover { box-shadow: none; border-color: var(--navy); }

#apfp-root .viewing-single-product-school-type #step2 .apfp-section-header {
  display: none;
}
#apfp-root .viewing-single-product-school-type #problemGrid {
  text-align: left;
  line-height: 1.3;
}
#apfp-root .viewing-single-product-school-type #problemGrid:before {
  content: "We provide tailored solutions for:";
  font-size: 16px;
  font-weight: 700;
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card {
  padding: 0;
  /* padding-left: 0.25em; */
  display: inline;
  background: none;
  position: static;
  border: none;
  pointer-events: none;
  box-shadow: none;
  opacity: 1;
}
/* #apfp-root .viewing-single-product-school-type #problemGrid .apfp-card:before {
  content: ", "
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card:first-child:before {
  content: "We provide tailored solutions for "
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card:last-child:before {
  content: " and "
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card:last-child:after {
  content: "."
} */
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card:before {
  content: "• "
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card .check-indicator {
  display: none;
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card i {
  display: none;
}
/* #apfp-root .viewing-single-product-school-type #problemGrid {
  display: block;
} */
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card > div {
  display: inline !important;
}
#apfp-root .viewing-single-product-school-type #problemGrid .apfp-card span {
  font-weight: normal !important;
}

/* ===== CHECK INDICATOR ===== */
#apfp-root .check-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.15s;
}
#apfp-root .apfp-card.selected .check-indicator {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

/* ===== PRODUCT CARDS ===== */
#apfp-root .product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all ease 0.125s;
  cursor: pointer;
}
#apfp-root .product-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
#apfp-root .product-card .card-icon {
  background-color: white;
  overflow: hidden;
  position: relative;
}
#apfp-root .product-card .card-icon img {
  width: 100%;
  height: auto;
}
#apfp-root .product-card .card-icon.navy { color: var(--navy); }
#apfp-root .product-card .card-icon.coral { color: var(--coral); }
#apfp-root .product-card .card-icon.blue { color: var(--blue-accent); }
#apfp-root .product-card .card-icon.sky { color: var(--sky-blue); }
#apfp-root .product-card .card-icon.green { color: var(--green); }
#apfp-root .product-card .product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
#apfp-root .product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 24px;
}
#apfp-root .product-card .product-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
#apfp-root .product-card .product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--light-blue-bg);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
}
#apfp-root .product-card .product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
#apfp-root .product-card .feature-tag {
  font-size: 12px;
  color: var(--text-dark-muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
}
#apfp-root .product-card .feature-tag i { color: currentColor; margin-right: 2px; opacity: 0.64; }
#apfp-root .product-card .school-type-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
#apfp-root .product-card .school-type-tag { font-size: 12px; font-weight: normal; color: var(--text-dark-muted); padding: 2px 10px; border-radius: 99px; line-height: 16px; }
#apfp-root .school-type-tag.navy { background: #e9f1fe; color: var(--navy); }
#apfp-root .school-type-tag.coral { background: #fde8e4; color: var(--coral); }
#apfp-root .school-type-tag.blue { background: #e0ecfe; color: var(--blue-accent); }
#apfp-root .school-type-tag.sky { background: #dff0fb; color: var(--sky-blue); }
#apfp-root .school-type-tag.green { background: #dcfce7; color: var(--green); }
#apfp-root .product-card .price-zone {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
#apfp-root .product-card .product-card-action-label {
  font-size: 14px;
  color: var(--sky-blue);
  font-weight: 600;
}

/* ===== TAG BADGES ===== */
#apfp-root .tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--light-blue-bg);
  color: var(--navy);
  margin-left: 6px;
}

/* ===== RESULTS HEADER ===== */
#apfp-root .results-header {
  display: block;
  margin-bottom: 16px;
  text-align: left;
}
#apfp-root .results-header h2 { font-size: 20px; font-weight: 700; margin: 0; }
#apfp-root .results-header p { color: var(--text-muted); font-size: 14px; margin: 2px 0 0; }

/* ===== STEP2 HEADER ===== */
#apfp-root .step2-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}
#apfp-root .selected-school-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--light-blue-bg);
  padding: 4px 4px;
  padding-right: 8px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: all 0.125s ease;
}
#apfp-root .selected-school-badge:hover { background: white; }
#apfp-root .selected-school-badge .card-icon {
  width: 24px; height: 24px; font-size: 10px;
  border-radius: 4px; margin-bottom: 0;
  margin-right: 2px;
}

/* ===== BUTTONS ===== */
#apfp-root .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
#apfp-root .btn-coral { background: var(--coral); color: white; }
#apfp-root .btn-coral:hover { background: var(--coral-dark); }
#apfp-root .btn-navy { background: var(--navy); color: white; }
#apfp-root .btn-navy:hover { background: var(--navy-dark); }
#apfp-root .btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
#apfp-root .btn-outline:hover { border-color: var(--navy); color: var(--navy); }
#apfp-root .btn-sm { padding: 8px 16px; font-size: 13px; }
#apfp-root .btn-block { width: 100%; }

/* ===== INTERESTED BUTTON ===== */
/* #apfp-root .btn-interested {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  font-family: inherit;
}
#apfp-root .btn-interested:hover { background: #fde8e4; } */
#apfp-root .btn-interested.active {
  opacity: .8;
}
/* #apfp-root .btn-interested.active:hover { background: var(--coral-dark); border-color: var(--coral-dark); } */

/* ===== DETAIL VIEW ===== */
#apfp-root #productDetail { position: relative; }
#apfp-root .detail-back-link {
  cursor: pointer;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  display: block;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  left: 0;
  text-decoration: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.64);
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px oklch(0.39 0.14 268.48 / 0.24);
  transition: 0.125s all ease;
}
#apfp-root .detail-back-link:hover { color: white; background-color: var(--navy); }

#apfp-root .detail-header { text-align: center; margin-bottom: 8px; }
#apfp-root .detail-header h2 { font-size: 32px; color: var(--navy); margin-top: -8px; }
#apfp-root .detail-header .card-icon { width: 48px; height: 48px; font-size: 20px; margin: 0 auto 8px; background-color: white; overflow: visible; display: none; }
#apfp-root .detail-header .card-icon img { width: 100%; height: auto; }
#apfp-root .detail-header h2 img {
  height: 64px;
}
#apfp-root .detail-header h2 span {
  color: #263c92;
  letter-spacing: -.04em;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Proxima Nova, sans-serif;
  font-size: 21.3px;
  line-height: 22px;
  text-decoration: none;
  grid-column-gap: 8px;
  background-color: #263c9224;
  border-radius: 5px;
  flex: 0 auto;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  text-decoration: none;
  transform: translateY(12%);
}

#apfp-root .detail-volume {/* background: rgba(255,255,255,0.64); */border-radius: 12px;/* padding: 16px; */margin-bottom: 16px;text-align: center;}
#apfp-root .detail-volume p { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
#apfp-root .volume-options {display: flex;gap: 4px;flex-wrap: wrap;justify-content: center;}
#apfp-root .volume-option {padding: 2px 12px;border: 1.5px solid #d1d5db;border-radius: 6px;background: white;cursor: pointer;font-size: 14px;font-weight: 500;color: var(--navy);transition: all 0.15s;font-family: inherit;}
#apfp-root .volume-option:hover { border-color: var(--navy); }
#apfp-root .volume-option.active { border-color: var(--coral); color: var(--coral); font-weight: 700; background: white; }

/* ===== PLAN CARDS ===== */
#apfp-root .detail-plans {display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 16px;margin-bottom: 24px;}
#apfp-root .plan-card {background: white;/* border: 1.5px solid #e2e8f0; */border-radius: 8px;padding: 16px;text-align: center;box-shadow: 0 0 0 1px #0000001f, 0 4px 12px #0000001f;}
#apfp-root .plan-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 4px; margin-top: 0; }
#apfp-root .plan-card .plan-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.2; }
#apfp-root .plan-card .plan-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 4px; }
#apfp-root .plan-card .plan-price .currency { font-size: 18px; color: var(--navy); font-weight: 700; vertical-align: super; }
#apfp-root .plan-card .plan-price .amount { font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1; }
#apfp-root .plan-card .plan-price .period { font-size: 16px; color: var(--text-muted); font-weight: 500; }
#apfp-root .plan-card .plan-annual { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
#apfp-root .plan-saving { display: inline-block; padding: 3px 10px; border-radius: 100px; background: #ecfdf5; color: var(--green); font-size: 12px; font-weight: 700; margin-bottom: 20px; }
#apfp-root .plan-modules-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; margin-top: 20px; margin-bottom: 10px; }
#apfp-root .plan-module-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
#apfp-root .module-tag {font-size: 13px;padding: 2px 8px;border-radius: 6px;background: #f1f5f9;color: var(--navy);font-weight: 600;}
#apfp-root .plan-card .plan-actions {display: flex;gap: 8px;max-width: 420px;margin: 0 auto;}
#apfp-root .plan-card .plan-actions .btn { flex: 1; }
#apfp-root .plan-card .plan-contact { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }

/* ===== MODULE DETAIL GRID ===== */
#apfp-root .modules-section-subtitle {font-size: 19px;color: #0b1023b8;margin-bottom: 12px;text-align: center;letter-spacing: -.02em;}
#apfp-root .modules-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
#apfp-root .module-detail-card { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
#apfp-root .module-detail-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
#apfp-root .module-detail-header .mod-icon { width: 30px; height: 24px; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 0; background-position: center; background-repeat: no-repeat; }
#apfp-root .mod-icon.admissions { background-image: url(https://cdn.prod.website-files.com/67b6eb9544c5ccd53a71af16/69a007c750fa450fbb3ba263_clipboard-user%201.svg); }
#apfp-root .mod-icon.marketing { background-image: url(https://cdn.prod.website-files.com/67b6eb9544c5ccd53a71af16/69a007c6895c0c4de2d73303_bullseye-arrow%201.svg); }
#apfp-root .mod-icon.enrolment { background-image: url(https://cdn.prod.website-files.com/67b6eb9544c5ccd53a71af16/69a007c5b9b76a272d36f255_money-check-pen%201.svg); }
#apfp-root .mod-icon.integration { background-image: url(https://cdn.prod.website-files.com/67b6eb9544c5ccd53a71af16/69a007c7d9199e7e2fa33e44_arrow-right-arrow-left%201.svg); }
#apfp-root .module-detail-header h4 {font-size: 16px;font-weight: 700;color: #1e293b;margin: 0;}
#apfp-root .module-detail-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
#apfp-root .module-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#apfp-root .module-feat { font-size: 12.5px; color: var(--text-dark); display: flex; align-items: center; gap: 6px; }
#apfp-root .module-feat::before { content: '\2713'; color: var(--green); font-weight: 700; font-size: 11px; }
#apfp-root .module-new-badge {background: var(--coral);color: #fff;padding: 2px 4px;border-radius: 4px;font-size: 12px;font-weight: 700;vertical-align: middle;margin-left: 4px;transform: translateY(-2px);display: inline-block;line-height: 1;}

/* ===== INCLUDED FEATURES ===== */
#apfp-root .detail-included {margin-top: 0;padding: 0 12px;}
#apfp-root .detail-included h3 {font-size: 18px;font-weight: 700;color: #0b1023;margin-bottom: 4px;padding-bottom: 12px;border-bottom: 1px solid #e2e8f0;}
#apfp-root .included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin-top: 16px; }
#apfp-root .included-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dark); }
#apfp-root .included-item i {color: transparent;font-size: 14px;opacity: 1;background-image: url(https://cdn.prod.website-files.com/6762407b7f54148fabfecb58/67f6275a2f2d4e794fc7ec6f_ncheck.svg);background-repeat: no-repeat;background-position: center;}

/* ===== SIDEBAR PRODUCT LIST ===== */
#apfp-root #sidebarProductList {
  display: flex;
  width: max-content;
  gap: 4px;
  margin: 0 auto;
}
#apfp-root #sidebarProducts {
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 16px;
  border-bottom: 1px solid #263c9224;
  padding-bottom: 12px;
}
#apfp-root .sidebar-products-header { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
#apfp-root .sidebar-products-header h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; margin-top: 8px; }
#apfp-root .sidebar-product-item { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--navy); transition: all ease 0.125s; background: #253a6a1f; box-shadow: inset 0 0 0 1px rgba(255,255,255,0); }
#apfp-root .sidebar-product-item:hover { background: white; }
#apfp-root .sidebar-product-item:only-child { display: none; }
#apfp-root .sidebar-product-item.active { background: white; box-shadow: inset 0 0 0 1px var(--navy); }
#apfp-root .sidebar-product-item .card-icon { width: 20px; height: 20px; font-size: 10px; flex-shrink: 0; margin-bottom: 0; background-color: white; overflow: visible; }
#apfp-root .sidebar-product-item .card-icon img { width: 100%; height: auto; }

/* ===== CART BAR ===== */
#apfp-root .cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#apfp-root .cart-bar.visible { transform: translateY(0); }
#apfp-root .cart-bar-inner {
  max-width: 1272px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
#apfp-root .cart-items {
  flex: 1;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0;
}
#apfp-root .cart-item {
  display: block;
  background: var(--light-blue-bg);
  border-radius: var(--radius);
  padding: 6px 12px;
  padding-bottom: 4px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--text-dark);
  padding-right: 24px;
  position: relative;
}
#apfp-root .cart-item-info { display: flex; flex-direction: column; gap: 1px; margin-bottom: 2px; }
#apfp-root .cart-item-name { font-weight: 600; font-size: 12px; line-height: 1.2; }
#apfp-root .cart-item-plan { font-size: 11px; color: var(--text-muted); line-height: 0.9; }
#apfp-root .cart-item-price { font-weight: 600; font-size: 13px; color: var(--navy); }
#apfp-root .cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 22px;
  padding: 6px;
  line-height: 12px;
  font-family: inherit;
  position: absolute;
  top: 2px;
  right: 2px;
}
#apfp-root .cart-item-remove:hover { color: var(--coral); }
#apfp-root .cart-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
#apfp-root .cart-total {
  text-align: right;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
#apfp-root .cart-total small { display: block; font-size: 11px; font-weight: 400; color: var(--text-muted); }
#apfp-root .cart-total .discounted { color: var(--green); }
#apfp-root .cart-total .original { text-decoration: line-through; color: var(--text-muted); font-size: 14px; font-weight: 400; margin-left: 6px; }
#apfp-root .cart-total .discount-label { display: block; font-size: 11px; font-weight: 500; color: var(--green); }

/* ===== CTA BANNER ===== */
#apfp-root .cta-banner {
  background: linear-gradient(135deg, var(--light-blue-bg) 0%, #d6e4fd 100%);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
#apfp-root .cta-banner h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
#apfp-root .cta-banner p { color: var(--text-dark-muted); margin-bottom: 20px; font-size: 15px; }

/* ===== UTILITY ===== */
#apfp-root .hidden { display: none !important; }
#apfp-root .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
#apfp-root .empty-state i { font-size: 40px; margin-bottom: 16px; display: block; }
#apfp-root .empty-state h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-dark); }

/* ===== DATA SECTION (visible in Designer, hidden by JS on load) ===== */
#apfp-data {
  max-width: 1272px;
  margin: 0 auto;
  padding: 24px;
  font-family: monospace;
  font-size: 12px;
}
.apfp-d-product {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  background: #fafbfc;
}
.apfp-d-field {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}
.apfp-d-label {
  width: 120px;
  flex-shrink: 0;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  font-size: 10px;
}
.apfp-d-value {
  flex: 1;
  white-space: pre-line;
}
.apfp-d-plan {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px;
  margin: 8px 0;
  background: white;
}
.apfp-d-plan-row {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 2px 0;
}
.apfp-d-row-label {
  width: 80px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 10px;
  color: #64748b;
}
.apfp-d-cell {
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  text-align: center;
  min-width: 60px;
}
.apfp-d-tier-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.apfp-d-tier {
  padding: 2px 8px;
  background: #dbeafe;
  border-radius: 4px;
  font-size: 11px;
}
.apfp-d-modules, .apfp-d-tiers {
  margin: 8px 0;
  padding: 8px;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
}
.apfp-d-module {
  padding: 8px;
  margin: 4px 0;
  background: #f8fafc;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #apfp-root .apfp-layout { flex-direction: column; }
  #apfp-root .apfp-sidebar { width: 100%; position: static; max-height: none; }
  #apfp-root .apfp-main .apfp-card-grid { grid-template-columns: repeat(2, 1fr); }
  #apfp-root #schoolTypeGrid { grid-template-columns: repeat(3, 1fr); }
  #apfp-root #problemGrid { grid-template-columns: repeat(3, 1fr); }
  #apfp-root .modules-detail-grid { grid-template-columns: 1fr; }
  #apfp-root .detail-back-link {
    position: static;
    margin: 0 auto;
    margin-bottom: 12px;
    align-self: center;
  }
  #apfp-root .detail-header h2 img {
    height: 44px;
  }
  #apfp-root .detail-header h2 span {
    font-size: 18px !important;
  }
  #apfp-root .apfp-sidebar .apfp-section-header {
    text-align: center;
  }
  #apfp-root .results-header h2 {
    text-align: center;
  }
}
@media (max-width: 640px) {
  #apfp-root .apfp-card-grid { grid-template-columns: 1fr; }
  #apfp-root .apfp-main .apfp-card-grid { grid-template-columns: 1fr; }
  #apfp-root #schoolTypeGrid { grid-template-columns: 1fr; }
  #apfp-root #problemGrid { grid-template-columns: 1fr; }
  #apfp-root .detail-plans { grid-template-columns: 1fr; }
  #apfp-root .included-grid { grid-template-columns: 1fr; }
  #apfp-root .module-feat-grid { grid-template-columns: 1fr; }
}