/* ==========================================================================
   0. Universal Astra & Browser Button Reset
   ========================================================================== */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.ast-button {
	background: transparent;
	color: inherit;
	border: none;
	box-shadow: none;
	text-shadow: none;
}

/**
 * Manifest - Component System
 * Commercial Courier & Logistics (Aramex & Bosta Pattern)
 * Clean, Trustworthy Commercial Components & Navigation
 */

/* ==========================================================================
   1. Buttons & Action Links
   ========================================================================== */
.btn-manifest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	padding: 0 28px;
	font-family: var(--font-display-ar);
	font-size: var(--text-sm, 15px);
	font-weight: 700;
	border-radius: var(--radius, 16px);
	cursor: pointer;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all var(--dur-fast) var(--ease-manifest);
	position: relative;
	white-space: nowrap;
	box-sizing: border-box;
}

.btn-sm {
	height: 40px;
	padding: 0 20px;
	font-size: 13px;
	border-radius: var(--radius-sm, 8px);
}

.btn-lg {
	height: 56px;
	padding: 0 36px;
	font-size: 16px;
	border-radius: var(--radius, 16px);
}

/* Primary Brand Accent Button */
.btn-primary,
.btn--primary,
.manifest-btn-primary,
button.btn-primary,
a.btn-primary {
	background-color: var(--accent, #FF6B00) !important;
	color: #FFFFFF !important;
	border-color: var(--accent, #FF6B00) !important;
	box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
	font-weight: 800;
}

.btn-primary:hover,
.btn--primary:hover,
.manifest-btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
	background-color: var(--accent-hover, #E05A00) !important;
	border-color: var(--accent-hover, #E05A00) !important;
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

/* Secondary / Outline Button */
.btn-outline {
	background-color: var(--paper);
	color: var(--text-main);
	border-color: var(--hairline);
}

.btn-outline:hover {
	border-color: var(--text-main);
	background-color: var(--surface-soft);
	color: var(--text-main);
	transform: translateY(-2px);
}

/* Dark Slate Button */
.btn-dark {
	background-color: var(--ink);
	color: var(--paper) !important;
	border-color: var(--ink);
}

.btn-dark:hover {
	background-color: var(--ink);
	border-color: var(--ink);
	color: var(--paper) !important;
	transform: translateY(-2px);
}

/* White Solid Button */
.btn-white {
	background-color: var(--paper);
	color: var(--ink) !important;
	border-color: var(--paper);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
	background-color: var(--surface-soft);
	color: var(--ink) !important;
	transform: translateY(-2px);
}

/* Minimal Text Link */
.link-commercial {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display-ar);
	font-size: 14px;
	font-weight: 700;
	color: var(--accent);
	text-decoration: none;
	transition: gap var(--dur-fast) ease;
}

.link-commercial:hover {
	color: var(--accent-hover);
	gap: 12px;
}

/* ==========================================================================
   2. Commercial Cards & Surfaces
   ========================================================================== */
.commercial-card,
.hairline-box {
	background: var(--surface-card, var(--paper));
	border: 1px solid var(--hairline);
	border-radius: var(--radius, 16px);
	box-shadow: var(--shadow-card);
	transition: transform var(--dur-fast) var(--ease-manifest), box-shadow var(--dur-fast) var(--ease-manifest), border-color var(--dur-fast);
}

.commercial-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--hairline));
}

/* Soft Tinted Surface Card */
.surface-soft-card {
	background: var(--surface-soft, var(--soft));
	border: 1px solid var(--hairline-subtle);
	border-radius: var(--radius, 16px);
	padding: clamp(24px, 3.5vw, 40px);
}

/* ==========================================================================
   3. Utility Top Bar (Thin commercial info bar)
   ========================================================================== */
.manifest-utility-bar {
	height: var(--utility-height, 40px);
	background: var(--surface-soft, var(--soft));
	border-bottom: 1px solid var(--hairline);
	font-size: 13px;
	color: var(--text-muted);
	position: relative;
	z-index: 1010;
}

.utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.utility-left,
.utility-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* Country Selector Button & Popover */
.utility-country-wrap {
	position: relative;
}

.utility-country-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: var(--radius-sm, 8px);
	font-size: 13px;
	font-weight: 700;
	color: var(--text-main);
	transition: background var(--dur-fast);
}

.utility-country-btn:hover {
	background: rgba(16, 28, 43, 0.05);
}

.utility-country-btn .country-flag {
	font-size: 15px;
}

.utility-country-btn .utility-chevron {
	color: var(--text-muted);
	transition: transform var(--dur-fast);
}

.utility-country-popover {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	width: 290px;
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-md, 12px);
	box-shadow: var(--shadow-lg);
	padding: 16px;
	z-index: 1020;
}

.utility-country-popover.is-open {
	display: block;
	animation: popoverFadeIn 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes popoverFadeIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

.country-popover-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hairline);
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--text-main);
}

.country-popover-close {
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 14px;
	padding: 2px 6px;
}

.country-options-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.country-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: var(--radius-sm, 8px);
	text-decoration: none;
	color: var(--text-main);
	border: 1px solid transparent;
	transition: all var(--dur-fast);
}

.country-option:hover,
.country-option.is-active {
	background: var(--surface-soft);
	border-color: var(--hairline);
}

.country-option.is-active {
	border-color: var(--accent);
}

.country-option .flag {
	font-size: 20px;
}

.country-option .details strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
}

.country-option .details span {
	font-size: 11px;
	color: var(--text-muted);
	font-family: var(--font-mono);
}

/* Language Toggle */
.utility-lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.utility-lang-toggle .lang-curr {
	font-weight: 700;
	color: var(--text-main);
}

.utility-lang-toggle .lang-link {
	color: var(--text-muted);
	text-decoration: none;
}

.utility-lang-toggle .lang-link:hover {
	color: var(--accent);
}

.utility-theme-btn {
	background: none;
	border: none;
	padding: 2px 6px;
	color: var(--text-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: inherit;
	font-size: 12px;
	transition: color var(--dur-fast);
}

.utility-theme-btn:hover {
	color: var(--accent);
}

/* Utility Links */
.utility-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--text-muted);
	font-size: 13px;
	transition: color var(--dur-fast);
}

.utility-link:hover {
	color: var(--accent);
}

.utility-phone {
	color: var(--text-main);
	font-weight: 600;
	direction: ltr;
}

.utility-signup {
	color: var(--accent) !important;
	font-weight: 700;
}

.utility-sep {
	color: var(--hairline);
	font-size: 10px;
}

@media (max-width: 900px) {
	.manifest-utility-bar {
		display: none;
	}
}

/* ==========================================================================
   4. Main Sticky Commercial Header
   ========================================================================== */
.manifest-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--hairline);
	box-shadow: var(--shadow-sm);
	transition: background var(--dur-fast), box-shadow var(--dur-fast);
}

.manifest-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height, 80px);
}

/* Brand */
.manifest-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text-main);
}

.brand-logo-symbol {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm, 10px);
	background: var(--surface-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--hairline);
}

.brand-text-wrap {
	display: flex;
	flex-direction: column;
}

.manifest-brand-title {
	font-family: var(--font-display-ar);
	font-size: 20px;
	font-weight: 800;
	color: var(--text-main);
	line-height: 1.15;
}

.manifest-brand-sub {
	font-size: 11px;
	color: var(--text-muted);
}

/* Main Navigation Menu */
.manifest-main-nav {
	display: none;
}

@media (min-width: 1024px) {
	.manifest-main-nav {
		display: block;
	}
}

.nav-menu-list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-item {
	position: relative;
}

/* Nav Links Reset (Defeats Astra button defaults) */
.nav-link,
button.nav-link,
.manifest-main-nav button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-display-ar);
	font-size: 15px;
	font-weight: 700;
	color: var(--on) !important;
	text-decoration: none;
	padding: 24px 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: color var(--dur-fast);
}

