/**
 * Price-lock countdown widget styling.
 *
 * Minimal, theme-agnostic styling — we aim to blend into whatever
 * theme the dealer is running. Colors use dark neutrals so the
 * widget stays legible on light and dark checkout templates.
 */

.gc-price-lock-row td {
	background: #f7f7f7;
	border-top: 1px solid #e0e0e0;
}

.gc-price-lock-countdown {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9em;
	gap: 0.5em;
	padding: 0.5em 0;
}

.gc-price-lock-countdown__label {
	color: #555;
}

.gc-price-lock-countdown__timer {
	background: #e8f5e9;
	border-radius: 3px;
	color: #1b5e20;
	font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	padding: 0.15em 0.5em;
}

.gc-price-lock-countdown.is-warning .gc-price-lock-countdown__timer {
	background: #fff3e0;
	color: #e65100;
}

.gc-price-lock-countdown.is-expired .gc-price-lock-countdown__timer {
	background: #ffebee;
	color: #b71c1c;
}

.gc-price-lock-countdown.is-expired .gc-price-lock-countdown__expired {
	color: #b71c1c;
}

/**
 * Reconfirmation block: renders above Place Order when the server
 * has flagged the lock as awaiting acknowledgement. Uses a warm
 * border + padding to visually separate it from the rest of the
 * review table.
 */
.gc-price-lock-reconfirm {
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-radius: 4px;
	margin: 0.75em 0;
	padding: 0.75em 1em;
}

.gc-price-lock-reconfirm__label {
	align-items: flex-start;
	color: #3e2723;
	cursor: pointer;
	display: flex;
	font-size: 0.95em;
	gap: 0.5em;
	line-height: 1.4;
}

.gc-price-lock-reconfirm__checkbox {
	flex-shrink: 0;
	margin-top: 0.15em;
}

/**
 * Volume-pricing grid — structural guard only.
 *
 * The theme still owns the look (colour, borders, typography). The plugin
 * guarantees just one thing: the grid renders as a real, legible table on
 * every storefront. Themes commonly ship a responsive `table { display:
 * block }` reset to reflow content tables on narrow viewports, which
 * collapses this data grid into run-together text (headers and prices with
 * no columns). So we pin the table-layout display roles plus a little cell
 * padding for legibility — nothing aesthetic.
 *
 * Everything is scoped under `.gc-volume-pricing-wrap` so no other table is
 * touched and specificity beats bare-element theme resets without
 * `!important`. A wide matrix scrolls horizontally inside the wrapper.
 */
.gc-volume-pricing-wrap {
	max-width: 100%;
	margin: 1em 0;
	overflow-x: auto;
}

.gc-volume-pricing-wrap table.gc-volume-pricing {
	display: table;
	margin: 0;
}

.gc-volume-pricing-wrap table.gc-volume-pricing thead {
	display: table-header-group;
}

.gc-volume-pricing-wrap table.gc-volume-pricing tbody {
	display: table-row-group;
}

.gc-volume-pricing-wrap table.gc-volume-pricing tr {
	display: table-row;
}

.gc-volume-pricing-wrap table.gc-volume-pricing th,
.gc-volume-pricing-wrap table.gc-volume-pricing td {
	display: table-cell;
	padding: 0.4em 0.75em;
	white-space: nowrap;
}

