body {
  min-height: 100vh;
  background: red !important;
  overflow-x: hidden;
}

.app-shell {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.sidebar {
  width: 220px;
  border-right: 1px solid #e0dcd2;
  padding: 2rem 1.5rem;
}

.brand img {
  flex-shrink: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.55rem;
  text-decoration: none;
  color: #5f5c52;
  font-weight: 500;
}

.sidebar-link .icon {
  font-size: 1.1rem;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: #fff;
  color: #1f1d17;
  box-shadow: inset 0 0 0 1px #e0dcd2;
}

.content {
  min-width: 0;
}

main {
  overflow-x: hidden;
}

.topbar {
  min-height: 76px;
}

.listing-card {
  border: 1px solid #e6dfd2;
  border-radius: 1.25rem;
  overflow: hidden;
}

.listing-media {
  background: linear-gradient(135deg, #fefaf4, #f7f0e6);
}

.placeholder-image {
  gap: 0.4rem;
  color: #a79f93;
}

.listing-meta {
  font-size: 0.85rem;
}

.listing-card .card-footer button {
  color: #867f74;
}

.listing-card .card-footer button:hover {
  color: #333;
}

.card-title a:hover {
  color: #0d6efd !important;
}

.order-stepper {
  --progress: 0;

  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 0.25rem 0 0.75rem;
}

.order-stepper::before {
  content: "";
  position: absolute;
  top: 16px;
  height: 2px;

  left: 10%;
  right: 10%;

  background: linear-gradient(var(--step-active), var(--step-active)) left /
      calc(var(--progress) * 1%) 100% no-repeat,
    var(--step-line);
}

.order-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 0;
  color: var(--step-inactive);
  gap: 0.35rem;
}

.order-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--step-inactive);
  display: grid;
  place-items: center;
  background: var(--color-bg);
  color: var(--step-inactive);
}

.order-step.is-complete .order-step-dot {
  background: var(--step-active);
  border-color: var(--step-active);
  color: #fff;
}

.order-step.is-active .order-step-dot {
  border-color: var(--step-active);
  color: var(--step-active);
  transform: scale(1.18);
  box-shadow: 0 0 0 6px var(--color-primary-soft),
    0 10px 18px rgba(0, 0, 0, 0.16);
  position: relative;
}

.order-step.is-complete,
.order-step.is-active {
  color: var(--step-active);
}

.order-step.is-active .small,
.order-step.is-active .fw-semibold {
  font-weight: 700;
}

.order-step.is-active .order-step-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--step-active) 40%, transparent);
  animation: step-pulse 1.8s ease-out infinite;
}

.order-card-content-shell {
  --order-stepper-line-inset: 10%;
  --order-stepper-visible-edge-offset: 18px;
  width: 80%;
  max-width: 80%;
  margin-inline: auto;
}

.order-summary-wrap,
.order-details-wrap {
  padding-left: calc(
    var(--order-stepper-line-inset) + var(--order-stepper-visible-edge-offset)
  );
  padding-right: calc(
    var(--order-stepper-line-inset) + var(--order-stepper-visible-edge-offset)
  );
}

.order-details-wrap .col-12 {
  min-width: 0;
}

.order-details-wrap .fw-semibold,
.order-details-wrap a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.order-details-wrap .btn {
  white-space: normal;
  width: 100%;
}

@keyframes step-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.25);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (max-width: 992px) {
  .order-stepper {
    gap: 0.5rem;
  }

  .order-details-wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .order-card-content-shell {
    width: 100%;
    max-width: 100%;
  }

  .order-summary-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .order-step small {
    font-size: 0.75rem;
  }
}
