/* HalalVerified Reviews 1.0.0 — uses the theme's colours when it's active. */
.hvrv { --rv-ink: var(--hv-ink, #16201a); --rv-muted: var(--hv-muted, #56635a); --rv-line: var(--hv-line, #dce6df); --rv-dark: var(--hv-dark, #0b4d2c); --rv-acc: var(--hv-accent, #f2a516); --rv-mist: #e4efe7; margin: 2.5rem 0; color: var(--rv-ink); }
.hvrv-title { font-family: var(--hv-head, inherit); font-size: 1.5rem; margin: 0 0 1rem; }
.hvrv-note { padding: .85rem 1rem; border-radius: 12px; background: var(--rv-mist); margin: 0 0 1rem; }
.hvrv-note--ok { background: #e3f4e8; color: #134d2a; }
.hvrv-note--err { background: #fde8e6; color: #8a1c13; }
.hvrv-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.hvrv-star { display: inline-flex; color: #d4ddd7; }
.hvrv-star.is-on { color: var(--rv-acc); }
.hvrv-star svg, .hvrv-star .hv-ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.hvrv-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: center; padding: 1.25rem; border: 1px solid var(--rv-line); border-radius: 16px; background: #fff; margin-bottom: 1rem; }
.hvrv-sum__avg { font-family: var(--hv-head, inherit); font-size: 3rem; font-weight: 800; line-height: 1; margin: 0 0 .35rem; color: var(--rv-dark); }
.hvrv-sum__n { margin: .35rem 0 0; font-size: .85rem; color: var(--rv-muted); }
.hvrv-bar { display: grid; grid-template-columns: 1rem minmax(0, 1fr) 2rem; gap: .5rem; align-items: center; font-size: .8rem; color: var(--rv-muted); }
.hvrv-bar__track { height: 8px; border-radius: 99px; background: #eef2ef; overflow: hidden; }
.hvrv-bar__track span { display: block; height: 100%; background: var(--rv-acc); }
.hvrv-sum__subs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding-top: .75rem; border-top: 1px solid var(--rv-line); }
.hvrv-sum__subs div { display: flex; gap: .4rem; font-size: .9rem; }
.hvrv-sum__subs dt { color: var(--rv-muted); } .hvrv-sum__subs dd { margin: 0; font-weight: 700; }
.hvrv-fac-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.hvrv-fac-sum > div { padding: .85rem 1rem; border: 1px solid var(--rv-line); border-radius: 14px; background: #fff; }
.hvrv-fac-sum dt { font-size: .85rem; color: var(--rv-muted); }
.hvrv-fac-sum dd { margin: .2rem 0 0; } .hvrv-fac-sum dd span { display: block; font-size: .8rem; color: var(--rv-muted); }
.hvrv-fac-sum .is-yes strong, .hvrv-fac-sum .is-easy strong { color: #17703a; } .hvrv-fac-sum .is-no strong, .hvrv-fac-sum .is-hard strong { color: #8a5a00; }
.hvrv-write { margin: 0 0 1.25rem; }
.hvrv-write > summary { list-style: none; cursor: pointer; display: inline-flex; }
.hvrv-write > summary::-webkit-details-marker { display: none; }
.hvrv-write[open] > summary { margin-bottom: 1rem; }
.hvrv-form { display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--rv-line); border-radius: 16px; background: #fff; max-width: 640px; }
.hvrv-field { margin: 0; border: 0; padding: 0; min-width: 0; }
.hvrv-field legend, .hvrv-field > label, .hvrv-label { display: block; font-weight: 600; margin: 0 0 .45rem; padding: 0; }
.hvrv-field textarea, .hvrv-field input[type=text], .hvrv-field input[type=email], .hvrv-field select { width: 100%; box-sizing: border-box; font: inherit; padding: .7rem .8rem; border: 1px solid #c9d8ce; border-radius: 12px; background: #fff; }
.hvrv-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.hvrv-two label { display: block; font-weight: 600; margin-bottom: .35rem; }
.hvrv-req { color: #b3261e; } .hvrv-opt { font-weight: 400; color: var(--rv-muted); }
.hvrv-starpick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.hvrv-starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hvrv-starpick label { cursor: pointer; color: #d4ddd7; padding: 2px; border-radius: 6px; }
.hvrv-starpick label svg, .hvrv-starpick label .hv-ico { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.hvrv-starpick input:checked ~ label, .hvrv-starpick label:hover, .hvrv-starpick label:hover ~ label { color: var(--rv-acc); }
.hvrv-starpick input:focus-visible + label { outline: 2px solid var(--rv-dark); outline-offset: 2px; }
.hvrv-subrow, .hvrv-facrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--rv-line); }
.hvrv-subrow select { width: auto; min-width: 5.5rem; }
.hvrv-pills { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.hvrv-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hvrv-pills span { display: inline-block; padding: .4rem .85rem; border: 1px solid #c9d8ce; border-radius: 99px; cursor: pointer; font-size: .9rem; }
.hvrv-pills input:checked + span { background: var(--rv-dark); border-color: var(--rv-dark); color: #fff; }
.hvrv-pills input:focus-visible + span { outline: 2px solid var(--rv-dark); outline-offset: 2px; }
.hvrv-up { display: flex; flex-wrap: wrap; gap: .5rem; }
.hvrv-up__list { display: contents; }
.hvrv-up__add, .hvrv-thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; }
.hvrv-up__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed #9db5a6; color: var(--rv-dark); font-size: .8rem; font-weight: 600; cursor: pointer; }
.hvrv-up__add svg, .hvrv-up__add .hv-ico { width: 22px; height: 22px; }
.hvrv-up__add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hvrv-up__add:focus-within { outline: 2px solid var(--rv-dark); outline-offset: 2px; }
.hvrv-thumb { overflow: hidden; background: var(--rv-mist); }
.hvrv-thumb img, .hvrv-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hvrv-thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(22, 32, 26, .85); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.hvrv-help { font-size: .85rem; color: var(--rv-muted); margin: .45rem 0 0; }
.hvrv-submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; }
.hvrv-submit .hvrv-help { margin: 0; flex: 1 1 220px; }
.hvrv-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.hvrv-sort { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .5rem; }
.hvrv-sort a { padding: .45rem .9rem; border-radius: 99px; border: 1px solid #c9d8ce; text-decoration: none; color: var(--rv-ink); font-size: .9rem; }
.hvrv-sort a[aria-current] { background: var(--rv-ink); border-color: var(--rv-ink); color: #fff; }
.hvrv-list { list-style: none; margin: 0; padding: 0; }
.hvrv-item { padding: 1rem 0; border-bottom: 1px solid var(--rv-line); }
.hvrv-item.is-pending { opacity: .75; }
.hvrv-item__head { display: flex; align-items: center; gap: .6rem; }
.hvrv-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--hv-primary, #1f9a45); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.hvrv-item__who { display: flex; flex-direction: column; line-height: 1.25; } .hvrv-item__who time { font-size: .8rem; color: var(--rv-muted); }
.hvrv-badge { margin-left: auto; font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 99px; background: #fff4dc; color: #8a5a00; }
.hvrv-item__rate { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .5rem 0 0; }
.hvrv-item__where { font-size: .85rem; color: #8a5a00; font-weight: 600; }
.hvrv-item__subs, .hvrv-item__fac { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 0; padding: 0; }
.hvrv-item__subs li, .hvrv-item__fac li { font-size: .8rem; padding: .2rem .6rem; border-radius: 99px; background: #f1f5f2; }
.hvrv-item__text { margin-top: .5rem; line-height: 1.55; } .hvrv-item__text p { margin: 0 0 .5rem; }
.hvrv-media { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.hvrv-media__photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; display: block; }
.hvrv-media__video { width: 220px; max-width: 100%; border-radius: 10px; background: #000; }
.hvrv-item__actions { display: flex; gap: 1.25rem; margin-top: .4rem; }
.hvrv-act { font: inherit; font-size: .85rem; font-weight: 600; background: none; border: 0; padding: .4rem 0; color: var(--rv-dark); cursor: pointer; min-height: 32px; }
.hvrv-act[aria-pressed=true] { color: var(--hv-primary, #1f9a45); }
.hvrv-act--muted { color: var(--rv-muted); }
.hvrv-act:disabled { opacity: .5; cursor: default; }
.hvrv-reply { margin: .6rem 0 0 2.5rem; padding: .75rem 1rem; border-radius: 12px; background: #f1f5f2; font-size: .92rem; }
.hvrv-reply__who { margin: 0 0 .25rem; }
.hvrv-empty { color: var(--rv-muted); }
.hvrv-more { margin-top: 1rem; }
@media (max-width: 560px) { .hvrv-sum { grid-template-columns: 1fr; } .hvrv-subrow, .hvrv-facrow { flex-wrap: wrap; } }
.hvrv-item__actions { flex-wrap: wrap; align-items: center; }
.hvrv-inline { flex-basis: 100%; margin: .2rem 0 0; }
.hvrv-repform { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .75rem; border-radius: 12px; background: #f1f5f2; font-size: .9rem; }
.hvrv-repform select { font: inherit; padding: .4rem .5rem; border: 1px solid #c9d8ce; border-radius: 8px; background: #fff; }
