/* Three product-page samples. Category colors match the approved catalog. */
.nap-product {
  --course-accent: #887ef3;
  --book-accent: #5bb363;
  --pack-accent: #056c41;
  --product-accent: #675bd0;
  --product-surface: #f4f1ff;
  --product-ink: #18352d;
  background: #fff;
  color: var(--product-ink);
  padding: 40px 0 72px;
}
.nap-product--book { --product-accent: #237949; --product-surface: #eef8ea; }
.nap-product--pack { --product-accent: var(--pack-accent); --product-surface: #e9f2eb; }
.nap-product * { box-sizing: border-box; }
.nap-product .wrap { max-width: 1280px; }
.nap-product a:focus-visible,
.nap-product summary:focus-visible { outline: 3px solid #277a60; outline-offset: 4px; }
.nap-product__breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 44px; font-size: 14px; color: #486259; }
.nap-product__breadcrumbs a { text-underline-offset: 4px; }
.nap-product__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); gap: clamp(38px, 6vw, 96px); align-items: start; }
.nap-product__copy { min-width: 0; }
.nap-product__type { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--product-accent); }
.nap-product__type::before { content: ''; width: 36px; height: 2px; background: currentColor; }
.nap-product h1 { max-width: 780px; margin: 0 0 20px; font-size: clamp(54px, 5.2vw, 82px); line-height: .99; letter-spacing: -.065em; font-weight: 750; color: #17382d; overflow-wrap: anywhere; }
.nap-product__lead { max-width: 680px; font-size: clamp(20px, 1.8vw, 27px); line-height: 1.35; color: #405b50; }
.nap-product__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 52px 0 56px; border-top: 1px solid #a7bdb1; border-bottom: 1px solid #a7bdb1; }
.nap-product__fact { min-width: 0; padding: 20px 18px 22px 0; }
.nap-product__fact + .nap-product__fact { padding-left: 18px; border-left: 1px solid #a7bdb1; }
.nap-product__fact dt { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: #48675a; font-weight: 700; }
.nap-product__fact dd { margin: 8px 0 0; font-size: 20px; line-height: 1.25; font-weight: 700; color: #17382d; }
.nap-product__section { max-width: 750px; margin-top: 42px; }
.nap-product__section h2 { font-size: clamp(27px, 2.5vw, 39px); letter-spacing: -.045em; margin-bottom: 14px; color: #17382d; }
.nap-product__section p { color: #405b50; font-size: 17px; line-height: 1.6; }
.nap-product__contents { margin-top: 46px; border-top: 1px solid #a7bdb1; }
.nap-product__contents details { border-bottom: 1px solid #a7bdb1; }
.nap-product__contents summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 78px; list-style: none; cursor: pointer; font-size: 24px; font-weight: 700; letter-spacing: -.035em; }
.nap-product__contents summary::-webkit-details-marker { display: none; }
.nap-product__contents summary::after { content: '+'; width: 32px; height: 32px; border: 1px solid var(--product-accent); border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 25px; font-weight: 400; line-height: 1; color: var(--product-accent); }
.nap-product__contents details[open] summary::after { content: '−'; }
.nap-product__contents-body { padding: 0 0 28px; color: #405b50; font-size: 17px; line-height: 1.6; }
.nap-product__contents-body ul { margin: 0; padding-left: 22px; }
.nap-product__contents-body li + li { margin-top: 10px; }
.nap-product__contents-body a { text-underline-offset: 4px; }
.nap-product__access { padding: 24px 0 0; }
.nap-product__access h2 { font-size: 20px; margin-bottom: 8px; }
.nap-product__access p { font-size: 15px; }
.nap-product__related { margin-top: 30px; padding-top: 20px; border-top: 1px solid #d3ded5; font-size: 15px; color: #405b50; }
.nap-product__related b { display: block; margin-bottom: 5px; color: #17382d; }
.nap-product__related a { color: #1b6648; text-underline-offset: 4px; }
.nap-product__purchase { position: sticky; top: 112px; background: #fff; border: 1px solid #cfdfd2; border-radius: 16px; padding: 30px; box-shadow: 0 18px 55px rgba(13, 46, 34, .08); }
.nap-product__purchase .nap-product__price-label { margin-top: 0; }
.nap-product__purchase-kicker { color: var(--product-accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nap-product__purchase h2 { margin: 16px 0 28px; color: #17382d; font-size: 29px; line-height: 1.1; letter-spacing: -.04em; }
.nap-product__price-label { font-size: 13px; color: #486259; }
.nap-product__price { color: #17382d; font-size: 48px; line-height: 1; font-weight: 750; letter-spacing: -.055em; margin: 6px 0 22px; }
.nap-product__buy { display: flex; width: 100%; justify-content: center; align-items: center; min-height: 60px; padding: 14px 20px; border-radius: 10px; background: var(--product-accent); color: #fff; font-size: 17px; line-height: 1.2; font-weight: 750; text-decoration: none; text-align: center; transition: filter .2s ease, transform .2s ease; }
.nap-product__buy:hover { color: #fff; filter: brightness(.87); transform: translateY(-2px); }
.nap-product__purchase-note { font-size: 13px; line-height: 1.45; margin: 12px 0 24px; color: #4e6359; }
.nap-product__purchase-list { margin: 0; padding: 21px 0 0; border-top: 1px solid #dbe7dc; list-style: none; }
.nap-product__purchase-list li { display: flex; gap: 10px; color: #294a3d; font-size: 15px; line-height: 1.45; }
.nap-product__purchase-list li + li { margin-top: 13px; }
.nap-product__purchase-list li::before { content: '✓'; color: var(--product-accent); font-weight: 900; }
.nap-product__mobile-buy { display: none; }
body:has(.nap-product) .footer { background: #09271d; color: #fff; border-top: 0; }
body:has(.nap-product) .footer p,
body:has(.nap-product) .footer .small-note,
body:has(.nap-product) .footer .foot-bottom { color: #c7d7cd; }
body:has(.nap-product) .footer a { color: #f1f8f2; }
body:has(.nap-product) .footer a:hover { color: #d3f19e; }
body:has(.nap-product) .footer .foot-bottom { border-top-color: #49675a; }
@media (max-width: 900px) {
  .nap-product__layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
  .nap-product__purchase { padding: 22px; }
  .nap-product h1 { font-size: clamp(48px, 6vw, 68px); }
  .nap-product__facts { margin: 36px 0; }
  .nap-product__fact dd { font-size: 17px; }
}
@media (max-width: 700px) {
  .nap-product { padding: 25px 0 80px; }
  .nap-product .wrap { width: calc(100% - 36px); }
  .nap-product__breadcrumbs { margin-bottom: 30px; font-size: 13px; }
  .nap-product__layout { display: flex; flex-direction: column; gap: 38px; }
  .nap-product h1 { font-size: clamp(42px, 12vw, 57px); }
  .nap-product__lead { font-size: 20px; }
  .nap-product__facts { grid-template-columns: 1fr; margin: 34px 0; }
  .nap-product__fact { padding: 14px 0; }
  .nap-product__fact + .nap-product__fact,
  .nap-product__fact:nth-child(even),
  .nap-product__fact:nth-child(n+3) { padding-left: 0; border-left: 0; border-top: 1px solid #d3ded5; }
  .nap-product__fact dd { font-size: 18px; }
  .nap-product__section { margin-top: 34px; }
  .nap-product__contents { margin-top: 32px; }
  .nap-product__contents summary { min-height: 68px; font-size: 21px; }
  .nap-product__purchase { display: none; }
  .nap-product__mobile-buy { position: fixed; bottom: 0; left: 0; right: 0; z-index: 98; display: flex; align-items: center; gap: 12px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #c8dccc; box-shadow: 0 -8px 25px rgba(13, 46, 34, .08); }
  .nap-product__mobile-price { flex: 1; min-width: 0; font-size: clamp(24px,7vw,30px); font-weight: 800; line-height: 1; color: #17382d; white-space: nowrap; }
  .nap-product__mobile-buy .nap-product__buy { width: auto; min-height: 58px; font-size: 16px; padding: 12px 17px; background: #104b39; }
  body:has(.nap-product) > .mobile-sticky-cta { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .nap-product__buy { transition: none; }
  .nap-product__buy:hover { transform: none; }
}
