.gc-unavailable-payment-methods {
	border-top: 1px solid #e0e0e0;
	list-style: none;
	margin: 0.75em 0 0;
	padding: 0.5em 0 0;
}

.gc-unavailable-payment-method {
	align-items: baseline;
	color: #646464;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	line-height: 1.4;
	margin: 0;
	padding: 0.4em 0;
}

.gc-unavailable-payment-method__input {
	cursor: not-allowed;
	flex-shrink: 0;
}

.gc-unavailable-payment-method__title {
	font-weight: 600;
}

.gc-unavailable-payment-method__reason {
	flex-basis: 100%;
	font-size: 0.9em;
	padding-left: 1.75em;
}

.gc-method-limits {
	color: #646464;
	font-size: 0.875em;
	font-weight: 400;
	margin-left: 0.5em;
	white-space: nowrap;
}

/*
 * The block's label group is larger than the method name it holds, which WooCommerce sizes on its own element.
 * The name grows to fill the group, which would push the limits to the far edge; growing far more than it takes
 * nearly all the free space, so the limits sit beside the name.
 */
.wc-block-components-radio-control__label-group > .gc-method-limits {
	flex-grow: 1000;
	font-size: 0.875rem;
	line-height: 1.4;
}

/* Where the limits do not fit beside the name, they go under it rather than squeeze it. */
.wc-block-components-radio-control__label-group:has(> .gc-method-limits) {
	-moz-column-gap: 0.5em;
	     column-gap: 0.5em;
	flex-wrap: wrap;
}

.wc-block-components-radio-control__label-group:has(> .gc-method-limits) > .gc-method-limits {
	margin-left: 0;
}

.gc-method-limits-sentence {
	margin: 0 0 0.75em;
}

.gc-cart-limit-notice {
	background: #f6f6f6;
	border-left: 4px solid #b58500;
	line-height: 1.5;
	margin: 0 0 1.5em;
	padding: 1em 1.25em;
}

/* Elementor Pro's Checkout widget zeroes `.woocommerce-info` padding for its own login and coupon toggles, which puts WooCommerce's absolutely positioned notice icon over our sentence. WooCommerce's own classic notice padding gives the icon its gutter back. */
.elementor-widget-woocommerce-checkout-page .woocommerce-info[data-gc-order-limit] {
	padding: 1em 2em 1em 3.5em;
}

/**
 * The block checkout's price-lock countdown.
 *
 * Its own classes only: `.gc-price-lock-countdown` is the classic ticker's, which would read it as its own countdown.
 */

.gc-block-price-lock {
	border-top: 1px solid #e0e0e0;
	font-size: 0.875em;
	padding: 12px 16px;
}

/* The flex rule below would otherwise override the hidden attribute. */
.gc-block-price-lock [hidden] {
	display: none;
}

.gc-block-price-lock__countdown {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0;
}

.gc-block-price-lock__label {
	color: #555;
}

.gc-block-price-lock__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-block-price-lock__ended {
	color: #555;
	margin: 0;
}

.gc-block-price-lock-reconfirm {
	align-items: flex-start;
	display: flex;
	gap: 0.5em;
	line-height: 1.4;
	margin: 0 0 16px;
}

.gc-block-price-lock-reconfirm__checkbox {
	flex-shrink: 0;
	margin: 0.2em 0 0;
}

.gc-block-price-lock-reconfirm__label {
	cursor: pointer;
}

