/**
 * BNC Checkout frontend styles (BEM).
 * Override via theme: copy selectors or add higher-specificity rules.
 */

.bnc-checkout {
	--bnc-color-primary: #000;
	--bnc-color-border: #242727;
	--bnc-color-bg: #fff;
	--bnc-color-notice: #f5f5f5;
	--bnc-spacing: 1rem;
	margin: 0 auto;
	max-width: 100%;
	min-width: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.bnc-checkout__notice {
	background: #fff;
	color: #000;
	border: 1px solid var(--bnc-color-border);
	padding: var(--bnc-spacing);
	margin-bottom: var(--bnc-spacing);
}

.bnc-checkout__message-text,
.bnc-checkout__empty {
	margin: 0;
	color: inherit;
}

.bnc-checkout__message-actions,
.bnc-checkout__empty-actions {
	margin-top: var(--bnc-spacing);
}

.bnc-checkout__empty-state,
.bnc-checkout__notice.bnc-checkout__message-box {
	background: transparent;
	color: inherit;
	border: 0;
	padding: 0;
}

.bnc-checkout__hint {
	color: #FFF;
	font-style:italic;
	font-weight:300;
	font-size: 1rem;
}

.bnc-checkout__hints {
	margin-top: calc(var(--bnc-spacing) * 1.5);
	padding-top: var(--bnc-spacing);
}

.bnc-checkout__hints .bnc-checkout__hint {
	margin: 0 0 0.5rem;
}

.bnc-checkout__hints .bnc-checkout__hint:last-child {
	margin-bottom: 0;
}

.bnc-checkout__heading {
	margin: 0 0 var(--bnc-spacing);
	font-size: 1.25rem;
}

.bnc-checkout__table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--wp--preset--spacing--small);
}

.bnc-checkout__table th,
.bnc-checkout__table td {
	border-bottom: 1px solid var(--bnc-color-border);
	padding: 0.75rem 0.5rem;
	text-align: left;
	vertical-align: top;
}

.bnc-checkout__table th.bnc-checkout__cell--price,
.bnc-checkout__table td.bnc-checkout__line-total {
	text-align: right;
	white-space: nowrap;
}

.bnc-checkout__sku {
	display: block;
	color: #777;
	font-size: 0.85rem;
}

.bnc-checkout__cell--qty {
	vertical-align: middle;
}

.bnc-checkout__qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--bnc-color-border);
	background: var(--bnc-color-bg, #fff);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.bnc-checkout__qty-stepper--updating {
	opacity: 0.65;
}

.bnc-checkout__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bnc-color-primary, #1a1a1a);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bnc-checkout__qty-btn:hover:not(:disabled),
.bnc-checkout__qty-btn:focus-visible:not(:disabled) {
	background: rgba(0, 0, 0, 0.05);
}

.bnc-checkout__qty-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.bnc-checkout__qty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
	color:#000;
}

.bnc-checkout__cell--remove {
	width: 2.5rem;
	text-align: right;
	vertical-align: middle;
	padding-right: 0;
}

.bnc-checkout__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.bnc-checkout__remove:hover,
.bnc-checkout__remove:focus {
	color: #fff;
}

.bnc-checkout__summary {
	margin-bottom: var(--bnc-spacing);
}

.bnc-checkout__section--addresses {
	margin-top: 2rem;
}

.bnc-checkout__section--review-meta {
	margin-top: 2rem;
}

.bnc-checkout__section--shipping {
	margin-top: 2rem;
}

.bnc-checkout__section--totals {
	margin-top: 2.5rem;
}

.bnc-checkout__heading--compact {
	margin-bottom: 1rem;
}

.bnc-checkout__review-meta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
}

.bnc-checkout__review-meta-col--addresses .bnc-checkout__review-address-grid {
	gap: 1.25rem 1.5rem;
}

