.pcgc-custom-amount-field {
	margin: 12px 0;
}
.pcgc-custom-amount-field input[type="number"] {
	width: 100%;
	max-width: 220px;
	padding: 8px;
}
.pcgc-custom-amount-error {
	font-size: 0.9em;
	margin-top: 4px;
}

.pcgc-delivery-date-field {
	margin: 12px 0;
}

.pcgc-dropzone {
	border: 2px dashed #ccc;
	border-radius: 8px;
	padding: 16px;
	text-align: center;
	margin: 12px 0;
	transition: border-color 0.2s ease;
}
.pcgc-dropzone-hover {
	border-color: #105c44;
	background: rgba(16, 92, 68, 0.05);
}
.pcgc-dropzone-preview {
	display: block;
	margin: 8px auto;
	border-radius: 4px;
}

/*
 * Some themes apply `!important` display rules to generic `.button`
 * elements site-wide, which silently wins over a plain inline
 * `style="display:none"` (an inline style with no !important loses to any
 * !important rule, even from an external stylesheet). Toggling this class
 * from JS instead of jQuery's .show()/.hide() guarantees our hide/show
 * state always wins.
 */
.pcgc-hidden {
	display: none !important;
}

.pcgc-gift-this-wrap {
	margin-top: 10px;
	max-width: 100%;
	box-sizing: border-box;
}
.pcgc-gift-this-open,
.pcgc-gift-this-button {
	background: #f3b23c !important;
	border-color: #f3b23c !important;
	padding: 5px 20px !important;
    display: flex !important;
    align-items: center !important;
	margin-bottom: 1rem;
}
.pcgc-gift-this-mode {
	padding: 5px 20px !important;
    display: flex !important;
    align-items: center !important;
	margin-bottom: 1rem;
}
.pcgc-gift-this-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.pcgc-gift-this-form {
	margin-top: 10px;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box;
	border: 1px dashed #e5e5e5;
    border-radius: 5px;
    padding: 10px;
}
.pcgc-gift-direct-fields label {
	display: block;
	margin-bottom: 8px;
	max-width: 100%;
}
.pcgc-gift-direct-fields input[type="text"],
.pcgc-gift-direct-fields input[type="tel"],
.pcgc-gift-direct-fields textarea {
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 4px;
	box-sizing: border-box;
}
.pcgc-gift-this-submit {
	width: 100%;
}
.pcgc-required {
	color: #a00;
}
.pcgc-shipping-hint {
	font-weight: 600;
}
.pcgc-gift-shipping-reminder {
	margin-bottom: 20px;
}

@media ( max-width: 480px ) {
	.pcgc-gift-this-choices {
		flex-direction: column;
		align-items: stretch;
	}
	.pcgc-gift-this-choices .button {
		width: 100%;
		text-align: center;
	}
	.pcgc-gift-this-form {
		max-width: 100%;
	}
}