/* ============================================================
   ProCert App v2.0 — Styles matching original Angular design
   Supplements redesign4.css
   ============================================================ */

/* ── Design tokens ────────────────────────────────────────────── */
:root {
  --pc-primary:    #0071ce;
  --pc-primary-dk: #004f91;
  --pc-accent:     #3eb54b;
  --pc-navy:       #0d1f3c;
  --pc-navy-mid:   #1a3461;
  --pc-bg:         #f1f4f8;
  --pc-surface:    #ffffff;
  --pc-border:     #dde3ec;
  --pc-text:       #1e293b;
  --pc-muted:      #5e738a;
  --pc-radius:     10px;
  --pc-shadow:     0 2px 10px rgba(13,31,60,.07);
  --pc-trans:      .18s ease;
  /* Original site brand colors */
  --pc-blue:       #0078b9;
  --pc-green:      #54b948;
}

/* ── Shared centered wrapper (nav + header-top) ──────────────── */
.pc-nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ── Top utility bar ─────────────────────────────────────────── */
.header-top .pc-nav-wrap {
  min-height: 36px;
}
.header-top p { margin: 0 !important; }
#menu-top-navigation ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 16px;
}
#menu-top-navigation ul li a {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

/* keep legacy .container inside .banner working too */
header.banner .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pc-nav-half {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
}
.pc-nav-half--left  { justify-content: flex-end !important; }
.pc-nav-half--right { justify-content: flex-start !important; }

.pc-nav-half .navbar-nav {
  display: flex !important;
  float: none !important;
  margin: 0 !important;
  list-style: none !important;
  padding: 0 !important;
}
.pc-nav-half .navbar-nav > li {
  float: none !important;
  list-style: none !important;
}
.pc-nav-half .navbar-nav > li > a {
  padding: 20px 13px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

header.banner .navbar-brand {
  flex: 0 0 auto !important;
  padding: 10px 40px !important;
}

/* ── Mobile nav toggle ───────────────────────────────────────── */
.pc-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.pc-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pc-navy);
  border-radius: 2px;
  transition: all var(--pc-trans);
}

/* Mobile dropdown nav */
.pc-mobile-nav {
  display: none;
  background: var(--pc-surface);
  border-bottom: 2px solid var(--pc-border);
  box-shadow: 0 6px 20px rgba(13,31,60,.12);
  position: relative;
  z-index: 997;
}
.pc-mobile-nav.open { display: block; }
.pc-mobile-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pc-mobile-nav ul li a {
  display: block;
  padding: 13px 20px;
  border-bottom: 1px solid var(--pc-border);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pc-navy);
  text-decoration: none;
}
.pc-mobile-nav ul li a:hover { color: var(--pc-primary); background: var(--pc-bg); }

@media (max-width: 767px) {
  .pc-nav-toggle { display: flex !important; }
  .pc-nav-half   { display: none !important; }
  header.banner .container { justify-content: space-between !important; }
  header.banner .navbar-brand { padding: 10px 15px !important; }
}

/* ── Filter bar inner wrapper (replaces broken .container) ──── */
.pc-pf-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Exam row in filter bar ──────────────────────────────────── */
#pc-prog-filter .pc-pf-exams {
  background: rgba(0,0,0,.22) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}
#pc-prog-filter .pc-pf-exams .pc-pf-inner {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
#pc-prog-filter .pc-pf-exam-list {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}
#pc-prog-filter .pc-pf-exam-item {
  list-style: none !important;
}
#pc-prog-filter .pc-pf-exam-link {
  display: inline-block !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  color: rgba(255,255,255,.7) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  background: rgba(255,255,255,.06) !important;
  transition: background var(--pc-trans), color var(--pc-trans) !important;
}
#pc-prog-filter .pc-pf-exam-link:hover {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.3) !important;
}

