/*
 * WooCommerce B2B front-end adjustments.
 *
 * Elementor renders the shop, cart, checkout, and account pages, so the
 * placeholder and summary blocks are styled inside the Elementor widget
 * wrappers as well as in native WooCommerce output.
 */
.geser-price-hidden {
	display: inline-block;
	color: var(--geser-color-primary);
	font-family: var(--geser-font-family);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.elementor-widget-woocommerce-product-price .geser-price-hidden,
.elementor-widget-woocommerce-product-add-to-cart .geser-price-hidden {
	font-size: 0.92rem;
}

.woocommerce-cart-form .geser-price-hidden,
.woocommerce-checkout-review-order .geser-price-hidden,
.woocommerce-table--order-details .geser-price-hidden {
	letter-spacing: 0.06em;
	text-transform: none;
}

/*
 * Read-only customer master data shown at checkout and in the account area.
 */
.geser-customer-summary {
	margin: 0 0 32px;
	padding: 24px;
	border: 1px solid var(--geser-color-border);
	border-radius: 4px;
	background: var(--geser-color-surface);
	color: var(--geser-color-dark);
	font-family: var(--geser-font-family);
}

.geser-customer-summary__title {
	margin: 0 0 4px;
	color: var(--geser-color-primary);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.geser-customer-summary__grid {
	display: grid;
	gap: 20px 32px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 20px 0 0;
}

.geser-customer-summary__group {
	margin: 0;
}

.geser-customer-summary__label {
	margin: 0 0 6px;
	color: var(--geser-color-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.geser-customer-summary__value {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

.geser-customer-summary__note {
	margin: 22px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--geser-color-border);
	color: var(--geser-color-muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.geser-customer-summary--incomplete {
	border-left: 4px solid var(--geser-color-accent);
}

/*
 * Backstop for the checkout customer details block.
 *
 * The billing and shipping form callbacks are removed in PHP, so the two
 * columns inside `#customer_details` stay empty and would only add spacing. The
 * read-only summary is rendered before that container, so hiding it is safe.
 * Skipped inside the Elementor editor, where the PHP removal is skipped too so
 * the section stays styleable.
 */
body:not(.elementor-editor-active) .woocommerce-checkout #customer_details {
	display: none;
}
