/* /precos: tabelas compactas de preço (25/09/2026). Tokens do tema em rgb(var(--pb-*)). */
.pr-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.pr-item p a { font-weight: 600; color: rgb(var(--pb-accent)); }

.pr-matrix, .pr-list { margin-top: 20px; border: 1px solid rgb(var(--pb-line)); border-radius: 16px; background: rgb(var(--pb-surface)); overflow: hidden; }

.pr-mrow { display: grid; grid-template-columns: minmax(150px, 220px) repeat(var(--pr-n, 1), minmax(0, 1fr)); border-top: 1px solid rgb(var(--pb-line)); }
.pr-mrow:first-child { border-top: 0; }
.pr-mrow--head { background: rgb(var(--pb-surface-2)); }
.pr-mrow--head span { padding: 10px 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: rgb(var(--pb-muted)); }
.pr-mrow--head span + span { border-left: 1px solid rgb(var(--pb-line)); }
.pr-mlead { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 16px; }
.pr-mlead b { font-size: 15px; font-weight: 700; color: rgb(var(--pb-fg)); }
.pr-mlead span { font-size: 12px; color: rgb(var(--pb-muted)); }

.pr-cell { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-left: 1px solid rgb(var(--pb-line)); min-width: 0; }
.pr-cell.is-empty { justify-content: center; color: rgb(var(--pb-muted)); }
.pr-cell__col { display: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: rgb(var(--pb-muted)); }
.pr-cell__name { margin: 0 0 2px; font-size: 12px; font-weight: 600; line-height: 1.3; color: rgb(var(--pb-muted)); }
.pr-cell__strike { font-size: 12px; color: rgb(var(--pb-muted)); }
.pr-cell__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; font-variant-numeric: tabular-nums; }
.pr-cell__price strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: rgb(var(--pb-fg)); white-space: nowrap; }
.pr-cell__price span { font-size: 12px; color: rgb(var(--pb-muted)); }
.pr-cell__sub { font-size: 12px; line-height: 1.35; color: rgb(var(--pb-muted)); }
.pr-cell__sub.is-good { color: rgb(var(--pb-accent)); font-weight: 600; }
.pr-buy { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 16px; border-radius: 10px; background: rgb(var(--pb-accent)); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: filter .15s; }
.pr-buy:hover { filter: brightness(1.08); }
.pr-buy:focus-visible { outline: 2px solid rgb(var(--pb-accent)); outline-offset: 2px; }
.pr-buy.is-off { background: rgb(var(--pb-surface-2)); color: rgb(var(--pb-muted)); border: 1px solid rgb(var(--pb-line)); cursor: not-allowed; }

.pr-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); border-top: 1px solid rgb(var(--pb-line)); }
.pr-item:first-child { border-top: 0; }
.pr-item__info { padding: 16px 18px; min-width: 0; }
.pr-item__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: rgb(var(--pb-muted)); }
.pr-item__kicker img { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; }
.pr-item__kicker em { font-style: normal; padding: 1px 8px; border-radius: 999px; background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent)); text-transform: none; letter-spacing: 0; }
.pr-item h3 { margin-top: 4px; font-size: 16px; font-weight: 700; color: rgb(var(--pb-fg)); }
.pr-item p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.pr-item .pr-cell { justify-content: center; }

.pr-tiers { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-tiers span { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid rgb(var(--pb-line)); border-radius: 10px; background: rgb(var(--pb-surface)); font-size: 13px; color: rgb(var(--pb-fg)); }
.pr-tiers span b { font-weight: 800; color: rgb(var(--pb-accent)); }
.pr-tiers span.is-base b { color: rgb(var(--pb-fg)); }
.pr-tiers span.is-top { border-color: rgb(var(--pb-accent)); background: rgb(var(--pb-accent-soft)); }

/* Desktop: botão ao lado do preço, para a linha da tabela ficar baixa. */
@media (min-width: 720px) {
    .pr-mrow .pr-cell:not(.is-empty) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-content: center; }
    .pr-mrow .pr-cell > * { grid-column: 1; }
    .pr-mrow .pr-cell > .pr-buy { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin-top: 0; }
}

.pr-details { margin-top: 10px; font-size: 13px; }
.pr-details summary { cursor: pointer; width: fit-content; font-weight: 700; color: rgb(var(--pb-accent)); }
.pr-details dl { margin-top: 10px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pr-details dt { font-weight: 700; color: rgb(var(--pb-fg)); }
.pr-details dd { margin: 2px 0 0; line-height: 1.5; color: rgb(var(--pb-muted)); }

@media (max-width: 719px) {
    .pr-mrow { grid-template-columns: repeat(var(--pr-n, 1), minmax(0, 1fr)); }
    .pr-mrow--head { display: none; }
    .pr-mlead { grid-column: 1 / -1; padding: 12px 14px 4px; }
    .pr-cell { border-left: 0; padding: 8px 14px 14px; }
    .pr-mrow .pr-cell + .pr-cell { border-left: 1px solid rgb(var(--pb-line)); }
    .pr-cell__col { display: block; }
    .pr-cell__price strong { font-size: 17px; }
    .pr-buy { align-self: stretch; }
    .pr-item { grid-template-columns: 1fr; }
    .pr-item .pr-cell { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 0 18px 16px; }
    .pr-item .pr-buy { margin-top: 0; margin-left: auto; align-self: center; }
    .pr-item .pr-cell__sub { order: 3; flex-basis: 100%; }
}
