/* Savvata — Professional Orders Pages */

.savvata-orders-section {
  padding-bottom: 60px;
}

.savvata-orders-section .my-account-nav .my-account-nav-item.active {
  background-color: #000000;
  color: #ffffff;
  border-color: transparent;
}

/* Header card */
.orders-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
  border-radius: 8px;
  color: #fff;
}

.orders-header-info h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 40px;
}

.orders-header-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.orders-header-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.orders-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.orders-count-badge .icon {
  font-size: 14px;
  color: #db1215;
}

/* Alerts */
.orders-alerts .alert {
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Orders table card */
.orders-table-card {
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  overflow: hidden;
}

.orders-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.orders-table thead th {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  background: #fafafa;
  border-bottom: 1px solid var(--line, #ededed);
  white-space: nowrap;
}

.orders-table tbody td {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--main, #111);
  border-bottom: 1px solid var(--line, #ededed);
  vertical-align: middle;
}

.orders-table tbody tr:last-child td {
  border-bottom: none;
}

.orders-table tbody tr:hover {
  background: #fafafa;
}

.orders-table .order-id {
  font-weight: 600;
  color: var(--main, #111);
}

.orders-table .order-date {
  color: #666;
  font-size: 13px;
}

.orders-table .order-price {
  font-weight: 600;
  font-size: 15px;
}

.orders-table .order-action {
  text-align: right;
}

/* Status badges */
.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  white-space: nowrap;
}

.order-status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.order-status-pending {
  color: #1a56db;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.order-status-pending::before {
  background: #1a56db;
}

.order-status-processing {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.order-status-processing::before {
  background: #047857;
}

.order-status-shipped {
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}

.order-status-shipped::before {
  background: #6d28d9;
}

.order-status-delivered {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.order-status-delivered::before {
  background: #047857;
}

.order-status-cancelled {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.order-status-cancelled::before {
  background: #b91c1c;
}

.order-status-default {
  color: #555;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.order-status-default::before {
  background: #888;
}

/* View order button */
.btn-view-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--main, #111);
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-view-order:hover {
  opacity: 0.88;
  color: #fff;
}

.btn-view-order .icon {
  font-size: 13px;
}

/* Empty state */
.orders-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 8px;
}

.orders-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #eee;
}

.orders-empty-icon .icon {
  font-size: 28px;
  color: #ccc;
}

.orders-empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--main, #111);
  margin: 0 0 8px;
}

.orders-empty-state p {
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-shop-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 46px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--main, #111);
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-shop-now:hover {
  opacity: 0.88;
  color: #fff;
}

/* ─── View Order Page ─── */

.view-order-back {
  margin-bottom: 20px;
}

.btn-back-orders {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-back-orders:hover {
  color: var(--main, #111);
}

.btn-back-orders .icon {
  font-size: 14px;
}

.view-order-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
  border-radius: 8px;
  color: #fff;
}

.view-order-hero-left h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 40px;
}

.view-order-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.view-order-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-order-hero-meta .icon {
  font-size: 14px;
  opacity: 0.85;
}

.view-order-hero .order-status-badge {
  font-size: 12px;
  padding: 8px 16px;
}

.view-order-hero .order-status-pending,
.view-order-hero .order-status-processing,
.view-order-hero .order-status-shipped,
.view-order-hero .order-status-delivered,
.view-order-hero .order-status-cancelled,
.view-order-hero .order-status-default {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.view-order-hero .order-status-pending::before,
.view-order-hero .order-status-processing::before,
.view-order-hero .order-status-shipped::before,
.view-order-hero .order-status-delivered::before,
.view-order-hero .order-status-cancelled::before,
.view-order-hero .order-status-default::before {
  background: #fff;
}

.view-order-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.view-order-invoice-btn {
  white-space: nowrap;
  min-height: 46.8px;
  background-color: var(--primary, #db1215) !important;
  border-color: var(--primary, #db1215) !important;
  color: var(--white, #fff) !important;
}

.view-order-invoice-btn:hover {
  background-color: #b80e11 !important;
  border-color: #b80e11 !important;
  color: var(--white, #fff) !important;
}

.order-success-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}

.order-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order-success-content h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.order-success-content p {
  margin: 0;
  font-size: 14px;
}

/* Info cards grid */
.view-order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.view-order-info-card {
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  overflow: hidden;
}

.view-order-info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--line, #ededed);
}

.view-order-info-card-header .icon {
  font-size: 16px;
  color: #825e25;
}

.view-order-info-card-header h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: var(--main, #111);
  line-height: 35px;
}

.view-order-info-card-body {
  padding: 18px 20px;
}

.view-order-info-card-body p {
  font-size: 14px;
  color: #444;
  margin: 0 0 8px;
  line-height: 1.6;
}

.view-order-info-card-body p:last-child {
  margin-bottom: 0;
}

.view-order-info-card-body .info-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--main, #111);
  margin-bottom: 10px;
}

.view-order-info-card-body .info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.view-order-info-card-body .info-row .icon {
  font-size: 14px;
  color: #999;
  margin-top: 2px;
  flex-shrink: 0;
}

.view-order-info-card-body .info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}

.view-order-info-card-body .info-value {
  font-size: 14px;
  color: var(--main, #111);
}

/* Products & summary layout */
.view-order-details-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.view-order-products-card {
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  overflow: hidden;
}

.view-order-products-header {
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--line, #ededed);
}

.view-order-products-header h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: var(--main, #111);
  line-height: 35px;
}

.view-order-product-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line, #ededed);
}

.view-order-product-item:last-child {
  border-bottom: none;
}

.view-order-product-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fafafa;
}

.view-order-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-order-product-info {
  flex: 1;
  min-width: 0;
}

.view-order-product-info .product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--main, #111);
  margin: 0 0 6px;
  line-height: 1.4;
}

.view-order-product-info .product-model {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.view-order-product-attrs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.view-order-product-attrs li {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.view-order-product-attrs li span {
  color: var(--main, #111);
  font-weight: 500;
  margin-left: 4px;
}

.view-order-product-pricing {
  flex-shrink: 0;
  text-align: right;
  min-width: 100px;
}

.view-order-product-pricing .unit-price {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.view-order-product-pricing .qty {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.view-order-product-pricing .subtotal {
  font-size: 15px;
  font-weight: 600;
  color: var(--main, #111);
}

/* Order summary */
.view-order-summary-card {
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.view-order-summary-header {
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--line, #ededed);
}

.view-order-summary-header h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: var(--main, #111);
  line-height: 35px;
}

.view-order-summary-body {
  padding: 8px 0;
}

.view-order-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
}

.view-order-summary-row .label {
  color: #666;
  flex: 1;
}

.view-order-summary-row .label small {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.view-order-summary-row .value {
  font-weight: 500;
  color: var(--main, #111);
  white-space: nowrap;
}

.view-order-summary-row.discount .value {
  color: #047857;
}

.view-order-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-top: 4px;
  border-top: 1px solid var(--line, #ededed);
  background: #fafafa;
}

.view-order-summary-total .label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--main, #111);
}

.view-order-summary-total .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--main, #111);
}

/* Comments */
.view-order-comments-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  overflow: hidden;
}

.view-order-comments-header {
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--line, #ededed);
}

.view-order-comments-header h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: var(--main, #111);
}

.view-order-comment-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line, #ededed);
}

.view-order-comment-item:last-child {
  border-bottom: none;
}

.view-order-comment-item h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 8px;
}

.view-order-comment-item p {
  font-size: 14px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* Mobile order cards (orders list) */
.orders-mobile-list {
  display: none;
}

.order-mobile-card {
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 12px;
}

.order-mobile-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.order-mobile-card-id {
  font-size: 15px;
  font-weight: 600;
  color: var(--main, #111);
}

.order-mobile-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.order-mobile-card-detail .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2px;
}

.order-mobile-card-detail .value {
  font-size: 14px;
  color: var(--main, #111);
}

.order-mobile-card-detail .value.price {
  font-weight: 600;
}

.order-mobile-card-action {
  padding-top: 14px;
  border-top: 1px solid var(--line, #ededed);
}

.order-mobile-card-action .btn-view-order {
  width: 100%;
}

/* Responsive */
@media only screen and (max-width: 991px) {
  .orders-header-card,
  .view-order-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .view-order-details-row {
    grid-template-columns: 1fr;
  }

  .view-order-summary-card {
    position: static;
  }
}

@media only screen and (max-width: 767px) {
  .orders-table-card {
    display: none;
  }

  .orders-mobile-list {
    display: block;
  }

  .view-order-info-grid {
    grid-template-columns: 1fr;
  }

  .view-order-product-item {
    flex-wrap: wrap;
  }

  .view-order-product-pricing {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    margin-top: 4px;
  }

  .view-order-product-pricing .unit-price,
  .view-order-product-pricing .qty {
    margin: 0;
  }
}

/* ========== Order Tracking ========== */
.order-tracker-card {
  margin: 24px 0 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
}

.order-tracker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.order-tracker-header h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.order-tracker-header p {
  margin: 0;
  font-size: 13px;
  color: #888;
}

.order-tracker-steps {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}

.order-tracker-step {
  flex: 1;
  min-width: 0;
}

.order-tracker-node {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.order-tracker-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #d4d4d4;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.25s ease;
}

.order-tracker-num {
  font-size: 13px;
  font-weight: 600;
  color: #999;
}

.order-tracker-line {
  flex: 1;
  height: 2px;
  background: #e5e5e5;
  margin: 0 4px;
  transition: background 0.25s ease;
}

.order-tracker-step.is-done .order-tracker-dot,
.order-tracker-step.is-active .order-tracker-dot {
  border-color: #db1215;
  background: #db1215;
  color: #fff;
}

.order-tracker-step.is-done .order-tracker-num,
.order-tracker-step.is-active .order-tracker-num,
.order-tracker-step.is-done .icon,
.order-tracker-step.is-active .icon {
  color: #fff;
}

.order-tracker-step.is-done .order-tracker-line,
.order-tracker-step.is-active .order-tracker-line {
  background: #db1215;
}

.order-tracker-step.is-active .order-tracker-dot {
  box-shadow: 0 0 0 4px rgba(219, 18, 21, 0.18);
  animation: tracker-pulse 1.6s ease-in-out infinite;
}

@keyframes tracker-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(219, 18, 21, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(219, 18, 21, 0.08); }
}

.order-tracker-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-bottom: 2px;
}

.order-tracker-step.is-done .order-tracker-meta strong,
.order-tracker-step.is-active .order-tracker-meta strong {
  color: #111;
}

.order-tracker-meta small {
  font-size: 11px;
  color: #aaa;
}

.order-tracker-cancelled {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #b91c1c;
  margin-bottom: 8px;
}

.order-tracker-cancelled p {
  margin: 0;
  font-size: 14px;
}

.order-shipment-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #ededed);
}

.order-shipment-item .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 4px;
}

.order-shipment-item .value {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.order-shipment-item .tracking-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.order-tracker-timeline {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #ededed);
}

.order-tracker-timeline h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #111;
}

.order-tracker-timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #eee;
}

.order-tracker-timeline li {
  position: relative;
  padding: 0 0 16px 18px;
}

.order-tracker-timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #db1215;
}

.order-tracker-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-status {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.timeline-date {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.timeline-comment {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

/* Track order page */
.track-order-hero {
  text-align: center;
  margin-bottom: 28px;
}

.track-order-hero h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111;
}

.track-order-hero p {
  margin: 0;
  font-size: 14px;
  color: #777;
  max-width: 480px;
  margin-inline: auto;
}

.track-order-form-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  margin-bottom: 28px;
}

.track-order-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 8px;
}

.track-order-form .form-control {
  height: 46px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.track-order-form .form-control:focus {
  border-color: #db1215;
  box-shadow: 0 0 0 3px rgba(219, 18, 21, 0.12);
}

.track-order-errors {
  margin-top: 16px;
}

.track-order-result .view-order-hero {
  margin-bottom: 0;
}

.track-order-actions {
  margin-top: 24px;
  text-align: center;
}

.track-order-empty {
  text-align: center;
  padding: 32px;
  background: #fafafa;
  border-radius: 8px;
  color: #666;
}

@media only screen and (max-width: 767px) {
  .order-tracker-steps {
    flex-direction: column;
    gap: 0;
  }

  .order-tracker-node {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .order-tracker-line {
    width: 2px;
    height: 28px;
    margin: 4px 0 4px 17px;
    flex: none;
  }

  .order-tracker-meta {
    padding-left: 48px;
    margin-top: -32px;
    margin-bottom: 12px;
  }

  .order-tracker-step:last-child .order-tracker-meta {
    margin-bottom: 0;
  }

  .order-tracker-card,
  .track-order-form-card {
    padding: 20px;
  }

  .order-tracker-header {
    flex-direction: column;
  }
}
