/*!
 * SoftX Order Tracker — Front-end styles (Premium Light Glassmorphism)
 * https://softx.com.bd
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

.softx-ot-wrap {
	--softx-primary: #3B5C05;
	--softx-primary-dark: #2B4304;
	--softx-primary-light: #6E9A2B;
	--softx-accent: #C89D48;
	--softx-accent-light: #E4C787;
	--softx-surface: #FFFEFB;
	--softx-border: #EDEDED;
	--softx-text: #242821;
	--softx-muted: #7C8578;
	--softx-danger: #B3261E;
	--softx-hold: #B8860B;
	--softx-refund: #6C4BA6;
	--softx-radius: 18px;

	/* Glass tokens */
	--softx-glass: rgba(255, 255, 255, .58);
	--softx-glass-strong: rgba(255, 255, 255, .78);
	--softx-glass-soft: rgba(255, 255, 255, .38);
	--softx-glass-border: rgba(255, 255, 255, .75);
	--softx-glass-line: rgba(36, 40, 33, .06);
	--softx-glass-shadow: 0 30px 70px -30px rgba(36, 40, 33, .28), 0 2px 6px rgba(36, 40, 33, .04), inset 0 1px 0 rgba(255, 255, 255, .7);
	--softx-glass-shadow-sm: 0 10px 28px -14px rgba(36, 40, 33, .18), inset 0 1px 0 rgba(255, 255, 255, .6);

	--softx-shadow-sm: 0 1px 2px rgba(36, 40, 33, .05);
	--softx-shadow-md: 0 8px 24px -8px rgba(59, 92, 5, .18);
	--softx-shadow-lg: 0 24px 48px -16px rgba(59, 92, 5, .22);

	--softx-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--softx-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	position: relative;
	isolation: isolate;
	font-family: var(--softx-font-body);
	color: var(--softx-text);
	max-width: 760px;
	margin: 0 auto;
	padding: 46px 6px;
	box-sizing: border-box;
	overflow: visible;
}

.softx-ot-wrap *,
.softx-ot-wrap *::before,
.softx-ot-wrap *::after {
	box-sizing: inherit;
}

/* ---------- Decorative glass-light background orbs ---------- */

.softx-ot-bg-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	z-index: -1;
	pointer-events: none;
	opacity: .55;
}

.softx-ot-bg-orb-1 {
	width: 320px;
	height: 320px;
	top: -120px;
	left: -100px;
	background: radial-gradient(circle at 30% 30%, var(--softx-primary-light), transparent 70%);
}

.softx-ot-bg-orb-2 {
	width: 280px;
	height: 280px;
	top: 40px;
	right: -110px;
	background: radial-gradient(circle at 60% 40%, var(--softx-accent-light), transparent 70%);
}

.softx-ot-bg-orb-3 {
	width: 260px;
	height: 260px;
	bottom: -90px;
	left: 40%;
	background: radial-gradient(circle at 50% 50%, var(--softx-primary), transparent 72%);
	opacity: .28;
}

.softx-ot-card-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(50px);
	pointer-events: none;
	z-index: 0;
}

.softx-ot-card-orb-a {
	width: 220px;
	height: 220px;
	top: -70px;
	right: -60px;
	background: radial-gradient(circle, var(--softx-accent-light), transparent 70%);
	opacity: .35;
}

.softx-ot-card-orb-b {
	width: 200px;
	height: 200px;
	bottom: -80px;
	left: -60px;
	background: radial-gradient(circle, var(--softx-primary-light), transparent 70%);
	opacity: .22;
}

/* ---------- Hero ---------- */

.softx-ot-hero {
	text-align: center;
	margin-bottom: 30px;
	position: relative;
	z-index: 1;
}

.softx-ot-hero-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 22px;
	background: linear-gradient(145deg, var(--softx-primary), var(--softx-primary-dark));
	color: var(--softx-accent-light);
	box-shadow: 0 16px 32px -10px rgba(59, 92, 5, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.softx-ot-heading {
	font-family: var(--softx-font-display);
	font-weight: 800;
	font-size: 31px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
	color: var(--softx-text);
}

.softx-ot-subheading {
	font-size: 15px;
	line-height: 1.6;
	color: var(--softx-muted);
	max-width: 480px;
	margin: 0 auto;
}

/* ---------- Glass surfaces (form + result card share this look) ---------- */

.softx-ot-form,
.softx-ot-order-card {
	position: relative;
	z-index: 1;
	background: var(--softx-glass);
	background-image: linear-gradient(155deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .28));
	-webkit-backdrop-filter: blur(22px) saturate(180%);
	backdrop-filter: blur(22px) saturate(180%);
	border: 1px solid var(--softx-glass-border);
	border-radius: calc(var(--softx-radius) * 1.35);
	box-shadow: var(--softx-glass-shadow);
	overflow: hidden;
}

