/*** Realizar pedido ***/
.form {
	padding-bottom: 5rem;
}
.fields {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
}
.fields .field {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.field label {
	font-size: 12px;
}
.fields .field select {
	width: 100%;
	height: 3rem;
	box-sizing: border-box;
}
.fields .field .wp-element-button {
	display: flex;
	height: 3rem;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	text-align: center;
}
@media (max-width: 719px) {
	.fields {
		flex-direction: column;
	}
	.fields .field {
		width: 100%;
	}
}
.total-container {
	margin: 2rem 0 1rem 0;
	font-size: 20px;
	font-weight: 700;
}
.field .quantity-group {
	flex: 1 1 250px;
	display: flex;
}
.purchase-row {
	display: flex;
	gap: 1rem;
	align-items: stretch;
}
.field .shop-btn {
	flex: 1 1 250px;
	display: flex;
}
.field .shop-btn button {
	flex: 1;
	max-width: 350px;
	padding: 0.75rem 2.5rem;
}


/*** Spinner ***/
.quantity-group {
	display: flex;
	align-items: stretch;
	max-width: 250px;
	border: 1px solid #ccc;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
}
.qty-btn {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #333;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 0.25rem 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
	user-select: none;
}
.qty-btn:hover {
	background: rgba(0, 0, 0, 0.05);
	box-shadow: none;
}
.qty-btn:active {
	background: rgba(0, 0, 0, 0.1);
}
.quantity-wrapper {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
}
.quantity-group input[type="number"] {
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	text-align: center;
	font-size: 1rem;
	padding: 0.5rem;
	outline: none;
	box-sizing: border-box;
	-moz-appearance: textfield;
}
.quantity-group input[type="number"]::-webkit-outer-spin-button,
.quantity-group input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.quantity-spinner {
	display: none;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	border: 2px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}
.quantity-wrapper.is-loading .quantity-spinner {
	display: block;
}
@keyframes spin {
	0% { transform: translateY(-50%) rotate(0deg); }
	100% { transform: translateY(-50%) rotate(360deg); }
}
@media (max-width: 768px) {
	.quantity-group {
		max-width: 100%;
	}
}




