/**
 * Sign Pricing Matrix — Public Styles
 *
 * @version 1.1.1
 * @lastModified 06-24-26
 * @package Sign_Pricing_Matrix
 */

/* --- Options wrapper ----------------------------------------------------- */
.spm-options {
	margin: 1em 0;
}

/* --- Individual field row ------------------------------------------------ */
.spm-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.75em;
}

.spm-field label {
	font-weight: 600;
	margin-bottom: 0.25em;
}

.spm-field .spm-select,
.spm-field .spm-custom-input {
	max-width: 320px;
	padding: 0.35em 0.5em;
}

.spm-required-mark {
	color: #c00;
}

/* --- Price display (legacy box — now hidden; price shown in native WC .price element) */
.spm-price {
	display: none !important;
}

.spm-price__label {
	margin-right: 0.25em;
}

.spm-price__prompt {
	font-size: 0.8rem;
	font-weight: 400;
	color: #555;
}

/* --- Custom fields ------------------------------------------------------- */
.spm-custom-fields {
	margin-top: 1em;
}

/* --- Error message ------------------------------------------------------- */
.spm-error {
	color: #c00;
	margin-top: 0.5em;
}

/* --- Disabled add-to-cart ----------------------------------------------- */
.single_add_to_cart_button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* --- Cart / checkout order summary — one field per line ------------------ */
/*
 * WooCommerce Blocks renders item meta (from woocommerce_get_item_data) as
 * an inline list joined by " / " via ::before pseudo-elements. These rules
 * override that to show each field on its own line.
 */
.wc-block-components-product-details {
	display: block;
}

.wc-block-components-product-details__item {
	display: block;
	margin-bottom: 3px;
}

.wc-block-components-product-details__item + .wc-block-components-product-details__item::before {
	content: none;
}
