:root {
	--pr-ops-bg: #fffaf3;
	--pr-ops-card-bg: #ffffff;
	--pr-ops-text: #241317;
	--pr-ops-accent: #5a1724;
	--pr-ops-gold: #c79a45;
	--pr-ops-border: rgba(90, 23, 36, 0.14);
	--pr-ops-radius: 18px;
}

.pr-ops-box,
.pr-ops-order-card {
	background: #fffaf3;
	border: 1px solid var(--pr-ops-border);
	border-radius: var(--pr-ops-radius);
	box-shadow: 0 18px 45px rgba(36, 19, 23, 0.08);
	color: var(--pr-ops-text);
	margin: 24px 0;
	padding: 24px;
}

.pr-ops-box h2,
.pr-ops-account h2 {
	color: var(--pr-ops-accent);
	margin-top: 0;
}

.pr-ops-customer-form h2 {
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.04;
	margin-bottom: 8px;
}

.pr-ops-customer-form > p {
	color: #4f3b35;
	font-size: 1.1rem;
	margin-bottom: 22px;
	max-width: 72ch;
}

.pr-ops-form-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.pr-ops-customer-form .pr-ops-form label,
.pr-ops-form label {
	display: grid;
	font-weight: 700;
	gap: 8px;
	grid-column: span 4;
	line-height: 1.25;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.pr-ops-customer-form .pr-ops-form input,
.pr-ops-customer-form .pr-ops-form select,
.pr-ops-customer-form .pr-ops-form textarea,
.pr-ops-form input,
.pr-ops-form select,
.pr-ops-form textarea {
	background: var(--pr-ops-card-bg);
	border: 1px solid rgba(90, 23, 36, 0.22);
	border-radius: 12px;
	box-sizing: border-box;
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.pr-ops-customer-form .pr-ops-form input:focus,
.pr-ops-customer-form .pr-ops-form select:focus,
.pr-ops-customer-form .pr-ops-form textarea:focus,
.pr-ops-form input:focus,
.pr-ops-form select:focus,
.pr-ops-form textarea:focus {
	border-color: var(--pr-ops-accent);
	box-shadow: 0 0 0 3px rgba(90, 23, 36, 0.14);
	outline: none;
}

.pr-ops-wide {
	grid-column: span 12 !important;
}

.pr-ops-button,
.pr-ops-order-actions a {
	align-items: center;
	background: var(--pr-ops-accent);
	border-radius: 14px;
	color: #fff !important;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 44px;
	padding: 11px 22px;
	text-decoration: none;
}

.pr-ops-button {
	border: 0;
	cursor: pointer;
	margin-top: 16px;
	min-width: 220px;
}

.pr-ops-button:hover,
.pr-ops-button:focus {
	background: #43101a;
	color: #fff !important;
}

.pr-ops-alert {
	background: #fff;
	border-left: 5px solid var(--pr-ops-gold);
	border-radius: 10px;
	margin: 16px 0;
	padding: 14px 16px;
}

.pr-ops-alert-error {
	border-left-color: #b42318;
}

.pr-ops-alert-success {
	border-left-color: #217a43;
}

.pr-ops-order-head {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.pr-ops-order-head strong {
	color: var(--pr-ops-accent);
	display: block;
	font-size: 22px;
}

.pr-ops-order-head span {
	color: #6f3a31;
	display: block;
	font-weight: 800;
	margin-top: 4px;
}

.pr-ops-timeline {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.pr-ops-timeline li {
	color: #806b64;
	font-size: 12px;
	font-weight: 800;
	position: relative;
	text-align: center;
}

.pr-ops-timeline li::before {
	background: #eaded3;
	border-radius: 50%;
	content: "";
	display: block;
	height: 14px;
	margin: 0 auto 8px;
	width: 14px;
}

.pr-ops-timeline li.is-active {
	color: var(--pr-ops-accent);
}

.pr-ops-timeline li.is-active::before {
	background: var(--pr-ops-gold);
	box-shadow: 0 0 0 5px rgba(199, 154, 69, 0.16);
}

.pr-ops-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pr-ops-order-actions span {
	background: #f2ded2;
	color: #5a1724;
	font-weight: 800;
	padding: 10px 14px;
}

.pr-ops-return-box {
	background: #fff;
	border: 1px solid rgba(90, 23, 36, 0.14);
	margin-top: 16px;
	padding: 14px;
}

.pr-ops-return-box summary {
	color: var(--pr-ops-accent);
	cursor: pointer;
	font-weight: 800;
}

.pr-ops-return-box textarea {
	border: 1px solid rgba(90, 23, 36, 0.22);
	box-sizing: border-box;
	margin-top: 12px;
	padding: 10px;
	width: 100%;
}

@media (max-width: 760px) {
	.pr-ops-box,
	.pr-ops-order-card {
		border-radius: 14px;
		padding: 16px;
	}

	.pr-ops-form-grid,
	.pr-ops-timeline {
		grid-template-columns: 1fr;
	}

	.pr-ops-customer-form .pr-ops-form label,
	.pr-ops-form label,
	.pr-ops-wide {
		grid-column: 1 / -1 !important;
	}

	.pr-ops-customer-form h2 {
		font-size: clamp(28px, 9vw, 42px);
	}

	.pr-ops-customer-form > p {
		font-size: 1rem;
	}

	.pr-ops-button {
		min-width: 100%;
		width: 100%;
	}

	.pr-ops-timeline li {
		text-align: left;
	}

	.pr-ops-timeline li::before {
		display: inline-block;
		margin: 0 10px 0 0;
		vertical-align: middle;
	}

	.pr-ops-order-head {
		display: block;
	}
}
