/*---------------------------------------------------------------------------*\
	#Price-Table
\*---------------------------------------------------------------------------*/

.price-table_wrapper {
	display: grid;
	gap: 2.4rem;
	grid-template-columns: repeat( 3, 1fr );
}

@media screen and (max-width: 960px) {
	.price-table_wrapper {
		grid-template-columns: 1fr;
	}
}





/*---------------------------------------------------------------------------*\
	#Price-Table-Item
\*---------------------------------------------------------------------------*/

.price-table-item_container {
	position: relative;
	height: 100%;
	/* Add .2rem for the minimum border. */
	padding: calc( 2.4rem + .2rem );
	padding-bottom: 0;
}

.price-table-item_wrapper {
	position: relative;
	display: grid;
	gap: 2.4rem;
	align-content: space-between;
	grid-template-columns: 1fr;
	height: 100%;
	z-index: 1;
}


.price-table-item__part_wrapper {
	position: relative;
	display: grid;
	gap: 2.4rem;
	align-content: space-between;
	grid-template-columns: 1fr;
}


/* Background */
.price-table-item__background {
	position: absolute;
	/* Max heigt minus 2.4rem offset. */
	height: calc( 100% - 2.4rem );
	width: 100%;
	top: 0;
	left: 0;
	border: .2rem solid #d6d6d6;
	z-index: 0;
}

	.price-table-item__background::before,
	.price-table-item__background::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        top: -.2rem;
        right: -.2rem;
        border-style: solid;
        border-color: transparent;
        border-width: 0 1.2rem 1.2rem 0;
	}

    .price-table-item__background::before {
        border-right-color: #d6d6d6;
        border-width: 0 1.5rem 1.5rem 0;
    }

    :where( .section:nth-of-type( odd ) ) .price-table-item__background::after {
        border-right-color: #fff;
    }

    :where( .section:nth-of-type( even ) ) .price-table-item__background::after {
        border-right-color: #f5f5f5;
    }


/* Featured Background */
.price-table-item__background--featured {
	border-color: #6bbacd;
	border-width: .4rem;
}

	.price-table-item__background--featured::before,
	.price-table-item__background--featured::after {
        top: -.4rem;
        right: -.4rem;
	}

    .price-table-item__background--featured::before {
        border-right-color: #6bbacd;
        border-width: 0 1.8rem 1.8rem 0;
    }


/* Label */
.price-table-item__label {
	position: absolute;
	background: #6bbacd;
	color: #fff;
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 2.4rem;
	top: 0;
	right: 0;
	z-index: 10;
}

	.price-table-item__label::before,
	.price-table-item__label::after {
		content: '';
		position: absolute;
		width: 0;
		height: 0;
		border-style: solid;
		border-color: transparent;
		border-width: 1.2rem 0 0 1.2rem;
	}

	.price-table-item__label::before {
		bottom: 0;
		left: 0;
		border-left-color: transparent;
		border-width: 1.2rem 0 0 1.2rem;
	}

	.price-table-item__label::after {
		top: 0;
		right: 0;
		border-right-color: transparent;
		border-width: 0 1.2rem 1.2rem 0;
	}

	:where( .section:nth-of-type( odd ) ) .price-table-item__label::before {
		border-left-color: #fff;
	}

	:where( .section:nth-of-type( odd ) ) .price-table-item__label::after {
		border-right-color: #fff;
	}

	:where( .section:nth-of-type( even ) ) .price-table-item__label::before {
		border-left-color: #f5f5f5;
	}

	:where( .section:nth-of-type( even ) ) .price-table-item__label::after {
		border-right-color: #f5f5f5;
	}

.price-table-item__label_container {
	padding: 0 2.4rem;
}


/* Title */
.price-table-item__title {
	position: relative;
	font-size: 2.4rem;
	font-weight: 300;
	line-height: 1.4;
	margin: 0;
	padding: 0;
	padding-bottom: calc( 1.2rem + .2rem )
}

	.price-table-item__title::before {
		content: '';
		position: absolute;
		background-color: #404040;
		width: 9.6rem;
		height: .2rem;
		bottom: 0;
		left: -1.2rem;
	}


/* Price */
.price-table-item__price {
	color: #6bbacd;
	font-size: 3.2rem;
	font-weight: 700;
}

.price-table-item__price :where( .woocommerce-Price-currencySymbol:first-child )::after {
	content: ' ';
}

.price-table-item__price :where( .woocommerce-Price-currencySymbol:last-child )::before {
	content: ' ';
}


/* Short Description */
.price-table-item__short-description_wrapper > :where( :first-child ) {
	margin-top: 0;
}

.price-table-item__short-description_wrapper > :where( :last-child ) {
	margin-bottom: 0;
}


/* Add to Cart */
.price-table-item__add-to-cart,
/* Use :is to override with higher priority. */
.price-table-item__add-to-cart:is( :active, :focus, :hover ) {
	position: relative;
	background-color: #6bbacd;
	color: #fff;
	display: grid;
	align-content: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	outline: none;
	width: 100%;
	height: 6.4rem;
	border: none;
	padding: 0 1.2rem;
	transition: background-color .25s;
}

	/* Use :is to override with higher priority. */
	.price-table-item__add-to-cart:is( :focus, :hover ) {
		background-color: #b8b8b8;
	}

	.price-table-item__add-to-cart::before {
		content: '';
		position: absolute;
		width: 0;
		height: 0;
		bottom: 0;
		left: 0;
		border-style: solid;
		border-color: transparent;
		border-width: 1.2rem 0 0 1.2rem;
	}

	:where( .section:nth-of-type( odd ) ) .price-table-item__add-to-cart::before {
		border-left-color: #fff;
	}

	:where( .section:nth-of-type( even ) ) .price-table-item__add-to-cart::before {
		border-left-color: #f5f5f5;
	}