/* ============================================
   SWIFTHAUL LOGISTICS - MAIN STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1a3c5e;
  --primary-light: #2563a8;
  --primary-dark: #0f2540;
  --accent: #f97316;
  --accent-hover: #ea6c0a;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0284c7;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.07), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Floating customer contact panel */
.whatsapp-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  font-size: .875rem;
}

.whatsapp-launcher {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1rem .7rem .7rem;
  background: #128c7e;
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(18, 140, 126, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-launcher:hover,
.whatsapp-launcher.is-open { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 140, 126, .36); }
.whatsapp-launcher-mark,
.whatsapp-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: white;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.whatsapp-panel {
  width: min(21rem, calc(100vw - 2rem));
  margin-bottom: .75rem;
  overflow: hidden;
  border: 1px solid rgba(15, 37, 64, .12);
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 46px rgba(15, 37, 64, .2);
}

.whatsapp-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem .9rem;
  background: #128c7e;
  color: white;
}
.whatsapp-panel-header strong,
.whatsapp-panel-header span { display: block; }
.whatsapp-panel-header span { margin-top: .2rem; color: rgba(255,255,255,.78); font-size: .75rem; }
.whatsapp-close { border: 0; background: transparent; color: white; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.whatsapp-options { padding: .65rem; }
.whatsapp-option,
.whatsapp-email { display: flex; align-items: center; gap: .7rem; border-radius: 9px; padding: .7rem; color: var(--gray-800); }
.whatsapp-option:hover, .whatsapp-email:hover { background: var(--gray-50); }
.whatsapp-option-icon { width: 2.25rem; height: 2.25rem; background: #128c7e; }
.whatsapp-option strong, .whatsapp-option small { display: block; }
.whatsapp-option small { margin-top: .12rem; color: var(--gray-500); font-size: .75rem; }
.whatsapp-arrow { margin-left: auto; color: #128c7e; font-size: 1.1rem; }
.whatsapp-email { margin-top: .25rem; border-top: 1px solid var(--gray-100); border-radius: 0; padding-top: .85rem; color: var(--primary); font-size: .75rem; }

@media (max-width: 480px) {
  .whatsapp-widget { right: .75rem; bottom: .75rem; }
  .whatsapp-launcher-label { display: none; }
  .whatsapp-launcher { padding: .7rem; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}
h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p { color: var(--gray-600); line-height: 1.7; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

.grid { display: grid; }
.grid > *, .flex > * { min-width: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 58px;
  height: 40px;
  background: #07192f;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.logo-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gray-50);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(26,60,94,0.25);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.btn-danger:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
}

.btn-success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.btn-sm {
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-icon {
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}

.form-label .required {
  color: var(--danger);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,94,0.1);
}

.form-control:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
}

.form-control.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.form-error {
  font-size: 0.75rem;
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Country Select Wrapper */
.country-select-wrapper {
  position: relative;
}

.country-search-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.country-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,94,0.1);
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
}

.country-dropdown.open { display: block; }

.country-option {
  padding: 0.625rem 0.875rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.country-option:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.country-option.selected {
  background: rgba(26,60,94,0.06);
  color: var(--primary);
  font-weight: 500;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ============================================
   BADGES / STATUS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-primary { background: rgba(26,60,94,0.1); color: var(--primary); }
.badge-accent { background: rgba(249,115,22,0.1); color: var(--accent); }
.badge-success { background: rgba(22,163,74,0.1); color: var(--success); }
.badge-warning { background: rgba(217,119,6,0.1); color: var(--warning); }
.badge-danger { background: rgba(220,38,38,0.1); color: var(--danger); }
.badge-info { background: rgba(2,132,199,0.1); color: var(--info); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.status-badge::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-created { background: rgba(2,132,199,0.08); color: var(--info); }
.status-processing { background: rgba(217,119,6,0.08); color: var(--warning); }
.status-in-transit { background: rgba(37,99,168,0.08); color: var(--primary-light); }
.status-delivered { background: rgba(22,163,74,0.08); color: var(--success); }
.status-delayed { background: rgba(220,38,38,0.08); color: var(--danger); }
.status-cancelled { background: var(--gray-100); color: var(--gray-600); }
.status-on-hold { background: rgba(217,119,6,0.08); color: var(--warning); }
.status-out-for-delivery { background: rgba(249,115,22,0.08); color: var(--accent); }

/* Payment Badges */
.payment-paid { background: rgba(22,163,74,0.08); color: var(--success); }
.payment-pending { background: rgba(217,119,6,0.08); color: var(--warning); }
.payment-failed { background: rgba(220,38,38,0.08); color: var(--danger); }
.payment-refunded { background: rgba(2,132,199,0.08); color: var(--info); }

/* ============================================
   ALERTS / NOTIFICATIONS
   ============================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
}

.alert-info { background: rgba(2,132,199,0.07); border: 1px solid rgba(2,132,199,0.2); color: #0369a1; }
.alert-success { background: rgba(22,163,74,0.07); border: 1px solid rgba(22,163,74,0.2); color: #15803d; }
.alert-warning { background: rgba(217,119,6,0.07); border: 1px solid rgba(217,119,6,0.2); color: #b45309; }
.alert-danger { background: rgba(220,38,38,0.07); border: 1px solid rgba(220,38,38,0.2); color: #dc2626; }

/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}

.table tr:last-child td { border-bottom: none; }

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover { background: var(--gray-50); }

.table .actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-slow);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}

.modal-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover { color: var(--gray-800); background: var(--gray-100); }

.modal-body { padding: 1.5rem; }

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.loading-spinner.dark {
  border-color: rgba(26,60,94,0.2);
  border-top-color: var(--primary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  z-index: 10;
}

.loading-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 1rem;
}

.loading-page .loading-spinner.dark {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  background: var(--gray-900);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 380px;
  pointer-events: all;
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hiding {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.25s ease;
}

.toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-warning { border-left: 3px solid var(--warning); }
.toast-info { border-left: 3px solid var(--info); }

/* ============================================
   SECTION LAYOUTS
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.image-story-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.image-story-intro > p { max-width: 390px; }

.image-story-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 520px;
}

.image-story-grid figure,
.service-visual-band,
.about-image-feature { overflow: hidden; border-radius: var(--radius-lg); }
.image-story-grid figure { position: relative; margin: 0; background: var(--gray-100); }
.image-story-grid img,
.service-visual-image img,
.about-image-feature img { width: 100%; height: 100%; object-fit: cover; }
.image-story-main { grid-row: 1 / 3; }
.image-story-grid figcaption { position: absolute; left: 1rem; bottom: 1rem; color: white; font-size: .8rem; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

.service-visual-band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  max-width: 1200px;
  margin: 0 auto 5rem;
  background: var(--gray-50);
}
.service-visual-copy { padding: clamp(2rem, 5vw, 4.5rem); align-self: center; }
.service-visual-copy p { max-width: 390px; margin: .75rem 0 1.5rem; }
.service-visual-image { min-height: 420px; }

.about-image-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  max-width: 1200px;
  margin: 0 auto 5rem;
  min-height: 360px;
  background: var(--gray-50);
}
.about-image-feature img { min-height: 360px; }
.about-image-feature > div { align-self: center; padding: clamp(2rem, 5vw, 4rem); }
.about-image-feature p { margin-top: .75rem; max-width: 390px; }

.shipping-request-layout {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 1.5rem;
  align-items: start;
}
.shipping-request-visual {
  position: sticky;
  top: 90px;
  min-height: 660px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-dark);
}
.shipping-request-visual img { width: 100%; height: 100%; min-height: 660px; object-fit: cover; opacity: .78; }
.shipping-request-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,25,43,.05), rgba(8,25,43,.88)); pointer-events: none; }
.shipping-request-visual-copy { position: absolute; z-index: 1; left: 2rem; right: 2rem; bottom: 2rem; color: white; }
.shipping-request-visual-copy h2 { color: white; margin: .5rem 0 .75rem; }
.shipping-request-visual-copy p { color: rgba(255,255,255,.78); }
.shipping-request-card { min-width: 0; }

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(160deg, var(--white) 0%, var(--gray-50) 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero.has-site-video,
.page-banner.has-site-video {
  background: var(--primary-dark);
}

.site-video,
.site-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-video {
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.site-video-overlay {
  z-index: 1;
  pointer-events: none;
}

.site-video-overlay-home {
  background:
    linear-gradient(90deg, rgba(8,25,43,.9), rgba(8,25,43,.55)),
    linear-gradient(0deg, rgba(8,25,43,.7), transparent 55%);
}

.site-video-overlay-secondary {
  background: linear-gradient(90deg, rgba(8,25,43,.86), rgba(8,25,43,.58));
}

body.has-site-video {
  background: var(--primary-dark);
}

body.has-site-video > *:not(.site-video):not(.site-video-overlay) {
  position: relative;
  z-index: 2;
}

.hero.has-site-video > .container,
.page-banner.has-site-video > .container {
  position: relative;
  z-index: 2;
}

.hero.has-site-video .hero-eyebrow {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
}

.hero.has-site-video .hero-title { color: var(--white); }
.hero.has-site-video .hero-title span { color: #fdbb74; }
.hero.has-site-video .hero-text { color: rgba(255,255,255,.84); }
.hero.has-site-video .hero-stat-number { color: var(--white); }
.hero.has-site-video .hero-stat-label { color: rgba(255,255,255,.7); }
.hero.has-site-video .btn-outline { color: var(--white); border-color: rgba(255,255,255,.75); }
.hero.has-site-video .btn-outline:hover:not(:disabled) { color: var(--primary-dark); background: var(--white); border-color: var(--white); }

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,168,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,60,94,0.07);
  color: var(--primary);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-text {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-number {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tracking Form Card */
.tracking-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.tracking-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.tracking-card-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tracking-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.tracking-card-subtitle {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ============================================
   TRACKING RESULT PAGE
   ============================================ */
.tracking-result-page {
  padding: 3rem 0 5rem;
  background: var(--gray-50);
  min-height: 100vh;
}

.tracking-hero-bar {
  background: var(--primary);
  color: white;
  padding: 2rem 0;
  margin-bottom: -1px;
}

.tracking-number-display {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
}

.tracking-status-large {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.tracking-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: start;
}

/* Info Card */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.info-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

.info-card-body { padding: 1.25rem; }

/* Summary Grid */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.summary-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 0;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 32px;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.timeline-dot.completed {
  background: var(--success);
  color: white;
}

.timeline-dot.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(26,60,94,0.12);
}

.timeline-dot.pending {
  background: var(--white);
  border: 2px solid var(--gray-300);
  color: var(--gray-400);
}

.timeline-line {
  flex: 1;
  width: 2px;
  background: var(--gray-200);
  margin: 4px 0;
  min-height: 20px;
}

.timeline-line.completed { background: var(--success); }

.timeline-content {
  flex: 1;
  padding-top: 0.375rem;
}

.timeline-status {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0.2rem 0;
}

.timeline-location {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.timeline-note {
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-top: 0.375rem;
  font-style: italic;
}

/* ============================================
   MAP
   ============================================ */
#tracking-map {
  height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  z-index: 1;
}

.map-legend {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.875rem 0;
  font-size: 0.8125rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray-600);
  font-weight: 500;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.origin { background: var(--success); }
.legend-dot.current { background: var(--primary); }
.legend-dot.destination { background: var(--accent); }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.product-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.product-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.product-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.75rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.product-gallery a,
.product-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.product-gallery img {
  object-fit: cover;
}

.product-info {
  padding: 0.75rem;
}

.product-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.product-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}

.footer-main {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: var(--accent); }

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-link:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(26,60,94,0.03) 0%, var(--white) 100%);
}

.service-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent);
  color: white;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(26,60,94,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.service-delivery {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

/* ============================================
   ADMIN LAYOUT
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  min-width: 0;
}

.admin-sidebar {
  width: 260px;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: var(--transition-slow);
}

.admin-sidebar.collapsed {
  width: 64px;
}

.sidebar-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.sidebar-section {
  padding: 0 0.75rem;
  margin-bottom: 0.25rem;
}

.sidebar-section-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  padding: 0.5rem 0.5rem 0.25rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.sidebar-link.active {
  background: rgba(255,255,255,0.12);
  color: white;
}

.sidebar-link .link-icon {
  font-size: 1.0625rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.sidebar-link .link-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.4375rem;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: 1rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  min-width: 0;
  width: calc(100% - 260px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--gray-50);
  transition: var(--transition-slow);
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.topbar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-content {
  flex: 1;
  padding: 1.75rem;
  min-width: 0;
}

/* Admin Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-change {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
}

.stat-change.positive { color: var(--success); }
.stat-change.negative { color: var(--danger); }

/* ============================================
   ADMIN FORM PAGE
   ============================================ */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.page-title-group h1 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.page-title-group p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Form Sections */
.form-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.form-section-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
}

.form-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.form-section-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}

.form-section-body {
  padding: 1.5rem;
}

/* Generate ID buttons */
.input-with-action {
  display: flex;
  gap: 0.5rem;
}

.input-with-action .form-control {
  flex: 1;
}

/* Product item in create form */
.product-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  background: var(--gray-50);
}

.product-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.product-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: var(--transition-slow);
}

