/* Saver Packs + WhatsApp button (product page) */
.sp-box {
  margin: 18px 0 16px;
  padding: 16px 14px 14px;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  background: #fff;
}
.sp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.sp-title { font-size: 17px; font-weight: 700; color: #141b3a; }
.sp-saving { font-size: 14px; font-weight: 600; color: #16803c; }

.sp-list { display: flex; flex-direction: column; gap: 14px; }

.sp-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 14px 14px;
  border: 1.5px solid #e6e8ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.sp-row:hover { border-color: #c9cede; }
.sp-row.is-active {
  border: 2px solid #141b3a;
  background: #fff6ee;
  box-shadow: 0 4px 14px rgba(20, 27, 58, .08);
}
.sp-row input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }

.sp-radio {
  width: 22px; height: 22px;
  border: 2px solid #b8bdcb;
  border-radius: 50%;
  box-sizing: border-box;
  position: relative;
}
.sp-row.is-active .sp-radio { border-color: #f26b1d; }
.sp-row.is-active .sp-radio::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: #f26b1d;
}
.sp-row input[type=radio]:focus-visible + .sp-radio { outline: 2px solid #f26b1d; outline-offset: 2px; }

.sp-left { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.sp-name { font-size: 16px; font-weight: 700; color: #141b3a; }
.sp-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 2px 8px; border: 1.5px solid #141b3a; border-radius: 999px; color: #141b3a;
}
.sp-sub { font-size: 13.5px; color: #6b7285; }

.sp-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.sp-price { font-size: 18px; font-weight: 800; color: #141b3a; white-space: nowrap; }
.sp-was { font-size: 12.5px; color: #8a90a2; white-space: nowrap; }

/* Big discount badge on each pack */
.sp-off {
  position: absolute;
  top: -11px; right: 12px;
  display: inline-flex; align-items: baseline; gap: 3px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e5262c, #f26b1d);
  color: #fff;
  font-size: 14px; font-weight: 800; line-height: 1.2;
  box-shadow: 0 3px 8px rgba(229, 38, 44, .3);
}
.sp-off small { font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.sp-row.is-active .sp-off { transform: scale(1.08); }

/* Buy Now / Add to Bag sit side by side, WhatsApp full width below */
.sp-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  margin: 12px 0 4px;
  padding: 15px 16px;
  border: 0; border-radius: 12px;
  background: #18a34a; color: #fff;
  font-size: 17px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(24, 163, 74, .25);
  transition: background-color .15s, transform .1s;
}
.sp-whatsapp:hover { background: #128a3d; }
.sp-whatsapp:active { transform: translateY(1px); }
.sp-whatsapp img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }

@media (max-width: 480px) {
  .sp-row { gap: 10px; padding: 18px 10px 12px; }
  .sp-name { font-size: 15px; }
  .sp-sub { flex-basis: 100%; font-size: 12.5px; }
  .sp-price { font-size: 16px; }
}