.nav-link:hover,
button.nav-link:hover,
.manifest-main-nav button:hover,
.nav-item:hover > .nav-link {
	color: var(--accent) !important;
	background: transparent !important;
}


.nav-item:hover > .nav-link,
.nav-link:hover {
	color: var(--accent);
}

.nav-chevron {
	color: var(--text-muted);
	transition: transform var(--dur-fast);
}

.nav-item:hover .nav-chevron {
	transform: rotate(180deg);
	color: var(--accent);
}

/* Mega Menus Dropdowns (Constrained Opaque Container) */
.manifest-header {
	position: relative;
}

.nav-item.has-mega-menu {
	position: static !important;
}

.mega-menu-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	width: min(1200px, calc(100vw - 48px));
	max-width: 1200px;
	background: var(--card) !important;
	color: var(--on-card) !important;
	border: 1px solid var(--line);
	border-radius: var(--radius-md, 12px);
	box-shadow: 0 16px 40px rgba(16, 28, 43, 0.18);
	display: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 1000;
	pointer-events: none;
}

.nav-item.has-mega-menu:hover .mega-menu-dropdown,
.nav-item.has-mega-menu:focus-within .mega-menu-dropdown,
.nav-item.has-mega-menu.is-active .mega-menu-dropdown {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Backdrop */
.manifest-mega-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(16, 28, 43, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	z-index: 990;
	pointer-events: none;
}

.has-mega-open .manifest-mega-backdrop,
.manifest-mega-backdrop.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


.mega-menu-inner {
	padding: 36px 0;
}

/* Mega Panel Type A: Featured Promo Card */
.mega-panel-featured .mega-menu-inner {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
}

.mega-col-title {
	display: block;
	font-family: var(--font-display-ar);
	font-size: 12px;
	font-weight: 700;
	color: var(--text-muted);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--hairline);
	padding-bottom: 8px;
}

.mega-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.mega-action-card {
	display: flex;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-sm, 10px);
	text-decoration: none;
	color: var(--text-main);
	background: var(--paper);
	transition: all var(--dur-fast);
}

.mega-action-card:hover {
	border-color: var(--accent);
	background: var(--surface-soft);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.card-icon-box {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm, 8px);
	background: var(--surface-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background var(--dur-fast), color var(--dur-fast);
}

.mega-action-card:hover .card-icon-box {
	background: var(--accent);
	color: var(--paper);
}

.card-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.card-title-row strong {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-main);
}

.card-badge {
	background: rgba(184, 147, 90, 0.15);
	color: var(--accent);
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 800;
}

.card-content p {
	font-size: 12px;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}

/* Mega Promo Card */
.mega-promo-card {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 280px;
	border-radius: var(--radius, 14px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	color: var(--paper);
}

.promo-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.65);
	transition: transform 0.4s ease;
}

.mega-promo-card:hover .promo-bg-img {
	transform: scale(1.04);
}

.promo-content {
	position: relative;
	z-index: 2;
}

.promo-tag {
	display: inline-block;
	background: var(--accent);
	color: var(--paper);
	font-size: 10px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.promo-content h4 {
	font-size: 1.25rem;
	color: var(--paper);
	margin-bottom: 8px;
	line-height: 1.3;
}

.promo-content p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 14px;
	line-height: 1.5;
}

/* Mega Panel Type B: 3 Columns Grid with Hover Image Swap */
.mega-columns-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 300px;
	gap: 32px;
}

.mega-col-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mega-item-link {
	display: block;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: var(--radius-sm, 8px);
	transition: all var(--dur-fast);
}

.mega-item-link:hover {
	background: var(--surface-soft);
}

.mega-item-link strong {
	display: block;
	font-size: 14px;
	color: var(--text-main);
	margin-bottom: 2px;
}

.mega-item-link:hover strong {
	color: var(--accent);
}

.mega-item-link span {
	display: block;
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.4;
}

.mega-hover-preview {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 260px;
	border-radius: var(--radius, 14px);
	overflow: hidden;
	border: 1px solid var(--hairline);
}

