/* Sunpal Premium 30Ah starter battery PDP story */
.sp30 {
  --sp30-green: var(--green, #168b3d);
  --sp30-green-soft: #e8f6ec;
  --sp30-ink: var(--ink, #090b0d);
  --sp30-muted: var(--muted, #64696d);
  --sp30-line: var(--line, #dedfdf);
  --sp30-soft: #f7faf8;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 64px;
  color: var(--sp30-ink);
  line-height: 1.65;
}

.sp30 *,
.sp30 *::before,
.sp30 *::after { box-sizing: border-box; }

/* Motorcycle YTZ5S: slightly tighter hero title for long cranking line */
.sp30--moto .sp30-title span {
  letter-spacing: -0.03em;
}
.sp30--moto .sp30-spec-pills strong {
  font-variant-numeric: tabular-nums;
}

/* Redesigned YTZ5S packshot: clean plate, no floating hero overlays */
.sp30--moto .sp30-hero {
  background:
    radial-gradient(circle at 92% 8%, rgba(143, 224, 168, .22), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(22, 139, 61, .2), transparent 40%),
    linear-gradient(145deg, #07110c 0%, #0f2318 48%, #0a120e 100%);
}
.sp30--moto .sp30-product-card--designed {
  padding: 10px;
  border-color: rgba(143, 224, 168, .22);
  background:
    radial-gradient(circle at 50% 20%, rgba(143, 224, 168, .16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.sp30--moto .sp30-product-card--designed img {
  border-radius: 18px;
  background: #f3f5f4;
}
.sp30--moto .sp30-hero-media {
  animation: sp30-moto-rise .7s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes sp30-moto-rise {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp30--moto .sp30-hero-media,
  .sp30--moto .sp30-product-card--designed img {
    animation: none;
  }
}

.sp30 img {
  display: block;
  width: 100%;
  height: auto;
}

.sp30-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

/* Hero */
.sp30-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 139, 61, .28), transparent 34%),
    linear-gradient(135deg, #0b1210 0%, #102418 55%, #0a0f0c 100%);
}

.sp30-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sp30-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fe0a8;
}

.sp30-badge,
.sp30-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143, 224, 168, .35);
  background: rgba(22, 139, 61, .16);
  color: #b8efc8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sp30-label-light {
  background: var(--sp30-green-soft);
  border-color: #c9e8d2;
  color: #0d5c2a;
}

.sp30-title {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.03em;
}

.sp30-title span {
  display: block;
  color: #8fe0a8;
}

.sp30-price {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 780;
  letter-spacing: -0.03em;
}

.sp30-price::before {
  content: "Simple price";
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sp30-green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.sp30-price .amount,
.sp30-price ins {
  color: #8fe0a8;
  text-decoration: none;
}

.sp30-price del { opacity: .45; }

.sunpal-start30 {
  display: grid;
  gap: 4px;
  margin: -2px 0 16px;
  padding: 0 0 0 12px;
  border-left: 2px solid rgba(143, 224, 168, .55);
  max-width: 360px;
}

.sunpal-start30__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(143, 224, 168, .92);
}

.sunpal-start30__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 0;
  line-height: 1.2;
}

.sunpal-start30__code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  color: #f4fff8;
}

.sunpal-start30__save {
  font-size: 1.15rem;
  font-weight: 800;
  color: #8fe0a8;
}

.sunpal-start30__hint {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(240, 255, 246, .68);
}

.sunpal-start30--on-dark {
  border-left-color: rgba(143, 224, 168, .55);
}

/* Legacy plain-line class */
.sunpal-start30-line,
.sunpal-start30-line--on-dark {
  margin: -6px 0 14px;
  color: rgba(240, 255, 246, .78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.sp30-desc {
  max-width: 620px;
  margin: 0 0 18px;
  color: rgba(240, 255, 246, .9);
  font-size: 17px;
  line-height: 1.7;
}

.sp30-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp30-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.sp30-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.sp30-link-assist {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp30-link-assist:hover { color: #fff !important; }

.sp30-ship-note,
.sp30-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.sp30-footnote {
  margin-top: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 600;
}

.sp30-ship-note-on-dark {
  justify-content: center;
  margin: 0 auto 18px;
  max-width: 520px;
}

.sp30-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--sp30-green);
  color: #fff !important;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease;
}

.sp30-btn:hover { transform: translateY(-1px); background: #127534; }

.sp30-btn-secondary {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
}

.sp30-btn-secondary:hover { background: rgba(255, 255, 255, .16); }

.sp30-product-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
}

.sp30-product-card img {
  border-radius: 20px;
  animation: sp30-float 4.8s ease-in-out infinite;
}

.sp30-product-tag {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 12, 10, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  backdrop-filter: blur(10px);
}

.sp30-spec-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.sp30-spec-pills div {
  padding: 14px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  text-align: center;
}

.sp30-spec-pills strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.sp30-spec-pills span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 700;
}

/* Trust */
.sp30-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.sp30-trust > div {
  min-height: 128px;
  padding: 22px 18px;
  border: 1px solid var(--sp30-line);
  border-radius: 20px;
  background: #fff;
}

.sp30-trust .sp30-icon {
  margin-bottom: 10px;
  color: var(--sp30-green);
}

.sp30-trust strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.sp30-trust span {
  display: block;
  margin-top: 4px;
  color: var(--sp30-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Sections */
.sp30-section {
  margin-top: 28px;
  padding: 36px;
  border: 1px solid #e5efe8;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, var(--sp30-soft));
}

.sp30-section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(22, 139, 61, .22), transparent 36%),
    linear-gradient(135deg, #102418, #0b1210);
  border-color: transparent;
}

.sp30-section h3 {
  margin: 14px 0 12px;
  color: var(--sp30-ink);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.sp30-section-dark h3,
.sp30-section-dark p,
.sp30-section-dark h4 { color: #fff; }

.sp30-section > p {
  margin: 0;
  color: #3a423d;
  font-size: 16px;
  line-height: 1.7;
}

.sp30-section-dark > p { color: rgba(255, 255, 255, .86); }

.sp30-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.sp30-grid > div {
  padding: 22px;
  border: 1px solid var(--sp30-line);
  border-radius: 18px;
  background: #fff;
}

.sp30-section-dark .sp30-grid > div {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
}

.sp30-grid .sp30-icon {
  margin-bottom: 10px;
  color: var(--sp30-green);
}

.sp30-section-dark .sp30-grid .sp30-icon { color: #8fe0a8; }

.sp30-grid h4 {
  margin: 0 0 6px;
  color: var(--sp30-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.sp30-grid p {
  margin: 0;
  color: #525c58;
  font-size: 15px;
  line-height: 1.55;
}

.sp30-section-dark .sp30-grid p { color: rgba(255, 255, 255, .82); }

.sp30-fit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.sp30-fit span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--sp30-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.sp30-note,
.sp30-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.sp30-note {
  background: var(--sp30-green-soft);
  border: 1px solid #c9e8d2;
  color: #0d5c2a;
}

.sp30-warning {
  background: #fff8e8;
  border: 1px solid #f0e0b0;
  color: #4a3a10;
}

.sp30-table-wrap {
  margin-top: 18px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--sp30-line);
}

.sp30-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
}

.sp30-table th,
.sp30-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8eee9;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
  color: var(--sp30-ink);
}

.sp30-table tr:last-child th,
.sp30-table tr:last-child td { border-bottom: 0; }

.sp30-table th {
  width: 34%;
  background: #eff8f2;
  color: #0d5c2a;
  font-weight: 800;
}

.sp30-table thead th {
  width: auto;
  background: #eff8f2;
}

.sp30-fit-ok {
  color: #0d5c2a !important;
  font-weight: 800;
}

.sp30-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .sp30-videos {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.sp30-video-block h4 {
  margin: 0 0 0.35rem;
  color: var(--sp30-ink);
  font-size: 1.05rem;
  font-weight: 750;
}

.sp30-video-link {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.sp30-video-link a {
  color: var(--sp30-green);
}

.sp30-video {
  position: relative;
  margin-top: 10px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--sp30-line);
}

.sp30-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sp30-value-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.sp30-value-proof > div {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
}

.sp30-value-proof .sp30-icon {
  margin-bottom: 8px;
  color: #8fe0a8;
}

.sp30-value-proof strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.sp30-value-proof span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.45;
}

.sp30-fit-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid var(--sp30-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sp30-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.sp30-fit-toggle[aria-expanded="true"] {
  border-color: var(--sp30-green);
  color: #0d5c2a;
}

.sp30-fit-table { margin-top: 12px; }

.sp30-assist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #c9e8d2;
  background: var(--sp30-green-soft);
}

.sp30-assist strong {
  display: block;
  color: #0d5c2a;
  font-size: 16px;
  font-weight: 800;
}

.sp30-assist span {
  display: block;
  margin-top: 3px;
  color: #245c38;
  font-size: 14px;
  line-height: 1.45;
}

.sp30-btn-assist {
  background: var(--sp30-green);
  color: #fff !important;
}

.sp30-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.sp30-testimonial {
  margin: 0;
  padding: 20px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sp30-line);
  border-left: 4px solid var(--sp30-green);
  color: #3a423d;
}

.sp30-testimonial p {
  margin: 0;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
}

.sp30-testimonial cite {
  display: block;
  margin-top: 12px;
  color: var(--sp30-muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
}

.sp30-warranty-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #c9e8d2;
  background: var(--sp30-green-soft);
  color: #0d5c2a;
  font-size: 14px;
  font-weight: 750;
}

.sp30-warranty-cta a {
  color: #0d5c2a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sp30-note a {
  color: #0d5c2a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* FAQ */
.sp30-faq {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.sp30-faq-item {
  overflow: hidden;
  border: 1px solid var(--sp30-line);
  border-radius: 16px;
  background: #fff;
}

.sp30-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  background: var(--sp30-soft);
  color: var(--sp30-ink);
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.sp30-faq-q .sp30-icon {
  color: var(--sp30-green);
  transform: rotate(-90deg);
  transition: transform .2s ease;
}

.sp30-faq-item.is-open .sp30-faq-q .sp30-icon { transform: rotate(0deg); }

.sp30-faq-a {
  display: none;
  padding: 0 18px 18px;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

.sp30-faq-item.is-open .sp30-faq-a { display: block; }

/* CTA */
.sp30-cta {
  margin-top: 28px;
  padding: 48px 24px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 139, 61, .24), transparent 42%),
    linear-gradient(135deg, #0b1210, #102418);
}

.sp30-cta h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 750;
  line-height: 1.1;
}

.sp30-cta p {
  max-width: 680px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
}

.sp30-cta .sp30-label { color: #fff; border-color: rgba(255, 255, 255, .22); }

/* Reveal — match premium-100Ah HTML/CSS stack: always paint (no opacity:0 hide).
 * Optional transform only; content stays readable if JS/IO never runs (esp. mobile). */
.sp30-reveal {
  opacity: 1;
  transform: none;
}

.sp30-js .sp30-reveal {
  opacity: 1;
  transform: translateY(12px);
  transition: transform .45s ease;
}

.sp30-js .sp30-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes sp30-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.single-product .sunpal-premium-starter-30ah-shell,
.single-product .sunpal-premium-starter-80ah-shell {
  margin-top: clamp(40px, 6vw, 72px) !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.single-product .sunpal-premium-starter-30ah-shell .sp30,
.single-product .sunpal-premium-starter-80ah-shell .sp30 {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .sp30-hero { grid-template-columns: 1fr; padding: 36px 28px; }
  .sp30-trust,
  .sp30-grid,
  .sp30-value-proof,
  .sp30-reviews { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .sp30 { padding-bottom: 36px; }
  .sp30-hero {
    padding: 24px 18px;
    border-radius: 22px;
    gap: 22px;
  }
  .sp30-hero-copy,
  .sp30-desc,
  .sp30-title {
    opacity: 1 !important;
    visibility: visible !important;
    max-width: none;
  }
  .sp30-desc {
    display: block;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(240, 255, 246, .94);
  }
  .sp30-js .sp30-reveal {
    transform: none;
  }
  .sp30-actions,
  .sp30-btn { width: 100%; }
  .sp30-actions { display: grid; gap: 10px; }
  .sp30-link-assist {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
  .sp30-price {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 16px;
  }
  .sp30-spec-pills,
  .sp30-trust,
  .sp30-grid,
  .sp30-value-proof,
  .sp30-reviews { grid-template-columns: 1fr; }
  .sp30-section { padding: 26px 18px; border-radius: 20px; }
  .sp30-assist { align-items: stretch; }
  .sp30-btn-assist { width: 100%; }
  .sp30-table { min-width: 0; }
  .sp30-table th,
  .sp30-table td {
    display: block;
    width: 100%;
  }
  .sp30-table th { border-bottom: 0; padding-bottom: 4px; }
  .sp30-table td { padding-top: 4px; }
  .sp30-cta { padding: 36px 18px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp30 *,
  .sp30 *::before,
  .sp30 *::after {
    animation: none !important;
    transition: none !important;
  }
  .sp30-js .sp30-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