.gc-block-price-lock__status {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/**
 * 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;
}

/**
 * Dated "premium as of Jul 26" label — structural guard only.
 *
 * The theme still owns the look (colour, size, weight). The plugin
 * guarantees just one thing: the label reads as its own line rather than
 * running into the price.
 *
 * It has to be a `span`, not a block element. This markup is appended to
 * WooCommerce's price HTML via `woocommerce_get_price_html`, and themes
 * render that inside `<p class="price">` — a `div` there is invalid and
 * browsers close the paragraph early, which breaks the price's own layout.
 * So the element stays phrasing content and takes its block behaviour from
 * here.
 *
 * Without this rule the span is inline and the page reads
 * "$51.95premium as of Aug 10" with no separator at all. That is not a
 * cosmetic shortfall: a price welded to a date is misread as part of the
 * number. The label exists to say how old the premium behind the price is,
 * and an unreadable label surfaces nothing.
 *
 * `font-size` is the one non-structural property here, and it earns its
 * place: at the price's own size this reads as a second price. Left in
 * relative units so a theme scaling its price scales this with it.
 */
.gc-premium-as-of {
	display: block;
	margin-top: 0.25em;
	font-size: 0.8em;
	line-height: 1.4;
}

/**
 * "Available to order — contact us" notice — structural guard only.
 *
 * The theme still owns the look (colour, size, weight). The plugin guarantees
 * one thing: the notice reads as its own line rather than running into the
 * price.
 *
 * Same constraint, and the same reason, as `premium-staleness.css`: this
 * markup is appended to WooCommerce's price HTML via
 * `woocommerce_get_price_html`, and themes render that inside
 * `<p class="price">`, where a `div` is invalid and browsers close the
 * paragraph early — which breaks the price's own layout. So the element stays
 * phrasing content and takes its block behaviour from here.
 *
 * Without this rule the page reads "$1,299.00Available to order — contact us
 * to arrange this item." with no separator. For this notice that is worse than
 * cosmetic: it is the ONLY thing standing where the Add-to-Cart button used to
 * be (`Products\EnquiryOnlyGate` makes the product non-purchasable, so
 * WooCommerce's own template renders no control at all), so a customer who
 * cannot pick it out of the price is left on a product page with no way to buy
 * and no visible explanation.
 *
 * `font-size` is deliberately NOT reduced here, for the same reason. The
 * staleness label is an aside about a price; this is the call to action.
 */
.gc-enquiry-only {
	display: block;
	margin-top: 0.5em;
	line-height: 1.4;
}

/**
 * Freight delivery note — structural guard only.
 *
 * The theme still owns the look (colour, size, weight). The plugin guarantees
 * one thing: the delivery expectation reads as its own line under the shipping
 * option rather than running into its price.
 *
 * Same constraint, and the same reason, as `enquiry-notice.css`. The markup is
 * echoed on `woocommerce_after_shipping_rate`, which fires INSIDE the cart and
 * checkout shipping list item, immediately after the rate's own
 * `<label>…$250.00</label>`. A `div` there is not invalid the way it is inside
 * `<p class="price">`, but it is still phrasing content in a phrasing context,
 * and themes that lay the shipping row out with flex would stretch a block
 * child across the row. So the element stays a `span` and takes its block
 * behaviour from here. On the Cart and Checkout blocks `freight-note-block.js`
 * puts the same span directly after the rate's radio option, outside its
 * `<label>` so it is not the radio's accessible name and a click on it does not
 * pick the rate.
 *
 * Without this rule the checkout reads "Rhino freight — curbside delivery
 * $250.00Curbside delivery on a scheduled four-hour appointment." with no
 * separator. That matters more than it looks: this sentence is the whole of
 * AC 7 — it is the only place a customer learns, before paying, that a
 * 700-pound safe arrives on a truck by appointment rather than in a parcel,
 * and a customer who cannot pick it out of the price has not been told.
 *
 * `font-size` IS reduced here, unlike the enquiry notice. That notice stands in
 * for an Add-to-Cart button and is the call to action; this one is an aside
 * about a shipping option the customer has already been given, so it reads as
 * secondary to the rate it explains.
 */
.gc-freight-note {
	display: block;
	margin-top: 0.25em;
	font-size: 0.9em;
	line-height: 1.4;
}

/*
 * Outside the label, the note would start at the radio's left edge, so it takes
 * the option's own indent, measured in WooCommerce 9.4.2: 2.25em on the Cart
 * block, 3.5em in the Checkout block's boxed (highlight-checked) list. The note
 * is set at 0.9em, so each is divided by 0.9.
 */
.wc-block-components-radio-control > .gc-freight-note {
	padding: 0 1em 0.75em calc(2.25em / 0.9);
}

.wc-block-components-radio-control--highlight-checked > .gc-freight-note {
	margin-top: 0;
	padding-left: calc(3.5em / 0.9);
}

/**
 * The payment panel's lines on the Checkout block, placed by
 * `payment-disclosure-block.js` between the chosen method's `<label>` and its
 * own content, inside the accordion option.
 *
 * Measured on WooCommerce 11.2.1: the option's text is the step's size
 * (21.76px on the stack's theme) while the method's content is set at
 * 0.875rem with `0 1rem 1rem` padding, so the lines take the content's size and
 * indent and read as part of the panel rather than as a second label. They
 * carry the bottom padding too: a method with no content has its content
 * element hidden, and one with content starts it with no top padding.
 */
.gc-payment-disclosure-block {
	padding: 0 1rem 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

.gc-payment-disclosure-block > .gc-payment-disclosure {
	margin: 0 0 0.5em;
}

.gc-payment-disclosure-block > .gc-payment-disclosure:last-child {
	margin-bottom: 0;
}

/**
 * The block checkout's cancellation terms box, laid out as the price confirmation box beside it.
 */

.gc-block-cancellation-terms {
	align-items: flex-start;
	display: flex;
	gap: 0.5em;
	line-height: 1.4;
	margin: 0 0 16px;
}

.gc-block-cancellation-terms__checkbox {
	flex-shrink: 0;
	margin: 0.2em 0 0;
}

.gc-block-cancellation-terms__label {
	cursor: pointer;
}

/**
 * The price lock deposit pop-up, on all three checkout surfaces.
 */

/* The panel fills the dialog and scrolls, so a click on the dialog itself is a click on its backdrop. */
.gc-deposit-agreement-dialog {
	background: #fff;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	color: #1e1e1e;
	max-height: calc(100vh - 32px);
	max-width: 520px;
	overflow: hidden;
	padding: 0;
	width: calc(100% - 32px);
}

.gc-deposit-agreement-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.gc-deposit-agreement-dialog:focus {
	outline: none;
}

.gc-deposit-agreement-dialog__panel {
	box-sizing: border-box;
	line-height: 1.5;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	position: relative;
}

.gc-deposit-agreement-dialog__close {
	background: none;
	border: 0;
	color: #555;
	cursor: pointer;
	font-size: 1.5em;
	line-height: 1;
	padding: 4px 8px;
	position: absolute;
	right: 8px;
	top: 8px;
}

.gc-deposit-agreement-dialog__headline {
	font-size: 1.25em;
	margin: 0 32px 12px 0;
}

.gc-deposit-agreement-dialog__statement p {
	margin: 0 0 8px;
}

.gc-deposit-agreement-dialog__card {
	margin: 16px 0 0;
}

.gc-deposit-agreement-dialog__card:empty {
	display: none;
}

/* Collect.js's fields and the stack's test card alike. */
.gc-deposit-agreement-dialog__card-fields label,
.gc-deposit-agreement-dialog__card-label {
	display: block;
	font-weight: 600;
	margin: 0 0 4px;
}

.gc-deposit-agreement-dialog__card-fields input,
.gc-deposit-agreement-dialog__card-field > div {
	box-sizing: border-box;
	margin: 0 0 12px;
	min-height: 40px;
	width: 100%;
}

.gc-deposit-agreement-dialog__card-error {
	color: #b32d2e;
	margin: 0 0 8px;
}

.gc-deposit-agreement-dialog__agreement {
	align-items: flex-start;
	display: flex;
	gap: 0.5em;
	margin: 16px 0;
}

.gc-deposit-agreement-dialog__box {
	flex-shrink: 0;
	margin: 0.3em 0 0;
}

.gc-deposit-agreement-dialog__label {
	cursor: pointer;
}

.gc-deposit-agreement-dialog__pay {
	cursor: pointer;
	width: 100%;
}

.gc-deposit-agreement-dialog__pay:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

/**
 * Connect your bank — structural guard only; the theme owns the look.
 *
 * The client shows and hides the area's parts with the `hidden` attribute, and a
 * theme's `.button { display: inline-block }` outranks the browser's own
 * `[hidden]` rule, which would leave Connect your bank showing beside the
 * connected line.
 */
.gc-bank-connect [hidden] {
	display: none !important;
}

.gc-bank-connect__status:not(:empty) {
	margin-right: 0.5em;
}

/**
 * "Cancel my order" in Direct Payments' Zelle popup, and GC's cancel dialog.
 */

/*
 * In flow, last in the shown step's content column: below 768px that column is the sheet that scrolls,
 * so the control is reached by scrolling past the step's own buttons and covers none of them.
 */
.gc-zelle-popup__cancel {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 999px;
	color: #1e1e1e;
	cursor: pointer;
	display: block;
	font-size: 14px;
	line-height: 1.4;
	margin: 0 auto;
	padding: 8px 20px;
	text-decoration: underline;
}

/*
 * The panel is sized to fit its content: the control's row never widens it. Padding, not the control's
 * margin, spaces it: a margin at the end of a scrolling sheet is not scrolled to. Below 768px the sheet
 * has no background of its own, so the row brings one.
 */
.gc-zelle-popup__cancel-row {
	background: #fff;
	contain: inline-size;
	padding: 16px 0;
}

.gc-zelle-popup__cancel-row:has(> .gc-zelle-popup__cancel[hidden]) {
	display: none;
}

/*
 * From 768px Direct Payments centres the panel on the window with a transform, so a panel taller than a
 * short window is cut off at both ends and cannot be scrolled to. Here the panel is centred by its margins
 * instead, and the popup scrolls when it does not fit.
 */
@media (min-width: 768px) {

	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) {
		overflow-y: auto;
	}

	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) .digagesmaincontainer {
		box-sizing: border-box;
		display: flex;
		height: auto;
		min-height: 100%;
		padding: 16px 0;
	}

	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) .digagesmaincenter {
		left: auto;
		margin: auto;
		position: relative;
		top: auto;
		transform: none;
	}
}

