/* FILE NAME: assets/css/receipt.css */

.receipt-container {
  width: 100%;
  max-width: 300px; /* Largura típica de recibo */
  margin: 0 auto;
  padding: 10px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  color: #333;
  line-height: 1.4;
}

.receipt-header,
.receipt-footer {
  text-align: center;
  margin-bottom: 10px;
}

.receipt-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.receipt-header p,
.receipt-footer p {
  margin: 2px 0;
  font-size: 10px;
}

.receipt-items table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.receipt-items th,
.receipt-items td {
  padding: 3px 0;
  border-bottom: 1px dashed #ccc;
  text-align: left;
}

.receipt-items th {
  font-weight: bold;
}

.receipt-items td:nth-child(1) {
  width: 15%;
} /* Qtd */
.receipt-items td:nth-child(2) {
  width: 65%;
} /* Item */
.receipt-items td:nth-child(3) {
  width: 20%;
  text-align: right;
} /* Total */

.receipt-summary .receipt-summary-line {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}

.receipt-summary .total-value {
  font-weight: bold;
  font-size: 14px;
}

hr {
  border: none;
  border-top: 1px dashed #ccc;
  margin: 10px 0;
}

.text-right {
  text-align: right;
}

/* Estilos para o estado vazio do carrinho no PDV */
.pdv-empty-cart {
  text-align: center;
  padding: 20px;
  color: #6b7280;
}

.pdv-empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}

.pdv-empty-cart p {
  margin: 5px 0;
  font-size: 14px;
}

.pdv-empty-subtext {
  font-size: 12px;
  color: #9ca3af;
}