body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #172033;
  background: #f3f4f6;
}

.app-shell {
  min-height: 100vh;
}

.app-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(18, 23, 32, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 84px;
}

.app-brand {
  color: #fff;
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.app-brand:hover {
  color: #fff;
}

.app-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
}

.app-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.app-nav-link:hover,
.app-nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
}

.app-nav-link-primary {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.app-nav-link-primary:hover,
.app-nav-link-primary:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.app-nav-link-danger {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.app-nav-link-danger:hover,
.app-nav-link-danger:focus-visible {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fff;
}

.hero-strip {
  padding: 4.75rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(180deg, #f7f8fb 0%, #eef1f5 100%);
  border-bottom: 1px solid #e2e8f0;
}

.hero-strip-spacious {
  padding: 6.5rem 0 5rem;
}

.hero-content {
  max-width: 54rem;
}

.hero-title {
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-spacious {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.panel-card {
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.home-hero-copy {
  max-width: 42rem;
  color: #526071;
}

.qr-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08);
}

.manual-secret {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: #0f172a;
  color: #e2e8f0;
  word-break: break-all;
}

.quantity-group {
  max-width: 9rem;
}

.detail-price {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.message-bubble {
  max-width: 75%;
}

.listing-image,
.listing-detail-image,
.listing-editor-preview {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
  background: #e2e8f0;
}

.listing-image {
  height: 220px;
}

.listing-detail-image {
  max-height: 500px;
}

.listing-editor-preview {
  min-height: 220px;
  max-height: 280px;
}

.listing-image-shell {
  width: 100%;
}

.listing-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #64748b;
  border: 1px dashed #cbd5e1;
  text-align: center;
}

.seller-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.seller-stat-card {
  min-width: 110px;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #dbe2ea;
  text-align: center;
}

.seller-stat-card strong {
  display: block;
  font-size: 1.4rem;
}

.seller-stat-card span {
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .app-nav-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .app-nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-strip {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-strip-spacious {
    padding: 4.5rem 0 3.5rem;
  }

  .section-spacious {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .seller-profile-stats {
    grid-template-columns: 1fr;
  }
}