.mega-hover-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.85);
	transition: filter 0.3s ease;
}

.preview-overlay {
	position: absolute;
	bottom: 14px;
	inset-inline-start: 14px;
}

.preview-tag {
	background: rgba(16, 28, 43, 0.85);
	color: var(--paper);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
}

/* Header Right Actions */
.manifest-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Header Quick Track Expander */
.header-quick-track {
	position: relative;
}

.header-track-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 16px;
	border: 1px solid var(--hairline);
	border-radius: var(--radius, 14px);
	background: var(--paper);
	color: var(--text-main);
	font-family: var(--font-display-ar);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all var(--dur-fast);
}

.header-track-trigger:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.header-track-flyout {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	width: 320px;
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius, 14px);
	box-shadow: var(--shadow-lg);
	padding: 8px;
	z-index: 1020;
}

.header-quick-track.is-active .header-track-flyout {
	display: flex;
	align-items: center;
	animation: popoverFadeIn 0.2s ease;
}

.quick-track-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 10px 14px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--text-main);
	background: transparent;
}

.quick-track-btn {
	width: 38px;
	height: 38px;
	border-radius: var(--radius-sm, 8px);
	background: var(--accent);
	color: var(--paper);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--dur-fast);
}

.quick-track-btn:hover {
	background: var(--accent-hover);
}

.header-cta-btn {
	height: 44px;
	padding: 0 22px;
	font-size: 14px;
}

@media (max-width: 1023px) {
	.header-cta-btn {
		display: none;
	}
}

/* Mobile Hamburger Toggle */
.mobile-drawer-btn {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 40px;
	height: 40px;
	padding: 11px 9px;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-sm, 10px);
	background: var(--surface-soft);
	cursor: pointer;
}

@media (min-width: 1024px) {
	.mobile-drawer-btn {
		display: none;
	}
}

.hamburger-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--text-main);
	border-radius: 2px;
	transition: transform var(--dur-fast), opacity var(--dur-fast);
}

/* ==========================================================================
   5. Mobile Slide-Over Drawer
   ========================================================================== */
.manifest-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 2000;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	display: none;
	transition: visibility 0.3s;
}

.manifest-mobile-drawer.is-open {
	display: block;
	visibility: visible;
	pointer-events: auto;
}

.mobile-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 28, 43, 0.6);
	opacity: 0;
	transition: opacity 0.3s;
}

.manifest-mobile-drawer.is-open .mobile-drawer-backdrop {
	opacity: 1;
}

.mobile-drawer-sheet {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	width: 86vw;
	max-width: 380px;
	background: var(--paper);
	box-shadow: var(--shadow-floating);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 24px;
}

[dir="rtl"] .mobile-drawer-sheet {
	transform: translateX(100%);
}

.manifest-mobile-drawer.is-open .mobile-drawer-sheet {
	transform: translateX(0);
}

.mobile-drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 20px;
}

.drawer-brand strong {
	display: block;
	font-size: 18px;
	color: var(--on);
}

.drawer-brand span {
	font-size: 12px;
	color: var(--on-muted);
}

.mobile-drawer-close {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--hairline);
	background: var(--surface-soft);
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-main);
}

.mobile-drawer-cta {
	margin-bottom: 24px;
}

.mobile-accordion-nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.mobile-nav-group {
	border: 1px solid var(--hairline);
	border-radius: var(--radius-sm, 10px);
	overflow: hidden;
}

.mobile-group-summary {
	padding: 14px 18px;
	background: var(--surface-soft);
	font-family: var(--font-display-ar);
	font-size: 15px;
	font-weight: 700;
	color: var(--text-main);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
}

.mobile-group-summary::-webkit-details-marker {
	display: none;
}

.mobile-nav-group[open] .mobile-group-summary .chevron {
	transform: rotate(180deg);
}

.mobile-sublinks {
	list-style: none;
	padding: 12px 18px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--paper);
}

.mobile-sublink {
	text-decoration: none;
	color: var(--text-main);
	display: block;
}