#softx-ot-app form.softx-ot-form {
	padding: 30px;
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	width: 100%;
	box-sizing: border-box;
}

.softx-ot-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.softx-ot-field label {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--softx-primary);
}

.softx-ot-input-icon {
	position: relative;
	display: flex;
	align-items: center;
}

.softx-ot-input-icon svg {
	position: absolute;
	left: 14px;
	color: var(--softx-muted);
	pointer-events: none;
}

.softx-ot-input-icon input {
	width: 100%;
	padding: 13px 14px 13px 42px;
	border: 1.5px solid rgba(36, 40, 33, .1);
	border-radius: calc(var(--softx-radius) * .6);
	font-family: var(--softx-font-body);
	font-size: 15px;
	color: var(--softx-text);
	background: rgba(255, 255, 255, .65);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.softx-ot-input-icon input::placeholder {
	color: #A9AFA2;
}

.softx-ot-input-icon input:focus {
	outline: none;
	border-color: var(--softx-primary);
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 0 0 4px rgba(59, 92, 5, .12);
}

/* ---------- Aggressive, theme-proof buttons ---------- */
/* Reset any inherited theme/plugin button styling (Woodmart, WP core, etc)
   inside the tracker so our design always wins, then rebuild from zero. */

#softx-ot-app button.softx-otx-btn,
#softx-ot-app a.softx-otx-btn {
	all: unset !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	font-family: var(--softx-font-display) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-align: center !important;
	white-space: nowrap !important;
	border-radius: calc(var(--softx-radius) * .6) !important;
	border: 1.5px solid transparent !important;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	line-height: 1.1 !important;
}

#softx-ot-app button.softx-otx-btn:focus-visible,
#softx-ot-app a.softx-otx-btn:focus-visible {
	outline: 3px solid rgba(59, 92, 5, .35) !important;
	outline-offset: 2px !important;
}

/* Primary (submit) button */
#softx-ot-app button.softx-otx-btn--primary {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
	margin-top: 4px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: relative !important;
	background-color: var(--softx-primary) !important;
	background-image: linear-gradient(135deg, var(--softx-primary) 0%, var(--softx-primary-dark) 100%) !important;
	color: #FFFFFF !important;
	padding: 15px 24px !important;
	font-size: 15.5px !important;
	letter-spacing: 0.01em !important;
	box-shadow: 0 14px 30px -10px rgba(59, 92, 5, .55) !important;
	box-sizing: border-box !important;
}

#softx-ot-app button.softx-otx-btn--primary:hover {
	background-color: var(--softx-primary-dark) !important;
	background-image: linear-gradient(135deg, var(--softx-primary-dark) 0%, #1F3103 100%) !important;
	color: #FFFFFF !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 18px 36px -10px rgba(59, 92, 5, .65) !important;
}

#softx-ot-app button.softx-otx-btn--primary:active {
	transform: translateY(0) !important;
}

#softx-ot-app button.softx-otx-btn--primary:disabled {
	opacity: .75 !important;
	cursor: progress !important;
	transform: none !important;
	color: #FFFFFF !important;
}

.softx-ot-spinner {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	display: none;
	animation: softx-ot-spin .7s linear infinite;
}

.softx-ot-submit-btn.is-loading .softx-ot-spinner {
	display: inline-block;
}

.softx-ot-submit-btn.is-loading .softx-ot-btn-label {
	opacity: .85;
}

@keyframes softx-ot-spin {
	to { transform: rotate(360deg); }
}

/* Accent button (Track with Courier) */
#softx-ot-app a.softx-otx-btn--accent {
	background-color: var(--softx-accent) !important;
	background-image: linear-gradient(135deg, var(--softx-accent) 0%, var(--softx-accent-light) 100%) !important;
	color: #3A2C0C !important;
	font-size: 13.5px !important;
	padding: 11px 18px !important;
	box-shadow: 0 10px 22px -10px rgba(200, 157, 72, .55) !important;
}

