/* ===================================================================
   XSiter 2 — SuperBuilder Pro block pack
   Everything is expressed through the active theme's custom properties,
   so a new theme restyles these sections without touching this file.
   =================================================================== */

.sb-pro {
  --sb-primary: var(--in-primary, #5D579E);
  --sb-accent: var(--in-accent, #01696f);
  --sb-heading: var(--theme-heading, #1f2430);
  --sb-radius: var(--theme-radius, 14px);
  --sb-surface: #fff;
  --sb-border: rgba(0, 0, 0, .1);
  --sb-muted: rgba(0, 0, 0, .62);
  --sb-shadow: 0 2px 10px rgba(15, 23, 42, .06);
  --sb-shadow-lg: 0 14px 40px rgba(15, 23, 42, .13);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sb-pro {
    --sb-surface: rgba(255, 255, 255, .05);
    --sb-border: rgba(255, 255, 255, .14);
    --sb-muted: rgba(255, 255, 255, .68);
    --sb-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    --sb-shadow-lg: 0 14px 40px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] .sb-pro {
  --sb-surface: rgba(255, 255, 255, .05);
  --sb-border: rgba(255, 255, 255, .14);
  --sb-muted: rgba(255, 255, 255, .68);
  --sb-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  --sb-shadow-lg: 0 14px 40px rgba(0, 0, 0, .45);
}

/* ---------- Shared section heading ---------- */
.sb-pro-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.sb-pro-title {
  font-family: var(--theme-font-heading, inherit);
  font-weight: 700;
  color: var(--sb-heading);
  margin: 0 0 .6rem;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.2;
}
.sb-pro-intro { color: var(--sb-muted); font-size: 1.03rem; line-height: 1.6; margin: 0; }

/* ---------- Shared button ---------- */
.sb-plan-btn {
  display: inline-block;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--sb-primary);
  color: var(--sb-primary);
  background: transparent;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, transform .08s;
}
.sb-plan-btn:hover { background: var(--sb-primary); color: #fff; }
.sb-plan-btn:active { transform: translateY(1px); }
.sb-plan-btn--primary { background: var(--sb-primary); color: #fff; }
.sb-plan-btn--primary:hover { filter: brightness(1.08); color: #fff; }

/* ---------- Pricing ---------- */
.sb-pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}
.sb-plan {
  position: relative;
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--sb-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sb-plan--featured {
  border-color: var(--sb-primary);
  border-width: 2px;
  box-shadow: var(--sb-shadow-lg);
}
.sb-plan-flag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--sb-primary); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .28rem .8rem; border-radius: 999px; white-space: nowrap;
}
.sb-plan-name { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; color: var(--sb-heading); }
.sb-plan-price { font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 0 0 .5rem; color: var(--sb-heading); }
.sb-plan-cur { font-size: 1.2rem; vertical-align: super; margin-right: .1rem; }
.sb-plan-per { font-size: .85rem; font-weight: 500; color: var(--sb-muted); }
.sb-plan-blurb { color: var(--sb-muted); font-size: .92rem; margin: 0 0 1.2rem; }
.sb-plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.sb-plan-features li { display: flex; gap: .55rem; align-items: flex-start; padding: .4rem 0; font-size: .93rem; }
.sb-plan-features i { color: var(--sb-accent); margin-top: .18rem; flex-shrink: 0; }
.sb-plan .sb-plan-btn { width: 100%; text-align: center; margin-top: auto; }

/* ---------- Action cards ---------- */
.sb-ctacards-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.sb-ctacard {
  display: block; text-decoration: none; color: inherit;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); padding: 1.8rem 1.5rem;
  box-shadow: var(--sb-shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.sb-ctacard:hover { transform: translateY(-3px); box-shadow: var(--sb-shadow-lg); border-color: var(--sb-primary); }
.sb-ctacard-icon { font-size: 2rem; color: var(--sb-primary); display: block; margin-bottom: .8rem; }
.sb-ctacard-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; color: var(--sb-heading); }
.sb-ctacard-body { color: var(--sb-muted); font-size: .93rem; margin: 0 0 .9rem; line-height: 1.55; }
.sb-ctacard-link { color: var(--sb-primary); font-weight: 600; font-size: .9rem; }

/* ---------- Countdown ---------- */
.sb-countdown-clock { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.sb-cd-unit {
  min-width: 5.5rem; padding: 1.1rem .8rem; text-align: center;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); box-shadow: var(--sb-shadow);
}
.sb-cd-num {
  display: block; font-size: 2.3rem; font-weight: 800; line-height: 1;
  color: var(--sb-primary); font-variant-numeric: tabular-nums;
}
.sb-cd-lbl { display: block; margin-top: .4rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sb-muted); }
.sb-cd-expired { text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--sb-primary); margin: 0; }

/* ---------- Feature grid ---------- */
.sb-features-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 62rem) {
  .sb-features-grid { grid-template-columns: repeat(var(--sb-cols, 3), 1fr); }
}
.sb-feature-icon { font-size: 1.9rem; color: var(--sb-primary); display: block; margin-bottom: .7rem; }
.sb-feature-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .45rem; color: var(--sb-heading); }
.sb-feature-body { color: var(--sb-muted); font-size: .93rem; line-height: 1.6; margin: 0; }

