/* ============================================================
   Stigma Order Tracking — comic-book widget
   Scoped under .stigma-ot. Accent vars injected per-widget.
   ============================================================ */

.stigma-ot {
	--ot-accent: #00C8E0;
	--ot-alt:    #FF1F8F;
	--ot-glow:   rgba(0,200,224,0.30);
	--ot-bg:     #FAF9F4;
	--ot-ink:    #0A0A0B;
	--ot-paper:  #ffffff;
	--ot-muted:  #6B6358;
	--ot-display:'Bangers', 'Archivo Black', system-ui, sans-serif;
	--ot-heavy:  'Archivo Black', system-ui, sans-serif;
	--ot-body:   'Archivo', system-ui, sans-serif;
	--ot-mono:   'JetBrains Mono', ui-monospace, monospace;

	width: 100%;
	background: var(--ot-bg);
	color: var(--ot-ink);
	font-family: var(--ot-body);
}
.stigma-ot * { box-sizing: border-box; }

/* ---------------- HERO ---------------- */
.stigma-ot .ot-hero {
	position: relative; overflow: hidden;
	padding: 120px 56px 100px;
}
.stigma-ot .ot-hero--tracking { padding: 80px 56px 60px; }
@media (max-width: 768px) {
	.stigma-ot .ot-hero { padding: 64px 20px 56px; }
	.stigma-ot .ot-hero--tracking { padding: 48px 20px 40px; }
}

.stigma-ot .ot-hero__glow {
	position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
	width: 900px; height: 500px; max-width: 100%;
	border-radius: 50%;
	background: radial-gradient(ellipse, var(--ot-glow), transparent 65%);
	filter: blur(50px); pointer-events: none;
}
.stigma-ot .ot-hero__halftone {
	position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
	background-image: radial-gradient(circle, #000 0.8px, transparent 1.1px);
	background-size: 14px 14px;
	mask-image: radial-gradient(ellipse at center, #000 25%, transparent 65%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 65%);
}
.stigma-ot .ot-hero__inner {
	position: relative; max-width: 1100px; margin: 0 auto; text-align: center;
}
.stigma-ot .ot-hero--tracking .ot-hero__inner { max-width: 1300px; text-align: left; }
.stigma-ot .ot-hero__inner--row {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 32px; flex-wrap: wrap;
}

.stigma-ot .ot-pill {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px;
	background: #000; color: var(--ot-accent);
	border: 3px solid #000;
	box-shadow: 4px 4px 0 var(--ot-accent);
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.22em; text-transform: uppercase;
	margin-bottom: 32px;
}
.stigma-ot .ot-pill__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--ot-accent);
	box-shadow: 0 0 0 3px var(--ot-glow);
	animation: ot-pulse 1.6s ease-in-out infinite;
}
@keyframes ot-pulse { 0%,100%{box-shadow:0 0 0 3px var(--ot-glow);} 50%{box-shadow:0 0 0 8px rgba(0,0,0,0.05);} }

