.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 2.5rem;
}

.hero-copy {
  max-width: 46rem;
}

.hero-copy .badge {
  margin-bottom: 1.2rem;
}

.hero-copy p {
  margin-top: 1.15rem;
  max-width: 38rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.4rem;
  color: var(--text-secondary);
  font-size: var(--text-small);
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.home-band {
  margin-top: 1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head p {
  color: var(--text-secondary);
  max-width: 32rem;
}

.category-chip {
  display: block;
  padding: 1.2rem 1.15rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  min-height: 120px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.category-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step {
  padding: 1.4rem 0.2rem;
}

.step-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 0;
}

.auth-card .logo {
  display: inline-flex;
  align-items: center;
}

.auth-card .logo-img {
  max-height: 40px;
  width: auto;
}

.auth-card h1 {
  margin: 0.8rem 0 0.4rem;
}

.auth-alt {
  margin-top: 1.2rem;
  text-align: center;
  color: var(--text-secondary);
}

.auth-alt a,
.auth-alt .linkish {
  color: var(--primary-dark);
  font-weight: 650;
}

.account-shell {
  display: grid;
  gap: 1.5rem;
}

.account-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0.4rem 0.2rem;
  color: var(--text-secondary);
}

.account-nav a.is-active,
.account-nav a:hover {
  color: var(--text-primary);
}

.detail-layout {
  display: grid;
  gap: 1.5rem;
}

.detail-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

.contact-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .auth-card {
    padding: 2.4rem;
  }

  .account-shell {
    grid-template-columns: 220px 1fr;
  }

  .detail-layout {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }

  .contact-grid,
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page .display {
  color: var(--primary);
}

.error-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.error-visual img {
  margin-inline: auto;
}

.maintenance-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: var(--background);
}
.maintenance-card {
  width: min(100%, 520px);
  text-align: center;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}
.maintenance-card .logo { justify-content: center; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted, #64748b);
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 640px) {
  .breadcrumb a:not(:first-child):not(:last-child),
  .breadcrumb > span:not(:first-child):not(:last-child) {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.seo-preview {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 0.75rem;
  background: #fff;
}
.seo-preview .seo-title { color: #1a0dab; font-size: 1.1rem; }
.seo-preview .seo-url { color: #006621; font-size: 0.85rem; margin: 0.2rem 0; word-break: break-all; }
.seo-preview .seo-desc { color: #4d5156; font-size: 0.9rem; }

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--border, #e2e8f0);
  padding: 0.75rem;
  vertical-align: top;
  text-align: left;
}
.compare-table thead th {
  min-width: 160px;
}
.compare-table img {
  display: block;
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.product-card-actions {
  flex-wrap: wrap;
  gap: 0.35rem;
}
.search-suggest-item.is-active {
  background: var(--surface-2, #f1f5f9);
}
