.mobile-bottom-nav { display: none; }

@media (max-width: 768px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .topbar .nav {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 6px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav__item {
    display: grid;
    justify-items: center;
    gap: 2px;
    text-decoration: none;
    color: #64748b;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 600;
  }

  .mobile-bottom-nav__icon {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-bottom-nav__item.is-active {
    color: #4f46e5;
  }

  .mobile-bottom-nav__item--create {
    margin-top: -16px;
    padding-top: 10px;
  }

  .mobile-bottom-nav__item--create .mobile-bottom-nav__icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(145deg, #4f46e5, #7c3aed);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.32);
  }

  .catalog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .listing-card {
    min-height: 322px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .listing-card__thumb {
    height: 146px;
    min-height: 146px;
    aspect-ratio: auto;
    display: grid;
    place-items: center;
  }

  .listing-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .listing-card__thumb-img--placeholder {
    object-fit: contain;
  }

  .listing-card__content {
    min-height: 82px;
    flex: 1;
    overflow: hidden;
  }

  .listing-card__title {
    font-size: 14px;
    min-height: 2.6em;
    max-height: 2.6em;
    overflow: hidden;
  }

  .listing-card__summary {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .listing-card__rail {
    margin-top: auto;
    gap: 6px;
  }

  .listing-card__price {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .listing-card__trust {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
  }
}

.listing-card__placeholder-wrap {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.listing-card__placeholder-logo {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.listing-card__placeholder-caption {
  max-width: 100%;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-card__placeholder-fallback {
  font-size: 24px;
  color: #94a3b8;
}
