/* OHQ Track Order: matches the home page (black, #FFEC00 yellow, heavy Inter). */

.ohq-to {
	--ohq-bg: #0a0a0a;
	--ohq-surface: #141414;
	--ohq-surface-2: #1c1c1c;
	--ohq-border: #262626;
	--ohq-yellow: #ffec00;
	--ohq-yellow-dim: rgba(255, 236, 0, 0.12);
	--ohq-text: #ffffff;
	--ohq-muted: #b4b4b4;
	--ohq-label: #8a8a8a;
	--ohq-green: #3ddc84;
	--ohq-red: #ff5c5c;
	--ohq-radius: 12px;

	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 50% -120px, rgba(255, 236, 0, 0.14), transparent 70%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 14px),
		var(--ohq-bg);
	color: var(--ohq-text);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	padding: 72px 20px 88px;
	-webkit-font-smoothing: antialiased;
}

.ohq-to *,
.ohq-to *::before,
.ohq-to *::after {
	box-sizing: border-box;
}

.ohq-to h1,
.ohq-to h2,
.ohq-to h3 {
	font-family: inherit;
	color: var(--ohq-text);
	margin: 0;
	letter-spacing: -0.01em;
}

.ohq-to p {
	margin: 0;
}

.ohq-to a {
	color: inherit;
	text-decoration: none;
}

.ohq-to__icon {
	width: 22px;
	height: 22px;
	flex: none;
}

/* Hero */

.ohq-to__hero {
	max-width: 760px;
	margin: 0 auto 44px;
	text-align: center;
}

.ohq-to__tag {
	display: inline-block;
	background: var(--ohq-yellow);
	color: #000;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 7px 12px;
	border-radius: 3px;
	margin-bottom: 20px;
}

.ohq-to__title {
	font-size: clamp(40px, 7vw, 76px);
	font-weight: 900;
	line-height: 0.98;
	text-transform: uppercase;
}

.ohq-to__subtitle {
	color: var(--ohq-muted);
	font-size: clamp(16px, 2vw, 19px);
	font-weight: 500;
	max-width: 560px;
	margin: 18px auto 0 !important;
}

.ohq-to__perks {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	padding: 0;
	margin: 28px 0 0;
}

.ohq-to__perks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ohq-to__perks .ohq-to__icon {
	color: var(--ohq-yellow);
	width: 20px;
	height: 20px;
}

/* Layout */

.ohq-to__wrap {
	max-width: 980px;
	margin: 0 auto;
}

.ohq-to__card {
	background: var(--ohq-surface);
	border: 1px solid var(--ohq-border);
	border-radius: var(--ohq-radius);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.ohq-to__card--form {
	max-width: 620px;
	margin: 0 auto;
	padding: 36px;
	border-top: 4px solid var(--ohq-yellow);
}

.ohq-to__card-head {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 26px;
}

.ohq-to__card-head h2 {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 4px;
}

.ohq-to__card-head p {
	color: var(--ohq-muted);
	font-size: 15px;
}

.ohq-to__card-icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: none;
	border-radius: 10px;
	background: var(--ohq-yellow-dim);
	color: var(--ohq-yellow);
}

/* Form */

.ohq-to__form {
	display: grid;
	gap: 18px;
}

.ohq-to__field label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ohq-label);
	margin-bottom: 8px;
}

.ohq-to .ohq-to__field input {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	background: #0d0d0d;
	color: #fff;
	border: 1px solid #333;
	border-radius: 8px;
	font: 600 16px/1 "Inter", system-ui, sans-serif;
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ohq-to .ohq-to__field input::placeholder {
	color: #5c5c5c;
	font-weight: 500;
}

.ohq-to .ohq-to__field input:focus {
	outline: none;
	border-color: var(--ohq-yellow);
	box-shadow: 0 0 0 3px rgba(255, 236, 0, 0.18);
}

.ohq-to .ohq-to__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	padding: 0 26px;
	background: var(--ohq-yellow);
	color: #000;
	border: 2px solid var(--ohq-yellow);
	border-radius: 6px;
	font: 800 16px/1 "Inter", system-ui, sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, transform 0.15s;
}

.ohq-to .ohq-to__btn:hover {
	background: #000;
	color: var(--ohq-yellow);
}

.ohq-to .ohq-to__btn:active {
	transform: translateY(1px);
}

.ohq-to .ohq-to__btn:focus-visible,
.ohq-to a:focus-visible {
	outline: 2px solid var(--ohq-yellow);
	outline-offset: 3px;
}

.ohq-to__form .ohq-to__btn {
	width: 100%;
	margin-top: 4px;
}

.ohq-to .ohq-to__btn--sm {
	min-height: 44px;
	font-size: 13px;
	padding: 0 18px;
}

