:root {
  --sp-navy: #10233f;
  --sp-blue: #1f6feb;
  --sp-green: #14a44d;
  --sp-green-dark: #0d7f3a;
  --sp-gold: #ffb020;
  --sp-orange: #f97316;
  --sp-red: #dc2626;
  --sp-ink: #172033;
  --sp-muted: #64748b;
  --sp-line: #dbe3ee;
  --sp-soft: #f4f7fb;
  --sp-white: #ffffff;
  --sp-radius: 8px;
  --sp-shadow: 0 10px 30px rgba(16, 35, 63, .10);
  --sp-max: 1180px;
  --sp-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sp-font);
  color: var(--sp-ink);
  background: var(--sp-soft);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.sp-container { width: min(var(--sp-max), calc(100% - 32px)); margin-inline: auto; }
.sp-section { padding: 42px 0; }
.sp-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.sp-section-title h2, .sp-section-title h1 { margin: 0; line-height: 1.1; color: var(--sp-navy); }
.sp-section-title p { margin: 6px 0 0; color: var(--sp-muted); }
.sp-topbar {
  background: var(--sp-navy);
  color: var(--sp-white);
  font-size: 14px;
  padding: 8px 0;
}
.sp-topbar-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.sp-topbar a { color: #bde0ff; font-weight: 700; }
.sp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--sp-line);
  backdrop-filter: blur(12px);
}
.admin-bar .sp-header { top: 32px; }
.sp-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.sp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--sp-navy); font-size: 24px; }
.sp-logo-img {
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.sp-logo-footer .sp-logo-img {
  width: 230px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.22));
}
.sp-logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sp-green), var(--sp-blue));
  color: var(--sp-white);
  font-weight: 900;
}
.sp-nav { display: flex; justify-content: center; align-items: center; gap: 18px; }
.sp-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; align-items: center; }
.sp-nav a { color: var(--sp-navy); font-weight: 750; font-size: 15px; }
.sp-nav a:hover { color: var(--sp-blue); }
.sp-actions { display: flex; align-items: center; gap: 10px; }
.sp-header-search { min-width: 235px; position: relative; }
.sp-header-search input {
  width: 100%;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  padding: 11px 42px 11px 16px;
  background: var(--sp-soft);
}
.sp-search-btn {
  position: absolute; right: 5px; top: 5px;
  border: 0; border-radius: 999px; width: 34px; height: 34px;
  background: var(--sp-green); color: var(--sp-white); cursor: pointer;
}
.sp-menu-toggle { display: none; border: 1px solid var(--sp-line); background: var(--sp-white); border-radius: 8px; width: 42px; height: 42px; }
.sp-mega {
  border-top: 1px solid var(--sp-line);
  background: var(--sp-white);
}
.sp-mega-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 12px 0;
}
.sp-mega a {
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--sp-navy);
  background: var(--sp-soft);
  font-size: 14px;
  font-weight: 750;
}
.sp-hero {
  background:
    linear-gradient(135deg, rgba(16,35,63,.96), rgba(31,111,235,.83)),
    radial-gradient(circle at 85% 20%, rgba(255,176,32,.45), transparent 34%),
    var(--sp-navy);
  color: var(--sp-white);
  padding: 64px 0 34px;
}
.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 36px;
  align-items: center;
}
.sp-eyebrow { color: #bbf7d0; font-weight: 850; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.sp-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1; margin: 10px 0 16px; letter-spacing: 0; }
.sp-hero p { color: #d8e9ff; font-size: 18px; margin: 0 0 24px; max-width: 680px; }
.sp-search-panel {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: var(--sp-white);
  border-radius: 8px;
  box-shadow: var(--sp-shadow);
}
.sp-search-panel input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 15px 16px;
  color: var(--sp-ink);
  outline: 0;
}
.sp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.sp-stat {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,.08);
}
.sp-stat strong { display: block; font-size: 23px; }
.sp-stat span { color: #d8e9ff; font-size: 13px; }
.sp-hero-card {
  background: var(--sp-white);
  color: var(--sp-ink);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--sp-shadow);
}
.sp-mini-list { display: grid; gap: 12px; }
.sp-mini-deal {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--sp-line);
  padding-bottom: 12px;
}
.sp-mini-deal:last-child { border-bottom: 0; padding-bottom: 0; }
.sp-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #e7f8ee, #dbeafe);
  display: grid;
  place-items: center;
  color: var(--sp-navy);
  font-weight: 900;
  overflow: hidden;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  min-height: 44px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn-primary { background: var(--sp-green); color: var(--sp-white); box-shadow: 0 8px 20px rgba(20,164,77,.22); }