#softx-ot-app a.softx-otx-btn--accent:hover {
	background-image: linear-gradient(135deg, #B98D38 0%, var(--softx-accent) 100%) !important;
	color: #2C2004 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 14px 28px -10px rgba(200, 157, 72, .65) !important;
}

.softx-otx-btn-ic {
	display: inline-flex !important;
	width: 13px !important;
	height: 13px !important;
}

/* Icon-only button (copy) */
#softx-ot-app button.softx-otx-btn--icon {
	width: 26px !important;
	height: 26px !important;
	padding: 0 !important;
	background-color: rgba(59, 92, 5, .12) !important;
	color: var(--softx-primary) !important;
	border-radius: 8px !important;
}

#softx-ot-app button.softx-otx-btn--icon:hover {
	background-color: rgba(59, 92, 5, .22) !important;
	color: var(--softx-primary-dark) !important;
}

.softx-ot-error-msg {
	grid-column: 1 / -1;
	background: rgba(179, 38, 30, .08);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(179, 38, 30, .25);
	color: var(--softx-danger);
	font-size: 13.5px;
	font-weight: 600;
	padding: 10px 14px;
	border-radius: calc(var(--softx-radius) * .55);
	margin: 0;
}

/* ---------- Result wrapper ---------- */

.softx-ot-result {
	margin-top: 22px;
	animation: softx-ot-fade-up .45s ease both;
}

@keyframes softx-ot-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

.softx-ot-order-card {
	padding: 30px;
}

.softx-ot-order-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px dashed var(--softx-glass-line);
}

.softx-ot-order-eyebrow {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--softx-muted);
	margin-bottom: 2px;
}

.softx-ot-order-number {
	font-family: var(--softx-font-display);
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 4px;
	color: var(--softx-text);
}

.softx-ot-order-date {
	font-size: 13px;
	color: var(--softx-muted);
}

.softx-ot-status-pill {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	padding: 8px 15px;
	border-radius: 999px;
	background: rgba(59, 92, 5, .1);
	color: var(--softx-primary);
	white-space: nowrap;
	border: 1px solid rgba(59, 92, 5, .18);
}

.softx-ot-status-pill-icon {
	display: inline-flex;
	width: 13px;
	height: 13px;
}

.softx-ot-status-cancelled,
.softx-ot-status-failed { background: rgba(179, 38, 30, .1); color: var(--softx-danger); border-color: rgba(179, 38, 30, .22); }
.softx-ot-status-on-hold { background: rgba(184, 134, 11, .14); color: var(--softx-hold); border-color: rgba(184, 134, 11, .25); }
.softx-ot-status-refunded { background: rgba(108, 75, 166, .12); color: var(--softx-refund); border-color: rgba(108, 75, 166, .24); }
.softx-ot-status-completed { background: rgba(59, 92, 5, .12); color: var(--softx-primary); }

/* ---------- Alert banners (halted statuses only shown when applicable) ---------- */

.softx-ot-alert-banner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: rgba(179, 38, 30, .07);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(179, 38, 30, .2);
	color: var(--softx-danger);
	padding: 18px 20px;
	border-radius: calc(var(--softx-radius) * .8);
	margin-bottom: 22px;
}

.softx-ot-alert-icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(179, 38, 30, .14);
}

.softx-ot-alert-text { display: flex; flex-direction: column; gap: 4px; }
.softx-ot-alert-text strong { font-size: 15px; font-weight: 800; color: inherit; }
.softx-ot-alert-text span { font-size: 13.5px; font-weight: 500; color: var(--softx-text); opacity: .85; }

.softx-ot-tone-hold { background: rgba(184, 134, 11, .08); border-color: rgba(184, 134, 11, .25); color: var(--softx-hold); }
.softx-ot-tone-hold .softx-ot-alert-icon { background: rgba(184, 134, 11, .16); }

.softx-ot-tone-refund { background: rgba(108, 75, 166, .08); border-color: rgba(108, 75, 166, .25); color: var(--softx-refund); }
.softx-ot-tone-refund .softx-ot-alert-icon { background: rgba(108, 75, 166, .16); }

.softx-ot-tone-danger { background: rgba(179, 38, 30, .07); border-color: rgba(179, 38, 30, .2); color: var(--softx-danger); }

/* ---------- Advanced progress meta + bar ---------- */

.softx-ot-progress-meta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.softx-ot-progress-meta-left { display: flex; flex-direction: column; gap: 2px; }