/* ── Hero Carousel ───────────────────────────────────────────── */
#home-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #c5d9e8;
}
#home-carousel .item {
  display: none;
  position: relative;
}
#home-carousel .item.active {
  display: block;
}
#home-carousel .item > img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}
#home-carousel .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  max-width: 740px;
  background-color: hsla(0, 0%, 100%, .92);
  border-top: 5px solid transparent;
  border-image: linear-gradient(to right, var(--pc-green) 50%, var(--pc-blue) 50%) 1;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.slide-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.slide-badge-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-badge-col img {
  display: block;
  width: 150px;
  height: auto;
}
.content-wrap {
  flex: 1;
  min-width: 0;
}
.content-wrap h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  color: var(--pc-navy) !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  margin: 0 0 1rem !important;
}
.content-wrap p {
  font-size: 13px !important;
  color: #4a4a4a !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}
/* ProCert blue button */
.btn.btn-procert,
.btn-procert {
  background: var(--pc-blue) !important;
  background: linear-gradient(to right, var(--pc-green), var(--pc-blue)) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 13px !important;
  transition: opacity .2s !important;
}
.btn.btn-procert:hover,
.btn-procert:hover {
  opacity: .85 !important;
  color: #fff !important;
}

/* Carousel indicators */
#home-carousel .carousel-indicators {
  bottom: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  width: 100%;
  left: 0;
}
#home-carousel .carousel-indicators li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 2px solid rgba(255,255,255,.8);
  cursor: pointer;
  list-style: none;
}
#home-carousel .carousel-indicators li.active {
  background: var(--pc-green);
  border-color: var(--pc-green);
}
/* Carousel controls */
#home-carousel .carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  color: var(--pc-navy);
  font-size: 18px;
  text-shadow: none;
  opacity: .8;
  z-index: 10;
}
#home-carousel .carousel-control:hover { opacity: 1; background: rgba(255,255,255,.9); }
#home-carousel .carousel-control.left  { left: 16px; }
#home-carousel .carousel-control.right { right: 16px; }
#home-carousel .carousel-control .glyphicon { color: var(--pc-navy); text-shadow: none; }

@media (max-width: 767px) {
  #home-carousel .slide-content {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    border-image: none;
    border-top: 4px solid var(--pc-blue);
    padding: 1.5rem;
  }
  .slide-row { gap: 1rem; }
  .slide-badge-col img { width: 80px; }
  .content-wrap h2 { font-size: 1.2rem !important; }
}

/* ── Home Callout (ProCert Certified section) ────────────────── */
.home-callout {
  min-height: 300px;
}
.home-callout .callout-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f0f0f0;
  min-height: 300px;
  text-align: center;
  padding: 50px 20px;
}
.home-callout .callout-item img {
  display: block;
  max-width: 220px;
  margin: 0 auto 20px;
}
.home-callout .callout-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .05em;
  color: var(--pc-navy);
  margin: 20px 0 16px;
  text-transform: uppercase;
}
.home-callout .callout-item p {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  max-width: 560px;
  margin: 0 auto 32px;
}
@media (min-width: 1200px) {
  .home-callout .callout-item p { font-size: 22px; max-width: 700px; }
  .home-callout .callout-title  { font-size: 34px; }
}

/* ── Gradient methodology banner ─────────────────────────────── */
.gradient-bar {
  background: linear-gradient(to right, var(--pc-green), var(--pc-blue));
  padding: 28px 0;
}
.gradient-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gradient-bar p {
  font-family: 'Inter', sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: 1.45rem !important;
  color: #fff !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  flex: 1;
}
.btn-pulsante {
  border: 2px solid #fff !important;
  color: #fff !important;
  background: transparent !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  transition: background .2s, color .2s !important;
  white-space: nowrap;
}
.btn-pulsante:hover {
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .gradient-bar p { font-size: 1rem !important; }
  .gradient-bar-inner { flex-direction: column !important; gap: 16px !important; text-align: center; }
}

/* ── Three photo panels ──────────────────────────────────────── */
.home-photo-strip {
  display: flex;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
}
.photo-strip-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.photo-strip-panel img.bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
/* Color overlays */
.photo-strip-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.photo-strip-panel--green::after  { background: rgba(84,185,72,.55); }
.photo-strip-panel--teal::after   { background: rgba(26,120,159,.55); }
.photo-strip-panel--blue::after   { background: rgba(13,31,60,.60); }
@media (max-width: 600px) {
  .home-photo-strip { flex-direction: column; }
  .photo-strip-panel { min-height: 160px; }
}

/* ── QA Partners section ─────────────────────────────────────── */
.home-lower-section {
  background: #fff;
  padding-top: 0;
}
.pc-lower-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 30px 56px;
  text-align: center;
}
.home-lower-section .section-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--pc-navy);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.3;
}
@media (min-width: 1200px) {
  .home-lower-section .section-title { font-size: 36px; }
}
.pc-lower-inner > p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Partner clickable logo grid */
.pc-partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 40px;
  margin-top: 8px;
}
.pc-partner-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: transform .18s, opacity .18s;
  opacity: .8;
}
.pc-partner-logo-link:hover { opacity: 1; transform: translateY(-2px); }
.pc-partner-logo-img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter .18s;
}
.pc-partner-logo-link:hover .pc-partner-logo-img { filter: grayscale(0%); }
.pc-partner-logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pc-muted);
}
@media (max-width: 600px) {
  .pc-partner-logos { gap: 20px 28px; }
  .pc-partner-logo-img { height: 30px; }
}

