/* ============================================================
   NEGOSYO PLANS — DUAL DRAWER BUTTONS + COURSES DRAWER
   Replaces single #np-drawer-toggle with two side-by-side
   buttons; moves courses into the shared .np-photo-catalog
   backdrop as a second collapsible drawer.
   ============================================================ */

/* ─── DUAL DRAWER BUTTONS ─────────────────────────────────── */
.np-dual-btns {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 22px;
}

/* Inactive attention pulse — box-shadow only; element already composited via translateZ(0).
   Chosen over transform:scale because the glow communicates interactivity without
   affecting layout geometry or sibling elements. */
@keyframes npBtnPulse {
  0%, 100% { box-shadow: 0 0 20px 0 rgba(230, 193, 90, .15); }
  50%       { box-shadow: 0 0 20px 0 rgba(230, 193, 90, .45); }
}

.np-dual-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 18px;
  /* B: raised background — white gloss lifted from .08/.02 to .12/.06 */
  background-color: rgba(16, 26, 52, .70);
  background-image: linear-gradient(165deg, rgba(255,255,255,.12), rgba(255,255,255,.06) 45%, rgba(230,193,90,.08));
  /* B: border thicker and bolder — 1.5px/.45 → 2px/.65 */
  border: 2px solid rgba(230, 193, 90, .65);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  text-align: left;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
  /* C: gentle glow-breath on inactive state */
  animation: npBtnPulse 2.8s ease-in-out infinite;
}
.np-dual-btn:focus-visible {
  outline: 2px solid rgba(230, 193, 90, .80);
  outline-offset: 2px;
}
.np-dual-btn:hover:not(.np-dual-btn--active) {
  border-color: rgba(230, 193, 90, .90);
  background-color: rgba(16, 26, 52, .90);
}

/* Active state — polished gold gradient; pulse suppressed */
.np-dual-btn--active {
  background-image: linear-gradient(120deg, #9A711F, #C0902E 55%, #D9AD4B);
  background-color: #9A711F;
  border-color: #9A711F;
  /* B: brighter top inset + outer gold glow */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 34px -6px rgba(230,193,90,.55);
  /* C: no pulse on active — shine sweep handles the animation */
  animation: none;
}
.np-dual-btn--active:hover {
  background-image: linear-gradient(120deg, #A87A22, #CC9B32 55%, #E6BC56);
  background-color: #A87A22;
  border-color: #A87A22;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 4px 16px rgba(200,150,62,.45), 0 0 34px -6px rgba(230,193,90,.65);
}

/* Shine sweep — reuses npDrawerShine keyframe from products.css */
.np-dual-btn--active::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.38) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: npDrawerShine 3.5s ease infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .np-dual-btn--active::after       { animation: none; }
  .np-dual-btn:not(.np-dual-btn--active) { animation: none; }
}

.np-dual-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
.np-dual-text {
  flex: 1;
  min-width: 0;
}
.np-dual-title {
  display: block;
  /* A: +2px on top of 0.92rem base */
  font-size: calc(0.92rem + 2px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  font-family: var(--font-heading);
}
.np-dual-sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(200, 190, 170, .80);
  margin-top: 2px;
  font-family: var(--font-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-dual-btn--active .np-dual-sub { color: rgba(255, 240, 200, .88); }

.np-dual-chip {
  flex-shrink: 0;
  /* A+B: slightly larger + brighter */
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(230, 193, 90, .28);
  border: 1px solid rgba(230, 193, 90, .55);
  color: rgba(230, 193, 90, .95);
  border-radius: 4px;
  padding: 3px 7px;
  line-height: 1.5;
  font-family: var(--font-heading);
}
.np-dual-btn--active .np-dual-chip {
  background: rgba(0, 0, 0, .20);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.np-dual-chev {
  flex-shrink: 0;
  color: rgba(230, 193, 90, .80);
  transition: transform 0.22s ease;
}
.np-dual-btn--active .np-dual-chev {
  color: rgba(255, 255, 255, .90);
  transform: rotate(180deg);
}

/* Compact on narrow screens — chips hidden, title font rolled back, sub wraps */
@media (max-width: 480px) {
  .np-dual-btn   { padding: 22px 12px; gap: 8px; }
  .np-dual-title { font-size: 0.92rem; }
  .np-dual-chip  { display: none; }
  .np-dual-sub   { white-space: normal; }
}

/* ─── COURSES DRAWER BODY ─────────────────────────────────── */
.np-courses-inner {
  padding-top: var(--space-12, 48px);
  padding-bottom: var(--space-8, 32px);
}

.np-cs-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 200, 80, 0.90);
  margin: 0 0 12px;
}
.np-cs-eyebrow .badge { vertical-align: middle; margin-left: 4px; }

.np-cs-headline {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 10px;
  text-wrap: balance;
}
.np-cs-hi {
  font-style: italic;
  color: rgba(230, 193, 90, .90);
}
.np-cs-subline {
  font-size: 1rem;
  color: rgba(255, 230, 190, 0.82);
  margin: 0 0 28px;
  line-height: 1.6;
}
.np-cs-disclaimer {
  font-size: 0.70rem;
  color: rgba(255, 210, 150, .50);
  margin: 20px 0 16px;
  line-height: 1.5;
}
.np-cs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: rgba(230, 193, 90, .15);
  border: 1.5px solid rgba(230, 193, 90, .30);
  border-radius: 8px;
  color: rgba(230, 193, 90, .55);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: not-allowed;
  opacity: 0.65;
}