.bnc-checkout--review .bnc-checkout__review-meta-col--addresses .bnc-checkout__shipping-panel--embedded {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.bnc-checkout--review .bnc-checkout__review-meta-col--payment {
	display: grid;
	align-content: start;
}

.bnc-checkout--review .bnc-checkout__form {
	margin-top: 3rem;
}

.bnc-checkout--review .bnc-checkout__legal {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: right;
}

.bnc-checkout--review .bnc-checkout__legal legend {
	text-align: right;
	margin-bottom: 0.75rem;
	padding: 0 0 0.35rem;
}

.bnc-checkout--review .bnc-checkout__legal .bnc-checkout__checkbox {
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
	max-width: none;
	text-align: right;
}

.bnc-checkout--review .bnc-checkout__legal .bnc-checkout__checkbox input[type='checkbox'] {
	order: 2;
	flex-shrink: 0;
}

.bnc-checkout--review .bnc-checkout__legal .bnc-checkout__checkbox span {
	order: 1;
	white-space: nowrap;
}

.bnc-checkout__shipping-panel--full .bnc-checkout__detail-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem 2rem;
}

.bnc-checkout__shipping-panel--full .bnc-checkout__detail-list-row {
	grid-template-columns: 1fr;
	gap: 0.25rem;
	padding: 0;
	border-bottom: 0;
}

.bnc-checkout__shipping-panel--full .bnc-checkout__detail-list-row dd {
	text-align: left;
}

.bnc-checkout__review-address-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
}

.bnc-checkout__review-address-title {
	margin: 0 0 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--bnc-color-border);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.bnc-checkout__review-address {
	display: block;
	margin: 0;
	font-style: normal;
	font-size: 0.98rem;
	line-height: 1.55;
}

.bnc-checkout__review-address-same {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
}

.bnc-checkout__summary-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.25rem 0;
}

.bnc-checkout__summary-row--total {
	border-top: 1px solid var(--bnc-color-border);
	margin-top: 0.5rem;
	padding-top: 0.75rem;
}

.bnc-checkout__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: var(--bnc-spacing);
}

.bnc-checkout__actions .bnc-checkout__button--primary {
	margin-left: auto;
}

.bnc-checkout__button {
	display: inline-block;
	padding: 0.65rem 1.25rem;
	border: 1px solid var(--bnc-color-border);
	background: #000;
	color: #FFF;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	text-transform:uppercase;
}

.bnc-checkout__button--primary {
	background: #FFF;
	border-color: #FFF;
	color: #000;
}

.bnc-checkout__button--text {
	border: none;
	background: none;
	padding: 0;
	text-decoration: underline;
}

.bnc-checkout__button--order {
	font-weight: 600;
}

.bnc-checkout__button--order:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.bnc-checkout__field {
	margin-bottom: 0.75rem;
}

.bnc-checkout__field label {
	display: block;
	margin-bottom: 0.25rem;
}

.bnc-checkout__field input:not([type='checkbox']):not([type='radio']),
.bnc-checkout__field select {
	width: 100%;
	max-width: 420px;
	padding: 0.5rem;
	border:0;
	border-bottom: 1px solid #FFF;
}

.bnc-checkout__billing-toggle-wrap {
	margin: 0 0 var(--bnc-spacing);
}

.bnc-checkout__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	max-width: 420px;
	cursor: pointer;
}

.bnc-checkout__checkbox input[type='checkbox'] {
	position: static;
	float: none;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0.15rem 0 0;
	padding: 0;
	border: 1px solid #FFF;
	accent-color: var(--bnc-color-primary, #1a1a1a);
}

.bnc-checkout__checkbox span {
	line-height: 1.45;
}

.bnc-checkout__fieldset {
	border: 1px solid var(--bnc-color-border);
	padding: var(--bnc-spacing);
	margin-bottom: var(--bnc-spacing);
}

.bnc-checkout--address {
	--bnc-address-muted: rgba(255, 255, 255, 0.72);
}

.bnc-checkout__address-form {
	display: grid;
	gap: 1.25rem;
}

.bnc-checkout__address-section-header {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bnc-color-border);
}

.bnc-checkout__address-section-title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
}

.bnc-checkout__address-section-desc {
	margin: 0;
	color: var(--bnc-address-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.bnc-checkout__address-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
}

.bnc-checkout__address-column {
	display: grid;
	gap: 1.35rem;
	align-content: start;
}

.bnc-checkout__address-group {
	display: grid;
	gap: 0.85rem;
}

.bnc-checkout__address-group-title {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bnc-address-muted);
}

.bnc-checkout__address-row {
	display: grid;
	gap: 0.85rem;
}

.bnc-checkout__address-row--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bnc-checkout__address-row--postcode {
	grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr);
}