/* ---------- Process steps ---------- */
.sb-steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: sbstep; }
.sb-steps-list--stack { grid-template-columns: 1fr; max-width: 44rem; margin-inline: auto; }
.sb-step { display: flex; gap: 1rem; align-items: flex-start; }
.sb-step-num {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--sb-primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
}
.sb-step-title { font-size: 1.02rem; font-weight: 700; margin: .25rem 0 .4rem; color: var(--sb-heading); }
.sb-step-body { color: var(--sb-muted); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ---------- Timeline ---------- */
.sb-timeline-list { list-style: none; margin: 0 auto; padding: 0 0 0 1.75rem; max-width: 46rem; position: relative; }
.sb-timeline-list::before {
  content: ''; position: absolute; left: .45rem; top: .4rem; bottom: .4rem;
  width: 2px; background: var(--sb-border);
}
.sb-tl-item { position: relative; padding-bottom: 2rem; }
.sb-tl-item:last-child { padding-bottom: 0; }
.sb-tl-dot {
  position: absolute; left: -1.75rem; top: .35rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--sb-primary); border: 3px solid var(--sb-surface);
  box-shadow: 0 0 0 2px var(--sb-primary);
}
.sb-tl-date { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sb-accent); margin-bottom: .2rem; }
.sb-tl-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .35rem; color: var(--sb-heading); }
.sb-tl-text { color: var(--sb-muted); font-size: .93rem; line-height: 1.6; margin: 0; }

/* ---------- Image & text rows ---------- */
.sb-imgtext-row { display: grid; gap: 2rem; align-items: center; margin-bottom: 3.5rem; }
.sb-imgtext-row:last-child { margin-bottom: 0; }
@media (min-width: 48rem) {
  .sb-imgtext-row { grid-template-columns: 1fr 1fr; }
  .sb-imgtext-row--flip .sb-imgtext-media { order: 2; }
}
.sb-imgtext-media img { width: 100%; height: auto; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow-lg); display: block; }
.sb-imgtext-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 .7rem; color: var(--sb-heading); }
.sb-imgtext-body { color: var(--sb-muted); font-size: 1rem; line-height: 1.65; margin: 0 0 1.2rem; }

/* ---------- Tabs ---------- */
.sb-tabs-nav { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--sb-border); margin-bottom: 1.5rem; }
.sb-tab {
  appearance: none; background: none; border: 0; border-bottom: 3px solid transparent;
  padding: .7rem 1.1rem; font: inherit; font-weight: 600; font-size: .95rem;
  color: var(--sb-muted); cursor: pointer; transition: color .15s, border-color .15s;
}
.sb-tab:hover { color: var(--sb-heading); }
.sb-tab.active { color: var(--sb-primary); border-bottom-color: var(--sb-primary); }
.sb-tab:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: -2px; }
.sb-tabpanel[hidden] { display: none !important; }
.sb-tabpanel-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .6rem; color: var(--sb-heading); }
.sb-tabpanel-body { color: var(--sb-muted); line-height: 1.65; margin: 0; white-space: pre-line; }

