/* ======================================================
   LISTA PÚBLICA — GRID FINAL (DINÂMICO)
====================================================== */

/* Container */
.lcw-container.lcw-public {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 24px;
}

/* Título */
.lcw-lista-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--lcw-text);
}

/* GRID — 4 por linha */
.lcw-public-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

/* CARD */
.lcw-public-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--lcw-surface);
  border: 1px solid var(--lcw-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  min-width: 0;
}

/* IMAGEM */
.lcw-public-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 14px;
  padding: 10px;
}

/* TÍTULO */
.lcw-public-card h3 {
  font-size: 16px;
  text-align: center;
  margin: 6px 0;
  color: var(--lcw-text);
}

/* PREÇO */
.lcw-price {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--lcw-text);
}

/* TEXTO AUXILIAR */
.lcw-muted {
  font-size: 14px;
  text-align: center;
  color: var(--lcw-text-light);
}

/* QUANTIDADE */
.lcw-qty {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--lcw-border);
  text-align: center;
}

/* BOTÕES */
.lcw-btn {
  width: 100%;
  margin-top: auto;
}

/* BOTÃO DESATIVADO */
.lcw-btn-disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  border-radius: 999px;
  padding: 14px;
  font-weight: 600;
  border: none;
}

/* ======================================================
   RESPONSIVO
====================================================== */

@media (max-width: 1200px) {
  .lcw-public-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .lcw-public-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lcw-public-grid {
    grid-template-columns: 1fr;
  }

  .lcw-lista-title {
    font-size: 26px;
  }
}