.bnc-checkout--address .bnc-checkout__field {
	margin-bottom: 0;
}

.bnc-checkout--address .bnc-checkout__field label {
	margin-bottom: 0.4rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: inherit;
}

.bnc-checkout__required {
	color: #e57373;
}

.bnc-checkout--address .bnc-checkout__input,
.bnc-checkout--address .bnc-checkout__field input:not([type='checkbox']):not([type='radio']),
.bnc-checkout--address .bnc-checkout__field select {
	width: 100%;
	max-width: none;
	padding: 0 0.85rem 0.72rem 0;
	border:0;
	border-bottom: 1px solid #FFF;
	background: #000;
	color: inherit;
	font: inherit;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bnc-checkout--address .bnc-checkout__input:focus,
.bnc-checkout--address .bnc-checkout__field input:not([type='checkbox']):not([type='radio']):focus,
.bnc-checkout--address .bnc-checkout__field select:focus {
	outline: none;
	border-color:#FFF;
}

.bnc-checkout--address .bnc-checkout__billing-toggle-wrap {
	margin: 0;
	padding: 1rem 1.15rem 1rem 0;
	border: 0;
}

.bnc-checkout--address .bnc-checkout__checkbox {
	max-width: none;
}

.bnc-checkout--shipping-payment {
	--bnc-shipping-muted: rgba(255, 255, 255, 0.72);
}

.bnc-checkout__shipping-form {
	display: grid;
	gap: 1.25rem;
}

.bnc-checkout__shipping-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
}

.bnc-checkout__shipping-panel {
	display: grid;
	gap: 0.5rem;
	align-content: start;
	margin-bottom: 1.75rem;
}

.bnc-checkout__shipping-panel:last-child {
	margin-bottom: 0;
}

.bnc-checkout__shipping-panel-header {
	margin-bottom: 0.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bnc-color-border);
}

.bnc-checkout__shipping-panel-title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
}

.bnc-checkout__shipping-panel-desc {
	margin: 0;
	color: var(--bnc-shipping-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.bnc-checkout__detail-list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
}

.bnc-checkout__detail-list-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 2rem;
}

.bnc-checkout__detail-list-pair .bnc-checkout__detail-list-row {
	grid-template-columns: 1fr;
	gap: 0.25rem;
	padding: 0;
	border-bottom: 0;
}

.bnc-checkout__detail-list-pair .bnc-checkout__detail-list-row dd {
	text-align: left;
}

.bnc-checkout__detail-list-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: baseline;
	margin: 0;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--bnc-color-border);
}

.bnc-checkout__detail-list-row:last-child {
	border-bottom: 0;
}

.bnc-checkout__detail-list-row dt {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--bnc-shipping-muted);
}

.bnc-checkout__detail-list-row dd {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	text-align: right;
}

.bnc-checkout__detail-list-row--highlight dd {
	font-size: 1.05rem;
}

.bnc-checkout__shipping-note {
	margin: 0;
	padding-top: 0.35rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: inherit;
}

.bnc-checkout__shipping-note--muted {
	color: var(--bnc-shipping-muted);
	font-style: italic;
	font-weight: 300;
}

.bnc-checkout__payment-card {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--bnc-color-border);
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
}

.bnc-checkout__payment-card--static {
	cursor: default;
}

.bnc-checkout__shipping-grid--review {
	margin-bottom: 2rem;
}

.bnc-checkout__payment-info {
	display: grid;
	gap: 1rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--bnc-color-border);
	background: rgba(255, 255, 255, 0.04);
}

.bnc-checkout__payment-info-lead {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.5;
	font-weight: 500;
}

.bnc-checkout__payment-steps {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bnc-checkout__payment-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: start;
}

.bnc-checkout__payment-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border: 1px solid var(--bnc-color-border);
	border-radius: 50%;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
	color: var(--bnc-shipping-muted);
}

.bnc-checkout__payment-step-text {
	font-size: 0.92rem;
	line-height: 1.45;
	padding-top: 0.1rem;
}

.bnc-checkout__payment-examples {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.bnc-checkout__payment-examples-label {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--bnc-shipping-muted);
}

.bnc-checkout__payment-examples-note {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--bnc-shipping-muted);
	font-style: italic;
	font-weight: 300;
}

.bnc-checkout__payment-gateway-fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	display: grid;
	gap: 0.75rem;
}