.sp-btn-primary:hover { background: var(--sp-green-dark); }
.sp-btn-secondary { background: var(--sp-blue); color: var(--sp-white); }
.sp-btn-ghost { background: var(--sp-white); color: var(--sp-navy); border: 1px solid var(--sp-line); }
.sp-btn-warning { background: var(--sp-gold); color: #3b2600; }
.sp-grid { display: grid; gap: 18px; }
.sp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sp-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16,35,63,.06);
}
.sp-card-body { padding: 16px; }
.sp-card h3 { margin: 8px 0 10px; color: var(--sp-navy); font-size: 18px; line-height: 1.25; }
.sp-card h3 a:hover { color: var(--sp-blue); }
.sp-card-media {
  position: relative;
  background: linear-gradient(135deg, #eef6ff, #eafaf0);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--sp-navy);
  font-size: 32px;
  font-weight: 900;
}
.sp-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.sp-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}
.sp-badge-green { background: #dcfce7; color: #166534; }
.sp-badge-blue { background: #dbeafe; color: #1e40af; }
.sp-badge-gold { background: #fef3c7; color: #92400e; }
.sp-badge-red { background: #fee2e2; color: #991b1b; }
.sp-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sp-orange);
  color: var(--sp-white);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 950;
}
.sp-store { color: var(--sp-muted); font-size: 14px; font-weight: 800; }
.sp-price { display: flex; align-items: baseline; gap: 9px; margin: 8px 0 12px; }
.sp-price del { color: var(--sp-muted); }
.sp-price strong { color: var(--sp-green-dark); font-size: 24px; }
.sp-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: center; }
.sp-verified { color: var(--sp-muted); font-size: 12px; margin-top: 10px; }
.sp-coupon-card { position: relative; }
.sp-code {
  border: 1px dashed var(--sp-blue);
  background: #eff6ff;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--sp-navy);
  font-weight: 950;
  letter-spacing: .06em;
  text-align: center;
}
.sp-store-card { text-align: center; padding: 20px; }
.sp-store-logo {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: var(--sp-soft);
  border: 1px solid var(--sp-line);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--sp-navy);
  font-weight: 950;
}
.sp-category-grid { grid-template-columns: repeat(6, 1fr); }
.sp-category {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 16px;
  font-weight: 850;
  color: var(--sp-navy);
}
.sp-category span { display: block; color: var(--sp-muted); font-size: 13px; font-weight: 650; margin-top: 4px; }
.sp-newsletter {
  background: linear-gradient(135deg, var(--sp-navy), #164e63);
  color: var(--sp-white);
  border-radius: 8px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, .85fr);
  gap: 24px;
  align-items: center;
}
.sp-newsletter h2 { margin: 0 0 8px; font-size: 32px; }
.sp-newsletter p { color: #d8e9ff; margin: 0; }
.sp-newsletter form { display: flex; gap: 10px; background: var(--sp-white); border-radius: 8px; padding: 8px; }
.sp-newsletter input { flex: 1; min-width: 0; border: 0; padding: 12px; outline: 0; }
.sp-trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sp-trust-item { background: var(--sp-white); border: 1px solid var(--sp-line); border-radius: 8px; padding: 16px; font-weight: 850; color: var(--sp-navy); }
.sp-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.sp-sidebar, .sp-filter-panel {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 18px;
}
.sp-filter-panel label { display: block; font-size: 13px; font-weight: 850; margin: 14px 0 6px; color: var(--sp-navy); }
.sp-filter-panel select, .sp-filter-panel input {
  width: 100%;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--sp-white);
}
.sp-breadcrumbs {
  font-size: 14px;
  color: var(--sp-muted);
  padding: 18px 0 0;
}
.sp-breadcrumbs a { color: var(--sp-blue); font-weight: 750; }
.sp-single-hero {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.2fr;
  gap: 26px;
}
.sp-single-hero h1 { margin: 8px 0 14px; line-height: 1.08; color: var(--sp-navy); font-size: clamp(32px, 4vw, 52px); }
.sp-affiliate-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}
.sp-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-pros-cons ul { margin: 0; padding-left: 18px; }
.sp-content-box {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 22px;
  margin-top: 20px;
}
.sp-faq details {
  border-bottom: 1px solid var(--sp-line);
  padding: 14px 0;
}
.sp-faq summary { cursor: pointer; font-weight: 850; color: var(--sp-navy); }
.sp-table-wrap { overflow-x: auto; background: var(--sp-white); border: 1px solid var(--sp-line); border-radius: 8px; }
.sp-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.sp-table th, .sp-table td { padding: 14px; border-bottom: 1px solid var(--sp-line); text-align: left; }
.sp-table th { color: var(--sp-navy); background: var(--sp-soft); }
.sp-footer {
  margin-top: 48px;
  background: var(--sp-navy);
  color: var(--sp-white);
  padding: 42px 0 22px;
}
.sp-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.sp-footer h3 { margin: 0 0 12px; }
.sp-footer a { color: #d8e9ff; display: block; margin: 8px 0; }
.sp-disclosure { margin-top: 26px; color: #cbd5e1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: 14px; }
.sp-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 35, 63, .58);
  z-index: 100;
}
.sp-modal.is-open { display: flex; }
.sp-modal-box {
  background: var(--sp-white);
  border-radius: 8px;
  width: min(520px, 100%);
  padding: 24px;
  box-shadow: var(--sp-shadow);
}
.sp-modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.sp-modal-close { border: 0; background: var(--sp-soft); width: 38px; height: 38px; border-radius: 8px; cursor: pointer; }
.sp-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--sp-navy);
  color: var(--sp-white);
  border-radius: 8px;
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .18s ease;
  z-index: 120;
}
.sp-toast.is-visible { opacity: 1; transform: translateY(0); }
.sp-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.sp-pagination .page-numbers {
  border: 1px solid var(--sp-line);
  background: var(--sp-white);
  border-radius: 8px;
  padding: 9px 13px;
  font-weight: 800;
}
.sp-pagination .current { background: var(--sp-blue); color: var(--sp-white); border-color: var(--sp-blue); }