/* ── Footer ──────────────────────────────────────────────────── */
.pc-footer {
  background: #111c2d;
  color: rgba(255,255,255,.65);
  font-family: 'Inter', sans-serif;
}
.pc-footer-main {
  padding: 36px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Flex-based inner wrapper — no Bootstrap grid needed */
.pc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.pc-footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
  padding-bottom: 12px;
}
.pc-footer-col--center {
  align-items: center;
}
.pc-footer-col--right {
  align-items: flex-end;
}
.pc-footer-nav {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pc-footer-nav li {
  margin-bottom: 10px;
}
.pc-footer-nav li a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6) !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--pc-trans);
}
.pc-footer-nav li a:hover { color: #fff !important; }

/* Footer CTA button */
.btn-procert-footer {
  display: block;
  background: linear-gradient(to right, var(--pc-green), var(--pc-blue)) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 14px 24px !important;
  border: none !important;
  border-radius: 4px !important;
  min-width: 180px;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity .2s !important;
}
.btn-procert-footer:hover { opacity: .85 !important; color: #fff !important; text-decoration: none !important; }

/* Footer social */
.pc-footer-social {
  margin-top: 16px;
}
.pc-footer-social a img {
  opacity: .6;
  transition: opacity var(--pc-trans);
  filter: brightness(0) invert(1);
}
.pc-footer-social a:hover img { opacity: 1; }

/* Footer bottom bar */
.pc-footer-bar {
  padding: 14px 0;
}
.pc-footer-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pc-footer-bar-left,
.pc-footer-bar-right {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.pc-footer-bar a {
  color: rgba(255,255,255,.55) !important;
  text-decoration: none;
}
.pc-footer-bar a:hover { color: #fff !important; }

@media (max-width: 767px) {
  .pc-footer-inner { flex-direction: column; align-items: center; gap: 24px; }
  .pc-footer-col { align-items: center !important; text-align: center !important; }
  .pc-footer-nav li a { font-size: 10px; }
  .pc-footer-bar-inner { flex-direction: column; align-items: center; }
  .pc-footer-bar-right { font-size: 9.5px; }
}

/* ── Loading spinner ─────────────────────────────────────────── */
.pc-loading {
  text-align: center;
  padding: 64px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--pc-muted);
}
.pc-loading::before {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--pc-border);
  border-top-color: var(--pc-primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: pc-spin .7s linear infinite;
}
@keyframes pc-spin { to { transform: rotate(360deg); } }

/* ── Empty state ─────────────────────────────────────────────── */
.pc-empty-state {
  text-align: center;
  padding: 64px 24px 80px;
  max-width: 480px;
  margin: 0 auto;
}
.pc-empty-state p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--pc-muted);
  margin-bottom: 24px;
}

/* ── Pagination ──────────────────────────────────────────────── */
.pc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0 48px;
  flex-wrap: wrap;
}
.pc-page-btn {
  padding: 9px 22px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-primary);
  cursor: pointer;
  transition: all var(--pc-trans);
}
.pc-page-btn:hover {
  background: var(--pc-primary);
  border-color: var(--pc-primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,113,206,.25);
}
.pc-page-info {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--pc-muted);
}

/* ── Hero inner — centered max-width title area ──────────────── */
/* Replaces broken Bootstrap .container inside .hero-inner */
.pc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 36px;
}
/* Strip all Bootstrap .page-header chrome inside hero */
.hero-wrap .hero-inner {
  padding: 0 !important;
}
.hero-wrap .page-header {
  border-bottom: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero-wrap .page-header h1 {
  padding: 0 !important;
  margin: 0 0 20px !important;
}
/* Center the hero title (Bootstrap .text-center not reliable) */
.hero-wrap .page-header h1.text-center,
.hero-wrap .page-header h1 {
  text-align: center !important;
}

/* ── Find Your Course search section ────────────────────────── */
.pc-find-course-section {
  background: #fff;
  border-bottom: 1px solid var(--pc-border);
  padding: 40px 0 48px;
}
.pc-find-course-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}
.pc-find-course-inner h2.header-font {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--pc-navy) !important;
  margin: 0 0 20px !important;
  letter-spacing: -.01em;
}
.pc-find-course-inner .pc-search-form {
  max-width: 100%;
}
/* Override hero-dark search styles for light section */
.pc-find-course-inner .pc-search-input {
  border: 2px solid var(--pc-border) !important;
  background: #fff !important;
  color: var(--pc-text) !important;
}
.pc-find-course-inner .pc-search-input::placeholder { color: var(--pc-muted) !important; }
.pc-find-course-inner .pc-search-input:focus {
  border-color: var(--pc-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,113,206,.12) !important;
}