.ohq-to .ohq-to__btn--ghost {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

.ohq-to .ohq-to__btn--ghost:hover {
	background: #fff;
	color: #000;
}

.ohq-to__account {
	margin-top: 20px !important;
	text-align: center;
	color: var(--ohq-muted);
	font-size: 14px;
}

.ohq-to__account a,
.ohq-to__link {
	color: var(--ohq-yellow) !important;
	font-weight: 700;
}

.ohq-to__account a:hover,
.ohq-to__link:hover {
	text-decoration: underline !important;
}

.ohq-to__alert {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	margin-bottom: 22px;
	border-radius: 8px;
	border: 1px solid rgba(255, 92, 92, 0.4);
	background: rgba(255, 92, 92, 0.08);
	color: #ffd2d2;
	font-size: 15px;
}

.ohq-to__alert .ohq-to__icon {
	color: var(--ohq-red);
}

/* Result */

.ohq-to__card--result {
	padding: 36px;
}

.ohq-to__result-head {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: flex-start;
}

.ohq-to__result-head h2 {
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 900;
	line-height: 1.1;
	margin: 6px 0 8px;
}

.ohq-to__result-head p {
	color: var(--ohq-muted);
	max-width: 520px;
}

.ohq-to__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ohq-label);
}

.ohq-to__badge {
	flex: none;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--ohq-yellow-dim);
	color: var(--ohq-yellow);
	border: 1px solid rgba(255, 236, 0, 0.35);
}

.ohq-to__badge--completed {
	background: rgba(61, 220, 132, 0.1);
	color: var(--ohq-green);
	border-color: rgba(61, 220, 132, 0.35);
}

.ohq-to__badge--cancelled,
.ohq-to__badge--refunded,
.ohq-to__badge--failed {
	background: rgba(255, 92, 92, 0.1);
	color: var(--ohq-red);
	border-color: rgba(255, 92, 92, 0.35);
}

.ohq-to__badge--on-hold,
.ohq-to__badge--pending {
	background: rgba(255, 255, 255, 0.06);
	color: #ddd;
	border-color: #3a3a3a;
}

/* Progress steps */

.ohq-to__steps {
	--ohq-progress: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	padding: 0;
	margin: 36px 0 8px;
}

.ohq-to__steps::before,
.ohq-to__steps::after {
	content: "";
	position: absolute;
	top: 23px;
	left: 12.5%;
	height: 3px;
	border-radius: 3px;
}

.ohq-to__steps::before {
	right: 12.5%;
	background: #2c2c2c;
}

.ohq-to__steps::after {
	width: calc(75% * var(--ohq-progress));
	background: var(--ohq-yellow);
}

.ohq-to__steps--stopped::after {
	background: var(--ohq-red);
}

.ohq-to__step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	margin: 0;
}

.ohq-to__step-dot {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: #1a1a1a;
	border: 2px solid #333;
	color: #6a6a6a;
}

.ohq-to__step-dot .ohq-to__icon {
	width: 20px;
	height: 20px;
}

.ohq-to__step.is-done .ohq-to__step-dot {
	background: var(--ohq-yellow);
	border-color: var(--ohq-yellow);
	color: #000;
}

.ohq-to__step.is-current .ohq-to__step-dot {
	border-color: var(--ohq-yellow);
	color: var(--ohq-yellow);
	box-shadow: 0 0 0 6px rgba(255, 236, 0, 0.12);
	animation: ohq-to-pulse 2s ease-in-out infinite;
}

.ohq-to__steps--stopped .ohq-to__step.is-done .ohq-to__step-dot {
	background: #2a2a2a;
	border-color: #444;
	color: #ccc;
}

@keyframes ohq-to-pulse {
	50% {
		box-shadow: 0 0 0 10px rgba(255, 236, 0, 0.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ohq-to__step.is-current .ohq-to__step-dot {
		animation: none;
	}
}

.ohq-to__step-label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #777;
}

.ohq-to__step.is-done .ohq-to__step-label,
.ohq-to__step.is-current .ohq-to__step-label {
	color: #fff;
}

.ohq-to__step-date {
	font-size: 13px;
	color: var(--ohq-muted);
}

/* Tracking numbers */

.ohq-to__tracking {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.ohq-to__tracking-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	background: var(--ohq-yellow-dim);
	border: 1px solid rgba(255, 236, 0, 0.3);
	border-radius: 10px;
}

.ohq-to__tracking-info {
	flex: 1;
	min-width: 0;
}

.ohq-to__tracking-info strong {
	display: block;
	font-size: 18px;
	font-weight: 800;
	overflow-wrap: anywhere;
}

/* Details */

.ohq-to__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
	margin-top: 32px;
}

.ohq-to__side {
	display: grid;
	gap: 20px;
	align-content: start;
}

.ohq-to__panel {
	background: var(--ohq-surface-2);
	border: 1px solid var(--ohq-border);
	border-radius: 10px;
	padding: 22px;
}

.ohq-to__panel h3 {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ohq-label);
	margin-bottom: 16px;
}

