/* Woo Box Builder - estilos básicos e limpos */

.wbb-wrapper{
  --bg:#F6F8FA;
  --card:#FFFFFF;
  --text:#0f172a;
  --muted:#64748b;
  --brand:#2a6e82;
  --brand2:#78B3D6;
  --accent:#10b981;
  --chip:#E8F2F6;
  --chip-text:#2a6e82;
  --border:#E5E7EB;
  --shadow:0 8px 28px rgba(2,25,46,.08);
  --radius:18px;
  --radius-sm:12px;
  --radius-xs:10px;
  color: var(--text);
}

.wbb-hero{
  text-align:center;
  margin: 10px 0 20px;
}
.wbb-highlight{ color:#f8b400; }

.wbb-layout{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:24px;
  align-items:start;
}

@media (max-width: 960px){
  .wbb-layout{ grid-template-columns: 1fr; }
}

.wbb-products{
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wbb-toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 14px;
}
.wbb-search{
  flex:1;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
}
.wbb-counter{
  background: var(--chip);
  color: var(--chip-text);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.wbb-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap:16px;
}

.wbb-card{
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display:flex;
  flex-direction: column;
  overflow:hidden;
  border:1px solid #eef2f7;
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: grab;
}
.wbb-card:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.09); }
.wbb-thumb img{ width:100%; height:auto; display:block; }
.wbb-info{ padding:10px 12px; text-align:center; }
.wbb-title{ font-size:14px; line-height:1.3; min-height: 38px; margin: 0 0 6px; }
.wbb-price{ font-weight:700; color:#0f172a; margin-bottom:8px; }
.wbb-add{ background:var(--brand2); color:#083344; border:none; padding:8px 10px; border-radius:10px; cursor:pointer; }
.wbb-add:hover{ filter: brightness(.95); }

.wbb-drop{
  background: linear-gradient(180deg, #E8F2F6 0%, #fff 100%);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position:sticky;
  top: 16px;
}

.wbb-drop-header{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:8px;
}
.wbb-clear{
  background: transparent; border:1px solid var(--border); padding:6px 10px; border-radius:10px; cursor:pointer;
}

.wbb-dropzone{
  min-height: 220px;
  border: 2px dashed var(--brand2);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  display:flex; flex-wrap: wrap; gap:12px;
  align-content:flex-start;
}
.wbb-dropzone.is-over{ background:#f0f7fb; }

.wbb-item{
  display:flex; gap:8px; align-items:center;
  background:#f8fbff; border:1px solid #e6eef6;
  border-radius:12px; padding:8px 10px;
}
.wbb-item-thumb img{ width:48px; height:48px; object-fit:cover; border-radius:10px; }
.wbb-item-name{ font-size:13px; }
.wbb-remove{ background:transparent; border:none; font-size:18px; line-height:1; cursor:pointer; color:#64748b; }

.wbb-finish{
  width:100%; margin-top:12px; background:#10b981; border-color:#10b981; color:#fff; padding:12px; border-radius:12px;
}
.wbb-feedback{ margin-top:8px; opacity:0; transition:opacity .2s; }
.wbb-feedback.is-visible{ opacity:1; }
.wbb-warning{ padding:10px; background:#fff3cd; border:1px solid #ffe58f; border-radius:10px; }
