/* DW Motoparts — Live Search dropdown + YMM widget styles */
.dw-livesearch-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  max-height: 480px;
  overflow-y: auto;
  z-index: 9999;
}
.dw-livesearch-dropdown .dw-ls-loading,
.dw-livesearch-dropdown .dw-ls-empty {
  padding: 14px;
  text-align: center;
  color: #888;
  font-size: 13px;
}
.dw-livesearch-dropdown .dw-ls-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.dw-livesearch-dropdown .dw-ls-item:last-child { border-bottom: 0; }
.dw-livesearch-dropdown .dw-ls-item:hover { background: #fafafa; }
.dw-livesearch-dropdown .dw-ls-item img,
.dw-livesearch-dropdown .dw-ls-noimg {
  width: 48px; height: 48px; object-fit: cover; border-radius: 3px; flex-shrink: 0;
  background: #f4f4f4;
}
.dw-livesearch-dropdown .dw-ls-info { flex: 1; min-width: 0; }
.dw-livesearch-dropdown .dw-ls-title {
  font-size: 13px; font-weight: 600; color: #1a1a1a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dw-livesearch-dropdown .dw-ls-meta {
  font-size: 11px; color: #777; margin-top: 2px;
}
.dw-livesearch-dropdown .dw-ls-meta .sku {
  background: #f0f0f0; padding: 1px 6px; border-radius: 2px; margin-right: 6px;
}

/* YMM tabs (Veículo / Dimensões / Pneus / Corrente) */
.dw-ymm-widget { background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.06); padding: 14px; }
.dw-ymm-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.dw-ymm-tab {
  padding: 8px 16px; border-radius: 20px; background: #f4f4f4;
  cursor: pointer; font-size: 13px; font-weight: 500; border: 0;
}
.dw-ymm-tab.active { background: #1BB7E3; color: #fff; }  /* azul Ewmotos */
.dw-ymm-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 8px; }
.dw-ymm-fields select, .dw-ymm-fields input {
  padding: 9px 10px; border: 1px solid #d8d8d8; border-radius: 4px; font-size: 13px;
}
.dw-ymm-fields button[type="submit"] {
  background: #1a1a1a; color: #fff; border: 0; padding: 9px 18px; border-radius: 4px;
  cursor: pointer; font-weight: 600;
}
@media (max-width: 768px) {
  .dw-ymm-fields { grid-template-columns: 1fr; }
}
