/* Avaliações da Loja — usa as cores do tema (currentColor) e variáveis opcionais:
   --la-accent (estrelas e botões), --la-border, --la-surface, --la-muted */
.la { --la-star: var(--la-accent, #f5a623); --la-line: var(--la-border, rgba(0,0,0,.12)); --la-bg: var(--la-surface, rgba(0,0,0,.02)); --la-dim: var(--la-muted, rgba(0,0,0,.6)); }
.la-notice { padding: .8em 1em; border-radius: 10px; margin-bottom: 1.2em; border: 1px solid var(--la-line); }
.la-notice--success { background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.35); }
.la-notice--error { background: rgba(220,38,38,.07); border-color: rgba(220,38,38,.35); }

.la-head { display: grid; grid-template-columns: 200px 1fr 220px; gap: 32px; align-items: center; padding: 24px; border: 1px solid var(--la-line); border-radius: 14px; background: var(--la-bg); margin-bottom: 24px; }
@media (max-width: 760px) { .la-head { grid-template-columns: 1fr; gap: 18px; text-align: center; } .la-stars--lg { justify-content: center; } }
.la-score__value { font-size: 3.2rem; font-weight: 800; line-height: 1; margin: 0 0 .15em; }
.la-score__count, .la-score__empty { margin: .4em 0 0; color: var(--la-dim); font-size: .92em; }

.la-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.la-star { position: relative; width: 1.05em; height: 1.05em; background: var(--la-line); -webkit-mask: var(--la-star-shape) center / contain no-repeat; mask: var(--la-star-shape) center / contain no-repeat; }
.la-star__fill { position: absolute; inset: 0 auto 0 0; background: var(--la-star); }
.la-stars--lg { font-size: 1.35rem; display: flex; }
.la { --la-star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E"); }

.la-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.la-bars a { display: grid; grid-template-columns: 38px 1fr 36px; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: .9em; border-radius: 6px; padding: 2px 4px; }
.la-bars a:hover, .la-bars a.is-active { background: rgba(0,0,0,.05); }
.la-bars__track { height: 8px; border-radius: 99px; background: var(--la-line); overflow: hidden; }
.la-bars__track span { display: block; height: 100%; background: var(--la-star); border-radius: inherit; }
.la-bars__n { text-align: right; color: var(--la-dim); }
.la-cta { text-align: center; }
.la-cta__btn { width: 100%; }
.la-cta__note { margin: 0; color: var(--la-dim); font-size: .92em; }

.la-form { padding: 24px; border: 1px solid var(--la-line); border-radius: 14px; margin-bottom: 28px; display: grid; gap: 14px; }
.la-form[hidden] { display: none; }
.la-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .la-row { grid-template-columns: 1fr; } }
.la-field { margin: 0; display: grid; gap: 6px; }
.la-field label { font-weight: 600; font-size: .9em; }
.la-field input:not([type=file]), .la-field textarea { width: 100%; padding: .75em .9em; border: 1px solid var(--la-line); border-radius: 8px; font: inherit; background: transparent; color: inherit; }
.la-field--hp { position: absolute; left: -9999px; }
.la-rate { border: 0; padding: 0; margin: 0; }
.la-rate legend { font-weight: 600; font-size: .9em; margin-bottom: 4px; }
.la-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.la-rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.la-rate__stars label { font-size: 2rem; line-height: 1; cursor: pointer; color: var(--la-line); transition: color .12s, transform .12s; }
.la-rate__stars label:hover, .la-rate__stars label:hover ~ label, .la-rate__stars input:checked ~ label { color: var(--la-star); }
.la-rate__stars input:focus-visible + label { outline: 2px solid var(--la-star); outline-offset: 2px; border-radius: 4px; }
.la-rate__stars label:active { transform: scale(.9); }
.la-rate__label { margin-left: 10px; font-weight: 600; vertical-align: super; }
.la-previews { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85em; color: #b42318; }
.la-previews img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }

.la-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.la-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.la-chip { padding: .4em .9em; border: 1px solid var(--la-line); border-radius: 99px; text-decoration: none; color: inherit; font-size: .88em; }
.la-chip.is-active { border-color: currentColor; font-weight: 700; }
.la-order select { padding: .45em .7em; border: 1px solid var(--la-line); border-radius: 8px; font: inherit; background: transparent; color: inherit; }

.la-list { list-style: none; margin: 0; padding: 0; }
.la-item { padding: 22px 0; border-bottom: 1px solid var(--la-line); }
.la-item__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.la-item__title { margin: 0; font-size: 1.05rem; }
.la-item__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; font-size: .88em; color: var(--la-dim); }
.la-item__meta strong { color: inherit; }
.la-badge { padding: .15em .6em; border-radius: 99px; background: rgba(22,163,74,.1); color: #15803d; font-weight: 600; font-size: .9em; }
.la-item__text p { margin: 0 0 .6em; }
.la-item__photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.la-item__photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.la-item__actions { margin: 8px 0 0; }
.la-helpful { background: none; border: 1px solid var(--la-line); border-radius: 99px; padding: .35em .9em; font: inherit; font-size: .85em; color: inherit; cursor: pointer; }
.la-helpful.is-done { border-color: currentColor; font-weight: 700; }
.la-reply { margin: 14px 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--la-star); background: var(--la-bg); border-radius: 0 10px 10px 0; font-size: .95em; }
.la-reply__who { margin: 0 0 4px; font-weight: 700; font-size: .85em; }
.la-reply p:last-child { margin: 0; }
.la-pages { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.la-pages a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--la-line); border-radius: 8px; text-decoration: none; color: inherit; }
.la-pages a.is-active { border-color: currentColor; font-weight: 700; }
.la-empty { color: var(--la-dim); padding: 16px 0; }
.la-zoom { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.la-zoom::backdrop { background: rgba(0,0,0,.8); }
.la-zoom img { max-width: 92vw; max-height: 88vh; border-radius: 10px; display: block; }
.la-zoom__close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; }
.la-loop-count { font-size: .8em; opacity: .7; margin-left: 4px; vertical-align: middle; }