.bnc-checkout__payment-gateway-legend {
	margin: 0 0 0.25rem;
	font-size: 0.92rem;
	font-weight: 600;
}

.bnc-checkout__payment-card-input {
	position: static;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0.2rem 0 0;
	accent-color: var(--bnc-color-primary, #fff);
}

.bnc-checkout__payment-card-body {
	display: grid;
	gap: 0.25rem;
}

.bnc-checkout__payment-card-title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.bnc-checkout__payment-card-desc {
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--bnc-shipping-muted);
}

.bnc-checkout__payment-selected {
	display: grid;
	gap: 0.35rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--bnc-color-border);
	border-radius: 4px;
}

.bnc-checkout__payment-selected-label,
.bnc-checkout__payment-selected-value,
.bnc-checkout__payment-selected-hint {
	margin: 0;
}

.bnc-checkout__payment-selected-label {
	font-size: 0.92rem;
	color: var(--bnc-shipping-muted);
}

.bnc-checkout__payment-selected-value {
	font-weight: 600;
}

.bnc-checkout__payment-selected-hint {
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--bnc-shipping-muted);
}

.bnc-checkout__payment-logos {
	display: grid;
	grid-template-columns: repeat(auto-fill, 5.75rem);
	justify-content: start;
	gap: 0.5rem;
	width: 100%;
	margin: 0;
	opacity: 1;
}

.bnc-checkout__payment-logo {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 5.75rem;
	max-width: 5.75rem;
	padding: 5px;
	background: #fff;
	overflow: visible;
}

.bnc-checkout__payment-logo-asterisk {
	position: absolute;
	top: 1px;
	right: 2px;
	z-index: 1;
	font-size: 1.15rem;
	line-height: 1;
	font-weight: 700;
	color: #111;
	pointer-events: none;
}

.bnc-checkout__payment-logos-note {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
}

.bnc-checkout__payment-logo-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 3rem;
	object-fit: contain;
	object-position: center center;
}

.bnc-checkout__payment-element {
	border: 1px solid var(--bnc-color-border);
	padding: var(--bnc-spacing);
	margin-bottom: var(--bnc-spacing);
	min-height: 120px;
}

.bnc-checkout__thankyou-status,
.bnc-checkout__thankyou-result {
	padding: 0;
}

.bnc-checkout--thankyou {
	display: grid;
	gap: 1.75rem;
}

.bnc-checkout__thankyou-hero {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	text-align: center;
	padding: 1.5rem 1rem 0.5rem;
}

.bnc-checkout__thankyou-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	border: 1px solid var(--bnc-color-border);
}

.bnc-checkout__thankyou-icon--success {
	display: none;
	background: rgba(46, 125, 50, 0.12);
	color: #2e7d32;
}

.bnc-checkout__thankyou-icon--pending {
	background: rgba(255, 255, 255, 0.04);
}

.bnc-checkout__thankyou-spinner {
	width: 1.5rem;
	height: 1.5rem;
	border: 2px solid var(--bnc-color-border);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: bnc-checkout-spin 0.8s linear infinite;
}

@keyframes bnc-checkout-spin {
	to {
		transform: rotate(360deg);
	}
}

.bnc-checkout__thankyou-check {
	width: 2rem;
	height: 2rem;
}

.bnc-checkout--thankyou-confirmed .bnc-checkout__thankyou-icon--pending {
	display: none;
}

.bnc-checkout--thankyou-confirmed .bnc-checkout__thankyou-icon--success {
	display: inline-flex;
}

.bnc-checkout__thankyou-lead {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.35;
}

.bnc-checkout__thankyou-sub {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
}

.bnc-checkout__thankyou-order-box {
	display: grid;
	gap: 0.35rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--bnc-color-border);
	background: rgba(255, 255, 255, 0.04);
	text-align: center;
}

.bnc-checkout__thankyou-order-label {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bnc-checkout__thankyou-order-number {
	font-size: 1.35rem;
	line-height: 1.3;
}

.bnc-checkout__thankyou-email-notice {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.5;
	text-align: center;
}

.bnc-checkout__thankyou-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 1.5rem 2rem;
	align-items: start;
}

