/* Spin: content pages (topics: Shipping & Returns, Terms, Privacy, About Us, Support, ...), added 2026-12-02.
   Loaded by Views/Topic/TopicDetails.cshtml and Views/Shared/Components/TopicBlock/Default.cshtml (Spin edits).
   Every class starts with "sp-". The page HTML lives in the database (Topic.Body + its translations); the source files
   are docs/content-pages/ and the guide to the classes is docs/content-pages/README.md. Colours: theme variables plus
   Spin navy #263d89 (header) and Spin red #cc0000. Icons: Remix Icon (ri-*), which the theme already loads. */

.sp-page {
  --sp-navy: #263d89;
  --sp-navy-dark: #1a2b66;
  --sp-red: #cc0000;
  --sp-ink: var(--text-primary, #1c1c1c);
  --sp-muted: var(--text-secondary, #6b6b6b);
  --sp-soft: var(--bg-primary, #f1f4fa);
  --sp-line: var(--border, #dcdcdc);
  --sp-radius: var(--card-radius-md, 16px);
  max-width: 1080px;
  margin: 0 auto;
  color: var(--sp-ink);
  font-size: 16px;
  line-height: 1.7;
}

/* the theme justifies topic paragraphs; ragged-right reads better (see also the end of this file) */
.topic-page .sp-page p,
.sp-page p { text-align: left; margin: 0 0 1em; }
.sp-page p:last-child { margin-bottom: 0; }
.sp-page strong, .sp-page b { font-weight: 700; }
.sp-page img { max-width: 100%; height: auto; }

.sp-page a:not(.sp-btn):not(.sp-card) {
  /* the theme makes every link inline-block (a full stop after a link can wrap alone) and removes underlines with
     !important; text links here stay inline, in the theme's colour */
  display: inline;
  color: var(--primary, #023e8a);
}
.sp-page a:not(.sp-btn):not(.sp-card):hover { color: var(--primary-dark, #03045e); }

.sp-page h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--sp-ink);
  scroll-margin-top: 140px;
}
.sp-page h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--sp-ink); }
.sp-page h2 > i,
.sp-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sp-soft);
  color: var(--sp-navy);
  font-size: 22px;
  line-height: 1;
}
@media (min-width: 992px) { .sp-page h2 { font-size: 26px; } }

.sp-page ul:not([class]), .sp-page ol:not([class]) { margin: 0 0 1em; padding-left: 1.3em; }
.sp-page ul:not([class]) li, .sp-page ol:not([class]) li { margin-bottom: 6px; }
.sp-page ul:not([class]) li::marker { color: var(--sp-navy); }

/* intro under the page title */
.sp-page p.sp-lead,
.topic-page .sp-page p.sp-lead {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 18px;
  line-height: 1.65;
  color: var(--sp-muted);
}
@media (min-width: 992px) { .sp-page p.sp-lead { font-size: 19px; margin-bottom: 48px; } }

/* sections */
.sp-section { margin: 0 0 48px; }
.sp-section:last-child { margin-bottom: 0; }
@media (min-width: 992px) { .sp-section { margin-bottom: 64px; } }
.sp-section > p, .sp-section > ul { max-width: 860px; }

/* hero band with a photo behind navy */
.sp-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 40px;
  padding: 36px 24px;
  border-radius: var(--card-radius-lg, 20px);
  background: var(--sp-navy);
  color: #fff;
  isolation: isolate;
}
.sp-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(26, 43, 102, .96) 0%, rgba(38, 61, 137, .88) 50%, rgba(38, 61, 137, .45) 100%);
}
.sp-hero .sp-kicker { color: #fff; opacity: .85; }
.sp-hero .sp-kicker::before { background: var(--sp-red); }
.sp-page .sp-hero h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.sp-page .sp-hero p { max-width: 620px; color: rgba(255, 255, 255, .92); font-size: 17px; }
.sp-hero .sp-actions { margin-top: 22px; }
@media (min-width: 768px) { .sp-hero { padding: 52px 48px; } .sp-page .sp-hero h2 { font-size: 32px; } }

.sp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sp-navy);
}
.sp-kicker::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--sp-red); }

