/* halalsnap.org "Just checked" feed, homepage strip and product pages (#827).
   Generated into /assets/checked.css by halalsnap scripts/site/build-product-pages.js.
   Tokens from /colors_and_type.css. Motion: fades and short eases only (#814). */

.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--anchor); background: var(--cream); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: hs-breathe 2.4s ease-in-out infinite; }
@keyframes hs-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.stats-row { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0 0; }
.stats-row div { font-size: 13px; color: var(--text-muted); }
.stats-row b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--text); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: color .4s ease; }
.stats-row b.bump { color: #0B7A66; }

.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.flabel { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--text-faint); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; }
.fchip, .fselect { border: 1px solid var(--border-2); background: var(--surface); border-radius: 999px; padding: 7px 14px; font: 600 13px/1.3 var(--font-body); color: var(--text); cursor: pointer; min-height: 36px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.fchip:hover, .fselect:hover { border-color: var(--teal); }
.fchip:focus-visible, .fselect:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fchip[aria-pressed="true"] { background: var(--anchor); border-color: var(--anchor); color: #fff; }
.fchip .d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

.d-halal, .d-likely_halal, .vd-halal .d, .vd-likely_halal .d { background: var(--halal); }
.d-doubtful, .vd-doubtful .d { background: var(--doubtful); }
.d-haram, .vd-haram .d { background: var(--haram); }

.feed { list-style: none; margin: 8px 0 0; padding: 0; }
.feed .item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--border); border-radius: 12px; transition: background-color 1.6s ease; }
.feed .item.fresh { background: var(--halal-bg); }
.feed .item.enter { animation: hs-enter .45s cubic-bezier(.2, .7, .2, 1) both; }
.feed .item.leave { animation: hs-leave .3s ease-in both; }
@keyframes hs-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes hs-leave { to { opacity: 0; } }
.feed .cc { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--text-muted); }
.feed .pn { font-weight: 700; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.feed .pn a { color: inherit; text-decoration: none; }
.feed .pn a:hover { text-decoration: underline; }
.feed .pm { font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .vd { font-size: 13px; font-weight: 700; white-space: nowrap; text-align: right; }
.feed .vd .d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.feed .vd small { display: block; font-weight: 500; color: var(--text-faint); font-size: 12px; }
.vd-halal .w, .vd-likely_halal .w { color: #15803D; }
.vd-doubtful .w { color: #B45309; }
.vd-haram .w { color: #B91C1C; }
.feed .empty { padding: 28px 8px; color: var(--text-muted); font-size: 14px; }

.gate { margin-top: 18px; border-radius: 16px; padding: 20px; background: var(--gradient-brand-soft); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.gate b { font-size: 16px; color: var(--text); }
.gate p { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); max-width: 440px; line-height: 1.5; }
.gate-btn { background: var(--anchor); color: #fff; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.disclaim { font-size: 12.5px; color: var(--text-faint); margin: 14px 0 0; line-height: 1.55; }
.disclaim a { color: var(--text-muted); }

.aside-h { font-family: var(--font-display); font-size: 16px; font-weight: 800; margin: 0 0 6px; color: var(--text); }
.mini { font-size: 14px; margin: 0 0 12px; color: var(--text-muted); }
.mini.small { font-size: 13px; margin: 14px 0 0; }
.toplist { list-style: none; padding: 0; margin: 0; }
.toplist li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.toplist li a { color: var(--text); text-decoration: none; font-weight: 600; }
.toplist li a:hover { text-decoration: underline; }
.toplist .n { color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* homepage strip */
.hs-strip .strip-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 8px; }
.hs-strip .strip-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1.15; margin: 0; color: var(--text); }
.hs-strip .strip-more { font-weight: 700; font-size: 15px; color: #0B7A66; text-decoration: none; }
.hs-strip .strip-more:hover { text-decoration: underline; }
.hs-strip .feed { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; box-shadow: var(--shadow-sm); }
.hs-strip .feed .item:last-child { border-bottom: 0; }

/* product pages */
/* #833: where it was scanned, under the question. Not part of the halal claim. */
.pv-where { margin: 10px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.4; }
.pv .pv-word { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.pv .pv-dot { width: 14px; height: 14px; border-radius: 50%; }
.pv-halal, .pv-likely_halal { color: #15803D; }
.pv-halal .pv-dot, .pv-likely_halal .pv-dot { background: var(--halal); }
.pv-doubtful { color: #B45309; }
.pv-doubtful .pv-dot { background: var(--doubtful); }
.pv-haram { color: #B91C1C; }
.pv-haram .pv-dot { background: var(--haram); }
.pv-probs { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.pv-probs li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 16px; line-height: 1.5; }
.pv-probs li span { display: block; color: var(--text-muted); font-size: 15px; margin-top: 2px; }
.pv-adds { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pv-adds li { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.pv-adds a { font-weight: 600; text-decoration: none; }
.pv-adds a:hover { text-decoration: underline; }
.pv-ings { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 28px; font-size: 15.5px; line-height: 1.65; }
.pv-ings li { break-inside: avoid; }
.pv-list { list-style: none; padding: 0; margin: 0 0 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.pv-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.pv-list li:last-child { border-bottom: 0; }
.pv-list a { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--text); }
.pv-list a:hover .pv-name { text-decoration: underline; }
.pv-name { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.pv-sub { font-size: 13px; color: var(--text-muted); }
.pv-list .chip { flex: 0 0 auto; }
.pv-count { display: inline-block; font-size: 13px; font-weight: 700; color: var(--text-muted); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; vertical-align: middle; font-family: var(--font-body); letter-spacing: 0; }
.pv-countries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pv-countries a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.pv-countries a:hover { border-color: var(--teal); }
.hs-nav a[aria-current="page"] { color: var(--text); }

@media (max-width: 860px) { .feed-layout { grid-template-columns: minmax(0, 1fr); } }
.feed-layout > * { min-width: 0; }
@media (max-width: 640px) {
  .stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stats-row div { font-size: 12px; line-height: 1.35; }
  .stats-row b { font-size: 24px; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 0 16px 2px; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchip, .fselect { flex: 0 0 auto; white-space: nowrap; }
  .panel { padding: 16px; border-radius: 16px; }
  .feed .item { gap: 10px; padding: 12px 4px; }
  .feed .cc { width: 36px; height: 36px; font-size: 11px; }
  .gate-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .feed .item.enter, .feed .item.leave { animation: none; }
  .feed .item, .stats-row b, .fchip { transition: none; }
}