.bnc-checkout__thankyou-side {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.bnc-checkout__thankyou-panel {
	display: grid;
	gap: 0.85rem;
}

.bnc-checkout__thankyou-panel-title {
	margin: 0;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--bnc-color-border);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.bnc-checkout__table--thankyou {
	margin-bottom: 0;
}

.bnc-checkout__thankyou-delivery {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.88rem;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
}

.bnc-checkout__thankyou-email-line {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.bnc-checkout__summary--thankyou {
	margin-bottom: 0;
}

.bnc-checkout__thankyou-payment-note {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
}

.bnc-checkout__thankyou-next {
	display: grid;
	gap: 0.85rem;
	padding-top: 0.25rem;
}

.bnc-checkout__thankyou-steps {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 0.45rem;
	font-size: 0.95rem;
	line-height: 1.5;
}

.bnc-checkout__thankyou-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	padding-top: 0.25rem;
}

.bnc-checkout__thankyou-empty-state {
	display: grid;
	gap: 1rem;
	text-align: center;
	padding: 1rem 0;
}

.bnc-checkout__thankyou-empty {
	margin: 0;
	font-size: 0.95rem;
	color: var(--bnc-shipping-muted, rgba(255, 255, 255, 0.72));
}

@media (max-width: 640px) {
	.bnc-checkout__table {
		display: block;
		width: 100%;
	}

	.bnc-checkout__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.bnc-checkout__table tbody {
		display: block;
	}

	.bnc-checkout__table tbody tr {
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
		position: relative;
		padding: 1rem 0;
		border-bottom: 1px solid var(--bnc-color-border);
	}

	.bnc-checkout__table tbody tr:last-child {
		border-bottom: 0;
	}

	.bnc-checkout__table tbody td {
		display: block;
		width: 100%;
		border-bottom: 0;
		padding: 0;
		text-align: left;
	}

	.bnc-checkout__table tbody td[data-label] {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
	}

	.bnc-checkout__table tbody td[data-label]::before {
		content: attr(data-label);
		flex: 0 0 auto;
		font-size: 0.85rem;
		font-weight: 600;
		color: inherit;
	}

	.bnc-checkout__table tbody td.bnc-checkout__cell--product {
		padding-right: 2.25rem;
	}

	.bnc-checkout__table tbody td.bnc-checkout__cell--remove {
		position: absolute;
		top: 1rem;
		right: 0;
		width: auto;
		padding: 0;
	}

	.bnc-checkout__table tbody td.bnc-checkout__line-total {
		white-space: normal;
		text-align: right;
	}

	.bnc-checkout__table tbody td.bnc-checkout__cell--qty {
		vertical-align: middle;
	}

	.bnc-checkout__actions {
		flex-direction: column;
	}

	.bnc-checkout__actions .bnc-checkout__button--primary {
		margin-left: 0;
	}

	.bnc-checkout__button {
		width: 100%;
		text-align: center;
	}

	.bnc-checkout__address-grid {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}

	.bnc-checkout__shipping-grid {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}

	.bnc-checkout__review-meta-grid {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}

	.bnc-checkout__shipping-panel--full .bnc-checkout__detail-list {
		grid-template-columns: 1fr;
	}

	.bnc-checkout__detail-list-pair {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.bnc-checkout__review-address-grid {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}

	.bnc-checkout__thankyou-grid {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}

	.bnc-checkout__detail-list-row {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.bnc-checkout__detail-list-row dd {
		text-align: left;
	}

	.bnc-checkout__address-row--2,
	.bnc-checkout__address-row--postcode {
		grid-template-columns: 1fr;
	}

	.bnc-checkout--review .bnc-checkout__legal {
		min-width: 0;
		text-align: left;
	}

	.bnc-checkout--review .bnc-checkout__legal legend {
		text-align: left;
	}

	.bnc-checkout--review .bnc-checkout__legal .bnc-checkout__checkbox {
		justify-content: flex-start;
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.bnc-checkout--review .bnc-checkout__legal .bnc-checkout__checkbox input[type='checkbox'] {
		order: 0;
		margin-top: 0.2rem;
	}

	.bnc-checkout--review .bnc-checkout__legal .bnc-checkout__checkbox span {
		order: 0;
		flex: 1 1 0;
		min-width: 0;
		white-space: normal;
		overflow-wrap: anywhere;
		text-align: left;
	}
}

/* Add-to-cart button (block pattern / shortcode) */
.product-buy {
	margin: 1rem 0;
}

.product-buy__button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--bnc-color-primary, #1a1a1a);
	background: var(--bnc-color-primary, #1a1a1a);
	color: #fff;
	cursor: pointer;
	font: inherit;
}

.product-buy__button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.bnc-add-to-cart-popover {
	position: fixed;
	top: 1.25rem;
	left: 50%;
	right: auto;
	z-index: 100000;
	width: min(92vw, 36rem);
	max-width: none;
	padding: 1.25rem 3rem 1.25rem 1.5rem;
	background: #000;
	border: 1px solid #000;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
	color: #fff;
	transform: translateX(-50%);
	text-align: center;
}

.bnc-add-to-cart-popover[hidden] {
	display: none;
}

.bnc-add-to-cart-popover__close {
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.75;
}

.bnc-add-to-cart-popover__close:hover,
.bnc-add-to-cart-popover__close:focus {
	opacity: 1;
}

.bnc-add-to-cart-popover__message {
	margin: 0 0 0.85rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.45;
	color: #fff;
}

.bnc-add-to-cart-popover__message:last-child {
	margin-bottom: 0;
}

.bnc-add-to-cart-popover__link {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bnc-add-to-cart-popover__link::after {
	content: '→';
	display: inline-block;
	margin-left: 0.35em;
	text-decoration: none;
}

.bnc-add-to-cart-popover__link:hover,
.bnc-add-to-cart-popover__link:focus {
	color: #fff;
	opacity: 0.85;
}

.bnc-add-to-cart-popover__link[hidden] {
	display: none;
}

.bnc-add-to-cart-block__hint,
.bnc-add-to-cart-block__sku {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--bnc-color-muted, #646970);
}

.bnc-add-to-cart-block__hint {
	font-style: italic;
}

.bnc-checkout__product {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.bnc-checkout__product-media {
	flex: 0 0 auto;
}

.bnc-checkout__product-image {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 1px solid var(--bnc-color-border);
}

.bnc-checkout__product-info {
	min-width: 0;
}

.bnc-checkout--withdrawal {
	display: grid;
	gap: 1.5rem;
}

.bnc-checkout--withdrawal .bnc-checkout__withdrawal-intro {
	display: grid;
	gap: 1rem;
}

.bnc-checkout--withdrawal .bnc-checkout__withdrawal-lead,
.bnc-checkout--withdrawal .bnc-checkout__withdrawal-statement {
	margin: 0;
	line-height: 1.55;
}

.bnc-checkout--withdrawal .bnc-checkout__withdrawal-lead {
	font-weight: 700;
}

.bnc-checkout--withdrawal .bnc-checkout__withdrawal-form {
	display: grid;
	gap: 1.15rem;
}

.bnc-checkout--withdrawal .bnc-checkout__field,
.bnc-checkout--withdrawal .bnc-checkout__field label {
	display: block;
}

.bnc-checkout--withdrawal .bnc-checkout__field label {
	margin-bottom: 0.35rem;
	font-weight: 500;
}

.bnc-checkout--withdrawal .bnc-checkout__input,
.bnc-checkout--withdrawal .bnc-checkout__textarea,
.bnc-checkout--withdrawal .bnc-checkout__field input:not([type='checkbox']):not([type='radio']),
.bnc-checkout--withdrawal .bnc-checkout__field select {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.bnc-checkout--withdrawal .bnc-checkout__textarea {
	min-height: 6rem;
	resize: vertical;
}

.bnc-checkout--withdrawal .bnc-checkout__hint {
	margin: 0;
	font-size: 0.92rem;
	color: var(--bnc-color-muted, rgba(255, 255, 255, 0.72));
}

.bnc-withdrawal-form-block {
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
	border: 1px dashed var(--bnc-color-border, #c3c4c7);
	border-radius: 4px;
}

.bnc-withdrawal-form-block__title {
	margin: 0;
	font-weight: 600;
}

.bnc-withdrawal-form-block__desc {
	margin: 0;
	color: var(--bnc-color-muted, #646970);
}

.bnc-withdrawal-form-block__preview {
	display: grid;
	gap: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--bnc-color-border, #c3c4c7);
	font-size: 0.875rem;
	color: var(--bnc-color-muted, #646970);
}
