/* Oh!G Order Tracking — uses the Oh!G theme colours when present. */
.ohgot {
	--t-yellow: var(--ohg-yellow, #FFD21F); --t-ink: var(--ohg-ink, #141414); --t-ink2: var(--ohg-ink-2, #3a3a3a);
	--t-line: var(--ohg-line, #E8E0CF); --t-cream: var(--ohg-cream, #FFF8EA); --t-red: #C40407; --t-green: #1A7F37; --t-orange: #B4580B;
	--t-font: var(--ohg-display, system-ui, sans-serif);
	max-width: 760px; margin: 0 auto 50px; font-size: 16px; color: var(--t-ink);
}
.ohgot * { box-sizing: border-box; }
.ohgot-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ohgot-head__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--t-yellow); }
.ohgot-head__icon svg { width: 32px; height: 32px; }
.ohgot-title { margin: 0 0 4px; font: 900 clamp(26px, 3.4vw, 38px)/1.05 var(--t-font); letter-spacing: -.02em; }
.ohgot-head p { margin: 0; color: var(--t-ink2); }

.ohgot-form {
	display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding: 18px; border-radius: 22px;
	background: var(--t-cream); border: 2px solid var(--t-line);
}
.ohgot-field label { display: block; margin-bottom: 6px; font: 700 13px/1 var(--t-font); letter-spacing: .04em; text-transform: uppercase; color: var(--t-ink2); }
.ohgot-field input {
	width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--t-line); border-radius: 14px; background: #fff; font-size: 17px; color: var(--t-ink);
}
.ohgot-field input:focus { outline: none; border-color: var(--t-ink); box-shadow: 0 0 0 3px var(--t-yellow); }
.ohgot-btn {
	height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--t-ink); color: #fff; cursor: pointer;
	font: 800 16px/1 var(--t-font); white-space: nowrap; transition: transform .12s ease;
}
.ohgot-btn:hover { transform: translateY(-1px); background: #000; }
.ohgot-hp { position: absolute !important; left: -9999px; height: 1px; overflow: hidden; }
.ohgot-admin-note { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #FFF4CC; font-size: 13px; color: #6b5300; }

.ohgot-result { margin-top: 22px; display: grid; gap: 18px; scroll-margin-top: 120px; }
.ohgot-msg { padding: 14px 16px; border-radius: 16px; font-weight: 600; }
.ohgot-msg--warn { background: #FFF4CC; color: #6b5300; }
.ohgot-msg--bad { background: #FDE3E3; color: var(--t-red); }

.ohgot-card { padding: 22px; border-radius: 24px; background: #fff; border: 2px solid var(--t-line); box-shadow: 0 10px 30px -14px rgba(80, 50, 0, .2); }
.ohgot-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.ohgot-label { display: block; font: 700 13px/1.2 var(--t-font); letter-spacing: .05em; text-transform: uppercase; color: var(--t-ink2); }
.ohgot-status { display: block; margin: 6px 0 2px; font: 900 clamp(24px, 3vw, 32px)/1.1 var(--t-font); letter-spacing: -.02em; }
.ohgot-status--done { color: var(--t-green); }
.ohgot-status--warn { color: var(--t-orange); }
.ohgot-status--bad { color: var(--t-red); }
.ohgot-updated { font-size: 13.5px; color: var(--t-ink2); }
.ohgot-eta { padding: 10px 16px; border-radius: 16px; background: var(--t-yellow); text-align: right; }
.ohgot-eta span { display: block; font: 700 12px/1.2 var(--t-font); text-transform: uppercase; letter-spacing: .05em; }
.ohgot-eta strong { font: 900 20px/1.2 var(--t-font); }

/* 5 steps */
.ohgot-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 22px 0 18px; padding: 0; position: relative; }
.ohgot-steps::before, .ohgot-steps::after { content: ""; position: absolute; top: 10px; left: 10%; height: 5px; border-radius: 5px; }
.ohgot-steps::before { right: 10%; background: var(--t-line); }
.ohgot-steps::after { width: calc((var(--done) - 1) * 20%); max-width: 80%; background: var(--t-ink); }
.ohgot-steps--done::after { background: var(--t-green); }
.ohgot-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ohgot-steps__dot { width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--t-line); }
.ohgot-steps li.is-done .ohgot-steps__dot { background: var(--t-ink); box-shadow: none; }
.ohgot-steps li.is-now .ohgot-steps__dot { background: var(--t-yellow); box-shadow: 0 0 0 4px var(--t-ink); }
.ohgot-steps--done li.is-now .ohgot-steps__dot, .ohgot-steps--done li.is-done .ohgot-steps__dot { background: var(--t-green); box-shadow: none; }
.ohgot-steps__name { font: 700 13px/1.2 var(--t-font); color: var(--t-ink2); }
.ohgot-steps li.is-now .ohgot-steps__name { color: var(--t-ink); font-weight: 800; }

.ohgot-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ohgot-facts div { padding: 10px 14px; border-radius: 14px; background: var(--t-cream); }
.ohgot-facts dt { font: 700 12px/1.2 var(--t-font); text-transform: uppercase; letter-spacing: .05em; color: var(--t-ink2); }
.ohgot-facts dd { margin: 2px 0 0; font: 800 16px/1.3 var(--t-font); word-break: break-all; }
.ohgot-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--t-cream); color: var(--t-ink2); }
.ohgot-note--warn { background: #FFF4CC; color: #6b5300; }
.ohgot-note--bad { background: #FDE3E3; color: var(--t-red); }

/* Timeline */
.ohgot-timeline { margin-top: 18px; border-top: 2px dashed var(--t-line); padding-top: 14px; }
.ohgot-timeline summary { cursor: pointer; font: 800 16px/1.2 var(--t-font); list-style: none; }
.ohgot-timeline summary::-webkit-details-marker { display: none; }
.ohgot-timeline summary::after { content: " ▾"; color: var(--t-ink2); }
.ohgot-timeline[open] summary::after { content: " ▴"; }
.ohgot-timeline ol { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.ohgot-timeline ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 2px solid var(--t-line); }
.ohgot-timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 16px; }
.ohgot-timeline__dot { position: relative; z-index: 1; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--t-line); }
.ohgot-timeline li.is-latest .ohgot-timeline__dot { background: var(--t-yellow); box-shadow: 0 0 0 3px var(--t-ink); }
.ohgot-timeline strong { display: block; font: 800 15.5px/1.3 var(--t-font); }
.ohgot-timeline__remark { display: block; font-size: 14.5px; color: var(--t-ink2); }
.ohgot-timeline__meta { display: block; font-size: 13px; color: #8a8478; margin-top: 2px; }

.ohgot-help { margin-top: 18px; text-align: center; color: var(--t-ink2); }
.ohgot-help a { color: var(--t-ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--t-yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.ohgot--account { margin-top: 30px; }

@media (max-width: 640px) {
	.ohgot-form { grid-template-columns: 1fr; padding: 14px; }
	.ohgot-btn { width: 100%; }
	.ohgot-card { padding: 16px; border-radius: 18px; }
	.ohgot-eta { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; }
	.ohgot-steps__name { font-size: 11px; }
	.ohgot-steps__dot { width: 20px; height: 20px; }
	.ohgot-steps::before, .ohgot-steps::after { top: 8px; height: 4px; }
}

/* "See live tracking" button (Eshopbox's own tracking page) */
.ohgot-live { margin: 16px 0 0; }
.ohgot-btn--live { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; text-decoration: none; background: var(--t-yellow); color: var(--t-ink); box-shadow: inset 0 0 0 2px var(--t-ink); }
.ohgot-btn--live:hover { background: var(--t-ink); color: #fff; }
@media (max-width: 640px) { .ohgot-btn--live { width: 100%; } }