/* ─── EC-CARD (gold plate course cards) ──────────────────── */
.ec-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ec-card {
  background: rgba(14, 20, 42, .88);
  border: 1px solid rgba(230, 193, 90, .22);
  border-radius: 10px;
  overflow: hidden;
}
.ec-card.ec-open {
  box-shadow: 0 10px 32px rgba(198, 149, 46, .22);
  border-color: rgba(230, 193, 90, .40);
}

/* Card header button */
.ec-hdr {
  display: flex;
  align-items: stretch;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  -webkit-appearance: none;
}
.ec-hdr:focus-visible { outline: 2px solid rgba(230, 193, 90, .80); outline-offset: -2px; }

/* Gold plate left column — 76px, Playfair Display 900 for the count */
.ec-plate {
  width: 76px;
  min-width: 76px;
  background: linear-gradient(170deg, #9A711F, #C0902E 55%, #D9AD4B);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 6px;
  flex-shrink: 0;
}
.ec-count {
  display: block;
  font-family: 'Playfair Display', var(--font-display, serif);
  font-weight: 900;
  font-size: 2.25rem;
  color: #fff;
  line-height: 1;
}
.ec-plate-label {
  display: block;
  font-size: 0.50rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-top: 4px;
  font-family: var(--font-heading);
}

/* Card meta column */
.ec-meta {
  flex: 1;
  padding: 14px 12px 14px 14px;
  min-width: 0;
}
.ec-eyebrow {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(230, 193, 90, .90);
  font-weight: 600;
  margin-bottom: 3px;
  font-family: var(--font-heading);
}
.ec-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 3px;
  font-family: var(--font-heading);
}
.ec-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(217, 205, 188, .80);
  margin-bottom: 7px;
  line-height: 1.4;
}
.ec-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

