.public-body { margin: 0; font-family: 'Inter', 'Segoe UI', Arial, sans-serif; background: #fbfbfd; color: #1d1d1f; }
.pub-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.pub-navbar { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.pub-navbar-inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.pub-brand { font-weight: 800; font-size: 1.2rem; color: #1d1d1f; text-decoration: none; }

.pub-hero {
  padding: 90px 20px 60px;
  text-align: center;
  background: radial-gradient(at 20% 0%, #eaf2ff 0, transparent 55%), radial-gradient(at 80% 0%, #eef0ff 0, transparent 55%);
}
.pub-hero h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.pub-hero p { color: #555; max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }

.pub-search-box {
  background: white; padding: 8px; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.08);
  max-width: 460px; margin: 0 auto; display: flex; gap: 8px; border: 1px solid #eee;
}
.pub-search-box input { flex: 1; border: none; outline: none; padding: 13px 16px; font-size: 1rem; border-radius: 12px; }
.pub-search-box button { background: #2563eb; color: white; border: none; padding: 12px 26px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.pub-search-box button:hover { background: #1e40af; }

.pub-secure-note { margin-top: 20px; color: #64748b; font-size: .85rem; }

#resultArea { margin-top: 32px; }
.pub-loading { text-align: center; color: #64748b; }
.pub-alert { max-width: 500px; margin: 0 auto; padding: 14px 18px; border-radius: 12px; }
.pub-alert.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.pub-result-card { max-width: 560px; margin: 0 auto; background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.06); padding: 24px; text-align: left; }
.pub-result-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.pub-result-name { font-weight: 700; font-size: 1.1rem; }
.pub-status-badge { background: #eff6ff; color: #1d4ed8; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: .78rem; }
.pub-progress { height: 8px; border-radius: 8px; background: #f1f3f5; overflow: hidden; margin-bottom: 18px; }
.pub-progress-bar { height: 100%; background: linear-gradient(90deg,#2563eb,#60a5fa); transition: width 1s ease; }
.pub-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.pub-muted { color: #64748b; font-size: .8rem; }
.pub-issue-box { background: #f8fafc; padding: 12px 14px; border-radius: 10px; margin-bottom: 10px; font-size: .9rem; }
.pub-price-box { background: #f0fdf4; color: #15803d; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-align: center; }

.pub-section-title { text-align: center; font-size: 1.6rem; font-weight: 700; margin: 60px 0 30px; }
.pub-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 60px; }
.pub-product-card { background: white; border: 1px solid #eee; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.pub-product-card img { width: 100%; height: 160px; object-fit: cover; }
.pub-product-img-placeholder { width: 100%; height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: #f1f5f9; }
.pub-product-body { padding: 14px; }
.pub-product-title { font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.pub-product-price { color: #2563eb; font-weight: 800; margin-bottom: 10px; }

.pub-footer { background: #1d1d1f; color: white; padding: 60px 0 24px; margin-top: 40px; border-radius: 32px 32px 0 0; }
.pub-footer h3 { margin-bottom: 12px; }
.pub-footer a { color: white; text-decoration: none; }
.pub-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.pub-info-box { background: rgba(255,255,255,.08); border-radius: 14px; padding: 20px; }
.pub-copyright { text-align: center; color: #999; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }

@media (max-width: 640px) {
  .pub-hero h1 { font-size: 2rem; }
  .pub-search-box { flex-direction: column; }
  .pub-footer-grid { grid-template-columns: 1fr; }
}
