.chp-configurator {
	width: 100%;
}

.chp-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.chp-pricing-column {
	border: 1px solid #ddd;
	border-radius: 9px;
	overflow: hidden;
	background: #fff;
}

.chp-pricing-column h3 {
	margin: 0;
	padding: 14px 15px 8px;
	font-size: 16px;
	font-weight: 700;
}

.chp-pricing-table {
	padding: 0 14px 14px;
}

.chp-pricing-header,
.chp-pricing-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 9px 8px;
	align-items: center;
}

.chp-pricing-header {
	font-weight: 700;
	border-bottom: 1px solid #d7d7d7;
}

.chp-pricing-header span:last-child,
.chp-pricing-row strong {
	text-align: right;
}

.chp-pricing-row {
	border-radius: 5px;
	transition:
		background-color .15s ease,
		box-shadow .15s ease;
}

.chp-pricing-row.is-active {
	background: #f0f0f0;
	box-shadow: inset 3px 0 0 currentColor;
}

.chp-pricing-row.is-active span,
.chp-pricing-row.is-active strong {
	font-weight: 700;
}

.chp-options-column,
.chp-cart-form {
	min-width: 0;
	width: 100%;
}

.chp-field {
	margin-bottom: 18px;
}

.chp-field > label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.chp-field select,
.chp-field input[type="number"] {
	width: 100%;
	min-height: 42px;
}

.chp-field input[type="file"] {
	max-width: 100%;
}

.chp-file-help {
	display: block;
	margin-top: 6px;
	font-size: .85em;
}

.chp-checkbox label {
	font-weight: 400;
}

.chp-option-price {
	white-space: nowrap;
}

.chp-summary {
	margin: 20px 0;
	padding: 14px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.chp-summary > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin: 5px 0;
}

.chp-summary strong {
	font-size: 18px;
}

.chp-cart-form .single_add_to_cart_button {
	margin-top: 4px;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	margin-bottom: 20px;
}


/* WooCommerce Blocks: each option on its own line. */
.wc-block-components-product-details > span {
	display: block !important;
	margin-bottom: 6px;
}

.wc-block-components-product-details__name {
	display: block !important;
	font-weight: 600;
	line-height: 1.2;
}

.wc-block-components-product-details__value {
	display: block !important;
	font-size: .8em;
	line-height: 1.3;
	margin-top: 2px;
}

.wc-block-components-product-details > span > span[aria-hidden="true"] {
	display: none !important;
}


/* Classic WooCommerce / Elementor mini-cart metadata. */
.woocommerce .wc-item-meta,
.woocommerce dl.variation,
.elementor-menu-cart__product dl.variation {
	display: block !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	font-size: 13px;
	line-height: 1.35;
}

.woocommerce dl.variation dt,
.woocommerce dl.variation dd,
.elementor-menu-cart__product dl.variation dt,
.elementor-menu-cart__product dl.variation dd {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce dl.variation dt,
.elementor-menu-cart__product dl.variation dt {
	font-weight: 600;
}

.woocommerce dl.variation dd,
.elementor-menu-cart__product dl.variation dd {
	font-size: .8em;
	margin-bottom: 8px !important;
	overflow-wrap: anywhere;
}

.woocommerce dl.variation dd p,
.elementor-menu-cart__product dl.variation dd p {
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce .wc-item-meta {
	list-style: none;
}

.woocommerce .wc-item-meta li {
	display: block !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.woocommerce .wc-item-meta-label {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 600;
}

.woocommerce .wc-item-meta li p {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: .8em;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {

	.chp-layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}


/* Photo/Image optional puck text fields. */
.chp-text-group {
	border: 0;
	margin: 0 0 18px;
	padding: 0;
	min-width: 0;
}

.chp-text-group legend {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-weight: 600;
}

.chp-text-group input[type="text"] {
	display: block;
	width: 100%;
	min-height: 42px;
	margin: 0 0 10px;
}

.chp-text-group input[type="text"]:last-child {
	margin-bottom: 0;
}

.chp-text-group--back {
	margin-top: 18px;
	margin-bottom: 0;
}


/* ==========================================================
   Product long description + optional ACF WYSIWYG tabs
   ========================================================== */

.chp-product-content,
.chp-product-tabs {
	margin-top: 40px;
	margin-bottom: 40px;
}

.chp-product-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0;
	border-bottom: 3px solid #b8c3c5;
}

.chp-product-tabs__button {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	margin: 0;
	padding: 12px 18px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.chp-product-tabs__button:hover,
.chp-product-tabs__button:focus-visible {
	background: #eef1f1;
}

.chp-product-tabs__button.is-active {
	background: #b8c3c5;
	color: #fff;
}

.chp-product-tabs__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.chp-product-tabs__panels {
	min-width: 0;
}

.chp-product-tabs__panel {
	padding: 24px 0;
}

.chp-product-tabs__panel[hidden] {
	display: none !important;
}

.chp-product-tabs__panel > :first-child,
.chp-product-content > :first-child {
	margin-top: 0;
}

.chp-product-tabs__panel > :last-child,
.chp-product-content > :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {

	.chp-product-tabs__nav {
		display: grid;
		grid-template-columns: 1fr;
		border-bottom: 0;
	}

	.chp-product-tabs__button {
		width: 100%;
		border-bottom: 1px solid #b8c3c5;
		text-align: left;
	}

	.chp-product-tabs__button.is-active {
		border-bottom-color: #b8c3c5;
	}
}

.chp-country-message {
	display: block;
	margin-top: 6px;
	font-size: .85em;
	color: #b42318;
}
