/* IRAÊ Tabela de Preços — usa a fonte e as cores do tema. */
.itp-tabela { margin: 1.5em 0; font: inherit; color: inherit; }
.itp-titulo { margin: 0 0 .6em; }
.itp-aviso { background: #fff8e1; border-left: 3px solid #e0a100; padding: .6em .9em; margin: 0 0 1em; }

.itp-ferramentas { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; margin: 0 0 1em; }
.itp-ferramentas input[type="search"] { flex: 1 1 220px; max-width: 340px; margin: 0; }
.itp-ferramentas select { flex: 0 1 260px; margin: 0; }
.itp-ferramentas .itp-imprimir { margin: 0; }

.itp-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(0, 0, 0, .08); border-radius: 6px; }
.itp-grade { width: 100%; border-collapse: collapse; margin: 0; font-size: .92em; }
.itp-grade th,
.itp-grade td { padding: .55em .7em; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .07); text-align: right; white-space: nowrap; vertical-align: middle; }
.itp-grade thead th { background: #faf6ee; font-weight: 600; }
.itp-grade .itp-col-produto { text-align: left; white-space: normal; min-width: 220px; position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 400; }
.itp-grade thead .itp-col-produto { background: #faf6ee; z-index: 2; font-weight: 600; }
.itp-grade tr.itp-cat th { text-align: left; background: #f3ead6; font-weight: 600; font-size: .95em; letter-spacing: .01em; }
.itp-grade tr.itp-cat th { padding-top: 1.1em; }
.itp-grade tbody:first-child tr.itp-cat th { padding-top: .7em; }
.itp-grade tr.itp-cab th { background: #faf6ee; font-weight: 600; font-size: .86em; border-bottom: 2px solid #e6d3b0; }
.itp-grade tr.itp-cab th.itp-col-produto { background: #faf6ee; font-weight: 600; }
.itp-grade tbody + tbody tr.itp-cat th { border-top: 8px solid #fff; }
.itp-grade .itp-col-produto a { text-decoration: none; }
.itp-grade .itp-col-produto a:hover { text-decoration: underline; }

.itp-un { font-weight: 400; opacity: .7; font-size: .85em; }
.itp-desc { display: block; font-size: .78em; color: #2f7d32; line-height: 1.2; }
.itp-col-cartao .itp-desc { color: inherit; opacity: .6; }
.itp-grade td.itp-col-pix { color: #1f7a45; font-weight: 600; }
.itp-grade td.itp-col-pix .itp-desc { color: inherit; opacity: .6; font-weight: 400; }
.itp-igual { opacity: .45; }
.itp-sku { display: block; font-size: .78em; opacity: .6; }
.itp-tag { display: inline-block; font-size: .72em; line-height: 1.5; padding: 0 .45em; border-radius: 3px; background: #eee; margin-left: .3em; vertical-align: middle; }
.itp-tag-promo { background: #fde7c4; }
.itp-esgotado th,
.itp-esgotado td { opacity: .55; }

.itp-notas { font-size: .85em; opacity: .85; margin: 1em 0 0 1.2em; }
.itp-notas li { margin: .2em 0; }

@media (max-width: 600px) {
	.itp-grade { font-size: .85em; }
	.itp-grade .itp-col-produto { min-width: 150px; }
	.itp-grade th, .itp-grade td { padding: .45em .5em; }
}

@media print {
	.itp-ferramentas { display: none !important; }
	.itp-rolagem { overflow: visible; border: 0; }
	.itp-grade { font-size: 9pt; }
	.itp-grade .itp-col-produto { position: static; min-width: 0; }
	.itp-grade tr { page-break-inside: avoid; }
	.itp-grade [hidden] { display: none !important; }
	.itp-grade a { color: inherit; text-decoration: none; }
}

/* Página do produto: quadro de preços + pills (fonte e cores herdadas do tema). */
.itp-produto { margin: 1em 0 1.4em; max-width: 520px; }
.itp-pb-tit { font-weight: 700; font-size: .95em; margin: 0 0 .45em; }
.itp-pb { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; font-size: .95em; border: 1px solid rgba(0,0,0,.09); border-radius: 10px; overflow: hidden; }
.itp-pb th, .itp-pb td { padding: .55em .8em; border: 0; border-bottom: 1px solid rgba(0,0,0,.06); text-align: left; vertical-align: middle; }
.itp-pb thead th { background: #faf6ee; font-size: .78em; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; opacity: .9; }
.itp-pb tbody tr:last-child td { border-bottom: 0; }
.itp-pb tbody tr { cursor: pointer; transition: background .15s; }
.itp-pb tbody tr:hover { background: #fdf9f1; }
.itp-pb tbody tr.is-ativa { background: #f6ead2; box-shadow: inset 3px 0 0 #cd9b5f; }
.itp-pb .itp-pb-p { font-weight: 600; white-space: nowrap; }
.itp-pb .itp-pb-d { font-size: .8em; color: #2f7d32; font-weight: 700; margin-left: .2em; }
.itp-pb .itp-pb-pix { color: #1f7a45; font-weight: 600; white-space: nowrap; }
.itp-pb thead .itp-pb-pix span { text-transform: none; }
.itp-pills { display: flex; flex-wrap: wrap; gap: .45em; margin: .8em 0 .5em; }
.itp-pill { display: inline-flex; align-items: baseline; gap: .3em; font-size: .82em; line-height: 1.3; padding: .38em .8em; border-radius: 99px; background: #faf6ee; border: 1px solid #ead9b8; }
.itp-pill b { font-weight: 700; }
.itp-pill-qtd { background: #594d37; border-color: #594d37; color: #fff; }
.itp-pill-pix { background: #e9f6ee; border-color: #bfe3cc; color: #1f6b3d; }
.itp-pill-card { background: #fff; }
.itp-pb-link { font-size: .8em; opacity: .8; }
.itp-pb-link a { text-decoration: underline; }
