/*
 * Storefront form components added with the form fixes (2026-11).
 * Load after app.css. Only rules for components introduced by those fixes;
 * everything else stays in app.css.
 */

/* Cart: quantity stepper (pages/cart.blade.php) */
.qty-stepper {
	display: inline-flex;
	align-items: stretch;
	white-space: nowrap;
}
.qty-stepper .qty-btn {
	width: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid #ccc;
	background: #f6f6f6;
	color: #333;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.qty-stepper .qty-btn:first-child {
	border-radius: 4px 0 0 4px;
}
.qty-stepper .qty-btn:last-child {
	border-radius: 0 4px 4px 0;
}
.qty-stepper .qty-btn:focus-visible {
	outline: 2px solid #548cb4;
	outline-offset: 1px;
}
.qty-stepper input.qty[type='number'] {
	width: 56px;
	height: auto;
	min-height: 40px;
	margin: 0;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	text-align: center;
	font-size: 16px;
	-moz-appearance: textfield;
}
.qty-stepper input.qty::-webkit-outer-spin-button,
.qty-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
/* Phones: the number on top, − and + under it, so the cart table keeps its width. */
@media only screen and (max-width: 767px) {
	.qty-stepper {
		display: flex;
		flex-wrap: wrap;
		width: 80px;
	}
	.qty-stepper input.qty[type='number'] {
		order: -1;
		width: 80px;
		border: 1px solid #ccc;
		border-radius: 4px 4px 0 0;
	}
	.qty-stepper .qty-btn {
		border-top: 0;
	}
	.qty-stepper .qty-btn:first-child {
		border-radius: 0 0 0 4px;
	}
	.qty-stepper .qty-btn:last-child {
		border-radius: 0 0 4px 0;
	}
}
.qty-cell small.error {
	margin-top: 4px;
}
.qty-cell .loader {
	margin-left: 6px;
}
small.unit-price {
	color: #777;
	white-space: nowrap;
}

/* Cart: remove a line, 44x44 touch target around the 12px icon */
button.cart-remove {
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
button.cart-remove:focus-visible {
	outline: 2px solid #548cb4;
}

/* Cart: empty state */
.cart-empty {
	padding-bottom: 20px;
}
@media only screen and (max-width: 767px) {
	.cart-empty {
		padding-left: 15px;
		padding-right: 15px;
	}
}
.cart-empty .lead {
	margin-top: 10px;
}

/* Bank accounts for a wire transfer (sections/bankaccounts.blade.php) */
.bank-account {
	margin-bottom: 16px;
}
.bank-account .bank-logo {
	margin: 0 0 6px;
}
.bank-account .bank-logo img {
	position: static;
	max-height: 32px;
	width: auto;
}
.bank-account .panel {
	margin-bottom: 0;
	line-height: 1.7;
}
.bank-account .iban {
	font-size: 15px;
	letter-spacing: 0.03em;
	word-break: break-all;
}
.bank-account .copy-button {
	margin-left: 8px;
	min-height: 32px;
	vertical-align: baseline;
}
.bank-account .copy-status {
	margin-left: 6px;
	color: #2a7a2a;
	font-weight: 600;
}
.wire-instructions .bank-account .panel {
	background: #fff;
}