@media (max-width: 1020px) {
  .sp-header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .sp-menu-toggle { display: inline-grid; place-items: center; }
  .sp-nav, .sp-actions, .sp-mega { display: none; }
  .sp-header.is-open .sp-nav, .sp-header.is-open .sp-actions, .sp-header.is-open .sp-mega { display: block; grid-column: 1 / -1; }
  .sp-header.is-open .sp-nav ul, .sp-header.is-open .sp-actions { display: grid; justify-content: stretch; gap: 10px; padding-bottom: 12px; }
  .sp-header-search { min-width: 0; }
  .sp-mega-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-hero-grid, .sp-newsletter, .sp-layout, .sp-single-hero { grid-template-columns: 1fr; }
  .sp-grid-4, .sp-category-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sp-container { width: min(100% - 22px, var(--sp-max)); }
  .sp-topbar-inner { display: block; }
  .sp-hero { padding-top: 42px; }
  .sp-search-panel, .sp-newsletter form { display: grid; }
  .sp-hero-stats, .sp-grid-4, .sp-grid-3, .sp-grid-2, .sp-category-grid, .sp-trust, .sp-footer-grid, .sp-pros-cons { grid-template-columns: 1fr; }
  .sp-newsletter { padding: 24px; }
  .sp-card-actions { grid-template-columns: 1fr; }
  .sp-logo-img { width: 170px; }
}