.softx-ot-progress-label {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--softx-text);
}

.softx-ot-progress-updated {
	font-size: 11.5px;
	color: var(--softx-muted);
}

.softx-ot-progress-percent {
	font-family: var(--softx-font-display);
	font-size: 20px;
	font-weight: 800;
	color: var(--softx-primary);
}

.softx-ot-progress-track {
	position: relative;
	z-index: 1;
	height: 8px;
	border-radius: 999px;
	background: rgba(36, 40, 33, .08);
	overflow: hidden;
	margin-bottom: 26px;
	box-shadow: inset 0 1px 2px rgba(36, 40, 33, .1);
}

.softx-ot-progress-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--softx-primary), var(--softx-accent));
	transition: width .9s cubic-bezier(.22, 1, .36, 1);
	box-shadow: 0 0 12px rgba(200, 157, 72, .5);
}

/* ---------- Timeline (advanced, timestamped) ---------- */

.softx-ot-timeline {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0 0 22px;
}

.softx-ot-tl-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	width: 25%;
	opacity: 0;
	transform: translateY(6px);
}

.softx-ot-tl-step.softx-ot-tl-animate {
	animation: softx-ot-tl-in .5s ease both;
}

@keyframes softx-ot-tl-in {
	to { opacity: 1; transform: translateY(0); }
}

.softx-ot-tl-dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .7);
	border: 2px solid rgba(36, 40, 33, .12);
	color: #fff;
	transition: all .25s ease;
	flex-shrink: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

.softx-ot-tl-dot-icon { display: flex; width: 14px; height: 14px; }
.softx-ot-tl-dot-icon-active { width: 16px; height: 16px; color: var(--softx-accent); }

/* Upcoming (not-yet-reached) steps: show the step's own icon, but muted
   and low-contrast so it clearly reads as "not reached yet" rather than
   being confused with a completed/active step. */
.softx-ot-tl-dot-icon-upcoming {
	width: 14px;
	height: 14px;
	color: var(--softx-muted);
	opacity: .45;
}

.softx-ot-tl-upcoming .softx-ot-tl-dot {
	background: rgba(255, 255, 255, .55);
	border-color: rgba(36, 40, 33, .14);
	border-style: dashed;
}

.softx-ot-tl-done .softx-ot-tl-dot {
	background: linear-gradient(145deg, var(--softx-primary), var(--softx-primary-dark));
	border-color: var(--softx-primary);
	color: #fff;
	box-shadow: 0 6px 16px -6px rgba(59, 92, 5, .55);
}

.softx-ot-tl-active .softx-ot-tl-dot {
	background: rgba(255, 255, 255, .9);
	border-color: var(--softx-accent);
	box-shadow: 0 0 0 6px rgba(200, 157, 72, .18);
	position: relative;
}

.softx-ot-tl-active .softx-ot-tl-dot::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1.5px solid var(--softx-accent);
	animation: softx-ot-pulse-ring 1.8s ease-out infinite;
}

@keyframes softx-ot-pulse-ring {
	0% { transform: scale(.8); opacity: .8; }
	100% { transform: scale(1.35); opacity: 0; }
}

.softx-ot-tl-copy { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }

.softx-ot-tl-label {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--softx-muted);
	line-height: 1.3;
}

.softx-ot-tl-done .softx-ot-tl-label { color: var(--softx-primary); }
.softx-ot-tl-active .softx-ot-tl-label { color: var(--softx-text); }

.softx-ot-tl-time {
	font-size: 10.5px;
	color: var(--softx-muted);
	opacity: .85;
}

.softx-ot-tl-time-live {
	color: var(--softx-accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.softx-ot-tl-time-pending { opacity: .55; }

.softx-ot-tl-line {
	flex: 1 1 auto;
	height: 2px;
	background: rgba(36, 40, 33, .1);
	margin-top: 17px;
	border-radius: 2px;
}

.softx-ot-tl-line-done { background: linear-gradient(90deg, var(--softx-primary), var(--softx-accent)); }

/* Current-status descriptive note */

.softx-ot-status-note {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--softx-text);
	background: rgba(59, 92, 5, .06);
	border: 1px solid rgba(59, 92, 5, .12);
	padding: 12px 16px;
	border-radius: calc(var(--softx-radius) * .6);
	margin-bottom: 22px;
}

.softx-ot-status-note-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--softx-primary);
}

