body {
  overflow-x: clip;
}

.mawp-pricing {
  padding: 0;
}

/* Plans section */
.mawp-plans {
  background-color: #F3F3F3;
  padding-block: 80px;
}

.mawp-plans-container,
.mawp-features-container {
  width: 100%;
  max-width: calc(1200px + 1.5rem * 2);
  height: 100%;
  padding-inline: 1.5rem;
  margin: 0 auto;
  align-items: center;
}

.mawp-plans-header {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: #2e194d;
  text-align: center;
  text-transform: uppercase;
  background-color: #F3F3F3;
}

.mawp-plans-grid-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 60px;
}

.mawp-plans-grid-group .mawp-plans-card {
  background-color: #FFFFFF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mawp-plans-grid-group .mawp-plans-card:last-child {
  background-color: #2E194D;
  color: #FFFFFF;
}

.mawp-card-divider {
  height: 1px;
  background: #9B9B9B;
  width: 100%;
  margin-block: 20px;
}

/* .mawp-plans-card-top {
  min-height: 167px;
} */

.mawp-plans-card-top div+div {
  margin-top: 8px;
}

.mawp-plans-grid-group .mawp-plan-name {
  text-transform: capitalize;
  font-size: 28px;
  font-weight: 600;
  line-height: 150%;
}

.mawp-plans-grid-group .mawp-plan-details p {
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}

.mawp-plans-card-bottom {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mawp-key-features-content {
  flex: 1;
}

.mawp-plans-card-bottom .mawp-key-features-title {
  flex: 1;
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
}

.mawp-key-features {
  margin-block: 16px 20px;
}

.mawp-key-features p+p {
  margin-top: 16px;
}

.mawp-key-features p {
  display: flex;
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}

.mawp-key-features p img {
  margin-right: 8px;
  align-self: baseline;
}

/* Feature section */
.mawp-features-grid-group {
  padding-block: 80px;
}

.mawp-features-grid-group > .lazyblock-inner-blocks {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 60px;
}

.mawp-features-header,
.mawp-pricing-feature-item {
  display: grid;
  grid-template-columns: 300px repeat(4, 1fr);
  border-bottom: 1px solid #2E194D;
  margin-bottom: 60px;
}

.mawp-features-header {
  position: sticky;
  top: 7.7rem;
  background-color: #fff;
  z-index: 10;
  margin: 0;
}

.mawp-features-header.is-pinned {
  box-shadow: 0px 4px 4px -5px rgba(0, 0, 0, 0.5);
  border: none;
}

.mawp-feature-plan-name,
.mawp-feature-category {
  font-size: 28px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
  text-transform: capitalize;
  padding-block: 37px;
}

.mawp-feature-category {
  text-align: left;
  padding-left: 16px;
  border-bottom: 1px solid #9B9B9B;
}

.mawp-pricing-feature-item {
  margin-bottom: 0;
  border-bottom: 1px solid #9B9B9B;
}

.mawp-mobile-plan-select {
  display: none;
}

.mawp-pricing-features > .lazyblock-inner-blocks > div:last-child .mawp-pricing-feature-item {
  border-bottom: none;
}

.mawp-feature-item-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  padding-block: 43px;
  padding-left: 16px;
}

.mawp-feature-item-support {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
}

.mawp-feature-item-support.hover {
  background-color: #FF7F001A;
}

.mawp-feature-item-support img {
  width: 30px;
  height: 30px;
}


@media screen and (max-width: 959px) {
  /* Plans section */
  .mawp-plans {
    padding-block: 60px;
  }

  .mawp-plans-container,
  .mawp-features-container {
    padding-inline: 32px;
  }

  .mawp-plans-header {
    font-size: 24px;
  }

  .mawp-plans-grid-group {
    gap: 32px;
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
  }

  .mawp-plans-grid-group .mawp-plans-card {
    padding: 24px;
  }

  .mawp-card-divider {
    margin-block: 24px;
  }

  .mawp-plans-grid-group .mawp-plan-name {
    font-size: 20px;
  }

  .mawp-plans-grid-group .mawp-plan-details p {
    font-size: 16px;
  }

  .mawp-plans-card-bottom .mawp-key-features-title {
    font-size: 16px;
  }

  .mawp-key-features {
    margin-bottom: 24px;
  }

  .mawp-key-features p {
    font-size: 16px;
  }

  .mawp-key-features p img {
    margin-right: 1.5px;
  }

  /* Feature section */
  .mawp-features-grid-group {
    padding-block: 60px;
  }

  .mawp-features-grid-group > .lazyblock-inner-blocks {
    gap: 40px;
    margin-top: 0;
  }

  .mawp-features-header,
  .mawp-pricing-feature-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .mawp-features-header > div:first-child {
    display: none;
  }

  .mawp-features-header {
    top: 73px;
  }

  .mawp-feature-plan-name,
  .mawp-feature-category {
    font-size: 20px;
    padding-block: 43px;
    padding-left: 0;
  }

  .mawp-pricing-feature-item {
    grid-template-rows: auto auto;
  }

  .mawp-feature-item-title {
    font-size: 16px;
    padding-block: 11px 16px;
    padding-left: 0;
    grid-column: 1 / -1;
  }

  .mawp-feature-item-support {
    margin-bottom: 22.5px;
  }
}

@media screen and (max-width: 430px) {
  /* Plans section */
  .mawp-plans {
    padding-block: 40px;
  }

  .mawp-plans-container,
  .mawp-features-container {
    padding-inline: 16px;
  }

  .mawp-plans-grid-group {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 16px;
  }

  .mawp-plans-grid-group .mawp-plans-card {
    padding-inline: 16px;
  }

  .mawp-card-divider {
    margin-block: 16px;
  }

  .mawp-key-features {
    margin-bottom: 16px;
  }

  .mawp-key-features p img {
    margin-right: 3px;
  }

  /* Feature section */
  .mawp-features-grid-group {
    padding-block: 40px;
  }

  .mawp-features-grid-group > .lazyblock-inner-blocks {
    gap: 16px;
  }

  .mawp-pricing-feature-mobile {
    display: grid;
  }

  .mawp-features-header,
  .mawp-pricing-feature-mobile,
  .mawp-pricing-feature-item {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: none;
  }

  .mawp-pricing-feature-mobile,
  .mawp-pricing-feature-item {
    column-gap: 32px;
  }

  .mawp-pricing-feature-item {
    grid-template-columns: repeat(2, 1fr);
  }

  .mawp-feature-item-title {
    padding-block: 16px 8px;
  }

  .mawp-features-header {
    gap: 32px;
  }

  .mawp-feature-category {
    padding-block: 13px;
  }

  .mawp-features-header > div:first-child,
  .mawp-features-header > div.mawp-feature-plan-name {
    display: none;
  }

  .mawp-mobile-plan-select {
    font-size: 20px;
    font-weight: 600;
    color: #2E194D;
    line-height: 150%;
    display: block;
    border: none;
    border-bottom: 1px solid #2E194D;
    padding-block: 13px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('/wp-content/themes/motherapp/assets/images/CaretDown.png') right / 20px no-repeat #fff;
  }

  .mawp-features-header.is-pinned .mawp-mobile-plan-select {
    border: none;
  }

  .mawp-pricing-feature-item .mawp-feature-item-support {
    text-align: left;
    justify-content: flex-start;
  }

  .mawp-feature-item-support {
    border-bottom: 1px solid #9B9B9B;
    margin-bottom: 0;
    font-size: 16px;
    min-height: 56px;
  }
}
