/* Zazulê — Rastreamento Frenet. Tudo escopado em .zft-lookup / .zft-account-wrap. */
.zft-lookup,
.zft-account-wrap {
	--zft-green: #b2ba35;
	--zft-teal: #1fbdc6;
	--zft-teal-text: #0b7079;
	--zft-ink: #111111;
	--zft-muted: #5d5d58;
	--zft-line: #e1e1da;
	--zft-soft: #f7f8f3;
	font-family: inherit;
	color: var(--zft-ink);
	scroll-margin-top: 120px;
}

.zft-form,
.zft-card {
	background: #ffffff;
	border: 1px solid var(--zft-line);
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 12px 36px rgba(20, 30, 35, 0.06);
}

.zft-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.zft-form label span {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 8px;
}

.zft-form input {
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	border: 1px solid #d8d8d0;
	border-radius: 16px;
	padding: 0 16px;
	font-size: 16px;
	font-family: inherit;
	background: #ffffff;
	color: var(--zft-ink);
}

.zft-form input:focus {
	outline: 3px solid rgba(178, 186, 53, 0.35);
	outline-offset: 1px;
	border-color: var(--zft-green);
}

.zft-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.zft-form button,
.zft-track-btn {
	display: inline-flex;
	box-sizing: border-box;
	width: 100%;
	justify-content: center;
	align-items: center;
	min-height: 56px;
	margin-top: 22px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--zft-green);
	color: #000000 !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
}

.zft-form button:hover,
.zft-track-btn:hover {
	filter: brightness(0.96);
}

.zft-form button:focus-visible,
.zft-track-btn:focus-visible,
.zft-help-link:focus-visible,
.zft-again a:focus-visible {
	outline: 3px solid rgba(11, 112, 121, 0.45);
	outline-offset: 3px;
}

.zft-privacy {
	text-align: center;
	font-size: 13px;
	color: var(--zft-muted);
	margin: 12px 0 0;
}

.zft-alert {
	border-radius: 14px;
	padding: 12px 14px;
	margin-bottom: 14px;
	font-size: 14px;
}

.zft-alert-error {
	background: #fff1f0;
	border: 1px solid #f3b6b2;
	color: #8f1d16;
}

.zft-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.zft-card-head h3 {
	font-family: Fraunces, Georgia, "Times New Roman", serif;
	font-size: 26px;
	line-height: 1.2;
	margin: 6px 0 0;
}

.zft-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--zft-teal-text);
}

.zft-badge {
	white-space: nowrap;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 700;
	background: #f1f2ee;
	color: #3d3d39;
}

.zft-status-success {
	background: #e8f6e9;
	color: #17672b;
}

.zft-status-warning {
	background: #fff2da;
	color: #7a5000;
}

.zft-status-route {
	background: #e5f3f6;
	color: #125f6a;
}

.zft-order-status {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--zft-muted);
}

.zft-waiting {
	margin-top: 22px;
	padding: 18px;
	border-radius: 16px;
	background: var(--zft-soft);
}

.zft-waiting--alert {
	background: #fff7e8;
}

.zft-waiting p {
	margin: 6px 0 0;
	color: #4a4a46;
}

.zft-help-link {
	color: var(--zft-teal-text) !important;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.zft-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.zft-grid > div {
	padding: 15px;
	border: 1px solid #ecece6;
	border-radius: 16px;
	background: #fbfbf8;
}

.zft-grid span,
.zft-latest span {
	display: block;
	color: #6b6b64;
	font-size: 12px;
	margin-bottom: 4px;
}

.zft-grid strong {
	display: block;
	font-size: 15px;
	overflow-wrap: anywhere;
}

.zft-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.04em;
	user-select: all;
}

.zft-latest {
	margin-top: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: #f2f8f8;
}

.zft-latest p {
	margin: 0;
	font-weight: 600;
}

.zft-latest small {
	display: block;
	margin-top: 4px;
	color: var(--zft-muted);
	font-size: 13px;
}

.zft-history {
	margin-top: 28px;
}

.zft-history h4 {
	font-size: 17px;
	margin: 0 0 14px;
}

.zft-history ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

.zft-history li {
	position: relative;
	display: flex;
	gap: 12px;
	padding: 0 0 18px 2px;
}

.zft-history li:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 15px;
	bottom: -2px;
	width: 1px;
	background: #dcded5;
}

.zft-dot {
	position: relative;
	z-index: 1;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #d4d7c4;
	flex: 0 0 13px;
	margin-top: 4px;
}

.zft-history li.is-latest .zft-dot {
	background: var(--zft-green);
	box-shadow: 0 0 0 4px rgba(178, 186, 53, 0.22);
}

.zft-history li div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.zft-history li strong {
	font-size: 14px;
}

.zft-history li div > span {
	font-size: 12px;
	color: #6b6b64;
}

.zft-again {
	margin: 14px 0 0;
	text-align: center;
	font-size: 14px;
}

.zft-again a {
	color: var(--zft-teal-text);
	font-weight: 600;
}

.zft-account-wrap {
	margin-top: 34px;
}

.zft-account-wrap > h2 {
	margin-bottom: 14px;
}

.zft-account-wrap .zft-card {
	box-shadow: none;
}

.woocommerce-orders-table__cell-order-actions .zft_track {
	white-space: nowrap;
}

@media (max-width: 700px) {
	.zft-form,
	.zft-card {
		padding: 22px 18px;
		border-radius: 20px;
	}

	.zft-fields,
	.zft-grid {
		grid-template-columns: 1fr;
	}

	.zft-card-head {
		flex-direction: column-reverse;
		gap: 10px;
	}

	.zft-badge {
		align-self: flex-start;
	}

	.zft-card-head h3 {
		font-size: 22px;
	}

	.zft-form button {
		margin-top: 16px;
	}
}
