/* Mesato — Avaliações (rating + comentários). Namespaced mst-. */
:root { --mst-brand: #B0703E; --mst-brand-dark: #8a5630; --mst-line: rgba(120,90,60,.16); --mst-star: #e0a93c; }

/* Estrelas (média) no cartão do menu. */
.mst-rating { display: flex; align-items: center; gap: 6px; margin: 6px 0 2px; }
.mst-stars { display: inline-flex; gap: 1px; }
.mst-star { width: 15px; height: 15px; fill: #d8cdbd; }
.mst-star.on { fill: var(--mst-star); }
.mst-rating-n { font-size: 12.5px; color: #8a8079; font-weight: 600; }

/* Lista de avaliações. */
.mst-reviews { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; font-family: Inter, system-ui, -apple-system, sans-serif; }
.mst-review { background: rgba(255,255,255,.7); border: 1px solid var(--mst-line); border-radius: 14px; padding: 16px 18px; }
.mst-review header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mst-review .mst-star { width: 16px; height: 16px; }
.mst-review-dish { font-weight: 700; color: #2c2420; }
.mst-review-text { margin: 0 0 8px; color: #4b443c; line-height: 1.55; }
.mst-review footer { font-size: 12.5px; color: #9a8d7c; }

/* Formulário. */
.mst-reviewform { max-width: 560px; margin: 0 auto; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); border: 1px solid var(--mst-line); border-radius: 18px; padding: 24px; font-family: Inter, system-ui, -apple-system, sans-serif; color: #2c2420; }
.mst-reviewform--locked { text-align: center; }
.mst-rev-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; margin: 0 0 16px; }
.mst-rev-field { display: block; margin-bottom: 14px; }
.mst-rev-field > span { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.mst-rev-field select, .mst-rev-field textarea { width: 100%; box-sizing: border-box; padding: 14px 16px; min-height: 52px; border: 1px solid var(--mst-line); border-radius: 12px; font-size: 16px; font-family: inherit; background: #fff; }
.mst-rev-field textarea { min-height: 92px; }
.mst-rev-field select:focus, .mst-rev-field textarea:focus { outline: none; border-color: var(--mst-brand); box-shadow: 0 0 0 3px color-mix( in srgb, var(--mst-brand) 22%, transparent ); }
.mst-rev-stars { display: inline-flex; gap: 4px; }
.mst-rev-star { background: none; border: 0; cursor: pointer; padding: 2px; }
.mst-rev-star svg { width: 30px; height: 30px; fill: #d8cdbd; transition: fill .12s ease; }
.mst-rev-star.on svg, .mst-rev-star:hover svg { fill: var(--mst-star); }
.mst-rev-submit { width: 100%; border: 0; background: var(--mst-brand); color: #fff; font-weight: 600; font-size: 15px; padding: 13px; border-radius: 12px; cursor: pointer; transition: background .18s ease; }
.mst-rev-submit:hover { background: var(--mst-brand-dark); }
.mst-rev-submit:disabled { opacity: .6; cursor: default; }
.mst-rev-login { display: inline-block; margin-top: 10px; background: var(--mst-brand); color: #fff !important; text-decoration: none; font-weight: 600; padding: 10px 22px; border-radius: 11px; }
.mst-rev-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.mst-rev-msg.is-ok { background: rgba(47,143,91,.12); color: #226844; border: 1px solid rgba(47,143,91,.3); }
.mst-rev-msg.is-err { background: rgba(179,38,30,.1); color: #8a2018; border: 1px solid rgba(179,38,30,.28); }

/* Painel de moderação (gestor). */
.mst-modpanel { max-width: 820px; margin: 0 auto; font-family: Inter, system-ui, -apple-system, sans-serif; color: #2c2420; }
.mst-modpanel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mst-modpanel-head h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; margin: 0; }
.mst-modpanel-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--mst-brand); color: #fff; font-size: 13px; font-weight: 700; }
.mst-modlist { display: flex; flex-direction: column; gap: 12px; }
.mst-modempty { padding: 24px; text-align: center; color: #9a8d7c; border: 1px dashed var(--mst-line); border-radius: 14px; }
.mst-moditem { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); border: 1px solid var(--mst-line); border-radius: 14px; padding: 14px 16px; transition: opacity .25s ease, transform .25s ease; }
.mst-moditem.is-busy { opacity: .6; }
.mst-moditem.is-approved { opacity: 0; transform: translateX(12px); }
.mst-moditem.is-rejected { opacity: 0; transform: translateX(-12px); }
.mst-moditem.is-error { border-color: rgba(179,38,30,.5); }
.mst-moditem-main { flex: 1; min-width: 0; }
.mst-moditem-head { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.mst-moditem-head .mst-star { width: 15px; height: 15px; }
.mst-moditem-dish { font-weight: 700; color: #2c2420; }
.mst-moditem-text { margin: 0 0 6px; color: #4b443c; line-height: 1.5; font-size: 14px; }
.mst-moditem-meta { font-size: 12px; color: #9a8d7c; }
.mst-moditem-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.mst-modbtn { border: 0; cursor: pointer; font-weight: 600; font-size: 13.5px; padding: 9px 16px; border-radius: 10px; transition: background .16s ease, opacity .16s ease; }
.mst-modbtn:disabled { opacity: .5; cursor: default; }
.mst-modbtn--ok { background: rgba(47,143,91,.14); color: #226844; }
.mst-modbtn--ok:hover { background: rgba(47,143,91,.26); }
.mst-modbtn--no { background: rgba(179,38,30,.1); color: #8a2018; }
.mst-modbtn--no:hover { background: rgba(179,38,30,.2); }
@media (max-width: 560px) { .mst-moditem { flex-direction: column; align-items: stretch; } .mst-moditem-actions { flex-direction: row; } .mst-modbtn { flex: 1; } }