/*
 * Below 768px Direct Payments sets the panel and its grid columns to `width: 100%` with their padding and
 * the panel's 3px border on top, a grid that assumes Bootstrap's border-box reset, which it does not ship:
 * at 375px the panel was 381px wide and the X was cut off at the window's edge.
 */
@media (max-width: 767px) {

	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) .digagesmaincenter,
	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) .digagesmaincenter *,
	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) .digagesmaincenter ::before,
	[class~="digages_popup"]:has(.gc-zelle-popup__cancel) .digagesmaincenter ::after {
		box-sizing: border-box;
	}
}

.gc-zelle-popup__cancel[hidden] {
	display: none;
}

.gc-zelle-popup__cancel:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.gc-zelle-cancel-dialog {
	background: #fff;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	color: #1e1e1e;
	max-width: 440px;
	padding: 0;
	width: calc(100% - 32px);
}

.gc-zelle-cancel-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.gc-zelle-cancel-dialog__panel {
	line-height: 1.5;
	padding: 24px;
}

.gc-zelle-cancel-dialog__question {
	font-size: 1.125em;
	margin: 0 0 16px;
}

.gc-zelle-cancel-dialog__message {
	color: #b32d2e;
	margin: 0 0 16px;
}

.gc-zelle-cancel-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.gc-zelle-cancel-dialog__actions button {
	cursor: pointer;
}

.gc-zelle-cancel-dialog__actions button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