.mobile-sublink strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.mobile-sublink span {
	font-size: 12px;
	color: var(--text-muted);
}

.mobile-sub-heading {
	font-size: 11px;
	font-weight: 800;
	color: var(--accent);
	margin-top: 8px;
	text-transform: uppercase;
}

.mobile-single-link {
	display: block;
	padding: 14px 18px;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-sm, 10px);
	text-decoration: none;
	font-family: var(--font-display-ar);
	font-size: 15px;
	font-weight: 700;
	color: var(--text-main);
}

.mobile-drawer-footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--hairline);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.drawer-contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--text-main);
	direction: ltr;
}

.drawer-auth-row {
	display: flex;
	gap: 10px;
}

/* ==========================================================================
   6. Mobile Sticky Bottom Action Bar (< 768px screens)
   ========================================================================== */
.manifest-mobile-bottom-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 64px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid var(--hairline);
	box-shadow: 0 -4px 16px rgba(16, 28, 43, 0.08);
	z-index: 1500;
	padding: 0 16px;
}

@media (max-width: 767px) {
	.manifest-mobile-bottom-bar {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}
	body {
		padding-bottom: 64px;
	}
}

.bottom-bar-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-decoration: none;
	color: var(--text-main);
	flex: 1;
	height: 100%;
}

.bottom-bar-action .action-icon {
	color: var(--text-muted);
	transition: color var(--dur-fast);
}

.bottom-bar-action .action-label {
	font-size: 11px;
	font-weight: 700;
	font-family: var(--font-display-ar);
}

.bottom-bar-action.is-primary {
	color: var(--accent);
}

.bottom-bar-action.is-primary .action-icon {
	color: var(--accent);
}

/* ==========================================================================
   7. Commercial Footer (5-Column Layout)
   ========================================================================== */
.manifest-footer {
	background: var(--ink, var(--ink));
	color: var(--paper);
	padding-top: clamp(56px, 7vw, 84px);
	padding-bottom: 32px;
	border-top: 1px solid var(--hairline);
}

.footer-top-grid {
	display: grid;
	grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr;
	gap: clamp(24px, 3.5vw, 48px);
	margin-bottom: 48px;
}

@media (max-width: 1024px) {
	.footer-top-grid {
		grid-template-columns: 1fr 1fr;
	}
	.footer-col-brand {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.footer-top-grid {
		grid-template-columns: 1fr;
	}
	.footer-col-brand {
		grid-column: span 1;
	}
}

.footer-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--paper);
	margin-bottom: 16px;
}

.footer-logo-box {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm, 10px);
	background: rgba(255, 255, 255, 0.1);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-brand-title {
	font-family: var(--font-display-ar);
	font-size: 22px;
	font-weight: 800;
	color: var(--paper);
}

.footer-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.7;
	margin-bottom: 24px;
	max-width: 36ch;
}

/* App Badges */
.app-badges-title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 10px;
}

.app-badges-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.store-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--radius-sm, 8px);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--paper);
	text-decoration: none;
	transition: all var(--dur-fast);
}

.store-badge-pill:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.badge-icon {
	font-size: 18px;
}

.badge-text .sub {
	display: block;
	font-size: 9px;
	text-transform: uppercase;
	opacity: 0.7;
	line-height: 1;
}

.badge-text strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

/* Social Buttons */
.footer-social-row {
	display: flex;
	gap: 8px;
}

.social-icon-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--paper);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	transition: all var(--dur-fast);
}

.social-icon-btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	transform: translateY(-2px);
}

/* Footer Column Links */
.footer-col h4 {
	font-family: var(--font-display-ar);
	font-size: 15px;
	font-weight: 700;
	color: var(--paper);
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 8px;
}

.footer-col h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 24px;
	height: 2px;
	background: var(--accent);
}

