/* =====================================================
   PAINEL DOS NOIVOS — LISTA DE CASAMENTO (DINÂMICO)
   Escopo: .lcw-painel-noivos
===================================================== */

/* =====================================================
   BASE / RESET LOCAL
===================================================== */

.lcw-painel-noivos,
.lcw-painel-noivos * {
  box-sizing: border-box;
  font-family: inherit;
  color: inherit;
}

.lcw-painel-noivos {
  background: var(--lcw-bg, #faf8f7);
  color: var(--lcw-text, #1f2937);
  padding: 32px 16px;
  max-width: 1400px;
  margin: 0 auto;
}

/* =====================================================
   TÍTULOS
===================================================== */

.lcw-painel-noivos h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.lcw-painel-noivos h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.lcw-painel-noivos h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.lcw-painel-noivos p {
  color: var(--lcw-text-light, #6b7280);
  line-height: 1.6;
}

/* =====================================================
   GRID PRINCIPAL
===================================================== */

.lcw-dashboard-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* =====================================================
   CARDS
===================================================== */

.lcw-painel-noivos .lcw-card {
  background: var(--lcw-surface, #ffffff);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--lcw-border, #e5e7eb);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.lcw-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lcw-card-title {
  font-size: 18px;
}

/* =====================================================
   KPI / RESUMO
===================================================== */

.lcw-kpi {
  font-size: 32px;
  font-weight: 700;
  color: var(--lcw-primary, #8b6a55);
}

.lcw-kpi-label {
  font-size: 14px;
  color: var(--lcw-text-light, #6b7280);
}

/* =====================================================
   LISTA DE PRODUTOS (MINHA LISTA)
===================================================== */

.lcw-product-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lcw-product-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--lcw-border, #e5e7eb);
  border-radius: 14px;
}

.lcw-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lcw-product-name {
  font-weight: 600;
}

.lcw-product-meta {
  font-size: 14px;
  color: var(--lcw-text-light, #6b7280);
}

/* =====================================================
   BOTÕES
===================================================== */

.lcw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
}

.lcw-btn-primary {
  background: var(--lcw-primary, #8b6a55);
  color: #fff;
}

.lcw-btn-primary:hover {
  background: var(--lcw-primary-hover, #7a5c4a);
}

.lcw-btn-outline {
  background: transparent;
  border: 1px solid var(--lcw-primary, #8b6a55);
  color: var(--lcw-primary, #8b6a55);
}

.lcw-btn-outline:hover {
  background: rgba(0,0,0,.04);
}

/* =====================================================
   TABELAS
===================================================== */

.lcw-table {
  width: 100%;
  border-collapse: collapse;
}

.lcw-table th,
.lcw-table td {
  padding: 14px;
  text-align: left;
}

.lcw-table thead {
  background: rgba(0,0,0,.04);
}

.lcw-table tbody tr {
  border-bottom: 1px solid var(--lcw-border, #e5e7eb);
}

/* =====================================================
   ABAS
===================================================== */

.lcw-tabs-nav {
  max-width: 1400px;
  margin: 0 auto 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lcw-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--lcw-border, #e5e7eb);
  background: var(--lcw-surface, #fff);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.lcw-tab-btn.active {
  background: var(--lcw-primary, #8b6a55);
  color: #fff;
  border-color: var(--lcw-primary, #8b6a55);
}

/* Controle real */
.lcw-tab {
  display: none !important;
}

.lcw-tab.active {
  display: block !important;
}

/* =====================================================
   CATÁLOGO — PAINEL DO NOIVO
===================================================== */

.lcw-painel-noivos .lcw-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  width: 100%;
}

.lcw-painel-noivos .lcw-catalog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--lcw-surface, #fff);
  border-radius: 18px;
  border: 1px solid var(--lcw-border, #e5e7eb);
}

.lcw-painel-noivos .lcw-catalog-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 14px;
}

.lcw-painel-noivos .lcw-catalog-card h3 {
  font-size: 15px;
  line-height: 1.3;
}

.lcw-painel-noivos .lcw-catalog-card .lcw-btn {
  margin-top: auto;
  width: 100%;
}

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

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

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

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

  .lcw-painel-noivos h1 {
    font-size: 26px;
  }
}
