/* pricing grid */
.pricing-group-title {
    margin-bottom: 2rem;
}
.pricing-subtitle {
    margin-bottom: 2rem;
}
.horizontal-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  border-radius: 10px 10px 0 0;
  justify-content:center;
  column-gap: 1rem;
}

.horizontal-radiotab {
  position: absolute;
  opacity: 0;
}

.horizontal-tabs-label {
  width: 100%;
  padding: 1rem .8rem;
  background: #fbf9ff;
  cursor: pointer;
  font-size: 1.2rem;
  font-size: clamp(1rem, 5vw, 1.4rem);
  transition: background .3s, color .3s;
  border-top:1px solid #ebe5f6;
  border-right: 1px solid #ebe5f6;
  border-left:1px solid #ebe5f6;
  border-radius: 0;
  text-align: center;
  background: linear-gradient(to right, #ebe5f6 50%, #fbf9ff 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;
}
.horizontal-tabs-label:last-of-type {
    border-bottom: 1px solid #ebe5f6;
}
.horizontal-tabs-label:hover {
  background-position: left bottom;
}

.horizontal-tabs-label:active {
	background: #ebe5f6;

}

.horizontal-radiotab:checked + .horizontal-tabs-label {
  background: var(--color-white);
background: linear-gradient(to left, #fff 50%, #fbf9ff 50%);
	background-size: 200% 100%;
	background-position: right bottom;
  border-top: solid 1px var(--color-lightgrey);
  border-left: solid 1px var(--color-lightgrey);
  border-right: solid 1px var(--color-lightgrey);
  border-bottom: solid 1px var(--color-white);
}

.horizontal-tabs-panel {
  display: none;
  padding: 3rem 3rem 2rem;
  background: #fff;
  width: 100%;
  border-top: solid 1px var(--color-lightgrey);
  border-left: solid 1px var(--color-lightgrey);
  border-bottom: solid 1px var(--color-lightgrey);
  border-right: solid 1px var(--color-lightgrey);
  border-radius: 0;
}


.horizontal-radiotab:checked + .horizontal-tabs-label + .horizontal-tabs-panel {
  display: block;
  margin-top: -1px;
}

@media (min-width: 640px) {
  .horizontal-tabs-panel {
    order: 99;
	  border-radius: 10px;
  }

  .horizontal-tabs-label {
    width: 25%;
    border-radius: 10px 10px 0 0;
    border-bottom: solid 1px var(--color-lightgrey);
    margin-top: 2px;
    z-index: 100;
    position: relative;
  }

.horizontal-tabs-label:last-of-type {
    border-bottom: 0;
}

}

.pricing-grid {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.pricing-section  .horizontal-tabs-label {
    font-weight: 600;
    font-size: 28px;
}
.pg-row-container {
    width: 100%;
    flex-direction: column;
   	background: #fff;
}
.pg-cell {
    text-align: center;
}
.pg-label {margin-right:1rem; position: relative; cursor:pointer; font-size: 1.2rem;
}
.pg-row-container .pg-cell, .pg-row-container .pg-label {background: #fbf9ff; height: 100%;}
.pg-row-container:nth-child(odd) .pg-cell, .pg-row-container:nth-child(odd) .pg-label {
    background:#fff;
}
.pg-row {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
	column-gap:1rem;
    align-items: center;
}
.pg-row.pg-header-row {
    margin-bottom: 1rem;
}

.pg-row-container:nth-child(odd) .pg-header-row .pg-cell {
    background: #fbf9ff;
    border-radius: 10px;
    padding-bottom: 1rem;
}
.pg-header-row .pg-title {
    display: block;
    width: 100%;
    background: #a785fa;
    font-size: 2rem;
	font-size: clamp(1rem, 2vw, 2rem);
    border-radius: 6px;
    padding: .25em;
    color: var(--color-white);
    text-transform: uppercase;
}

.pg-header-row .pg-cell:nth-of-type(3) .pg-title {
    background: #7f4fed;
}

.pg-header-row .pg-cell:nth-of-type(4) .pg-title {
    background: #572ab9;
}
.pg-header-row .pg-cell p {
    margin-top: 1rem;
    font-size: .9rem;
    padding: 0 1rem;
}
.pg-row-container:nth-child(2) .pg-cell, .pg-row-container:nth-child(2) .pg-label {
    border-top: 1px solid var(--color-lightgrey); 
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.pg-row-container:last-child .pg-cell, .pg-row-container:last-child  .pg-label {
    border-bottom: 1px solid var(--color-lightgrey); 
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.pg-row:not(.pg-header-row) .pg-cell, .pg-row:not(.pg-header-row) .pg-label {
    padding: .5rem 1rem;
    border-right: solid 1px var(--color-lightgrey);
    border-left: solid 1px var(--color-lightgrey);
}
.pg-row:not(.pg-header-row) .pg-cell {
    height: 100%;
    display: flex;
    align-items: center;}
.pg-row:not(.pg-header-row) .pg-label {
    text-align: right;
}

.pg-cell .circle {
  position: relative;
  background: #1a103a;
  border-radius: 50%;
  width: 1.75rem;
  height: 1.75rem;
	margin:0 auto; transition: all .2s ease-in-out;
}

.pg-cell .checkmark {display: inline-block;transform: rotate(45deg);margin-top: 3px;height: 18px;width: 9px;border-bottom: 5px solid #7f4fed;border-right: 5px solid #7f4fed;transition: all .2s ease-in-out;}

.pg-cell .dash {
    height: 5px;
    background: #b7b7b7;
    width: 21px;
    margin: 0 auto;
    margin-top: 10px;
    border: 1px solid #b7b7b7;
    border-radius: 2px;
	transition: all .2s ease-in-out;
}

.pg-cell .plus {
	width: 21px;
	height: 21px;
	margin: 0 auto;
	margin-top:3px;
	background: linear-gradient(to bottom, transparent 40%, #badac2 40%, #badac2 60%, transparent 60%), linear-gradient(to right, transparent 40%, #badac2 40%, #badac2 60%, transparent 60%);
	transition: all .2s ease-in-out;
}

.pg-cell .plus:hover, .pg-cell .dash:hover, .pg-cell .circle:hover  { transform:scale(1.2);}

.pg-label .hover-text {
    display: block;
    width: 230px;
    padding: 15px 20px;
    background: var(--color-white);
    border-radius: 8px;
    border: .5px solid rgb(27 16 61 / 18%);
    box-shadow: 0 0 1px rgb(0 0 0 / 10%), 0 10px 21px rgb(0 0 0 / 8%);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    position: absolute;
    bottom: 25px;
    left: 12px;
    translate: -36% 0;
    margin-bottom: 10px;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
    z-index: 10;
}

.pg-label:hover .hover-text {
    opacity: 1;
}

.pg-label:hover .hover-text::after {
    content: '';
    display: block;
    width: 16px;
    aspect-ratio: 1;
    background: inherit;
    position: absolute;
    bottom: 0;
    left: 87%;
    translate: -8px 50%;
    transform: rotate(45deg);
}

.pricing-group-partner .pg-cell:nth-child(2) {
    display: none;
}

.pricing-group.pricing-group-partner .pg-row {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width:1023.9px){
    .pg-row {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    column-gap:0; border-bottom: 1px solid var(--color-lightgrey);
    }
	.pricing-group.pricing-group-partner .pg-row {
    grid-template-columns: repeat(2, 1fr);
}
    .pg-label {
    grid-column-start: 1;
    grid-column-end: 4;
    display: flex;
    margin-right: 0;
    }
    .pg-row:not(.pg-header-row) .pg-label {
        text-align: left;
    }
    .pg-row:not(.pg-header-row) .pg-cell:not(:last-child){
        border-right: none;
    }
    .pg-row:not(.pg-header-row) .pg-cell:not(:nth-child(2)){
        border-left: none;
    }

    .pricing-group-partner .pg-row:not(.pg-header-row) .pg-cell:nth-child(3){
        border-left: 1px solid var(--color-lightgrey);
    }
    .pg-row-container:nth-child(2) .pg-cell {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
    .pg-row-container:last-child .pg-label {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom:0}

	.pg-row-container:last-child .pg-cell:not(:last-child){
        border-bottom-right-radius:0;
    }
	.pg-row-container:last-child .pg-cell:not(:nth-child(2)){
        border-bottom-left-radius:0;
    }
	
.pg-row-container:last-child .pg-row  {border-bottom:0;}
.pg-row.pg-header-row  {border-bottom:0; column-gap:10px}
	.pg-row-container:nth-child(odd) .pg-header-row .pg-cell {padding-bottom:0;}
}
@media (max-width:767.9px) {
	.pg-header-row .pg-title + p {
    display: none;
}
}