/* key facts: icon tiles in a row */
.sp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) { .sp-facts { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; } }
.sp-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 18px;
  border-radius: var(--sp-radius);
  background: var(--sp-soft);
}
@media (min-width: 768px) { .sp-fact { padding: 22px; } }
.sp-fact > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #fff;
  color: var(--sp-navy);
  font-size: 22px;
}
.sp-fact strong { font-size: 17px; line-height: 1.3; }
.sp-fact span { font-size: 14px; line-height: 1.55; color: var(--sp-muted); }

/* cards */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0 0 24px;
}
.sp-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
  color: var(--sp-ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sp-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--sp-soft);
  color: var(--sp-navy);
  font-size: 26px;
}
.sp-card p { color: var(--sp-muted); font-size: 15px; line-height: 1.6; }
.sp-card .sp-more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--primary, #023e8a);
}
.sp-card .sp-more::after { content: " \2192"; }
a.sp-card:hover {
  border-color: var(--sp-navy);
  box-shadow: 0 10px 30px rgba(38, 61, 137, .12);
  transform: translateY(-2px);
  color: var(--sp-ink);
}
.sp-card--plain { border: 0; background: var(--sp-soft); }
.sp-card--plain > i { background: #fff; }

/* image + text side by side */
.sp-split {
  display: grid;
  gap: 24px;
  align-items: center;
  margin: 0 0 48px;
}
.sp-split > img,
.sp-split > figure img {
  display: block;
  width: 100%;
  border-radius: var(--sp-radius);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.sp-split > figure { margin: 0; }
.sp-split > img.sp-contain { aspect-ratio: auto; object-fit: contain; }
@media (min-width: 768px) {
  .sp-split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .sp-split--reverse > :first-child { order: 2; }
}
@media (min-width: 992px) { .sp-split { margin-bottom: 64px; } }

/* photo row */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 0 48px;
}
.sp-gallery figure { margin: 0; }
.sp-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sp-radius);
}
.sp-gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--sp-muted); }

/* logo strip: one picture of logos on white, or a grid of linked logos (ul.sp-logos__grid, About Us since 2026-12-03:
   the published manufacturers' own pictures) */
.sp-logos {
  margin: 0 0 48px;
  padding: 24px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
  text-align: center;
}
.sp-logos img { display: block; width: 100%; max-width: 820px; margin: 0 auto; }
.sp-logos p { margin: 12px 0 0; font-size: 14px; color: var(--sp-muted); text-align: center !important; }
.sp-page .sp-logos ul.sp-logos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) { .sp-page .sp-logos ul.sp-logos__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; } }
.sp-page .sp-logos ul.sp-logos__grid > li { margin: 0; padding: 0; list-style: none; }
.sp-page .sp-logos ul.sp-logos__grid > li::before { content: none; }
.topic-page .page-body .sp-page .sp-logos__grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  padding: 6px;
  border-radius: 8px;
  transition: box-shadow .2s, transform .2s;
}
.topic-page .page-body .sp-page .sp-logos__grid a:hover { box-shadow: 0 2px 10px rgba(38, 61, 137, .18); transform: translateY(-1px); }
@media (min-width: 992px) { .topic-page .page-body .sp-page .sp-logos__grid a { height: 88px; } }
.sp-page .sp-logos .sp-logos__grid img { width: auto; max-width: 100%; height: auto; max-height: 100%; margin: 0; object-fit: contain; }