.stigma-ot .ot-hero__title {
	font-family: var(--ot-heavy);
	font-size: clamp(56px, 12vw, 160px);
	line-height: 0.85;
	letter-spacing: -0.04em;
	margin: 0 0 36px;
	text-transform: uppercase;
	color: #000;
}
.stigma-ot .ot-hero--tracking .ot-hero__title {
	font-size: clamp(48px, 9vw, 124px);
}
.stigma-ot .ot-hero__line { display: block; }
.stigma-ot .ot-hero__line--accent {
	color: var(--ot-accent);
	-webkit-text-stroke: 2px #000;
	filter: drop-shadow(8px 8px 0 #000);
}
.stigma-ot .ot-hero__sub {
	font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55;
	max-width: 540px; color: #3A3530;
	margin: 0; font-weight: 500;
}
.stigma-ot .ot-hero__col { flex: 1 1 480px; min-width: 0; }

/* ETA stamp */
.stigma-ot .ot-eta {
	background: var(--ot-accent); color: #000;
	border: 4px solid #000; box-shadow: 8px 8px 0 #000;
	padding: 22px 26px; min-width: 240px;
	transform: rotate(2deg); align-self: flex-start;
	margin-top: 40px;
}
.stigma-ot .ot-eta__label {
	font-family: var(--ot-mono); font-size: 11px; font-weight: 700;
	letter-spacing: 0.2em; text-transform: uppercase;
}
.stigma-ot .ot-eta__value {
	font-family: var(--ot-display); font-size: 48px;
	line-height: 0.95; margin-top: 4px; letter-spacing: 0.02em;
}
.stigma-ot .ot-eta__sub {
	font-size: 12px; font-weight: 700; margin-top: 4px;
	letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------------- LOOKUP FORM ---------------- */
.stigma-ot .ot-lookup {
	background: #fff; border: 4px solid #000;
	box-shadow: 8px 8px 0 #000;
	padding: 36px; max-width: 520px; margin: 0 auto;
	text-align: left;
}
@media (max-width: 540px) { .stigma-ot .ot-lookup { padding: 24px; } }
.stigma-ot .ot-tag {
	display: inline-block;
	background: #000; color: var(--ot-accent);
	padding: 6px 14px; margin-bottom: 18px;
	font-family: var(--ot-mono);
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.2em; text-transform: uppercase;
}
.stigma-ot .ot-tag--invert        { background: #000; color: var(--ot-accent); }
.stigma-ot .ot-tag--accent-fg     { background: var(--ot-accent); color: #000; }
.stigma-ot .ot-tag--invert-on-accent { background: #000; color: var(--ot-accent); }
.stigma-ot .ot-lookup__heading {
	font-family: var(--ot-display);
	font-size: clamp(34px, 5vw, 48px);
	line-height: 0.9; margin: 0;
	letter-spacing: 0.02em; color: #000;
}
.stigma-ot .ot-lookup__sub {
	font-size: 14px; color: #3A3530;
	margin: 8px 0 24px;
}
.stigma-ot .ot-label {
	font-family: var(--ot-display);
	font-size: 18px; letter-spacing: 0.05em;
	display: block; margin-bottom: 6px;
}
.stigma-ot .ot-input {
	width: 100%;
	padding: 14px 16px; font-size: 16px;
	font-family: inherit; font-weight: 600;
	border: 3px solid #000; background: #fff;
	outline: none;
	box-shadow: 4px 4px 0 #000;
	margin-bottom: 16px;
	transition: transform 0.1s, box-shadow 0.1s;
	border-radius: 0;
}
.stigma-ot .ot-input--mono {
	font-family: var(--ot-mono); font-weight: 700;
	letter-spacing: 0.06em;
}
.stigma-ot .ot-input:focus {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--ot-accent);
}
.stigma-ot .ot-error {
	background: #fff;
	border: 3px solid #c0392b; color: #c0392b;
	padding: 12px 14px;
	box-shadow: 4px 4px 0 #c0392b;
	margin-bottom: 18px;
	font-weight: 600; font-size: 14px;
}
.stigma-ot .ot-submit {
	width: 100%;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	padding: 18px 32px;
	background: var(--ot-accent); color: #000;
	border: 4px solid #000; box-shadow: 6px 6px 0 #000;
	font-family: var(--ot-display);
	font-size: 24px; letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.1s, box-shadow 0.1s;
	margin-top: 8px;
}
.stigma-ot .ot-submit:hover { transform: translate(2px,2px); box-shadow: 4px 4px 0 #000; }
.stigma-ot .ot-submit__arrow { font-size: 22px; }
.stigma-ot .ot-lookup__helper {
	font-size: 12px; color: var(--ot-muted);
	margin-top: 14px; text-align: center;
}

/* ---------------- TRACKER ---------------- */
.stigma-ot .ot-tracker-wrap { padding: 0 56px 60px; }
@media (max-width: 768px) { .stigma-ot .ot-tracker-wrap { padding: 0 16px 40px; } }

.stigma-ot .ot-panel {
	position: relative;
	background: #fff;
	border: 4px solid #000;
	box-shadow: 8px 8px 0 #000;
	padding: 32px;
	max-width: 1300px; margin: 0 auto;
	overflow: hidden;
}
@media (max-width: 768px) { .stigma-ot .ot-panel { padding: 22px; } }

.stigma-ot .ot-panel--tracker { padding: 36px 28px 40px; }
.stigma-ot .ot-tracker-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; flex-wrap: wrap; margin-bottom: 8px; padding: 0 8px;
}
.stigma-ot .ot-tracker-update {
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: #3A3530;
}
.stigma-ot .ot-tracker-update strong { color: #000; }

.stigma-ot .ot-tracker {
	position: relative; padding: 24px 8px 8px;
}
.stigma-ot .ot-tracker__line {
	position: absolute; left: 5%; right: 5%; top: 56px;
	height: 4px; background: #000;
}
.stigma-ot .ot-tracker__fill {
	position: absolute; left: 5%; top: 56px;
	height: 4px; background: var(--ot-accent);
	transition: width 0.4s ease;
	max-width: 90%;
}
.stigma-ot .ot-tracker__stages {
	display: grid; grid-template-columns: repeat(5, 1fr);
	gap: 0; position: relative;
}
@media (max-width: 640px) {
	.stigma-ot .ot-tracker__line,
	.stigma-ot .ot-tracker__fill { display: none; }
	.stigma-ot .ot-tracker__stages {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.stigma-ot .ot-stage {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 8px;
}
@media (max-width: 640px) {
	.stigma-ot .ot-stage {
		flex-direction: row; align-items: center; gap: 16px;
		text-align: left;
		padding: 8px 12px;
		border: 2px solid #000;
		background: #fff;
	}
	.stigma-ot .ot-stage.is-done    { background: var(--ot-accent); }
	.stigma-ot .ot-stage.is-current { background: #000; color: var(--ot-accent); }
}
.stigma-ot .ot-stage__dot {
	width: 56px; height: 56px; border-radius: 50%;
	background: #fff; color: #000;
	border: 4px solid #000;
	display: grid; place-items: center;
	transition: transform 0.2s;
}
.stigma-ot .ot-stage.is-done .ot-stage__dot {
	background: var(--ot-accent);
	box-shadow: 4px 4px 0 #000;
}
.stigma-ot .ot-stage.is-current .ot-stage__dot {
	background: var(--ot-accent);
	box-shadow: 6px 6px 0 #000;
	transform: scale(1.08);
}
.stigma-ot .ot-stage__label {
	font-family: var(--ot-display);
	font-size: 14px; letter-spacing: 0.04em;
	color: rgba(0,0,0,0.4);
}
.stigma-ot .ot-stage.is-done .ot-stage__label,
.stigma-ot .ot-stage.is-current .ot-stage__label { color: #000; }
.stigma-ot .ot-stage.is-current .ot-stage__label { color: inherit; }
.stigma-ot .ot-stage__date {
	font-size: 10px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: rgba(0,0,0,0.45);
}
.stigma-ot .ot-stage.is-done .ot-stage__date,
.stigma-ot .ot-stage.is-current .ot-stage__date { color: #000; }

/* ---------------- MAIN GRID ---------------- */
.stigma-ot .ot-grid { padding: 0 56px 80px; }
@media (max-width: 768px) { .stigma-ot .ot-grid { padding: 0 16px 60px; } }
.stigma-ot .ot-grid__inner {
	max-width: 1300px; margin: 0 auto;
	display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px;
	align-items: flex-start;
}
@media (max-width: 960px) { .stigma-ot .ot-grid__inner { grid-template-columns: 1fr; } }

.stigma-ot .ot-side { display: flex; flex-direction: column; gap: 24px; }
.stigma-ot .ot-side .ot-panel { max-width: none; margin: 0; }
.stigma-ot .ot-grid .ot-panel { max-width: none; margin: 0; }

.stigma-ot .ot-h2 {
	font-family: var(--ot-display);
	font-size: clamp(32px, 4vw, 48px);
	line-height: 0.9; margin: 0;
	letter-spacing: 0.02em; color: #000;
}
.stigma-ot .ot-h2--ondark { color: #fff; }
.stigma-ot .ot-h2__accent { color: var(--ot-accent); margin-left: 6px; }
.stigma-ot .ot-sub {
	font-size: 14px; color: #3A3530;
	margin: 6px 0 24px;
}

/* In the box */
.stigma-ot .ot-items { display: flex; flex-direction: column; gap: 14px; }
.stigma-ot .ot-item {
	display: grid;
	grid-template-columns: 80px 1fr auto auto;
	gap: 16px; align-items: center;
	padding: 14px 16px;
	background: var(--ot-bg);
	border: 3px solid #000;
}
@media (max-width: 540px) {
	.stigma-ot .ot-item {
		grid-template-columns: 64px 1fr;
		grid-template-rows: auto auto;
	}
	.stigma-ot .ot-item__qty,
	.stigma-ot .ot-item__price {
		grid-column: 2;
	}
}
.stigma-ot .ot-item__thumb {
	width: 80px; height: 80px;
	background: #fff; border: 3px solid #000;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden; flex-shrink: 0;
}
.stigma-ot .ot-item__thumb img {
	width: 100%; height: 100%; object-fit: contain;
	display: block;
}
.stigma-ot .ot-item__name {
	font-family: var(--ot-display);
	font-size: 20px; letter-spacing: 0.03em;
	text-transform: uppercase;
}
.stigma-ot .ot-item__sub { font-size: 12px; color: #3A3530; margin-top: 2px; }
.stigma-ot .ot-item__qty {
	font-family: var(--ot-mono); font-size: 12px; font-weight: 700;
	padding: 4px 10px; background: #000; color: #fff;
	letter-spacing: 0.1em;
	white-space: nowrap;
}
.stigma-ot .ot-item__price {
	font-family: var(--ot-heavy);
	font-size: 18px; min-width: 64px; text-align: right;
}

/* Totals */
.stigma-ot .ot-totals {
	margin-top: 20px; padding-top: 20px;
	border-top: 3px dashed #000;
	display: flex; flex-direction: column; gap: 6px;
}
.stigma-ot .ot-total-row {
	display: flex; justify-content: space-between;
	font-size: 14px; color: #3A3530;
}
.stigma-ot .ot-total-row span:last-child { font-weight: 700; }
.stigma-ot .ot-total-row--grand {
	margin-top: 8px; padding-top: 12px;
	border-top: 2px solid #000;
	align-items: baseline;
}
.stigma-ot .ot-total-row--grand span:first-child {
	font-family: var(--ot-display); font-size: 22px;
	letter-spacing: 0.03em; color: #000;
}
.stigma-ot .ot-total-row--grand span:last-child {
	font-family: var(--ot-heavy); font-size: 28px;
	color: #000;
}

/* Carrier panel */
.stigma-ot .ot-panel--carrier {
	background: #000; color: #fff;
	border-color: #000;
	padding: 28px;
}
.stigma-ot .ot-panel--carrier::before {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(circle, var(--ot-accent) 1.5px, transparent 1.8px);
	background-size: 12px 12px;
	opacity: 0.18; pointer-events: none;
}
.stigma-ot .ot-panel--carrier > * { position: relative; }
.stigma-ot .ot-carrier-head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 14px; gap: 10px; flex-wrap: wrap;
}
.stigma-ot .ot-carrier-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px;
	background: #fff; color: #000;
	border: 2px solid var(--ot-accent);
	font-family: var(--ot-heavy);
	font-size: 12px; letter-spacing: 0.14em;
	text-transform: uppercase;
}
.stigma-ot .ot-tracking-num {
	background: #fff; color: #000;
	border: 3px solid var(--ot-accent);
	padding: 14px 16px;
	font-family: var(--ot-mono);
	font-size: 15px; font-weight: 700;
	letter-spacing: 0.04em;
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin: 14px 0;
	word-break: break-all;
}
.stigma-ot .ot-copy {
	background: transparent; border: 0;
	padding: 4px 0 4px 12px;
	border-left: 2px solid rgba(0,0,0,0.15);
	cursor: pointer; font-size: 16px;
}
.stigma-ot .ot-carrier-cta {
	width: 100%;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	background: var(--ot-accent); color: #000;
	border: 3px solid #000;
	padding: 14px 16px;
	font-family: var(--ot-display);
	font-size: 22px; letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 4px 4px 0 #fff;
	text-decoration: none;
	transition: transform 0.1s, box-shadow 0.1s;
}
.stigma-ot .ot-carrier-cta:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 #fff; }
.stigma-ot .ot-carrier-note {
	font-size: 11px; color: rgba(255,255,255,0.55);
	text-align: center; margin-top: 10px;
	letter-spacing: 0.04em;
}
.stigma-ot .ot-carrier-empty {
	background: rgba(255,255,255,0.05);
	border: 2px solid rgba(255,255,255,0.15);
	padding: 16px; margin-top: 8px;
	font-size: 14px; line-height: 1.55;
	color: rgba(255,255,255,0.8);
}

/* Address panel */
.stigma-ot .ot-panel--address {
	background: var(--ot-accent); color: #000;
	border-color: #000;
	padding: 28px;
}
.stigma-ot .ot-panel--address .ot-h2 { margin-bottom: 14px; }
.stigma-ot .ot-address {
	background: #000; color: #fff;
	padding: 18px; border: 3px solid #000;
	display: flex; gap: 12px; align-items: flex-start;
}
.stigma-ot .ot-address__pin { font-size: 18px; color: var(--ot-accent); }
.stigma-ot .ot-address__name {
	font-family: var(--ot-heavy);
	font-size: 15px; letter-spacing: 0.02em;
}
.stigma-ot .ot-address__lines {
	font-size: 13px; line-height: 1.5;
	color: rgba(255,255,255,0.85);
	margin-top: 4px;
}

/* Help strip */
.stigma-ot .ot-help { padding: 40px 56px 80px; }
@media (max-width: 768px) { .stigma-ot .ot-help { padding: 24px 16px 60px; } }
.stigma-ot .ot-help__inner {
	max-width: 1300px; margin: 0 auto;
	background: #000; color: #fff;
	border: 4px solid #000;
	box-shadow: 8px 8px 0 var(--ot-accent);
	padding: 32px 36px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
}
.stigma-ot .ot-help__kicker {
	font-family: var(--ot-mono);
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--ot-accent); margin-bottom: 8px;
}
.stigma-ot .ot-help__heading {
	font-family: var(--ot-display);
	font-size: clamp(28px, 4vw, 36px);
	line-height: 0.95; letter-spacing: 0.02em;
}
.stigma-ot .ot-help__sub {
	font-size: 14px; color: rgba(255,255,255,0.7);
	margin: 8px 0 0; max-width: 480px;
}
.stigma-ot .ot-help__btn {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 18px 32px;
	background: var(--ot-accent); color: #000;
	border: 4px solid #000;
	box-shadow: 6px 6px 0 var(--ot-alt);
	font-family: var(--ot-display);
	font-size: 22px; letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.1s, box-shadow 0.1s;
}
.stigma-ot .ot-help__btn:hover { transform: translate(2px,2px); box-shadow: 4px 4px 0 var(--ot-alt); }