/* ---------- Courier / advanced tracking box ---------- */

.softx-ot-courier-box {
	position: relative;
	z-index: 1;
	background: linear-gradient(135deg, rgba(200, 157, 72, .14), rgba(200, 157, 72, .04));
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(200, 157, 72, .32);
	border-radius: calc(var(--softx-radius) * .8);
	padding: 18px 20px;
	margin-bottom: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.softx-ot-courier-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.softx-ot-courier-info {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.softx-ot-courier-info > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.softx-ot-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--softx-muted);
}

.softx-ot-tracking-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.softx-ot-tracking-no {
	font-family: var(--softx-font-display);
	font-size: 14.5px;
	letter-spacing: .02em;
}

.softx-ot-eta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--softx-primary);
	background: rgba(255, 255, 255, .5);
	padding: 10px 14px;
	border-radius: calc(var(--softx-radius) * .5);
	border: 1px solid rgba(59, 92, 5, .1);
}

.softx-ot-eta-icon { flex-shrink: 0; width: 16px; height: 16px; }

/* ---------- Sections ---------- */

.softx-ot-section { position: relative; z-index: 1; margin-bottom: 22px; }

.softx-ot-section h4 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--softx-font-display);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--softx-text);
	margin: 0 0 12px;
}

.softx-ot-h4-icon { display: inline-flex; width: 15px; height: 15px; color: var(--softx-primary); }

.softx-ot-items-table {
	border: 1px solid var(--softx-glass-line);
	border-radius: calc(var(--softx-radius) * .6);
	overflow: hidden;
	background: rgba(255, 255, 255, .4);
}

.softx-ot-item-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
}

.softx-ot-item-row + .softx-ot-item-row { border-top: 1px solid var(--softx-glass-line); }

.softx-ot-item-thumb {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: #F5F5F2;
	border: 1px solid var(--softx-glass-line);
}

.softx-ot-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.softx-ot-item-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.softx-ot-item-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--softx-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.softx-ot-item-qty { font-size: 12.5px; color: var(--softx-muted); }

.softx-ot-item-total { font-size: 14px; font-weight: 700; color: var(--softx-primary); white-space: nowrap; }

.softx-ot-two-col {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.softx-ot-address {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--softx-text);
	background: rgba(255, 255, 255, .4);
	border: 1px solid var(--softx-glass-line);
	border-radius: calc(var(--softx-radius) * .6);
	padding: 14px 16px;
	margin: 0;
}

.softx-ot-totals {
	background: rgba(255, 255, 255, .4);
	border: 1px solid var(--softx-glass-line);
	border-radius: calc(var(--softx-radius) * .6);
	padding: 14px 16px;
}

.softx-ot-totals-row {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	color: var(--softx-muted);
	padding: 6px 0;
}

.softx-ot-totals-row span:last-child { color: var(--softx-text); font-weight: 600; }

.softx-ot-totals-grand {
	border-top: 1px dashed var(--softx-glass-line);
	margin-top: 4px;
	padding-top: 12px;
	font-size: 15px;
}

.softx-ot-totals-grand span { color: var(--softx-primary) !important; font-weight: 800 !important; }

.softx-ot-totals-method { font-size: 12.5px; }

/* ---------- Toast (copy confirmation) ---------- */

.softx-ot-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(43, 67, 4, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	padding: 11px 20px;
	border-radius: calc(var(--softx-radius) * .6);
	box-shadow: var(--softx-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transition: all .25s ease;
	z-index: 9999;
}

.softx-ot-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
	.softx-ot-wrap { padding: 30px 4px; }
	.softx-ot-form { grid-template-columns: 1fr; padding: 24px; }
	.softx-ot-order-card { padding: 22px; }
	.softx-ot-heading { font-size: 25px; }
	.softx-ot-two-col { grid-template-columns: 1fr; gap: 18px; }
	.softx-ot-order-head { flex-direction: column; }

	.softx-ot-timeline {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}
	.softx-ot-tl-step {
		flex-direction: row;
		width: auto;
		gap: 14px;
		padding-bottom: 4px;
	}
	.softx-ot-tl-copy { align-items: flex-start; text-align: left; }
	.softx-ot-tl-line {
		width: 2px;
		height: 26px;
		margin: 0 0 0 16px;
		flex: none;
	}
	.softx-ot-courier-top { flex-direction: column; align-items: flex-start; }
}