/* ---------- Pull quote ---------- */
.sb-quote-fig { max-width: 46rem; margin: 0 auto; text-align: center; }
.sb-quote-mark { font-size: 2.6rem; color: var(--sb-primary); opacity: .5; display: block; margin-bottom: .6rem; }
.sb-quote-text {
  font-family: var(--theme-font-heading, inherit);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem);
  line-height: 1.45; font-weight: 500; margin: 0 0 1.2rem; color: var(--sb-heading);
}
.sb-quote-by strong { display: block; font-size: 1rem; color: var(--sb-heading); }
.sb-quote-by span { font-size: .88rem; color: var(--sb-muted); }
.sb-quote--dark { background: #111827; }
.sb-quote--dark .sb-quote-text, .sb-quote--dark .sb-quote-by strong { color: #f9fafb; }
.sb-quote--dark .sb-quote-by span { color: rgba(255,255,255,.68); }
.sb-quote--accent { background: var(--sb-primary); }
.sb-quote--accent .sb-quote-text, .sb-quote--accent .sb-quote-by strong { color: #fff; }
.sb-quote--accent .sb-quote-mark { color: rgba(255,255,255,.55); }
.sb-quote--accent .sb-quote-by span { color: rgba(255,255,255,.8); }

/* ---------- USP strip ---------- */
.sb-strip { background: var(--sb-primary); color: #fff; padding: 1.1rem 0; }
.sb-strip-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; justify-content: center;
}
.sb-strip-list li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.sb-strip-list i { font-size: 1.15rem; opacity: .9; }

/* ---------- Counters ---------- */
.sb-counters-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); text-align: center; }
.sb-counter-num, .sb-counter-suffix {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; line-height: 1;
  color: var(--sb-primary); font-variant-numeric: tabular-nums;
}
.sb-counter-label { display: block; margin-top: .5rem; font-size: .88rem; color: var(--sb-muted); }

/* ---------- Comparison table ---------- */
.sb-compare-scroll { overflow-x: auto; }
.sb-compare-table { width: 100%; border-collapse: collapse; min-width: 32rem; }
.sb-compare-table th, .sb-compare-table td {
  padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--sb-border); font-size: .93rem;
}
.sb-compare-table thead th { font-weight: 700; color: var(--sb-heading); border-bottom-width: 2px; }
.sb-compare-table tbody th { font-weight: 600; color: var(--sb-heading); }
.sb-compare-table td { text-align: center; color: var(--sb-muted); }
.sb-cmp-yes { color: #16a34a; font-size: 1.15rem; }
.sb-cmp-no { color: var(--sb-muted); opacity: .5; font-size: 1.15rem; }

/* ---------- Logo wall ---------- */
.sb-logos-lead { text-align: center; color: var(--sb-muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1.5rem; }
.sb-logos-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; justify-content: center;
}
.sb-logos-grid img { max-height: 2.6rem; max-width: 9rem; width: auto; height: auto; display: block; }
.sb-logos-grid--gray img { filter: grayscale(1); opacity: .62; transition: filter .2s, opacity .2s; }
.sb-logos-grid--gray li:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Rating badges ---------- */
.sb-proof-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.sb-proof-card {
  display: block; text-decoration: none; color: inherit; text-align: center;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); padding: 1.4rem 1rem; box-shadow: var(--sb-shadow);
  transition: transform .15s, box-shadow .15s;
}
a.sb-proof-card:hover { transform: translateY(-2px); box-shadow: var(--sb-shadow-lg); }
.sb-proof-platform { display: block; font-weight: 700; color: var(--sb-heading); margin-bottom: .4rem; }
.sb-proof-stars { display: block; color: #f59e0b; font-size: 1.05rem; letter-spacing: .06em; margin-bottom: .35rem; }
.sb-proof-rating { display: block; font-size: 1.35rem; font-weight: 800; color: var(--sb-heading); }
.sb-proof-of { font-size: .85rem; font-weight: 500; color: var(--sb-muted); }
.sb-proof-count { display: block; font-size: .82rem; color: var(--sb-muted); margin-top: .2rem; }

/* ---------- Team ---------- */
.sb-team-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.sb-person { text-align: center; }
.sb-person-photo {
  width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover;
  margin: 0 auto .9rem; display: block; box-shadow: var(--sb-shadow);
}
.sb-person-photo--initials {
  display: grid; place-items: center; background: var(--sb-primary); color: #fff;
  font-size: 2.4rem; font-weight: 700;
}
.sb-person-name { font-size: 1.02rem; font-weight: 700; margin: 0 0 .15rem; color: var(--sb-heading); }
.sb-person-role { font-size: .86rem; color: var(--sb-accent); font-weight: 600; margin: 0 0 .5rem; }
.sb-person-bio { font-size: .88rem; color: var(--sb-muted); line-height: 1.55; margin: 0 0 .5rem; }
.sb-person-mail { font-size: .84rem; color: var(--sb-primary); text-decoration: none; }
.sb-person-mail:hover { text-decoration: underline; }

/* ---------- Certifications ---------- */
.sb-certs-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.sb-cert {
  display: flex; gap: .9rem; align-items: center;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); padding: 1rem 1.2rem;
}
.sb-cert i { font-size: 1.7rem; color: var(--sb-accent); flex-shrink: 0; }
.sb-cert strong { display: block; color: var(--sb-heading); font-size: .95rem; }
.sb-cert span { display: block; font-size: .85rem; color: var(--sb-muted); }

