/* Base */
:root {
  --spt-green-pill: #8ac44b; /* same green as price pill */
  --spt-grey-bg: #eef0f3;
  --spt-grey-desc: #e9edf3;
  --spt-white: #ffffff;
}
.spt-wrap {
  font-family: "Saira Semi Condensed", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 18px 10px;
}

.spt-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

@media (max-width: 1100px) {
  .spt-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .spt-card.is-highlight {
      margin-top: 0px !important;
      margin-bottom: 0px !important;
  }
}
@media (max-width: 620px) {
  .spt-grid { grid-template-columns: 1fr; }
}

/* Card */
.spt-card {
  cursor: pointer;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  overflow: visible;
  position: relative;
  padding: 10px;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.spt-card:hover .spt-top,
.spt-card:hover .spt-desc {
  background: var(--spt-white);
}



.spt-wrap:hover .spt-card:not(:hover) {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.spt-card.is-highlight .spt-card-inner {
  padding-bottom: 16px;
}
.spt-card.is-highlight .spt-desc{
  margin-top: 7px;
}

.spt-card.is-highlight {
  margin-top: -12px;
  margin-bottom: -12px;
}

.spt-card-inner {
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

/* Top header strip */
.spt-top {
  background: var(--spt-grey-bg);
  padding: 18px 18px 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 20px 20px 0 0;
}

.spt-card.is-highlight .spt-top {
  padding-top: 30px;
}

.spt-title {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
  padding: 0px;
}

.spt-speed {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  opacity: 0.9;
}

.spt-header-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Body */
.spt-body {
  padding: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  flex: 1;
}

.spt-topline {
  margin-top: 4px;
  text-align: center;
  line-height: 1.2;
}

.spt-topline-primary {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.spt-topline-secondary {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  opacity: 0.85;
}

.spt-topline.is-accent {
  color: #6aa437; /* Orbit-like green */
}

.spt-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
  min-height: 110px;
}

.spt-logo img {
  width: auto;
  object-fit: contain;
  display: block;
}

/* description box */
.spt-desc {
  width: 100%;
  margin-top: auto;
  background: var(--spt-grey-desc);
  color: #0f172a;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  padding: 18px 16px;
  border-radius: 0;
}

/* Footer price button */
.spt-footer {
  padding: 18px 18px 22px 18px;
  display: flex;
  justify-content: center;
  position: relative;
}

.spt-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 64px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #0f172a;
}

.spt-price.is-outline {
  background: #fff;
  border: 3px solid #0f172a;
}

.spt-price.is-green {
  background: #8ac44b;
  border: 0;
}

/* Mascot (bottom-left for highlight style) */
.spt-mascot {
  position: absolute;
  left: 26px;              /* slight overlap like design */
  bottom: -24px;
  width: 109px;             /* control size here */
  pointer-events: none;
  opacity: 0.98;
}

.spt-mascot img {
  width: 100%;
  height: auto;            /* 🔑 keeps natural ratio */
  display: block;
  object-fit: contain;
  background: none;
}
.spt-img-preview img,
.spt-admin-preview-img {
  width: auto !important;
  height: auto !important;
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.spt-topline-primary,
.spt-topline-secondary {
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

/* ---------- BOTTOM GRAY DESCRIPTION ---------- */
.spt-desc {
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.spt-card.is-highlight .spt-topline-primary,
.spt-card.is-highlight .spt-topline-secondary {
  color: var(--spt-green-pill);
}