/* ---------- TRAC Shop and Courses (inside the site shell) ---------- */
.sp { --sp-navy: #14254D; --sp-ink: #1F2937; --sp-muted: #4B5563; --sp-org: #E8650A; --sp-org-d: #C55400; --sp-line: #ECE6DF;
      --sp-cream: #FDF7F1; --sp-peach: #FFF1E7; color: var(--sp-ink); }
.sp a { color: inherit; }
.sp h2 { color: var(--sp-navy); font-size: 1.35rem; margin: 2rem 0 .3rem; }
.sp .sp-sub { color: var(--sp-muted); margin: 0 0 1rem; }

/* hero */
.sp-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 2rem 2rem 2.2rem; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(245,185,66,.35), transparent 40%), linear-gradient(135deg, #14254D 0%, #24407A 60%, #3B2A6B 100%); }
.sp-hero h2 { color: #fff; font-size: 1.9rem; margin: 0 0 .4rem; }
.sp-hero p { color: #E5E9F5; max-width: 620px; margin: 0 0 1.1rem; font-size: 1.02rem; }
.sp-hero .sp-stars { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(#fff 1px, transparent 1.5px); background-size: 46px 46px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.sp-hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; position: relative; }

.sp-btn { box-sizing: border-box; display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.15rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--sp-org); color: #fff !important; font: inherit; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; }
.sp-btn:hover { background: var(--sp-org-d); transform: translateY(-1px); }
.sp-btn.is-ghost { background: #fff; color: var(--sp-navy) !important; border: 1px solid #D7DCE6; }
.sp-btn.is-ghost:hover { background: #F4F6FB; }
.sp-btn.is-light { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); }
.sp-btn.is-block { width: 100%; justify-content: center; }
.sp-btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* category tiles */
.sp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; margin: 1.2rem 0 .4rem; }
.sp-cat { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border-radius: 16px; text-decoration: none; background: #fff;
  border: 1px solid var(--sp-line); transition: box-shadow .15s, transform .15s; }
.sp-cat:hover { box-shadow: 0 10px 24px rgba(20,37,77,.10); transform: translateY(-2px); }
.sp-cat img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.sp-cat b { color: var(--sp-navy); }
.sp-cat span { color: var(--sp-muted); font-size: .88rem; }

/* product grid */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.sp-grid.is-reports { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sp-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sp-line); border-radius: 18px;
  overflow: hidden; transition: box-shadow .2s, transform .2s; box-shadow: 0 1px 2px rgba(20,37,77,.04); }
.sp-card:hover { box-shadow: 0 16px 34px rgba(20,37,77,.13); transform: translateY(-3px); }
.sp-card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--sp-cream); overflow: hidden; }
.sp-card.is-wide .sp-card-img { aspect-ratio: 16 / 10; }
.sp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.sp-card:hover .sp-card-img img { transform: scale(1.04); }
.sp-card-body { padding: .85rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.sp-card-body h3 { margin: 0; font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500; font-size: 1.08rem; color: var(--sp-navy); line-height: 1.3; }
.sp-card.is-wide .sp-card-body h3 { font-size: 1.2rem; }
.sp-card-body h3 a { text-decoration: none; }
.sp-card-body p { margin: 0; color: var(--sp-muted); font-size: .88rem; flex: 1; }
.sp-badge { position: absolute; top: .7rem; left: .7rem; background: var(--sp-org); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 4px 10px rgba(232,101,10,.3); }
.sp-badge.is-plan { background: #0E7A4F; left: auto; right: .7rem; box-shadow: none; }
.sp-planet { position: absolute; bottom: .6rem; right: .6rem; background: rgba(255,255,255,.92); color: var(--sp-navy); font-size: .72rem; font-weight: 600;
  padding: .18rem .55rem; border-radius: 999px; border: 1px solid var(--sp-line); }
.sp-price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; margin: .25rem 0 .6rem; }
.sp-price b { font-size: 1.2rem; color: var(--sp-ink); }
.sp-price s { color: #6B7280; font-size: .88rem; }
.sp-price em { font-style: normal; color: #0E7A4F; font-size: .82rem; font-weight: 700; }
.sp-price small { color: var(--sp-muted); }
.sp-btn svg { width: 1.1em; height: 1.1em; }

/* home page: hero, category tiles, sections */
.sp-hero2 { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; overflow: hidden;
  border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0F1B3D 0%, #172A57 55%, #1E1A3F 100%); min-height: 420px; }
.sp-hero2-text { position: relative; z-index: 2; padding: 2.6rem 2.4rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.sp-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; color: #F5C46B; font-weight: 600; }
.sp-hero2 h1 { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; margin: .55rem 0 .8rem; color: #fff; }
.sp-hero2 h1 em { font-style: normal; color: #F5B942; }
.sp-hero2 p { color: #E3E8F4; font-size: 1.04rem; max-width: 34rem; margin: 0 0 1.4rem; }
.sp-hero2-art { position: relative; min-height: 280px; }
.sp-hero2-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% 62%; }
.sp-hero2-art::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #142650 0%, rgba(20,38,80,.55) 18%, rgba(20,38,80,0) 45%); }
.sp-btn.is-lg { padding: .78rem 1.4rem; font-size: 1rem; }
.sp-hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 1.2rem 0 0; margin: 1.6rem 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.sp-hero-trust li { display: inline-flex; align-items: center; gap: .45rem; color: #E3E8F4; font-size: .88rem; }
.sp-hero-trust svg { width: 20px; height: 20px; color: #F5B942; }

.sp-cats2 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin: 1.4rem 0 .4rem; scroll-margin-top: 80px; }
.sp-cat2 { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .7rem; border-radius: 16px;
  text-decoration: none; background: #fff; border: 1px solid var(--sp-line); transition: box-shadow .2s, transform .2s, border-color .2s; }
.sp-cat2:hover { box-shadow: 0 12px 26px rgba(20,37,77,.10); transform: translateY(-2px); border-color: #F2C9A6; }
.sp-cat2-img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--sp-cream); }
.sp-cat2-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-cat2-tx { display: flex; flex-direction: column; min-width: 0; }
.sp-cat2-tx b { color: var(--sp-navy); font-size: .98rem; }
.sp-cat2-tx small { color: var(--sp-muted); font-size: .78rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-cat2-tx i { font-style: normal; color: var(--sp-org-d); font-size: .74rem; font-weight: 600; margin-top: .15rem; }
.sp-go { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--sp-org); color: var(--sp-org); font-size: .9rem;
  transition: background .2s, color .2s; }
.sp-cat2:hover .sp-go { background: var(--sp-org); color: #fff; }

.sp-sec { margin-top: 2.2rem; scroll-margin-top: 80px; }
.sp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.sp-home .sp-sec-head h2 { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500; font-size: 1.7rem; margin: 0 0 .2rem; }
.sp-sec-head .sp-sub { margin: 0; }
.sp-sec-head .sp-sub a { color: var(--sp-org-d); font-weight: 600; text-decoration: none; }
.sp-all { white-space: nowrap; color: var(--sp-navy); font-weight: 600; text-decoration: none; font-size: .92rem; padding: .35rem .2rem; }
.sp-all:hover { color: var(--sp-org-d); }
.sp-grid.is-gems { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.sp-ask { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 2.4rem; padding: 1.4rem 1.6rem; border-radius: 20px;
  background: linear-gradient(135deg, #FFF4EA, #FFFFFF 70%); border: 1px solid #F3D9C2; }
.sp-ask h2 { margin: 0 0 .25rem; font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500; }
.sp-ask p { margin: 0; color: var(--sp-muted); max-width: 46rem; }
.sp-promise { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; padding: 1.1rem 1.2rem; margin: 1.4rem 0 .5rem;
  background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; }
.sp-promise li { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .6rem; align-items: center; }
.sp-promise svg { grid-row: span 2; width: 30px; height: 30px; color: var(--sp-org); }
.sp-promise b { color: var(--sp-navy); font-size: .92rem; }
.sp-promise span { color: var(--sp-muted); font-size: .8rem; }

/* item page */
.sp-item { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.sp-item-img { border-radius: 22px; overflow: hidden; border: 1px solid var(--sp-line); background: var(--sp-cream); }
.sp-item-img img { width: 100%; display: block; }
.sp-item h2 { margin-top: 0; font-size: 1.6rem; }
.sp-points { list-style: none; padding: 0; margin: 1rem 0; }
.sp-points li { position: relative; padding: .35rem 0 .35rem 1.7rem; color: var(--sp-ink); }
.sp-points li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--sp-peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23E8650A' stroke-width='2'/%3E%3C/svg%3E") center/80% no-repeat; }
.sp-buybox { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 1.1rem; margin-top: 1rem; }
.sp-qty { display: flex; align-items: center; gap: .6rem; margin: .5rem 0 .9rem; }
.sp-qty input { width: 5.5rem; padding: .5rem .6rem; border-radius: 10px; border: 1px solid #CBD2DC; font: inherit; color: var(--sp-ink); }
.sp-note { font-size: .86rem; color: var(--sp-muted); margin: .6rem 0 0; }
.sp-included { background: #E9F8F0; border: 1px solid #A7E3C4; color: #0B5F3D; border-radius: 12px; padding: .6rem .8rem; font-size: .92rem; margin: .4rem 0 .8rem; }
.sp-trust { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; color: var(--sp-muted); font-size: .86rem; }
.sp-trust span::before { content: "✓ "; color: #0E7A4F; font-weight: 700; }

/* gem calculator */
.sp-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; background: linear-gradient(135deg, #FFF8EE, #FFFFFF);
  border: 1px solid var(--sp-line); border-radius: 22px; padding: 1.4rem; }
.sp-calc label { font-weight: 600; color: var(--sp-navy); display: block; margin-bottom: .3rem; }
.sp-range { width: 100%; accent-color: var(--sp-org); }
.sp-kg { display: flex; align-items: baseline; gap: .35rem; margin: .2rem 0 .8rem; }
.sp-kg input { box-sizing: border-box; width: 6rem; font-size: 1.6rem; font-weight: 700; padding: .25rem .5rem; border: 1px solid #CBD2DC; border-radius: 12px; color: var(--sp-ink); }
.sp-gems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.sp-gem { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .5rem .3rem; border: 2px solid transparent; border-radius: 14px;
  background: #fff; cursor: pointer; font: inherit; color: var(--sp-ink); font-size: .8rem; text-align: center; }
.sp-gem img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sp-gem.is-on { border-color: var(--sp-org); background: var(--sp-peach); }
.sp-result { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; }
.sp-dial { width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--sp-org) var(--pct, 30%), #F1E6DA 0); box-shadow: inset 0 0 0 1px #F1E6DA; }
.sp-dial::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(20,37,77,.08); }
.sp-dial div { position: relative; text-align: center; }
.sp-dial b { display: block; font-size: 2.6rem; color: var(--sp-navy); line-height: 1; }
.sp-dial span { color: var(--sp-muted); font-size: .92rem; }
.sp-formula { font-size: .88rem; color: var(--sp-muted); background: #fff; border: 1px dashed #E3C9A8; border-radius: 10px; padding: .45rem .7rem; }

/* cart and checkout */
.sp-cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 1.4rem; align-items: start; }
.sp-lines { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; overflow: hidden; }
.sp-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--sp-line); }
.sp-line:last-child { border-bottom: 0; }
.sp-line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.sp-line b { color: var(--sp-navy); }
.sp-line small { color: var(--sp-muted); display: block; }
.sp-line .sp-x { background: none; border: 0; color: #9CA3AF; cursor: pointer; font-size: .85rem; }
.sp-sum { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 1.1rem; position: sticky; top: 1rem; }
.sp-sum-row { display: flex; justify-content: space-between; padding: .3rem 0; }
.sp-sum-row.is-total { border-top: 1px solid var(--sp-line); margin-top: .4rem; padding-top: .7rem; font-size: 1.15rem; font-weight: 700; }
.sp-form { display: grid; gap: .6rem; margin-top: 1rem; }
.sp-form h3 { margin: .6rem 0 0; color: var(--sp-navy); font-size: 1rem; }
.sp-form label { font-size: .85rem; color: var(--sp-muted); }
.sp-form input, .sp-form select, .sp-form textarea { box-sizing: border-box; width: 100%; padding: .55rem .7rem; border: 1px solid #CBD2DC; border-radius: 10px; font: inherit; color: var(--sp-ink); background: #fff; }
.sp-form .sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.sp-msg { padding: .7rem .9rem; border-radius: 12px; margin: .6rem 0; }
.sp-msg.is-ok { background: #E9F8F0; color: #0B5F3D; border: 1px solid #A7E3C4; }
.sp-msg.is-warn { background: #FFF4E5; color: #8A4500; border: 1px solid #F6C987; }
.sp-empty { text-align: center; padding: 2.5rem 1rem; background: #fff; border: 1px dashed #E3C9A8; border-radius: 18px; color: var(--sp-muted); }

/* floating cart button */
.sp-cartfab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1rem;
  border-radius: 999px; background: var(--sp-navy, #14254D); color: #fff !important; text-decoration: none; font-weight: 600; box-shadow: 0 10px 24px rgba(20,37,77,.3); }
.sp-cartfab b { background: #E8650A; border-radius: 999px; padding: 0 .45rem; min-width: 1.3rem; text-align: center; }
.sp-cartfab[hidden] { display: none; }

/* orders */
.sp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--sp-line); border-radius: 14px; overflow: hidden; }
.sp-table th, .sp-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--sp-line); color: var(--sp-ink); }
.sp-table th { background: var(--sp-cream); color: var(--sp-navy); font-size: .88rem; }
.sp-status { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #EEF2F7; color: #334155; }
.sp-status.paid, .sp-status.delivered { background: #E9F8F0; color: #0B5F3D; }
.sp-status.created { background: #FFF4E5; color: #8A4500; }
.sp-status.cancelled { background: #FDECEC; color: #9B1C1C; }
.sp-status.shipped, .sp-status.processing { background: #EAF1FF; color: #1D3F8C; }

/* courses */
.sp-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.sp-course { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem; background: #fff; border: 1px solid var(--sp-line); border-radius: 18px;
  text-decoration: none; position: relative; transition: box-shadow .15s, transform .15s; }
.sp-course:hover { box-shadow: 0 12px 28px rgba(20,37,77,.12); transform: translateY(-2px); }
.sp-course .sp-cicon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 1.05rem;
  background: linear-gradient(135deg, #14254D, #3B5BA9); }
.sp-course.is-open .sp-cicon { background: linear-gradient(135deg, #E8650A, #F5B942); }
.sp-course h3 { margin: 0; color: var(--sp-navy); font-size: 1.05rem; }
.sp-course p { margin: 0; color: var(--sp-muted); font-size: .9rem; flex: 1; }
.sp-course .sp-go { color: var(--sp-org); font-weight: 600; font-size: .92rem; }
.sp-course.is-soon { opacity: .85; }
.sp-course.is-soon .sp-go { color: var(--sp-muted); }

@media (max-width: 1100px) {
  .sp-cats2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sp-item, .sp-calc, .sp-cart { grid-template-columns: 1fr; }
  .sp-hero2 { grid-template-columns: 1fr; }
  .sp-hero2-text { padding: 1.8rem 1.3rem 1.4rem; order: 2; }
  .sp-hero2-art { min-height: 220px; order: 1; }
  .sp-hero2-art::before { background: linear-gradient(0deg, #142650 0%, rgba(20,38,80,0) 45%); }
  .sp-cats2 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
  .sp-cat2 { flex: 0 0 240px; scroll-snap-align: start; }
  .sp-sec-head { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .sp-promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-ask { flex-direction: column; align-items: flex-start; }
  .sp-grid, .sp-grid.is-gems { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .sp-grid.is-reports { grid-template-columns: 1fr; }
  .sp-sum { position: static; }
  .sp-hero h2 { font-size: 1.5rem; }
  .sp-gems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* the shop home has its own heading in the hero */
.site-article:has(.sp-home) > h1 { display: none; }


/* Final refinement: spacious catalogue layout; the existing site header is intentionally untouched. */
.sp-home { max-width: 100%; }
.sp-home .sp-hero2 { min-height: 360px; border-radius: 18px; }
.sp-home .sp-cats2 { gap: .65rem; margin-top: 1rem; }
.sp-home .sp-cat2 { min-width: 0; padding: .65rem; border-radius: 13px; }
.sp-home .sp-sec { margin-top: 1.35rem; }
.sp-home .sp-sec-head { margin-bottom: .75rem; }
.sp-home .sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.sp-home .sp-grid.is-reports { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sp-home .sp-grid.is-gems { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-home .sp-card { border-radius: 14px; }
.sp-home .sp-card-img { aspect-ratio: 1.15 / 1; }
.sp-home .sp-grid.is-reports .sp-card-img { aspect-ratio: 1.55 / 1; }
.sp-home .sp-promise { margin-top: 1.35rem; }
@media (max-width: 1100px) {
  .sp-home .sp-grid, .sp-home .sp-grid.is-gems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-home .sp-grid.is-reports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sp-home .sp-grid, .sp-home .sp-grid.is-gems, .sp-home .sp-grid.is-reports { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .sp-home .sp-hero2 { min-height: 0; }
  .sp-home .sp-sec-head { flex-direction: row; align-items: flex-end; }
}
/* Check (22 Oct): on a phone the report cards read better one under the other. */
@media (max-width: 520px) {
  .sp-home .sp-grid.is-reports { grid-template-columns: 1fr; }
  .sp-home .sp-sec-head { flex-direction: column; align-items: flex-start; }
  /* two small cards side by side: square pictures, a one-line button, tighter text */
  .sp-home .sp-grid:not(.is-reports) .sp-card-img { aspect-ratio: 1 / 1; }
  .sp-home .sp-grid:not(.is-reports) .sp-card-body { padding: .65rem .7rem .8rem; }
  .sp-home .sp-grid:not(.is-reports) .sp-card-body h3 { font-size: .98rem; }
  .sp-home .sp-grid:not(.is-reports) .sp-card-body p { font-size: .82rem; }
  .sp-home .sp-grid:not(.is-reports) .sp-price b { font-size: 1.05rem; }
  .sp-home .sp-grid:not(.is-reports) .sp-btn { padding: .55rem .5rem; font-size: .86rem; white-space: nowrap; gap: .3rem; }
}
/* six sections (with Books): three tiles a row, six on very wide screens */
.sp-home .sp-cats2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1500px) { .sp-home .sp-cats2 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---- Reports: how to read the chart (recommended chosen; one method optional), language — owner, 1 Nov 2026 ---- */
.sp-method { border: 1px solid #EADFD6; border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; background: #FFFBF7; }
.sp-m-h { margin: 0 0 8px; font-weight: 700; color: #1F2A44; }
.sp-m-opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.sp-m-opt input { margin-top: 4px; accent-color: #8B1538; }
.sp-m-opt span b { display: block; font-size: 14.5px; color: #1F2A44; }
.sp-m-opt span small { display: block; font-size: 12.5px; color: #4F5870; margin-top: 2px; }
.sp-m-opt.is-rec { background: #F7E9EE; border: 1px solid #E2C9D2; }
.sp-m-more { margin-top: 8px; }
.sp-m-more > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: #8B1538; padding: 4px 2px; }
.sp-m-more > summary small { font-weight: 400; color: #5D5262; }
.sp-lang { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: #1F2A44; margin: 0 0 12px; }
.sp-lang select { font: inherit; font-weight: 500; padding: 9px 10px; border: 1px solid #D9C8CF; border-radius: 10px; background: #fff; }

/* ---- The paid report page ---- */
.rp-tools { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.rp-doc { background: #fff; border: 1px solid #EADFD6; border-radius: 18px; overflow: hidden; max-width: 900px; margin: 0 auto; }
.rp-cover { background: linear-gradient(135deg, #7A0535 0%, #91063F 55%, #A8324F 100%); color: #fff; padding: 28px 30px; }
.rp-brand { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #FFE7A8; }
.rp-cover h1 { margin: 8px 0 4px; font-family: Georgia, serif; font-size: 2rem; color: #FFE7A8; }
.rp-for { margin: 0 0 14px; color: #F7DCE4; }
.rp-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 18px; margin: 0; }
.rp-meta dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #F2C9D6; }
.rp-meta dd { margin: 2px 0 0; font-weight: 600; }
.rp-body-host { padding: 22px 30px 28px; }
.rp-wait { text-align: center; padding: 50px 10px; color: #4F5870; line-height: 1.7; }
.rp-spin { display: inline-block; width: 26px; height: 26px; border: 3px solid #F1D7E0; border-top-color: #8B1538; border-radius: 50%; animation: rpspin 1s linear infinite; margin-bottom: 10px; }
@keyframes rpspin { to { transform: rotate(360deg); } }
.rp-sec { padding: 18px 0; border-bottom: 1px solid #F1E6DE; break-inside: avoid-page; }
.rp-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.2rem; color: #1F2A44; }
.rp-sec h2 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #8B1538; color: #fff; font-size: 13px; flex: none; }
.rp-head { margin: 0 0 8px; font-weight: 700; color: #8B1538; }
.rp-body { color: #2D3448; line-height: 1.65; }
.rp-body table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 14px; }
.rp-body th, .rp-body td { border: 1px solid #EADFD6; padding: 6px 8px; text-align: left; }
.rp-note { background: #FFF7E6; border: 1px solid #F1D9A8; border-radius: 10px; padding: 10px 12px; color: #6B4A00; }
.rp-foot { margin: 18px 0 0; font-size: 12.5px; color: #5D5262; }
@media print {
    .site-header, .side-nav, .site-footer, .cookie-note, .rp-tools, .sp-cartfab, ins.adsbygoogle, .help-fab, .bottom-nav { display: none !important; }
    .rp-doc { border: 0; border-radius: 0; max-width: none; }
    .rp-cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .rp-sec h2 span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
