.pricing-section {
  background-color: var(--neutrals-white);
  padding: 80px 0 120px;
  margin: 0 -1rem;
}

.pricing-section .grid {
  gap: 75px 49px;
  align-items: center;
  margin-top: 45px;
}

.pricing-item-holder {
  position: relative;
  width: 100%;
}

.pricing-item {
  padding: 20px;
  position: relative;
  background-color: var(--blue-ocean);
  min-height: 208px;
  height: fit-content;
  border: 1px solid var(--blue-ocean);
}

.pricing-item-holder .shadow {
  background: var(--neutrals-charcoal);
  position: absolute;
}

.pricing-item-holder:nth-child(1) .pricing-item {
  min-height: 238px;
  padding-top: 50px;
  clip-path: polygon(0 0, 100% 30px, calc(100% - 20px) 100%, 0% 100%);
  -webkit-clip-path: polygon(0 0, 100% 30px, calc(100% - 20px) 100%, 0% 100%);
}

.pricing-item-holder:nth-child(1) .shadow {
  top: 10px;
  right: -25px;
  width: 100%;
  height: calc(100% - 30px);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0% 100%);
}

.pricing-item-holder:nth-child(2) {
  margin-top: 20px;
}

.pricing-item-holder:nth-child(5) {
  margin-top: -20px;
}

.pricing-item-holder:nth-child(2) .shadow {
  top: -20px;
  right: -25px;
  width: 100%;
  height: 100%;
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0% 100%);
  -webkit-clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0% 100%);
}

.pricing-item-holder:nth-child(3) .pricing-item {
  min-height: 238px;
  padding-top: 50px;
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0 30px, 100% 0, 100% 100%, 0% 100%);
}

.pricing-item-holder:nth-child(3) .shadow {
  top: 10px;
  right: -25px;
  width: 100%;
  height: calc(100% - 12px - 10px);
}

.pricing-item-holder:nth-child(4) .shadow {
  top: -30px;
  right: -25px;
  width: 100%;
  height: calc(100% + 10px);
  clip-path: polygon(0 11px, calc(100% - 10px) 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0 11px, calc(100% - 10px) 0, 100% 100%, 0% 100%);
}

.pricing-item-holder:nth-child(5) .pricing-item {
  min-height: 228px;
  padding-top: 40px;
  clip-path: polygon(0 20px, 100% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0 20px, 100% 0, 100% 100%, 0% 100%);
}

.pricing-item-holder:nth-child(5) .shadow {
  top: 0;
  right: -25px;
  width: 100%;
  height: calc(100% - 20px);
  clip-path: polygon(0 7px, 100% 0, calc(100% - 5px) 100%, 0% 100%);
  -webkit-clip-path: polygon(0 7px, 100% 0, calc(100% - 5px) 100%, 0% 100%);
}

.pricing-item-holder:nth-child(6) .shadow {
  top: -10px;
  right: -25px;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1352px) {
  .pricing-section {
    padding-left: 20px;
    padding-right: 45px;
    overflow: hidden;
  }
}

@media screen and (max-width: 767px) {
  .pricing-section {
    padding-left: 10px;
    padding-right: 35px;
  }
}

@media screen and (max-width: 480px) {
  .pricing-section {
    padding-right: 10px;
  }

  .pricing-section .grid {
    gap: 16px;
  }

  .pricing-item {
    width: calc(100% - 25px);
  }

  .pricing-item-holder .shadow {
    width: calc(100% - 20px) !important;
  }

  .pricing-item-holder:nth-child(1) .shadow,
  .pricing-item-holder:nth-child(2) .shadow,
  .pricing-item-holder:nth-child(3) .shadow,
  .pricing-item-holder:nth-child(4) .shadow,
  .pricing-item-holder:nth-child(5) .shadow,
  .pricing-item-holder:nth-child(6) .shadow {
    right: 0;
  }

  .pricing-item-holder:nth-child(4) {
    margin-top: 36px;
  }

  .pricing-item-holder:nth-child(5) {
    margin-top: 0;
  }

  .pricing-item-holder:nth-child(6) {
    margin-top: 10px;
  }
}

/* @supports (-webkit-touch-callout: none) and (not (translate: none)) {
  @media screen and (max-width: 1199px) {
    .pricing-section .grid {
      display: grid;
    }

    .pricing-section .grid > .pricing-item-holder:nth-child(2),
    .pricing-section .grid > .pricing-item-holder:nth-child(3) {
      margin-left: 49px;
    }
    .pricing-section .grid > .pricing-item-holder:nth-child(4) {
      margin: 75px 0 0 0;
    }
    .pricing-section .grid > .pricing-item-holder:nth-child(n + 5) {
      margin: 75px 0 0 49px;
    }
  }
} */