/* ---------- Service / menu list ---------- */
.sb-menu-groups { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.sb-menu-heading {
  font-size: 1.1rem; font-weight: 700; color: var(--sb-heading);
  padding-bottom: .5rem; margin: 0 0 1rem; border-bottom: 2px solid var(--sb-primary);
}
.sb-menu-list { margin: 0; }
.sb-menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0 .8rem;
  padding: .6rem 0; border-bottom: 1px dotted var(--sb-border);
}
.sb-menu-item dt { font-weight: 600; color: var(--sb-heading); font-size: .97rem; }
.sb-menu-price { font-weight: 700; color: var(--sb-primary); white-space: nowrap; margin: 0; }
.sb-menu-desc { grid-column: 1 / -1; font-size: .86rem; color: var(--sb-muted); margin: .2rem 0 0; }
.sb-menu-note { text-align: center; font-size: .85rem; color: var(--sb-muted); margin: 1.8rem 0 0; font-style: italic; }

/* ---------- Opening hours ---------- */
.sb-hours-table { width: 100%; max-width: 30rem; margin: 0 auto; border-collapse: collapse; }
.sb-hours-table th, .sb-hours-table td { padding: .65rem .5rem; border-bottom: 1px solid var(--sb-border); font-size: .95rem; }
.sb-hours-table th { text-align: left; font-weight: 600; color: var(--sb-heading); }
.sb-hours-table td { text-align: right; color: var(--sb-muted); font-variant-numeric: tabular-nums; }
.sb-hours-today th, .sb-hours-today td { color: var(--sb-primary); font-weight: 700; }
.sb-hours-badge {
  display: inline-block; margin-left: .5rem; padding: .1rem .5rem;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .05em;
  background: var(--sb-primary); color: #fff; border-radius: 999px; vertical-align: middle;
}

/* ---------- Contact panel ---------- */
.sb-contact-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .sb-contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.sb-contact-row { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1rem; font-size: .97rem; }
.sb-contact-row i { color: var(--sb-primary); font-size: 1.2rem; margin-top: .1rem; flex-shrink: 0; }
.sb-contact-row a { color: inherit; text-decoration: none; }
.sb-contact-row a:hover { text-decoration: underline; }
.sb-contact-map { aspect-ratio: 4 / 3; border-radius: var(--sb-radius); overflow: hidden; box-shadow: var(--sb-shadow); }
.sb-contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Areas served ---------- */
.sb-areas-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 52rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
}
.sb-areas-list li {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; color: var(--sb-muted);
}
.sb-areas-list i { color: var(--sb-accent); font-size: .95rem; }

