/* JEM Single Package Card 1.0 – styles are scoped to the card widget only. */
.jem-spc-card,
.jem-spc-card * { box-sizing: border-box; }

.jem-spc-card {
  --jem-spc-accent: #D6AD28;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 26px 24px;
  overflow: hidden;
  background: #090909;
  color: #EEEAE1;
  border: 1px solid #302A17;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 12px 34px rgba(0,0,0,.13);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.jem-spc-card:hover {
  border-color: var(--jem-spc-accent);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
  transform: translateY(-2px);
}
.jem-spc-featured { border-color: var(--jem-spc-accent); padding-top: 45px; }
.jem-spc-badge {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  padding: 7px 13px;
  color: #090909;
  background: var(--jem-spc-accent);
  font: 800 10px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.jem-spc-body { flex: 1 1 auto; min-width: 0; }
.jem-spc-header { margin: 0; padding: 0; }
.jem-spc-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.jem-spc-title,
.jem-spc-card h3.jem-spc-title {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 1.6vw, 26px);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.jem-spc-price {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: flex-end;
  max-width: 45%;
  color: var(--jem-spc-accent);
  text-align: right;
  white-space: nowrap;
}
.jem-spc-price-number {
  font: 700 clamp(30px, 2.4vw, 42px)/1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
}
.jem-spc-price-suffix {
  margin-top: 4px;
  font: 600 12px/1.3 Arial, Helvetica, sans-serif;
}
.jem-spc-duration {
  margin: 14px 0 0;
  color: var(--jem-spc-accent);
  font: 700 14px/1.4 Arial, Helvetica, sans-serif;
}
.jem-spc-description {
  margin: 11px 0 0;
  color: #EEEAE1;
  font-size: 14px;
  line-height: 1.65;
}
.jem-spc-features {
  display: grid;
  gap: 13px;
  list-style: none !important;
  margin: 23px 0 26px !important;
  padding: 0 !important;
}
.jem-spc-feature {
  position: relative;
  display: block;
  padding: 0 0 0 24px !important;
  margin: 0 !important;
  list-style: none !important;
  color: #EEEAE1;
  font: 400 14px/1.55 Arial, Helvetica, sans-serif;
  overflow-wrap: anywhere;
}
.jem-spc-feature::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 2px;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--jem-spc-accent);
  border-bottom: 2.5px solid var(--jem-spc-accent);
  transform: rotate(-45deg);
}
.jem-spc-footer { flex: 0 0 auto; margin-top: auto; }
.jem-spc-button,
.jem-spc-card a.jem-spc-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 49px;
  padding: 13px 12px;
  border: 0;
  border-radius: 2px;
  background: #D6AD28;
  color: #080808;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  font: 800 12px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .065em;
  transition: background-color .2s ease, transform .2s ease;
}
.jem-spc-button:hover,
.jem-spc-card a.jem-spc-button:hover,
.jem-spc-button:focus-visible,
.jem-spc-card a.jem-spc-button:focus-visible {
  background: #F0CA58;
  color: #080808;
  transform: translateY(-1px);
}
.jem-spc-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.jem-spc-disclaimer {
  margin: 11px 0 0 !important;
  padding: 0;
  color: #BAB6AE;
  font: 400 12px/1.45 Arial, Helvetica, sans-serif;
  text-align: center;
}
.jem-spc-editor-tip {
  padding: 12px;
  border: 1px dashed #73632e;
  color: #d8c985;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 767px) {
  .jem-spc-card { padding: 23px 19px; }
  .jem-spc-featured { padding-top: 43px; }
  .jem-spc-title,
  .jem-spc-card h3.jem-spc-title { font-size: 22px; }
  .jem-spc-price-number { font-size: 34px; }
  .jem-spc-feature { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .jem-spc-card, .jem-spc-button { transition: none !important; transform: none !important; }
}