/* ── Course list heading ─────────────────────────────────────── */
.pc-course-list-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pc-navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--pc-border);
  margin: 0 0 24px;
}

/* ── Course list section (cf-top-wrap + pc-list-inner) ────────── */
.cf-top-wrap {
  background: var(--pc-bg);
  padding: 0;
}
.pc-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 30px 56px;
}

/* ── Static page hero — restore hero-bg.png graphic ─────────── */
/* redesign4.css strips background-image from .hero-wrap .hero-inner;
   .pc-static-hero loaded after redesign4.css overrides it. */
.pc-static-hero .hero-inner {
  background-image: url('/assets/img/hero-bg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* Also lift the navy overlay so the image shows through */
.pc-static-hero,
.pc-static-hero.product-archive-hero {
  background: none !important;
  background-image: none !important;
}

/* ── Static page layout ──────────────────────────────────────── */
.pc-static-main {
  padding: 40px 30px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.pc-static-content {
  max-width: 720px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  padding: 40px;
  box-shadow: var(--pc-shadow);
}
.pc-static-content p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--pc-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Search form (hero/search page) ─────────────────────────── */
.pc-search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}
.pc-search-input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--pc-trans), background var(--pc-trans);
  min-width: 0;
}
.pc-search-input::placeholder { color: rgba(255,255,255,.5); }
.pc-search-input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
}
.pc-search-btn {
  padding: 13px 24px;
  background: var(--pc-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--pc-trans);
}
.pc-search-btn:hover { background: #34a040; }
@media (max-width: 480px) {
  .pc-search-form { flex-direction: column; }
  .pc-search-btn { width: 100%; }
}

/* ── Course list container ───────────────────────────────────── */
#pc-course-list-mount { min-height: 200px; }

/* ── Product detail page ─────────────────────────────────────── */
.pc-product-page {
  background: var(--pc-bg);
  min-height: 60vh;
  padding: 0 0 64px;
}
.pc-product-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 30px 0;
}
.pc-product-back {
  margin: 0 0 24px !important;
}
.pc-product-back a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-muted) !important;
  text-decoration: none;
}
.pc-product-back a:hover { color: var(--pc-primary) !important; }
.pc-product-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  padding: 36px;
  box-shadow: var(--pc-shadow);
  flex-wrap: wrap;
}
.pc-product-cover {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pc-product-cover-img {
  width: 140px;
  height: 188px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 3px 5px 18px rgba(0,0,0,.18);
  background: var(--pc-bg);
}
.pc-product-details {
  flex: 1;
  min-width: 260px;
}
.pc-product-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--pc-navy) !important;
  letter-spacing: -.02em !important;
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
}
.pc-product-publisher {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--pc-muted);
  font-weight: 500;
  margin: 0 0 14px !important;
}
.pc-product-price {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pc-primary);
  margin: 0 0 16px !important;
}
.pc-product-meta {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
}
.pc-product-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pc-muted);
  flex-shrink: 0;
  background: var(--pc-bg);
  padding: 2px 8px;
  border-radius: 4px;
}
.pc-product-value {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--pc-text);
  font-weight: 500;
}
.pc-product-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--pc-muted);
  line-height: 1.7;
  margin: 16px 0 !important;
}
.pc-product-features {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--pc-muted);
  line-height: 1.75;
  padding-left: 20px;
  margin: 12px 0 20px !important;
}
.pc-product-buy {
  margin-top: 12px;
  display: inline-block;
}
@media (max-width: 600px) {
  .pc-product-layout { flex-direction: column; padding: 24px; }
  .pc-product-cover { flex-direction: row; align-items: flex-start; }
  .pc-product-cover-img { width: 100px; height: 134px; }
  .pc-product-title { font-size: 1.3rem !important; }
}

/* ── Product detail — Publisher Description / Pros / Cons ─────── */
.pc-product-section {
  background: #fff;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  padding: 28px 36px;
  box-shadow: var(--pc-shadow);
  margin-top: 20px;
}
.pc-product-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pc-muted);
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pc-border);
}
.pc-product-section--pros .pc-product-section-title {
  color: var(--pc-accent);
  border-bottom-color: var(--pc-accent);
}
.pc-product-section--cons .pc-product-section-title {
  color: #c0392b;
  border-bottom-color: #c0392b;
}
.pc-product-section .pc-product-desc {
  margin: 0 !important;
  font-size: 14.5px;
  color: var(--pc-text);
  line-height: 1.8;
}
@media (max-width: 600px) {
  .pc-product-section { padding: 20px 20px; }
}
