/* Scotiaderm Purchase Order — scoped styles, no generic .btn/.button class names */

.spo-wrap {
	max-width: 1040px;
	margin: 0 auto;
	font-family: inherit;
}

/* Top row: product image (left) + name/price/description (right) */

.spo-top-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 48px;
}

@media ( max-width: 782px ) {
	.spo-top-row {
		grid-template-columns: 1fr;
	}
}

.spo-product__image img {
	width: 100%;
	height: auto;
	display: block;
}

.spo-product__title {
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.spo-product__price {
	font-size: 20px;
	margin: 0 0 16px;
	color: #333;
}

.spo-product__price-note {
	font-size: 13px;
	color: #888;
	font-weight: normal;
}

.spo-product__description {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	margin-bottom: 20px;
}

.spo-product__note {
	font-size: 13px;
	line-height: 1.5;
	color: #6b7a56;
	background: #f2f5ec;
	border-left: 3px solid #a6bc80;
	padding: 12px 14px;
}

/* Second row: the form */

.spo-form-section {
	background: #fafaf8;
	border: 1px solid #e8e8e3;
	padding: 32px;
}

.spo-form__title {
	font-size: 20px;
	margin: 0 0 24px;
}

/* Form split into two columns: contact info (left), shipping address (right) */

.spo-form-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

@media ( max-width: 782px ) {
	.spo-form-columns {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.spo-form-col--shipping .spo-fieldset {
	margin: 0;
}

.spo-form-bottom {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e8e8e3;
}

.spo-field--quantity {
	max-width: 320px;
}

.spo-field {
	margin-bottom: 18px;
}

.spo-field label,
.spo-fieldset legend {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #444;
	margin-bottom: 6px;
}

.spo-required {
	color: #b3543f;
}

.spo-optional {
	color: #999;
	text-transform: none;
	font-weight: normal;
	letter-spacing: normal;
}

.spo-field input[type='text'],
.spo-field input[type='email'],
.spo-field input[type='tel'],
.spo-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #d4d4cd;
	background: #fff;
	border-radius: 2px;
}

.spo-field input:focus,
.spo-field select:focus {
	outline: none;
	border-color: #a6bc80;
	box-shadow: 0 0 0 2px rgba( 166, 188, 128, 0.25 );
}

.spo-field__hint {
	font-size: 12px;
	color: #888;
	margin: 6px 0 0;
}

.spo-fieldset {
	border: none;
	padding: 0;
	margin: 0 0 18px;
}

.spo-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.spo-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.spo-form__actions {
	margin-top: 8px;
}

.spo-submit-btn {
	display: inline-block;
	background: #a6bc80;
	color: #fff;
	border: none;
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	border-radius: 2px;
	transition: background-color 0.15s ease;
}

.spo-submit-btn:hover:not( :disabled ) {
	background: #93a86e;
}

.spo-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.spo-submit-btn.is-loading .spo-submit-btn__text::after {
	content: '…';
}

.spo-form__message {
	margin-top: 16px;
	font-size: 14px;
}

.spo-form__message--error {
	color: #b3543f;
}

.spo-confirmation {
	text-align: center;
	padding: 24px 12px;
}

.spo-confirmation__icon {
	width: 40px;
	height: 40px;
	fill: #a6bc80;
	margin-bottom: 12px;
}

.spo-confirmation p {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	margin: 0;
}
