
.hc{max-width:900px;margin:0 auto;padding:16px 14px 40px;color:#0f172a}
.hc h1{font-size:1.7rem;margin:4px 0 4px;display:flex;align-items:center;gap:10px}
.hc .lead{color:#475569;margin:0 0 14px;font-size:.98rem}
.hc-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.hc-tabs button{flex:1 1 auto;min-width:130px;border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:10px 14px;font-weight:700;cursor:pointer;color:#334155}
.hc-tabs button[aria-selected=true]{background:#065f46;border-color:#065f46;color:#fff}
.hc-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-shadow:0 2px 10px rgba(15,23,42,.05);margin-bottom:14px}
.hc-scan{position:relative;background:#0f172a;border-radius:14px;overflow:hidden;aspect-ratio:4/3;max-height:420px;display:none}
.hc-scan video{width:100%;height:100%;object-fit:cover}
.hc-scan .frame{position:absolute;left:12%;right:12%;top:32%;bottom:32%;border:3px solid #34d399;border-radius:12px;box-shadow:0 0 0 999px rgba(0,0,0,.35)}
.hc-scan .line{position:absolute;left:14%;right:14%;top:50%;height:2px;background:#f87171;animation:hcscan 1.6s ease-in-out infinite}
@keyframes hcscan{0%,100%{transform:translateY(-36px)}50%{transform:translateY(36px)}}
.hc-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.hc-row input,.hc textarea{flex:1 1 220px;min-width:0;border:1px solid #cbd5e1;border-radius:12px;padding:12px;font-size:1rem}
.hc textarea{width:100%;min-height:110px;resize:vertical}
.hc-btn{border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;background:#065f46;color:#fff;display:inline-flex;align-items:center;gap:8px;font-size:.95rem}
.hc-btn.alt{background:#e2e8f0;color:#0f172a}
.hc-big{width:100%;justify-content:center;padding:16px;font-size:1.05rem}
.hc-or{text-align:center;color:#94a3b8;font-size:.85rem;margin:12px 0 2px}
.hc-res{display:none}
.hc-verdict{border-radius:14px;padding:14px 16px;color:#fff;display:flex;gap:12px;align-items:flex-start}
.hc-verdict i{font-size:1.8rem;margin-top:2px}
.hc-verdict b{display:block;font-size:1.2rem}
.v-certified,.v-vegan,.v-clean{background:#047857}.v-doubtful,.v-no_data{background:#b45309}.v-haram{background:#b91c1c}
.hc-prod{display:flex;gap:12px;align-items:center;margin:12px 0 4px}
.hc-prod img{width:64px;height:64px;object-fit:contain;border-radius:10px;background:#f1f5f9}
.hc-flags{margin:10px 0 0;padding:0;list-style:none}
.hc-flags li{padding:8px 10px;border-radius:10px;margin-bottom:6px;font-size:.92rem}
.hc-flags li.h{background:#fef2f2;border:1px solid #fecaca}.hc-flags li.d{background:#fffbeb;border:1px solid #fde68a}.hc-flags li.u{background:#f8fafc;border:1px solid #e2e8f0}
.hc-small{font-size:.82rem;color:#64748b}
.hc-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:10px}
.hc-item{border:1px solid #e2e8f0;border-radius:12px;padding:10px;display:flex;gap:10px;align-items:center;cursor:pointer;background:#fff;text-align:left}
.hc-item img{width:46px;height:46px;object-fit:contain;flex-shrink:0;background:#f8fafc;border-radius:8px}
.hc-pill{display:inline-block;font-size:.72rem;font-weight:800;padding:2px 8px;border-radius:999px;color:#fff}
.p-certified,.p-vegan,.p-clean{background:#047857}.p-doubtful,.p-no_data{background:#b45309}.p-haram{background:#b91c1c}
.hc-rules details{border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;margin-bottom:8px;background:#fff}
.hc-rules summary{font-weight:800;cursor:pointer}
.hc-panel[hidden]{display:none}
@media(max-width:600px){.hc h1{font-size:1.4rem}.hc-tabs button{min-width:0;flex:1 1 45%;padding:10px 8px;font-size:.9rem}}