.footer-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links-list a {
	color: var(--on-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color var(--dur-fast), transform var(--dur-fast);
	display: inline-block;
}

.footer-links-list a:hover {
	color: var(--paper);
	transform: translateX(-4px);
}

/* Footer HQ Bar */
.footer-hq-bar {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 24px;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 24px;
	font-size: 13px;
	color: var(--on-muted);
}

@media (max-width: 768px) {
	.footer-hq-bar {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.hq-label {
	color: var(--accent);
	font-weight: 700;
	margin-inline-end: 6px;
}

.hq-val {
	color: var(--paper);
	text-decoration: none;
}

.hq-val a {
	color: var(--paper);
	text-decoration: none;
}

.hq-val a:hover {
	color: var(--accent);
}

/* Footer Bottom Strip */
.footer-bottom-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: var(--on-muted);
}

.license-note {
	margin-inline-start: 12px;
	padding-inline-start: 12px;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
	font-family: var(--font-mono);
	color: var(--on-muted);
}

.footer-country-selector {
	display: flex;
	align-items: center;
	gap: 8px;
}

.country-pill {
	padding: 4px 10px;
	border-radius: var(--radius-sm, 6px);
	background: rgba(255, 255, 255, 0.08);
	color: var(--on-muted);
	text-decoration: none;
	font-size: 12px;
	transition: background var(--dur-fast), color var(--dur-fast);
}

.country-pill:hover,
.country-pill.is-active {
	background: var(--accent) !important;
	color: var(--accent-ink) !important;
}

.country-pill:hover .badge,
.country-pill.is-active .badge {
	color: var(--accent-ink) !important;
}

.footer-theme-toggle-btn {
	cursor: pointer;
	border: none;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Floating WhatsApp Action */
.manifest-floating-wa {
	position: fixed;
	bottom: 28px;
	inset-inline-start: 28px;
	z-index: 1400;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 56px;
	height: 56px;
	min-width: 56px;
	padding: 0;
	border-radius: 28px;
	background: var(--whatsapp);
	color: var(--paper) !important;
	border: none;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
	text-decoration: none;
	font-family: var(--font-display-ar);
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
	justify-content: center;
}

.manifest-floating-wa:hover {
	width: 148px;
	padding: 0 16px;
	justify-content: flex-start;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
	color: var(--paper) !important;
}

.manifest-floating-wa svg {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	color: var(--paper) !important;
}

.manifest-floating-wa .floating-wa-label {
	white-space: nowrap;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.2s 0.1s ease, transform 0.2s 0.1s ease;
}

.manifest-floating-wa:hover .floating-wa-label {
	opacity: 1;
	transform: translateX(0);
}

@media (max-width: 767px) {
	.manifest-floating-wa {
		bottom: 80px;
		inset-inline-start: 16px;
	}
}

	.floating-wa-label {
		display: none;
	}
}


/* Persistent Shipment Pill (Session Stored) */
.manifest-shipment-pill {
	position: fixed;
	bottom: 24px;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	z-index: 1300;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--accent);
	border-radius: var(--radius-full, 9999px);
	padding: 8px 16px;
	box-shadow: 0 8px 24px rgba(16, 28, 43, 0.35);
	font-family: var(--font-display-ar);
	font-size: 13px;
	max-width: calc(100vw - 32px);
}

.manifest-shipment-pill .shipment-pill-inner {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.manifest-shipment-pill .shipment-pill-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ok);
	animation: pillPulse 1.8s infinite;
}

@keyframes pillPulse {
	0% { box-shadow: 0 0 0 0 rgba(46, 158, 107, 0.6); }
	70% { box-shadow: 0 0 0 8px rgba(46, 158, 107, 0); }
	100% { box-shadow: 0 0 0 0 rgba(46, 158, 107, 0); }
}

.manifest-shipment-pill .shipment-pill-link {
	color: var(--accent);
	font-weight: 700;
	text-decoration: underline;
}

.manifest-shipment-pill .shipment-pill-dismiss {
	background: transparent;
	border: none;
	color: var(--on-muted);
	font-size: 16px;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
}

.manifest-shipment-pill .shipment-pill-dismiss:hover {
	color: var(--paper);
}