.ohq-to__items {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ohq-to__items li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	margin: 0;
	border-bottom: 1px solid var(--ohq-border);
}

.ohq-to__items li:first-child {
	padding-top: 0;
}

.ohq-to__thumb {
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.ohq-to__thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	margin: 0 !important;
}

.ohq-to__item-name {
	flex: 1;
	min-width: 0;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
}

.ohq-to__item-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ohq-to__item-name small {
	display: block;
	margin-top: 3px;
	color: var(--ohq-label);
	font-weight: 600;
	font-size: 13px;
}

.ohq-to__item-total {
	font-weight: 800;
	white-space: nowrap;
}

.ohq-to__totals {
	margin: 14px 0 0;
}

.ohq-to__totals div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 0;
	font-size: 15px;
}

.ohq-to__totals dt {
	color: var(--ohq-muted);
	font-weight: 600;
}

.ohq-to__totals dd {
	margin: 0;
	text-align: right;
	font-weight: 700;
}

.ohq-to__totals .is-total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--ohq-border);
	font-size: 18px;
}

.ohq-to__totals .is-total dt {
	color: #fff;
	font-weight: 800;
}

.ohq-to__totals .is-total dd {
	color: var(--ohq-yellow);
	font-weight: 900;
}

.ohq-to__totals small {
	color: var(--ohq-label);
	font-weight: 500;
}

.ohq-to address {
	font-style: normal;
	color: #e6e6e6;
	line-height: 1.6;
	margin: 0;
}

.ohq-to__muted {
	margin-top: 10px !important;
	color: var(--ohq-label);
	font-size: 14px;
}

.ohq-to__updates {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ohq-to__updates li {
	position: relative;
	padding: 0 0 16px 22px;
	margin: 0;
}

.ohq-to__updates li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #444;
}

.ohq-to__updates li:first-child::before {
	background: var(--ohq-yellow);
	box-shadow: 0 0 0 4px rgba(255, 236, 0, 0.15);
}

.ohq-to__updates li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 18px;
	bottom: 0;
	width: 1px;
	background: #333;
}

.ohq-to__updates time {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--ohq-label);
	letter-spacing: 0.04em;
}

.ohq-to__updates span,
.ohq-to__updates p {
	font-size: 14px;
	color: #e6e6e6;
}

.ohq-to__result-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--ohq-border);
}

/* Help */

.ohq-to__help {
	margin-top: 64px;
}

.ohq-to__help-title {
	text-align: center;
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 900;
	text-transform: uppercase;
	margin-bottom: 26px !important;
}

.ohq-to__help-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.ohq-to .ohq-to__help-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: var(--ohq-surface);
	border: 1px solid var(--ohq-border);
	border-radius: var(--ohq-radius);
	transition: border-color 0.15s, transform 0.15s, background 0.15s;
}

.ohq-to .ohq-to__help-card:hover {
	border-color: var(--ohq-yellow);
	background: #181818;
	transform: translateY(-2px);
}

.ohq-to__help-card .ohq-to__card-icon {
	margin-bottom: 8px;
}

.ohq-to__help-card strong {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
}

.ohq-to__help-card span:not(.ohq-to__card-icon) {
	color: var(--ohq-muted);
	font-size: 15px;
}

.ohq-to__help-card em {
	margin-top: auto;
	padding-top: 8px;
	font-style: normal;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ohq-yellow);
}

/* Responsive */

@media (max-width: 820px) {
	.ohq-to__grid {
		grid-template-columns: 1fr;
	}

	.ohq-to__help-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.ohq-to {
		padding: 44px 16px 56px;
	}

	.ohq-to__hero {
		margin-bottom: 30px;
	}

	.ohq-to__perks {
		gap: 10px 18px;
	}

	.ohq-to__perks li {
		font-size: 11px;
	}

	.ohq-to__card--form,
	.ohq-to__card--result {
		padding: 22px 18px;
	}

	.ohq-to__card-head .ohq-to__card-icon {
		display: none;
	}

	.ohq-to__result-head {
		flex-direction: column-reverse;
		gap: 12px;
	}

	.ohq-to__steps {
		margin-top: 28px;
	}

	.ohq-to__steps::before,
	.ohq-to__steps::after {
		top: 18px;
	}

	.ohq-to__step-dot {
		width: 38px;
		height: 38px;
	}

	.ohq-to__step-dot .ohq-to__icon {
		width: 16px;
		height: 16px;
	}

	.ohq-to__step-label {
		font-size: 10px;
		letter-spacing: 0.03em;
	}

	.ohq-to__step-date {
		font-size: 11px;
	}

	.ohq-to__tracking-row {
		flex-wrap: wrap;
	}

	.ohq-to__tracking-row .ohq-to__btn {
		width: 100%;
	}

	.ohq-to__panel {
		padding: 18px 16px;
	}

	.ohq-to__result-foot {
		flex-direction: column-reverse;
		align-items: stretch;
		text-align: center;
	}
}