/* information boxes */
.sp-callout {
  display: flex;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--sp-navy);
  border-radius: 0 12px 12px 0;
  background: var(--sp-soft);
  font-size: 15px;
  line-height: 1.6;
}
.sp-callout > i { flex: none; font-size: 22px; line-height: 1.2; color: var(--sp-navy); }
.sp-callout > div > :last-child { margin-bottom: 0; }
.sp-callout--warn { border-left-color: #e07b00; background: #fff6eb; }
.sp-callout--warn > i { color: #c46a00; }
.sp-callout--stop { border-left-color: var(--sp-red); background: #fdf0f0; }
.sp-callout--stop > i { color: var(--sp-red); }

/* numbered steps */
ol.sp-steps {
  counter-reset: sp-step;
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
ol.sp-steps > li {
  counter-increment: sp-step;
  position: relative;
  min-height: 40px;
  margin: 0;
  padding: 8px 0 0 58px;
}
ol.sp-steps > li::before {
  content: counter(sp-step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sp-navy);
  color: #fff;
  font-weight: 700;
}
ol.sp-steps > li strong:first-child { display: block; margin-bottom: 2px; }

/* check list */
ul.sp-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
ul.sp-checks > li { position: relative; margin: 0; padding-left: 30px; }
ul.sp-checks > li::before {
  content: "\eb7b"; /* ri-check-line */
  position: absolute;
  top: 0;
  left: 0;
  font-family: "remixicon";
  font-size: 20px;
  line-height: 1.35;
  color: var(--sp-navy);
}
ul.sp-checks--x > li::before { content: "\eb99"; color: var(--sp-red); } /* ri-close-line */

/* contact details */
ul.sp-contact { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
ul.sp-contact > li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
ul.sp-contact > li > i {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sp-soft);
  color: var(--sp-navy);
  font-size: 19px;
}
ul.sp-contact > li > span { display: flex; flex-direction: column; line-height: 1.5; padding-top: 1px; }
ul.sp-contact small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-muted); }

/* address card */
.sp-address {
  display: inline-block;
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px dashed var(--sp-navy);
  border-radius: 12px;
  font-style: normal;
  line-height: 1.6;
}

/* prices */
.sp-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
@media (min-width: 768px) { .sp-prices { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; } }
.sp-price {
  padding: 24px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
  text-align: center;
}
.sp-price > span { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-muted); }
.sp-price > strong { display: block; margin: 6px 0 2px; font-size: clamp(28px, 7vw, 38px); line-height: 1.1; color: var(--sp-navy); }
.sp-price > small { display: block; font-size: 14px; color: var(--sp-muted); }
.sp-price--featured { border-color: var(--sp-navy); box-shadow: inset 0 4px 0 var(--sp-red); }

/* call to action */
.sp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 48px 0 0;
  padding: 28px;
  border-radius: var(--card-radius-lg, 20px);
  background: var(--sp-navy);
  color: #fff;
}
.sp-page .sp-cta h2 { margin-bottom: 4px; color: #fff; font-size: 22px; }
.sp-page .sp-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 2px solid #fff;
  border-radius: var(--radius-base, 8px);
  background: #fff;
  color: var(--sp-navy);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.sp-btn:hover { background: transparent; color: #fff; }
.sp-btn--ghost { background: transparent; color: #fff; }
.sp-btn--ghost:hover { background: #fff; color: var(--sp-navy); }
.sp-btn--solid { border-color: var(--sp-navy); background: var(--sp-navy); color: #fff; }
.sp-btn--solid:hover { background: transparent; color: var(--sp-navy); }
@media (min-width: 768px) { .sp-cta { padding: 32px 40px; } }

/* long legal pages: contents column + text */
.sp-legal { display: grid; gap: 32px; align-items: start; }
@media (min-width: 992px) { .sp-legal { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }
.sp-toc {
  padding: 22px;
  border-radius: var(--sp-radius);
  background: var(--sp-soft);
  font-size: 15px;
}
@media (min-width: 992px) { .sp-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; } }
.sp-page .sp-toc p { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-muted); }
.sp-toc ol { margin: 0; padding: 0; list-style: none; }
.sp-toc li { margin: 0; }
.sp-page .sp-toc a:not(.sp-btn) { display: block; padding: 6px 0; color: var(--sp-ink); text-decoration: none; line-height: 1.35; }
.sp-page .sp-toc a:not(.sp-btn):hover { color: var(--primary, #023e8a); text-decoration: underline; }
.sp-legal__body > section { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--sp-line); }
.sp-legal__body > section:last-child { border-bottom: 0; margin-bottom: 0; }
.sp-page .sp-legal__body h2 { font-size: 21px; }
.sp-page .sp-legal__body h2 > b { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; background: var(--sp-navy); color: #fff; font-size: 16px; }
.sp-page p.sp-clause { position: relative; padding-left: 52px; }
.sp-page p.sp-clause > b:first-child { position: absolute; left: 0; top: 0; color: var(--sp-navy); font-weight: 700; }

/* tables */
.sp-table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); }
table.sp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.sp-table th, table.sp-table td { padding: 12px 18px; border-bottom: 1px solid var(--sp-line); text-align: left; vertical-align: middle; }
table.sp-table thead th { background: var(--sp-soft); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-muted); }
table.sp-table tbody tr:last-child td { border-bottom: 0; }
table.sp-table tbody tr:hover td { background: #fafbfd; }
@media (min-width: 992px) {
  .sp-table-wrap--2col { border: 0; overflow: visible; }
  .sp-table-wrap--2col table.sp-table { display: block; columns: 2; column-gap: 32px; }
  .sp-table-wrap--2col table.sp-table thead { display: none; }
  .sp-table-wrap--2col table.sp-table tbody { display: block; }
  .sp-table-wrap--2col table.sp-table tr { display: flex; justify-content: space-between; align-items: center; break-inside: avoid; border-bottom: 1px solid var(--sp-line); }
  .sp-table-wrap--2col table.sp-table td { border: 0; padding: 10px 6px; }
}
.sp-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.sp-badge--yes { background: #e3f3ea; color: #1d6b42; }
.sp-badge--age { background: #fff1dc; color: #8a4b00; }
.sp-badge--no { background: #fbe4e4; color: #a30d0d; }
.sp-badge--info { background: #e6ebf7; color: var(--sp-navy); }
.sp-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 18px; font-size: 14px; color: var(--sp-muted); }
.sp-legend > span { display: inline-flex; align-items: center; gap: 8px; }

/* small print */
.sp-page .sp-fineprint { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--sp-line); font-size: 13px; line-height: 1.6; color: var(--text-light, #9a9a9a); }

/* columns helper */
.sp-cols { display: grid; gap: 24px 48px; margin: 0 0 24px; }
@media (min-width: 768px) { .sp-cols { grid-template-columns: 1fr 1fr; } }

/* page title on content pages: a bit more air below it */
.html-topic-page .topic-page > .page-title { margin-bottom: 12px; }

/* blocks inside other pages (login, register, contact, 404): no wide layout */
.topic-block .sp-page { max-width: none; font-size: inherit; }
.topic-block .sp-page p.sp-lead { margin-bottom: 16px; font-size: inherit; }
.topic-block ul.sp-contact { justify-items: start; max-width: 380px; margin: 16px auto 0; text-align: left; }
.topic-block ul.sp-checks { grid-template-columns: 1fr; text-align: left; }
/* 404: the theme centres the list items; keep the list a centred block with ragged-right items */
.not-found-page .sp-page ul.sp-checks { width: fit-content; max-width: 100%; margin: 0 auto 20px; }
.not-found-page .page-body .topic-block-body .sp-page ul.sp-checks > li { text-align: left; }
/* contact page: room between the contact details and the form */
.contact-page .topic-block .sp-page { margin-bottom: 28px; }

/* app.css loads after this file and centres every topic paragraph at 15px (.topic-page .page-body p). Restate ours
   one level stronger. */
.topic-page .page-body .sp-page p { text-align: left; font-size: inherit; }
.topic-page .page-body .sp-page p.sp-lead { text-align: center; font-size: 18px; }
.topic-page .page-body .sp-page .sp-card p { font-size: 15px; }
.topic-page .page-body .sp-page .sp-hero p { font-size: 17px; }
.topic-page .page-body .sp-page .sp-logos p { text-align: center; font-size: 14px; }
.topic-page .page-body .sp-page .sp-toc p { font-size: 13px; }
@media (min-width: 992px) { .topic-page .page-body .sp-page p.sp-lead { font-size: 19px; } }