/* Chevron — right side of header */
.ec-chev {
  color: rgba(230, 193, 90, .90);
  margin: auto 14px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.ec-hdr[aria-expanded="true"] .ec-chev { transform: rotate(180deg); }

/* Expand body — JS controls max-height inline */
.ec-body {
  overflow: hidden;
  transition: max-height 0.28s ease;
}

/* Module list */
.ec-mods {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.ec-mod { border-bottom: 1px solid rgba(255, 255, 255, .10); }
.ec-mod:last-child { border-bottom: none; }

.ec-mod-btn {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px 16px;
  gap: 10px;
  color: inherit;
  transition: background 0.12s;
  -webkit-appearance: none;
}
.ec-mod-btn:hover  { background: rgba(230, 193, 90, .06); }
.ec-mod-btn:focus-visible { outline: 2px solid rgba(230, 193, 90, .70); outline-offset: -2px; }

.ec-mod-num {
  color: rgba(230, 193, 90, .90);
  font-weight: 700;
  font-size: 0.68rem;
  min-width: 20px;
  letter-spacing: 0.04em;
}
.ec-mod-name {
  flex: 1;
  color: #fff;
  font-size: 0.84rem;
  font-family: var(--font-heading);
}
.ec-mod-price {
  color: rgba(230, 193, 90, .90);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.ec-mod-chev {
  color: rgba(230, 193, 90, .70);
  transition: transform 0.18s ease;
}
.ec-mod-btn[aria-expanded="true"] .ec-mod-chev { transform: rotate(180deg); }

/* Module expand panel — JS controls max-height */
.ec-mod-panel {
  overflow: hidden;
  transition: max-height 0.22s ease;
  background: rgba(0, 0, 0, .15);
}

/* ─── TOGGLE ROW — STICKY + CONDENSED ────────────────────────── */
.np-photo-catalog .hero-ctas {
  position: sticky;
  top: var(--nav-height, 68px);
  z-index: 9;
  margin-top: 28px;
  padding-top: 16px;
  padding-bottom: 8px;
  transition: background 0.15s ease;
}
.np-photo-catalog .hero-ctas.np-condensed {
  background: rgba(8, 14, 28, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 8px;
  padding-bottom: 8px;
}
@supports not (backdrop-filter: blur(14px)) {
  .np-photo-catalog .hero-ctas.np-condensed { background: rgba(8, 14, 28, .96); }
}
.np-photo-catalog .hero-ctas.np-condensed .np-dual-btn { padding-top: 16px; padding-bottom: 16px; }
.np-photo-catalog .hero-ctas.np-condensed .np-dual-sub { display: none; }
@media (prefers-reduced-motion: reduce) {
  .np-photo-catalog .hero-ctas { transition: none; }
}

/* ─── COURSES TOGGLE — BLUE ACTIVE STATE ────────────────────── */
#np-btn-cs.np-dual-btn--active {
  background-image: linear-gradient(120deg, #4A7CC4, #7AB2FF 55%, #4A7CC4);
  background-color: #4A7CC4;
  border-color: #4A7CC4;
  color: #0d1b2e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 28px -6px rgba(74,124,196,.55);
}
#np-btn-cs.np-dual-btn--active:hover {
  background-image: linear-gradient(120deg, #3D6BB5, #6EA3F5 55%, #3D6BB5);
  background-color: #3D6BB5;
  border-color: #3D6BB5;
}
#np-btn-cs.np-dual-btn--active .np-dual-title { color: #0d1b2e; }
#np-btn-cs.np-dual-btn--active .np-dual-sub   { color: rgba(13, 27, 46, .72); }
#np-btn-cs.np-dual-btn--active .np-dual-chip  {
  background: rgba(0, 0, 0, .14);
  border-color: rgba(13, 27, 46, .32);
  color: #0d1b2e;
}
#np-btn-cs.np-dual-btn--active .np-dual-chev  { color: rgba(13, 27, 46, .78); }

/* ─── PER-VIEW HEADERS ──────────────────────────────────────── */
#np-hdr-cs .section-eyebrow { color: #8FBAFF; }
.np-cs-em { font-style: italic; color: #7AB2FF; }
/* Helper box — blue-bordered pill inside the courses header */
.np-cs-helper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(122, 178, 255, .65);
  border-radius: var(--radius-md, 8px);
  padding: var(--space-3, 12px) var(--space-5, 20px);
  margin-top: var(--space-4, 16px);
  background: rgba(122, 178, 255, .08);
  cursor: pointer;
  text-decoration: none;
  color: rgba(200, 225, 255, .90);
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.np-cs-helper:hover {
  background: rgba(122, 178, 255, .14);
  border-color: rgba(122, 178, 255, .90);
}

/* ─── COURSES CONTEXT BLOCK ─────────────────────────────────── */
/* Outcome checklist */
.np-cs-checklist {
  list-style: none;
  margin: 0 0 var(--space-4, 16px);
  padding: var(--space-4, 16px);
  display: flex;
  flex-direction: column;
  gap: var(--space-2, 8px);
  border: 1px solid rgba(122, 178, 255, .30);
  border-radius: var(--radius-md, 8px);
  background: rgba(122, 178, 255, .04);
}
.np-cs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2, 8px);
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  color: rgba(220, 235, 255, .90);
  line-height: 1.45;
}
.np-cs-checklist li::before {
  content: '✓';
  color: #7AB2FF;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
/* Course stats — in-flow (not absolutely positioned like the hero section stats) */
.np-cs-stats {
  position: static !important;
  transform: none !important;
  left: auto !important;
  bottom: auto !important;
  border: 1px solid rgba(122, 178, 255, .45);
  border-radius: var(--radius-md, 8px);
  padding: var(--space-4, 16px) var(--space-5, 20px);
}
.np-cs-stats .hero-stat-number { color: #8FBAFF; }

/* ─── FILTER BAR TOP OFFSET — below sticky toggle row ──────── */
/* Override the base products.css rule so bars clear the toggle row */
.np-photo-catalog .products-filter-bar {
  top: calc(var(--nav-height, 68px) + var(--np-toggle-h, 86px));
}
body.top-bar-visible .np-photo-catalog .products-filter-bar {
  top: calc(var(--nav-height, 68px) + 40px + var(--np-toggle-h, 86px));
}
/* Course filter bar — mirrors the blueprint filter bar */
.np-cs-filter-bar {
  position: sticky;
  top: calc(var(--nav-height, 68px) + var(--np-toggle-h, 86px));
  z-index: 10;
  padding: var(--space-3) 0;
  margin-bottom: var(--space-4);
  transition: background 0.15s ease;
}
.np-cs-filter-bar.is-stuck {
  background: rgba(8, 14, 28, .70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .np-cs-filter-bar.is-stuck { background: rgba(8, 14, 28, .92); }
}
body.top-bar-visible .np-cs-filter-bar {
  top: calc(var(--nav-height, 68px) + 40px + var(--np-toggle-h, 86px));
}
