@media (prefers-reduced-motion: no-preference) {
  .hero-badge, .hero h1, .hero p, .hero-actions {
    opacity: 0;
    animation: heroFadeUp 0.5s ease forwards;
  }
  .hero-badge { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.15s; }
  .hero p { animation-delay: 0.25s; }
  .hero-actions { animation-delay: 0.35s; }

  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .product-card {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.15s ease;
  }
  .product-card.revealed { opacity: 1; transform: translateY(0); }

  .product-card:hover { transform: translateY(-2px); }

  .header-cart-icon span {
    animation: badgePop 0.25s ease;
  }
  @keyframes badgePop {
    from { transform: scale(0.6); }
    to { transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card { opacity: 1 !important; transform: none !important; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 24px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.dark { background: var(--dark-bg); }
.site-header.light { background: var(--light-bg); border-bottom: 0.5px solid var(--border); }

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-name { font-weight: 500; font-size: 16px; }
.site-header.dark .brand-name { color: var(--text-dark); }
.site-header.light .brand-name { color: var(--text-primary); }

.site-header.dark .header-cart-icon { color: var(--text-dark); }
.site-header.light .header-cart-icon { color: var(--text-primary); }

.pill-nav {
  border-radius: 24px;
  padding: 9px 22px;
  display: flex;
  gap: 22px;
  font-size: 12px;
}

.site-header.dark .pill-nav {
  background: rgba(237,234,227,0.08);
  border: 0.5px solid rgba(237,234,227,0.12);
}
.site-header.dark .pill-nav a { color: #D8D5CC; }

.site-header.light .pill-nav {
  background: var(--white);
  border: 0.5px solid var(--border);
}
.site-header.light .pill-nav a { color: var(--text-secondary); }

.header-cta {
  background: var(--accent);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 20px;
}

.hero {
  background: var(--dark-bg);
  padding: 48px 24px 56px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  border: 0.5px solid var(--status-green-text);
  color: #6FCB9C;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--text-dark);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  max-width: 480px;
  margin: 0 auto 14px;
}

.hero p {
  color: var(--text-muted-dark);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 28px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-actions .btn-outline {
  border: 0.5px solid #3A3E45;
  color: var(--text-dark);
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 6px;
}

.catalog-section {
  background: var(--light-bg);
  padding: 32px 24px 48px;
}

.catalog-inner { max-width: 1100px; margin: 0 auto; }

.section-title { font-size: 15px; font-weight: 500; margin-bottom: 16px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .site-header-inner { justify-content: center; }
  .pill-nav { display: none; }
}

.product-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.product-card:hover { border-color: var(--accent); }

.product-card-image {
  height: 90px;
  background: #EDECE7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B4B2A9;
  overflow: hidden;
}

.product-card-image img { width: 100%; height: 100%; object-fit: cover; }

.product-card-body { padding: 12px; }

.product-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 6px;
}

.product-card-title { font-size: 13px; font-weight: 500; color: var(--text-primary); }

.product-card-specs {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.product-card-price { font-size: 14px; color: var(--accent-text); font-weight: 500; }

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 13px;
}

.breadcrumb { font-size: 12px; color: var(--text-muted-dark); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-secondary); }

.product-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .product-header { grid-template-columns: 1fr; }
}

.product-header-image {
  height: 150px;
  background: #EDECE7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B4B2A9;
  overflow: hidden;
}
.product-header-image img { width: 100%; height: 100%; object-fit: cover; }

.tag-chip {
  background: var(--white);
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  margin-right: 6px;
  display: inline-block;
}

.unit-row {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  .unit-row { grid-template-columns: 44px 1fr; }
  .unit-row .unit-action { grid-column: 1 / -1; text-align: left; }
}

.unit-row.sold { opacity: 0.55; }

.unit-thumb {
  width: 56px;
  height: 44px;
  background: #EDECE7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B4B2A9;
  overflow: hidden;
}
.unit-thumb img { width: 100%; height: 100%; object-fit: cover; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-links a { margin-left: 16px; }