/* ---------- Before / after ---------- */
.sb-ba-wrap {
  position: relative; max-width: 46rem; margin: 0 auto;
  border-radius: var(--sb-radius); overflow: hidden; box-shadow: var(--sb-shadow-lg);
  touch-action: none; user-select: none;
}
.sb-ba-img { width: 100%; height: auto; display: block; }
.sb-ba-clip { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.sb-ba-clip .sb-ba-img { width: auto; height: 100%; max-width: none; }
.sb-ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.4); transform: translateX(-50%); pointer-events: none;
}
.sb-ba-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.sb-ba-tag {
  position: absolute; bottom: .8rem; padding: .25rem .7rem; border-radius: 999px;
  background: rgba(0,0,0,.62); color: #fff; font-size: .78rem; font-weight: 600; pointer-events: none;
}
.sb-ba-tag--l { left: .8rem; }
.sb-ba-tag--r { right: .8rem; }
.sb-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sb-ba-range:focus-visible { opacity: .01; outline: 3px solid var(--sb-primary); outline-offset: -3px; }
.sb-ba-caption { text-align: center; font-size: .88rem; color: var(--sb-muted); margin: 1rem 0 0; }

/* ---------- Video hero ---------- */
.sb-vhero { position: relative; min-height: 32rem; display: grid; place-items: center; overflow: hidden; }
.sb-vhero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background-size: cover; background-position: center; z-index: 0;
}
.sb-vhero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.45); }
.sb-vhero--light::after { background: rgba(0,0,0,.28); }
.sb-vhero--heavy::after { background: rgba(0,0,0,.64); }
.sb-vhero-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding-block: 5rem; }
.sb-vhero-title {
  font-family: var(--theme-font-heading, inherit); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.12; margin: 0 0 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.sb-vhero-sub { font-size: clamp(1rem, .95rem + .4vw, 1.25rem); color: rgba(255,255,255,.93); max-width: 40rem; margin: 0 auto 1.8rem; line-height: 1.55; }
.sb-vhero-btn { font-size: 1.02rem; padding: .85rem 2rem; }

/* ---------- Downloads ---------- */
.sb-downloads-list { list-style: none; margin: 0 auto; padding: 0; max-width: 44rem; }
.sb-downloads-list li { margin-bottom: .7rem; }
.sb-downloads-list a {
  display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); padding: 1rem 1.2rem;
  transition: border-color .15s, transform .12s;
}
.sb-downloads-list a:hover { border-color: var(--sb-primary); transform: translateX(3px); }
.sb-downloads-list i { font-size: 1.6rem; color: var(--sb-primary); flex-shrink: 0; }
.sb-dl-main { flex: 1; min-width: 0; }
.sb-dl-main strong { display: block; color: var(--sb-heading); font-size: .98rem; }
.sb-dl-desc { display: block; font-size: .85rem; color: var(--sb-muted); }
.sb-dl-meta { font-size: .8rem; color: var(--sb-muted); white-space: nowrap; }

/* ===================================================================
   Admin-side editor
   =================================================================== */
.sb-pro-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.sb-pro-field { min-width: 0; }
.sb-pro-thumb { max-height: 3.5rem; margin-top: .4rem; border-radius: 6px; display: block; }
.sb-pro-rows { display: grid; gap: 1rem; }
.sb-pro-row {
  border: 1px solid rgba(0,0,0,.12); border-radius: 10px; padding: 1rem;
  background: rgba(0,0,0,.015);
}
.sb-pro-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.sb-pro-row-num {
  display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--in-primary, #5D579E); color: #fff; font-size: .78rem; font-weight: 700;
}
.sb-pro-row-actions .btn { padding: .1rem .35rem; }
