/* My Account shipment card + SAR symbol support */
.tm-myaccount-shipment { margin: 24px 0; }
.tm-myaccount-shipment .tm-card {
	border: 1px solid var(--tm-border, #e6e8f0);
	border-radius: 16px;
	padding: 0;
	overflow: hidden;
	background: var(--tm-surface, #fff);
}

.tm-myaccount-shipment .currency_icon,
.teammon-app .currency_icon {
	width: 0.9em;
	height: 0.9em;
	fill: currentColor;
	vertical-align: -0.12em;
}
.tm-myaccount-shipment .custom-currency-symbol,
.tm-myaccount-shipment .woocommerce-Price-currencySymbol {
	display: inline-flex !important;
	align-items: center;
}

/* Match WooCommerce my-account order action buttons */
.woocommerce-orders-table .woocommerce-button.tm_smsa_track,
.woocommerce-MyAccount-orders .button.tm_smsa_track,
.account .woocommerce-button.tm_smsa_track {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Store courier delivery handoff */
body.tm-smsa-delivery-handoff {
	margin: 0;
	background:
		radial-gradient(1200px 500px at 10% -10%, rgba(128, 122, 248, 0.18), transparent 55%),
		radial-gradient(900px 420px at 100% 0%, rgba(51, 197, 200, 0.14), transparent 50%),
		#f3f4f8;
	font-family: Tajawal, sans-serif;
}
.tm-delivery {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}
.tm-delivery__card {
	width: 100%;
	max-width: 520px;
	background: #fff;
	border: 1px solid #e6e8f0;
	border-radius: 20px;
	padding: 28px 24px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.tm-delivery__brand {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 18px;
}
.tm-delivery__store {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}
.tm-delivery__eyebrow {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
}
.tm-delivery__header {
	margin-bottom: 18px;
}
.tm-delivery__title {
	margin: 0 0 4px;
	font-size: 30px;
	line-height: 1.15;
}
.tm-delivery__awb {
	margin: 0 0 10px;
	color: #64748b;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.tm-delivery__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: #eef2ff;
	color: #3730a3;
}
.tm-delivery__badge--pickup { background: #fff7ed; color: #9a3412; }
.tm-delivery__badge--deliver { background: #ecfeff; color: #0e7490; }
.tm-delivery__badge--done { background: #ecfdf5; color: #047857; }
.tm-delivery__steps {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.tm-delivery__steps li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
}
.tm-delivery__steps li span {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e2e8f0;
	color: #64748b;
	font-weight: 800;
}
.tm-delivery__steps li.is-current { color: #0f172a; }
.tm-delivery__steps li.is-current span {
	background: #807af8;
	color: #fff;
}
.tm-delivery__steps li.is-done { color: #047857; }
.tm-delivery__steps li.is-done span {
	background: #22c55e;
	color: #fff;
}
.tm-delivery__kv {
	list-style: none;
	margin: 0 0 20px;
	padding: 16px;
	display: grid;
	gap: 14px;
	background: #f8fafc;
	border-radius: 14px;
}
.tm-delivery__kv li {
	display: grid;
	gap: 4px;
}
.tm-delivery__kv span {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	text-transform: none;
}
.tm-delivery__kv strong {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.45;
}
.tm-delivery__address br { display: block; }
.tm-delivery__contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.tm-delivery__contact-actions .tm-btn {
	min-height: 40px;
	padding-inline: 14px;
}
.tm-delivery__home {
	width: 100%;
	justify-content: center;
	min-height: 44px;
	margin-top: 4px;
}
.tm-delivery__actions {
	display: grid;
	gap: 10px;
}
.tm-delivery__action,
.tm-delivery__complete {
	width: 100%;
	justify-content: center;
	min-height: 48px;
	font-size: 16px;
}
.tm-delivery__hint {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	text-align: center;
}
.tm-delivery__done,
.tm-delivery__status {
	margin: 0;
	font-weight: 700;
	color: #166534;
	text-align: center;
}
.tm-ship-chooser {
	text-align: center;
	padding: 8px 4px 4px;
	max-width: 440px;
	margin: 0 auto;
}
.tm-ship-chooser__options {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}
.tm-ship-chooser__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 18px 16px;
	border: 1px solid #e6e8f0;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	text-align: center;
}
.tm-ship-chooser__card-title {
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
}
.tm-ship-chooser__card-desc {
	font-size: 13px;
	line-height: 1.45;
	color: #64748b;
}
.tm-ship-chooser__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
	justify-content: center;
}

body.tm-smsa-store-track {
	margin: 0;
}

