/*
 * Package pages (template-treatments, "Pakiet – opis" fields): description block above the price list.
 * Plain CSS on purpose: not part of the webpack build, deployable without building.
 */

.mk-package-intro {
  margin: 60px 0 0;
  padding: 0 15px;
  color: #000;
  font-family: "Poppins";
}

/* Headings: scoped selectors beat the theme's ".content h2/h3" typography */
.mk-package-intro .mk-package-intro__eyebrow,
.mk-package-intro .mk-package-intro__heading,
.mk-package-intro .mk-package-intro__name {
  display: block;
  color: #000;
}

/* "Dla kogo jest ten pakiet?" */
.mk-package-intro__for {
  position: relative;
  padding: 4px 0 4px 26px;
}

.mk-package-intro__for::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  border-radius: 5px;
  background: linear-gradient(180deg, #A31E9A 0%, #E6007E 100%);
}

.mk-package-intro .mk-package-intro__eyebrow,
.mk-package-intro .mk-package-intro__heading {
  margin: 0 0 10px;
  color: #e11c99;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-package-intro__lead {
  margin: 0;
  max-width: 860px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
}

/* "Co obejmuje pakiet" */
.mk-package-intro .mk-package-intro__heading {
  margin: 50px 0 22px;
}

.mk-package-intro__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-package-intro__item {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px -7px rgba(66, 68, 90, 0.23);
}

/* "+" between the components */
.mk-package-intro__item + .mk-package-intro__item::before {
  content: "+";
  position: absolute;
  top: -20px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(90deg, #A31E9A 0%, #E6007E 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.mk-package-intro .mk-package-intro__name {
  display: inline;
  margin: 0 10px 0 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  vertical-align: middle;
}

.mk-package-intro__dose {
  display: inline-block;
  padding: 4px 14px;
  vertical-align: middle;
  border-radius: 999px;
  background: #fde8f4;
  color: #e11c99;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.mk-package-intro__text {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
}

/* Benefits */
.mk-package-intro__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.mk-package-intro__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 10px;
  border-radius: 999px;
  background: #f6f6f6;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.mk-package-intro__benefits li::before {
  content: "\2713";
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e11c99;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 992px) {
  .mk-package-intro__items {
    flex-direction: row;
  }

  .mk-package-intro__item {
    flex: 1 1 0;
  }

  .mk-package-intro__item + .mk-package-intro__item::before {
    top: 50%;
    left: -20px;
  }
}

@media (max-width: 767px) {
  .mk-package-intro {
    margin-top: 45px;
  }

  .mk-package-intro__for {
    padding-left: 20px;
  }

  .mk-package-intro__lead {
    font-size: 19px;
  }

  .mk-package-intro .mk-package-intro__heading {
    margin-top: 40px;
  }

  .mk-package-intro__item {
    padding: 24px 20px;
  }

  .mk-package-intro__benefits li {
    border-radius: 18px; /* chips may wrap to two lines */
    font-size: 14px;
  }
}
