.pricing-module {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---------- HEADING + INTRO (above the card) ---------- */
.pricing-module__header {
  text-align: center;
  margin-bottom: 1.75rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-module__heading {
  font-family: 'Macan', sans-serif !important;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.95rem);
  color: #fafafa;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.pricing-module__intro,
.pricing-module__intro p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.195rem);
  line-height: 1.6;
  margin: 0 0 0.7rem;
}

.pricing-module__intro p:last-child {
  margin-bottom: 0;
}

/* Card fills the remaining height so side-by-side modules still align */
.pricing-module .card--pricing {
  flex: 1 1 auto;
}

/* ---------- CARD ---------- */
.card {
  text-align: center;
}

.card--pricing {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  padding: 2.1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Pins the buttons to the bottom when cards sit side-by-side */
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.card__button-wrapper {
  margin-top: auto;
}

/* ---------- PRODUCT HEADER (inside the card) ---------- */
.card__header {
  text-align: center;
  margin-bottom: 0.7rem;
}

.card__header h1,
.card__header h2,
.card__header h3,
.card__header h4 {
  font-family: 'Macan', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.card__header p,
.card__header ul,
.card__header li {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.55;
  margin: 0;
}

.card__header > *:last-child {
  margin-bottom: 0;
}

/* ---------- DIVIDERS ---------- */
.card__hr {
  border: 0;
  height: 1px;
  margin: 1.75rem 0;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Top divider: more room under the product header, less under itself */
.card__hr:first-of-type {
  margin: 1.75rem 0 1.4rem;
}

/* Bottom divider: even space between last list item and the price */
.card__hr:last-of-type {
  margin: 1.4rem 0 1.75rem;
}

/* ---------- FEATURE LIST ---------- */
.card__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card__subtitle {
  font-size: 0.9rem;
}

.card__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card__body li,
.card__feature-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  list-style: none;
  font-size: 0.9rem;
  margin: 0;
  padding: 0.35rem 0;
  font-weight: inherit !important;
}

.card__features li::marker {
  content: none;
}

.card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  margin-right: 0.7rem;
  vertical-align: middle;
}

.card__body svg {
  display: inline-block;
  max-width: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ---------- PRICE ---------- */
.card__price {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.1;
  margin: 0.7rem 0 1.05rem;
}

/* ---------- BUTTONS ---------- */
.button {
  box-sizing: border-box;
}

.card__button.button,
a.card__button.button,
a.card__button.button.button--secondary {
  box-sizing: border-box !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 0;
  padding: 16px 28px;
  font-size: 15px !important;
  line-height: 1;
  border-radius: 45px;
  text-align: center;
  font-weight:700 !important;
}

/* ==========================================================
   RESPONSIVE
   !important on card padding is required: the field-driven
   spacing rule in module.html is scoped, so it outranks these
   on specificity otherwise.
   ========================================================== */

/* ---- Desktop down ---- */
@media screen and (max-width: 1200px) {
  .card--pricing {
    padding: 2.1rem 0.7rem !important;
  }
}

/* ---- Tablet ---- */
@media screen and (max-width: 991px) {
  .card--pricing {
    padding: 1.75rem 1.25rem !important;
  }

  .card__subtitle,
  .card__body li {
    font-size: 0.95rem;
  }
}

/* ---- Small tablet / large phone ---- */
@media screen and (max-width: 767px) {
  .pricing-module {
    height: auto;
    padding-left: 36px;
    padding-right: 36px;
    box-sizing: border-box;
  }

  .pricing-module__header {
    margin-bottom: 1.4rem;
  }

  .card--pricing {
    margin-bottom: 1.4rem;
    padding: 1.75rem 1.4rem !important;
    height: auto;
  }

  .card__header {
    margin-bottom: 0.7rem;
  }

  .card__body li {
    padding: 0.5rem 0;
  }

  .card__hr,
  .card__hr:first-of-type,
  .card__hr:last-of-type {
    margin: 1.25rem 0;
  }

  /* mobile height match */
  .card__button.button,
  a.card__button.button,
  a.card__button.button.button--secondary {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700 !important;
  }
}

/* ---- Phone: stack the buttons (full width) ---- */
@media screen and (max-width: 575px) {
  .pricing-module__header {
    margin-bottom: 1.05rem;
  }

  .card--pricing {
    padding: 36px 36px !important;
  }

  .button-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 10px;
  }

  .button-wrapper .button,
  a.card__button.button,
  a.card__button.button.button--secondary {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    min-height: 0;
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1;
    font-weight:700 !important;}
}
 
 .card__body li {
    font-size: 0.95rem;
    align-items: flex-start;
  }

  .card__icon {
    margin-top: 2px;
  }
}