.feature-card:hover {
  border-color: rgba(26,60,94,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(26,60,94,0.07);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.125rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   STEPS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray-500);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.875rem;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.875rem;
}

.pagination-info { color: var(--gray-500); }

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.page-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.page-btn:hover { background: var(--gray-50); color: var(--primary); }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.search-bar input {
  width: 100%;
  padding: 0.5625rem 0.875rem 0.5625rem 2.5rem;
  font-size: 0.875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  color: var(--gray-700);
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,94,0.08);
}

.search-bar .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.9375rem;
  pointer-events: none;
}

/* ============================================
   DIVIDERS
   ============================================ */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 1.5rem 0;
}

/* ============================================
   PAGE HEADER BANNER
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 3.5rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-banner > .container { position: relative; z-index: 2; }
.page-banner h1 { color: white; }
.page-banner p { color: rgba(255,255,255,0.75); }

@media (max-width: 768px) {
  .site-video { object-position: 62% center; }

  .site-video-overlay-home {
    background: linear-gradient(180deg, rgba(8,25,43,.72), rgba(8,25,43,.9));
  }

  .site-video-overlay-secondary {
    background: linear-gradient(180deg, rgba(8,25,43,.72), rgba(8,25,43,.9));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-video,
  .site-video-overlay { display: none; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(26,60,94,0.07);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  text-align: center;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .tracking-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-content {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-actions .btn-outline {
    display: none;
  }

  .hamburger { display: flex; }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats {
    gap: 1.75rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100%;
    z-index: 500;
  }

  .admin-sidebar.mobile-open {
    left: 0;
  }

  .admin-main {
    margin-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .tracking-number-display {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-story-intro { display: block; }
  .image-story-intro > p { margin-top: .75rem; }
  .image-story-grid { grid-template-columns: 1fr 1fr; min-height: 380px; }
  .service-visual-band,
  .about-image-feature { grid-template-columns: 1fr; margin-left: 1rem; margin-right: 1rem; }
  .service-visual-image { min-height: 260px; }
  .about-image-feature img { min-height: 260px; max-height: 300px; }
  .shipping-request-layout { grid-template-columns: 1fr; }
  .shipping-request-visual { position: relative; top: auto; min-height: 300px; order: -1; }
  .shipping-request-visual img { min-height: 300px; max-height: 360px; }

  .container-lg,
  .container-sm {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-inner {
    height: 64px;
    gap: .5rem;
  }

  .mobile-nav { top: 64px; }

  .site-logo { min-width: 0; }
  .logo-name { font-size: .95rem; }
  .logo-tagline { font-size: .55rem; }

  .btn { max-width: 100%; }
  .hero-stats { flex-wrap: wrap; }
  .tracking-card { padding: 1.25rem; }
  .tracking-grid,
  .contact-grid,
  .hero-content,
  .footer-main { min-width: 0; }

  .admin-content [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .table-wrapper {
    font-size: 0.8125rem;
  }

  .container,
  .container-lg,
  .container-sm { padding-left: .875rem; padding-right: .875rem; }

  .site-logo { gap: .4rem; }
  .logo-icon { width: 50px; height: 34px; font-size: .95rem; }
  .hero { padding-top: 3rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-number { font-size: 1.35rem; }

  .form-row { grid-template-columns: 1fr; }
  .btn-lg, .btn-xl { width: 100%; }
  .alert { font-size: .8125rem; }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header, .site-footer, .btn, #toast-container {
    display: none !important;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }
.visible { display: block !important; }
.no-scroll { overflow: hidden; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

/* ============================================
   LUCIDE ICONS
   ============================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm  { width: 14px; height: 14px; }
.icon-md  { width: 18px; height: 18px; }
.icon-lg  { width: 22px; height: 22px; }
.icon-xl  { width: 28px; height: 28px; }
.icon-2xl { width: 36px; height: 36px; }
